Previous 15994 Revisions Next

r5339 Monday 3rd August, 2009 at 02:59:01 UTC by Nathan Woods
Updated to MAME 0.133u1 core
[docs]messnew.txt
[src/emu]inptport.h inpttype.h mame.h tilemap.c tilemap.h
[src/emu/cpu/arm7]arm7.c arm7.h arm7core.c arm7core.h arm7exec.c
[src/emu/cpu/m68000]m68kcpu.c
[src/lib/util]chd.c chd.h
[src/mame]mame.mak mamedriv.c tiny.c tiny.mak
[src/mame/audio]galaxian.c gottlieb.c irem.c
[src/mame/drivers]20pacgal.c 39in1.c 3super8.c 4roses.c 8080bw.c actfancr.c aerofgt.c airbustr.c albazg.c alg.c alpha68k.c ampoker2.c appoooh.c aquarium.c argus.c aristmk4.c arkanoid.c armedf.c artmagic.c asterix.c asteroid.c astinvad.c astrof.c asuka.c atarig1.c atarigx2.c atarisy1.c atarisy2.c atetris.c backfire.c badlands.c balsente.c baraduke.c battlane.c battlnts.c bbusters.c bfm_sc2.c big10.c bigevglf.c bingor.c* bladestl.c blmbycar.c blockade.c blockout.c bloodbro.c blstroid.c blueprnt.c bnstars.c bombjack.c boogwing.c bublbobl.c buggychl.c bwidow.c bwing.c cabal.c cabaret.c calomega.c caswin.c cave.c ccastles.c cchance.c cclimber.c centiped.c champbas.c chinagat.c chsuper.c cischeat.c citycon.c cliffhgr.c clshroad.c cninja.c commando.c compgolf.c coolpool.c cps1.c cps2.c crbaloon.c crgolf.c crimfght.c crshrace.c cshooter.c cvs.c cyberbal.c dambustr.c darkseal.c dassault.c dblewing.c dcheese.c ddenlovr.c ddragon.c ddragon3.c dec0.c dec8.c deco156.c deco32.c deco_mlc.c decocass.c djmain.c dkong.c docastle.c dooyong.c dotrikun.c drgnmst.c dribling.c dwarfd.c dynduke.c equites.c esd16.c ettrivia.c exerion.c exidy440.c exprraid.c fantland.c fastfred.c fcrash.c feversoc.c finalizr.c flkatck.c flstory.c foodf.c funkybee.c funkyjet.c funworld.c funybubl.c fuukifg2.c gaelco.c gaelco2.c gaelco3d.c gaiden.c galaga.c galaxi.c galdrvr.c galpani2.c galpanic.c gaplus.c gatron.c gauntlet.c gberet.c gbusters.c gijoe.c ginganin.c gladiatr.c glass.c gng.c goindol.c goldnpkr.c goldstar.c good.c goodejan.c gotcha.c gottlieb.c gradius3.c grchamp.c gstream.c gstriker.c gticlub.c gumbo.c gundealr.c gunsmoke.c harddriv.c hcastle.c highvdeo.c hnayayoi.c holeland.c igs009.c igspoker.c ilpag.c intrscti.c itech32.c itech8.c itgambl2.c jack.c jackie.c jackpool.c jailbrek.c junofrst.c kaneko16.c kangaroo.c kingobox.c konamigx.c kyugo.c labyrunr.c laserbas.c laserbat.c lastduel.c legionna.c leland.c lethal.c lethalj.c liberatr.c limenko.c ltcasino.c lucky74.c lvcards.c lwings.c m10.c m58.c m62.c m72.c m90.c m92.c madalien.c magic10.c magicard.c magicfly.c mainevt.c mappy.c mazerbla.c mcatadv.c mcr.c mcr68.c meadows.c megasys1.c megazone.c merit.c metro.c mexico86.c mhavoc.c midvunit.c midwunit.c midyunit.c midzeus.c mil4000.c missile.c mitchell.c model2.c model3.c moo.c mpoker.c multigam.c murogem.c murogmbl.c mw8080bw.c mwarr.c mystston.c mystwarr.c n8080.c namcofl.c namcoic.c namcona1.c namconb1.c namcos1.c namcos10.c namcos11.c namcos12.c namcos2.c namcos22.c namcos23.c namcos86.c naomi.c naughtyb.c nbmj8688.c nemesis.c neodrvr.c ninjakd2.c nmk16.c norautp.c nova2001.c offtwall.c othunder.c pacman.c parodius.c pbaction.c pcktgal.c peplus.c pgm.c photon.c* photoply.c* pktgaldx.c playmark.c plygonet.c polepos.c policetr.c portrait.c powerins.c prehisle.c progolf.c psikyo.c psikyo4.c punchout.c qix.c quakeat.c raiden.c raiden2.c rallyx.c rampart.c rastan.c re900.c redalert.c redclash.c renegade.c retofinv.c rockrage.c rocnrope.c rohga.c route16.c sandscrp.c sauro.c sbrkout.c scramble.c sderby.c seattle.c segac2.c segag80r.c segag80v.c segahang.c segaorun.c segas16a.c segas16b.c segas18.c segas24.c segas32.c segaxbd.c seibuspi.c senjyo.c seta.c seta2.c sf.c shadfrce.c shangkid.c shisen.c shootout.c sidearms.c sidepckt.c simpsons.c skullxbo.c skyfox.c skylncr.c slapfght.c slotcarn.c snk.c snk6502.c snk68.c snookr10.c snowbros.c sonson.c spdodgeb.c speedatk.c splash.c spoker.c spool99.c sprcros2.c srumbler.c sshangha.c sslam.c sstrangr.c ssv.c starfire.c starwars.c statriv2.c stlforce.c stv.c suna8.c supbtime.c superqix.c suprnova.c taito_f3.c taito_x.c taito_z.c taitogn.c taitosj.c tankbatt.c taotaido.c tecmo.c tecmosys.c tehkanwc.c terracre.c thepit.c thunderx.c tigeroad.c timetrv.c tmaster.c tmnt.c tnzs.c toaplan1.c toaplan2.c toki.c topspeed.c trackfld.c travrusa.c tutankhm.c twin16.c twincobr.c tx1.c undrfire.c unico.c vamphalf.c vaportra.c vball.c vegas.c vicdual.c videopkr.c vigilant.c vindictr.c vmetal.c volfied.c vpoker.c* warpwarp.c warriorb.c welltris.c williams.c wwfsstar.c wwfwfest.c yiear.c yunsun16.c yunsung8.c zaccaria.c zn.c zr107.c
[src/mame/includes]namcos2.h nmk16.h pk8000.h*
[src/mame/machine]cps2crpt.c fddebug.c kaneko16.c konamigx.c namcos2.c naomibd.c playch10.c pxa255.h*
[src/mame/video]aerofgt.c ajax.c aliens.c asterix.c asuka.c atarig42.c atarigx2.c atarisy2.c batman.c bishi.c blmbycar.c blockhl.c bloodbro.c boogwing.c cninja.c combatsc.c cps1.c dassault.c dbz.c dcon.c deadang.c deco16ic.c deco32.c deniam.c docastle.c dooyong.c esd16.c f1gp.c foodf.c funworld.c fuukifg2.c fuukifg3.c gaelco.c gaiden.c galastrm.c galpani2.c gcpinbal.c gijoe.c gradius3.c groundfx.c gunbustr.c hyprduel.c inufuku.c kaneko16.c konamigx.c konamiic.c labyrunr.c lethal.c lkage.c m90.c m92.c mainevt.c mcatadv.c mcr.c mcr3.c mcr68.c megasys1.c metro.c model1.c moo.c ms32.c namcona1.c namcos1.c namcos2.c namcos22.c namcos86.c nemesis.c nmk16.c othldrby.c othunder.c overdriv.c pacland.c parodius.c pk8000.c* pktgaldx.c playmark.c plygonet.c ppu2c0x.c psikyo.c rallyx.c rastan.c relief.c rohga.c rollerg.c rungun.c segahang.c segaic16.c segaic16.h segaic24.c segaic24.h segaorun.c segas16a.c segas16b.c segas18.c segas24.c segaxbd.c segaybd.c shadfrce.c shootout.c silkroad.c simpl156.c simpsons.c slapshot.c sonson.c speedatk.c spy.c stfight.c stvvdp2.c superchs.c surpratk.c system16.c taito_f2.c taito_l.c taito_z.c taitoic.c taitoic.h tatsumi.c tecmo.c tecmo16.c tetrisp2.c thunderj.c thunderx.c tmnt.c toaplan1.c toaplan2.c toobin.c topspeed.c twin16.c undrfire.c unico.c vendetta.c volfied.c warriorb.c wgp.c xexex.c xmen.c yunsun16.c
[src/mess]mess.mak messdriv.c
[src/tools]chdman.c ldresample.c

src/mame/audio/galaxian.c
r5338r5339
55
66#define VERBOSE 0
77
8#define NEW_LFO
8#define NEW_LFO 1
99
1010#define XTAL      18432000
1111
r5338r5339
478478#undef Cap
479479#undef Vbe
480480#undef Vcc
481   logerror("lfo timer bits:%d%d%d%d r1:%d, r2:%d, re: %d, td: %9.2fsec\n", lfobit[0], lfobit[1], lfobit[2], lfobit[3], (int)r1, (int)r2, (int)Re, td);
481   LOG(("lfo timer bits:%d%d%d%d r1:%d, r2:%d, re: %d, td: %9.2fsec\n", lfobit[0], lfobit[1], lfobit[2], lfobit[3], (int)r1, (int)r2, (int)Re, td));
482482   timer_adjust_periodic(lfotimer, attotime_make(0, ATTOSECONDS_PER_SECOND / (MAXFREQ-MINFREQ) * td), 0, attotime_make(0, ATTOSECONDS_PER_SECOND / (MAXFREQ-MINFREQ) * td));
483483#else
484484   double r0, r1, rx = 100000.0;
src/mame/audio/irem.c
r5338r5339
217217
218218static const ay8910_interface irem_ay8910_interface_1 =
219219{
220   AY8910_SINGLE_OUTPUT,
220   AY8910_SINGLE_OUTPUT | AY8910_DISCRETE_OUTPUT,
221221   {470, 0, 0},
222222   DEVCB_MEMORY_HANDLER("iremsound", PROGRAM, soundlatch_r),
223223   DEVCB_NULL,
r5338r5339
227227
228228static const ay8910_interface irem_ay8910_interface_2 =
229229{
230   AY8910_SINGLE_OUTPUT,
230   AY8910_SINGLE_OUTPUT | AY8910_DISCRETE_OUTPUT,
231231   {470, 0, 0},
232232   DEVCB_NULL,
233233   DEVCB_NULL,
r5338r5339
258258 * I did my test to verify against pcb pictures of "tropical angel"
259259 */
260260
261#define M52_R9      560
262#define M52_R10      330
261263#define M52_R12      RES_K(10)
262264#define M52_R13      RES_K(10)
263265#define M52_R14      RES_K(10)
264#define M52_R15      RES_K(2.2)   /* schematics RES_K(22) */
266#define M52_R15      RES_K(2.2)   /* schematics RES_K(22) , althought 10-Yard states 2.2 */
265267#define M52_R19      RES_K(10)
266#define M52_R22      RES_K(4.7)   /* schematics RES_K(47) */
268#define M52_R22      RES_K(47)
267269#define M52_R23      RES_K(2.2)
268270#define M52_R25      RES_K(10)
269271#define M52_VR1      RES_K(50)
270272
273#define M52_C28      CAP_U(1)
271274#define M52_C30      CAP_U(0.022)
272275#define M52_C32      CAP_U(0.022)
273276#define M52_C35      CAP_U(47)
r5338r5339
283286
284287static const discrete_mixer_desc m52_sound_c_stage1 =
285288   {DISC_MIXER_IS_RESISTOR,
286      {M52_R19, M52_R22 },
287      {      0,       0 },   /* variable resistors   */
288      {M52_C37,      0 },    /* node capacitors      */
289             0, M52_R23,      /* rI, rF               */
290      M52_C35*0,            /* cF                   */
291      0,                  /* cAmp                 */
289      {M52_R19, M52_R22, M52_R23 },
290      {      0,       0,       0 },   /* variable resistors   */
291      {M52_C37,      0,       0 },   /* node capacitors      */
292             0,       0,            /* rI, rF               */
293      M52_C35*0,                  /* cF                   */
294      0,                        /* cAmp                 */
292295      0, 1};
293296
294297static const discrete_op_amp_filt_info m52_sound_c_sallen_key =
r5338r5339
320323   DISCRETE_DIVIDE(NODE_10, 1, NODE_09, 2.0)
321324
322325   /* Mix in 5 V to MSM5250 signal */
323   DISCRETE_MIXER2(NODE_20, 1, NODE_03, 32767.0, &m52_sound_c_stage1)
326   DISCRETE_MIXER3(NODE_20, 1, NODE_03, 32767.0, 0, &m52_sound_c_stage1)
324327
325328   /* Sallen - Key Filter */
326329   /* TODO: R12, C30: This looks like a band pass */
327   DISCRETE_SALLEN_KEY_FILTER(NODE_30, 1, NODE_20, DISC_SALLEN_KEY_LOW_PASS, &m52_sound_c_sallen_key)
330   DISCRETE_RCFILTER(NODE_25, 1, NODE_20, M52_R12, M52_C30)
331   DISCRETE_SALLEN_KEY_FILTER(NODE_30, 1, NODE_25, DISC_SALLEN_KEY_LOW_PASS, &m52_sound_c_sallen_key)
328332
329333   /* Mix signals */
330   DISCRETE_MIXER2(NODE_40, 1, NODE_10, NODE_30, &m52_sound_c_mix1)
334   DISCRETE_MIXER2(NODE_40, 1, NODE_10, NODE_25, &m52_sound_c_mix1)
335   DISCRETE_CRFILTER(NODE_45, 1, NODE_40, M52_R10+M52_R9, M52_C28)
331336
332337   DISCRETE_OUTPUT(NODE_40, 18.0)
333338
src/mame/audio/gottlieb.c
r5338r5339
300300{
301301   score_sample = 7;
302302   random_offset = 0;
303   dac_data[0] = dac_data[1] = 0xff;
303304
304305   state_save_register_global_array(machine, votrax_queue);
305306   state_save_register_global(machine, votrax_queuepos);
src/mame/machine/playch10.c
r5338r5339
396396
397397   /* yeah, this is probably a horrible assumption to make.*/
398398   /* but the driver is 100% consistant */
399   
399
400400   len = memory_region_length(machine, "gfx2");
401401   len /= 0x400;   // convert to KB
402402   len /= size;   // convert to bank resolution
403403   len--;         // convert to mask
404404   bank &= len;   // should be the right mask
405   
405
406406   for (i = 0; i < count; i++)
407407   {
408408      chr_page[i + first].writable = 0;
r5338r5339
422422   /* assumes 8K of vram */
423423   /* need 8K to fill address space */
424424   /* only pinbot (8k) banks at all */
425     
425
426426   for (i = 0; i < count; i++)
427427   {
428428      chr_page[i + first].writable = 1;
src/mame/machine/konamigx.c
r5338r5339
10461046   gx_objdma = 0;
10471047   gx_primode = 0;
10481048
1049   gx_objzbuf = (UINT8 *)priority_bitmap->base;
1049   gx_objzbuf = (UINT8 *)machine->priority_bitmap->base;
10501050   gx_shdzbuf = auto_alloc_array(machine, UINT8, GX_ZBUFSIZE);
10511051   gx_objpool = auto_alloc_array(machine, struct GX_OBJ, GX_MAX_OBJECTS);
10521052
src/mame/machine/fddebug.c
r5338r5339
557557      UINT32         seed;
558558   } default_keys[] =
559559   {
560      { "altbeaj1", 0xFCAFF9F9, 0x177AC6 },
560      { "altbeastj1", 0xFCAFF9F9, 0x177AC6 },
561561      { "bullet",   0x12A8F9EC, 0x1B1FC3 },
562562   };
563563   int keynum;
src/mame/machine/namcos2.c
r5338r5339
1616
1717extern void namcos21_kickstart(running_machine *, int);
1818
19static TIMER_CALLBACK( namcos2_posirq_tick );
20static emu_timer *namcos2_posirq_timer;
21
1922int namcos2_gametype;
2023
2124static unsigned mFinalLapProtCount;
r5338r5339
101104MACHINE_START( namcos2 )
102105{
103106   namcos2_eeprom = auto_alloc_array(machine, UINT8, namcos2_eeprom_size);
107   namcos2_posirq_timer = timer_alloc(machine, namcos2_posirq_tick, NULL);
104108}
105109
106110MACHINE_RESET( namcos2 )
r5338r5339
128132      namcos2_68k_slave_C148[loop] = 0;
129133      namcos2_68k_gpu_C148[loop] = 0;
130134   }
135
136   /* reset POSIRQ timer */
137   timer_adjust_oneshot(namcos2_posirq_timer, attotime_never, 0);
131138}
132139
133140/*************************************************************/
r5338r5339
310317      switch(offset)
311318      {
312319      case 1: return 0xBD;
313      // case 7: return 0xBD;
314320      }
315321      break;
316322
r5338r5339
508514
509515   switch(addr)
510516   {
511   case 0x1c0000: break; /* NAMCOS2_C148_0 level */
512   case 0x1c2000: break; /* NAMCOS2_C148_1 level */
513   case 0x1c4000: break; /* NAMCOS2_C148_2 level */
514   case 0x1c6000: break; /* NAMCOS2_C148_CPUIRQ level */
515   case 0x1c8000: break; /* NAMCOS2_C148_EXIRQ level */
516   case 0x1ca000: break; /* NAMCOS2_C148_POSIRQ level */
517   case 0x1cc000: break; /* NAMCOS2_C148_SERIRQ level */
518   case 0x1ce000: break; /* NAMCOS2_C148_VBLANKIRQ level */
517   case 0x1c0000: break; /* ? NAMCOS2_C148_0 */
518   case 0x1c2000: break; /* ? NAMCOS2_C148_1 */
519   case 0x1c4000: break; /* ? NAMCOS2_C148_2 */
519520
520   case 0x1d0000:
521   /* IRQ level */
522   case 0x1c6000: break; /* NAMCOS2_C148_CPUIRQ */
523   case 0x1c8000: break; /* NAMCOS2_C148_EXIRQ */
524   case 0x1ca000: break; /* NAMCOS2_C148_POSIRQ */
525   case 0x1cc000: break; /* NAMCOS2_C148_SERIRQ */
526   case 0x1ce000: break; /* NAMCOS2_C148_VBLANKIRQ */
527
528   case 0x1d0000: /* ? NAMCOS2_C148_0 */
521529      if( bWrite )
522530      {
523531         // mame_printf_debug( "cpu(%d) RAM[0x%06x] = 0x%x\n", cpu, addr, data );
524         // cpu_set_input_line(altcpu, pC148RegAlt[NAMCOS2_C148_CPUIRQ], ASSERT_LINE);
532         /* Dubious to assert IRQ for other CPU here, but Starblade seems to rely on it.
533               It fails to show large polygons otherwise. */
534         cpu_set_input_line(altcpu, pC148RegAlt[NAMCOS2_C148_CPUIRQ], ASSERT_LINE);
525535      }
526      cpu_set_input_line(space->cpu, pC148Reg[NAMCOS2_C148_0], CLEAR_LINE);
527536      break;
528537
529   case 0x1d2000:
530      cpu_set_input_line(space->cpu, pC148Reg[NAMCOS2_C148_1], CLEAR_LINE);
531      break;
538   case 0x1d2000: break; /* ? NAMCOS2_C148_1 */
532539
533   case 0x1d4000:
540   case 0x1d4000: /* ? NAMCOS2_C148_2 */
534541      if( bWrite )
535542      {
536543         // mame_printf_debug( "cpu(%d) RAM[0x%06x] = 0x%x\n", cpu, addr, data );
544         /* Dubious to assert IRQ for other CPU here: Rolling Thunder 2 and Fine Hour break. */
537545         // cpu_set_input_line(altcpu, pC148RegAlt[NAMCOS2_C148_CPUIRQ], ASSERT_LINE);
538546      }
539      cpu_set_input_line(space->cpu, pC148Reg[NAMCOS2_C148_2], CLEAR_LINE);
540547      break;
541548
542   case 0x1d6000:
543      if( bWrite )
544      {
545      //  mame_printf_debug( "cpu(%d) RAM[0x%06x] = 0x%x\n", cpu, addr, data );
546      }
549
550   /* IRQ ack */
551   case 0x1d6000: /* NAMCOS2_C148_CPUIRQ */
552      // if( bWrite ) mame_printf_debug( "cpu(%d) RAM[0x%06x] = 0x%x\n", cpu, addr, data );
547553      cpu_set_input_line(space->cpu, pC148Reg[NAMCOS2_C148_CPUIRQ], CLEAR_LINE);
548554      break;
549555
550   case 0x1d8000: /* ack EXIRQ */
551      if( bWrite )
552      {
553      //  mame_printf_debug( "cpu(%d) RAM[0x%06x] = 0x%x\n", cpu, addr, data );
554      }
556   case 0x1d8000: /* NAMCOS2_C148_EXIRQ */
557      // if( bWrite ) mame_printf_debug( "cpu(%d) RAM[0x%06x] = 0x%x\n", cpu, addr, data );
555558      cpu_set_input_line(space->cpu, pC148Reg[NAMCOS2_C148_EXIRQ], CLEAR_LINE);
556559      break;
557560
558   case 0x1da000: /* ack POSIRQ */
559      if( bWrite )
560      {
561      //  mame_printf_debug( "cpu(%d) RAM[0x%06x] = 0x%x\n", cpu, addr, data );
562      }
561   case 0x1da000: /* NAMCOS2_C148_POSIRQ */
562      // if( bWrite ) mame_printf_debug( "cpu(%d) RAM[0x%06x] = 0x%x\n", cpu, addr, data );
563563      cpu_set_input_line(space->cpu, pC148Reg[NAMCOS2_C148_POSIRQ], CLEAR_LINE);
564564      break;
565565
566   case 0x1dc000: /* ack SCIRQ */
567      if( bWrite )
568      {
569      //  mame_printf_debug( "cpu(%d) RAM[0x%06x] = 0x%x\n", cpu, addr, data );
570      }
566   case 0x1dc000: /* NAMCOS2_C148_SERIRQ */
567      // if( bWrite ) mame_printf_debug( "cpu(%d) RAM[0x%06x] = 0x%x\n", cpu, addr, data );
571568      cpu_set_input_line(space->cpu, pC148Reg[NAMCOS2_C148_SERIRQ], CLEAR_LINE);
572569      break;
573570
574   case 0x1de000: /* ack VBLANK */
571   case 0x1de000: /* NAMCOS2_C148_VBLANKIRQ */
575572      cpu_set_input_line(space->cpu, pC148Reg[NAMCOS2_C148_VBLANKIRQ], CLEAR_LINE);
576573      break;
577574
575
578576   case 0x1e0000: /* EEPROM Status Register */
579577      result = ~0; /* Only BIT0 used: 1=EEPROM READY 0=EEPROM BUSY */
580578      break;
r5338r5339
660658   return ReadWriteC148(space, offset, 0, 0);
661659}
662660
663static TIMER_CALLBACK( namcos2_68k_master_posirq )
664{
665   video_screen_update_partial(machine->primary_screen, param);
666   cputag_set_input_line(machine, "maincpu", namcos2_68k_master_C148[NAMCOS2_C148_POSIRQ] , ASSERT_LINE);
667}
668661
669static int
670GetPosIRQScanline( running_machine *machine )
662static int GetPosIRQScanline( running_machine *machine )
671663{
672664   if (IsSystem21()) return 0;
673665   return namcos2_GetPosIrqScanline(machine);
674666}
675667
676INTERRUPT_GEN( namcos2_68k_master_vblank )
668static TIMER_CALLBACK( namcos2_posirq_tick )
677669{
678   if (IsSystem21() == 0 && namcos2_68k_master_C148[NAMCOS2_C148_POSIRQ])
679   {
680      int scanline = GetPosIRQScanline(device->machine);
681      timer_set(device->machine, video_screen_get_time_until_pos(device->machine->primary_screen, scanline, 0), NULL, scanline, namcos2_68k_master_posirq );
670   if (IsSystem21()) {
671      if (namcos2_68k_gpu_C148[NAMCOS2_C148_POSIRQ]) {
672         video_screen_update_partial(machine->primary_screen, param);
673         cputag_set_input_line(machine, "gpu", namcos2_68k_gpu_C148[NAMCOS2_C148_POSIRQ] , ASSERT_LINE);
674      }
675      return;
682676   }
683   cpu_set_input_line(device, namcos2_68k_master_C148[NAMCOS2_C148_VBLANKIRQ], HOLD_LINE);
677
678   if (namcos2_68k_master_C148[NAMCOS2_C148_POSIRQ]|namcos2_68k_slave_C148[NAMCOS2_C148_POSIRQ]) {
679      video_screen_update_partial(machine->primary_screen, param);
680      if (namcos2_68k_master_C148[NAMCOS2_C148_POSIRQ]) cputag_set_input_line(machine, "maincpu", namcos2_68k_master_C148[NAMCOS2_C148_POSIRQ] , ASSERT_LINE);
681      if (namcos2_68k_slave_C148[NAMCOS2_C148_POSIRQ]) cputag_set_input_line(machine, "slave", namcos2_68k_slave_C148[NAMCOS2_C148_POSIRQ] , ASSERT_LINE);
682   }
684683}
685684
686static TIMER_CALLBACK( namcos2_68k_slave_posirq )
685void namcos2_adjust_posirq_timer( running_machine *machine, int scanline )
687686{
688   video_screen_update_partial(machine->primary_screen, param);
689   cputag_set_input_line(machine, "slave", namcos2_68k_slave_C148[NAMCOS2_C148_POSIRQ] , ASSERT_LINE);
687   timer_adjust_oneshot(namcos2_posirq_timer, video_screen_get_time_until_pos(machine->primary_screen, scanline, 80), scanline);
690688}
691689
692INTERRUPT_GEN( namcos2_68k_slave_vblank )
690INTERRUPT_GEN( namcos2_68k_master_vblank )
693691{
694   if (IsSystem21() == 0 && namcos2_68k_slave_C148[NAMCOS2_C148_POSIRQ])
695   {
696      int scanline = GetPosIRQScanline(device->machine);
697      timer_set(device->machine, video_screen_get_time_until_pos(device->machine->primary_screen, scanline, 0), NULL, scanline, namcos2_68k_slave_posirq );
698   }
699   cpu_set_input_line(device, namcos2_68k_slave_C148[NAMCOS2_C148_VBLANKIRQ], HOLD_LINE);
692   if (!IsSystem21()) namcos2_adjust_posirq_timer(device->machine, GetPosIRQScanline(device->machine));
693   cpu_set_input_line(device, namcos2_68k_master_C148[NAMCOS2_C148_VBLANKIRQ], HOLD_LINE);
700694}
701695
702static TIMER_CALLBACK( namcos2_68k_gpu_posirq )
696INTERRUPT_GEN( namcos2_68k_slave_vblank )
703697{
704   //printf( "namcos2_68k_gpu_posirq(%d)\n", param );
705   video_screen_update_partial(machine->primary_screen, param);
706   cputag_set_input_line(machine, "gpu", namcos2_68k_gpu_C148[NAMCOS2_C148_POSIRQ] , ASSERT_LINE);
698   if (!IsSystem21()) namcos2_adjust_posirq_timer(device->machine, GetPosIRQScanline(device->machine));
699   cpu_set_input_line(device, namcos2_68k_slave_C148[NAMCOS2_C148_VBLANKIRQ], HOLD_LINE);
707700}
708701
709702INTERRUPT_GEN( namcos2_68k_gpu_vblank )
710703{
704   /* only used by namcos21 */
705   int scanline = GetPosIRQScanline(device->machine);
706   scanline = 0x50+0x89; /* HACK for Winning Run */
707
711708   //printf( "namcos2_68k_gpu_vblank(%d)\n",namcos2_68k_gpu_C148[NAMCOS2_C148_POSIRQ] );
712   if (namcos2_68k_gpu_C148[NAMCOS2_C148_POSIRQ])
713   {
714      int scanline = 0x50+0x89; /* HACK for Winning Run */
715      timer_set(device->machine, video_screen_get_time_until_pos(device->machine->primary_screen, scanline, 0), NULL, scanline, namcos2_68k_gpu_posirq );
716   }
709   namcos2_adjust_posirq_timer(device->machine, scanline);
717710   cpu_set_input_line(device, namcos2_68k_gpu_C148[NAMCOS2_C148_VBLANKIRQ], HOLD_LINE);
718711}
719712
src/mame/machine/naomibd.c
r5338r5339
8484
8585#define NAOMIBD_FLAG_AUTO_ADVANCE   (8)   // address auto-advances on read
8686#define NAOMIBD_FLAG_SPECIAL_MODE   (4)   // used to access protection registers
87#define NAOMIBD_FLAG_ADDRESS_SHUFFLE   (2)   // 0 to let protection chip scramble address lines, 1 for normal
87#define NAOMIBD_FLAG_ADDRESS_SHUFFLE   (2)   // 0 to let protection chip en/decrypt, 1 for normal
8888
8989/*************************************
9090 *
r5338r5339
107107struct _naomibd_config_table
108108{
109109   const char *name;
110   UINT32   transtbl[MAX_PROT_REGIONS*2];
110   int reverse_bytes;
111   UINT32   transtbl[MAX_PROT_REGIONS*3];
111112};
112113
113114typedef struct _naomibd_state naomibd_state;
r5338r5339
126127   UINT32            prot_offset, prot_key;
127128
128129   UINT32            *prot_translate;
130   int            prot_reverse_bytes;
129131};
130132
131133// maps protection offsets to real addresses
134// format of array: encryption key, address written, address to switch out with.  if key is -1 it's ignored and address written is the match.
135// if key is not -1, it's used for the match instead of the address written.
132136static naomibd_config_table naomibd_translate_tbl[] =
133137{
134   { "doa2", { 0x500, 0, 0x20504, 0x20000, 0x40508, 0x40000, 0x6050c, 0x60000, 0x80510, 0x80000,
135          0xa0514, 0xa0000, 0xc0518, 0xc0000, 0xe051c, 0xe0000, 0x100520,0x100000, 0x118a3a, 0x120000,
136          0x12c0d8, 0x140000, 0x147e22, 0x160000, 0x1645ce, 0x180000, 0x17c6b2, 0x1a0000,
137          0x19902e, 0x1c0000, 0x1b562a, 0x1e0000, 0xffffffff, 0xffffffff } },
138   { "doa2m", { 0x500, 0, 0x20504, 0x20000, 0x40508, 0x40000, 0x6050c, 0x60000, 0x80510, 0x80000,
139          0xa0514, 0xa0000, 0xc0518, 0xc0000, 0xe051c, 0xe0000, 0x100520,0x100000, 0x11a5b4, 0x120000,
140          0x12e7c4, 0x140000, 0x1471f6, 0x160000, 0x1640c4, 0x180000, 0x1806ca, 0x1a0000,
141          0x199df4, 0x1c0000, 0x1b5d0a, 0x1e0000, 0xffffffff, 0xffffffff } },
138   { "doa2", 0, { -1, 0x500, 0, -1, 0x20504, 0x20000, -1, 0x40508, 0x40000, -1, 0x6050c, 0x60000, -1, 0x80510, 0x80000,
139          -1, 0xa0514, 0xa0000, -1, 0xc0518, 0xc0000, -1, 0xe051c, 0xe0000, -1, 0x100520,0x100000, -1, 0x118a3a, 0x120000,
140          -1, 0x12c0d8, 0x140000, -1, 0x147e22, 0x160000, -1, 0x1645ce, 0x180000, -1, 0x17c6b2, 0x1a0000,
141          -1, 0x19902e, 0x1c0000, -1, 0x1b562a, 0x1e0000, -1, 0xffffffff, 0xffffffff } },
142   { "doa2m", 0, { -1, 0x500, 0, -1, 0x20504, 0x20000, -1, 0x40508, 0x40000, -1, 0x6050c, 0x60000, -1, 0x80510, 0x80000,
143          -1, 0xa0514, 0xa0000, -1, 0xc0518, 0xc0000, -1, 0xe051c, 0xe0000, -1, 0x100520,0x100000, -1, 0x11a5b4, 0x120000,
144          -1, 0x12e7c4, 0x140000, -1, 0x1471f6, 0x160000, -1, 0x1640c4, 0x180000, -1, 0x1806ca, 0x1a0000,
145          -1, 0x199df4, 0x1c0000, -1, 0x1b5d0a, 0x1e0000, 0xffffffff, 0xffffffff } },
146   { "csmash", 1, { -1, 0x2000000, 0xbb614, 0xffffffff, 0xffffffff, 0xffffffff } },
147   { "csmasho", 1, { -1, 0x2000000, 0xbb5b4, 0xffffffff, 0xffffffff, 0xffffffff } },
148   { "capsnk", 0, { 0x8c2a, 0, 0, 0x3d3e, 0, 0x10000, 0x65b7, 0, 0x20000, 0x5896, 0, 0x30000, 0x16d2, 0, 0x40000,
149         0x9147, 0, 0x50000, 0x7ac, 0, 0x60000, 0xee67, 0, 0x70000, 0xeb63, 0, 0x80000, 0x2a04, 0, 0x90000,
150         0x3e41, 0, 0xa0000, 0xb7af, 0, 0xb0000, 0x9651, 0, 0xc0000, 0xd208, 0, 0xd0000, 0x4769, 0, 0xe0000,
151         0xad8c, 0, 0xf0000, 0x923d, 0, 0x100000, 0x4a65, 0, 0x110000, 0x9958, 0, 0x120000, 0x8216, 0, 0x130000,
152         0xaa91, 0, 0x140000, 0xd007, 0, 0x150000, 0xead, 0, 0x160000, 0x492, 0, 0x170000,
153         0xffffffff, 0xffffffff, 0xffffffff } },
154   { "capsnka", 0, { 0x8c2a, 0, 0, 0x3d3e, 0, 0x10000, 0x65b7, 0, 0x20000, 0x5896, 0, 0x30000, 0x16d2, 0, 0x40000,
155         0x9147, 0, 0x50000, 0x7ac, 0, 0x60000, 0xee67, 0, 0x70000, 0xeb63, 0, 0x80000, 0x2a04, 0, 0x90000,
156         0x3e41, 0, 0xa0000, 0xb7af, 0, 0xb0000, 0x9651, 0, 0xc0000, 0xd208, 0, 0xd0000, 0x4769, 0, 0xe0000,
157         0xad8c, 0, 0xf0000, 0x923d, 0, 0x100000, 0x4a65, 0, 0x110000, 0x9958, 0, 0x120000, 0x8216, 0, 0x130000,
158         0xaa91, 0, 0x140000, 0xd007, 0, 0x150000, 0xead, 0, 0x160000, 0x492, 0, 0x170000,
159         0xffffffff, 0xffffffff, 0xffffffff } },
142160};
143161
144162/***************************************************************************
r5338r5339
251269            UINT8 *prot = (UINT8 *)v->protdata;
252270            UINT32 byte_offset = v->prot_offset*2;
253271
254            if (!prot)
272            if (v->prot_translate == NULL)
255273            {
256274               logerror("naomibd: reading protection data, but none was supplied\n");
257275               return 0;
258276            }
259277
260            ret = (UINT64)(prot[byte_offset] | (prot[byte_offset+1]<<8));
278             if (v->prot_reverse_bytes)
279            {
280               ret = (UINT64)(prot[byte_offset+1] | (prot[byte_offset]<<8));
281            }
282            else
283            {
284               ret = (UINT64)(prot[byte_offset] | (prot[byte_offset+1]<<8));
285            }
261286
262287            v->prot_offset++;
263288         }
r5338r5339
356381            v->dma_offset &= 0xffff;
357382            v->dma_offset |= (data >> 16) & 0x1fff0000;
358383            v->dma_offset_flags = (data>>28);
384
385            // if the flag is cleared that lets the protection chip go,
386            // we need to handle this specially.
387            if (!(v->dma_offset_flags & NAOMIBD_FLAG_ADDRESS_SHUFFLE))
388            {
389               if (!strcmp(device->machine->gamedrv->name, "qmegamis"))
390               {
391                  v->dma_offset = 0x9000000;
392               }
393               else
394               {
395                  logerror("Protected DMA not handled for this game\n");
396               }
397            }
359398         }
360399         if(ACCESSING_BITS_0_15)
361400         {
r5338r5339
375414               case 0x1fffc:   // decryption key
376415                  v->prot_key = data;
377416
378                  mame_printf_verbose("Protection: set up read @ %x, key %x [%s]\n", v->prot_offset, v->prot_key, cpuexec_describe_context(device->machine));
417                  mame_printf_verbose("Protection: set up read @ %x, key %x (PIO %x DMA %x) [%s]\n", v->prot_offset, v->prot_key, v->rom_offset, v->dma_offset, cpuexec_describe_context(device->machine));
379418
380419                  // translate address if necessary
381420                  if (v->prot_translate != NULL)
382421                  {
383422                     i = 0;
384                     while (v->prot_translate[i] != 0xffffffff)
423                     while (v->prot_translate[i+1] != 0xffffffff)
385424                     {
386                        if (v->prot_translate[i] == (v->prot_offset*2))
425                        // should we match by key or address?
426                        if (v->prot_translate[i] != -1)
387427                        {
388                           mame_printf_verbose("Protection: got offset %x, translated to %x\n", v->prot_offset, v->prot_translate[i+1]);
389                           v->prot_offset = v->prot_translate[i+1]/2;
390                           break;
428                           if (v->prot_translate[i] == v->prot_key)
429                           {
430                              mame_printf_verbose("Protection: got key %x, translated to %x\n", v->prot_key, v->prot_translate[i+2]);
431                              v->prot_offset = v->prot_translate[i+2]/2;
432                              break;
433                           }
434                           else
435                           {
436                              i+= 3;
437                           }
391438                        }
392439                        else
393440                        {
394                           i += 2;
441                           if (v->prot_translate[i+1] == (v->prot_offset*2))
442                           {
443                              mame_printf_verbose("Protection: got offset %x, translated to %x\n", v->prot_offset, v->prot_translate[i+2]);
444                              v->prot_offset = v->prot_translate[i+2]/2;
445                              break;
446                           }
447                           else
448                           {
449                              i += 3;
450                           }
395451                        }
396452                     }
397453                  }
454                  else
455                  {
456                     mame_printf_verbose("naomibd: protection not handled for this game\n");
457                  }
398458                  break;
399459
400460               default:
r5338r5339
674734      if (!strcmp(device->machine->gamedrv->name, naomibd_translate_tbl[i].name))
675735      {
676736         v->prot_translate = &naomibd_translate_tbl[i].transtbl[0];
737         v->prot_reverse_bytes = naomibd_translate_tbl[i].reverse_bytes;
677738         break;
678739      }
679740   }
src/mame/machine/kaneko16.c
r5338r5339
262262
26326300FF : busy flag, MCU clears it when cmd finished (main program loops until it's cleared)
2642640059 : MCU writes DSW -> $102e15
265019E : ??? -> $102e14, compared with -1 once, very interesting, see $1063e6 - IT2
265019E : Eeprom data address - dumps the 0x80 bytes of Eeprom here
266266030A : location where MCU will get its parameters from now on
267267FFFE : probably polled by MCU, needs to be kept alive (cleared by main cpu - IT2)
2682680042 : MCU writes its checksum
26900207FE0 : may serves for relocating code (written as .l)
26900207FE0 : base of 'stack' used when transfering tables out of MCU
270270*/
271271
272272static void calc3_mcu_run(running_machine *machine);
r5338r5339
311311    - Read the DSWs
312312    - Supply code snippets to the 68000
313313*/
314UINT32 writeaddress;
315extern UINT16 calc3_mcu_crc;
316extern UINT16* kaneko16_calc3_fakeram;
317314
318extern int calc3_decompress_table(running_machine* machine, int tabnum, UINT8* dstram, int dstoffset);
319315
316// protection information for brapboys / shogwarr
317//
318// this is just an analysis of the MCU Data rom, in reality it probably processes this when requested, not pre-decrypts
319//
320320
321static void calc3_mcu_run(running_machine *machine)
321/*
322
323esentially the data rom is a linked list of encrypted blocks
324
325contains the following
326ROM ADDRESS 0x0000 = the number of tables in this rom
327
328followed by several tables in the following format
329
330OFFSET 0 - the location of a word which specifies the size of the block
331         - this is usually '3', but if it's larger than 3 it enables an 'inline encryption' mode, whereby the decryption table is stored in the
332         - right before the length register
333
334OFFSET 1 - a 'mode' register of some sort, usually 0,1,2 or 3 for used data, shogun also called a 'blank' command (length 0) with mode 8
335
336OFFSET 2 - unknown, might be some kind of 'step' register
337
338OFFSET 3 - decryption key - specifies which decryption table to use (ignored for inline tables, see offset 0)
339
340(inline decryption table goes here if specified)
341
342OFFSET 4-5 (or after the inline decryption table) - the length of the current block (so that the start of the next block can be found)
343
344OFFSET 6-size - data for thie block
345
346this continues for the number of blocks specified
347after all the blocks there is a 0x1000 block of data which is the same between games
348
349where games specify the same decryption key the table used is the same, I don't know where these tables come from.
350
351*/
352
353UINT16 calc3_mcu_crc;
354
355/* decryption tables */
356
357/* table 0x00 = not encrypted? */
358static UINT8 calc3_table00[64] = {
359   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
360   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
361   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
362   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
363};
364
365/* ok */
366static UINT8 calc3_table01[64] = {
367   0xce,0xab,0xa1,0xaa,0x20,0x20,0xcb,0x57,0x5b,0x65,0xd6,0x65,0x5e,0x92,0x6c,0x0a,
368   0xf8,0xea,0xb6,0xfd,0x76,0x35,0x47,0xaf,0xed,0xe0,0xcc,0x4d,0x4c,0xd6,0x74,0x78,
369   0x20,0x1c,0x1f,0xc1,0x25,0x2e,0x49,0xe7,0x90,0x1b,0xb4,0xcf,0x1e,0x61,0xd7,0x46,
370   0xda,0x89,0x08,0x77,0xb1,0x81,0x6b,0x2d,0xb6,0xbc,0x99,0xc9,0x35,0x0a,0x0f,0x01
371};
372
373/* ok - shogwarr */
374static UINT8 calc3_table15[64] = {
375   0x0C,0xEB,0x30,0x25,0xA8,0xED,0xE3,0x23,0xAC,0x2B,0x8D,0x34,0x88,0x9F,0x55,0xB5,
376   0xBF,0x15,0xE3,0x7C,0x54,0xD4,0x72,0xA9,0x7E,0x80,0x27,0x9F,0xA3,0x3F,0xA1,0x4D,
377   0x84,0x1B,0xD1,0xB2,0xB5,0xA7,0x0C,0xA0,0x51,0xE6,0x5E,0xC0,0xEB,0x68,0x22,0xD6,
378   0xC8,0xB6,0xCF,0x46,0x4B,0xF0,0x15,0xD7,0xB0,0xB5,0x29,0xB8,0xFD,0x43,0x5C,0xC0
379};
380
381/* ok - brapboys initial transfer */
382static UINT8 calc3_table04[64] = {
383    0xff,0x4a,0x62,0xa3,0xf4,0xb4,0x8c,0x2d,0x84,0xbd,0x87,0x3a,0x9e,0xe9,0xd7,0x12,
384    0xff,0x50,0x40,0x39,0xa6,0x47,0xd9,0x38,0x89,0x3c,0x62,0xa0,0x86,0xe2,0xd7,0x4d,
385   0x9c,0x8e,0x45,0xe8,0x5b,0xe1,0xdd,0xaf,0x99,0xa8,0x47,0x79,0x67,0x00,0x38,0xf4,
386   0x43,0xbe,0x47,0x32,0x8f,0x0e,0xfd,0x64,0x42,0x59,0x2b,0xe5,0xde,0x6d,0x80,0x7a,
387 };
388
389
390/* partial guessed tables
391unsigned char table31[64] = {
392    // x     x     x    ok     x     x     x    ok     x     x     x    ok     x     x     x    ok
393    0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0xaf, 0x00, 0x00, 0x00, 0x3a, 0x00, 0x00, 0x00, 0x3b,
394    0x00, 0x00, 0x00, 0xbb, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0xb1, 0x00, 0x00, 0x00, 0xdc,
395    0x00, 0x00, 0x00, 0xb5, 0x00, 0x00, 0x00, 0x3d, 0x00, 0x00, 0x00, 0x4f, 0x00, 0x00, 0x00, 0xde,
396    0x00, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x00, 0x26, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, 0xb1
397};
398
399
400unsigned char tableb0[64] = {
401    // x     x     x    ok     x     x     x    ok     x     x     x    ok     x     x     x    ok
402    0x00, 0x00, 0x00, 0x5e, 0x00, 0x00, 0x00, 0x44, 0x00, 0x00, 0x00, 0x68, 0x00, 0x00, 0x00, 0x81,
403    0x00, 0x00, 0x00, 0x85, 0x00, 0x00, 0x00, 0x6d, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x32,
404    0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0xb2, 0x00, 0x00, 0x00, 0x2a, 0x00, 0x00, 0x00, 0x00,
405    0x00, 0x00, 0x00, 0xb2, 0x00, 0x00, 0x00, 0xe4, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x5b
406};
407
408unsigned char tableb7[64] = {
409    // x     x     x    ok     x     x     x    ok     x     x     x    ok     x     x     x    ok
410    0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x00, 0x00, 0xd7,
411    0x00, 0x00, 0x00, 0xe7, 0x00, 0x00, 0x00, 0x54, 0x00, 0x00, 0x00, 0x2b, 0x00, 0x00, 0x00, 0x82,
412    0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0xa2, 0x00, 0x00, 0x00, 0xb4, 0x00, 0x00, 0x00, 0x26,
413    0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x9d, 0x00, 0x00, 0x00, 0x33
414};
415
416unsigned char tablebb[64] = {
417    // x     x     x    ok     x     x     x    ok     x     x     x    ok     x     x     x    ok
418    0x00, 0x00, 0x00, 0x62, 0x00, 0x00, 0x00, 0x4a, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x00, 0x00, 0x3d,
419    0x00, 0x00, 0x00, 0xec, 0x00, 0x00, 0x00, 0x99, 0x00, 0x00, 0x00, 0xa0, 0x00, 0x00, 0x00, 0x69,
420    0x00, 0x00, 0x00, 0xeb, 0x00, 0x00, 0x00, 0x6f, 0x00, 0x00, 0x00, 0x97, 0x00, 0x00, 0x00, 0x9e,
421    0x00, 0x00, 0x00, 0xe1, 0x00, 0x00, 0x00, 0x9f, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x00, 0x00, 0x4d
422};
423*/
424
425// global so we can use them in the filename when we save out the data (debug..)
426static UINT8 calc3_decryption_key_byte;
427static UINT8 calc3_unknown;
428static UINT8 calc3_mode;
429static UINT8 calc3_blocksize_offset;
430static UINT16 calc3_dataend;
431static UINT16 calc3_database;
432
433// endian safe? you're having a laugh
434int calc3_decompress_table(running_machine* machine, int tabnum, UINT8* dstram, int dstoffset)
322435{
323   UINT16 mcu_command;
436   UINT8* rom = memory_region(machine,"cpu1");
437   UINT8 numregions;
438   UINT16 length;
439   int x;
440   int offset = 0;
441   numregions = rom[offset+0];
324442
325   if ( calc3_mcu_status != (1|2|4|8) )   return;
443   if (tabnum > numregions)
444   {
445      printf("CALC3 error, requested table > num tables!\n");
446      return 0;
447   }
326448
327   //calc3_mcu_status = 0;
449   rom++;
328450
329   mcu_command = kaneko16_mcu_ram[calc3_mcu_command_offset/2 + 0];
451   // scan through the linked list to find the start of the requested table info
452   for (x=0;x<tabnum;x++)
453   {
454      UINT8 blocksize_offset = rom[offset+0]; // location of the 'block length'
455      offset+= blocksize_offset+1;
456      length = rom[offset+0] | (rom[offset+1]<<8);
457      offset+=length+2;
458   }
330459
331   if (mcu_command == 0) return;
460   // we're at the start of the block, get the info about it
461   {
462      UINT16 inline_table_base = 0;
463      UINT16 inline_table_size = 0;
464      calc3_database = offset;
465      calc3_blocksize_offset =    rom[offset+0]; // location of the 'block length'
466      calc3_mode =                rom[offset+1];
467      calc3_unknown =             rom[offset+2];
468      calc3_decryption_key_byte = rom[offset+3];
332469
333   logerror("%s : MCU executed command at %04X: %04X\n",
334       cpuexec_describe_context(machine),calc3_mcu_command_offset,mcu_command);
335470
471      // if blocksize_offset > 3, it appears to specify the encryption table as 'inline' which can be of any size (odd or even) and loops over the bytes to decrypt
472      // the decryption key specified seems to be ignored?
473      if (calc3_blocksize_offset>3)
474      {
475         inline_table_base = offset+4;
476         inline_table_size = calc3_blocksize_offset-3;
477      }
336478
337   switch (mcu_command)
479      offset+= calc3_blocksize_offset+1;
480      length = rom[offset+0] | (rom[offset+1]<<8);
481      offset+=2;
482
483      if (inline_table_size)
484      {
485         printf("Block %02x Found Base %04x - Inline Encryption (size %02x) - Mode? %02x Unknown %02x Key (unused?) %02x Length %04x\n", tabnum, calc3_database, inline_table_size, calc3_mode, calc3_unknown, calc3_decryption_key_byte, length);
486      }
487      else
488      {
489         printf("Block %02x Found Base %04x - Mode? %02x Unknown %02x Key %02x Length %04x\n", tabnum, calc3_database, calc3_mode, calc3_unknown, calc3_decryption_key_byte, length);
490      }
491
492
493      // copy + decrypt the table to the specified memory area
494      if (dstram)
495      {
496         int i;
497
498         if (length==0x00)
499         {
500            // shogwarr does this with 'mode' as 0x08, which probably has some special meaning
501            //printf("CALC3: requested 0 length table!\n");
502            // -- seems to be 'reset stack' to default for the protection table writes
503         }
504
505         if (inline_table_size)
506         {
507            for (i=0;i<length;i++)
508            {
509               UINT8 dat = rom[offset+i];
510               UINT8 inlinet = rom[inline_table_base + (i%inline_table_size)];
511               //printf("%02x, ",inlinet);
512               dat -= inlinet;
513
514               if (tabnum==0x40) // fjbuster / shogun warriors japanese character select (what enables this extra?)
515               {
516                  // note the original, table is an odd number of words, so we can't just check if i is odd / even because the additional overlay
517                  // is relative to the start of the original table, and has a size of 0x11 (17) bytes which loop.
518                  if (((i%inline_table_size)&1)==0)
519                  {
520                     // thie gets mapped over half the inline table?!..  (inline length is 0x22, this changes odd bytes)
521                     // what specifies the additional overlay here?
522                     UINT8 extra[0x11] = { 0x14,0xf0,0xf8,0xd2,0xbe,0xfc,0xac,0x86,0x64,0x08,0x0c,0x74,0xd6,0x6a,0x24,0x12,0x1a };
523                     dat -= extra[(i%inline_table_size)>>1];
524
525                  }
526
527
528               }
529
530               dstram[(dstoffset+i)^1] = dat;
531            }
532         }
533         else
534         {
535            UINT8* table = calc3_table00;
536
537            // 0x00 seems to have no 'encryption'
538            if (calc3_decryption_key_byte == 0x00) table = calc3_table00;
539
540            // currently only handle 3 of the formats :-(
541            if (calc3_decryption_key_byte == 0x01) table = calc3_table01;
542            if (calc3_decryption_key_byte == 0x15) table = calc3_table15;
543            if (calc3_decryption_key_byte == 0x04) table = calc3_table04;
544
545            for (i=0;i<length;i++)
546            {
547
548
549               UINT8 dat = rom[offset+i];
550
551
552               if (tabnum==0x80) // shogwarr table 80 (irq code)
553               {
554
555                  unsigned char extracted80[686+2] = {
556                     0x00, 0x00,
557                     0xE7, 0x48, 0xFE, 0xFF, 0x39, 0x4A, 0x10, 0x00, 0xFE, 0x2D, 0x00, 0x67,
558                     0x64, 0x02, 0x39, 0x4A, 0x10, 0x00, 0x26, 0x2E, 0x00, 0x66, 0x54, 0x02,
559                     0x3C, 0x10, 0x4D, 0x00, 0x39, 0x4A, 0x10, 0x00, 0x10, 0x2E, 0x04, 0x67,
560                     0xC0, 0x08, 0x07, 0x00, 0xC0, 0x13, 0x90, 0x00, 0x00, 0x00, 0xF9, 0x43,
561                     0x58, 0x00, 0x00, 0x00, 0xF9, 0x41, 0x10, 0x00, 0x00, 0x18, 0xD8, 0x22,
562                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
563                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
564                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
565                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
566                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
567                     0xD8, 0x22, 0xF9, 0x43, 0x38, 0x00, 0x00, 0x00, 0x3C, 0x30, 0x0F, 0x00,
568                     0x79, 0x20, 0x10, 0x00, 0xA2, 0x62, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
569                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
570                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
571                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
572                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
573                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
574                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
575                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
576                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
577                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
578                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
579                     0xD8, 0x22, 0xC8, 0x51, 0x7E, 0xFF, 0x39, 0x4A, 0x10, 0x00, 0x27, 0x2E,
580                     0x00, 0x66, 0x64, 0x00, 0xF9, 0x45, 0x10, 0x00, 0x40, 0x32, 0xF9, 0x41,
581                     0x80, 0x00, 0x00, 0x00, 0xDA, 0x30, 0xDA, 0x30, 0xDA, 0x30, 0xDA, 0x30,
582                     0xF9, 0x41, 0x90, 0x00, 0x14, 0x00, 0x39, 0x30, 0x10, 0x00, 0x38, 0x32,
583                     0x40, 0x02, 0xC0, 0xFF, 0x40, 0x44, 0xC0, 0x30, 0x39, 0x30, 0x10, 0x00,
584                     0x3A, 0x32, 0x40, 0x02, 0xC0, 0xFF, 0x40, 0x44, 0x79, 0xD0, 0x10, 0x00,
585                     0x1E, 0x2E, 0xC0, 0x30, 0x39, 0x30, 0x10, 0x00, 0x3C, 0x32, 0x40, 0x02,
586                     0xC0, 0xFF, 0x40, 0x44, 0xC0, 0x30, 0x39, 0x30, 0x10, 0x00, 0x3E, 0x32,
587                     0x40, 0x02, 0xC0, 0xFF, 0x40, 0x44, 0x79, 0xD0, 0x10, 0x00, 0x1E, 0x2E,
588                     0xC0, 0x30, 0x00, 0x60, 0x9A, 0x00, 0xF9, 0x41, 0x80, 0x00, 0x00, 0x00,
589                     0x39, 0x30, 0x10, 0x00, 0x40, 0x32, 0x40, 0x31, 0x02, 0x00, 0x40, 0x31,
590                     0x06, 0x00, 0xF9, 0x41, 0x90, 0x00, 0x1C, 0x00, 0x39, 0x30, 0x10, 0x00,
591                     0x34, 0x32, 0x48, 0xED, 0x40, 0x44, 0xC0, 0x30, 0x39, 0x30, 0x10, 0x00,
592                     0x30, 0x32, 0x40, 0x06, 0x20, 0x00, 0x48, 0xED, 0x40, 0x44, 0x79, 0xD0,
593                     0x10, 0x00, 0x1E, 0x2E, 0xC0, 0x30, 0xF9, 0x41, 0x10, 0x00, 0x28, 0x2E,
594                     0xE8, 0x45, 0x00, 0x02, 0x79, 0x22, 0x10, 0x00, 0x22, 0x2E, 0xE9, 0x47,
595                     0x00, 0x10, 0x3C, 0x30, 0x07, 0x00, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22,
596                     0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22,
597                     0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22,
598                     0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22,
599                     0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22,
600                     0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xC8, 0x51,
601                     0xBE, 0xFF, 0xF9, 0x43, 0x58, 0x00, 0x80, 0x00, 0xF9, 0x41, 0x10, 0x00,
602                     0x80, 0x18, 0x3C, 0x30, 0x1B, 0x00, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
603                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
604                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
605                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
606                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
607                     0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xC8, 0x51,
608                     0xBE, 0xFF, 0xD8, 0x22, 0xD8, 0x22, 0x39, 0x42, 0x10, 0x00, 0xFE, 0x2D,
609                     0xF9, 0x41, 0x10, 0x00, 0x6C, 0x67, 0x07, 0x70, 0x10, 0x0C, 0x03, 0x00,
610                     0x00, 0x66, 0x0E, 0x00, 0x68, 0x53, 0x0E, 0x00, 0x00, 0x66, 0x06, 0x00,
611                     0xBC, 0x10, 0x04, 0x00, 0xE8, 0x41, 0x12, 0x00, 0xC8, 0x51, 0xE6, 0xFF,
612                     0xC0, 0x33, 0x2C, 0x00, 0x00, 0x00, 0x3C, 0x30, 0x14, 0x00, 0xC8, 0x51,
613                     0xFE, 0xFF, 0xC0, 0x33, 0x2D, 0x00, 0x00, 0x00, 0xDF, 0x4C, 0xFF, 0x7F,
614                     0x73, 0x4E
615                  };
616
617                  if ((i&1)==0)
618                  {
619                     dat -= table[i&0x3f];
620                     dat = BITSWAP8(dat,2,1,0,7,6,5,4,3);
621                     // we can decode this byte... but compare it to the extract table for verification
622                     if (extracted80[i^1] != dat) printf("error %02x %02x %02x\n", i, extracted80[i^1],dat);
623                  }
624                  else
625                  {
626                     // I don't understand how to decode this byte :-(  - rotation + extra table?
627                     dat = extracted80[i^1];
628                  }
629               }
630               else if (tabnum==0x41) // shogwarr table 41  -- note fjbuster uses table 40, which looks like (almost) the same data but with better encryption...
631               {
632                  // simple shifts...  different direction for each alternating byte..
633                  dat -= table[i&0x3f];
634
635                  if ((i&1)==1) dat = BITSWAP8(dat,0,7,6,5,4,3,2,1);
636                  else dat = BITSWAP8(dat,6,5,4,3,2,1,0,7);
637               }
638               else
639               {
640                  dat -= table[i&0x3f];
641               }
642
643
644               dstram[(dstoffset+i)^1] = dat;
645            }
646         }
647      }
648
649      calc3_dataend = offset+length+1;
650   }
651
652   //printf("data base %04x data end %04x\n", calc3_database, calc3_dataend);
653
654   return length;
655
656}
657
658static UINT8 calc3_decryption_key_byte;
659static UINT8 calc3_unknown;
660static UINT8 calc3_mode;
661static UINT8 calc3_blocksize_offset;
662
663DRIVER_INIT(calc3_scantables)
664{
665   UINT8* rom = memory_region(machine,"cpu1");
666   UINT8 numregions;
667
668   int x;
669
670   calc3_mcu_crc = 0;
671   for (x=0;x<0x20000;x++)
338672   {
673      calc3_mcu_crc+=rom[x];
674   }
675   printf("crc %04x\n",calc3_mcu_crc);
676   numregions = rom[0];
339677
340      case 0x00ff:
678   for (x=0;x<numregions;x++)
679   {
680      UINT8* tmpdstram = malloc(0x2000);
681      int length;
682      memset(tmpdstram, 0x00,0x2000);
683      length = calc3_decompress_table(machine, x, tmpdstram, 0);
684
685      // dump to file
686      if (length)
341687      {
688         FILE *fp;
689         char filename[256];
342690
691         if (calc3_blocksize_offset==3)
692         {
693            sprintf(filename,"data_%s_table_%04x k%02x m%02x u%02x length %04x",
694                  machine->gamedrv->name,
695                  x, calc3_decryption_key_byte, calc3_mode, calc3_unknown, length);
696         }
697         else
698         {
699            sprintf(filename,"data_%s_table_%04x k%02x (use indirect size %02x) m%02x u%02x length %04x",
700               machine->gamedrv->name,
701               x, calc3_decryption_key_byte, calc3_blocksize_offset-3, calc3_mode, calc3_unknown, length);
702         }
343703
344         int param1 = kaneko16_mcu_ram[(0>>1) + 1];
345         int param2 = kaneko16_mcu_ram[(0>>1) + 2];
346         int param3 = kaneko16_mcu_ram[(0>>1) + 3];
347         int param4 = kaneko16_mcu_ram[(0>>1) + 4];
348         int param5 = kaneko16_mcu_ram[(0>>1) + 5];
349         int param6 = kaneko16_mcu_ram[(0>>1) + 6];
350         int param7 = kaneko16_mcu_ram[(0>>1) + 7];
351         int param8 = kaneko16_mcu_ram[(0>>1) + 8];
352         int param9 = kaneko16_mcu_ram[(0>>1) + 9];
704         fp=fopen(filename, "w+b");
705         if (fp)
706         {
707            fwrite(tmpdstram, length, 1, fp);
708            fclose(fp);
709         }
710      }
353711
354         logerror("params %04x %04x %04x %04x %04x %04x %04x %04x %04x\n",
355         param1,param2,param3,param4,param5,param6,param7,param8,param9);
712      free(tmpdstram);
713   }
356714
357         writeaddress = (param6 << 16) | param7;
715   // there is also a 0x1000 block of data at the end.. same on both games, maybe it's related to the decryption tables??
716   // the calc3_dataend points to the data after the last block processed, as we process all the blocks in the above loop, we assume this points
717   // to that extra block of data
358718
719   // dump out the 0x1000 sized block at the end
720   {
721      FILE *fp;
722      char filename[256];
359723
724      sprintf(filename,"data_%s_finalblock",
725      machine->gamedrv->name);
360726
361         // execute the command:
727      fp=fopen(filename, "w+b");
728      if (fp)
729      {
730         fwrite(&rom[calc3_dataend], 0x1000, 1, fp);
731         fclose(fp);
732      }
733   }
734}
362735
363         kaneko16_mcu_ram[param1 / 2] = ~input_port_read(machine, "DSW1");   // DSW
364         kaneko16_mcu_ram[param2 / 2] = 0x0000;// 0xffff;                // ? -1 / anything else (changes coinage..)
736UINT32 calc3_writeaddress;
737UINT16 calc3_dsw_addr;
738UINT16 calc3_eeprom_addr;
739UINT16 calc3_poll_addr;
740UINT16 cakc3_checkumaddress;
365741
366         // param 4?
367         kaneko16_mcu_ram[param5 / 2] = calc3_mcu_crc;            // MCU Rom Checksum!
368         // param 6&7 = address.l
742extern UINT16 calc3_mcu_crc;
743extern UINT16* kaneko16_calc3_fakeram;
744// from brap boys, might be polluted with shogun warriors values tho as was running shogun code at the time
745static UINT16 kaneko16_eeprom_data[0x40] =
746{
747   0x0001, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,   0x0000, 0x0000,
748   0x0000, 0x0003, 0x0002, 0x1020, 0x0002, 0x6010, 0x0101, 0x0101,
749   0x0101, 0x0001,   0x0003, 0x0008, 0x4B41, 0x4E45, 0x4B4F, 0x2020,
750   0x4265, 0x2052, 0x6170, 0x2042, 0x6F79, 0x7300,   0x3030, 0x302E,
751   0x3038, 0x7FFF, 0xFFFF, 0xFFFF,   0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,
752   0xFFFF, 0xFFFF,   0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,
753   0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   0xFFFF, 0xFFFF,
754   0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   0x003B, 0xFFFF, 0xFFFF, 0xFFFF
755};
369756
757static void calc3_mcu_run(running_machine *machine)
758{
759   UINT16 mcu_command;
760   int i;
370761
762   if ( calc3_mcu_status != (1|2|4|8) )   return;
371763
764   //calc3_mcu_status = 0;
372765
766   mcu_command = kaneko16_mcu_ram[calc3_mcu_command_offset/2 + 0];
767
768   if (mcu_command == 0) return;
769
770   logerror("%s : MCU executed command at %04X: %04X\n",
771       cpuexec_describe_context(machine),calc3_mcu_command_offset,mcu_command);
772
773
774   if (mcu_command>0)
775   {
776      /* 0xff is a special 'init' command */
777      if (mcu_command == 0xff)
778      {
373779         // clear old command (handshake to main cpu)
374780         kaneko16_mcu_ram[(calc3_mcu_command_offset>>1)+0] = 0x0000;
375         /*
376            kaneko16_mcu_ram[(calc3_mcu_command_offset>>1)+1] = 0x0000;
377            kaneko16_mcu_ram[(calc3_mcu_command_offset>>1)+2] = 0x0000;
378            kaneko16_mcu_ram[(calc3_mcu_command_offset>>1)+3] = 0x0000;
379            kaneko16_mcu_ram[(calc3_mcu_command_offset>>1)+4] = 0x0000;
380            kaneko16_mcu_ram[(calc3_mcu_command_offset>>1)+5] = 0x0000;
381            kaneko16_mcu_ram[(calc3_mcu_command_offset>>1)+6] = 0x0000;
382            kaneko16_mcu_ram[(calc3_mcu_command_offset>>1)+7] = 0x0000;
383            */
384         calc3_mcu_command_offset = param3;   // where next command will be written?
385781
386782
783         calc3_dsw_addr =           kaneko16_mcu_ram[(0>>1) + 1];
784         calc3_eeprom_addr =        kaneko16_mcu_ram[(0>>1) + 2];
785         calc3_mcu_command_offset = kaneko16_mcu_ram[(0>>1) + 3];
786         calc3_poll_addr =          kaneko16_mcu_ram[(0>>1) + 4];
787         cakc3_checkumaddress =     kaneko16_mcu_ram[(0>>1) + 5];
788         calc3_writeaddress =      (kaneko16_mcu_ram[(0>>1) + 6] << 16) |
789                                   (kaneko16_mcu_ram[(0>>1) + 7]);
790
791         printf("Calc 3 Init Command - %04x DSW addr\n",  calc3_dsw_addr);
792         printf("Calc 3 Init Command - %04x Eeprom Address\n",  calc3_eeprom_addr);
793         printf("Calc 3 Init Command - %04x Future Commands Base\n",  calc3_mcu_command_offset);
794         printf("Calc 3 Init Command - %04x Poll / Busy Address\n",  calc3_poll_addr);
795         printf("Calc 3 Init Command - %04x ROM Checksum Address\n",  cakc3_checkumaddress);
796         printf("Calc 3 Init Command - %08x Data Write Address\n",  calc3_writeaddress);
797
798         kaneko16_mcu_ram[calc3_dsw_addr/2] = ~input_port_read(machine, "DSW1");   // DSW
799         kaneko16_mcu_ram[cakc3_checkumaddress / 2] = calc3_mcu_crc;            // MCU Rom Checksum!
800
801         for (i=0;i<0x40;i++)
802         {
803            kaneko16_mcu_ram[(calc3_eeprom_addr / 2)+i] = kaneko16_eeprom_data[i];//((eepromData[i]&0xff00)>>8) |  ((eepromData[i]&0x00ff)<<8);
804         }
805
387806      }
388      break;
389
390      case 0x0001:
391      case 0x0002:
392      case 0x0003:
393      case 0x0004:
394      case 0x0005:
395      case 0x0006:
396      case 0x0007:
397      // the 'case' seems to be the number of commands in the list
398      // there are parts of the code where i've seen up to '5' specified, and the game uploads 5 transfer commands
399      //
807      /* otherwise the command number is the number of transfer operations to perform */
808      else
400809      {
401810         int num_transfers = mcu_command;
402811         int i;
403812
813         // clear old command (handshake to main cpu)
814         kaneko16_mcu_ram[calc3_mcu_command_offset>>1] = 0x0000;;
815
404816         logerror("Calc3 transfer request, %d transfers\n", num_transfers);
405817
406818         for (i=0;i<num_transfers;i++)
r5338r5339
409821            int param2 = kaneko16_mcu_ram[(calc3_mcu_command_offset>>1) + 2 + (2*i)];
410822            UINT8  commandtabl = (param1&0xff00) >> 8;
411823            UINT16 commandaddr = (param1&0x00ff) | (param2&0xff00);
824            UINT8  commandunk =  (param2&0x00ff); // brap boys sets.. seems to cause further writebasck address displacement??
825
412826            UINT32 fakeoffs;
413827
414            logerror("transfer %d table %02x writeback address %04x\n", i, commandtabl, commandaddr);
828            printf("transfer %d table %02x writeback address %04x unknown %02x\n", i, commandtabl, commandaddr, commandunk);
415829
416            // the data SHOULD be written somewhere to main ram, probably related to the writeaddress set in command 0xff
830            // the data SHOULD be written somewhere to main ram, probably related to the calc3_writeaddress set in command 0xff
417831            // but I'm not sure how, for now write it back to a FAKE region instead
418832            fakeoffs = 0x1e00*commandtabl;
833            fakeoffs+=0xf00000;
419834
420            calc3_decompress_table(machine, commandtabl, (UINT8*)kaneko16_calc3_fakeram, fakeoffs);
835            // HACK HACK HACK, I don't know what commandunk does, but Brap Boys polls a table of addresses and doesn't do anything
836            // more unless they change.  The usual writeback address doesn't touch this table, so I think this unknown value must
837            // cause an additional displacement to cause the writeback address to populate that table.. maybe
838            if (commandunk == 0x30)
839            {
840               commandaddr -= 0x60;
841               calc3_decompress_table(machine, commandtabl, (UINT8*)kaneko16_mcu_ram, (calc3_writeaddress&0xffff)-2);
421842
422            // write back WHERE we wrote the data to the address specified so that the code can jump to it etc.
423            fakeoffs+=0xf00000;
424            fakeoffs+=2;// the first 2 bytes don't seem to be the offset it expects to jump to..
843               printf("writing back address %08x to %08x\n", calc3_writeaddress, commandaddr);
844               kaneko16_mcu_ram[(commandaddr>>1)+0] = (calc3_writeaddress>>16)&0xffff;
845               kaneko16_mcu_ram[(commandaddr>>1)+1] = (calc3_writeaddress&0xffff);
425846
426            printf("writing back fake address %08x to %08x\n", fakeoffs, commandaddr);
427            kaneko16_mcu_ram[(commandaddr>>1)+0] = (fakeoffs>>16)&0xffff;
428            kaneko16_mcu_ram[(commandaddr>>1)+1] = (fakeoffs&0xffff);
847            }
848            else
849            {
850               calc3_decompress_table(machine, commandtabl, (UINT8*)kaneko16_calc3_fakeram, fakeoffs&0xfffff);
429851
852               // write back WHERE we wrote the data to the address specified so that the code can jump to it etc.
853               fakeoffs+=2;// the first 2 bytes don't seem to be the offset it expects to jump to..
854
855               printf("writing back fake address %08x to %08x\n", fakeoffs, commandaddr);
856               kaneko16_mcu_ram[(commandaddr>>1)+0] = (fakeoffs>>16)&0xffff;
857               kaneko16_mcu_ram[(commandaddr>>1)+1] = (fakeoffs&0xffff);
858            }
430859         }
431860
432         // reset 'number of commands' to 0 to indicate processing complete to the main cpu.
433         kaneko16_mcu_ram[calc3_mcu_command_offset>>1] = 0x0000;;
861
434862      }
435      break;
436863   }
437
438864}
439865
440866
src/mame/machine/cps2crpt.c
r5338r5339
770770   { "ddtoda",   { 0xdecac105,0x19710411 }, 0x180000 },   // 0C78 1019 4000  cmpi.w  #$1019,$4000
771771   { "ddtodh",   { 0x19691019,0xe825dde0 }, 0x180000 },   // 0C78 1019 4000  cmpi.w  #$1019,$4000
772772   { "ecofghtr", { 0x931031dc,0xba987654 }, 0x200000 },   // 0838 0003 7345  btst    #3,$7345
773   { "ecofghtu", { 0x931031ed,0xcba98765 }, 0x200000 },   // 0838 0003 7345  btst    #3,$7345
774   { "ecofgtu1", { 0x931031ed,0xcba98765 }, 0x200000 },   // 0838 0003 7345  btst    #3,$7345
773   { "ecofghtru",{ 0x931031ed,0xcba98765 }, 0x200000 },   // 0838 0003 7345  btst    #3,$7345
774   { "ecofghtru1",{ 0x931031ed,0xcba98765 }, 0x200000 },   // 0838 0003 7345  btst    #3,$7345
775775   { "uecology", { 0x931031fe,0xdcba9876 }, 0x200000 },   // 0838 0003 7345  btst    #3,$7345
776   { "ecofghta", { 0x931031ba,0x98765432 }, 0x200000 },   // 0838 0003 7345  btst    #3,$7345
776   { "ecofghtra",{ 0x931031ba,0x98765432 }, 0x200000 },   // 0838 0003 7345  btst    #3,$7345
777777   { "ssf2t",    { 0x944e8302,0x56d3143c }, 0x400000 },   // 0838 0007 2000  btst    #7,$2000
778778   { "ssf2ta",   { 0x94c4d002,0x664a1471 }, 0x400000 },   // 0838 0007 2000  btst    #7,$2000
779779   { "ssf2tu",   { 0x94fa8902,0x4c77143f }, 0x400000 },   // 0838 0007 2000  btst    #7,$2000
r5338r5339
858858   { "ddsoma",   { 0x8719abcd,0xef028345 }, 0x100000 },   // 0C81 1966 0419  cmpi.l  #$19660419,D1
859859   { "ddsomb",   { 0x7149a782,0xf3a5bfce }, 0x100000 },   // 0C81 1966 0419  cmpi.l  #$19660419,D1
860860   { "megaman2", { 0x50501cac,0xed346550 }, 0x100000 },   // 0C80 0164 7101  cmpi.l  #$01647101,D0
861   { "megamn2a", { 0x3f148a2b,0xd6790a15 }, 0x100000 },   // 0C80 0164 7101  cmpi.l  #$01647101,D0
861   { "megaman2a",{ 0x3f148a2b,0xd6790a15 }, 0x100000 },   // 0C80 0164 7101  cmpi.l  #$01647101,D0
862862   { "rckman2j", { 0x319eca73,0x10551270 }, 0x100000 },   // 0C80 0164 7101  cmpi.l  #$01647101,D0
863863   { "qndream",  { 0x5804ea73,0xf66b0798 }, 0x080000 },   // 0C81 1973 0827  cmpi.l  #$19730827,D1
864864   { "sfa2",     { 0xfc4acf9c,0x3bfbe1f9 }, 0x100000 },   // 0C80 3039 9783  cmpi.l  #$30399783,D0
r5338r5339
940940   { "hsf2",     { 0xb8ed3630,0xaae30a3d }, 0x100000 },   // 0838 0007 2000  btst    #7,$2000
941941   { "hsf2j",    { 0x65d82fe0,0xdbb83e47 }, 0x100000 },   // 0838 0007 2000  btst    #7,$2000
942942   { "gigawing", { 0xe52de290,0x1b60d780 }, 0x100000 },   // 0C81 1972 1027  cmpi.l  #$19721027,D1
943   { "gwingj",   { 0x1126196a,0xbef50895 }, 0x100000 },   // 0C81 1972 1027  cmpi.l  #$19721027,D1
944   { "gwinga",   { 0x3506a85a,0x66b1b768 }, 0x100000 },   // 0C81 1972 1027  cmpi.l  #$19721027,D1
945   { "gwingb",   { 0x0fe745b0,0x96ef7f9d }, 0x100000 },   // 0C81 1972 1027  cmpi.l  #$19721027,D1
943   { "gigawingj",{ 0x1126196a,0xbef50895 }, 0x100000 },   // 0C81 1972 1027  cmpi.l  #$19721027,D1
944   { "gigawinga",{ 0x3506a85a,0x66b1b768 }, 0x100000 },   // 0C81 1972 1027  cmpi.l  #$19721027,D1
945   { "gigawingb",{ 0x0fe745b0,0x96ef7f9d }, 0x100000 },   // 0C81 1972 1027  cmpi.l  #$19721027,D1
946946   { "mmatrix",  { 0xac9ebd79,0x410467df }, 0x180000 },   // B6C0 B447 BACF  cmpa.w  D0,A3   cmp.w   D7,D2   cmpa.w  A7,A5
947947   { "mmatrixj", { 0x4df81e95,0x72ed9823 }, 0x180000 },   // B6C0 B447 BACF  cmpa.w  D0,A3   cmp.w   D7,D2   cmpa.w  A7,A5
948948   { "mpang",    { 0x95f741c6,0xe547a21b }, 0x100000 },   // 0C84 347D 89A3  cmpi.l  #$347D89A3,D4
src/mame/machine/pxa255.h
r0r5339
1/**************************************************************************
2 *
3 * Intel PXA255 on-chip peripheral emulation
4 *
5 * Mostly-incomplete implementation by MooglyGuy
6 *
7 **************************************************************************/
8
9
10/*
11  PXA255 DMA controller
12
13  pg. 151 to 182, PXA255 Processor Developers Manual [278693-002].pdf
14
15*/
16
17#define PXA255_DMA_BASE_ADDR   (0x40000000)
18#define PXA255_DCSR0         (PXA255_DMA_BASE_ADDR + 0x00000000)
19#define PXA255_DCSR1         (PXA255_DMA_BASE_ADDR + 0x00000004)
20#define PXA255_DCSR2         (PXA255_DMA_BASE_ADDR + 0x00000008)
21#define PXA255_DCSR3         (PXA255_DMA_BASE_ADDR + 0x0000000c)
22#define PXA255_DCSR4         (PXA255_DMA_BASE_ADDR + 0x00000010)
23#define PXA255_DCSR5         (PXA255_DMA_BASE_ADDR + 0x00000014)
24#define PXA255_DCSR6         (PXA255_DMA_BASE_ADDR + 0x00000018)
25#define PXA255_DCSR7         (PXA255_DMA_BASE_ADDR + 0x0000001c)
26#define PXA255_DCSR8         (PXA255_DMA_BASE_ADDR + 0x00000020)
27#define PXA255_DCSR9         (PXA255_DMA_BASE_ADDR + 0x00000024)
28#define PXA255_DCSR10         (PXA255_DMA_BASE_ADDR + 0x00000028)
29#define PXA255_DCSR11         (PXA255_DMA_BASE_ADDR + 0x0000002c)
30#define PXA255_DCSR12         (PXA255_DMA_BASE_ADDR + 0x00000030)
31#define PXA255_DCSR13         (PXA255_DMA_BASE_ADDR + 0x00000034)
32#define PXA255_DCSR14         (PXA255_DMA_BASE_ADDR + 0x00000038)
33#define PXA255_DCSR15         (PXA255_DMA_BASE_ADDR + 0x0000003c)
34   #define PXA255_DCSR_RUN         (0x80000000)
35   #define PXA255_DCSR_NODESCFETCH   (0x40000000)
36   #define PXA255_DCSR_STOPIRQ      (0x20000000)
37   #define PXA255_DCSR_REQPEND      (0x00000100)
38   #define PXA255_DCSR_STOPSTATE   (0x00000008)
39   #define PXA255_DCSR_ENDINTR      (0x00000004)
40   #define PXA255_DCSR_STARTINTR    (0x00000002)
41   #define PXA255_DCSR_BUSERRINTR   (0x00000001)
42#define PXA255_DINT            (PXA255_DMA_BASE_ADDR + 0x000000f0)
43#define PXA255_DRCMR0         (PXA255_DMA_BASE_ADDR + 0x00000100)
44#define PXA255_DRCMR1         (PXA255_DMA_BASE_ADDR + 0x00000104)
45#define PXA255_DRCMR2         (PXA255_DMA_BASE_ADDR + 0x00000108)
46#define PXA255_DRCMR3         (PXA255_DMA_BASE_ADDR + 0x0000010c)
47#define PXA255_DRCMR4         (PXA255_DMA_BASE_ADDR + 0x00000110)
48#define PXA255_DRCMR5         (PXA255_DMA_BASE_ADDR + 0x00000114)
49#define PXA255_DRCMR6         (PXA255_DMA_BASE_ADDR + 0x00000118)
50#define PXA255_DRCMR7         (PXA255_DMA_BASE_ADDR + 0x0000011c)
51#define PXA255_DRCMR8         (PXA255_DMA_BASE_ADDR + 0x00000120)
52#define PXA255_DRCMR9         (PXA255_DMA_BASE_ADDR + 0x00000124)
53#define PXA255_DRCMR10         (PXA255_DMA_BASE_ADDR + 0x00000128)
54#define PXA255_DRCMR11         (PXA255_DMA_BASE_ADDR + 0x0000012c)
55#define PXA255_DRCMR12         (PXA255_DMA_BASE_ADDR + 0x00000130)
56#define PXA255_DRCMR13         (PXA255_DMA_BASE_ADDR + 0x00000134)
57#define PXA255_DRCMR14         (PXA255_DMA_BASE_ADDR + 0x00000138)
58#define PXA255_DRCMR15         (PXA255_DMA_BASE_ADDR + 0x0000013c)
59#define PXA255_DRCMR16         (PXA255_DMA_BASE_ADDR + 0x00000140)
60#define PXA255_DRCMR17         (PXA255_DMA_BASE_ADDR + 0x00000144)
61#define PXA255_DRCMR18         (PXA255_DMA_BASE_ADDR + 0x00000148)
62#define PXA255_DRCMR19         (PXA255_DMA_BASE_ADDR + 0x0000014c)
63#define PXA255_DRCMR20         (PXA255_DMA_BASE_ADDR + 0x00000150)
64#define PXA255_DRCMR21         (PXA255_DMA_BASE_ADDR + 0x00000154)
65#define PXA255_DRCMR22         (PXA255_DMA_BASE_ADDR + 0x00000158)
66#define PXA255_DRCMR23         (PXA255_DMA_BASE_ADDR + 0x0000015c)
67#define PXA255_DRCMR24         (PXA255_DMA_BASE_ADDR + 0x00000160)
68#define PXA255_DRCMR25         (PXA255_DMA_BASE_ADDR + 0x00000164)
69#define PXA255_DRCMR26         (PXA255_DMA_BASE_ADDR + 0x00000168)
70#define PXA255_DRCMR27         (PXA255_DMA_BASE_ADDR + 0x0000016c)
71#define PXA255_DRCMR28         (PXA255_DMA_BASE_ADDR + 0x00000170)
72#define PXA255_DRCMR29         (PXA255_DMA_BASE_ADDR + 0x00000174)
73#define PXA255_DRCMR30         (PXA255_DMA_BASE_ADDR + 0x00000178)
74#define PXA255_DRCMR31         (PXA255_DMA_BASE_ADDR + 0x0000017c)
75#define PXA255_DRCMR32         (PXA255_DMA_BASE_ADDR + 0x00000180)
76#define PXA255_DRCMR33         (PXA255_DMA_BASE_ADDR + 0x00000184)
77#define PXA255_DRCMR34         (PXA255_DMA_BASE_ADDR + 0x00000188)
78#define PXA255_DRCMR35         (PXA255_DMA_BASE_ADDR + 0x0000018c)
79#define PXA255_DRCMR36         (PXA255_DMA_BASE_ADDR + 0x00000190)
80#define PXA255_DRCMR37         (PXA255_DMA_BASE_ADDR + 0x00000194)
81#define PXA255_DRCMR38         (PXA255_DMA_BASE_ADDR + 0x00000198)
82#define PXA255_DRCMR39         (PXA255_DMA_BASE_ADDR + 0x0000019c)
83#define PXA255_DDADR0         (PXA255_DMA_BASE_ADDR + 0x00000200)
84#define PXA255_DSADR0         (PXA255_DMA_BASE_ADDR + 0x00000204)
85#define PXA255_DTADR0         (PXA255_DMA_BASE_ADDR + 0x00000208)
86#define PXA255_DCMD0         (PXA255_DMA_BASE_ADDR + 0x0000020c)
87#define PXA255_DDADR1         (PXA255_DMA_BASE_ADDR + 0x00000210)
88#define PXA255_DSADR1         (PXA255_DMA_BASE_ADDR + 0x00000214)
89#define PXA255_DTADR1         (PXA255_DMA_BASE_ADDR + 0x00000218)
90#define PXA255_DCMD1         (PXA255_DMA_BASE_ADDR + 0x0000021c)
91#define PXA255_DDADR2         (PXA255_DMA_BASE_ADDR + 0x00000220)
92#define PXA255_DSADR2         (PXA255_DMA_BASE_ADDR + 0x00000224)
93#define PXA255_DTADR2         (PXA255_DMA_BASE_ADDR + 0x00000228)
94#define PXA255_DCMD2         (PXA255_DMA_BASE_ADDR + 0x0000022c)
95#define PXA255_DDADR3         (PXA255_DMA_BASE_ADDR + 0x00000230)
96#define PXA255_DSADR3         (PXA255_DMA_BASE_ADDR + 0x00000234)
97#define PXA255_DTADR3         (PXA255_DMA_BASE_ADDR + 0x00000238)
98#define PXA255_DCMD3         (PXA255_DMA_BASE_ADDR + 0x0000023c)
99#define PXA255_DDADR4         (PXA255_DMA_BASE_ADDR + 0x00000240)
100#define PXA255_DSADR4         (PXA255_DMA_BASE_ADDR + 0x00000244)
101#define PXA255_DTADR4         (PXA255_DMA_BASE_ADDR + 0x00000248)
102#define PXA255_DCMD4         (PXA255_DMA_BASE_ADDR + 0x0000024c)
103#define PXA255_DDADR5         (PXA255_DMA_BASE_ADDR + 0x00000250)
104#define PXA255_DSADR5         (PXA255_DMA_BASE_ADDR + 0x00000254)
105#define PXA255_DTADR5         (PXA255_DMA_BASE_ADDR + 0x00000258)
106#define PXA255_DCMD5         (PXA255_DMA_BASE_ADDR + 0x0000025c)
107#define PXA255_DDADR6         (PXA255_DMA_BASE_ADDR + 0x00000260)
108#define PXA255_DSADR6         (PXA255_DMA_BASE_ADDR + 0x00000264)
109#define PXA255_DTADR6         (PXA255_DMA_BASE_ADDR + 0x00000268)
110#define PXA255_DCMD6         (PXA255_DMA_BASE_ADDR + 0x0000026c)
111#define PXA255_DDADR7         (PXA255_DMA_BASE_ADDR + 0x00000270)
112#define PXA255_DSADR7         (PXA255_DMA_BASE_ADDR + 0x00000274)
113#define PXA255_DTADR7         (PXA255_DMA_BASE_ADDR + 0x00000278)
114#define PXA255_DCMD7         (PXA255_DMA_BASE_ADDR + 0x0000027c)
115#define PXA255_DDADR8         (PXA255_DMA_BASE_ADDR + 0x00000280)
116#define PXA255_DSADR8         (PXA255_DMA_BASE_ADDR + 0x00000284)
117#define PXA255_DTADR8         (PXA255_DMA_BASE_ADDR + 0x00000288)
118#define PXA255_DCMD8         (PXA255_DMA_BASE_ADDR + 0x0000028c)
119#define PXA255_DDADR9         (PXA255_DMA_BASE_ADDR + 0x00000290)
120#define PXA255_DSADR9         (PXA255_DMA_BASE_ADDR + 0x00000294)
121#define PXA255_DTADR9         (PXA255_DMA_BASE_ADDR + 0x00000298)
122#define PXA255_DCMD9         (PXA255_DMA_BASE_ADDR + 0x0000029c)
123#define PXA255_DDADR10         (PXA255_DMA_BASE_ADDR + 0x000002a0)
124#define PXA255_DSADR10         (PXA255_DMA_BASE_ADDR + 0x000002a4)
125#define PXA255_DTADR10         (PXA255_DMA_BASE_ADDR + 0x000002a8)
126#define PXA255_DCMD10         (PXA255_DMA_BASE_ADDR + 0x000002ac)
127#define PXA255_DDADR11         (PXA255_DMA_BASE_ADDR + 0x000002b0)
128#define PXA255_DSADR11         (PXA255_DMA_BASE_ADDR + 0x000002b4)
129#define PXA255_DTADR11         (PXA255_DMA_BASE_ADDR + 0x000002b8)
130#define PXA255_DCMD11         (PXA255_DMA_BASE_ADDR + 0x000002bc)
131#define PXA255_DDADR12         (PXA255_DMA_BASE_ADDR + 0x000002c0)
132#define PXA255_DSADR12         (PXA255_DMA_BASE_ADDR + 0x000002c4)
133#define PXA255_DTADR12         (PXA255_DMA_BASE_ADDR + 0x000002c8)
134#define PXA255_DCMD12         (PXA255_DMA_BASE_ADDR + 0x000002cc)
135#define PXA255_DDADR13         (PXA255_DMA_BASE_ADDR + 0x000002d0)
136#define PXA255_DSADR13         (PXA255_DMA_BASE_ADDR + 0x000002d4)
137#define PXA255_DTADR13         (PXA255_DMA_BASE_ADDR + 0x000002d8)
138#define PXA255_DCMD13         (PXA255_DMA_BASE_ADDR + 0x000002dc)
139#define PXA255_DDADR14         (PXA255_DMA_BASE_ADDR + 0x000002e0)
140#define PXA255_DSADR14         (PXA255_DMA_BASE_ADDR + 0x000002e4)
141#define PXA255_DTADR14         (PXA255_DMA_BASE_ADDR + 0x000002e8)
142#define PXA255_DCMD14         (PXA255_DMA_BASE_ADDR + 0x000002ec)
143#define PXA255_DDADR15         (PXA255_DMA_BASE_ADDR + 0x000002f0)
144   #define PXA255_DDADR_STOP      (0x00000001)
145#define PXA255_DSADR15         (PXA255_DMA_BASE_ADDR + 0x000002f4)
146#define PXA255_DTADR15         (PXA255_DMA_BASE_ADDR + 0x000002f8)
147#define PXA255_DCMD15         (PXA255_DMA_BASE_ADDR + 0x000002fc)
148   #define PXA255_DCMD_INCSRCADDR   (0x80000000)
149   #define PXA255_DCMD_INCTRGADDR   (0x40000000)
150   #define PXA255_DCMD_FLOWSRC      (0x20000000)
151   #define PXA255_DCMD_FLOWTRG      (0x10000000)
152   #define PXA255_DCMD_STARTIRQEN   (0x00400000)
153   #define PXA255_DCMD_ENDIRQEN   (0x00200000)
154   #define PXA255_DCMD_ENDIAN      (0x00040000)
155   #define PXA255_DCMD_SIZE      (0x00030000)
156      #define PXA255_DCMD_SIZE_0   (0x00000000)
157      #define PXA255_DCMD_SIZE_8   (0x00010000)
158      #define PXA255_DCMD_SIZE_16   (0x00020000)
159      #define PXA255_DCMD_SIZE_32   (0x00030000)
160   #define PXA255_DCMD_WIDTH      (0x0000c000)
161      #define PXA255_DCMD_WIDTH_0   (0x00000000)
162      #define PXA255_DCMD_WIDTH_1   (0x00004000)
163      #define PXA255_DCMD_WIDTH_2   (0x00008000)
164      #define PXA255_DCMD_WIDTH_4   (0x0000c000)
165
166typedef struct
167{
168   UINT32 dcsr[16];
169
170   UINT32 pad0[44];
171
172   UINT32 dint;
173
174   UINT32 pad1[3];
175
176   UINT32 drcmr[40];
177
178   UINT32 pad2[24];
179
180   UINT32 ddadr[16];
181   UINT32 dsadr[16];
182   UINT32 dtadr[16];
183   UINT32 dcmd[16];
184
185   emu_timer* timer[16];
186} PXA255_DMA_Regs;
187
188/*
189
190  PXA255 Inter-Integrated-Circuit Sound (I2S) Controller
191
192  pg. 489 to 504, PXA255 Processor Developers Manual [278693-002].pdf
193
194*/
195
196#define PXA255_I2S_BASE_ADDR   (0x40400000)
197#define PXA255_SACR0         (PXA255_I2S_BASE_ADDR + 0x00000000)
198   #define PXA255_SACR0_ENB   (0x00000001)   // Enable I2S function: 0 = Disable, 1 = Enable
199   #define PXA255_SACR0_BCKD   (0x00000004)   // Input/Output direction of BITCLK: 0 = Input, 1 = Output
200   #define PXA255_SACR0_RST   (0x00000008)   // Reset FIFO Logic and all registers: 0 = Not Reset, 1 = Reset is active
201   #define PXA255_SACR0_EFWR   (0x00000010)   // Special-purpose FIFO Write/Read Enable: 0 = Disable, 1 = Enable
202   #define PXA255_SACR0_STRF   (0x00000020)   // Select Transmit or Receive FIFO for EFWR-based special-purpose function: 0 = Xmit FIFO, 1 = Recv FIFO
203   #define PXA255_SACR0_TFTH   (0x00000f00)   // Transmit FIFO interrupt or DMA threshold
204   #define PXA255_SACR0_TFTH_S   (8)
205   #define PXA255_SACR0_RFTH   (0x0000f000)   // Receive FIFO interrupt or DMA threshold
206   #define PXA255_SACR0_RFTH_S   (12)
207#define PXA255_SACR1         (PXA255_I2S_BASE_ADDR + 0x00000004)
208   #define PXA255_SACR1_AMSL   (0x00000001)   // Alternate Mode: 0 = I2S Operation Mode, 1 = MSB-Justified Operation Mode
209   #define PXA255_SACR1_DREC   (0x00000008)   // Disable Recording: 0 = Recording Function is enabled, 1 = Recording Function is disabled
210   #define PXA255_SACR1_DRPL   (0x00000010)   // Disable Replaying: 0 = Replaying Function is enabled, 1 = Recording Function is disabled
211   #define PXA255_SACR1_ENLBF   (0x00000020)   // Enable I2S/MSB Interface Loopback
212#define PXA255_SASR0         (PXA255_I2S_BASE_ADDR + 0x0000000c)
213   #define PXA255_SASR0_TNF   (0x00000001)
214   #define PXA255_SASR0_RNE   (0x00000002)
215   #define PXA255_SASR0_BSY   (0x00000004)
216   #define PXA255_SASR0_TFS   (0x00000008)
217   #define PXA255_SASR0_RFS   (0x00000010)
218   #define PXA255_SASR0_TUR   (0x00000020)
219   #define PXA255_SASR0_ROR   (0x00000040)
220   #define PXA255_SASR0_TFL   (0x00000f00)
221   #define PXA255_SASR0_RFL   (0x0000f000)
222#define PXA255_SAIMR         (PXA255_I2S_BASE_ADDR + 0x00000014)
223   #define PXA255_SAIMR_TFS   (0x00000008)
224   #define PXA255_SAIMR_RFS   (0x00000010)
225   #define PXA255_SAIMR_TUR   (0x00000020)
226   #define PXA255_SAIMR_ROR   (0x00000040)
227#define PXA255_SAICR         (PXA255_I2S_BASE_ADDR + 0x00000018)
228   #define PXA255_SAICR_TUR   (0x00000020)
229   #define PXA255_SAICR_ROR   (0x00000040)
230#define PXA255_SADIV         (PXA255_I2S_BASE_ADDR + 0x00000060)
231#define PXA255_SADR            (PXA255_I2S_BASE_ADDR + 0x00000080)
232
233typedef struct
234{
235   UINT32 sacr0;
236   UINT32 sacr1;
237
238   UINT32 pad0;
239
240   UINT32 sasr0;
241
242   UINT32 pad1;
243
244   UINT32 saimr;
245   UINT32 saicr;
246
247   UINT32 pad2[17];
248
249   UINT32 sadiv;
250
251   UINT32 pad3[6];
252
253   UINT32 sadr;
254} PXA255_I2S_Regs;
255
256/*
257
258  PXA255 OS Timer register
259
260  pg. 138 to 142, PXA255 Processor Developers Manual [278693-002].pdf
261
262*/
263
264#define PXA255_OSTMR_BASE_ADDR   (0x40a00000)
265#define PXA255_OSMR0         (PXA255_OSTMR_BASE_ADDR + 0x00000000)
266#define PXA255_OSMR1         (PXA255_OSTMR_BASE_ADDR + 0x00000004)
267#define PXA255_OSMR2         (PXA255_OSTMR_BASE_ADDR + 0x00000008)
268#define PXA255_OSMR3         (PXA255_OSTMR_BASE_ADDR + 0x0000000c)
269#define PXA255_OSCR            (PXA255_OSTMR_BASE_ADDR + 0x00000010)
270#define PXA255_OSSR            (PXA255_OSTMR_BASE_ADDR + 0x00000014)
271   #define PXA255_OSSR_M0      (0x00000001)
272   #define PXA255_OSSR_M1      (0x00000002)
273   #define PXA255_OSSR_M2      (0x00000004)
274   #define PXA255_OSSR_M3      (0x00000008)
275#define PXA255_OWER            (PXA255_OSTMR_BASE_ADDR + 0x00000018)
276#define PXA255_OIER            (PXA255_OSTMR_BASE_ADDR + 0x0000001c)
277   #define PXA255_OIER_E0      (0x00000001)
278   #define PXA255_OIER_E1      (0x00000002)
279   #define PXA255_OIER_E2      (0x00000004)
280   #define PXA255_OIER_E3      (0x00000008)
281
282typedef struct
283{
284   UINT32 osmr[4];
285   UINT32 oscr;
286   UINT32 ossr;
287   UINT32 ower;
288   UINT32 oier;
289
290   emu_timer* timer[4];
291} PXA255_OSTMR_Regs;
292
293/*
294
295  PXA255 Interrupt registers
296
297  pg. 124 to 132, PXA255 Processor Developers Manual [278693-002].pdf
298
299*/
300
301#define PXA255_INTC_BASE_ADDR   (0x40d00000)
302#define PXA255_ICIP            (PXA255_INTC_BASE_ADDR + 0x00000000)
303#define PXA255_ICMR            (PXA255_INTC_BASE_ADDR + 0x00000004)
304#define PXA255_ICLR            (PXA255_INTC_BASE_ADDR + 0x00000008)
305#define PXA255_ICFP            (PXA255_INTC_BASE_ADDR + 0x0000000c)
306#define PXA255_ICPR            (PXA255_INTC_BASE_ADDR + 0x00000010)
307#define PXA255_ICCR            (PXA255_INTC_BASE_ADDR + 0x00000014)
308
309#define PXA255_INT_HUART      (1 << 7)
310#define PXA255_INT_GPIO0      (1 << 8)
311#define PXA255_INT_GPIO1      (1 << 9)
312#define PXA255_INT_GPIO84_2      (1 << 10)
313#define PXA255_INT_USB         (1 << 11)
314#define PXA255_INT_PMU         (1 << 12)
315#define PXA255_INT_I2S         (1 << 13)
316#define PXA255_INT_AC97         (1 << 14)
317#define PXA255_INT_NETWORK      (1 << 16)
318#define PXA255_INT_LCD         (1 << 17)
319#define PXA255_INT_I2C         (1 << 18)
320#define PXA255_INT_ICP         (1 << 19)
321#define PXA255_INT_STUART      (1 << 20)
322#define PXA255_INT_BTUART      (1 << 21)
323#define PXA255_INT_FFUART      (1 << 22)
324#define PXA255_INT_MMC         (1 << 23)
325#define PXA255_INT_SSP         (1 << 24)
326#define PXA255_INT_DMA         (1 << 25)
327#define PXA255_INT_OSTIMER0      (1 << 26)
328#define PXA255_INT_OSTIMER1      (1 << 27)
329#define PXA255_INT_OSTIMER2      (1 << 28)
330#define PXA255_INT_OSTIMER3      (1 << 29)
331#define PXA255_INT_RTC_HZ      (1 << 30)
332#define PXA255_INT_RTC_ALARM   (1 << 31)
333
334typedef struct
335{
336   UINT32 icip;
337   UINT32 icmr;
338   UINT32 iclr;
339   UINT32 icfp;
340   UINT32 icpr;
341   UINT32 iccr;
342} PXA255_INTC_Regs;
343
344/*
345
346  PXA255 General-Purpose I/O registers
347
348  pg. 105 to 124, PXA255 Processor Developers Manual [278693-002].pdf
349
350*/
351
352#define PXA255_GPIO_BASE_ADDR   (0x40e00000)
353#define PXA255_GPLR0         (PXA255_GPIO_BASE_ADDR + 0x00000000)
354#define PXA255_GPLR1         (PXA255_GPIO_BASE_ADDR + 0x00000004)
355#define PXA255_GPLR2         (PXA255_GPIO_BASE_ADDR + 0x00000008)
356#define PXA255_GPDR0         (PXA255_GPIO_BASE_ADDR + 0x0000000c)
357#define PXA255_GPDR1         (PXA255_GPIO_BASE_ADDR + 0x00000010)
358#define PXA255_GPDR2         (PXA255_GPIO_BASE_ADDR + 0x00000014)
359#define PXA255_GPSR0         (PXA255_GPIO_BASE_ADDR + 0x00000018)
360#define PXA255_GPSR1         (PXA255_GPIO_BASE_ADDR + 0x0000001c)
361#define PXA255_GPSR2         (PXA255_GPIO_BASE_ADDR + 0x00000020)
362#define PXA255_GPCR0         (PXA255_GPIO_BASE_ADDR + 0x00000024)
363#define PXA255_GPCR1         (PXA255_GPIO_BASE_ADDR + 0x00000028)
364#define PXA255_GPCR2         (PXA255_GPIO_BASE_ADDR + 0x0000002c)
365#define PXA255_GRER0         (PXA255_GPIO_BASE_ADDR + 0x00000030)
366#define PXA255_GRER1         (PXA255_GPIO_BASE_ADDR + 0x00000034)
367#define PXA255_GRER2         (PXA255_GPIO_BASE_ADDR + 0x00000038)
368#define PXA255_GFER0         (PXA255_GPIO_BASE_ADDR + 0x0000003c)
369#define PXA255_GFER1         (PXA255_GPIO_BASE_ADDR + 0x00000040)
370#define PXA255_GFER2         (PXA255_GPIO_BASE_ADDR + 0x00000044)
371#define PXA255_GEDR0         (PXA255_GPIO_BASE_ADDR + 0x00000048)
372#define PXA255_GEDR1         (PXA255_GPIO_BASE_ADDR + 0x0000004c)
373#define PXA255_GEDR2         (PXA255_GPIO_BASE_ADDR + 0x00000050)
374#define PXA255_GAFR0_L         (PXA255_GPIO_BASE_ADDR + 0x00000054)
375#define PXA255_GAFR0_U         (PXA255_GPIO_BASE_ADDR + 0x00000058)
376#define PXA255_GAFR1_L         (PXA255_GPIO_BASE_ADDR + 0x0000005c)
377#define PXA255_GAFR1_U         (PXA255_GPIO_BASE_ADDR + 0x00000060)
378#define PXA255_GAFR2_L         (PXA255_GPIO_BASE_ADDR + 0x00000064)
379#define PXA255_GAFR2_U         (PXA255_GPIO_BASE_ADDR + 0x00000068)
380
381typedef struct
382{
383   UINT32 gplr0; // GPIO Pin-Leve
384   UINT32 gplr1;
385   UINT32 gplr2;
386
387   UINT32 gpdr0;
388   UINT32 gpdr1;
389   UINT32 gpdr2;
390
391   UINT32 gpsr0;
392   UINT32 gpsr1;
393   UINT32 gpsr2;
394
395   UINT32 gpcr0;
396   UINT32 gpcr1;
397   UINT32 gpcr2;
398
399   UINT32 grer0;
400   UINT32 grer1;
401   UINT32 grer2;
402
403   UINT32 gfer0;
404   UINT32 gfer1;
405   UINT32 gfer2;
406
407   UINT32 gedr0;
408   UINT32 gedr1;
409   UINT32 gedr2;
410
411   UINT32 gafr0l;
412   UINT32 gafr0u;
413   UINT32 gafr1l;
414   UINT32 gafr1u;
415   UINT32 gafr2l;
416   UINT32 gafr2u;
417} PXA255_GPIO_Regs;
418
419/*
420
421  PXA255 LCD Controller
422
423  pg. 265 to 310, PXA255 Processor Developers Manual [278693-002].pdf
424
425*/
426
427#define PXA255_LCD_BASE_ADDR   (0x44000000)
428#define PXA255_LCCR0         (PXA255_LCD_BASE_ADDR + 0x00000000)
429   #define PXA255_LCCR0_OUM   (0x00200000)
430   #define PXA255_LCCR0_BM      (0x00100000)
431   #define PXA255_LCCR0_PDD   (0x000ff000)
432   #define PXA255_LCCR0_QDM   (0x00000800)
433   #define PXA255_LCCR0_DIS   (0x00000400)
434   #define PXA255_LCCR0_DPD   (0x00000200)
435   #define PXA255_LCCR0_PAS   (0x00000080)
436   #define PXA255_LCCR0_EFM   (0x00000040)
437   #define PXA255_LCCR0_IUM   (0x00000020)
438   #define PXA255_LCCR0_SFM   (0x00000010)
439   #define PXA255_LCCR0_LDM   (0x00000008)
440   #define PXA255_LCCR0_SDS   (0x00000004)
441   #define PXA255_LCCR0_CMS   (0x00000002)
442   #define PXA255_LCCR0_ENB   (0x00000001)
443#define PXA255_LCCR1         (PXA255_LCD_BASE_ADDR + 0x00000004)
444   #define PXA255_LCCR1_PPL   (0x000003ff)
445#define PXA255_LCCR2         (PXA255_LCD_BASE_ADDR + 0x00000008)
446   #define PXA255_LCCR2_LPP   (0x000003ff)
447#define PXA255_LCCR3         (PXA255_LCD_BASE_ADDR + 0x0000000c)
448#define PXA255_FBR0            (PXA255_LCD_BASE_ADDR + 0x00000020)
449   #define PXA255_FBR_BAR      (0x00000001)
450   #define PXA255_FBR_BINT      (0x00000003)
451#define PXA255_FBR1            (PXA255_LCD_BASE_ADDR + 0x00000024)
452#define PXA255_LCSR            (PXA255_LCD_BASE_ADDR + 0x00000038)
453   #define PXA255_LCSR_LDD      (0x00000001)
454   #define PXA255_LCSR_SOF      (0x00000002)
455   #define PXA255_LCSR_BER      (0x00000004)
456   #define PXA255_LCSR_ABC      (0x00000008)
457   #define PXA255_LCSR_IUL      (0x00000010)
458   #define PXA255_LCSR_IUU      (0x00000020)
459   #define PXA255_LCSR_OU      (0x00000040)
460   #define PXA255_LCSR_QD      (0x00000080)
461   #define PXA255_LCSR_EOF      (0x00000100)
462   #define PXA255_LCSR_BS      (0x00000200)
463   #define PXA255_LCSR_SINT   (0x00000400)
464#define PXA255_LIIDR         (PXA255_LCD_BASE_ADDR + 0x0000003c)
465#define PXA255_TRGBR         (PXA255_LCD_BASE_ADDR + 0x00000040)
466#define PXA255_TCR            (PXA255_LCD_BASE_ADDR + 0x00000044)
467#define PXA255_FDADR0         (PXA255_LCD_BASE_ADDR + 0x00000200)
468#define PXA255_FSADR0         (PXA255_LCD_BASE_ADDR + 0x00000204)
469#define PXA255_FIDR0         (PXA255_LCD_BASE_ADDR + 0x00000208)
470#define PXA255_LDCMD0         (PXA255_LCD_BASE_ADDR + 0x0000020c)
471   #define PXA255_LDCMD_EOFINT   (0x00200000)
472   #define PXA255_LDCMD_SOFINT   (0x00400000)
473   #define PXA255_LDCMD_PAL   (0x04000000)
474#define PXA255_FDADR1         (PXA255_LCD_BASE_ADDR + 0x00000210)
475#define PXA255_FSADR1         (PXA255_LCD_BASE_ADDR + 0x00000214)
476#define PXA255_FIDR1         (PXA255_LCD_BASE_ADDR + 0x00000218)
477#define PXA255_LDCMD1         (PXA255_LCD_BASE_ADDR + 0x0000021c)
478
479typedef struct
480{
481   UINT32 fdadr;
482   UINT32 fsadr;
483   UINT32 fidr;
484   UINT32 ldcmd;
485   emu_timer *eof;
486} PXA255_LCD_DMA_Regs;
487
488typedef struct
489{
490   UINT32 lccr0;
491   UINT32 lccr1;
492   UINT32 lccr2;
493   UINT32 lccr3;
494
495   UINT32 pad0[4];
496
497   UINT32 fbr[2];
498
499   UINT32 pad1[4];
500
501   UINT32 lcsr;
502   UINT32 liidr;
503   UINT32 trgbr;
504   UINT32 tcr;
505
506   UINT32 pad2[110];
507
508   PXA255_LCD_DMA_Regs dma[2];
509} PXA255_LCD_Regs;
src/mame/tiny.c
r5338r5339
5151   DRIVER( crash )      /* (c) 1979 Exidy */
5252   DRIVER( ripcord )   /* (c) 1979 Exidy */
5353   DRIVER( starfire )   /* (c) 1979 Exidy */
54   DRIVER( starfira )   /* (c) 1979 Exidy */
54   DRIVER( starfirea )   /* (c) 1979 Exidy */
5555   DRIVER( fireone )   /* (c) 1979 Exidy */
5656   DRIVER( starfir2 )   /* (c) 1979 Exidy */
5757   DRIVER( wrally )   /* (c) 1993 - Ref 930705 */
src/mame/mamedriv.c
r5338r5339
139139
140140   /* "Galaxian hardware" games */
141141   DRIVER( galaxian )   /* (c) Namco */
142   DRIVER( galaxiaj )   /* (c) Namco */
143   DRIVER( galmidw )   /* (c) Midway */
144   DRIVER( galmidwo )   /* (c) Midway */
145   DRIVER( galtaito )   /* (c) Taito */
142   DRIVER( galaxiana )   /* (c) Namco */
143   DRIVER( galaxianm )   /* (c) Midway */
144   DRIVER( galaxianmo )/* (c) Midway */
145   DRIVER( galaxiant )   /* (c) Taito */
146146   DRIVER( superg )   /* hack */
147147   DRIVER( galapx )   /* hack */
148148   DRIVER( moonaln )   /* [Nichibutsu] (Karateco license) or hack */
r5338r5339
153153   DRIVER( zerotime )   /* hack */
154154   DRIVER( starfght )   /* hack */
155155   DRIVER( galaxbsf )   /* hack */
156   DRIVER( kamakazi3 )   /* Video Games (UK) Ltd., hack or bootleg? */
156157   DRIVER( tst_galx )   /* Galaxian Test ROM */
157158   DRIVER( gmgalax )   /* bootleg */
158159   DRIVER( pisces )   /* Subelectro */
r5338r5339
181182   DRIVER( orbitron )   /* (c) 1982 Signatron USA (Arcade Tv Game List - P.160, Left, 22 from top) */
182183   DRIVER( mooncrgx )   /* bootleg */
183184   DRIVER( mooncrst )   /* (c) 1980 Nichibutsu */
184   DRIVER( mooncrsu )   /* (c) 1980 Nichibutsu USA */
185   DRIVER( mooncrsa )   /* (c) 1980 Nichibutsu */
186   DRIVER( mooncrsg )   /* (c) 1980 Gremlin */
185   DRIVER( mooncrstu )   /* (c) 1980 Nichibutsu USA */
186   DRIVER( mooncrsto )   /* (c) 1980 Nichibutsu */
187   DRIVER( mooncrstg )   /* (c) 1980 Gremlin */
187188   DRIVER( smooncrs )   /* Gremlin */
188189   DRIVER( mooncmw )   /* bootleg */
189190   DRIVER( mooncrsb )   /* bootleg */
r5338r5339
194195   DRIVER( fantazia )   /* bootleg */
195196   DRIVER( moonqsr )   /* (c) 1980 Nichibutsu */
196197   DRIVER( mshuttle )   /* (c) 1981 Nichibutsu */
197   DRIVER( mshuttlj )   /* (c) 1981 Nichibutsu */
198   DRIVER( mshutlj2 )   /* (c) 1981 Nichibutsu */
198   DRIVER( mshuttlej )   /* (c) 1981 Nichibutsu */
199   DRIVER( mshuttlej2 )/* (c) 1981 Nichibutsu */
199200   DRIVER( moonal2 )   /* [1980] Nichibutsu */
200201   DRIVER( moonal2b )   /* [1980] Nichibutsu */
201202   DRIVER( supergx )   /* [1980] Nichibutsu */
r5338r5339
205206   DRIVER( spctbird )   /* (c) Fortrek */
206207   DRIVER( skybase )   /* (c) 1982 Omori Electric Co., Ltd. */
207208   DRIVER( checkman )   /* (c) 1982 Zilec-Zenitone */
208   DRIVER( checkmaj )   /* (c) 1982 Jaleco (Zenitone/Zilec in ROM CM4, and the programmer names) */
209   DRIVER( checkmanj )   /* (c) 1982 Jaleco (Zenitone/Zilec in ROM CM4, and the programmer names) */
209210   DRIVER( dingo )      /* (c) 1983 Ashby Computers and Graphics LTD. + Jaleco license */
210211   DRIVER( dingoe )   /* (c) 1983 Ashby Computers and Graphics LTD. + Jaleco license */
211212   DRIVER( blkhole )   /* TDS (Tokyo Denshi Sekkei) */
212213   DRIVER( kingball )   /* (c) 1980 Namco */
213   DRIVER( kingbalj )   /* (c) 1980 Namco */
214   DRIVER( scorpnmc )   /* bootleg */
214   DRIVER( kingballj )   /* (c) 1980 Namco */
215   DRIVER( scorpionmc )/* bootleg */
215216   DRIVER( frogg )      /* bootleg */
216217   DRIVER( 4in1 )      /* (c) 1981 Armenia / Food and Fun */
217218   DRIVER( bagmanmc )   /* bootleg */
r5338r5339
241242
242243   /* "Scramble hardware" (and variations) games */
243244   DRIVER( scramble )   /* GX387 (c) 1981 Konami */
244   DRIVER( scrambls )   /* GX387 (c) 1981 Stern */
245   DRIVER( scrambles )   /* GX387 (c) 1981 Stern */
245246   DRIVER( scramblb )   /* bootleg */
246247   DRIVER( scramb2 )   /* bootleg */
247248   DRIVER( explorer )   /* bootleg */
248249   DRIVER( strfbomb )   /* bootleg */
249250   DRIVER( atlantis )   /* (c) 1981 Comsoft */
250   DRIVER( atlants2 )   /* (c) 1981 Comsoft */
251   DRIVER( atlantis2 )   /* (c) 1981 Comsoft */
251252   DRIVER( theend )   /* (c) 1980 Konami */
252253   DRIVER( theends )   /* (c) 1980 Stern */
253254   DRIVER( omega )      /* bootleg */
r5338r5339
263264   DRIVER( devilfsh )   /* (c) 1982 Artic */
264265   DRIVER( newsin7 )   /* (c) 1983 ATW USA, Inc. */
265266   DRIVER( mrkougar )   /* (c) 1984 ATW */
266   DRIVER( mrkougr2 )   /* (c) 1984 ATW */
267   DRIVER( mrkougar2 )   /* (c) 1984 ATW */
267268   DRIVER( mrkougb )   /* bootleg */
268269   DRIVER( mrkougb2 )   /* bootleg */
269270   DRIVER( hotshock )   /* (c) 1982 E.G. Felaco */
r5338r5339
285286   DRIVER( stratgyx )   /* GX306 (c) 1981 Konami */
286287   DRIVER( stratgys )   /* GX306 (c) 1981 Stern */
287288   DRIVER( armorcar )   /* (c) 1981 Stern */
288   DRIVER( armorca2 )   /* (c) 1981 Stern */
289   DRIVER( armorcar2 )   /* (c) 1981 Stern */
289290   DRIVER( moonwar )   /* (c) 1981 Stern */
290291   DRIVER( moonwara )   /* (c) 1981 Stern */
291292   DRIVER( spdcoin )   /* (c) 1984 Stern */
r5338r5339
300301   DRIVER( aponow )   /* bootleg */
301302   DRIVER( minefld )   /* (c) 1983 Stern */
302303   DRIVER( losttomb )   /* (c) 1982 Stern */
303   DRIVER( losttmbh )   /* (c) 1982 Stern */
304   DRIVER( losttombh )   /* (c) 1982 Stern */
304305   DRIVER( superbon )   /* bootleg */
305306   DRIVER( hustler )   /* GX343 (c) 1981 Konami */
306307   DRIVER( billiard )   /* bootleg */
307308   DRIVER( hustlerb )   /* bootleg */
308309   DRIVER( frogger )   /* GX392 (c) 1981 Konami */
309   DRIVER( frogseg1 )   /* (c) 1981 Sega */
310   DRIVER( frogseg2 )   /* 834-0068 (c) 1981 Sega */
311   DRIVER( froggrmc )   /* 800-3110 (c) 1981 Sega */
310   DRIVER( froggers1 )   /* (c) 1981 Sega */
311   DRIVER( froggers2 )   /* 834-0068 (c) 1981 Sega */
312   DRIVER( froggermc )   /* 800-3110 (c) 1981 Sega */
312313   DRIVER( amidar )   /* GX337 (c) 1981 Konami */
313314   DRIVER( amidaru )   /* GX337 (c) 1982 Konami + Stern license */
314315   DRIVER( amidaro )   /* GX337 (c) 1982 Konami + Olympia license */
r5338r5339
321322   DRIVER( flyboyb )   /* bootleg */
322323   DRIVER( fastfred )   /* 136009   (c) 1982 Atari */
323324   DRIVER( jumpcoas )   /* (c) 1983 Kaneko */
324   DRIVER( jumpcoat )   /* (c) 1983 Taito */
325   DRIVER( jumpcoast )   /* (c) 1983 Taito */
325326   DRIVER( boggy84 )   /* bootleg, original is (c)1983 Taito/Kaneko */
326327   DRIVER( redrobin )   /* (c) 1986 Elettronolo */
327328   DRIVER( imago )      /* (c) 1984 Acom */
328329   DRIVER( imagoa )   /* (c) 1983 Acom */
329330   DRIVER( scorpion )   /* (c) 1982 Zaccaria */
330   DRIVER( scrpiona )   /* (c) 1982 Zaccaria */
331   DRIVER( scrpionb )   /* (c) 1982 Zaccaria */
331   DRIVER( scorpiona )   /* (c) 1982 Zaccaria */
332   DRIVER( scorpionb )   /* (c) 1982 Zaccaria */
332333   DRIVER( ad2083 )   /* (c) 1983 Midcoin */
333334   DRIVER( turpins )   /* (c) 1981 bootleg */
334335
335336   /* "Crazy Climber hardware" games */
336337   DRIVER( cclimber )   /* (c) 1980 Nichibutsu */
337   DRIVER( cclimbrj )   /* (c) 1980 Nichibutsu */
338   DRIVER( cclimberj )   /* (c) 1980 Nichibutsu */
338339   DRIVER( ccboot )   /* bootleg */
339340   DRIVER( ccboot2 )   /* bootleg */
340341   DRIVER( ckong )      /* (c) 1981 Falcon */
r5338r5339
372373   DRIVER( sectrzon )   /* (c) 1984 + Alice */
373374   DRIVER( firebatl )   /* (c) 1984 Taito */
374375   DRIVER( clshroad )   /* (c) 1986 Woodplace Inc. */
375   DRIVER( clshrdst )   /* (c) 1986 Status Games */
376   DRIVER( clshroads )   /* (c) 1986 Status Games */
376377   DRIVER( tubep )      /* (c) 1984 + Fujitek */
377378   DRIVER( tubepb )   /* (c) 1984 + bootleg */
378379   DRIVER( rjammer )   /* (c) 1984 + Alice */
r5338r5339
381382   DRIVER( cop01a )   /* (c) 1985 */
382383   DRIVER( mightguy )   /* (c) 1986 */
383384   DRIVER( terracre )   /* (c) 1985 */
384   DRIVER( terracrb )   /* (c) 1985 */
385   DRIVER( terracra )   /* (c) 1985 */
385   DRIVER( terracrea )   /* (c) 1985 */
386   DRIVER( terracren )   /* (c) 1985 */
386387   DRIVER( amazon )   /* (c) 1986 */
387388   DRIVER( amatelas )   /* (c) 1986 */
388389   DRIVER( horekid )   /* (c) 1987 */
r5338r5339
406407   DRIVER( kodure )   /* (c) 1987 (Japan) */
407408   DRIVER( armedf )   /* (c) 1988 */
408409   DRIVER( cclimbr2 )   /* (c) 1988 (Japan) */
409   DRIVER( cclmbr2a )   /* (c) 1988 (Japan) */
410   DRIVER( cclimbr2a )   /* (c) 1988 (Japan) */
410411   DRIVER( skyrobo )   /* (c) 1989 */
411412   DRIVER( bigfghtr )   /* (c) 1989 */
412413
r5338r5339
583584   DRIVER( capitol )   /* bootleg? */
584585   DRIVER( survival )   /* (c) 1982 Rock-ola */
585586   DRIVER( naughtyb )   /* (c) 1982 Jaleco */
586   DRIVER( naughtya )   /* bootleg */
587   DRIVER( naughtyc )   /* (c) 1982 Jaleco + Cinematronics */
587   DRIVER( naughtyba )   /* bootleg */
588   DRIVER( naughtybc )   /* (c) 1982 Jaleco + Cinematronics */
588589   DRIVER( popflame )   /* (c) 1982 Jaleco */
589   DRIVER( popflama )   /* (c) 1982 Jaleco */
590   DRIVER( popflamb )   /* (c) 1982 Jaleco */
591   DRIVER( popflamn )   /* (c) 1982 Jaleco */
590   DRIVER( popflamea )   /* (c) 1982 Jaleco */
591   DRIVER( popflameb )   /* (c) 1982 Jaleco */
592   DRIVER( popflamen )   /* (c) 1982 Jaleco */
592593   DRIVER( trvmstr )   /* (c) 1985 Enerdyne Technologies Inc. */
593594   DRIVER( trvmstra )   /* (c) 1985 Enerdyne Technologies Inc. */
594595   DRIVER( trvmstrb )   /* (c) 1985 Enerdyne Technologies Inc. */
r5338r5339
609610   DRIVER( sos )      /* [1980] Namco */
610611   DRIVER( tankbatt )   /* (c) 1980 Namco */
611612   DRIVER( warpwarp )   /* (c) 1981 Namco */
612   DRIVER( warpwarr )   /* (c) 1981 Rock-ola - the high score table says "NAMCO" */
613   DRIVER( warpwar2 )   /* (c) 1981 Rock-ola - the high score table says "NAMCO" */
613   DRIVER( warpwarpr )   /* (c) 1981 [Namco] (Rock-ola license) */
614   DRIVER( warpwarpr2 )/* (c) 1981 [Namco] (Rock-ola license) */
614615   DRIVER( rallyx )   /* (c) 1980 Namco */
615616   DRIVER( rallyxm )   /* (c) 1980 Midway */
616617   DRIVER( nrallyx )   /* (c) 1981 Namco */
617618   DRIVER( jungler )   /* GX327 (c) 1981 Konami */
618619   DRIVER( junglers )   /* GX327 (c) 1981 Stern */
619620   DRIVER( tactcian )   /* GX335 (c) 1982 Sega */
620   DRIVER( tactcan2 )   /* GX335 (c) 1981 Sega */
621   DRIVER( tactcian2 )   /* GX335 (c) 1981 Sega */
621622   DRIVER( locomotn )   /* GX359 (c) 1982 Konami + Centuri license */
622623   DRIVER( gutangtn )   /* GX359 (c) 1982 Konami + Sega license */
623624   DRIVER( cottong )   /* bootleg */
r5338r5339
651652   DRIVER( sxevious )   /* (c) 1984 */
652653   DRIVER( sxeviousj )   /* (c) 1984 */
653654   DRIVER( superpac )   /* (c) 1982 */
654   DRIVER( superpcm )   /* (c) 1982 Midway */
655   DRIVER( superpacm )   /* (c) 1982 Midway */
655656   DRIVER( pacnpal )   /* (c) 1983 */
656657   DRIVER( pacnpal2 )   /* (c) 1983 */
657658   DRIVER( pacnchmp )   /* (c) 1983 */
r5338r5339
661662   DRIVER( digdug2 )   /* (c) 1985 */
662663   DRIVER( digdug2o )   /* (c) 1985 */
663664   DRIVER( todruaga )   /* (c) 1984 */
664   DRIVER( todruago )   /* (c) 1984 */
665   DRIVER( todruagao )   /* (c) 1984 */
665666   DRIVER( motos )      /* (c) 1985 */
666667   DRIVER( grobda )   /* (c) 1984 */
667668   DRIVER( grobda2 )   /* (c) 1984 */
r5338r5339
683684   DRIVER( topracra )   /* bootleg */
684685   DRIVER( topracrb )   /* bootleg */
685686   DRIVER( polepos2 )   /* (c) 1983 */
686   DRIVER( poleps2a )   /* 136014   (c) 1983 + Atari license */
687   DRIVER( poleps2b )   /* bootleg */
687   DRIVER( polepos2a )   /* 136014   (c) 1983 + Atari license */
688   DRIVER( polepos2b )   /* bootleg */
688689   /* no custom I/O in the following, HD63701 (or compatible) microcontroller instead */
689690   DRIVER( pacland )   /* (c) 1984 */
690691   DRIVER( pacland2 )   /* (c) 1984 */
r5338r5339
698699   DRIVER( aliensec )   /* (c) 1985 */
699700   DRIVER( baraduke )   /* (c) 1985 */
700701   DRIVER( metrocrs )   /* (c) 1985 */
701   DRIVER( metrocra )   /* (c) 1985 */
702   DRIVER( metrocrsa )   /* (c) 1985 */
702703
703704   /* Namco System 86 games */
704705   DRIVER( hopmappy )   /* (c) 1986 */
705706   DRIVER( skykiddx )   /* (c) 1986 */
706   DRIVER( skykiddo )   /* (c) 1986 */
707   DRIVER( skykiddxo )   /* (c) 1986 */
707708   DRIVER( roishtar )   /* (c) 1986 */
708709   DRIVER( genpeitd )   /* (c) 1986 */
709710   DRIVER( rthunder )   /* (c) 1986 new version */
710   DRIVER( rthundro )   /* (c) 1986 old version */
711   DRIVER( rthundero )   /* (c) 1986 old version */
711712   DRIVER( wndrmomo )   /* (c) 1987 */
712713
713714   /* Thunder Ceptor HW */
r5338r5339
719720   /* Namco System 1 games */
720721   DRIVER( shadowld )   /* (c) 1987 */
721722   DRIVER( youkaidk )   /* (c) 1987 (Japan new version) */
722   DRIVER( yokaidko )   /* (c) 1987 (Japan old version) */
723   DRIVER( youkaidko )   /* (c) 1987 (Japan old version) */
723724   DRIVER( dspirit )   /* (c) 1987 (Japan new version) */
724725   DRIVER( dspirito )   /* (c) 1987 (Japan old version) */
725726   DRIVER( dspirita )   /* (c) 1987 (Atari license) */
726727   DRIVER( blazer )   /* (c) 1987 (Japan) */
727728   DRIVER( quester )   /* (c) 1987 (Japan) */
728729   DRIVER( pacmania )   /* (c) 1987 */
729   DRIVER( pacmanij )   /* (c) 1987 (Japan) */
730   DRIVER( pacmaniaj )   /* (c) 1987 (Japan) */
730731   DRIVER( galaga88 )   /* (c) 1987 */
731   DRIVER( galag88j )   /* (c) 1987 (Japan) */
732   DRIVER( galaga88j )   /* (c) 1987 (Japan) */
732733   DRIVER( ws )      /* (c) 1988 (Japan) */
733734   DRIVER( berabohm )   /* (c) 1988 (Japan) */
734   DRIVER( beraboho )   /* (c) 1988 (Japan) */
735   DRIVER( berabohmo )   /* (c) 1988 (Japan) */
735736            /* 1988 Alice in Wonderland (English version of Marchen maze) */
736737   DRIVER( mmaze )      /* (c) 1988 (Japan) */
737738   DRIVER( bakutotu )   /* (c) 1988 (Japan) */
738739   DRIVER( wldcourt )   /* (c) 1988 (Japan) */
739740   DRIVER( splatter )   /* (c) 1988 (World) */
740   DRIVER( splatteo )   /* (c) 1988 (World) */
741   DRIVER( splattej )   /* (c) 1988 (Japan) */
741   DRIVER( splattero )   /* (c) 1988 (World) */
742   DRIVER( splatterj )   /* (c) 1988 (Japan) */
742743   DRIVER( faceoff )   /* (c) 1988 (Japan) */
743744   DRIVER( rompers )   /* (c) 1989 (Japan) */
744745   DRIVER( romperso )   /* (c) 1989 (Japan) */
r5338r5339
751752   DRIVER( soukobdx )   /* (c) 1990 (Japan) */
752753   DRIVER( puzlclub )   /* (c) 1990 (Japan) */
753754   DRIVER( tankfrce )   /* (c) 1991 (US, 2 Player) */
754   DRIVER( tankfrc4 )   /* (c) 1991 (US, 4 Player) */
755   DRIVER( tankfrcj )   /* (c) 1991 (Japan) */
755   DRIVER( tankfrce4 )   /* (c) 1991 (US, 4 Player) */
756   DRIVER( tankfrcej )   /* (c) 1991 (Japan) */
756757
757758   /* Namco System 2 games */
758759   DRIVER( finallap )   /* 87.12 Final Lap */
759   DRIVER( finalapd )   /* 87.12 Final Lap */
760   DRIVER( finalapc )   /* 87.12 Final Lap */
761   DRIVER( finlapjc )   /* 87.12 Final Lap */
762   DRIVER( finlapjb )   /* 87.12 Final Lap */
760   DRIVER( finallapd )   /* 87.12 Final Lap */
761   DRIVER( finallapc )   /* 87.12 Final Lap */
762   DRIVER( finallapjc )/* 87.12 Final Lap */
763   DRIVER( finallapjb )/* 87.12 Final Lap */
763764   DRIVER( assault )   /* (c) 1988 */
764765   DRIVER( assaultj )   /* (c) 1988 (Japan) */
765766   DRIVER( assaultp )   /* (c) 1988 (Japan) */
766767   DRIVER( metlhawk )   /* (c) 1988 */
767   DRIVER( metlhwkj )   /* (c) 1988 */
768   DRIVER( metlhawkj )   /* (c) 1988 */
768769   DRIVER( ordyne )   /* (c) 1988 */
769770   DRIVER( ordynej )   /* (c) 1988 */
770771   DRIVER( mirninja )   /* (c) 1988 (Japan) */
r5338r5339
774775   DRIVER( valkyrie )   /* (c) 1989 (Japan) */
775776   DRIVER( finehour )   /* (c) 1989 (Japan) */
776777   DRIVER( burnforc )   /* (c) 1989 (Japan) */
777   DRIVER( burnfrco )   /* (c) 1989 (Japan) */
778   DRIVER( burnforco )   /* (c) 1989 (Japan) */
778779   DRIVER( marvland )   /* (c) 1989 (US) */
779   DRIVER( marvlanj )   /* (c) 1989 (Japan) */
780   DRIVER( marvlandj )   /* (c) 1989 (Japan) */
780781   DRIVER( kyukaidk )   /* (c) 1990 (Japan) */
781   DRIVER( kyukaido )   /* (c) 1990 (Japan) */
782   DRIVER( kyukaidko )   /* (c) 1990 (Japan) */
782783   DRIVER( dsaber )   /* (c) 1990 */
783784   DRIVER( dsaberj )   /* (c) 1990 (Japan) */
784785   DRIVER( finalap2 )   /* 90.8  Final Lap 2 */
785   DRIVER( finalp2j )   /* 90.8  Final Lap 2 (Japan) */
786   DRIVER( finalap2j )   /* 90.8  Final Lap 2 (Japan) */
786787   DRIVER( gollygho )   /* 91.7  Golly Ghost */
787788   DRIVER( rthun2 )   /* (c) 1990 */
788789   DRIVER( rthun2j )   /* (c) 1990 (Japan) */
789790   DRIVER( sgunner )   /* (c) 1990 */
790791   DRIVER( sgunnerj )   /* (c) 1990 */
791792   DRIVER( sgunner2 )   /* (c) 1991 (US) */
792   DRIVER( sgunnr2j )   /* (c) 1991 (Japan) */
793   DRIVER( sgunner2j )   /* (c) 1991 (Japan) */
793794   DRIVER( cosmogng )   /* (c) 1991 (US) */
794   DRIVER( cosmognj )   /* (c) 1991 (Japan) */
795   DRIVER( cosmogngj )   /* (c) 1991 (Japan) */
795796   DRIVER( bubbletr )   /* (c) 1992 */
796797   DRIVER( finalap3 )   /* 92.9  Final Lap 3 */
797   DRIVER( finalp3j )   /* 92.9  Final Lap 3 */
798   DRIVER( finalap3j )   /* 92.9  Final Lap 3 */
798799   DRIVER( luckywld )   /* (c) 1992 */
799   DRIVER( lckywldj )   /* (c) 1992 */
800   DRIVER( luckywldj )   /* (c) 1992 */
800801   DRIVER( suzuka8h )   /* (c) 1992 (World) */
801   DRIVER( suzuk8hj )   /* (c) 1992 (Japan) */
802   DRIVER( suzuka8hj )   /* (c) 1992 (Japan) */
802803   DRIVER( sws )      /* (c) 1992 (Japan) */
803804   DRIVER( sws92 )      /* (c) 1992 (Japan) */
804805   DRIVER( sws92g )   /* (c) 1992 (Japan) */
r5338r5339
808809   /* Namco FL games */
809810   DRIVER( speedrcr )   /* (c) 1995 */
810811   DRIVER( finalapr )   /* (c) 1995 */
811   DRIVER( finalapb )   /* (c) 1995 */
812   DRIVER( finalapo )   /* (c) 1995 */
812   DRIVER( finalaprb )   /* (c) 1995 */
813   DRIVER( finalapro )   /* (c) 1995 */
813814
814815   /* Namco NA-1 / NA-2 System games */
815816   DRIVER( bkrtmaq )   /* (c) 1992 (Japan) */
816817   DRIVER( cgangpzl )   /* (c) 1992 (US) */
817   DRIVER( cgangpzj )   /* (c) 1992 (Japan) */
818   DRIVER( cgangpzlj )   /* (c) 1992 (Japan) */
818819   DRIVER( exvania )   /* (c) 1992 (Japan) */
819820   DRIVER( fghtatck )   /* (c) 1992 (US) */
820821   DRIVER( fa )      /* (c) 1992 (Japan) */
821822   DRIVER( knckhead )   /* (c) 1992 (World) */
822   DRIVER( knckhedj )   /* (c) 1992 (Japan) */
823   DRIVER( knckheadj )   /* (c) 1992 (Japan) */
823824   DRIVER( swcourt )   /* (c) 1992 (Japan) */
824825   DRIVER( swcourtj )   /* (c) 1992 (Japan) */
825826   DRIVER( emeralda )   /* (c) 1993 (Japan) */
826   DRIVER( emeraldj )   /* (c) 1993 (Japan) */
827   DRIVER( emerldja )   /* (c) 1993 (Japan) */
827   DRIVER( emeraldaj )   /* (c) 1993 (Japan) */
828   DRIVER( emeraldaja )/* (c) 1993 (Japan) */
828829   DRIVER( numanath )   /* (c) 1993 (World) */
829   DRIVER( numanatj )   /* (c) 1993 (Japan) */
830   DRIVER( numanathj )   /* (c) 1993 (Japan) */
830831   DRIVER( quiztou )   /* (c) 1993 (Japan) */
831832   DRIVER( tinklpit )   /* (c) 1993 (Japan) */
832833   DRIVER( xday2 )      /* (c) 1995 (Japan) */
833834
834835   /* Namco NB-1 / NB-2 System games */
835836   DRIVER( nebulray )   /* (c) 1994 (World) */
836   DRIVER( nebulryj )   /* (c) 1994 (Japan) */
837   DRIVER( nebulrayj )   /* (c) 1994 (Japan) */
837838   DRIVER( ptblank )   /* (c) 1994 */
838839   DRIVER( gunbulet )   /* (c) 1994 (Japan) */
839840   DRIVER( gslugrsj )   /* (c) 1993 (Japan) */
r5338r5339
844845   DRIVER( sws97 )      /* (c) 1997 (Japan) */
845846   DRIVER( vshoot )   /* (c) 1994 */
846847   DRIVER( outfxies )   /* (c) 1994 */
847   DRIVER( outfxesj )   /* (c) 1994 (Japan) */
848   DRIVER( outfxiesj )   /* (c) 1994 (Japan) */
848849   DRIVER( machbrkr )   /* (c) 1995 (Japan) */
849850
850851   /* Namco ND-1 games */
r5338r5339
872873
873874   /* Namco System 22 games */
874875   DRIVER( ridgerac )   /* (c) 1993 */
875   DRIVER( ridgerab )   /* (c) 1993 */
876   DRIVER( ridgeraj )   /* (c) 1993 */
876   DRIVER( ridgeracb )   /* (c) 1993 */
877   DRIVER( ridgeracj )   /* (c) 1993 */
877878   DRIVER( acedrvrw )   /* (c) 1994 */
878879   DRIVER( alpinerd )   /* (c) 1994 */
879880   DRIVER( alpinerc )   /* (c) 1994 */
880881   DRIVER( ridgera2 )   /* (c) 1994 */
881   DRIVER( ridger2a )   /* (c) 1994 */
882   DRIVER( ridger2b )   /* (c) 1994 */
882   DRIVER( ridgera2j )   /* (c) 1994 */
883   DRIVER( ridgera2ja )/* (c) 1994 */
883884   DRIVER( raveracw )   /* (c) 1995 */
884885   DRIVER( raveracj )   /* (c) 1995 */
885   DRIVER( raveraja )   /* (c) 1995 */
886   DRIVER( raveracja )   /* (c) 1995 */
886887   DRIVER( airco22b )   /* (c) 1995 */
887888   DRIVER( alpinr2b )   /* (c) 1995 */
888889   DRIVER( alpinr2a )   /* (c) 1995 */
889890   DRIVER( cybrcomm )   /* (c) 1995 */
890891   DRIVER( cybrcycc )   /* (c) 1995 */
891892   DRIVER( timecris )   /* (c) 1995 */
892   DRIVER( timecrsa )   /* (c) 1995 */
893   DRIVER( timecrisa )   /* (c) 1995 */
893894   DRIVER( victlapw )   /* (c) 1996 */
894895   DRIVER( alpinesa )   /* (c) 1996 */
895896   DRIVER( propcycl )   /* (c) 1996 */
r5338r5339
900901   DRIVER( rapidrvr )   /* (c) 1997 */
901902   DRIVER( motoxgo )   /* (c) 1997 */
902903   DRIVER( timecrs2 )   /* (c) 1997 */
903   DRIVER( timcrs2b )   /* (c) 1997 */
904   DRIVER( timecrs2b )   /* (c) 1997 */
904905   DRIVER( panicprk )   /* (c) 1998 */
905906   DRIVER( 500gp )      /* (c) 1999 */
906907   DRIVER( finfurl2 )   /* (c) 1999 */
907   DRIVER( finfrl2j )   /* (c) 1999 */
908   DRIVER( finfurl2j )   /* (c) 1999 */
908909
909910   /* Misc Namco games */
910911   DRIVER( 20pacgal )   /* (c) 2000 Ver 1.04 */
911   DRIVER( 20pacgaa )   /* (c) 2000 Ver 1.01 */
912   DRIVER( 20pacgala )   /* (c) 2000 Ver 1.01 */
912913   DRIVER( turrett )   /* (c) 2001 licensed from Dell Electronics */
913914
914915   /* Universal games */
r5338r5339
929930   DRIVER( cheekyms )   /* 8004 (c) [1980?] */
930931   DRIVER( zerohour )   /* 8011 (c) Universal */
931932   DRIVER( redclash )   /* (c) 1981 Tehkan */
932   DRIVER( redclsha )   /* (c) 1981 Tehkan */
933   DRIVER( redclask )   /* (c) Kaneko (bootleg?) */
933   DRIVER( redclasha )   /* (c) 1981 Tehkan */
934   DRIVER( redclashk )   /* (c) Kaneko (bootleg?) */
934935   DRIVER( cavenger )   /* 8106 (c) 1981 */
935936   DRIVER( ladybug )   /* 8110 (c) 1981 */
936937   DRIVER( ladybugb )   /* bootleg */
r5338r5339
947948   DRIVER( mrdu )      /* bootleg */
948949   DRIVER( yankeedo )   /* bootleg */
949950   DRIVER( docastle )   /* 8302 (c) 1983 */
950   DRIVER( docastl2 )   /* 8302 (c) 1983 */
951   DRIVER( docastlo )   /* 8302 (c) 1983 */
951   DRIVER( docastle2 )   /* 8302 (c) 1983 */
952   DRIVER( docastleo )   /* 8302 (c) 1983 */
952953   DRIVER( douni )      /* 8302 (c) 1983 */
953954   DRIVER( dorunrun )   /* ???? (c) 1984 */
954   DRIVER( dorunru2 )   /* ???? (c) 1984 */
955   DRIVER( dorunruc )   /* ???? (c) 1984 */
956   DRIVER( dorunrca )   /* ???? (c) 1984 */
955   DRIVER( dorunrun2 )   /* ???? (c) 1984 */
956   DRIVER( dorunrunc )   /* ???? (c) 1984 */
957   DRIVER( dorunrunca )/* ???? (c) 1984 */
957958   DRIVER( spiero )   /* ???? (c) 1987 */
958959   DRIVER( dowild )   /* ???? (c) 1984 */
959960   DRIVER( jjack )      /* ???? (c) 1984 */
r5338r5339
965966
966967   /* Nintendo games */
967968   DRIVER( spacefev )   /* (c) 1979 Nintendo */
968   DRIVER( spacefva )   /* (c) 1979 Nintendo */
969   DRIVER( spacefeva )   /* (c) 1979 Nintendo */
969970   DRIVER( highsplt )   /* (c) 1979 Nintendo */
970   DRIVER( highspla )   /* (c) 1979 Nintendo */
971   DRIVER( highsplta )   /* (c) 1979 Nintendo */
971972   DRIVER( spacelnc )   /* (c) 1979 Nintendo */
972973   DRIVER( sheriff )   /* (c) 1979 Nintendo */
973974   DRIVER( bandido )   /* (c) 1980 Exidy */
974975   DRIVER( helifire )   /* (c) 1980 Nintendo */
975   DRIVER( helifira )   /* (c) 1980 Nintendo */
976   DRIVER( helifirea )   /* (c) 1980 Nintendo */
976977   DRIVER( radarscp )   /* (c) 1980 Nintendo */
977   DRIVER( radarsc1 )   /* (c) 1980 Nintendo */
978   DRIVER( radarscp1 )   /* (c) 1980 Nintendo */
978979   DRIVER( dkong )      /* (c) 1981 Nintendo of America */
979980   DRIVER( dkongo )   /* (c) 1981 Nintendo */
980   DRIVER( dkongjp )   /* (c) 1981 Nintendo */
981   DRIVER( dkongj )   /* (c) 1981 Nintendo */
981982   DRIVER( dkongjo )   /* (c) 1981 Nintendo */
982983   DRIVER( dkongjo1 )   /* (c) 1981 Nintendo */
983984   DRIVER( dkongf )   /* hack from Jeff's Romhack */
984985   DRIVER( dkongjr )   /* (c) 1982 Nintendo of America */
985986   DRIVER( dkongjrj )   /* (c) 1982 Nintendo */
986   DRIVER( dkngjnrj )   /* (c) 1982 Nintendo */
987   DRIVER( dkongjnrj )   /* (c) 1982 Nintendo */
987988   DRIVER( dkongjrb )   /* bootleg */
988989   DRIVER( jrking )   /* bootleg */
989990   DRIVER( dkongjre )   /* (c) 1982 Nintendo of America */
r5338r5339
9991000   DRIVER( spclforc )   /* (c) 1985 Senko Industries (Magic Eletronics Inc. licence) */
10001001   DRIVER( spcfrcii )   /* (c) 1985 Senko Industries (Magic Eletronics Inc. licence) */
10011002   DRIVER( 8ballact )   /* (c) 1984 Seatongrove Ltd (Magic Eletronics USA licence) */
1002   DRIVER( 8ballat2 )   /* (c) 1984 Seatongrove Ltd (Magic Eletronics USA licence) */
1003   DRIVER( 8ballact2 )   /* (c) 1984 Seatongrove Ltd (Magic Eletronics USA licence) */
10031004   DRIVER( shootgal )   /* (c) 1984 Seatongrove Ltd (Zaccaria licence) */
10041005   DRIVER( drakton )   /* (c) 1984 Epos Corporation */
10051006   DRIVER( drktnjr )   /* (c) 1984 Epos Corporation */
r5338r5339
10171018   DRIVER( punchout )   /* (c) 1984 */
10181019   DRIVER( punchita )   /* bootleg */
10191020   DRIVER( spnchout )   /* (c) 1984 */
1020   DRIVER( spnchotj )   /* (c) 1984 (Japan) */
1021   DRIVER( spnchoutj )   /* (c) 1984 (Japan) */
10211022   DRIVER( armwrest )   /* (c) 1985 */
10221023
10231024   /* Nintendo Playchoice 10 games */
r5338r5339
10841085   DRIVER( drmario )   /* (c) 1990 Nintendo */
10851086   DRIVER( duckhunt )   /* (c) 1985 Nintendo */
10861087   DRIVER( excitebk )   /* (c) 1984 Nintendo */
1087   DRIVER( excitbkj )   /* (c) 1984 Nintendo */
1088   DRIVER( excitebkj )   /* (c) 1984 Nintendo */
10881089   DRIVER( goonies )   /* (c) 1986 Konami */
10891090   DRIVER( hogalley )   /* (c) 1985 Nintendo */
10901091   DRIVER( iceclimb )   /* (c) 1984 Nintendo */
1091   DRIVER( iceclmbj )   /* (c) 1984 Nintendo */
1092   DRIVER( iceclimbj )   /* (c) 1984 Nintendo */
10921093   DRIVER( ladygolf )   /* (c) 1984 Nintendo */
10931094   DRIVER( machridr )   /* (c) 1985 Nintendo */
1094   DRIVER( machridj )   /* (c) 1985 Nintendo */
1095   DRIVER( machridrj )   /* (c) 1985 Nintendo */
10951096   DRIVER( rbibb )      /* (c) 1987 Namco */
10961097   DRIVER( rbibba )   /* (c) 1987 Namco */
10971098   DRIVER( suprmrio )   /* (c) 1986 Nintendo */
1098   DRIVER( suprmria )   /* (c) 1986 Nintendo */
1099   DRIVER( suprmrioa )   /* (c) 1986 Nintendo */
10991100   DRIVER( skatekds )   /* (c) 1988 (hack) */
11001101   DRIVER( vsskykid )   /* (c) 1986 Namco */
11011102   DRIVER( tkoboxng )   /* (c) 1987 Data East */
11021103   DRIVER( smgolf )   /* (c) 1984 Nintendo */
11031104   DRIVER( smgolfj )   /* (c) 1984 Nintendo */
11041105   DRIVER( vspinbal )   /* (c) 1984 Nintendo */
1105   DRIVER( vspinblj )   /* (c) 1984 Nintendo */
1106   DRIVER( vspinbalj )   /* (c) 1984 Nintendo */
11061107   DRIVER( vsslalom )   /* (c) 1986 Nintendo */
11071108   DRIVER( vssoccer )   /* (c) 1985 Nintendo */
11081109   DRIVER( vsgradus )   /* (c) 1986 Konami */
r5338r5339
11131114   DRIVER( topgun )   /* (c) 1987 Konami */
11141115   DRIVER( bnglngby )   /* (c) 1985 Nintendo / Broderbund Software Inc. */
11151116   DRIVER( vstennis )   /* (c) 1984 Nintendo */
1116   DRIVER( vstennij )   /* (c) 1984 Nintendo */
1117   DRIVER( vstennisj )   /* (c) 1984 Nintendo */
11171118   DRIVER( wrecking )   /* (c) 1984 Nintendo */
11181119   DRIVER( balonfgt )   /* (c) 1984 Nintendo */
11191120   DRIVER( vsmahjng )   /* (c) 1984 Nintendo */
11201121   DRIVER( vsbball )   /* (c) 1984 Nintendo */
11211122   DRIVER( vsbballj )   /* (c) 1984 Nintendo */
1122   DRIVER( vsbbalja )   /* (c) 1984 Nintendo */
1123   DRIVER( vsbballja )   /* (c) 1984 Nintendo */
11231124   DRIVER( iceclmrj )   /* (c) 1984 Nintendo */
11241125   DRIVER( vsgshoe )   /* (c) 1986 Nintendo */
11251126   DRIVER( supxevs )   /* (c) 1986 Nintendo */
11261127   DRIVER( vsfdf )      /* (c) 1986 Sunsoft */
11271128   DRIVER( smgolfb )   /* (c) 1985 Nintendo */
1128   DRIVER( vsbbaljb )   /* (c) 1984 Nintendo */
1129   DRIVER( vsbballjb )   /* (c) 1984 Nintendo */
11291130
11301131   /* NES-based hacks */
11311132   DRIVER( multigam )   /* 1992 */
r5338r5339
11711172   DRIVER( m4 )      /* 626 [1977] */
11721173   DRIVER( clowns )   /* 630 [1978] */
11731174   DRIVER( clowns1 )   /* 630 [1978] */
1174                  /* 640 - Space Walk [1978] */
1175   DRIVER( spacwalk )   /* 640 [1978] */
11751176   DRIVER( einning )   /* 642 [1978] Midway */
11761177   DRIVER( shuffle )   /* 643 [1978] */
11771178   DRIVER( dogpatch )   /* 644 [1977] */
r5338r5339
11861187   DRIVER( moonbase )   /* Zeta - Nichibutsu */
11871188                  /* 870 - Space Invaders Deluxe cocktail */
11881189   DRIVER( searthin )   /* bootleg */
1189   DRIVER( searthia )   /* bootleg */
1190   DRIVER( searthina )   /* bootleg */
11901191   DRIVER( invadrmr )   /* (c) 1978 Model Racing */
11911192   DRIVER( spaceatt )   /* (c) 1978 Video Games GMBH */
11921193   DRIVER( spaceat2 )   /* (c) 1980 Zenitone-Microsec Ltd */
r5338r5339
11941195   DRIVER( superinv )   /* bootleg */
11951196   DRIVER( invasion )   /* Sidam */
11961197   DRIVER( sstrangr )   /* (c) 1978 Yachiyo Electronics, Ltd. */
1197   DRIVER( sstrngr2 )   /* (c) 1979 Yachiyo Electronics, Ltd. */
1198   DRIVER( sstrangr2 )   /* (c) 1979 Yachiyo Electronics, Ltd. */
11981199   DRIVER( sinvemag )   /* Zenitone-Microsec Ltd. */
11991200   DRIVER( jspecter )   /* (c) 1979 Jatre */
1200   DRIVER( jspectr2 )   /* (c) 1979 Jatre */
1201   DRIVER( jspecter2 )   /* (c) 1979 Jatre */
12011202   DRIVER( invrvnge )   /* Zenitone-Microsec Ltd. */
1202   DRIVER( invrvnga )   /* Zenitone-Microsec Ltd. (Dutchford license) */
1203   DRIVER( invrvngea )   /* Zenitone-Microsec Ltd. (Dutchford license) */
12031204   DRIVER( galxwars )   /* (c) 1979 Universal */
1204   DRIVER( galxwar2 )   /* (c) 1979 Universal */
1205   DRIVER( galxwart )   /* (c) 1979 Taito? */
1205   DRIVER( galxwars2 )   /* (c) 1979 Universal */
1206   DRIVER( galxwarst )   /* (c) 1979 Taito? */
12061207   DRIVER( starw )      /* bootleg */
12071208   DRIVER( lrescue )   /* LR  (c) 1979 Taito */
12081209   DRIVER( mlander )   /* (c) 1980 Leisure Time Electronics */
r5338r5339
12131214   DRIVER( cosmicm2 )   /* Universal */
12141215   DRIVER( rollingc )   /* Nichibutsu */
12151216   DRIVER( ozmawars )   /* Shin Nihon Kikaku (SNK) */
1216   DRIVER( ozmawar2 )   /* Shin Nihon Kikaku (SNK) */
1217   DRIVER( ozmawars2 )   /* Shin Nihon Kikaku (SNK) */
12171218   DRIVER( solfight )   /* bootleg */
12181219   DRIVER( spaceph )   /* Zilec Games */
12191220   DRIVER( schaser )   /* RT  Taito */
1220   DRIVER( schasrcv )   /* RT  Taito */
1221   DRIVER( schasercv )   /* RT  Taito */
12211222   DRIVER( lupin3 )   /* LP  (c) 1980 Taito */
12221223   DRIVER( lupin3a )   /* LP  (c) 1980 Taito */
12231224   DRIVER( intruder )   /* (c) 1980 GamePlan (Taito) */
r5338r5339
12401241   DRIVER( invaderl )   /* bootleg */
12411242   DRIVER( invader4 )   /* bootleg */
12421243   DRIVER( yosakdon )   /* (c) 1979 Yosaku To Donbei */
1243   DRIVER( yosakdoa )   /* (c) 1979 Yosaku To Donbei */
1244   DRIVER( yosakdona )   /* (c) 1979 Yosaku To Donbei */
12441245   DRIVER( spceking )   /* (c) 1978 Leijac Corporation (Konami) */
12451246   DRIVER( spcewars )   /* (c) 1978 Sanritsu */
12461247   DRIVER( astropal )   /* (c) 19?? Sidam */
r5338r5339
12721273   DRIVER( diggerc )   /* (c) 1982 Century */
12731274   DRIVER( wallst )   /* (c) 1982 Century */
12741275   DRIVER( radarzon )   /* (c) 1982 Century */
1275   DRIVER( radarzn1 )   /* (c) 1982 Century */
1276   DRIVER( radarznt )   /* (c) 1982 Tuni Electro Service */
1276   DRIVER( radarzon1 )   /* (c) 1982 Century */
1277   DRIVER( radarzont )   /* (c) 1982 Tuni Electro Service */
12771278   DRIVER( outline )   /* (c) 1982 Century */
12781279   DRIVER( goldbug )   /* (c) 1982 Century */
12791280   DRIVER( heartatk )   /* (c) 1983 Century Electronics */
12801281   DRIVER( hunchbak )   /* (c) 1983 Century */
1281   DRIVER( hunchbka )   /* (c) 1983 Century */
1282   DRIVER( hunchbaka )   /* (c) 1983 Century */
12821283   DRIVER( superbik )   /* (c) 1983 Century */
12831284   DRIVER( raiders )   /* (c) 1983 Century Electronics UK */
12841285   DRIVER( hero )      /* (c) 1983 Seatongrove (c) 1984 CVS */
r5338r5339
13171318   DRIVER( domino )   /* (c) 1982 */
13181319   DRIVER( wacko )      /* (c) 1982 */
13191320   DRIVER( twotiger )   /* (c) 1984 */
1320   DRIVER( twotigrc )   /* (c) 1984 */
1321   DRIVER( twotigerc )   /* (c) 1984 */
13211322   /* MCR2 + MCR3 sprites */
13221323   DRIVER( journey )   /* (c) 1983 */
13231324   /* MCR3 */
r5338r5339
13461347   DRIVER( zwackery )   /* (c) 1984 */
13471348   DRIVER( xenophob )   /* (c) 1987 */
13481349   DRIVER( spyhunt2 )   /* (c) 1987 */
1349   DRIVER( spyhnt2a )   /* (c) 1987 */
1350   DRIVER( spyhunt2a )   /* (c) 1987 */
13501351   DRIVER( blasted )   /* (c) 1988 */
13511352   DRIVER( archrivl )   /* (c) 1989 */
1352   DRIVER( archriv2 )   /* (c) 1989 */
1353   DRIVER( archrivl2 )   /* (c) 1989 */
13531354   DRIVER( trisport )   /* (c) 1989 */
13541355   DRIVER( pigskin )   /* (c) 1990 */
13551356
r5338r5339
13711372   DRIVER( triviaes )   /* (c) 1984 */
13721373   DRIVER( gimeabrk )   /* (c) 1985 */
13731374   DRIVER( minigolf )   /* (c) 1985 */
1374   DRIVER( minigol2 )   /* (c) 1985 */
1375   DRIVER( minigolf2 )   /* (c) 1985 */
13751376   DRIVER( toggle )   /* (c) 1985 */
13761377   DRIVER( nametune )   /* (c) 1986 */
13771378   DRIVER( nstocker )   /* (c) 1986 */
1378   DRIVER( nstockr2 )   /* (c) 1986 */
1379   DRIVER( nstocker2 )   /* (c) 1986 */
13791380   DRIVER( sfootbal )   /* (c) 1986 */
13801381   DRIVER( spiker )   /* (c) 1986 */
13811382   DRIVER( stompin )   /* (c) 1986 */
13821383   DRIVER( rescraid )   /* (c) 1987 */
1383   DRIVER( rescrdsa )   /* (c) 1987 */
1384   DRIVER( rescraida )   /* (c) 1987 */
13841385   DRIVER( grudge )   /* prototype - Bally/Midway */
13851386   DRIVER( shrike )   /* (c) 1987 */
13861387   DRIVER( gridlee )   /* [1983 Videa] prototype - no copyright notice */
r5338r5339
13891390   /* trivia: IREM means "International Rental Electronics Machines" */
13901391   DRIVER( andromed )   /* (c) 1979 */
13911392   DRIVER( ipminvad )   /* M10 no copyright notice (Arcade TV Game List - P.67, Left, 26 from top) */
1392   DRIVER( ipminva1 )   /* M10 incomplete dump */
1393   DRIVER( ipminvad1 )   /* M10 incomplete dump */
13931394   DRIVER( ptrmj )      /* M14 (c) 1979  */
13941395   DRIVER( skychut )   /* Irem [1980] */
13951396   DRIVER( spacbeam )   /* M15 no copyright notice */
13961397   DRIVER( greenber )   /* Irem */
13971398   DRIVER( headoni )   /* Irem no copyright notice (1979 - Arcade TV Game List - P.98, Left, 7 from top ) */
13981399
1399   DRIVER( redalert )   /* (c) 1981 + "GDI presents" */
1400   DRIVER( demoneye )   /* (c) 1981 */
1401   DRIVER( ww3 )      /* (c) 1981 */
1400   DRIVER( panther )   /* M27 no copyright notice */
1401   DRIVER( redalert )   /* M27 (c) 1981 + "GDI presents" */
1402   DRIVER( demoneye )   /* M27 (c) 1981 */
1403   DRIVER( ww3 )      /* M27 (c) 1981 */
14021404
14031405   DRIVER( olibochu )   /* M47 (c) 1981 + "GDI presents" */
14041406   DRIVER( mpatrol )   /* M52 (c) 1982 */
r5338r5339
14091411   DRIVER( 10yard )   /* (c) 1983 */
14101412   DRIVER( 10yardj )   /* (c) 1983 */
14111413   DRIVER( vs10yard )   /* (c) 1983/1984 */
1412   DRIVER( vs10yarj )   /* (c) 1983/1984 */
1414   DRIVER( vs10yardj )   /* (c) 1983/1984 */
14131415   DRIVER( travrusa )   /* (c) 1983 */
14141416   DRIVER( motorace )   /* (c) 1983 Williams license */
14151417   DRIVER( shtrider )   /* (c) 1984 Seibu Kaihatsu */
1416   DRIVER( shtridra )   /* (c) 1984 Seibu Kaihatsu */
1418   DRIVER( shtridera )   /* (c) 1984 Seibu Kaihatsu */
14171419   DRIVER( wilytowr )   /* M63 (c) 1984 */
14181420   DRIVER( atomboy )   /* M63 (c) 1985 Irem + Memetron license */
14191421   DRIVER( atomboya )   /* M63 (c) 1985 Irem + Memetron license */
14201422   DRIVER( fghtbskt )   /* (c) 1984 Paradise Co. Ltd. */
14211423   /* M62 */
14221424   DRIVER( kungfum )   /* (c) 1984 */
1423   DRIVER( kungfud )   /* (c) 1984 + Data East license */
1425   DRIVER( kungfumd )   /* (c) 1984 + Data East license */
14241426   DRIVER( spartanx )   /* (c) 1984 (Japan) */
14251427   DRIVER( kungfub )   /* bootleg */
14261428   DRIVER( kungfub2 )   /* bootleg */
r5338r5339
14291431   DRIVER( ldruna )   /* (c) 1984 licensed from Broderbund */
14301432   DRIVER( ldrun2 )   /* (c) 1984 licensed from Broderbund */
14311433   DRIVER( ldrun3 )   /* (c) 1985 licensed from Broderbund */
1432   DRIVER( ldrun3jp )   /* (c) 1985 licensed from Broderbund */
1434   DRIVER( ldrun3j )   /* (c) 1985 licensed from Broderbund */
14331435   DRIVER( ldrun4 )   /* (c) 1986 licensed from Broderbund */
14341436   DRIVER( lotlot )   /* (c) 1985 licensed from Tokuma Shoten */
14351437   DRIVER( kidniki )   /* (c) 1986 + Data East USA license */
r5338r5339
14371439   DRIVER( yanchamr )   /* (c) 1986 (Japan) */
14381440   DRIVER( lithero )   /* bootleg */
14391441   DRIVER( spelunkr )   /* (c) 1985 licensed from Broderbund */
1440   DRIVER( spelnkrj )   /* (c) 1985 licensed from Broderbund */
1442   DRIVER( spelunkrj )   /* (c) 1985 licensed from Broderbund */
14411443   DRIVER( spelunk2 )   /* (c) 1986 licensed from Broderbund */
14421444   DRIVER( horizon )   /* (c) 1985 */
14431445   DRIVER( youjyudn )   /* (c) 1986 (Japan) */
14441446
14451447   DRIVER( vigilant )   /* (c) 1988 (World) */
1446   DRIVER( vigilntu )   /* (c) 1988 (US) */
1447   DRIVER( vigilntj )   /* (c) 1988 (Japan) */
1448   DRIVER( vigilantu )   /* (c) 1988 (US) */
1449   DRIVER( vigilantj )   /* (c) 1988 (Japan) */
14481450   DRIVER( kikcubic )   /* (c) 1988 (Japan) */
1449   DRIVER( kikcubib )   /* bootleg */
1451   DRIVER( kikcubicb )   /* bootleg */
14501452   DRIVER( buccanrs )   /* (c) 1989 Duintronic */
1451   DRIVER( buccanra )   /* (c) 1989 Duintronic */
1453   DRIVER( buccanrsa )   /* (c) 1989 Duintronic */
14521454   /* M72 (and derivatives) */
14531455   DRIVER( rtype )      /* (c) 1987 (Japan) */
14541456   DRIVER( rtypej )   /* (c) 1987 (Japan) */
r5338r5339
14601462   DRIVER( nspirit )   /* (c) 1988 */
14611463   DRIVER( nspiritj )   /* (c) 1988 (Japan) */
14621464   DRIVER( imgfight )   /* (c) 1988 (Japan) */
1463   DRIVER( imgfigho )   /* (c) 1988 (Japan) */
1465   DRIVER( imgfighto )   /* (c) 1988 (Japan) */
14641466   DRIVER( loht )      /* (c) 1989 */
14651467   DRIVER( lohtj )      /* (c) 1989 (Japan) */
14661468   DRIVER( lohtb )      /* (c) 1989 (bootleg) */
14671469   DRIVER( lohtb2 )   /* (c) 1989 (bootleg) */
14681470   DRIVER( xmultipl )   /* (c) 1989 (Japan) */
14691471   DRIVER( dbreed )   /* (c) 1989 */
1470   DRIVER( dbreed72 )   /* (c) 1989 */
1472   DRIVER( dbreedm72 )   /* (c) 1989 */
14711473   DRIVER( rtype2 )   /* (c) 1989 */
14721474   DRIVER( rtype2j )   /* (c) 1989 (Japan) */
14731475   DRIVER( majtitle )   /* (c) 1990 (World) */
1474   DRIVER( majtitlj )   /* (c) 1990 (Japan) */
1476   DRIVER( majtitlej )   /* (c) 1990 (Japan) */
14751477   DRIVER( hharry )   /* (c) 1990 (World) */
14761478   DRIVER( hharryu )   /* (c) 1990 Irem America (US) */
14771479   DRIVER( dkgensan )   /* (c) 1990 (Japan) */
1478   DRIVER( dkgenm72 )   /* (c) 1990 (Japan) */
1480   DRIVER( dkgensanm72 )   /* (c) 1990 (Japan) */
14791481   DRIVER( poundfor )   /* (c) 1990 (World) */
1480   DRIVER( poundfoj )   /* (c) 1990 (Japan) */
1481   DRIVER( poundfou )   /* (c) 1990 Irem America (US) */
1482   DRIVER( poundforj )   /* (c) 1990 (Japan) */
1483   DRIVER( poundforu )   /* (c) 1990 Irem America (US) */
14821484   DRIVER( airduel )   /* (c) 1990 (Japan) */
14831485   DRIVER( cosmccop )   /* (c) 1991 (World) */
14841486   DRIVER( gallop )   /* (c) 1991 (Japan) */
14851487   DRIVER( kengo )      /* (c) 1991 */
14861488   /* not M72, but same sound hardware */
14871489   DRIVER( sichuan2 )   /* (c) 1989 Tamtex */
1488   DRIVER( sichuana )   /* (c) 1989 Tamtex */
1490   DRIVER( sichuan2a )   /* (c) 1989 Tamtex */
14891491   DRIVER( shisen )   /* (c) 1989 Tamtex */
14901492   DRIVER( matchit )   /* (c) 1989 Tamtex */
14911493   /* M90 */
14921494   DRIVER( hasamu )   /* (c) 1991 Irem (Japan) */
14931495   DRIVER( dynablst )   /* (c) 1991 Irem (World) */
1494   DRIVER( dynablsb )   /* bootleg */
1496   DRIVER( dynablstb )   /* bootleg */
14951497   DRIVER( bombrman )   /* (c) 1991 Irem (Japan) */
14961498   DRIVER( atompunk )   /* (c) 1991 Irem America (licensed from Hudson Soft) */
14971499   /* M97 */
r5338r5339
15061508   DRIVER( shisen2 )   /* (c) 1993 Tamtex */
15071509   /* M92 */
15081510   DRIVER( gunforce )   /* (c) 1991 Irem (World) */
1509   DRIVER( gunforcu )   /* (c) 1991 Irem America (US) */
1510   DRIVER( gunforcj )   /* (c) 1991 Irem (Japan) */
1511   DRIVER( gunforceu )   /* (c) 1991 Irem America (US) */
1512   DRIVER( gunforcej )   /* (c) 1991 Irem (Japan) */
15111513   DRIVER( bmaster )   /* (c) 1991 Irem */
15121514   DRIVER( crossbld )   /* (c) 1991 Irem (Japan) */
15131515   DRIVER( lethalth )   /* (c) 1991 Irem (World) */
r5338r5339
15181520   DRIVER( mysticri )   /* (c) 1992 Irem (World) */
15191521   DRIVER( gunhohki )   /* (c) 1992 Irem (Japan) */
15201522   DRIVER( majtitl2 )   /* (c) 1992 Irem (World) */
1521   DRIVER( majtit2j )   /* (c) 1992 Irem (Japan) */
1523   DRIVER( majtitl2j )   /* (c) 1992 Irem (Japan) */
15221524   DRIVER( skingame )   /* (c) 1992 Irem America (US) */
1523   DRIVER( skingam2 )   /* (c) 1992 Irem America (US) */
1525   DRIVER( skingame2 )   /* (c) 1992 Irem America (US) */
15241526   DRIVER( hook )      /* (c) 1992 Irem (World) */
15251527   DRIVER( hooku )      /* (c) 1992 Irem America (US) */
15261528   DRIVER( hookj )      /* (c) 1992 Irem (Japan) */
15271529   DRIVER( ppan )      /* bootleg */
15281530   DRIVER( rtypeleo )   /* (c) 1992 Irem (World) */
1529   DRIVER( rtypelej )   /* (c) 1992 Irem (Japan) */
1531   DRIVER( rtypeleoj )   /* (c) 1992 Irem (Japan) */
15301532   DRIVER( inthunt )   /* (c) 1993 Irem (World) */
15311533   DRIVER( inthuntu )   /* (c) 1993 Irem (US) */
15321534   DRIVER( kaiteids )   /* (c) 1993 Irem (Japan) */
r5338r5339
15461548   /* Gottlieb/Mylstar games (Gottlieb became Mylstar in 1983) */
15471549   DRIVER( reactor )   /* GV-100 (c) 1982 Gottlieb */
15481550   DRIVER( mplanets )   /* GV-102 (c) 1983 Gottlieb */
1549   DRIVER( mplanuk )   /* GV-102 (c) 1983 Gottlieb */
1551   DRIVER( mplanetsuk )/* GV-102 (c) 1983 Gottlieb */
15501552   DRIVER( qbert )      /* GV-103 (c) 1982 Gottlieb */
15511553   DRIVER( qberta )   /* GV-103 (c) 1982 Gottlieb */
1552   DRIVER( qbertjp )   /* GV-103 (c) 1982 Gottlieb + Konami license */
1554   DRIVER( qbertj )   /* GV-103 (c) 1982 Gottlieb + Konami license */
15531555   DRIVER( myqbert )   /* GV-103?(c) 1982 Gottlieb */
15541556   DRIVER( qberttst )   /* GV-103 (c) 1982 Gottlieb */
15551557   DRIVER( qbtrktst )   /* GV-103 (c) 1982 Gottlieb */
r5338r5339
15761578   DRIVER( qix2 )      /* ??  (c) 1981 Taito America Corporation */
15771579   DRIVER( sdungeon )   /* SD  (c) 1981 Taito America Corporation */
15781580   DRIVER( elecyoyo )   /* YY  (c) 1982 Taito America Corporation */
1579   DRIVER( elecyoy2 )   /* YY  (c) 1982 Taito America Corporation */
1581   DRIVER( elecyoyo2 )   /* YY  (c) 1982 Taito America Corporation */
15801582   DRIVER( kram )      /* KS  (c) 1982 Taito America Corporation */
15811583   DRIVER( kram2 )      /* KS  (c) 1982 Taito America Corporation */
15821584   DRIVER( kram3 )      /* KS  (c) 1982 Taito America Corporation */
r5338r5339
15911593   DRIVER( spaceskr )   /* EB  (c) 1981 Taito Corporation */
15921594   DRIVER( spacecr )   /* CG  (c) 1981 Taito Corporation */
15931595   DRIVER( junglek )   /* KN  (c) 1982 Taito Corporation */
1594   DRIVER( junglkj2 )   /* KN  (c) 1982 Taito Corporation */
1596   DRIVER( junglekj2 )   /* KN  (c) 1982 Taito Corporation */
15951597   DRIVER( jungleh )   /* KN  (c) 1982 Taito America Corporation */
1596   DRIVER( junglhbr )   /* KN  (c) 1982 Taito do Brasil */
1598   DRIVER( junglehbr )   /* KN  (c) 1982 Taito do Brasil */
15971599   DRIVER( piratpet )   /* KN  (c) 1982 Taito America Corporation */
15981600   DRIVER( alpine )   /* RH  (c) 1982 Taito Corporation */
15991601   DRIVER( alpinea )   /* RH  (c) 1982 Taito Corporation */
16001602   DRIVER( timetunl )   /* UN  (c) 1982 Taito Corporation */
16011603   DRIVER( wwestern )   /* WW  (c) 1982 Taito Corporation */
1602   DRIVER( wwester1 )   /* WW  (c) 1982 Taito Corporation */
1604   DRIVER( wwestern1 )   /* WW  (c) 1982 Taito Corporation */
16031605   DRIVER( frontlin )   /* FL  (c) 1982 Taito Corporation */
16041606   DRIVER( elevator )   /* EA  (c) 1983 Taito Corporation */
1605   DRIVER( elevatob )   /* bootleg */
1607   DRIVER( elevatorb )   /* bootleg */
16061608   DRIVER( tinstar )   /* A10 (c) 1983 Taito Corporation */
16071609   DRIVER( tinstar2 )   /* A10 (c) 1983 Taito Corporation */
16081610   DRIVER( waterski )   /* A03 (c) 1983 Taito Corporation */
r5338r5339
16151617   DRIVER( fgoal )      /* TF  (c) 1979 Taito Corporation */
16161618   DRIVER( fgoala )   /* MF  (c) 1979 Taito Corporation */
16171619   DRIVER( crbaloon )   /* CL  (c) 1980 Taito Corporation */
1618   DRIVER( crbalon2 )   /* CL  (c) 1980 Taito Corporation */
1620   DRIVER( crbaloon2 )   /* CL  (c) 1980 Taito Corporation */
16191621   DRIVER( sbowling )   /* KB  (c) 1982 Taito Corporation */
16201622   DRIVER( grchamp )   /* GM  (c) 1981 Taito Corporation */
16211623   DRIVER( marinedt )   /* MG  (c) 1981 Taito Corporation */
r5338r5339
16381640   DRIVER( lkageb3 )   /* bootleg */
16391641   DRIVER( msisaac )   /* A34 (c) 1985 Taito Corporation */
16401642   DRIVER( retofinv )   /* A37 (c) 1985 Taito Corporation */
1641   DRIVER( retofin1 )   /* bootleg */
1642   DRIVER( retofin2 )   /* bootleg */
1643   DRIVER( retofinv1 )   /* bootleg */
1644   DRIVER( retofinv2 )   /* bootleg */
16431645   DRIVER( fightrol )   /* (c) 1983 Taito */
16441646   DRIVER( rollace )   /* (c) 1983 Williams */
16451647   DRIVER( rollace2 )   /* (c) 1983 Williams */
r5338r5339
16611663   DRIVER( m660b )      /* bootleg */
16621664   DRIVER( alphaxz )   /* AZ  (c) 1986 Ed/Wood Place */
16631665   DRIVER( buggychl )   /* A22 (c) 1984 Taito Corporation */
1664   DRIVER( buggycht )   /* A22 (c) 1984 Taito Corporation + Tefri license */
1666   DRIVER( buggychlt )   /* A22 (c) 1984 Taito Corporation + Tefri license */
16651667   DRIVER( ssrj )      /* A40 (c) 1985 Taito Corporation */
16661668   DRIVER( bigevglf )   /* A67 (c) 1986 Taito America Corporation (US) */
1667   DRIVER( bigevglj )   /* A67 (c) 1986 Taito Corporation (Japan) */
1669   DRIVER( bigevglfj )   /* A67 (c) 1986 Taito Corporation (Japan) */
16681670   DRIVER( flstory )   /* A45 (c) 1985 Taito Corporation */
16691671   DRIVER( flstoryj )   /* A45 (c) 1985 Taito Corporation (Japan) */
16701672   DRIVER( onna34ro )   /* A52 (c) 1985 Taito Corporation (Japan) */
1671   DRIVER( onna34ra )   /* A52 (c) 1985 Taito Corporation (Japan) */
1673   DRIVER( onna34roa )   /* A52 (c) 1985 Taito Corporation (Japan) */
16721674   DRIVER( victnine )   /* A16 (c) 1985 Taito Corporation (Japan) */
16731675   DRIVER( gladiatr )   /* QB  (c) 1986 Taito America Corporation (US) */
16741676   DRIVER( ogonsiro )   /* QB  (c) 1986 Taito Corporation (Japan) */
r5338r5339
16911693   DRIVER( tokiou )   /* A71 1986 */
16921694   DRIVER( tokiob )   /* bootleg */
16931695   DRIVER( bublbobl )   /* A78 (c) 1986 Taito Corporation */
1694   DRIVER( bublbob1 )   /* A78 (c) 1986 Taito Corporation */
1695   DRIVER( bublbobr )   /* A78 (c) 1986 Taito America Corporation + Romstar license */
1696   DRIVER( bubbobr1 )   /* A78 (c) 1986 Taito America Corporation + Romstar license */
1696   DRIVER( bublbobl1 )   /* A78 (c) 1986 Taito Corporation */
1697   DRIVER( bublboblr )   /* A78 (c) 1986 Taito America Corporation + Romstar license */
1698   DRIVER( bublboblr1 )/* A78 (c) 1986 Taito America Corporation + Romstar license */
16971699   DRIVER( boblbobl )   /* bootleg */
16981700   DRIVER( sboblboa )   /* bootleg */
16991701   DRIVER( sboblbob )   /* bootleg */
17001702   DRIVER( bub68705 )   /* bootleg */
1703   DRIVER( dland )      /* bootleg */
17011704   DRIVER( missb2 )   /* bootleg on enhanced hardware */
17021705   DRIVER( kikikai )   /* A85 (c) 1986 Taito Corporation */
17031706   DRIVER( knightb )   /* bootleg */
17041707   DRIVER( kicknrun )   /* A87 (c) 1986 Taito Corporation */
1705   DRIVER( kicknruu )   /* A87 (c) 1986 Taito Corporation */
1708   DRIVER( kicknrunu )   /* A87 (c) 1986 Taito Corporation */
17061709   DRIVER( mexico86 )   /* bootleg (Micro Research) */
17071710   DRIVER( darius )   /* A96 (c) 1986 Taito Corporation Japan (World) */
17081711   DRIVER( dariusj )   /* A96 (c) 1986 Taito Corporation (Japan) */
r5338r5339
17121715   DRIVER( rastanu )   /* B04 (c) 1987 Taito America Corporation (US) */
17131716   DRIVER( rastanu2 )   /* B04 (c) 1987 Taito America Corporation (US) */
17141717   DRIVER( rastsaga )   /* B04 (c) 1987 Taito Corporation (Japan)*/
1715   DRIVER( rastsag1 )   /* B04 (c) 1987 Taito Corporation (Japan)*/
1718   DRIVER( rastsaga1 )   /* B04 (c) 1987 Taito Corporation (Japan)*/
17161719   DRIVER( topspeed )   /* B14 (c) 1987 Taito Corporation Japan (World) */
1717   DRIVER( topspedu )   /* B14 (c) 1987 Taito America Corporation (US) */
1720   DRIVER( topspeedu )   /* B14 (c) 1987 Taito America Corporation (US) */
17181721   DRIVER( fullthrl )   /* B14 (c) 1987 Taito Corporation (Japan) */
17191722   DRIVER( opwolf )   /* B20 (c) 1987 Taito Corporation Japan (World) */
17201723   DRIVER( opwolfa )   /* B20 (c) 1987 Taito Corporation Japan (World) */
r5338r5339
17221725   DRIVER( opwolfu )   /* B20 (c) 1987 Taito America Corporation (US) */
17231726   DRIVER( opwolfb )   /* bootleg */
17241727   DRIVER( othunder )   /* B67 (c) 1988 Taito Corporation Japan (World) */
1725   DRIVER( othundu )   /* B67 (c) 1988 Taito America Corporation (US) */
1726   DRIVER( othunduo )   /* B67 (c) 1988 Taito America Corporation (US) */
1727   DRIVER( othundrj )   /* B67 (c) 1988 Taito Corporation (Japan) */
1728   DRIVER( othunderu )   /* B67 (c) 1988 Taito America Corporation (US) */
1729   DRIVER( othunderuo )   /* B67 (c) 1988 Taito America Corporation (US) */
1730   DRIVER( othunderj )   /* B67 (c) 1988 Taito Corporation (Japan) */
17281731   DRIVER( rainbow )   /* B22 (c) 1987 Taito Corporation */
17291732   DRIVER( rainbowo )   /* B22 (c) 1987 Taito Corporation */
17301733   DRIVER( rainbowe )   /* B39 (c) 1988 Taito Corporation */
17311734   DRIVER( jumping )   /* bootleg */
17321735   DRIVER( arkanoid )   /* A75 (c) 1986 Taito Corporation Japan (World) */
1733   DRIVER( arknoidu )   /* A75 (c) 1986 Taito America Corporation + Romstar license (US) */
1734   DRIVER( arknoiuo )   /* A75 (c) 1986 Taito America Corporation + Romstar license (US) */
1735   DRIVER( arknoidj )   /* A75 (c) 1986 Taito Corporation (Japan) */
1736   DRIVER( arkanoidu )   /* A75 (c) 1986 Taito America Corporation + Romstar license (US) */
1737   DRIVER( arkanoiduo )   /* A75 (c) 1986 Taito America Corporation + Romstar license (US) */
1738   DRIVER( arkanoidj )   /* A75 (c) 1986 Taito Corporation (Japan) */
17361739   DRIVER( arkmcubl )   /* bootleg */
17371740   DRIVER( ark1ball )   /* bootleg */
17381741   DRIVER( arkangc )   /* bootleg */
r5338r5339
17511754   DRIVER( sqixb1 )   /* bootleg? but (c) 1987 */
17521755   DRIVER( sqixb2 )   /* bootleg? but (c) 1987 */
17531756   DRIVER( perestro )   /* (c) 1994 Promat */
1754   DRIVER( perestrf )   /* (c) 1993 Promat / Fuuki */
1757   DRIVER( perestrof )   /* (c) 1993 Promat / Fuuki */
17551758   DRIVER( pbillian )   /* (c) 1986 Taito */
17561759   DRIVER( hotsmash )   /* B18 (c) 1987 Taito */
17571760   DRIVER( exzisus )   /* B23 (c) 1987 Taito Corporation (Japan) */
r5338r5339
17591762   DRIVER( volfied )   /* C04 (c) 1989 Taito Corporation Japan (World) */
17601763   DRIVER( volfiedu )   /* C04 (c) 1989 Taito America Corporation (US) */
17611764   DRIVER( volfiedj )   /* C04 (c) 1989 Taito Corporation (Japan) */
1762   DRIVER( volfidjo )   /* C04 (c) 1989 Taito Corporation (Japan) */
1765   DRIVER( volfiedjo )   /* C04 (c) 1989 Taito Corporation (Japan) */
17631766   DRIVER( bonzeadv )   /* B41 (c) 1988 Taito Corporation Japan (World) */
1764   DRIVER( bonzeado )   /* B41 (c) 1988 Taito Corporation Japan (World) */
1765   DRIVER( bonzeadu )   /* B41 (c) 1988 Taito America Corporation (US) */
1767   DRIVER( bonzeadvo )   /* B41 (c) 1988 Taito Corporation Japan (World) */
1768   DRIVER( bonzeadvu )   /* B41 (c) 1988 Taito America Corporation (US) */
17661769   DRIVER( jigkmgri )   /* B41 (c) 1988 Taito Corporation (Japan)*/
17671770   DRIVER( asuka )      /* B68 (c) 1988 Taito Corporation (World) */
17681771   DRIVER( asukaj )   /* B68 (c) 1988 Taito Corporation (Japan) */
r5338r5339
17931796   DRIVER( ninjawj )   /* B31 (c) 1987 Taito Corporation (Japan) */
17941797   DRIVER( darius2 )   /* C07 (c) 1989 Taito Corporation (Japan) */
17951798   DRIVER( darius2d )   /* C07 (c) 1989 Taito Corporation (Japan) */
1796   DRIVER( drius2do )   /* C07 (c) 1989 Taito Corporation (Japan) */
1799   DRIVER( darius2do )   /* C07 (c) 1989 Taito Corporation (Japan) */
17971800   DRIVER( warriorb )   /* D24 (c) 1991 Taito Corporation (Japan) */
17981801
17991802   /* Taito "X"-system games */
r5338r5339
18111814   DRIVER( plumppop )   /* A98 (c) 1987 Taito Corporation (Japan) */
18121815   DRIVER( jpopnics )  /* (c)1992 NICs, based on Plump Pop code */
18131816   DRIVER( extrmatn )   /* B06 (c) 1987 Taito Corporation Japan (World) */
1814   DRIVER( extrmatu )   /* B06 (c) 1987 World Games */
1815   DRIVER( extrmatj )   /* B06 (c) 1987 Taito Corporation (Japan)*/
1817   DRIVER( extrmatnu )   /* B06 (c) 1987 World Games */
1818   DRIVER( extrmatnj )   /* B06 (c) 1987 Taito Corporation (Japan)*/
18161819   DRIVER( arknoid2 )   /* B08 (c) 1987 Taito Corporation Japan (World) */
1817   DRIVER( arknid2u )   /* B08 (c) 1987 Taito America Corporation + Romstar license (US) */
1818   DRIVER( arknid2j )   /* B08 (c) 1987 Taito Corporation (Japan) */
1820   DRIVER( arknoid2u )   /* B08 (c) 1987 Taito America Corporation + Romstar license (US) */
1821   DRIVER( arknoid2j )   /* B08 (c) 1987 Taito Corporation (Japan) */
18191822   DRIVER( drtoppel )   /* B19 (c) 1987 Taito Corporation Japan (World) */
1820   DRIVER( drtopplu )   /* B19 (c) 1987 Taito Corporation (US) */
1821   DRIVER( drtopplj )   /* B19 (c) 1987 Taito Corporation (Japan) */
1823   DRIVER( drtoppelu )   /* B19 (c) 1987 Taito Corporation (US) */
1824   DRIVER( drtoppelj )   /* B19 (c) 1987 Taito Corporation (Japan) */
18221825   DRIVER( kageki )   /* B35 (c) 1988 Taito America Corporation + Romstar license (US) */
18231826   DRIVER( kagekij )   /* B35 (c) 1988 Taito Corporation (Japan) */
18241827   DRIVER( kagekih )   /* B35 (c) 1992 (hack) */
18251828   DRIVER( chukatai )   /* B44 (c) 1988 Taito Corporation Japan (World) */
1826   DRIVER( chukatau )   /* B44 (c) 1988 Taito Corporation (US) */
1827   DRIVER( chukataj )   /* B44 (c) 1988 Taito Corporation (Japan) */
1829   DRIVER( chukataiu )   /* B44 (c) 1988 Taito Corporation (US) */
1830   DRIVER( chukataij )   /* B44 (c) 1988 Taito Corporation (Japan) */
18281831   DRIVER( kabukiz )   /* B50 (c) 1988 Taito Corporation Japan (World) */
18291832   DRIVER( kabukizj )   /* B50 (c) 1988 Taito Corporation (Japan) */
18301833   DRIVER( tnzs )      /* B53 (c) 1988 Taito Corporation Japan (World) (new logo) */
r5338r5339
19081911
19091912   /* Taito Z-System games */
19101913   DRIVER( contcirc )   /* B33 (c) 1987 Taito Corporation Japan (World) */
1911   DRIVER( contcrcu )   /* B33 (c) 1987 Taito America Corporation (US) */
1912   DRIVER( contcrua )   /* B33 (c) 1987 Taito America Corporation (US) */
1914   DRIVER( contcircu )   /* B33 (c) 1987 Taito America Corporation (US) */
1915   DRIVER( contcircua )   /* B33 (c) 1987 Taito America Corporation (US) */
19131916   DRIVER( chasehq )   /* B52 (c) 1988 Taito Corporation Japan (World) */
19141917   DRIVER( chasehqj )   /* B52 (c) 1988 Taito Corporation (Japan) */
19151918   DRIVER( chasehqu )   /* B52 (c) 1988 Taito America Corporation (US) */
19161919   DRIVER( enforce )   /* B58 (c) 1988 Taito Corporation (Japan) */
19171920   DRIVER( nightstr )   /* B91 (c) 1989 Taito Corporation Japan (World) */
1918   DRIVER( nghtstrj )   /* B91 (c) 1989 Taito Corporation (Japan) */
1919   DRIVER( nghtstru )   /* B91 (c) 1989 Taito America Corporation (US) */
1921   DRIVER( nightstrj )   /* B91 (c) 1989 Taito Corporation (Japan) */
1922   DRIVER( nightstru )   /* B91 (c) 1989 Taito America Corporation (US) */
19201923   DRIVER( sci )      /* C09 (c) 1989 Taito Corporation Japan (World) */
19211924   DRIVER( scia )      /* C09 (c) 1989 Taito Corporation Japan (World) */
19221925   DRIVER( scij )      /* C09 (c) 1989 Taito Corporation Japan (World) */
r5338r5339
19251928   DRIVER( bshark )   /* C34 (c) 1989 Taito America Corporation (US) */
19261929   DRIVER( bsharkj )   /* C34 (c) 1989 Taito Corporation (Japan) */
19271930   DRIVER( aquajack )   /* B77 (c) 1990 Taito Corporation Japan (World) */
1928   DRIVER( aquajckj )   /* B77 (c) 1990 Taito Corporation (Japan) */
1931   DRIVER( aquajackj )   /* B77 (c) 1990 Taito Corporation (Japan) */
19291932   DRIVER( spacegun )   /* C57 (c) 1990 Taito Corporation Japan (World) */
19301933   DRIVER( dblaxle )   /* C78 (c) 1991 Taito America Corporation (US) */
19311934   DRIVER( pwheelsj )   /* C78 (c) 1991 Taito Corporation (Japan) */
r5338r5339
19421945   DRIVER( superchs )   /* D46 (c) 1992 Taito America Corporation (US) */
19431946   DRIVER( groundfx )   /* D51 (c) 1992 Taito Coporation */
19441947   DRIVER( undrfire )   /* D67 (c) 1993 Taito Coporation Japan (World) */
1945   DRIVER( undrfiru )   /* D67 (c) 1993  Taito America Corporation (US) */
1946   DRIVER( undrfirj )   /* D67 (c) 1993 Taito Coporation (Japan) */
1948   DRIVER( undrfireu )   /* D67 (c) 1993  Taito America Corporation (US) */
1949   DRIVER( undrfirej )   /* D67 (c) 1993 Taito Coporation (Japan) */
19471950   DRIVER( cbombers )
19481951
19491952   /* Taito F2 games */
r5338r5339
20062009
20072010   /* Taito F3 games */
20082011   DRIVER( ringrage )   /* 1992.?? D21 (c) 1992 Taito Corporation Japan (World) */
2009   DRIVER( ringragj )   /* 1992.09 D21 (c) 1992 Taito Corporation (Japan) */
2010   DRIVER( ringragu )   /* 1992.02 D21 (c) 1992 Taito America Corporation (US) */
2012   DRIVER( ringragej )   /* 1992.09 D21 (c) 1992 Taito Corporation (Japan) */
2013   DRIVER( ringrageu )   /* 1992.02 D21 (c) 1992 Taito America Corporation (US) */
20112014   DRIVER( arabianm )   /* 1992.?? D29 (c) 1992 Taito Corporation Japan (World) */
2012   DRIVER( arabiamj )   /* 1992.09 D29 (c) 1992 Taito Corporation (Japan) */
2013   DRIVER( arabiamu )   /* 1992.10 D29 (c) 1992 Taito America Corporation (US) */
2015   DRIVER( arabianmj )   /* 1992.09 D29 (c) 1992 Taito Corporation (Japan) */
2016   DRIVER( arabianmu )   /* 1992.10 D29 (c) 1992 Taito America Corporation (US) */
20142017   DRIVER( ridingf )   /* 1992.?? D34 (c) 1992 Taito Corporation Japan (World) */
2015   DRIVER( ridefgtj )   /* 1992.12 D34 (c) 1992 Taito Corporation (Japan) */
2016   DRIVER( ridefgtu )   /* 1992.?? D34 (c) 1992 Taito America Corporation (US) */
2018   DRIVER( ridingfj )   /* 1992.12 D34 (c) 1992 Taito Corporation (Japan) */
2019   DRIVER( ridingfu )   /* 1992.?? D34 (c) 1992 Taito America Corporation (US) */
20172020   DRIVER( gseeker )   /* 1992.?? D40 (c) 1992 Taito Corporation Japan (World) */
20182021   DRIVER( gseekerj )   /* 1992.12 D40 (c) 1992 Taito Corporation (Japan) */
20192022   DRIVER( gseekeru )   /* 1992.?? D40 (c) 1992 Taito America Corporation (US) */
r5338r5339
20232026   DRIVER( trstar )   /* 1993.?? D53 (c) 1993 Taito Corporation Japan (World) */
20242027   DRIVER( trstarj )   /* 1993.07 D53 (c) 1993 Taito Corporation (Japan) */
20252028   DRIVER( prmtmfgt )   /* 1993.08 D53 (c) 1993 Taito Corporation (US) */
2026   DRIVER( prmtmfgo )   /* 1993.08 D53 (c) 1993 Taito Corporation (US) */
2029   DRIVER( prmtmfgto )   /* 1993.08 D53 (c) 1993 Taito Corporation (US) */
20272030   DRIVER( trstaro )   /* 1993.?? D53 (c) 1993 Taito Corporation (World) */
20282031   DRIVER( trstaroj )   /* 1993.07 D53 (c) 1993 Taito Corporation (Japan) */
20292032   DRIVER( gunlock )   /* 1994.?? D66 (c) 1993 Taito Corporation Japan (World) */
2030   DRIVER( rayforcj )   /* 1994.02 D66 (c) 1993 Taito Corporation (Japan) */
2033   DRIVER( rayforcej )   /* 1994.02 D66 (c) 1993 Taito Corporation (Japan) */
20312034   DRIVER( rayforce )   /* 1994.?? D66 (c) 1993 Taito America Corporation (US) */
20322035   DRIVER( scfinals )   /* 1994.?? D68 (c) 1993 Taito Corporation Japan (World) */
20332036   DRIVER( intcup94 )   /* 1994.?? D78 (c) 1994 Taito (World) */
20342037   DRIVER( hthero94 )   /* 1994.09 D78 (c) 1994 Taito (US) */
2038   DRIVER( lightbr )   /* 1994.03 D69 (c) 1993 Taito Corporation (Japan) */
20352039   DRIVER( dungeonm )   /* 1994.?? D69 (c) 1993 Taito Corporation Japan (World) */
2036   DRIVER( lightbr )   /* 1994.03 D69 (c) 1993 Taito Corporation (Japan) */
2037   DRIVER( dungenmu )   /* 1994.?? D69 (c) 1993 Taito America Corporation (US) */
2040   DRIVER( dungeonmu )   /* 1994.?? D69 (c) 1993 Taito America Corporation (US) */
20382041   DRIVER( kaiserkn )   /* 1994.?? D84 (c) 1994 Taito Corporation Japan (World) */
2039   DRIVER( kaiserkj )   /* 1994.08 D84 (c) 1994 Taito Corporation (Japan) */
2042   DRIVER( kaiserknj )   /* 1994.08 D84 (c) 1994 Taito Corporation (Japan) */
20402043   DRIVER( gblchmp )   /* 1994.10 D84 (c) 1994 Taito America Corporation (US) */
20412044   DRIVER( dankuga )   /* 1994.?? D84? (c) 1994 Taito Corporation (Japan) */
20422045   DRIVER( dariusg )   /* 1994.?? D87 (c) 1994 Taito Corporation Japan (World) */
r5338r5339
20442047   DRIVER( dariusgu )   /* 1994.11 D87 (c) 1994 Taito America Corporation (US) */
20452048   DRIVER( dariusgx )   /* 1994.?? D87 (c) 1994 Taito Corporation */
20462049   DRIVER( bublbob2 )   /* 1994.?? D90 (c) 1994 Taito Corporation Japan (World) */
2047   DRIVER( bubsympe )   /* 1994.?? D90 (c) 1994 Taito Corporation Japan (Europe) */
2048   DRIVER( bubsympu )   /* 1994.10 D90 (c) 1994 Taito America Corporation (US) */
2049   DRIVER( bubsymph )   /* 1994.10 D90 (c) 1994 Taito Corporation (Japan) */
2050   DRIVER( bubsympb )   /* bootleg */
2050   DRIVER( bubsymphe )   /* 1994.?? D90 (c) 1994 Taito Corporation Japan (Europe) */
2051   DRIVER( bubsymphu )   /* 1994.10 D90 (c) 1994 Taito America Corporation (US) */
2052   DRIVER( bubsymphj )   /* 1994.10 D90 (c) 1994 Taito Corporation (Japan) */
2053   DRIVER( bubsymphb )   /* bootleg */
20512054   DRIVER( spcinvdj )   /* 1994.09 D93 (c) 1994 Taito Corporation (Japan) */
20522055   DRIVER( pwrgoal )   /* 1994.?? D94 (c) 1995 Taito Corporation Japan (World) */
20532056   DRIVER( hthero95 )   /* 1994.11 D94 (c) 1995 Taito Corporation (Japan) */
2054   DRIVER( hthro95u )   /* 1995.05 D94 (c) 1995 Taito America Corporation (US) */
2057   DRIVER( hthero95u )   /* 1995.05 D94 (c) 1995 Taito America Corporation (US) */
20552058   DRIVER( qtheater )   /* 1995.01 D95 (c) 1994 Taito Corporation (Japan) */
20562059   DRIVER( elvactr )   /* 1995.?? E02 (c) 1994 Taito Corporation Japan (World) */
20572060   DRIVER( elvactrj )   /* 1995.03 E02 (c) 1994 Taito Corporation (Japan) */
20582061   DRIVER( elvact2u )   /* 1995.05 E02 (c) 1994 Taito America Corporation (US) */
20592062   DRIVER( spcinv95 )   /* 1995.?? E06 (c) 1995 Taito Corporation Japan (World) */
2060   DRIVER( spcnv95u )   /* 1995.05 E06 (c) 1995 Taito America Corporation (US) */
2063   DRIVER( spcinv95u )   /* 1995.05 E06 (c) 1995 Taito America Corporation (US) */
20612064   DRIVER( akkanvdr )   /* 1995.07 E06 (c) 1995 Taito Corporation (Japan) */
20622065   DRIVER( twinqix )   /* 1995.03 ??? (c) 1995 Taito America Corporation (US) */
20632066   DRIVER( quizhuhu )   /* 1995.07 E08 (c) 1995 Taito Corporation (Japan) */
20642067   DRIVER( pbobble2 )   /* 1995.?? E10 (c) 1995 Taito Corporation Japan (World) */
2065   DRIVER( pbobbl2o )   /* 1995.?? E10 (c) 1995 Taito Corporation Japan (World) */
2066   DRIVER( pbobbl2j )   /* 1995.09 E10 (c) 1995 Taito Corporation (Japan) */
2067   DRIVER( pbobbl2u )   /* 1995.11 E10 (c) 1995 Taito America Corporation (US) */
2068   DRIVER( pbobbl2x )   /* 1995.12 E10 (c) 1995 Taito Corporation (Japan) */
2068   DRIVER( pbobble2o )   /* 1995.?? E10 (c) 1995 Taito Corporation Japan (World) */
2069   DRIVER( pbobble2j )   /* 1995.09 E10 (c) 1995 Taito Corporation (Japan) */
2070   DRIVER( pbobble2u )   /* 1995.11 E10 (c) 1995 Taito America Corporation (US) */
2071   DRIVER( pbobble2x )   /* 1995.12 E10 (c) 1995 Taito Corporation (Japan) */
20692072   DRIVER( gekirido )   /* 1995.11 E11 (c) 1995 Taito Corporation (Japan) */
20702073   DRIVER( tcobra2 )   /* 1996.?? E15 (c) 1995 Taito Corporation (World) */
20712074   DRIVER( tcobra2u )   /* 1996.?? E15 (c) 1995 Taito Corporation (US) */
r5338r5339
20742077   DRIVER( bubblemj )   /* 1996.04 E21 (c) 1995 Taito Corporation (Japan) */
20752078   DRIVER( cleopatr )   /* 1996.10 E28 (c) 1996 Taito Corporation (Japan) */
20762079   DRIVER( pbobble3 )   /* 1996.?? E29 (c) 1996 Taito Corporation (World) */
2077   DRIVER( pbobbl3u )   /* 1996.11 E29 (c) 1996 Taito Corporation (US) */
2078   DRIVER( pbobbl3j )   /* 1996.11 E29 (c) 1996 Taito Corporation (Japan) */
2080   DRIVER( pbobble3u )   /* 1996.11 E29 (c) 1996 Taito Corporation (US) */
2081   DRIVER( pbobble3j )   /* 1996.11 E29 (c) 1996 Taito Corporation (Japan) */
20792082   DRIVER( arkretrn )   /* 1997.03 E36 (c) 1997 Taito Corporation (Japan) */
20802083   DRIVER( kirameki )   /* 1997.09 E44 (c) 1997 Taito Corporation (Japan) */
20812084   DRIVER( puchicar )   /* 1997.?? E46 (c) 1997 Taito Corporation (World) */
2082   DRIVER( puchicrj )   /* 1997.12 E46 (c) 1997 Taito Corporation (Japan) */
2085   DRIVER( puchicarj )   /* 1997.12 E46 (c) 1997 Taito Corporation (Japan) */
20832086   DRIVER( pbobble4 )   /* 1998.?? E49 (c) 1997 Taito Corporation (World) */
2084   DRIVER( pbobbl4j )   /* 1998.02 E49 (c) 1997 Taito Corporation (Japan) */
2085   DRIVER( pbobbl4u )   /* 1998.?? E49 (c) 1997 Taito Corporation (US) */
2087   DRIVER( pbobble4j )   /* 1998.02 E49 (c) 1997 Taito Corporation (Japan) */
2088   DRIVER( pbobble4u )   /* 1998.?? E49 (c) 1997 Taito Corporation (US) */
20862089   DRIVER( popnpop )   /* 1998.?? E51 (c) 1997 Taito Corporation (World) */
20872090   DRIVER( popnpopj )   /* 1998.03 E51 (c) 1997 Taito Corporation (Japan) */
20882091   DRIVER( popnpopu )   /* 1998.?? E51 (c) 1997 Taito Corporation (US) */
20892092   DRIVER( landmakr )   /* 1998.08 E61 (c) 1998 Taito Corporation (Japan) */
2090   DRIVER( landmkrp )   /* 1998.?? E61 (c) 1998 Taito Corporation (World, prototype) */
2093   DRIVER( landmakrp )   /* 1998.?? E61 (c) 1998 Taito Corporation (World, prototype) */
20912094   DRIVER( recalh )   /* prototype */
20922095   DRIVER( commandw )   /* prototype */
20932096
r5338r5339
21162119
21172120   /* Toaplan games */
21182121   DRIVER( perfrman )   /* (c) 1985 Data East Corporation (Japan) */
2119   DRIVER( perfrmau )   /* (c) 1985 Data East USA (US) */
2122   DRIVER( perfrmanu )   /* (c) 1985 Data East USA (US) */
21202123   DRIVER( tigerh )   /* A47 (c) 1985 Taito America  Corporation   GX-551 [not a Konami board!] */
21212124   DRIVER( tigerhj )   /* A47 (c) 1985 Taito Corporation   GX-551 [not a Konami board!] */
21222125   DRIVER( tigerhb1 )   /* bootleg but (c) 1985 Taito Corporation */
21232126   DRIVER( tigerhb2 )   /* bootleg but (c) 1985 Taito Corporation */
21242127   DRIVER( tigerhb3 )   /* bootleg but (c) 1985 Taito Corporation */
21252128   DRIVER( slapfigh )   /* A76 / TP-??? */
2126   DRIVER( slapfiga )   /* A76 / TP-??? */
2129   DRIVER( slapfigha )   /* A76 / TP-??? */
21272130   DRIVER( slapbtjp )   /* bootleg but (c) 1986 Taito Corporation */
21282131   DRIVER( slapbtuk )   /* bootleg but (c) 1986 Taito Corporation */
21292132   DRIVER( slapfgtr )   /* bootleg */
r5338r5339
21422145   DRIVER( pyros )      /* B25 / TP-009 (c) 1987 Taito America Corporation (US) */
21432146   DRIVER( wardnerj )   /* B25 / TP-009 (c) 1987 Taito Corporation (Japan) */
21442147   DRIVER( twincobr )   /* B30 / TP-011 (c) 1987 Taito Corporation (World) */
2145   DRIVER( twincobu )   /* B30 / TP-011 (c) 1987 Taito America Corporation + Romstar license (US) */
2148   DRIVER( twincobru )   /* B30 / TP-011 (c) 1987 Taito America Corporation + Romstar license (US) */
21462149   DRIVER( ktiger )   /* B30 / TP-011 (c) 1987 Taito Corporation (Japan) */
21472150   DRIVER( gulfwar2 )   /* (c) 1991 Comad */
21482151
21492152   DRIVER( rallybik )   /* B45 / TP-O12 (c) 1988 Taito */
21502153   DRIVER( truxton )   /* B65 / TP-O13B (c) 1988 Taito */
21512154   DRIVER( hellfire )   /* B90 / TP-??? (c) 1989 Toaplan + Taito license */
2152   DRIVER( hellfir1 )   /* B90 / TP-??? (c) 1989 Toaplan + Taito license */
2153   DRIVER( hellfir2 )   /* B90 / TP-??? (c) 1989 Toaplan + Taito license */
2155   DRIVER( hellfire1 )   /* B90 / TP-??? (c) 1989 Toaplan + Taito license */
2156   DRIVER( hellfire2 )   /* B90 / TP-??? (c) 1989 Toaplan + Taito license */
21542157   DRIVER( zerowing )   /* TP-O15 (c) 1989 Toaplan */
2155   DRIVER( zerowng2 )   /* TP-O15 (c) 1989 Toaplan */
2158   DRIVER( zerowing2 )   /* TP-O15 (c) 1989 Toaplan */
21562159   DRIVER( demonwld )   /* TP-O16 (c) 1990 Toaplan (+ Taito license when set to Japan) */
2157   DRIVER( demonwl1 )   /* TP-O16 (c) 1989 Toaplan + Taito license */
2158   DRIVER( demonwl2 )   /* TP-O16 (c) 1989 Toaplan */
2159   DRIVER( demonwl3 )   /* TP-O16 (c) 1989 Toaplan */
2160   DRIVER( demonwl4 )   /* TP-O16 (c) 1989 Toaplan */
2160   DRIVER( demonwld1 )   /* TP-O16 (c) 1989 Toaplan + Taito license */
2161   DRIVER( demonwld2 )   /* TP-O16 (c) 1989 Toaplan */
2162   DRIVER( demonwld3 )   /* TP-O16 (c) 1989 Toaplan */
2163   DRIVER( demonwld4 )   /* TP-O16 (c) 1989 Toaplan */
21612164   DRIVER( fireshrk )   /* TP-O17 (c) 1990 Toaplan */
2162   DRIVER( fireshd )   /* TP-O17 (c) 1990 Toaplan */
2163   DRIVER( fireshdh )   /* TP-O17 (c) 1990 Toaplan */
2165   DRIVER( fireshrkd )   /* TP-O17 (c) 1990 Toaplan */
2166   DRIVER( fireshrkdh )   /* TP-O17 (c) 1990 Toaplan */
21642167   DRIVER( samesame )   /* TP-O17 (c) 1989 Toaplan */
2165   DRIVER( samesam2 )   /* TP-O17 (c) 1989 Toaplan */
2168   DRIVER( samesame2 )   /* TP-O17 (c) 1989 Toaplan */
21662169   DRIVER( outzone )   /* TP-O18 (c) 1990 Toaplan */
21672170   DRIVER( outzonea )   /* TP-O18 (c) 1990 Toaplan */
21682171   DRIVER( outzoneb )   /* TP-O18 (c) 1990 Toaplan */
r5338r5339
21712174   DRIVER( vimana1 )   /* TP-O19 (c) 1991 Toaplan (+ Tecmo license when set to Japan)  */
21722175   DRIVER( vimanan )   /* TP-O19 (c) 1991 Toaplan (+ Nova Apparate GMBH & Co license) */
21732176   DRIVER( snowbros )   /* MIN16-02 (c) 1990 Toaplan + Romstar license */
2174   DRIVER( snowbroa )   /* MIN16-02 (c) 1990 Toaplan + Romstar license */
2175   DRIVER( snowbrob )   /* MIN16-02 (c) 1990 Toaplan + Romstar license */
2176   DRIVER( snowbroc )   /* MIN16-02 (c) 1990 Toaplan + Romstar license */
2177   DRIVER( snowbroj )   /* MIN16-02 (c) 1990 Toaplan */
2178   DRIVER( snowbrod )   /* MIN16-02 (c) 1990 Toaplan + Dooyong license */
2177   DRIVER( snowbrosa )   /* MIN16-02 (c) 1990 Toaplan + Romstar license */
2178   DRIVER( snowbrosb )   /* MIN16-02 (c) 1990 Toaplan + Romstar license */
2179   DRIVER( snowbrosc )   /* MIN16-02 (c) 1990 Toaplan + Romstar license */
2180   DRIVER( snowbrosj )   /* MIN16-02 (c) 1990 Toaplan */
2181   DRIVER( snowbrosd )   /* MIN16-02 (c) 1990 Toaplan + Dooyong license */
21792182   DRIVER( wintbob )   /* bootleg */
21802183   DRIVER( honeydol )   /* (c) 1995 Barko Corp */
21812184   DRIVER( twinadv )   /* (c) 1995 Barko Corp */
21822185   DRIVER( twinadvk )   /* (c) 1995 Barko Corp */
21832186      /* SemiCom games on snowbros like hardware */
21842187   DRIVER( hyperpac )   /* (c) 1995 SemiCom */
2185   DRIVER( hyperpcb )   /* bootleg */
2188   DRIVER( hyperpacb )   /* bootleg */
21862189   DRIVER( twinkle )   /* (c) 1997 SemiCom */
21872190   DRIVER( toppyrap )   /* (c) 1996 SemiCom */
21882191   DRIVER( cookbib2 )   /* (c) 1996 SemiCom */
r5338r5339
21912194   DRIVER( moremore )   /* (c) 1999 SemiCom + Exit */
21922195   DRIVER( moremorp )   /* (c) 1999 SemiCom + Exit */
21932196   DRIVER( 4in1boot )   /* (c) 2002 but bootleg of 1999 release? */
2194   DRIVER( snowbro3 )   /* (c) 2002 but hack / bootleg of snowbros? */
2197   DRIVER( snowbros3 )   /* (c) 2002 but hack / bootleg of snowbros? */
21952198   DRIVER( finalttr )   /* (c) 1993 Jeil Computer System */
21962199
21972200   /* More Toaplan Games */
r5338r5339
22072210   DRIVER( whoopee )   /* TP-025 */
22082211   DRIVER( pipibibi )   /* (c) 1991 Ryouta Kikaku (bootleg?) */
22092212   DRIVER( fixeight )   /* TP-026 (c) 1992 + Taito license */
2210   DRIVER( fixeighb )   /* bootleg */
2213   DRIVER( fixeightb )   /* bootleg */
22112214   DRIVER( vfive )      /* TP-027 (c) 1993 Toaplan (Japan) */
22122215   DRIVER( grindstm )   /* TP-027 (c) 1993 Toaplan + Unite Trading license (Korea) */
2213   DRIVER( grindsta )   /* TP-027 (c) 1993 Toaplan + Unite Trading license (Korea) */
2216   DRIVER( grindstma )   /* TP-027 (c) 1993 Toaplan + Unite Trading license (Korea) */
22142217   DRIVER( batsugun )   /* TP-030 (c) 1993 Toaplan */
2215   DRIVER( batsugna )   /* TP-030 (c) 1993 Toaplan */
2216   DRIVER( batugnsp )   /* TP-??? (c) 1993 Toaplan */
2218   DRIVER( batsuguna )   /* TP-030 (c) 1993 Toaplan */
2219   DRIVER( batsugunsp )/* TP-??? (c) 1993 Toaplan */
22172220   DRIVER( snowbro2 )   /* TP-??? (c) 1994 Hanafram */
22182221   DRIVER( sstriker )   /* (c) 1993 Raizing */
2219   DRIVER( sstrikra )   /* (c) 1993 Raizing */
2222   DRIVER( sstrikera )   /* (c) 1993 Raizing */
22202223   DRIVER( mahoudai )   /* (c) 1993 Raizing + Able license */
22212224   DRIVER( shippumd )   /* (c) 1994 Raizing/8ing */
22222225   DRIVER( kingdmgp )   /* (c) 1994 Raizing/8ing (hack?) */
22232226   DRIVER( bgaregga )   /* (c) 1996 Raizing/8ing */
2224   DRIVER( bgareghk )   /* (c) 1996 Raizing/8ing */
2225   DRIVER( bgaregnv )   /* (c) 1996 Raizing/8ing */
2226   DRIVER( bgaregt2 )   /* (c) 1996 Raizing/8ing */
2227   DRIVER( bgaregcn )   /* (c) 1996 Raizing/8ing */
2227   DRIVER( bgareggahk )   /* (c) 1996 Raizing/8ing */
2228   DRIVER( bgaregganv )   /* (c) 1996 Raizing/8ing */
2229   DRIVER( bgareggat2 )   /* (c) 1996 Raizing/8ing */
2230   DRIVER( bgareggacn )   /* (c) 1996 Raizing/8ing */
22282231   DRIVER( batrid )   /* (c) 1998 Raizing/8ing */
22292232   DRIVER( batridu )   /* (c) 1998 Raizing/8ing */
22302233   DRIVER( batridc )   /* (c) 1998 Raizing/8ing */
r5338r5339
22822285   /* Cave games */
22832286   /* Cave was formed in 1994 from the ruins of Toaplan, like Raizing was. */
22842287   DRIVER( pwrinst2 )   /* (c) 1994 Atlus */
2285   DRIVER( pwrins2j )   /* (c) 1994 Atlus */
2288   DRIVER( pwrinst2j )   /* (c) 1994 Atlus */
22862289   DRIVER( plegends )   /* (c) 1994 Atlus */
2287   DRIVER( plegendj )   /* (c) 1994 Atlus */
2290   DRIVER( plegendsj )   /* (c) 1994 Atlus */
22882291   DRIVER( mazinger )   /* (c) 1994 Banpresto (country is in EEPROM) */
22892292   DRIVER( donpachi )   /* (c) 1995 Atlus/Cave */
2290   DRIVER( donpacjp )   /* (c) 1995 Atlus/Cave */
2291   DRIVER( donpackr )   /* (c) 1995 Atlus/Cave */
2292   DRIVER( donpachk )   /* (c) 1995 Atlus/Cave */
2293   DRIVER( donpachij )   /* (c) 1995 Atlus/Cave */
2294   DRIVER( donpachikr )   /* (c) 1995 Atlus/Cave */
2295   DRIVER( donpachihk )   /* (c) 1995 Atlus/Cave */
22932296   DRIVER( metmqstr )   /* (c) 1995 Banpresto / Pandorabox */
22942297   DRIVER( nmaster )   /* (c) 1995 Banpresto / Pandorabox */
22952298   DRIVER( sailormn )   /* (c) 1995 Banpresto (country is in EEPROM) */
2296   DRIVER( sailormo )   /* (c) 1995 Banpresto (country is in EEPROM) */
2299   DRIVER( sailormno )   /* (c) 1995 Banpresto (country is in EEPROM) */
22972300   DRIVER( agallet )   /* (c) 1996 Banpresto / Gazelle (country is in EEPROM) */
22982301   DRIVER( hotdogst )   /* (c) 1996 Marble */
22992302   DRIVER( ddonpach )   /* (c) 1997 Atlus/Cave */
2300   DRIVER( ddonpchj )   /* (c) 1997 Atlus/Cave */
2303   DRIVER( ddonpachj )   /* (c) 1997 Atlus/Cave */
23012304   DRIVER( dfeveron )   /* (c) 1998 Cave + Nihon System license */
23022305   DRIVER( feversos )   /* (c) 1998 Cave + Nihon System license */
23032306   DRIVER( esprade )   /* (c) 1998 Atlus/Cave */
23042307   DRIVER( espradej )   /* (c) 1998 Atlus/Cave (Japan) */
2305   DRIVER( espradeo )   /* (c) 1998 Atlus/Cave (Japan) */
2308   DRIVER( espradejo )   /* (c) 1998 Atlus/Cave (Japan) */
23062309   DRIVER( uopoko )   /* (c) 1998 Cave + Jaleco license */
23072310   DRIVER( uopokoj )   /* (c) 1998 Cave + Jaleco license */
23082311   DRIVER( guwange )   /* (c) 1999 Atlus/Cave */
r5338r5339
23142317   /* Kyugo only made four games: Repulse, Flash Gal, SRD Mission and Air Wolf. */
23152318   /* Gyrodine was made by Crux. Crux was antecedent of Toa Plan, and spin-off from Orca. */
23162319   DRIVER( gyrodine )   /* (c) 1984 Crux (Taito Corporation license) */
2317   DRIVER( gyrodinc )   /* (c) 1984 Crux */
2320   DRIVER( gyrodinec )   /* (c) 1984 Crux */
23182321   DRIVER( buzzard )   /* (c) 1984 Crux */
23192322   DRIVER( sonofphx )   /* (c) 1985 Associated Overseas MFR */
23202323   DRIVER( repulse )   /* (c) 1985 Sega */
23212324   DRIVER( 99lstwar )   /* (c) 1985 Proma */
2322   DRIVER( 99lstwra )   /* (c) 1985 Proma */
2323   DRIVER( 99lstwrk )   /* (c) 1985 Kyugo */
2325   DRIVER( 99lstwara )   /* (c) 1985 Proma */
2326   DRIVER( 99lstwark )   /* (c) 1985 Kyugo */
23242327   DRIVER( flashgal )   /* (c) 1985 Sega */
2325   DRIVER( flashgla )   /* (c) 1985 Sega */
2328   DRIVER( flashgala )   /* (c) 1985 Sega */
23262329   DRIVER( srdmissn )   /* (c) 1986 Taito Corporation */
23272330   DRIVER( fx )      /* bootleg */
23282331   DRIVER( legend )   /* no copyright notice [1986 Sega/Coreland] (Arcade TV Game List - P.104, Left, 14 from top) */
r5338r5339
23332336
23342337   /* Williams games */
23352338   DRIVER( defender )   /* (c) 1980 */
2336   DRIVER( defendg )   /* (c) 1980 */
2337   DRIVER( defendb )   /* (c) 1980 */
2338   DRIVER( defendw )   /* (c) 1980 */
2339   DRIVER( defenderg )   /* (c) 1980 */
2340   DRIVER( defenderb )   /* (c) 1980 */
2341   DRIVER( defenderw )   /* (c) 1980 */
23392342   DRIVER( defndjeu )   /* bootleg */
23402343   DRIVER( tornado1 )   /* bootleg */
23412344   DRIVER( tornado2 )   /* bootleg */
r5338r5339
23522355   DRIVER( jin )      /* Falcon bootleg/hack */
23532356   DRIVER( stargate )   /* (c) 1981 */
23542357   DRIVER( robotron )   /* (c) 1982 */
2355   DRIVER( robotryo )   /* (c) 1982 */
2358   DRIVER( robotronyo )/* (c) 1982 */
23562359   DRIVER( joust )      /* (c) 1982 */
23572360   DRIVER( joustr )   /* (c) 1982 */
23582361   DRIVER( joustwr )   /* (c) 1982 */
r5338r5339
23612364   DRIVER( bubblesp )   /* (c) 1982 */
23622365   DRIVER( splat )      /* (c) 1982 */
23632366   DRIVER( sinistar )   /* (c) 1982 */
2364   DRIVER( sinista1 )   /* (c) 1982 */
2365   DRIVER( sinista2 )   /* (c) 1982 */
2367   DRIVER( sinistar1 )   /* (c) 1982 */
2368   DRIVER( sinistar2 )   /* (c) 1982 */
23662369   DRIVER( playball )   /* (c) 1983 */
23672370   DRIVER( blaster )   /* (c) 1983 */
2368   DRIVER( blast30 )   /* (c) 1983 */
2369   DRIVER( blastkit )   /* (c) 1983 */
2371   DRIVER( blaster30 )   /* (c) 1983 */
2372   DRIVER( blasterkit )   /* (c) 1983 */
23702373   DRIVER( spdball )   /* (c) 1985 */
23712374   DRIVER( alienar )   /* (c) 1985 Duncan Brown */
23722375   DRIVER( alienaru )   /* (c) 1985 Duncan Brown */
r5338r5339
23942397   DRIVER( exedexes )   /*  2/1985 (c) 1985 */
23952398   DRIVER( savgbees )   /*  2/1985 (c) 1985 + Memetron license */
23962399   DRIVER( commando )   /*  5/1985 (c) 1985 (World) */
2397   DRIVER( commandu )   /*  5/1985 (c) 1985 + Data East license (US) */
2398   DRIVER( commandj )   /*  5/1985 (c) 1985 (Japan) */
2399   DRIVER( commandb )   /* bootleg */
2400   DRIVER( commandou )   /*  5/1985 (c) 1985 + Data East license (US) */
2401   DRIVER( commandoj )   /*  5/1985 (c) 1985 (Japan) */
2402   DRIVER( commandob )   /* bootleg */
24002403   DRIVER( sinvasn )   /* Europe original? */
24012404   DRIVER( sinvasnb )   /* bootleg */
24022405   DRIVER( gng )      /*  9/1985 (c) 1985 */
r5338r5339
24052408   DRIVER( gngblita )   /* bootleg */
24062409   DRIVER( gngt )      /*  9/1985 (c) 1985 */
24072410   DRIVER( makaimur )   /*  9/1985 (c) 1985 */
2408   DRIVER( makaimuc )   /*  9/1985 (c) 1985 */
2409   DRIVER( makaimug )   /*  9/1985 (c) 1985 */
2411   DRIVER( makaimurc )   /*  9/1985 (c) 1985 */
2412   DRIVER( makaimurg )   /*  9/1985 (c) 1985 */
24102413   DRIVER( diamond )   /* (c) 1989 KH Video (NOT A CAPCOM GAME but runs on GnG hardware) */
24112414   DRIVER( gunsmoke )   /* 11/1985 (c) 1985 (World) */
2412   DRIVER( gunsmoku )   /* 11/1985 (c) 1985 + Romstar (US) */
2413   DRIVER( gunsmoka )   /* 11/1985 (c) 1985 (US) */
2414   DRIVER( gunsmokj )   /* 11/1985 (c) 1985 (Japan) */
2415   DRIVER( gunsmokeu )   /* 11/1985 (c) 1985 + Romstar (US) */
2416   DRIVER( gunsmokeua )/* 11/1985 (c) 1985 (US) */
2417   DRIVER( gunsmokej )   /* 11/1985 (c) 1985 (Japan) */
24152418   DRIVER( sectionz )   /* 12/1985 (c) 1985 */
2416   DRIVER( sctionza )   /* 12/1985 (c) 1985 */
2419   DRIVER( sectionza )   /* 12/1985 (c) 1985 */
24172420   DRIVER( trojan )   /*  4/1986 (c) 1986 (US) */
24182421   DRIVER( trojanr )   /*  4/1986 (c) 1986 + Romstar */
24192422   DRIVER( trojanj )   /*  4/1986 (c) 1986 (Japan) */
24202423   DRIVER( srumbler )   /*  9/1986 (c) 1986 */
2421   DRIVER( srumblr2 )   /*  9/1986 (c) 1986 */
2424   DRIVER( srumbler2 )   /*  9/1986 (c) 1986 */
24222425   DRIVER( rushcrsh )   /*  9/1986 (c) 1986 */
24232426   DRIVER( lwings )   /* 11/1986 (c) 1986 */
24242427   DRIVER( lwings2 )   /* 11/1986 (c) 1986 */
2425   DRIVER( lwingsjp )   /* 11/1986 (c) 1986 */
2428   DRIVER( lwingsj )   /* 11/1986 (c) 1986 */
24262429   DRIVER( lwingsb )   /* 11/1986 (c) 1986 (bootleg)*/
24272430   DRIVER( sidearms )   /* 12/1986 (c) 1986 (World) */
2428   DRIVER( sidearmr )   /* 12/1986 (c) 1986 + Romstar license (US) */
2429   DRIVER( sidearjp )   /* 12/1986 (c) 1986 (Japan) */
2431   DRIVER( sidearmsr )   /* 12/1986 (c) 1986 + Romstar license (US) */
2432   DRIVER( sidearmsj )   /* 12/1986 (c) 1986 (Japan) */
24302433   DRIVER( turtship )   /* (c) 1988 Philco (NOT A CAPCOM GAME but runs on modified Sidearms hardware) */
2431   DRIVER( turtshij )   /* (c) 1988 Philco (NOT A CAPCOM GAME but runs on modified Sidearms hardware) */
2432   DRIVER( turtshik )   /* (c) 1988 Philco (NOT A CAPCOM GAME but runs on modified Sidearms hardware) */
2434   DRIVER( turtshipj )   /* (c) 1988 Philco (NOT A CAPCOM GAME but runs on modified Sidearms hardware) */
2435   DRIVER( turtshipk )   /* (c) 1988 Philco (NOT A CAPCOM GAME but runs on modified Sidearms hardware) */
24332436   DRIVER( dyger )      /* (c) 1989 Philco (NOT A CAPCOM GAME but runs on modified Sidearms hardware) */
24342437   DRIVER( dygera )   /* (c) 1989 Philco (NOT A CAPCOM GAME but runs on modified Sidearms hardware) */
24352438   DRIVER( twinfalc )   /* (c) 1989 Philko (Poara Enterprises license) (NOT A CAPCOM GAME but runs on modified Sidearms hardware) */
24362439   DRIVER( whizz )      /* (c) 1989 Philco (NOT A CAPCOM GAME but runs on modified Sidearms hardware) */
24372440   DRIVER( avengers )   /*  2/1987 (c) 1987 (US) */
2438   DRIVER( avenger2 )   /*  2/1987 (c) 1987 (US) */
2441   DRIVER( avengers2 )   /*  2/1987 (c) 1987 (US) */
24392442   DRIVER( buraiken )   /*  2/1987 (c) 1987 (Japan) */
24402443   DRIVER( bionicc )   /*  3/1987 (c) 1987 (Euro) */
24412444   DRIVER( bionicc1 )   /*  3/1987 (c) 1987 (US) */
r5338r5339
24502453   DRIVER( blkdrgonb )   /* bootleg, hacked to say Black Tiger */
24512454   DRIVER( sf )      /*  8/1987 (c) 1987 (World) */
24522455   DRIVER( sfus )      /*  8/1987 (c) 1987 (US) */
2453   DRIVER( sfjp )      /*  8/1987 (c) 1987 (Japan) */
2456   DRIVER( sfj )      /*  8/1987 (c) 1987 (Japan) */
24542457   DRIVER( sfp )      /*  8/1987 (c) 1987 */
24552458   DRIVER( tigeroad )   /* 11/1987 (c) 1987 + Romstar (US) */
24562459   DRIVER( toramich )   /* 11/1987 (c) 1987 (Japan) */
2457   DRIVER( tigerodb )   /* bootleg */
2460   DRIVER( tigeroadb )   /* bootleg */
24582461   DRIVER( f1dream )   /*  4/1988 (c) 1988 + Romstar */
24592462   DRIVER( f1dreamb )   /* bootleg */
24602463   DRIVER( 1943kai )   /*  6/1988 (c) 1987 (Japan) */
r5338r5339
24642467   DRIVER( madgear )   /*  2/1989 (c) 1989 (US) */
24652468   DRIVER( madgearj )   /*  2/1989 (c) 1989 (Japan) */
24662469   DRIVER( ledstorm )   /*  1988 (c) 1988 (US) */
2467   DRIVER( ledstrm2 )   /*  1988 (c) 1988 (US) */
2470   DRIVER( ledstorm2 )   /*  1988 (c) 1988 (US) */
24682471   /*  3/1989 Dokaben (baseball) - see below among "Mitchell" games */
24692472   /*  8/1989 Dokaben 2 (baseball) - see below among "Mitchell" games */
24702473   /* 10/1989 Capcom Baseball - see below among "Mitchell" games */
r5338r5339
24802483
24812484   /* Capcom CPS1 games */
24822485   DRIVER( forgottn )   /*  7/1988 (c) 1988 (World) */
2483   DRIVER( forgottu )   /*  7/1988 (c) 1988 (US) */
2486   DRIVER( forgottnu )   /*  7/1988 (c) 1988 (US) */
24842487   DRIVER( lostwrld )   /*  7/1988 (c) 1988 (Japan) */
24852488   DRIVER( lostwrldo )   /*  7/1988 (c) 1988 (Japan) */
24862489   DRIVER( ghouls )   /* 12/1988 (c) 1988 (World) */
r5338r5339
24882491   DRIVER( daimakai )   /* 12/1988 (c) 1988 (Japan) */
24892492   DRIVER( daimakair )   /* 12/1988 (c) 1988 (Japan) */
24902493   DRIVER( strider )   /*  3/1989 (c) 1989 (not explicitly stated but should be US) */
2491   DRIVER( stridrua )   /*  3/1989 (c) 1989 (not explicitly stated but should be US) */
2494   DRIVER( striderua )   /*  3/1989 (c) 1989 (not explicitly stated but should be US) */
24922495   DRIVER( striderj )   /*  3/1989 (c) 1989 */
24932496   DRIVER( striderjr )   /*  3/1989 (c) 1989 */
24942497   DRIVER( dynwar )   /*  4/1989 (c) 1989 (World) */
r5338r5339
25382541   DRIVER( sf2ja )      /* 14/02/1991 (c) 1991 (Japan) */
25392542   DRIVER( sf2jc )      /* 06/03/1991 (c) 1991 (Japan) */
25402543   DRIVER( 3wonders )   /* 20/05/1991 (c) 1991 (World) */
2541   DRIVER( 3wonderu )   /* 20/05/1991 (c) 1991 (US)    */
2544   DRIVER( 3wondersu )   /* 20/05/1991 (c) 1991 (US)    */
25422545   DRIVER( wonder3 )   /* 20/05/1991 (c) 1991 (Japan) */
2543   DRIVER( 3wonderh )   /* hack? */
2546   DRIVER( 3wondersh )   /* hack? */
25442547   DRIVER( kod )      /* 11/07/1991 (c) 1991 (World) */
25452548   DRIVER( kodu )      /* 10/09/1991 (c) 1991 (US)    */
25462549   DRIVER( kodj )      /* 05/08/1991 (c) 1991 (Japan) */
25472550   DRIVER( kodb )      /* bootleg */
25482551   DRIVER( captcomm )   /* 14/10/1991 (c) 1991 (World) */
2549   DRIVER( captcomu )   /* 28/ 9/1991 (c) 1991 (US)    */
2550   DRIVER( captcomj )   /* 02/12/1991 (c) 1991 (Japan) */
2551   DRIVER( captcomb )   /* bootleg */
2552   DRIVER( captcommu )   /* 28/ 9/1991 (c) 1991 (US)    */
2553   DRIVER( captcommj )   /* 02/12/1991 (c) 1991 (Japan) */
2554   DRIVER( captcommb )   /* bootleg */
25522555   DRIVER( knights )   /* 27/11/1991 (c) 1991 (World) */
25532556   DRIVER( knightsu )   /* 27/11/1991 (c) 1991 (US)    */
25542557   DRIVER( knightsj )   /* 27/11/1991 (c) 1991 (Japan) */
r5338r5339
25932596   DRIVER( dinopic )   /* bootleg */
25942597   DRIVER( dinopic2 )   /* bootleg */
25952598   DRIVER( punisher )   /* 22/04/1993 (c) 1993 (World) (CPS1 + QSound) */
2596   DRIVER( punishru )   /* 22/04/1993 (c) 1993 (US)    (CPS1 + QSound) */
2597   DRIVER( punishrj )   /* 22/04/1993 (c) 1993 (Japan) (CPS1 + QSound) */
2599   DRIVER( punisheru )   /* 22/04/1993 (c) 1993 (US)    (CPS1 + QSound) */
2600   DRIVER( punisherj )   /* 22/04/1993 (c) 1993 (Japan) (CPS1 + QSound) */
25982601   DRIVER( punipic )   /* bootleg */
25992602   DRIVER( punipic2 )   /* bootleg */
26002603   DRIVER( punipic3 )   /* bootleg */
26012604   DRIVER( slammast )   /* 13/07/1993 (c) 1993 (World) (CPS1 + QSound) */
2602   DRIVER( slammasu )   /* 13/07/1993 (c) 1993 (US)    (CPS1 + QSound) */
2605   DRIVER( slammastu )   /* 13/07/1993 (c) 1993 (US)    (CPS1 + QSound) */
26032606   DRIVER( mbomberj )   /* 13/07/1993 (c) 1993 (Japan) (CPS1 + QSound) */
26042607   DRIVER( mbombrd )   /* 06/12/1993 (c) 1993 (World) (CPS1 + QSound) */
26052608   DRIVER( mbombrdj )   /* 06/12/1993 (c) 1993 (Japan) (CPS1 + QSound) */
r5338r5339
26282631   DRIVER( ssf2tbr1 )   /* 11/09/1993 (c) 1993 (World) */
26292632   DRIVER( ssf2tbj )   /* 11/09/1993 (c) 1993 (Japan) */
26302633   DRIVER( ecofghtr )   /* 03/12/1993 (c) 1993 (World) */
2631   DRIVER( ecofghtu )   /* 15/02/1994 (c) 1993 (US) */
2632   DRIVER( ecofgtu1 )   /* 03/12/1993 (c) 1993 (US) */
2633   DRIVER( ecofghta )   /* 03/12/1993 (c) 1993 (Asia) */
2634   DRIVER( ecofghtru )   /* 15/02/1994 (c) 1993 (US) */
2635   DRIVER( ecofghtru1 )/* 03/12/1993 (c) 1993 (US) */
2636   DRIVER( ecofghtra )   /* 03/12/1993 (c) 1993 (Asia) */
26342637   DRIVER( uecology )    /* 03/12/1993 (c) 1993 (Japan) */
26352638   DRIVER( ddtod )      /* 12/04/1994 (c) 1993 (Euro) */
26362639   DRIVER( ddtodr1 )   /* 13/01/1994 (c) 1993 (Euro) */
r5338r5339
27382741   DRIVER( spf2ta )   /* 29/05/1996 (c) 1996 (Asia) */
27392742   DRIVER( qndream )   /* 26/06/1996 (c) 1996 (Japan) */
27402743   DRIVER( megaman2 )   /* 08/07/1996 (c) 1996 (US) */
2741   DRIVER( megamn2a )   /* 08/07/1996 (c) 1996 (Asia) */
2744   DRIVER( megaman2a )   /* 08/07/1996 (c) 1996 (Asia) */
27422745   DRIVER( rckman2j )   /* 08/07/1996 (c) 1996 (Japan) */
27432746   DRIVER( gigamn2 )   /* bootleg */
27442747   DRIVER( sfz2al )   /* 26/08/1996 (c) 1996 (Asia) */
r5338r5339
28062809   DRIVER( sfz3a )      /* 04/09/1998 (c) 1998 (Asia) */
28072810   DRIVER( sfz3ar1 )   /* 01/07/1998 (c) 1998 (Asia) */
28082811   DRIVER( gigawing )   /* 22/02/1999 (c) 1999 Takumi (US) */
2809   DRIVER( gwingj )   /* 23/02/1999 (c) 1999 Takumi (Japan) */
2810   DRIVER( gwinga )   /* 22/02/1999 (c) 1999 Takumi (Asia) */
2811   DRIVER( gwingb )   /* 22/02/1999 (c) 1999 Takumi (Brazil) */
2812   DRIVER( gigawingj )   /* 23/02/1999 (c) 1999 Takumi (Japan) */
2813   DRIVER( gigawinga )   /* 22/02/1999 (c) 1999 Takumi (Asia) */
2814   DRIVER( gigawingb )   /* 22/02/1999 (c) 1999 Takumi (Brazil) */
28122815   DRIVER( jyangoku )   /* 27/05/1999 (c) 1999 (Japan) */
28132816   DRIVER( dimahoo )   /* 21/01/2000 (c) 2000 Eighting/Raizing (US) */
28142817   DRIVER( dimahoou )   /* 21/01/2000 (c) 2000 Eighting/Raizing (US) */
r5338r5339
29022905   /* Capcom ZN2 */
29032906   DRIVER( cpzn2 )
29042907   DRIVER( rvschool )   /* Rival Schools (USA 971117) */
2905   DRIVER( rvschola )   /* Rival Schools (ASIA 971117) */
2908   DRIVER( rvschoola )   /* Rival Schools (ASIA 971117) */
29062909   DRIVER( jgakuen )   /* Justice Gakuen (JAPAN 971117) */
29072910   DRIVER( sfex2 )      /* Street Fighter EX 2 (USA 980526) */
29082911   DRIVER( sfex2j )   /* Street Fighter EX 2 (JAPAN 980312) */
29092912   DRIVER( sfex2a )   /* Street Fighter EX 2 (ASIA 980312) */
29102913   DRIVER( plsmaswd )   /* Plasma Sword (USA 980316) */
29112914   DRIVER( stargld2 )   /* Star Gladiator 2 (JAPAN 980316) */
2912   DRIVER( plsmswda )   /* Plasma Sword (ASIA 980316) */
2915   DRIVER( plsmaswda )   /* Plasma Sword (ASIA 980316) */
29132916   DRIVER( tgmj )      /* Tetris The Grand Master (JAPAN 980710) */
29142917   DRIVER( techromn )   /* Tech Romancer (EURO 980914) */
2915   DRIVER( techromu )   /* Tech Romancer (USA 980914) */
2918   DRIVER( techromnu )   /* Tech Romancer (USA 980914) */
29162919   DRIVER( kikaioh )   /* Kikaioh (JAPAN 980914) */
29172920   DRIVER( sfex2p )   /* Street Fighter EX 2 Plus (USA 990611) */
29182921   DRIVER( sfex2pa )   /* Street Fighter EX 2 Plus (ASIA 990611) */
29192922   DRIVER( sfex2pj )   /* Street Fighter EX 2 Plus (JAPAN 990611) */
29202923   DRIVER( strider2 )   /* Strider 2 (USA 991213) */
2921   DRIVER( stridr2a )   /* Strider 2 (ASIA 991213) */
2924   DRIVER( strider2a )   /* Strider 2 (ASIA 991213) */
29222925   DRIVER( shiryu2 )   /* Strider Hiryu 2 (JAPAN 991213) */
29232926
29242927   /* Tecmo ZN1 */
29252928   DRIVER( tps )
29262929   DRIVER( glpracr2 )   /* Gallop Racer 2 (USA) */
2927   DRIVER( glprac2j )   /* Gallop Racer 2 (JAPAN) */
2928   DRIVER( glprac2l )   /* Gallop Racer 2 Link HW (JAPAN) */
2930   DRIVER( glpracr2j )   /* Gallop Racer 2 (JAPAN) */
2931   DRIVER( glpracr2l )   /* Gallop Racer 2 Link HW (JAPAN) */
29292932   DRIVER( doapp )      /* Dead Or Alive ++ (JAPAN) */
29302933   DRIVER( cbaj )      /* Cool Boaders Arcade Jam */
29312934   DRIVER( shngmtkb )   /* Shanghai Matekibuyuu */
29322935   DRIVER( tondemo )   /* Tondemo Crisis (JAPAN) */
29332936   DRIVER( glpracr3 )   /* Gallop Racer 3 (JAPAN) */
29342937   DRIVER( flamegun )   /* Flame Gunner (USA) */
2935   DRIVER( flameguj )   /* Flame Gunner (JAPAN) */
2938   DRIVER( flamegunj )   /* Flame Gunner (JAPAN) */
29362939   DRIVER( tblkkuzu )   /* The Block Kuzushi (JAPAN) */
29372940   DRIVER( 1on1gov )   /* 1 on 1 Government (JAPAN) */
29382941   DRIVER( tecmowcm )   /* Tecmo World Cup Millenium (JAPAN) */
r5338r5339
29742977   DRIVER( sfchamp )   /* Super Football Champ (Ver 2.5J) */
29752978   DRIVER( sfchampj )   /* Super Football Champ (Ver 2.4J) */
29762979   DRIVER( psyforce )   /* Psychic Force (Ver 2.4O) */
2977   DRIVER( psyforcj )   /* Psychic Force (Ver 2.4J) */
2978   DRIVER( psyfrcex )   /* Psychic Force EX (Ver 2.0J) */
2980   DRIVER( psyforcej )   /* Psychic Force (Ver 2.4J) */
2981   DRIVER( psyforcex )   /* Psychic Force EX (Ver 2.0J) */
29792982   DRIVER( mgcldate )   /* Magical Date (JAPAN Ver 2.02J) */
29802983   DRIVER( mgcldtex )   /* Magical Date EX (JAPAN Ver 2.01J) */
29812984
29822985   /* Taito FX1b */
29832986   DRIVER( raystorm )   /* Ray Storm (Ver 2.06A) */
2984   DRIVER( raystorj )   /* Ray Storm (Ver 2.05J) */
2987   DRIVER( raystormj )   /* Ray Storm (Ver 2.05J) */
29852988   DRIVER( ftimpact )   /* Fighters' Impact (Ver 2.02O) */
29862989   DRIVER( ftimpactj )   /* Fighters' Impact (Ver 2.02J) */
29872990   DRIVER( ftimpcta )   /* Fighters' Impact A (Ver 2.00J) */
r5338r5339
29922995   /* Taito GNET */
29932996   DRIVER( taitogn )
29942997   DRIVER( chaoshea )   /* 1998.10 Chaos Heat (V2.09O) */
2995   DRIVER( chaoshej )   /* 1998.10 Chaos Heat (V2.08J) */
2998   DRIVER( chaosheaj )   /* 1998.10 Chaos Heat (V2.08J) */
29962999   DRIVER( raycris )   /* 1998.12 Ray Crisis (V2.03J) */
29973000   DRIVER( otenamih )   /* 1999.02 Otenami Haiken (Success) */
29983001   DRIVER( otenamhf )   /* 2005.04 Otenami Haiken Final (V2.07JC) */
2999   DRIVER( spuzbobj )   /* 1999.03 Super Puzzle Bobble (Japan) */
3002   DRIVER( spuzboblj )   /* 1999.03 Super Puzzle Bobble (Japan) */
30003003   DRIVER( spuzbobl )   /* 1999.?? Super Puzzle Bobble (V2.05O) */
30013004   DRIVER( gobyrc )   /* 1999.?? Go By RC (V2.03O) */
30023005   DRIVER( rcdego )   /* 1999.06 RC De Go (V2.03J) */
r5338r5339
30283031                  /* 1995.10 Tekken 2 Ver.B (TES1/VER.B, Japan) */
30293032   DRIVER( tekken2b )   /* 1995.?? Tekken 2 (TES2/VER.A) */
30303033                  /* 1995.08 Tekken 2 (TES1, Japan) */
3031   DRIVER( souledgb )   /* 1996.?? Soul Edge (SO3/VER.A) */
3032   DRIVER( souledgc )   /* 1996.02 Soul Edge (SO1/VER.A, Japan) */
3034   DRIVER( souledge1 )   /* 1996.?? Soul Edge (SO3/VER.A) */
3035   DRIVER( souledge1j )/* 1996.02 Soul Edge (SO1/VER.A, Japan) */
30333036   DRIVER( primglex )   /* 1996.03 Prime Goal EX (PG1/VER.A, Japan) */
30343037   DRIVER( xevi3dg )   /* 1996.05 Xevious 3D/G (XV31/VER.A, Japan) */
30353038   DRIVER( souledge )   /* 1996.?? Soul Edge Ver. II (SO4/VER.C) */
3036   DRIVER( souledga )   /* 1996.?? Soul Edge Ver. II (SO3/VER.C) */
3039   DRIVER( souledgea )   /* 1996.?? Soul Edge Ver. II (SO3/VER.C) */
30373040                  /* 1996.05 Soul Edge Ver. II (SO1, Japan) */
30383041   DRIVER( dunkmnia )   /* 1996.?? Dunk Mania (DM1/VER.C) */
3039   DRIVER( dunkmnic )   /* 1996.05 Dunk Mania (DM1/VER.C, Japan) */
3042   DRIVER( dunkmniaj )   /* 1996.05 Dunk Mania (DM1/VER.C, Japan) */
30403043   DRIVER( danceyes )   /* 1996.09 Dancing Eyes (DC1/VER.A, Japan) */
30413044   DRIVER( pocketrc )   /* 1997.03 Pocket Racer (PKR1/VER.B, Japan) */
30423045   DRIVER( starswep )   /* 1997.07 Star Sweep (STP1/VER.A, Japan) */
r5338r5339
30573060   DRIVER( ehrgeizj )   /* 1998.05 Ehrgeiz (EG1, Japan) */
30583061   DRIVER( sws98 )      /* 1998.06 Super World Stadium '98 (SS81/VER.A, Japan) */
30593062   DRIVER( soulclbr )   /* 1998.?? Soul Calibur (SOC14/VER.C) */
3060   DRIVER( soulclba )   /* 1998.07 Soul Calibur (SOC11/VER.C, Japan) */
3061   DRIVER( soulclbb )   /* 1998.?? Soul Calibur (SOC13/VER.B) */
3062   DRIVER( soulclbc )   /* 1998.?? Soul Calibur (SOC11/VER.B, Japan) */
3063   DRIVER( soulclbd )   /* 1998.?? Soul Calibur (SOC11/VER.A2, Japan) */
3063   DRIVER( soulclbrj )   /* 1998.07 Soul Calibur (SOC11/VER.C, Japan) */
3064   DRIVER( soulclbrb )   /* 1998.?? Soul Calibur (SOC13/VER.B) */
3065   DRIVER( soulclbrjb )/* 1998.?? Soul Calibur (SOC11/VER.B, Japan) */
3066   DRIVER( soulclbrja )/* 1998.?? Soul Calibur (SOC11/VER.A2, Japan) */
30643067                  /* 1998.07 Techno Drive */
30653068   DRIVER( mdhorse )   /* 1998.11 Derby Quiz My Dream Horse (MDH1/VER.A2, Japan) */
30663069                  /* 1998.12 Attack Pla Rail */
30673070   DRIVER( tenkomor )   /* 1998.?? Tenkomori Shooting (TKM2/VER.A1) */
3068   DRIVER( tenkomoj )   /* 1998.12 Tenkomori Shooting (TKM1/VER.A1, Japan) */
3071   DRIVER( tenkomorj )   /* 1998.12 Tenkomori Shooting (TKM1/VER.A1, Japan) */
30693072   DRIVER( pacapp )   /* 1998.12 Paca Paca Passion (PPP1/VER.A2, Japan) */
30703073   DRIVER( fgtlayer )   /* 1998.12 Fighting Layer (FTL0/VER.A, Japan) */
30713074                  /* 1999.01 Bust A Move (Metro) */
r5338r5339
32643267   DRIVER( 7toitsu )   /* (c) 1988 Yuga */
32653268   DRIVER( mgakuen2 )   /* (c) 1989 Face */
32663269   DRIVER( pkladies )   /* (c) 1989 Mitchell */
3267   DRIVER( pkladiel )   /* (c) 1989 Leprechaun */
3268   DRIVER( pkladila )   /* (c) 1989 Leprechaun */
3270   DRIVER( pkladiesl )   /* (c) 1989 Leprechaun */
3271   DRIVER( pkladiesla )/* (c) 1989 Leprechaun */
32693272   DRIVER( dokaben )   /*  3/1989 (c) 1989 Capcom (Japan) */
32703273                  /*  8/1989 Dokaben 2 (baseball) */
32713274   DRIVER( pang )      /* (c) 1989 Mitchell (World) */
r5338r5339
32993302   DRIVER( clbowl )   /* (c) 1989 Incredible Technologies */
33003303   DRIVER( bowlrama )   /* (c) 1991 P & P Marketing */
33013304   DRIVER( wfortune )   /* (c) 1989 GameTek */
3302   DRIVER( wfortuna )   /* (c) 1989 GameTek */
3305   DRIVER( wfortunea )   /* (c) 1989 GameTek */
33033306   DRIVER( grmatch )   /* (c) 1989 GameTek */
33043307   DRIVER( stratab )   /* (c) 1990 Strata/Incredible Technologies */
33053308   DRIVER( stratab1 )   /* (c) 1990 Strata/Incredible Technologies */
r5338r5339
33073310   DRIVER( gtg )      /* (c) 1990 Strata/Incredible Technologies */
33083311   DRIVER( gtgt )      /* (c) 1990 Strata/Incredible Technologies */
33093312   DRIVER( hstennis )   /* (c) 1990 Strata/Incredible Technologies */
3310   DRIVER( hstenn10 )   /* (c) 1990 Strata/Incredible Technologies */
3313   DRIVER( hstennis10 )/* (c) 1990 Strata/Incredible Technologies */
33113314   DRIVER( slikshot )   /* (c) 1990 Grand Products/Incredible Technologies */
3312   DRIVER( sliksh17 )   /* (c) 1990 Grand Products/Incredible Technologies */
3313   DRIVER( sliksh16 )   /* (c) 1990 Grand Products/Incredible Technologies */
3315   DRIVER( slikshot17 )/* (c) 1990 Grand Products/Incredible Technologies */
3316   DRIVER( slikshot16 )/* (c) 1990 Grand Products/Incredible Technologies */
33143317   DRIVER( dynobop )   /* (c) 1990 Grand Products/Incredible Technologies */
33153318   DRIVER( arlingtn )   /* (c) 1991 Strata/Incredible Technologies */
33163319   DRIVER( peggle )   /* (c) 1991 Strata/Incredible Technologies */
33173320   DRIVER( pegglet )   /* (c) 1991 Strata/Incredible Technologies */
33183321   DRIVER( pokrdice )   /* (c) 1991 Strata/Incredible Technologies */
33193322   DRIVER( rimrockn )   /* (c) 1991 Strata/Incredible Technologies */
3320   DRIVER( rimrck20 )   /* (c) 1991 Strata/Incredible Technologies */
3321   DRIVER( rimrck16 )   /* (c) 1991 Strata/Incredible Technologies */
3322   DRIVER( rimrck12 )   /* (c) 1991 Strata/Incredible Technologies */
3323   DRIVER( rimrockn20 )/* (c) 1991 Strata/Incredible Technologies */
3324   DRIVER( rimrockn16 )/* (c) 1991 Strata/Incredible Technologies */
3325   DRIVER( rimrockn12 )/* (c) 1991 Strata/Incredible Technologies */
33233326   DRIVER( ninclown )   /* (c) 1991 Strata/Incredible Technologies */
33243327   DRIVER( gpgolf )   /* (c) 1992 Strata/Incredible Technologies */
33253328   DRIVER( gtg2 )      /* (c) 1992 Strata/Incredible Technologies */
r5338r5339
33273330   DRIVER( gtg2j )      /* (c) 1991 Strata/Incredible Technologies */
33283331   DRIVER( neckneck )   /* (c) 1992 Bundra Games/Incredible Technologies */
33293332   DRIVER( timekill )   /* (c) 1992 Strata/Incredible Technologies */
3330   DRIVER( timek131 )   /* (c) 1992 Strata/Incredible Technologies */
3333   DRIVER( timekill131 )   /* (c) 1992 Strata/Incredible Technologies */
33313334   DRIVER( hardyard )   /* (c) 1993 Strata/Incredible Technologies */
3332   DRIVER( hardyd10 )   /* (c) 1993 Strata/Incredible Technologies */
3335   DRIVER( hardyard10 )   /* (c) 1993 Strata/Incredible Technologies */
33333336   DRIVER( bloodstm )   /* (c) 1994 Strata/Incredible Technologies */
3334   DRIVER( bloods22 )   /* (c) 1994 Strata/Incredible Technologies */
3335   DRIVER( bloods21 )   /* (c) 1994 Strata/Incredible Technologies */
3336   DRIVER( bloods11 )   /* (c) 1994 Strata/Incredible Technologies */
3337   DRIVER( bloodstm22 )   /* (c) 1994 Strata/Incredible Technologies */
3338   DRIVER( bloodstm21 )   /* (c) 1994 Strata/Incredible Technologies */
3339   DRIVER( bloodstm11 )   /* (c) 1994 Strata/Incredible Technologies */
33373340   DRIVER( pairs )      /* (c) 1994 Strata/Incredible Technologies */
33383341   DRIVER( pairsa )   /* (c) 1994 Strata/Incredible Technologies */
33393342   DRIVER( hotmemry )   /* (c) 1994 Tuning/Incredible Technologies */
33403343   DRIVER( drivedge )   /* (c) 1994 Strata/Incredible Technologies */
33413344   DRIVER( wcbowl )   /* (c) 1995 Incredible Technologies */
3342   DRIVER( wcbwl165 )   /* (c) 1995 Incredible Technologies */
3343   DRIVER( wcbwl161 )   /* (c) 1995 Incredible Technologies */
3344   DRIVER( wcbwl16 )   /* (c) 1995 Incredible Technologies */
3345   DRIVER( wcbwl140 )   /* (c) 1995 Incredible Technologies */
3346   DRIVER( wcbwl15 )   /* (c) 1995 Incredible Technologies */
3347   DRIVER( wcbwl13 )   /* (c) 1995 Incredible Technologies */
3348   DRIVER( wcbwl12 )   /* (c) 1995 Incredible Technologies */
3345   DRIVER( wcbowl165 )   /* (c) 1995 Incredible Technologies */
3346   DRIVER( wcbowl161 )   /* (c) 1995 Incredible Technologies */
3347   DRIVER( wcbowl16 )   /* (c) 1995 Incredible Technologies */
3348   DRIVER( wcbowl140 )   /* (c) 1995 Incredible Technologies */
3349   DRIVER( wcbowl15 )   /* (c) 1995 Incredible Technologies */
3350   DRIVER( wcbowl13 )   /* (c) 1995 Incredible Technologies */
3351   DRIVER( wcbowl12 )   /* (c) 1995 Incredible Technologies */
33493352   DRIVER( sftm )      /* (c) 1995 Capcom/Incredible Technologies */
33503353   DRIVER( sftm110 )   /* (c) 1995 Capcom/Incredible Technologies */
33513354   DRIVER( sftm111 )   /* (c) 1995 Capcom/Incredible Technologies */
33523355   DRIVER( sftmj )      /* (c) 1995 Capcom/Incredible Technologies */
33533356   DRIVER( shufshot )   /* (c) Strata/Incredible Technologies */
3354   DRIVER( sshot139 )   /* (c) Strata/Incredible Technologies */
3355   DRIVER( sshot137 )   /* (c) Strata/Incredible Technologies */
3357   DRIVER( shufshot139 )   /* (c) Strata/Incredible Technologies */
3358   DRIVER( shufshot137 )   /* (c) Strata/Incredible Technologies */
33563359   DRIVER( wcbowldx )   /* (c) 1999 Incredible Technologies */
33573360
33583361   DRIVER( gt3d )      /* (c) 1995 Incredible Technologies */
r5338r5339
33863389   DRIVER( gt2kt500 )   /* (c) 2000 Incredible Technologies */
33873390   DRIVER( gtsuprem )   /* (c) 2000 Incredible Technologies */
33883391   DRIVER( gtclassc )   /* (c) 2001 Incredible Technologies */
3389   DRIVER( gtclassp )   /* (c) 2001 Incredible Technologies */
3390   DRIVER( gtcls100 )   /* (c) 2001 Incredible Technologies */
3392   DRIVER( gtclasscp )   /* (c) 2001 Incredible Technologies */
3393   DRIVER( gtclasscs )   /* (c) 2001 Incredible Technologies */
33913394
33923395   /* Leland games */
33933396   DRIVER( cerberus )   /* (c) 1985 Cinematronics */
r5338r5339
34023405   DRIVER( strkzone )   /* (c) 1988 Leland */
34033406   DRIVER( redlin2p )   /* (c) 1987 Cinematronics + Tradewest license */
34043407   DRIVER( quarterb )   /* (c) 1987 Leland */
3405   DRIVER( quartrba )   /* (c) 1987 Leland */
3408   DRIVER( quarterba )   /* (c) 1987 Leland */
34063409   DRIVER( viper )      /* (c) 1988 Leland */
34073410   DRIVER( teamqb )   /* (c) 1988 Leland */
34083411   DRIVER( teamqb2 )   /* (c) 1988 Leland */
r5338r5339
34293432   DRIVER( hustle )   /* 16-21 [1977 Gremlin] */
34303433   DRIVER( blasto )   /* [1978 Gremlin] */
34313434   DRIVER( mineswpr )   /* [1977 Amutech] */
3432   DRIVER( minesw4p )   /* [1977 Amutech] */
3435   DRIVER( mineswpr4 )   /* [1977 Amutech] */
34333436
34343437   /* Gremlin/Sega "VIC dual game board" games */
34353438   /* the numbers listed are the range of ROM part numbers */
34363439   DRIVER( depthch )   /* 50-55 [1977 Gremlin?] */
3437   DRIVER( depthv1 )   /*   ?   [1977 Gremlin?] */
3440   DRIVER( depthcho )   /*   ?   [1977 Gremlin?] */
34383441   DRIVER( subhunt )   /*   ?   [1977 Taito] */
34393442   DRIVER( safari )   /* 57-66 [1977 Gremlin?] */
34403443   DRIVER( frogs )      /* 112-119 [1978 Gremlin?] */
34413444   DRIVER( sspaceat )   /* 155-162 (c) */
3442   DRIVER( sspacat2 )   /* 155-162 (c) 1979 Sega */
3443   DRIVER( sspacat3 )   /* 155-162 (c) 1979 Sega */
3444   DRIVER( sspacatc )   /* 139-146 (c) */
3445   DRIVER( sspaceat2 )   /* 155-162 (c) 1979 Sega */
3446   DRIVER( sspaceat3 )   /* 155-162 (c) 1979 Sega */
3447   DRIVER( sspaceatc )   /* 139-146 (c) */
34453448   DRIVER( sspacaho )   /* ? epr00001.bin - epr00008.bin */
34463449   DRIVER( headon )   /* 163-167/192-193 (c) Gremlin */
34473450   DRIVER( headonb )   /* 163-167/192-193 (c) Gremlin */
r5338r5339
34613464                  /* 450-465  Tranquilizer Gun (different version?) */
34623465                  /* ???-??? Car Hunt / Deep Scan */
34633466   DRIVER( spacetrk )   /* 630-645 (c) 1980 Sega */
3464   DRIVER( sptrekct )   /* (c) 1980 Sega */
3467   DRIVER( spacetrkc )   /* (c) 1980 Sega */
34653468   DRIVER( carnival )   /* 651-666 (c) 1980 Sega */
3466   DRIVER( carnvckt )   /* 501-516 (c) 1980 Sega */
3469   DRIVER( carnivalc )   /* 501-516 (c) 1980 Sega */
34673470   DRIVER( brdrline )   /* (c) 1980 Sega */
34683471   DRIVER( brdrlins )   /* Sidam bootleg */
34693472   DRIVER( brdrlinb )   /* Karateco bootleg */
r5338r5339
34743477
34753478   /* Sega G-80 vector games */
34763479   DRIVER( spacfury )   /* (c) 1981 */
3477   DRIVER( spacfura )   /* no copyright notice */
3478   DRIVER( spacfurb )   /* no copyright notice */
3480   DRIVER( spacfurya )   /* no copyright notice */
3481   DRIVER( spacfuryb )   /* no copyright notice */
34793482   DRIVER( zektor )   /* (c) 1982 */
34803483   DRIVER( tacscan )   /* (c) 1982 */
34813484   DRIVER( elim2 )      /* (c) 1981 Gremlin */
r5338r5339
34923495   DRIVER( astrob1 )   /* (c) 1981 */
34933496   DRIVER( 005 )      /* (c) 1981 */
34943497   DRIVER( monsterb )   /* (c) 1982 */
3495   DRIVER( monster2 )   /* (c) 1982 */
3498   DRIVER( monsterb2 )   /* (c) 1982 */
34963499   DRIVER( spaceod )   /* (c) 1981 */
34973500   DRIVER( spaceod2 )   /* (c) 1981 */
34983501   DRIVER( pignewt )   /* (c) 1983 */
r5338r5339
36233626   DRIVER( suprloco )   /* (c) 1982 Sega */
36243627   DRIVER( suprlocoa )   /* (c) 1982 Sega */
36253628   DRIVER( dotrikun )   /* cabinet test board */
3626   DRIVER( dotriku2 )   /* cabinet test board */
3629   DRIVER( dotrikun2 )   /* cabinet test board */
36273630   DRIVER( spcpostn )   /* (c) 1986 Sega / Nasco" */
36283631   DRIVER( angelkds )   /* 833-6599 (c) 1988 Sega / Nasco? */
36293632   DRIVER( calorie )   /* (c) 1986 Sega */
r5338r5339
36483651   DRIVER( hangon )   /* (c) 1985 (Rev A)*/
36493652   DRIVER( hangon1 )   /* (c) 1985 */
36503653   DRIVER( sharrier )   /* (c) 1985 */
3651   DRIVER( sharrir1 )   /* (c) 1985 */
3654   DRIVER( sharrier1 )   /* (c) 1985 */
36523655   DRIVER( shangupb )   /* (c) 1992 (but bootleg, hangon hw?) */
36533656
36543657   /* Pre-16 */
3655   DRIVER( aliensy1 )   /* (c) 1987 (FD1089A, decrypted) */
3656   DRIVER( aliensy2 )   /* (c) 1987 (FD1089A, decrypted) */
3657   DRIVER( aliensy5 )   /* (c) 1987 (FD1089B) */
3658   DRIVER( aliensyn1 )   /* (c) 1987 (FD1089A, decrypted) */
3659   DRIVER( aliensyn2 )   /* (c) 1987 (FD1089A, decrypted) */
3660   DRIVER( aliensyn5 )   /* (c) 1987 (FD1089B) */
36583661   DRIVER( bodyslam )   /* (c) 1986 (8751) */
36593662   DRIVER( dumpmtmt )   /* (c) 1986 (Japan) */
36603663   DRIVER( mjleague )   /* (c) 1985 */
r5338r5339
36643667   DRIVER( quartet2a )   /* (c) 1986 */
36653668
36663669   /* System16A */
3667   DRIVER( aceattaa )   /* (c) 1988 (FD1094, decrypted) */
3670   DRIVER( aceattaca )   /* (c) 1988 (FD1094, decrypted) */
36683671   DRIVER( afighter )   /* (c) 1986 (FD1089A, decrypted) */
36693672   DRIVER( alexkidd )   /* (c) 1986 (FD1089A, decrypted) */
3670   DRIVER( alexkid1 )   /* (c) 1986 */
3673   DRIVER( alexkidd1 )   /* (c) 1986 */
36713674   DRIVER( fantzone )   /* (c) 1986 */
3672   DRIVER( fantzon1 )   /* (c) 1986 */
3675   DRIVER( fantzone1 )   /* (c) 1986 */
36733676   DRIVER( sdi )      /* (c) 1987 (FD1089B, decrypted) */
36743677   DRIVER( shinobi )   /* (c) 1987 */
36753678   DRIVER( shinobi1 )   /* (c) 1987 (FD1094, decrypted) */
r5338r5339
36773680   DRIVER( sjryuko1 )   /* (c) 1988 White Board (FD1089B, decrypted) */
36783681   DRIVER( tetris )   /* (c) 1988 (FD1094, decrypted) S16A */
36793682   DRIVER( tetris3 )   /* (c) 1988 (FD1094, decrypted) S16A */
3680   DRIVER( timesca1 )   /* (c) 1987 (FD1089B, decrypted) */
3683   DRIVER( timescan1 )   /* (c) 1987 (FD1089B, decrypted) */
36813684   DRIVER( wb31 )      /* (c) 1988 Sega / Westone (FD1094, decrypted) */
36823685   DRIVER( wb35 )      /* (c) 1988 Sega / Westone (FD1089A, decrypted) */
3683   DRIVER( pshot16a )   /* (c) 1988 */
3686   DRIVER( passsht16a )/* (c) 1988 */
36843687
36853688   /* System 16B */
36863689   DRIVER( aceattac )   /* (c) 1988 (protected) */
36873690   DRIVER( aliensyn )   /* (c) 1987 */
3688   DRIVER( aliensy3 )   /* (c) 1987 (FD1089A, decrypted) */
3691   DRIVER( aliensyn3 )   /* (c) 1987 (FD1089A, decrypted) */
36893692   DRIVER( altbeast )   /* (c) 1988 (8751) */
3690   DRIVER( altbeasj )   /* (c) 1988 (8751) */
3691   DRIVER( altbeas5 )   /* (c) 1988 (8751) */
3692   DRIVER( altbeas4 )   /* (c) 1988 (MC-8123B) */
3693   DRIVER( altbeaj3 )   /* (c) 1988 (FD1094, decrypted) */
3694   DRIVER( altbeas2 )   /* (c) 1988 (MC-8123B) */
3695   DRIVER( altbeaj1 )   /* (c) 1988 (protected) */
3693   DRIVER( altbeastj )   /* (c) 1988 (8751) */
3694   DRIVER( altbeast5 )   /* (c) 1988 (8751) */
3695   DRIVER( altbeast4 )   /* (c) 1988 (MC-8123B) */
3696   DRIVER( altbeastj3 )   /* (c) 1988 (FD1094, decrypted) */
3697   DRIVER( altbeast2 )   /* (c) 1988 (MC-8123B) */
3698   DRIVER( altbeastj1 )   /* (c) 1988 (protected) */
36963699   DRIVER( aurail )   /* (c) 1990 Sega / Westone */
36973700   DRIVER( aurail1 )   /* (c) 1990 Sega / Westone (FD1089B, decrypted) */
36983701   DRIVER( aurailj )   /* (C) 1990 Sega / Westone (FD1089A, decrypted) */
36993702   DRIVER( bayroute )   /* (c) 1989 Sunsoft / Sega (FD1094, decrypted) */
3700   DRIVER( bayroutj )   /* (c) 1989 Sunsoft / Sega (FD1094, decrypted) */
3701   DRIVER( bayrout1 )   /* (c) 1989 Sunsoft / Sega */
3703   DRIVER( bayroutej )   /* (c) 1989 Sunsoft / Sega (FD1094, decrypted) */
3704   DRIVER( bayroute1 )   /* (c) 1989 Sunsoft / Sega */
37023705   DRIVER( bullet )   /* (c) 1987 (protected) */
37033706   DRIVER( cotton )   /* (c) 1990 (FD1094, decrypted) */
37043707   DRIVER( cottonu )   /* (c) 1990 (FD1094, decrypted) */
r5338r5339
37133716   DRIVER( fpoint )   /* (c) 1989 (Japan, FD1094, decrypted) */
37143717   DRIVER( fpoint1 )   /* (c) 1989 (Japan, FD1094, decrypted) */
37153718   DRIVER( goldnaxe )   /* (c) 1989 (8751) */
3716   DRIVER( goldnaxu )   /* (c) 1989 (protected) */
3717   DRIVER( goldnaxj )   /* (c) 1989 (FD1094, decrypted) */
3718   DRIVER( goldnax3 )   /* (c) 1989 (FD1094, decrypted) */
3719   DRIVER( goldnax2 )   /* (c) 1989 (8751) */
3720   DRIVER( goldnax1 )   /* (c) 1989 (FD1094, decrypted) */
3719   DRIVER( goldnaxeu )   /* (c) 1989 (protected) */
3720   DRIVER( goldnaxej )   /* (c) 1989 (FD1094, decrypted) */
3721   DRIVER( goldnaxe3 )   /* (c) 1989 (FD1094, decrypted) */
3722   DRIVER( goldnaxe2 )   /* (c) 1989 (8751) */
3723   DRIVER( goldnaxe1 )   /* (c) 1989 (FD1094, decrypted) */
37213724   DRIVER( hwchamp )   /* (c) 1987 */
37223725   DRIVER( mvp )      /* (c) 1989 (FD1094, decrypted) */
37233726   DRIVER( mvpj )      /* (c) 1989 (FD1094, decrypted) */
r5338r5339
37473750   DRIVER( wb33 )      /* (c) 1988 Sega / Westone (FD1094, decrypted) */
37483751   DRIVER( wb32 )      /* (c) 1988 Sega / Westone (FD1094, decrypted) */
37493752   DRIVER( wrestwar )   /* (c) 1989 (8751) */
3750   DRIVER( wrestwa2 )   /* (c) 1989 (FD1094, decrypted) */
3751   DRIVER( wrestwa1 )   /* (c) 1989 (FD1094, decrypted) */
3753   DRIVER( wrestwar2 )   /* (c) 1989 (FD1094, decrypted) */
3754   DRIVER( wrestwar1 )   /* (c) 1989 (FD1094, decrypted) */
37523755
37533756   /* Philko Boards */
37543757   DRIVER( atomicp )   /* (c) 1990 Philko - korean clone board */
r5338r5339
37763779
37773780   /* System 18 */
37783781   DRIVER( shdancer )   /* 1989.05 Shadow Dancer (US) */
3779   DRIVER( shdancej )   /* 1989.11 Shadow Dancer (Japan) */
3780   DRIVER( shdance1 )   /* 1989.?? Shadow Dancer (World) */
3782   DRIVER( shdancerj )   /* 1989.11 Shadow Dancer (Japan) */
3783   DRIVER( shdancer1 )   /* 1989.?? Shadow Dancer (World) */
37813784   DRIVER( bloxeed )   /* 1989.12 Bloxeed (Japan, FD1094, decrypted) */
37823785                  /* 1990.04 Bloxeed (US) */
37833786   DRIVER( astormu )   /* 1990.04 Alien Storm (US, FD1094, decrypted) */
r5338r5339
37913794                  /* 1990.12 Laser Ghost (Japan) */
37923795   DRIVER( lghostu )   /* 1991.01 Laser Ghost (US, FD1094, decrypted) */
37933796   DRIVER( cltchitr )   /* 1991.02 Clutch Hitter (US, FD1094, decrypted) */
3794   DRIVER( cltchtrj )   /* 1991.05 Clutch Hitter (Japan, FD1094, decrypted) */
3797   DRIVER( cltchitrj )   /* 1991.05 Clutch Hitter (Japan, FD1094, decrypted) */
37953798   DRIVER( ddcrewj )   /* 1991.07 D.D.Crew (Japan, FD1094, decrypted) */
37963799   DRIVER( ddcrewu )   /* 1991.09 D.D.Crew (US, FD1094, decrypted) */
37973800   DRIVER( ddcrew )   /* 1991.?? D.D.Crew (World, FD1094, decrypted) */
r5338r5339
38143817                  /* 1986.09 Outrun (Japan) */
38153818                  /* 1986.11 Outrun (US) */
38163819                  /* 1986.?? Outrun (World) */
3817   DRIVER( outrun )
3818   DRIVER( outrun2 )
3819   DRIVER( outrun1 )
3820   DRIVER( outrun )   /* Revision B */
3821   DRIVER( outrunra )   /* Revision A */
3822   DRIVER( outruno )   /* First version */
3823   DRIVER( outrundx )   /* Deluxe version */
38203824   DRIVER( outrunb )   /* 1986 (protected beta bootleg) */
38213825                  /* 1987.04 Super Hang-On (Japan) */
38223826                  /* 1987.06 Super Hang-On (US) */
r5338r5339
38253829   DRIVER( shangon3 )   /* 1987 (FD1089B, decrypted) */
38263830   DRIVER( shangon2 )   /* 1987 (FD1089B, decrypted) */
38273831   DRIVER( shangon1 )   /* 1987 (FD1089B, decrypted) */
3828   DRIVER( shangnle )   /* 1991 */
3832   DRIVER( shangonle )   /* 1991 */
38293833                  /* 1989.02 Turbo Outrun (Japan) */
38303834                  /* 1989.04 Turbo Outrun (US) */
38313835                  /* 1989.?? Turbo Outrun (World) */
r5338r5339
38373841   /* X Board */
38383842   DRIVER( aburner )   /* 1987.07 After Burner (Japan) */
38393843   DRIVER( aburner2 )   /* 1987.09 After Burner II (Japan) */
3840   DRIVER( thndrbd1 )   /* 1987.12 Thunder Blade (Japan, deluxe/standard) */
3844   DRIVER( thndrbld1 )   /* 1987.12 Thunder Blade (Japan, deluxe/standard) */
38413845   DRIVER( thndrbld )   /* 1988.02 Thunder Blade (US?, upright, FD1094, decrypted) */
38423846                  /* 1989.01 Last Survivor (Japan) */
38433847   DRIVER( smgpj )      /* 1989.06 Super Monaco GP (Japan, FD1094, decrypted) */
r5338r5339
38993903   DRIVER( sgmastc )   /* 1989.?? Jumbo Ozaki Super Masters Golf (World, FD1094, decrypted) */
39003904                  /* 1989.09 Super Masters Golf (US) */
39013905   DRIVER( roughrac )   /* 1990.03 Rough Racer (Japan, FD1094, decrypted) */
3902   DRIVER( bnzabrsj )   /* 1990.06 Bonanza Bros. (Japan) */
3906   DRIVER( bnzabrosj )   /* 1990.06 Bonanza Bros. (Japan) */
39033907   DRIVER( bnzabros )   /* 1990.08 Bonanza Bros. (US) */
39043908   DRIVER( qsww )      /* 1991.02 Quiz Syukudai wo Wasuremashita! (Japan) */
39053909   DRIVER( dcclubfd )   /* 1991.07 Dynamic Country Club (US) */
r5338r5339
39383942                  /* 1992.11 Hologram Holosseum (Japan) */
39393943   DRIVER( darkedge )   /* 1993.?? Dark Edge (World) */
39403944                  /* 1993.?? Dark Edge (US) */
3941   DRIVER( darkedgj )   /* 1993.03 Dark Edge (Japan) */
3945   DRIVER( darkedgej )   /* 1993.03 Dark Edge (Japan) */
39423946   DRIVER( brival )   /* 1993.?? Burning Rival (World) */
39433947   DRIVER( brivalj )   /* 1993.08 Burning Rival (Japan) */
39443948   DRIVER( f1lap )      /* 1993.?? F-1 Super Lap (World) */
r5338r5339
39573961   DRIVER( svf )      /* 1994.?? Super Visual Football */
39583962   DRIVER( svs )      /* 1994.?? Super Visual Soccer */
39593963   DRIVER( slipstrm )   /* 1995.?? Slip Stream (Capcom) */
3960   DRIVER( slipstrh )
3964   DRIVER( slipstrmh )
39613965
39623966   /* Sega Multi System 32 games */
39633967                  /* 1993.05 Outrunners (Japan) */
39643968   DRIVER( orunners )   /* 1993.?? Outrunners (World) */
3965   DRIVER( orunneru )   /* 1993.06 Outrunners (US) */
3966   DRIVER( harddunj )   /* 1994.04 Hard Dunk 3on3 (Japan) */
3969   DRIVER( orunnersu )   /* 1993.06 Outrunners (US) */
3970   DRIVER( harddunkj )   /* 1994.04 Hard Dunk 3on3 (Japan) */
39673971   DRIVER( harddunk )   /* 1994.?? Hard Dunk 3on3 (World) */
39683972                  /* 1993.03 Title Fight (Japan) */
39693973   DRIVER( titlef )   /* 1993.?? Title Fight (World) */
r5338r5339
40064010   DRIVER( introdon )   /* 1996.04 Karaoke Quiz Intro Dondon (Sunsoft / Success) */
40074011   DRIVER( smleague )   /* 1996.04 Super Major League */
40084012   DRIVER( decathlt )   /* 1996.05 Decathlete */
4009   DRIVER( decathlo )
4013   DRIVER( decathlto )
40104014   DRIVER( dnmtdeka )   /* 1996.07 Dynamite Deka */
40114015   DRIVER( mausuke )   /* 1996.07 Mausuke no Ojama the World (Data East) */
40124016   DRIVER( diehard )   /* 1996.08 Die Hard Arcade */
r5338r5339
40514055
40524056   /* Model 2 (TGPs, Model 1 sound board) */
40534057   DRIVER( daytona )   /* 1994.03 Daytona USA */
4054   DRIVER( dayton93 )
4058   DRIVER( daytona93 )
40554059   DRIVER( daytonas )
40564060   DRIVER( daytonat )   /* 1993, hack */
40574061   DRIVER( daytonam )   /* 1993, hack */
r5338r5339
40784082
40794083   /* Model 2B-CRX (SHARC, SCSP sound board) */
40804084   DRIVER( vstriker )   /* 1995.05 virtua Striker */
4081   DRIVER( vstrikro )
4085   DRIVER( vstrikero )
40824086   DRIVER( rchase2 )   /* 1995.06 Rail Chase 2 (Arcade TV Game List - P.104, Left, 12 from top) */
40834087   DRIVER( indy500 )   /* 1995.07 Indy 500 */
40844088   DRIVER( indy500d )
r5338r5339
40894093   DRIVER( gunblade )   /* 1996.04 Gunblade N.Y. */
40904094   DRIVER( schamp )   /* 1996.05 Sonic the Fighters */
40914095   DRIVER( lastbrnx )   /* 1996.06 Last Bronx */
4092   DRIVER( lastbrnj )
4096   DRIVER( lastbrnxj )
40934097   DRIVER( sgt24h )   /* 1996.07 Super GT 24h */
40944098   DRIVER( dynabb )   /* 1996.08 Dynamite Baseball */
40954099   DRIVER( doa )      /* 1996.11 Dead or Alive */
40964100                  /* 1997.04 Dynamite Baseball '97 */
40974101   DRIVER( zerogun )   /* 1997.12 Zero Gunner */
40984102   DRIVER( zerogunj )
4099   DRIVER( dyndek2b )   /* 1998.05 Dynamite Deka 2 */
4100   DRIVER( dynmcopb )   /* 1998.09 Dynamite Cop */
4103   DRIVER( dyndeka2b )   /* 1998.05 Dynamite Deka 2 */
4104   DRIVER( dynamcopb )   /* 1998.09 Dynamite Cop */
41014105   DRIVER( pltkids )   /* 1999.03 Pilot Kids */
41024106
41034107   /* Model 2C-CRX (TGPx4, SCSP sound board) */
r5338r5339
41064110   DRIVER( waverunr )   /* 1996.10 Wave Runner */
41074111   DRIVER( hotd )      /* 1997.03 The House of the Dead */
41084112   DRIVER( topskatr )   /* 1997.05 Top Skater */
4109   DRIVER( topskatu )
4113   DRIVER( topskatru )
41104114   DRIVER( overrev )   /* 1997.09 Overrev */
41114115   DRIVER( segawski )   /* 1997.09 Sega Water Ski */
4112   DRIVER( dynmcopc )   /* 1998.09 Dynamite Cop */
4116   DRIVER( dynamcopc )   /* 1998.09 Dynamite Cop */
41134117   DRIVER( bel )      /* 1998.12 Behind Enemy Lines */
41144118
41154119   /* Sega Model 3 Games */
r5338r5339
41374141   DRIVER( harley )   /* 1997.12 Harley Davidson & L.A.Riders */
41384142   DRIVER( skichamp )   /* 1998.01 Ski Champ */
41394143   DRIVER( srally2 )   /* 1998.02 Sega Rally 2 Championship */
4140   DRIVER( sraly2dx )
4144   DRIVER( srally2x )
41414145   DRIVER( von2 )      /* 1998.03 Dennou Senki Virtual-On Oratorio Tangram */
41424146   DRIVER( fvipers2 )   /* 1998.04 Fighting Vipers 2 */
41434147   DRIVER( vs298 )      /* 1998.05 Virtua Striker 2 ver.98*/
r5338r5339
41504154                  /* 1998.09 Ocean Hunter */
41514155   DRIVER( spikeout )   /* 1998.09 Spikeout */
41524156   DRIVER( dirtdvls )   /* 1998.10 Dirt Devils */
4153   DRIVER( dirtdvla )
4157   DRIVER( dirtdvlsa )
41544158   DRIVER( swtrilgy )   /* 1998.11 Star Wars Trilogy Arcade */
4155   DRIVER( swtrilga )
4159   DRIVER( swtrilgya )
41564160                  /* 1998.11 Magical Torokko Adventure (Japan) */
41574161                  /* 1998.12 L.A. Machine Guns */
41584162   DRIVER( dayto2pe )   /* 1998.12 Daytone USA 2 Power Edition */
r5338r5339
42164220   DRIVER( ichirj )   /* (c) 1994 Sega */
42174221   DRIVER( ichirjbl )   /* bootleg */
42184222   DRIVER( stkclmns )   /* (c) 1994 Sega */
4219   DRIVER( stkclmnj )   /* (c) 1994 Sega */
4223   DRIVER( stkclmnsj )   /* (c) 1994 Sega */
42204224   DRIVER( puyopuy2 )   /* (c) 1994 Compile + Sega license */
42214225   DRIVER( potopoto )   /* (c) 1994 Sega */
42224226   DRIVER( zunkyou )   /* (c) 1994 Sega */
r5338r5339
43694373   DRIVER( ggx )      /* 2000.07 Guilty Gear X */
43704374   DRIVER( slasho )   /* 2000.07 Slashout */
43714375   DRIVER( slashout )
4372   DRIVER( capsnk )   /* 2000.08 Capcom vs. SNK Millenium Fight 2000 */
4376   DRIVER( capsnka )   /* 2000.08 Capcom vs. SNK Millenium Fight 2000 */
43734377                  /* 2000.08 Tokyo Bus Annai */
4378   DRIVER( capsnk )   /* 2000.09 Capcom vs. SNK Millenium Fight 2000 */
43744379   DRIVER( gram2000 )   /* 2000.09 Giant Gram 2000 Zen Nippon Pro-wres 3 */
43754380                  /* 2000.09 Nittere Shiki! Mirai Yosou Studio */
43764381                  /* 2000.10 Crackin' DJ */
r5338r5339
44704475                  /* 2008.07 Mamoru Kun wa Norowarete Shimatta! */
44714476                  /* 2008.09 Melty Blood Actress Again */
44724477                  /* 2008.12 Melty Blood Actress Again ver.A */
4473                  /* 2009.?? Project Cerberus (planned to be released in 2009 spring) */
4474                  /* 2009.?? Radirgy Noah (planned to be released in 2009.06) */
4478                  /* 2009.06 Radirgy Noah */
4479                  /* 2009.?? Project Cerberus (planned to be released in 2009) */
44754480
44764481
44774482
r5338r5339
45394544   DRIVER( rangrmsn )   /* 2004.03 Ranger Mission */
45404545                  /* 2004.06 Salary Man Kintarou Net Select */
45414546                  /* 2004.07 The King of Fighters Neo Wave */
4542                  /* 2004.09 Extreme Hunting */
4547   DRIVER( xtrmhunt )   /* 2004.09 Extreme Hunting */
45434548                  /* 2004.09 Dirty Pig Skin Football */
45444549                  /* 2004.09 Faster than Speed */
45454550                  /* 2005.03 Net Select Keiba Victory Furlong */
r5338r5339
46814686                  /* 14 1981.06 DS Telejan */
46824687   DRIVER( cluckypo )   /* 15 1981.?? Lucky Poker */
46834688   DRIVER( ctisland )   /* 16 1982.02 Treasure Island */
4684   DRIVER( ctislnd2 )   /* 16 */
4685   DRIVER( ctislnd3 )   /* 16 */
4689   DRIVER( ctisland2 )   /* 16 */
4690   DRIVER( ctisland3 )   /* 16 */
46864691                  /* 17 1981.10 Bobbit */
46874692   DRIVER( cexplore )   /* 18 1982.02 Explorer */
46884693   DRIVER( cdiscon1 )   /* 19 1982.04 Disco No.1 */
r5338r5339
46954700                  /* 25 1982.10 Fishing */
46964701   DRIVER( cbtime )   /* 26 1982.08 Hamburger/Burger Time */
46974702   DRIVER( cburnrub )   /* 27 1982.11 Burnin' Rubber/Bump'n Jump */
4698   DRIVER( cburnrb2 )   /* 27 */
4703   DRIVER( cburnrub2 )   /* 27 */
46994704   DRIVER( cbnj )      /* 27 */
47004705   DRIVER( cgraplop )   /* 28 1982.11 Grapelop */
4701   DRIVER( cgraplp2 )   /* 28 */
4706   DRIVER( cgraplop2 )   /* 28 */
47024707   DRIVER( clapapa )   /* 29 1982.11 Lapapa/Rootin' Tootin' */
47034708   DRIVER( clapapa2 )   /* 29 */ /* this one doesn't display lapapa anyehere */
47044709                  /* 30 1983.03 Skater */
47054710   DRIVER( cprobowl )   /* 31 1983.03 Pro Bowling */
47064711   DRIVER( cnightst )   /* 32 1983.04 Night Star */
4707   DRIVER( cnights2 )   /* 32 */
4712   DRIVER( cnightst2 )   /* 32 */
47084713   DRIVER( cprosocc )   /* 33 1982.08 Pro Soccer */
47094714                  /* 34 1983.09 Super Doubles Tennis */
47104715   DRIVER( cflyball )   /* 35 1983.?? Bampoline/Flying Ball */
r5338r5339
47294734
47304735   /* other Data East games */
47314736   DRIVER( madalien )   /* (c) 1980 */
4732   DRIVER( madalina )   /* (c) 1980 */
4737   DRIVER( madaliena )   /* (c) 1980 */
47334738   DRIVER( astrof )   /* (c) [1980?] */
47344739   DRIVER( astrof2 )   /* (c) [1980?] */
47354740   DRIVER( astrof3 )   /* (c) [1980?] */
r5338r5339
47404745   DRIVER( acombato )   /* bootleg */
47414746   DRIVER( sstarbtl )   /* bootleg */
47424747   DRIVER( spfghmk2 )   /* (c) [1979] Data East Corporation */
4743   DRIVER( spfgmk22 )   /* (c) [1979] Data East Corporation */
4748   DRIVER( spfghmk22 )   /* (c) [1979] Data East Corporation */
47444749   DRIVER( tomahawk )   /* (c) 1980 Data East, Inc. */
4745   DRIVER( tomahaw1 )   /* (c) 1980 Data East, Inc. */
4750   DRIVER( tomahawk1 )   /* (c) 1980 Data East, Inc. */
47464751   DRIVER( progolf )   /* (c) 1981 */
47474752   DRIVER( progolfa )   /* (c) 1981 */
47484753   DRIVER( deshoros )   /* (c) 1983 */
r5338r5339
47674772   DRIVER( kchampvs )   /* (c) 1984 Data East USA (US) */
47684773   DRIVER( karatevs )   /* (c) 1984 Data East Corporation (Japan) */
47694774   DRIVER( compgolf )   /* (c) 1985 Data East Corporation (Japan) */
4770   DRIVER( compglfo )   /* (c) 1985 Data East Corporation (Japan) */
4775   DRIVER( compgolfo )   /* (c) 1985 Data East Corporation (Japan) */
47714776   DRIVER( cntsteer )   /* (c) 1985 Data East Corporation */
47724777   DRIVER( zerotrgt )   /* (c) 1985 Data East Corporation */
47734778   DRIVER( gekitsui )   /* (c) 1985 Data East Corporation (Japan) */
r5338r5339
47814786   DRIVER( forcebrk )   /* (c) 1986 Data East Corporation (Japan) */
47824787   DRIVER( darwin )   /* (c) 1986 Data East Corporation (Japan) */
47834788   DRIVER( shootout )   /* (c) 1985 Data East USA (US) */
4784   DRIVER( shootouj )   /* (c) 1985 Data East USA (Japan) */
4785   DRIVER( shootoub )   /* bootleg */
4789   DRIVER( shootoutj )   /* (c) 1985 Data East USA (Japan) */
4790   DRIVER( shootoutb )   /* bootleg */
47864791   DRIVER( sidepckt )   /* (c) 1986 Data East Corporation */
4787   DRIVER( sidepctj )   /* (c) 1986 Data East Corporation */
4788   DRIVER( sidepctb )   /* bootleg */
4792   DRIVER( sidepcktj )   /* (c) 1986 Data East Corporation */
4793   DRIVER( sidepcktb )   /* bootleg */
47894794   DRIVER( exprraid )   /* (c) 1986 Data East USA (US) */
4790   DRIVER( exprrada )   /* (c) 1986 Data East USA (US) */
4795   DRIVER( exprraida )   /* (c) 1986 Data East USA (US) */
47914796   DRIVER( wexpress )   /* (c) 1986 Data East Corporation (World?) */
4792   DRIVER( wexpresb )   /* bootleg */
4793   DRIVER( wexpresc )   /* bootleg */
4797   DRIVER( wexpressb )   /* bootleg */
4798   DRIVER( wexpressb2 )   /* bootleg */
47944799   DRIVER( pcktgal )   /* (c) 1987 Data East Corporation (Japan) */
47954800   DRIVER( pcktgalb )   /* bootleg */
47964801   DRIVER( pcktgal2 )   /* (c) 1989 Data East Corporation (World?) */
4797   DRIVER( pcktgl2j )   /* (c) 1989 Data East Corporation (World?) */
4802   DRIVER( pcktgal2j )   /* (c) 1989 Data East Corporation (World?) */
47984803   DRIVER( pokechmp )   /* Korean hack of Pocket Gal */
47994804   DRIVER( spool3 )   /* (c) 1989 Data East Corporation (World?) */
48004805   DRIVER( spool3i )   /* (c) 1990 Data East Corporation + I-Vics license */
r5338r5339
48024807   DRIVER( bldwolf )   /* (c) 1988 Data East USA (US) */
48034808   DRIVER( bldwolfj )   /* (c) 1988 Data East Corporation (Japan) */
48044809   DRIVER( actfancr )   /* (c) 1989 Data East Corporation (World) */
4805   DRIVER( actfanc1 )   /* (c) 1989 Data East Corporation (World) */
4806   DRIVER( actfancj )   /* (c) 1989 Data East Corporation (Japan) */
4810   DRIVER( actfancr1 )   /* (c) 1989 Data East Corporation (World) */
4811   DRIVER( actfancrj )   /* (c) 1989 Data East Corporation (Japan) */
48074812   DRIVER( triothep )   /* (c) 1989 Data East Corporation (World) */
4808   DRIVER( triothej )   /* (c) 1989 Data East Corporation (Japan) */
4813   DRIVER( triothepj )   /* (c) 1989 Data East Corporation (Japan) */
48094814
48104815   /* Data East 8-bit games */
48114816   DRIVER( lastmisn )   /* (c) 1986 Data East USA (US) */
4812   DRIVER( lastmsno )   /* (c) 1986 Data East USA (US) */
4813   DRIVER( lastmsnj )   /* (c) 1986 Data East Corporation (Japan) */
4817   DRIVER( lastmisno )   /* (c) 1986 Data East USA (US) */
4818   DRIVER( lastmisnj )   /* (c) 1986 Data East Corporation (Japan) */
48144819   DRIVER( shackled )   /* (c) 1986 Data East USA (US) */
48154820   DRIVER( breywood )   /* (c) 1986 Data East Corporation (Japan) */
48164821   DRIVER( csilver )   /* (c) 1987 Data East Corporation (Japan) */
r5338r5339
48204825   DRIVER( meikyuh )   /* (c) 1987 Data East Corporation (Japan) */
48214826   DRIVER( meikyuha )   /* (c) 1987 Data East Corporation (Japan) */
48224827   DRIVER( srdarwin )   /* (c) 1987 Data East Corporation (World) */
4823   DRIVER( srdarwnj )   /* (c) 1987 Data East Corporation (Japan) */
4828   DRIVER( srdarwinj )   /* (c) 1987 Data East Corporation (Japan) */
48244829   DRIVER( gondo )      /* (c) 1987 Data East USA (US) */
48254830   DRIVER( makyosen )   /* (c) 1987 Data East Corporation (Japan) */
48264831   DRIVER( garyoret )   /* (c) 1987 Data East Corporation (Japan) */
48274832   DRIVER( cobracom )   /* (c) 1988 Data East Corporation (World) */
4828   DRIVER( cobracmj )   /* (c) 1988 Data East Corporation (Japan) */
4833   DRIVER( cobracomj )   /* (c) 1988 Data East Corporation (Japan) */
48294834   DRIVER( oscar )      /* (c) 1988 Data East Corporation (World) */
48304835   DRIVER( oscaru )   /* (c) 1987 Data East USA (US) */
48314836   DRIVER( oscarj1 )   /* (c) 1987 Data East Corporation (Japan) */
r5338r5339
48484853   DRIVER( robocopw )   /* (c) 1988 Data East Corporation (World) */
48494854   DRIVER( robocopj )   /* (c) 1988 Data East Corporation (Japan) */
48504855   DRIVER( robocopu )   /* (c) 1988 Data East USA (US) */
4851   DRIVER( robocpu0 )   /* (c) 1988 Data East USA (US) */
4856   DRIVER( robocopu0 )   /* (c) 1988 Data East USA (US) */
48524857   DRIVER( robocopb )   /* bootleg */
48534858   DRIVER( automat )   /* bootleg */
48544859   DRIVER( hippodrm )   /* (c) 1989 Data East USA (US) */
48554860   DRIVER( ffantasy )   /* (c) 1989 Data East Corporation (Japan) */
4856   DRIVER( ffantasa )   /* (c) 1989 Data East Corporation (Japan) */
4861   DRIVER( ffantasya )   /* (c) 1989 Data East Corporation (Japan) */
48574862   DRIVER( slyspy )   /* (c) 1989 Data East USA (US) */
48584863   DRIVER( slyspy2 )   /* (c) 1989 Data East USA (US) */
48594864   DRIVER( secretag )   /* (c) 1989 Data East Corporation (World) */
r5338r5339
48634868   DRIVER( midresj )   /* (c) 1989 Data East Corporation (Japan) */
48644869   DRIVER( midresb )   /* (c) 1989 Data East Corporation (Japan) */
48654870   DRIVER( bouldash )   /* (c) 1990 Data East Corporation (World) */
4866   DRIVER( bouldshj )   /* (c) 1990 Data East Corporation (Japan) */
4871   DRIVER( bouldashj )   /* (c) 1990 Data East Corporation (Japan) */
48674872      /* end of similar hardware */
48684873   DRIVER( stadhero )   /* (c) 1988 Data East Corporation (Japan) */
48694874   DRIVER( madmotor )   /* (c) [1989] Mitchell */
48704875      /* All these games have a unique code stamped on the mask roms */
48714876   DRIVER( vaportra )   /* MAA (c) 1989 Data East Corporation (World) */
4872   DRIVER( vaportru )   /* MAA (c) 1989 Data East Corporation (US) */
4877   DRIVER( vaportrau )   /* MAA (c) 1989 Data East Corporation (US) */
48734878   DRIVER( kuhga )      /* MAA (c) 1989 Data East Corporation (Japan) */
48744879   DRIVER( cbuster )   /* MAB (c) 1990 Data East Corporation (World) */
48754880   DRIVER( cbusterw )   /* MAB (c) 1990 Data East Corporation (World) */
48764881   DRIVER( cbusterj )   /* MAB (c) 1990 Data East Corporation (Japan) */
48774882   DRIVER( twocrude )   /* MAB (c) 1990 Data East USA (US) */
48784883   DRIVER( darkseal )   /* MAC (c) 1990 Data East Corporation (World) */
4879   DRIVER( darksea1 )   /* MAC (c) 1990 Data East Corporation (World) */
4880   DRIVER( darkseaj )   /* MAC (c) 1990 Data East Corporation (Japan) */
4884   DRIVER( darkseal1 )   /* MAC (c) 1990 Data East Corporation (World) */
4885   DRIVER( darksealj )   /* MAC (c) 1990 Data East Corporation (Japan) */
48814886   DRIVER( gatedoom )   /* MAC (c) 1990 Data East Corporation (US) */
4882   DRIVER( gatedom1 )   /* MAC (c) 1990 Data East Corporation (US) */
4887   DRIVER( gatedoom1 )   /* MAC (c) 1990 Data East Corporation (US) */
48834888   DRIVER( edrandy )   /* MAD (c) 1990 Data East Corporation (World) */
48844889   DRIVER( edrandy2 )   /* MAD (c) 1990 Data East Corporation (World) */
48854890   DRIVER( edrandy1 )   /* MAD (c) 1990 Data East Corporation (World) */
48864891   DRIVER( edrandyj )   /* MAD (c) 1990 Data East Corporation (Japan) */
48874892   DRIVER( supbtime )   /* MAE (c) 1990 Data East Corporation (World) */
4888   DRIVER( supbtima )   /* MAE (c) 1990 Data East Corporation (World) */
4889   DRIVER( supbtimj )   /* MAE (c) 1990 Data East Corporation (Japan) */
4893   DRIVER( supbtimea )   /* MAE (c) 1990 Data East Corporation (World) */
4894   DRIVER( supbtimej )   /* MAE (c) 1990 Data East Corporation (Japan) */
48904895   DRIVER( mutantf )   /* MAF (c) 1992 Data East Corporation (World) */
48914896   DRIVER( mutantf4 )   /* MAF (c) 1992 Data East Corporation (World) */
48924897   DRIVER( mutantf3 )   /* MAF (c) 1992 Data East Corporation (World) */
r5338r5339
48974902   DRIVER( joemac )   /* MAG (c) 1991 Data East Corporation (Japan) */
48984903   DRIVER( stoneage )   /* bootleg */
48994904   DRIVER( robocop2 )   /* MAH (c) 1991 Data East Corporation (World) */
4900   DRIVER( robocp2u )   /* MAH (c) 1991 Data East Corporation (US) */
4901   DRIVER( robocp2j )   /* MAH (c) 1991 Data East Corporation (Japan) */
4905   DRIVER( robocop2u )   /* MAH (c) 1991 Data East Corporation (US) */
4906   DRIVER( robocop2j )   /* MAH (c) 1991 Data East Corporation (Japan) */
49024907   DRIVER( thndzone )   /* MAJ (c) 1991 Data East Corporation (World) */
49034908   DRIVER( dassault )   /* MAJ (c) 1991 Data East Corporation (US) */
4904   DRIVER( dassaul4 )   /* MAJ (c) 1991 Data East Corporation (US) */
4909   DRIVER( dassault4 )   /* MAJ (c) 1991 Data East Corporation (US) */
49054910   DRIVER( chinatwn )   /* MAK (c) 1991 Data East Corporation (Japan) */
49064911   DRIVER( rohga )      /* MAM (c) 1991 Data East Corporation (Asia/Euro) */
49074912   DRIVER( rohga1 )   /* MAM (c) 1991 Data East Corporation (Asia/Euro) */
r5338r5339
49114916   DRIVER( wolffang )   /* MAM (c) 1991 Data East Corporation (Japan) */
49124917   DRIVER( schmeisr )   /*     (c) 1993 Hot B */
49134918   DRIVER( captaven )   /* MAN (c) 1991 Data East Corporation (Asia) */
4914   DRIVER( captavna )   /* MAN (c) 1991 Data East Corporation (Asia) */
4915   DRIVER( captavne )   /* MAN (c) 1991 Data East Corporation (UK) */
4916   DRIVER( captavnu )   /* MAN (c) 1991 Data East Corporation (US) */
4917   DRIVER( captavuu )   /* MAN (c) 1991 Data East Corporation (US) */
4918   DRIVER( captavua )   /* MAN (c) 1991 Data East Corporation (US) */
4919   DRIVER( captavnj )   /* MAN (c) 1991 Data East Corporation (Japan) */
4919   DRIVER( captavena )   /* MAN (c) 1991 Data East Corporation (Asia) */
4920   DRIVER( captavene )   /* MAN (c) 1991 Data East Corporation (UK) */
4921   DRIVER( captavenu )   /* MAN (c) 1991 Data East Corporation (US) */
4922   DRIVER( captavenuu )   /* MAN (c) 1991 Data East Corporation (US) */
4923   DRIVER( captavenua )   /* MAN (c) 1991 Data East Corporation (US) */
4924   DRIVER( captavenj )   /* MAN (c) 1991 Data East Corporation (Japan) */
49204925                  /* MAO ?? */
49214926   DRIVER( tumblep )   /* MAP (c) 1991 Data East Corporation (World) */
49224927   DRIVER( tumblepj )   /* MAP (c) 1991 Data East Corporation (Japan) */
r5338r5339
49424947                  /* MAQ ?? */
49434948   DRIVER( dragngun )   /* MAR (c) 1992 Data East Corporation (US) */
49444949   DRIVER( wizdfire )   /* MAS (c) 1992 Data East Corporation (Over Sea) */
4945   DRIVER( wizdfiru )   /* MAS (c) 1992 Data East Corporation (US) */
4946   DRIVER( darksel2 )   /* MAS (c) 1992 Data East Corporation (Japan) */
4950   DRIVER( wizdfireu )   /* MAS (c) 1992 Data East Corporation (US) */
4951   DRIVER( darkseal2 )   /* MAS (c) 1992 Data East Corporation (Japan) */
49474952   DRIVER( funkyjet )   /* MAT (c) 1992 Mitchell */
4948   DRIVER( funkyjej )   /* MAT (c) 1992 Mitchell */
4953   DRIVER( funkyjetj )   /* MAT (c) 1992 Mitchell */
49494954                  /* MAU ?? */
49504955   DRIVER( nitrobal )   /* MAV (c) 1992 Data East Corporation (US) */
49514956   DRIVER( gunball )   /* MAV (c) 1992 Data East Corporation (Japan) */
r5338r5339
49564961   DRIVER( dietgou )   /* MAY (c) 1993 */
49574962   DRIVER( dietgoj )   /* MAY (c) 1993 */
49584963   DRIVER( pktgaldx )   /* MAZ (c) 1993 Data East (Euro v3.00) */
4959   DRIVER( pktgaldj )   /* MAZ (c) 1993 */
4960   DRIVER( pktgaldb )   /* bootleg */
4964   DRIVER( pktgaldxj )   /* MAZ (c) 1993 */
4965   DRIVER( pktgaldxb )   /* bootleg */
49614966                  /* MBA ?? */
49624967                  /* MBB ?? */
49634968                  /* MBC ?? */
49644969   DRIVER( boogwing )   /* MBD (c) 1992 (Euro) */
4965   DRIVER( boogwina )   /* MBD (c) 1992 (Asia) */
4970   DRIVER( boogwinga )   /* MBD (c) 1992 (Asia) */
49664971   DRIVER( ragtime )   /* MBD (c) 1992 (Japan) */
49674972   DRIVER( ragtimea )   /* MBD (c) 1992 (Japan) */
49684973   DRIVER( dblewing )   /* MBE (c) 1993 Mitchell */
49694974   DRIVER( fghthist )   /* MBF (c) 1993 Data East Corporation (World) */
4970   DRIVER( fghthstu )   /* MBF (c) 1993 Data East Corporation (US) */
4971   DRIVER( fghthsta )   /* MBF (c) 1993 Data East Corporation (US) */
4972   DRIVER( fghthstj )   /* MBF (c) 1993 Data East Corporation (Japan) */
4975   DRIVER( fghthistu )   /* MBF (c) 1993 Data East Corporation (US) */
4976   DRIVER( fghthista )   /* MBF (c) 1993 Data East Corporation (US) */
4977   DRIVER( fghthistj )   /* MBF (c) 1993 Data East Corporation (Japan) */
49734978   DRIVER( hvysmsh )   /* MBG (c) 1993 Data East Corporation (World) */
49744979   DRIVER( hvysmsha )   /* MBG (c) 1993 Data East Corporation (Asia) */
49754980   DRIVER( hvysmshj )   /* MBG (c) 1993 Data East Corporation (Japan) */
49764981   DRIVER( nslasher )   /* MBH (c) 1993 Data East Corporation */
4977   DRIVER( nslashej )   /* MBH (c) 1993 Data East Corporation (Japan)*/
4978   DRIVER( nslashes )   /* MBH (c) 1993 Data East Corporation (Japan)*/
4982   DRIVER( nslasherj )   /* MBH (c) 1993 Data East Corporation (Japan)*/
4983   DRIVER( nslashers )   /* MBH (c) 1993 Data East Corporation (Japan)*/
49794984                  /* MBI ?? */
49804985                  /* MBJ ?? */
49814986                  /* MBK ?? */
49824987                  /* MBL ?? */
49834988   DRIVER( lockload )   /* MBM (c) 1994 Data East Corporation (US) */
4984   DRIVER( locklodu )   /* MBM (c) 1994 Data East Corporation (US) */
4989   DRIVER( lockloadu )   /* MBM (c) 1994 Data East Corporation (US) */
49854990   DRIVER( joemacr )   /* MBN (c) 1994 */
49864991   DRIVER( joemacra )   /* MBN (c) 1994 */
49874992                  /* MBO ?? */
r5338r5339
49985003   DRIVER( wcvol95 )   /* MBX (c) 1993 Data East */
49995004                  /* MBY ?? */
50005005   DRIVER( backfire )   /* MBZ (c) 1995 */
5001   DRIVER( backfira )   /* MBZ (c) 1995 */
5006   DRIVER( backfirea )   /* MBZ (c) 1995 */
50025007                  /* MCA ?? */
50035008   DRIVER( prtytime )   /* MCB (c) 1995 Mitchell */
50045009   DRIVER( gangonta )   /* MCB (c) 1995 Mitchell */
r5338r5339
50115016   DRIVER( candance )   /* MCF (c) 1996 Mitchell */
50125017   DRIVER( sotsugyo )   /*     (c) 1995 Mitchell (Atlus license) */
50135018   DRIVER( sshangha )   /*     (c) 1992 Hot-B */
5014   DRIVER( sshanghb )   /* bootleg */
5019   DRIVER( sshanghab )   /* bootleg */
50155020
50165021   /* Data East MLC Games */
50175022   DRIVER( hoops96 )   /* MCE (c) 1996 Data East Corporation */
50185023   DRIVER( ddream95 )   /* MCE (c) 1996 Data East Corporation */
50195024   DRIVER( hoops95 )   /* MCE (c) 1996 Data East Corporation */
50205025   DRIVER( avengrgs )   /* MCG (c) 1995 Data East Corporation (World) */
5021   DRIVER( avengrgj )   /* MCG (c) 1995 Data East Corporation (Japan) */
5026   DRIVER( avengrgsj )   /* MCG (c) 1995 Data East Corporation (Japan) */
50225027   DRIVER( skullfng )   /* MCH (c) 1996 Data East Corporation (World) */
5023   DRIVER( skullfnj )   /* MCH (c) 1996 Data East Corporation (Japan) */
5028   DRIVER( skullfngj )   /* MCH (c) 1996 Data East Corporation (Japan) */
50245029   DRIVER( stadhr96 )   /* MCM (c) 1996 Data East */
5025   DRIVER( stadh96a )   /* MCM (c) 1996 Data East */
5030   DRIVER( stadhr96a )   /* MCM (c) 1996 Data East */
50265031
50275032   /* Tehkan / Tecmo games (Tehkan became Tecmo in 1986) */
50285033   DRIVER( senjyo )   /* (c) 1983 Tehkan */
50295034   DRIVER( starforc )   /* (c) 1984 Tehkan */
5030   DRIVER( starfore )   /* (c) 1984 Tehkan */
5031   DRIVER( starforb )   /* (c) 1984 Tehkan */
5032   DRIVER( starfora )   /* (c) 1984 Tehkan */
5035   DRIVER( starforce )   /* (c) 1984 Tehkan */
5036   DRIVER( starforcb )   /* (c) 1984 Tehkan */
5037   DRIVER( starforca )   /* (c) 1984 Tehkan */
50335038   DRIVER( megaforc )   /* (c) 1985 Tehkan + Video Ware license */
50345039   DRIVER( baluba )   /* (c) 1986 Able Corp. */
50355040   DRIVER( bombjack )   /* (c) 1984 Tehkan */
5036   DRIVER( bombjac2 )   /* (c) 1984 Tehkan */
5041   DRIVER( bombjack2 )   /* (c) 1984 Tehkan */
50375042   DRIVER( pbaction )   /* (c) 1985 Tehkan */
5038   DRIVER( pbactio2 )   /* (c) 1985 Tehkan */
5039   DRIVER( pbactio3 )   /* (c) 1985 Tehkan */
5043   DRIVER( pbaction2 )   /* (c) 1985 Tehkan */
5044   DRIVER( pbaction3 )   /* (c) 1985 Tehkan */
5045   DRIVER( pbaction4 )   /* (c) 1985 Tehkan */
50405046                  /* 6009 Tank Busters */
50415047   DRIVER( ponttehk )   /* 6011 - (c) 1985 Tehkan */
50425048   DRIVER( lvpoker )   /* ???? - (c) 1985 Tehkan */
r5338r5339
50545060   DRIVER( rygarj )   /* 6002 - (c) 1986 Tecmo */
50555061   DRIVER( gemini )   /* (c) 1987 Tecmo */
50565062   DRIVER( silkworm )   /* 6217 - (c) 1988 Tecmo */
5057   DRIVER( silkwrm2 )   /* 6217 - (c) 1988 Tecmo */
5063   DRIVER( silkworm2 )   /* 6217 - (c) 1988 Tecmo */
50585064   DRIVER( backfirt )   /* bootleg [(c) 1988 Tecmo] */
50595065   DRIVER( tbowl )      /* 6206 - (c) 1987 Tecmo */
50605066   DRIVER( tbowlj )   /* 6206 - (c) 1987 Tecmo */
r5338r5339
50625068   DRIVER( shadowwa )   /* 6215 - (c) 1988 Tecmo (World) */
50635069   DRIVER( gaiden )   /* 6215 - (c) 1988 Tecmo (US) */
50645070   DRIVER( ryukendn )   /* 6215 - (c) 1989 Tecmo (Japan) */
5065   DRIVER( ryukenda )   /* 6215 - (c) 1989 Tecmo (Japan) */
5071   DRIVER( ryukendna )   /* 6215 - (c) 1989 Tecmo (Japan) */
50665072   DRIVER( wildfang )   /* (c) 1989 Tecmo */
50675073   DRIVER( tknight )   /* (c) 1989 Tecmo */
50685074   DRIVER( stratof )   /* (c) 1991 Tecmo */
r5338r5339
50815087   DRIVER( ginkun )   /* (c) 1995 Tecmo */
50825088   DRIVER( deroon )   /* (c) 1996 Tecmo */
50835089   DRIVER( tkdensho )   /* (c) 1996 Tecmo */
5084   DRIVER( tkdensha )   /* (c) 1996 Tecmo */
5090   DRIVER( tkdenshoa )   /* (c) 1996 Tecmo */
50855091
50865092   /* Konami bitmap games */
50875093   DRIVER( tutankhm )   /* GX350 (c) 1982 Konami */
5088   DRIVER( tutankst )   /* GX350 (c) 1982 Stern */
5094   DRIVER( tutankhms )   /* GX350 (c) 1982 Stern */
50895095   DRIVER( junofrst )   /* GX310 (c) 1983 Konami */
5090   DRIVER( junofstg )   /* GX310 (c) 1983 Konami + Gottlieb license */
5096   DRIVER( junofrstg )   /* GX310 (c) 1983 Konami + Gottlieb license */
50915097
50925098   /* Konami games */
50935099   DRIVER( pooyan )   /* GX320 (c) 1982 */
r5338r5339
50995105   DRIVER( spaceplt )   /* bootleg */
51005106   DRIVER( psurge )   /* (c) 1988 unknown (NOT Konami) */
51015107   DRIVER( megazone )   /* GX319 (c) 1983 */
5102   DRIVER( megazona )   /* GX319 (c) 1983 */
5103   DRIVER( megazonb )   /* GX319 (c) 1983 + Kosuka */
5104   DRIVER( megazonc )   /* GX319 (c) 1983 + Kosuka */
5105   DRIVER( megaznik )   /* GX319 (c) 1983 + Interlogic / Kosuka */
5108   DRIVER( megazonea )   /* GX319 (c) 1983 */
5109   DRIVER( megazoneb )   /* GX319 (c) 1983 + Kosuka */
5110   DRIVER( megazonec )   /* GX319 (c) 1983 + Kosuka */
5111   DRIVER( megazonei )   /* GX319 (c) 1983 + Interlogic / Kosuka */
51065112   DRIVER( pandoras )   /* GX328 (c) 1984 + Interlogic */
51075113   DRIVER( gyruss )   /* GX347 (c) 1983 */
51085114   DRIVER( gyrussce )   /* GX347 (c) 1983 + Centuri license */
51095115   DRIVER( venus )      /* bootleg */
51105116   DRIVER( trackfld )   /* GX361 (c) 1983 */
5111   DRIVER( trackflc )   /* GX361 (c) 1983 + Centuri license */
5117   DRIVER( trackfldc )   /* GX361 (c) 1983 + Centuri license */
51125118   DRIVER( hyprolym )   /* GX361 (c) 1983 */
5113   DRIVER( hyprolyb )   /* bootleg */
5119   DRIVER( hyprolymb )   /* bootleg */
51145120   DRIVER( atlantol )   /* bootleg */
51155121   DRIVER( wizzquiz )   /* (c) 1985 Konami */
5116   DRIVER( wizzquza )   /* (c) 1985 Zilec-Zenitone */
5122   DRIVER( wizzquiza )   /* (c) 1985 Zilec-Zenitone */
51175123   DRIVER( reaktor )   /* (c) 1985 Zilec */
51185124   DRIVER( mastkin )   /* (c) 1988 Du Tech */
51195125   DRIVER( rocnrope )   /* GX364 (c) 1983 */
5120   DRIVER( rocnropk )   /* GX364 (c) 1983 + Kosuka */
5126   DRIVER( rocnropek )   /* GX364 (c) 1983 + Kosuka */
51215127   DRIVER( circusc )   /* GX380 (c) 1984 */
51225128   DRIVER( circusc2 )   /* GX380 (c) 1984 */
51235129   DRIVER( circusc3 )   /* GX380 (c) 1984 */
r5338r5339
51505156   DRIVER( mrgoemon )   /* GX621 (c) 1986 (Japan) */
51515157   DRIVER( jailbrek )   /* GX507 (c) 1986 */
51525158   DRIVER( manhatan )   /* GX507 (c) 1986 (Japan) */
5153      DRIVER( jailbrkb )   /* bootleg */
5159      DRIVER( jailbrekb )   /* bootleg */
51545160   DRIVER( scotrsht )   /* GX545 (c) 1985 */
51555161   DRIVER( finalizr )   /* GX523 (c) 1985 */
5156   DRIVER( finalizb )   /* bootleg */
5162   DRIVER( finalizrb )   /* bootleg */
51575163   DRIVER( ironhors )   /* GX560 (c) 1986 */
51585164   DRIVER( dairesya )   /* GX560 (c) 1986 (Japan) */
51595165   DRIVER( farwest )   /* bootleg */
r5338r5339
51755181   DRIVER( bootcamp )   /* GX611 (c) 1987 */
51765182   DRIVER( combascb )   /* bootleg */
51775183   DRIVER( rockrage )   /* GX620 (c) 1986 (World?) */
5178   DRIVER( rockraga )   /* GX620 (c) 1986 (Prototype?) */
5179   DRIVER( rockragj )   /* GX620 (c) 1986 (Japan) */
5184   DRIVER( rockragea )   /* GX620 (c) 1986 (Prototype?) */
5185   DRIVER( rockragej )   /* GX620 (c) 1986 (Japan) */
51805186   DRIVER( mx5000 )   /* GX669 (c) 1987 */
51815187   DRIVER( flkatck )   /* GX669 (c) 1987 (Japan) */
51825188   DRIVER( fastlane )   /* GX752 (c) 1987 */
51835189   DRIVER( tricktrp )   /* GX771 (c) 1987 */
51845190   DRIVER( labyrunr )   /* GX771 (c) 1987 (Japan) */
5185   DRIVER( labyrunk )   /* GX771 (c) 1987 (Japan) */
5191   DRIVER( labyrunrk )   /* GX771 (c) 1987 (Japan) */
51865192   DRIVER( thehustl )   /* GX765 (c) 1987 (Japan) */
5187   DRIVER( thehustj )   /* GX765 (c) 1987 (Japan) */
5193   DRIVER( thehustlj )   /* GX765 (c) 1987 (Japan) */
51885194   DRIVER( rackemup )   /* GX765 (c) 1987 */
51895195   DRIVER( battlnts )   /* GX777 (c) 1987 */
5190   DRIVER( battlntj )   /* GX777 (c) 1987 (Japan) */
5196   DRIVER( battlntsj )   /* GX777 (c) 1987 (Japan) */
51915197   DRIVER( bladestl )   /* GX797 (c) 1987 */
5192   DRIVER( bladstle )   /* GX797 (c) 1987 */
5198   DRIVER( bladestle )   /* GX797 (c) 1987 */
51935199   DRIVER( hcastle )   /* GX768 (c) 1988 */
51945200   DRIVER( hcastleo )   /* GX768 (c) 1988 */
51955201   DRIVER( hcastlej )   /* GX768 (c) 1988 (Japan) */
r5338r5339
52005206   DRIVER( scontra )   /* GX775 (c) 1988 */
52015207   DRIVER( scontraj )   /* GX775 (c) 1988 (Japan) */
52025208   DRIVER( thunderx )   /* GX873 (c) 1988 */
5203   DRIVER( thnderxa )   /* GX873 (c) 1988 */
5204   DRIVER( thnderxb )   /* GX873 (c) 1988 */
5205   DRIVER( thnderxj )   /* GX873 (c) 1988 (Japan) */
5209   DRIVER( thunderxa )   /* GX873 (c) 1988 */
5210   DRIVER( thunderxb )   /* GX873 (c) 1988 */
5211   DRIVER( thunderxj )   /* GX873 (c) 1988 (Japan) */
52065212   DRIVER( mainevt )   /* GX799 (c) 1988 */
52075213   DRIVER( mainevto )   /* GX799 (c) 1988 */
5208   DRIVER( mainev2p )   /* GX799 (c) 1988 */
5214   DRIVER( mainevt2p )   /* GX799 (c) 1988 */
52095215   DRIVER( ringohja )   /* GX799 (c) 1988 (Japan) */
52105216   DRIVER( devstors )   /* GX890 (c) 1988 */
5211   DRIVER( devstor2 )   /* GX890 (c) 1988 */
5212   DRIVER( devstor3 )   /* GX890 (c) 1988 */
5217   DRIVER( devstors2 )   /* GX890 (c) 1988 */
5218   DRIVER( devstors3 )   /* GX890 (c) 1988 */
52135219   DRIVER( garuka )   /* GX890 (c) 1988 (Japan) */
52145220   DRIVER( 88games )   /* GX861 (c) 1988 */
52155221   DRIVER( konami88 )   /* GX861 (c) 1988 */
52165222   DRIVER( hypsptsp )   /* GX861 (c) 1988 (Japan) */
52175223   DRIVER( gbusters )   /* GX878 (c) 1988 */
5218   DRIVER( gbustera )   /* GX878 (c) 1988 */
5224   DRIVER( gbustersa )   /* GX878 (c) 1988 */
52195225   DRIVER( crazycop )   /* GX878 (c) 1988 (Japan) */
52205226   DRIVER( crimfght )   /* GX821 (c) 1989 (US) */
5221   DRIVER( crimfgt2 )   /* GX821 (c) 1989 (World) */
5222   DRIVER( crimfgtj )   /* GX821 (c) 1989 (Japan) */
5227   DRIVER( crimfght2 )   /* GX821 (c) 1989 (World) */
5228   DRIVER( crimfghtj )   /* GX821 (c) 1989 (Japan) */
52235229   DRIVER( spy )      /* GX857 (c) 1989 (World) */
52245230   DRIVER( spyu )      /* GX857 (c) 1989 (US) */
52255231   DRIVER( bottom9 )   /* GX891 (c) 1989 */
r5338r5339
52385244   DRIVER( suratka )   /* GX911 (c) 1990 (Asia) */
52395245   DRIVER( suratkj )   /* GX911 (c) 1990 (Japan) */
52405246   DRIVER( parodius )   /* GX955 (c) 1990 (World) */
5241   DRIVER( parodisj )   /* GX955 (c) 1990 (Japan) */
5247   DRIVER( parodiusj )   /* GX955 (c) 1990 (Japan) */
52425248   DRIVER( rollerg )   /* GX999 (c) 1991 (US) */
52435249   DRIVER( rollergj )   /* GX999 (c) 1991 (Japan) */
52445250   DRIVER( simpsons )   /* GX072 (c) 1991 */
5245   DRIVER( simps4pa )   /* GX072 (c) 1991 */
5246   DRIVER( simpsn2p )   /* GX072 (c) 1991 */
5247   DRIVER( simps2pa )   /* GX072 (c) 1991 */
5248   DRIVER( simp2pa )   /* GX072 (c) 1991 (Asia) */
5249   DRIVER( simps2pj )   /* GX072 (c) 1991 (Japan) */
5251   DRIVER( simpsons4pa )   /* GX072 (c) 1991 */
5252   DRIVER( simpsons2p )   /* GX072 (c) 1991 */
5253   DRIVER( simpsons2p2 )   /* GX072 (c) 1991 */
5254   DRIVER( simpsons2pa )   /* GX072 (c) 1991 (Asia) */
5255   DRIVER( simpsons2pj )   /* GX072 (c) 1991 (Japan) */
52505256   DRIVER( esckids )   /* GX975 (c) 1991 (Asia) */
52515257   DRIVER( esckidsj )   /* GX975 (c) 1991 (Japan) */
52525258   DRIVER( vendetta )   /* GX081 (c) 1991 (World) */
r5338r5339
52635269   DRIVER( ultraman )   /* GX910 (c) 1991 Banpresto/Bandai */
52645270   DRIVER( hexion )   /* GX122 (c) 1992 */
52655271   DRIVER( lethalen )   /* GX191 (c) 1992 */
5266   DRIVER( lethalua )   /* GX191 (c) 1992 */
5267   DRIVER( lethalux )   /* GX191 (c) 1992 */
5268   DRIVER( letheab )   /* GX191 (c) 1992 */
5269   DRIVER( letheae )   /* GX191 (c) 1992 */
5270   DRIVER( lethalej )   /* GX191 (c) 1992 */
5272   DRIVER( lethalenua )   /* GX191 (c) 1992 */
5273   DRIVER( lethalenux )   /* GX191 (c) 1992 */
5274   DRIVER( lethaleneab )   /* GX191 (c) 1992 */
5275   DRIVER( lethaleneae )   /* GX191 (c) 1992 */
5276   DRIVER( lethalenj )   /* GX191 (c) 1992 */
52715277
52725278   /* Konami "Nemesis hardware" games */
52735279   DRIVER( nemesis )   /* GX456 (c) 1985 */
5274   DRIVER( nemesuk )   /* GX456 (c) 1985 */
5280   DRIVER( nemesisuk )   /* GX456 (c) 1985 */
52755281   DRIVER( konamigt )   /* GX561 (c) 1985 */
52765282   DRIVER( salamand )   /* GX587 (c) 1986 */
5277   DRIVER( salamanj )   /* GX587 (c) 1986 */
5283   DRIVER( salamandj )   /* GX587 (c) 1986 */
52785284   DRIVER( lifefrce )   /* GX587 (c) 1986 (US) */
5279   DRIVER( lifefrcj )   /* GX587 (c) 1986 (Japan) */
5285   DRIVER( lifefrcej )   /* GX587 (c) 1986 (Japan) */
52805286   DRIVER( blkpnthr )   /* GX604 (c) 1987 (Japan) */
52815287   DRIVER( citybomb )   /* GX787 (c) 1987 (World) */
5282   DRIVER( citybmrj )   /* GX787 (c) 1987 (Japan) */
5288   DRIVER( citybombj )   /* GX787 (c) 1987 (Japan) */
52835289   DRIVER( kittenk )   /* GX712 (c) 1988 */
52845290   DRIVER( nyanpani )   /* GX712 (c) 1988 (Japan) */
52855291   DRIVER( hcrash )   /* GX790 (c) 1987 */
r5338r5339
52975303   DRIVER( majuu )      /* GX687 (c) 1987 (Japan) */
52985304   DRIVER( vulcan )   /* GX785 (c) 1988 */
52995305   DRIVER( gradius2 )   /* GX785 (c) 1988 (Japan) */
5300   DRIVER( grdius2a )   /* GX785 (c) 1988 (Japan) */
5301   DRIVER( grdius2b )   /* GX785 (c) 1988 (Japan) */
5306   DRIVER( gradius2a )   /* GX785 (c) 1988 (Japan) */
5307   DRIVER( gradius2b )   /* GX785 (c) 1988 (Japan) */
53025308   DRIVER( cuebrckj )   /* GX903 (c) 1989 */
53035309   DRIVER( fround )   /* GX870 (c) 1988 */
53045310   DRIVER( froundl )   /* GX870 (c) 1988 */
r5338r5339
53195325   DRIVER( tmnt2pj )   /* GX963 (c) 1990 (Japan) */
53205326   DRIVER( tmnt2po )   /* GX963 (c) 1989 (Oceania) */
53215327   DRIVER( punkshot )   /* GX907 (c) 1990 (US) */
5322   DRIVER( punksht2 )   /* GX907 (c) 1990 (US) */
5323   DRIVER( punkshtj )   /* GX907 (c) 1990 (Japan) */
5328   DRIVER( punkshot2 )   /* GX907 (c) 1990 (US) */
5329   DRIVER( punkshotj )   /* GX907 (c) 1990 (Japan) */
53245330   DRIVER( lgtnfght )   /* GX939 (c) 1990 (World) */
5325   DRIVER( lgtnfgha )   /* GX939 (c) 1990 (Asia) */
5326   DRIVER( lgtnfghu )   /* GX939 (c) 1990 (US) */
5331   DRIVER( lgtnfghta )   /* GX939 (c) 1990 (Asia) */
5332   DRIVER( lgtnfghtu )   /* GX939 (c) 1990 (US) */
53275333   DRIVER( trigon )   /* GX939 (c) 1990 (Japan) */
53285334   DRIVER( blswhstl )   /* GX060 (c) 1991 */
53295335   DRIVER( detatwin )   /* GX060 (c) 1991 (Japan) */
53305336   DRIVER( glfgreat )   /* GX061 (c) 1991 */
5331   DRIVER( glfgretj )   /* GX061 (c) 1991 (Japan) */
5337   DRIVER( glfgreatj )   /* GX061 (c) 1991 (Japan) */
53325338   DRIVER( tmnt2 )      /* GX063 (c) 1991 (US) */
53335339   DRIVER( tmnt2a )   /* GX063 (c) 1991 (Asia) */
53345340   DRIVER( tmht22pe )   /* GX063 (c) 1991 (UK) */
53355341   DRIVER( tmnt22pu )   /* GX063 (c) 1991 (US) */
53365342   DRIVER( ssriders )   /* GX064 (c) 1991 (World) */
5337   DRIVER( ssrdrebd )   /* GX064 (c) 1991 (World) */
5338   DRIVER( ssrdrebc )   /* GX064 (c) 1991 (World) */
5339   DRIVER( ssrdruda )   /* GX064 (c) 1991 (US) */
5340   DRIVER( ssrdreaa )   /* GX064 (c) 1991 (US) */
5341   DRIVER( ssrdruac )   /* GX064 (c) 1991 (US) */
5342   DRIVER( ssrdrubc )   /* GX064 (c) 1991 (US) */
5343   DRIVER( ssrdrabd )   /* GX064 (c) 1991 (Asia) */
5344   DRIVER( ssrdradd )   /* GX064 (c) 1991 (Asia) */
5345   DRIVER( ssrdrjbd )   /* GX064 (c) 1991 (Japan) */
5346   DRIVER( sunsetbl )   /* bootleg */
5343   DRIVER( ssridersebd )   /* GX064 (c) 1991 (World) */
5344   DRIVER( ssridersebc )   /* GX064 (c) 1991 (World) */
5345   DRIVER( ssridersuda )   /* GX064 (c) 1991 (US) */
5346   DRIVER( ssriderseaa )   /* GX064 (c) 1991 (US) */
5347   DRIVER( ssridersuac )   /* GX064 (c) 1991 (US) */
5348   DRIVER( ssridersubc )   /* GX064 (c) 1991 (US) */
5349   DRIVER( ssridersabd )   /* GX064 (c) 1991 (Asia) */
5350   DRIVER( ssridersadd )   /* GX064 (c) 1991 (Asia) */
5351   DRIVER( ssridersjbd )   /* GX064 (c) 1991 (Japan) */
5352   DRIVER( ssridersb )   /* bootleg */
53475353   DRIVER( xmen )      /* GX065 (c) 1992 (US) */
53485354   DRIVER( xmenj )      /* GX065 (c) 1992 (Japan) */
53495355   DRIVER( xmen2p )   /* GX065 (c) 1992 (World) */
r5338r5339
53545360   DRIVER( xexexa )   /* GX067 (c) 1991 (AAA) */
53555361   DRIVER( xexexj )   /* GX067 (c) 1991 (Japan) */
53565362   DRIVER( asterix )   /* GX068 (c) 1992 (World) */
5357   DRIVER( astrxeac )   /* GX068 (c) 1992 (World) */
5358   DRIVER( astrxeaa )   /* GX068 (c) 1992 (World) */
5363   DRIVER( asterixeac )   /* GX068 (c) 1992 (World) */
5364   DRIVER( asterixeaa )   /* GX068 (c) 1992 (World) */
53595365   DRIVER( asterixj )   /* GX068 (c) 1992 (Japan) */
53605366   DRIVER( gijoe )      /* GX069 (c) 1991 (World) */
53615367   DRIVER( gijoeu )   /* GX069 (c) 1991 (US) */
r5338r5339
53645370   DRIVER( thndrx2a )   /* GX073 (c) 1991 (Asia) */
53655371   DRIVER( thndrx2j )   /* GX073 (c) 1991 (Japan) */
53665372   DRIVER( prmrsocr )   /* GX101 (c) 1993 (Europe) */
5367   DRIVER( prmrsocj )   /* GX101 (c) 1993 (Japan) */
5373   DRIVER( prmrsocrj )   /* GX101 (c) 1993 (Japan) */
53685374   DRIVER( qgakumon )   /* GX248 (c) 1993 (Japan) */
53695375   DRIVER( moo )      /* GX151 (c) 1992 (World) */
53705376   DRIVER( mooua )      /* GX151 (c) 1992 (US) */
r5338r5339
53745380   DRIVER( buckyua )   /* GX173 (c) 1992 (US) */
53755381   DRIVER( buckyaa )   /* GX173 (c) 1992 (Asia) */
53765382   DRIVER( gaiapols )   /* GX123 (c) 1993 (Europe) */
5377   DRIVER( gaiapolu )   /* GX123 (c) 1993 (US) */
5378   DRIVER( gaiapolj )   /* GX123 (c) 1993 (Japan) */
5383   DRIVER( gaiapolsu )   /* GX123 (c) 1993 (US) */
5384   DRIVER( gaiapolsj )   /* GX123 (c) 1993 (Japan) */
53795385   DRIVER( mystwarr )   /* GX128 (c) 1993 (World) */
5380   DRIVER( mystwaru )   /* GX128 (c) 1993 (US) */
5381   DRIVER( mystwarj )   /* GX128 (c) 1993 (Japan) */
5386   DRIVER( mystwarru )   /* GX128 (c) 1993 (US) */
5387   DRIVER( mystwarrj )   /* GX128 (c) 1993 (Japan) */
53825388   DRIVER( viostorm )   /* GX168 (c) 1993 (Europe) */
5383   DRIVER( viostrmu )   /* GX168 (c) 1993 (US) */
5384   DRIVER( viostmub )   /* GX168 (c) 1993 (US) */
5385   DRIVER( viostrmj )   /* GX168 (c) 1993 (Japan) */
5386   DRIVER( viostrma )   /* GX168 (c) 1993 (Asia) */
5389   DRIVER( viostormu )   /* GX168 (c) 1993 (US) */
5390   DRIVER( viostormub )   /* GX168 (c) 1993 (US) */
5391   DRIVER( viostormj )   /* GX168 (c) 1993 (Japan) */
5392   DRIVER( viostorma )   /* GX168 (c) 1993 (Asia) */
53875393   DRIVER( mmaulers )   /* GX170 (c) 1993 (Europe) */
53885394   DRIVER( dadandrn )   /* GX170 (c) 1993 (Japan) */
53895395   DRIVER( metamrph )   /* GX224 (c) 1993 (Europe) */
5390   DRIVER( metamrpu )   /* GX224 (c) 1993 (US) */
5391   DRIVER( metamrpj )   /* GX224 (c) 1993 (Japan) */
5396   DRIVER( metamrphu )   /* GX224 (c) 1993 (US) */
5397   DRIVER( metamrphj )   /* GX224 (c) 1993 (Japan) */
53925398   DRIVER( mtlchamp )   /* GX234 (c) 1993 (World) */
5393   DRIVER( mtlchmp1 )   /* GX234 (c) 1993 (World) */
5394   DRIVER( mtlchmpu )   /* GX234 (c) 1993 (US) */
5395   DRIVER( mtlchmpj )   /* GX234 (c) 1993 (Japan) */
5396   DRIVER( mtlchmpa )   /* GX234 (c) 1993 (Japan) */
5399   DRIVER( mtlchamp1 )   /* GX234 (c) 1993 (World) */
5400   DRIVER( mtlchampu )   /* GX234 (c) 1993 (US) */
5401   DRIVER( mtlchampj )   /* GX234 (c) 1993 (Japan) */
5402   DRIVER( mtlchampa )   /* GX234 (c) 1993 (Japan) */
53975403   DRIVER( rungun )   /* GX247 (c) 1993 (World) */
53985404   DRIVER( runguna )   /* GX247 (c) 1993 (World) */
53995405   DRIVER( rungunu )   /* GX247 (c) 1993 (US) */
r5338r5339
54085414   /* Konami dual 68000 games */
54095415   DRIVER( overdriv )   /* GX789 (c) 1990 */
54105416   DRIVER( gradius3 )   /* GX945 (c) 1989 (Japan) */
5411   DRIVER( grdius3a )   /* GX945 (c) 1989 (Asia) */
5412   DRIVER( grdius3e )   /* GX945 (c) 1989 (World?) */
5417   DRIVER( gradius3a )   /* GX945 (c) 1989 (Asia) */
5418   DRIVER( gradius3e )   /* GX945 (c) 1989 (World?) */
54135419
54145420   /* Konami 68020 games */
54155421   DRIVER( plygonet )   /* GX305 (c) 1993 */
r5338r5339
54205426
54215427   /* GX Type 1 */
54225428   DRIVER( racinfrc )   /* 1994.?? GX250 (Europe) */
5423   DRIVER( racinfru )   /* 1994.03 GX250 (US) */
5429   DRIVER( racinfrcu )   /* 1994.03 GX250 (US) */
54245430                  /* 1994.02 (Japan) */
54255431   DRIVER( opengolf )   /* 1994.?? GX218 (Europe) */
5426   DRIVER( opengol2 )   /* 1994.?? GX218 (Europe) */
5432   DRIVER( opengolf2 )   /* 1994.?? GX218 (Europe) */
54275433   DRIVER( ggreats2 )   /* 1994.03 GX218 (Japan) */
54285434                  /* 1995.03 GX218 (US) */
54295435
r5338r5339
54395445   DRIVER( tbyahhoo )   /* 1995.04 GX424 (Japan) */
54405446   DRIVER( tkmmpzdm )   /* 1995.12 GX515 (Japan) */
54415447   DRIVER( salmndr2 )   /* 1996.01 GX521 (Japan) */
5442   DRIVER( salmnd2a )   /* 1996.?? GX521 (Asia) */
5448   DRIVER( salmndr2a )   /* 1996.?? GX521 (Asia) */
54435449   DRIVER( sexyparo )   /* 1996.02 GX533 (Japan) */
54445450   DRIVER( daiskiss )   /* 1996.03 GX535 (Japan) */
54455451   DRIVER( tokkae )   /* 1996.10 GX615 (Japan) */
54465452   DRIVER( winspike )   /* 1997.?? GX705 (Europe) */
5447   DRIVER( winspikj )   /* 1997.07 GX705 (Japan) */
5453   DRIVER( winspikej )   /* 1997.07 GX705 (Japan) */
54485454
54495455   /* GX Type 3 */
54505456   DRIVER( soccerss )   /* 1994.?? GX427 (Europe) */
5451   DRIVER( soccersj )   /* 1994.12 GX427 (Japan) */
5452   DRIVER( soccersa )   /* 1994.?? GX427 (Asia) */
5457   DRIVER( soccerssj )   /* 1994.12 GX427 (Japan) */
5458   DRIVER( soccerssja )/* 1994.12 GX427 (Japan) */
5459   DRIVER( soccerssa )   /* 1994.?? GX427 (Asia) */
54535460                  /* 1995.04 GX427 (US) */
54545461
54555462   /* GX Type 4 */
54565463   DRIVER( vsnetscr )   /* 1996.?? GX627 (Europe) */
5457   DRIVER( vsnetseb )   /* 1996.?? GX627 (Europe) */
5458   DRIVER( vsnetscu )   /* 1996.?? GX627 (US) */
5459   DRIVER( vsnetsca )   /* 1996.?? GX627 (Asia) */
5460   DRIVER( vsnetscj )   /* 1996.12 GX627 (Japan) */
5464   DRIVER( vsnetscreb )/* 1996.?? GX627 (Europe) */
5465   DRIVER( vsnetscru )   /* 1996.?? GX627 (US) */
5466   DRIVER( vsnetscra )   /* 1996.?? GX627 (Asia) */
5467   DRIVER( vsnetscrj )   /* 1996.12 GX627 (Japan) */
54615468   DRIVER( rungun2 )   /* 1996.03 GX505 (US) */
54625469   DRIVER( slamdnk2 )   /* 1996.03 GX505 (Japan) */
54635470   DRIVER( rushhero )   /* 1997.10 GX605 (US) */
r5338r5339
55025509   /* PowerPC based Konami games */
55035510   DRIVER( fiveside )   /*   479 (c)1995 */
55045511   DRIVER( thunderh )   /* GX680 (c)1996 Euro EAA */
5505   DRIVER( thundrhu )   /* GX680 (c)1996 USA UAA */
5512   DRIVER( thunderhu )   /* GX680 (c)1996 USA UAA */
55065513   DRIVER( slrasslt )   /* GX792 (c)1996 */
55075514   DRIVER( gticlub )   /* GX688 (c)1996 Euro EAA */
55085515   DRIVER( gticluba )   /* GX688 (c)1996 Asia AAA */
r5338r5339
55205527   DRIVER( thrilld )   /* GX713 (c)1998 */
55215528   DRIVER( midnrun )   /* GX??? (c)1995 */
55225529   DRIVER( windheat )   /* GX677 (c)1996 */
5523   DRIVER( windheau )   /* GX677 (c)1996 */
5530   DRIVER( windheatu )   /* GX677 (c)1996 */
55245531   DRIVER( jetwave )   /* GX??? (c)1996 */
55255532
55265533   /* Konami M2 games */
r5338r5339
55575564   DRIVER( crash )      /* Exidy [1979?] */
55585565   DRIVER( ripcord )   /* Exidy [1977?] */
55595566   DRIVER( starfire )   /* Exidy [1979?] */
5560   DRIVER( starfira )   /* Exidy [1979?] */
5567   DRIVER( starfirea )   /* Exidy [1979?] */
55615568   DRIVER( fireone )   /* (c) 1979 Exidy */
55625569   DRIVER( starfir2 )   /* (c) 1979 Exidy */
55635570   DRIVER( victory )   /* (c) 1982 */
r5338r5339
55745581   DRIVER( chiller )   /* (c) 1986 */
55755582   DRIVER( topsecex )   /* (c) 1986 */
55765583   DRIVER( hitnmiss )   /* (c) 1987 */
5577   DRIVER( hitnmis2 )   /* (c) 1987 */
5584   DRIVER( hitnmiss2 )   /* (c) 1987 */
55785585   DRIVER( whodunit )   /* (c) 1988 */
55795586   DRIVER( showdown )   /* (c) 1988 */
55805587   DRIVER( yukon )      /* (c) 1989 */
r5338r5339
56435650   DRIVER( missile )   /* 035820-035825    (c) 1980 */
56445651   DRIVER( missile2 )   /* 035820-035825    (c) 1980 */
56455652   DRIVER( suprmatk )   /*                  (c) 1980 + (c) 1981 Gencomp */
5646   DRIVER( sprmatkd )   /*                  (c) 1980 + (c) 1981 Gencomp */
5653   DRIVER( suprmatkd )   /*                  (c) 1980 + (c) 1981 Gencomp */
56475654   DRIVER( mcombat )
56485655   DRIVER( mcombata )
56495656
r5338r5339
56515658   DRIVER( llander )   /* 0345xx           no copyright notice */
56525659   DRIVER( llander1 )   /* 0345xx           no copyright notice */
56535660   DRIVER( asteroid )   /* 035127-035145    (c) 1979 */
5654   DRIVER( asteroi2 )   /* 035127-035145    (c) 1979 */
5655   DRIVER( asteroi1 )   /* 035127-035145    no copyright notice */
5656   DRIVER( asteroib )   /* (bootleg) */
5661   DRIVER( asteroid2 )   /* 035127-035145    (c) 1979 */
5662   DRIVER( asteroid1 )   /* 035127-035145    no copyright notice */
5663   DRIVER( asteroidb )   /* (bootleg) */
56575664   DRIVER( asterock )   /* Sidam bootleg    (c) 1979 */
56585665   DRIVER( meteorts )   /* VCC bootleg      (c) 1979 */
56595666   DRIVER( meteorho )   /* Hoei? bootleg    (c) 1980 */
56605667   DRIVER( astdelux )   /* 0351xx           (c) 1980 */
5661   DRIVER( astdelu2 )   /* 0351xx           (c) 1980 */
5662   DRIVER( astdelu1 )   /* 0351xx           (c) 1980 */
5668   DRIVER( astdelux2 )   /* 0351xx           (c) 1980 */
5669   DRIVER( astdelux1 )   /* 0351xx           (c) 1980 */
56635670   DRIVER( bzone )      /* 0364xx           (c) 1980 */
56645671   DRIVER( bzone2 )   /* 0364xx           (c) 1980 */
56655672   DRIVER( bzonec )   /* 0364xx           (c) 1980 */
r5338r5339
56725679   DRIVER( temptube )   /* (hack) */
56735680   DRIVER( spacduel )   /* 136006           (c) 1980 */
56745681   DRIVER( gravitar )   /* 136010           (c) 1982 */
5675   DRIVER( gravitr2 )   /* 136010           (c) 1982 */
5682   DRIVER( gravitar2 )   /* 136010           (c) 1982 */
56765683   DRIVER( gravp )      /* (proto)          (c) 1982 */
56775684   DRIVER( lunarbat )   /* (proto)          (c) 1982 */
56785685   DRIVER( lunarba1 )   /* (proto)          (c) 1982 */
r5338r5339
56815688   DRIVER( quantump )   /* 136016           (c) 1982 */   /* made by Gencomp */
56825689   DRIVER( bwidow )   /* 136017           (c) 1982 */
56835690   DRIVER( starwars )   /* 136021           (c) 1983 */
5684   DRIVER( starwar1 )   /* 136021           (c) 1983 */
5691   DRIVER( starwars1 )   /* 136021           (c) 1983 */
56855692   DRIVER( tomcatsw )   /* (proto)          (c) 1983 */
56865693   DRIVER( mhavoc )   /* 136025           (c) 1983 */
56875694   DRIVER( mhavoc2 )   /* 136025           (c) 1983 */
56885695   DRIVER( mhavocp )   /* 136025           (c) 1983 */
56895696   DRIVER( mhavocrv )   /* (hack) */
56905697   DRIVER( alphaone )   /* (proto)          (c) 1983 */
5691   DRIVER( alphaona )   /* (proto)          (c) 1983 */
5698   DRIVER( alphaonea )   /* (proto)          (c) 1983 */
56925699   DRIVER( esb )      /* 136031           (c) 1985 */
56935700   DRIVER( tomcat )   /* (proto)          (c) 1985 */
56945701
56955702   /* Atari "Centipede hardware" games */
56965703   DRIVER( warlords )   /* 037153-037159    (c) 1980 */
56975704   DRIVER( centiped )   /* 136001           (c) 1980 */
5698   DRIVER( centipd2 )   /* 136001           (c) 1980 */
5705   DRIVER( centiped2 )   /* 136001           (c) 1980 */
56995706   DRIVER( centtime )   /* 136001           (c) 1980 */
57005707   DRIVER( centipdb )   /* (bootleg) */
57015708   DRIVER( centipdd )   /* hack by Two Bit Score */
r5338r5339
57145721   DRIVER( tunhunt )   /* 136000           (c) 1979 */
57155722   DRIVER( tunhuntc )   /* 136000           (c) 1981 */ /* licensed to / distributed by Centuri */
57165723   DRIVER( liberatr )   /* 136012           (c) 1982 */
5717   DRIVER( liberat2 )   /* 136012           (c) 1982 */
5724   DRIVER( liberatr2 )   /* 136012           (c) 1982 */
57185725   DRIVER( foodf )      /* 136020           (c) 1982 */   /* made by Gencomp */
57195726   DRIVER( foodf2 )   /* 136020           (c) 1982 */   /* made by Gencomp */
57205727   DRIVER( foodfc )   /* 136020           (c) 1982 */   /* made by Gencomp */
57215728   DRIVER( ccastles )   /* 136022           (c) 1983 */
5722   DRIVER( ccastleg )   /* 136022           (c) 1983 */
5723   DRIVER( ccastlep )   /* 136022           (c) 1983 */
5724   DRIVER( ccastlef )   /* 136022           (c) 1983 */
5725   DRIVER( ccastle3 )   /* 136022           (c) 1983 */
5726   DRIVER( ccastle2 )   /* 136022           (c) 1983 */
5727   DRIVER( ccastle1 )   /* 136022           (c) 1983 */
5728   DRIVER( ccastlej )   /* 136022           (c) 1983 */
5729   DRIVER( ccastlesg )   /* 136022           (c) 1983 */
5730   DRIVER( ccastlesp )   /* 136022           (c) 1983 */
5731   DRIVER( ccastlesf )   /* 136022           (c) 1983 */
5732   DRIVER( ccastles3 )   /* 136022           (c) 1983 */
5733   DRIVER( ccastles2 )   /* 136022           (c) 1983 */
5734   DRIVER( ccastles1 )   /* 136022           (c) 1983 */
5735   DRIVER( ccastlesj )   /* 136022           (c) 1983 */
57295736   DRIVER( cloak )      /* 136023           (c) 1983 */
57305737   DRIVER( cloaksp )   /* 136023           (c) 1983 */
57315738   DRIVER( cloakfr )   /* 136023           (c) 1983 */
r5338r5339
57515758   DRIVER( marble5 )   /* 136033           (c) 1984   (LSI Cartridge) */
57525759   /* Indiana Jones and the Temple of Doom */
57535760   DRIVER( indytemp )   /* 136036           (c) 1985 */
5754   DRIVER( indytem2 )   /* 136036           (c) 1985 */
5755   DRIVER( indytem3 )   /* 136036           (c) 1985 */
5756   DRIVER( indytem4 )   /* 136036           (c) 1985 */
5757   DRIVER( indytemd )   /* 136036           (c) 1985 */
5758   DRIVER( indytemc )   /* 136036           (c) 1985 */
5761   DRIVER( indytemp2 )   /* 136036           (c) 1985 */
5762   DRIVER( indytemp3 )   /* 136036           (c) 1985 */
5763   DRIVER( indytemp4 )   /* 136036           (c) 1985 */
5764   DRIVER( indytempd )   /* 136036           (c) 1985 */
5765   DRIVER( indytempc )   /* 136036           (c) 1985 */
57595766   /* Road Runner */
57605767   DRIVER( roadrunn )   /* 136040           (c) 1985 */
5761   DRIVER( roadrun2 )   /* 136040           (c) 1985 */
5762   DRIVER( roadrun1 )   /* 136040           (c) 1985 */
5768   DRIVER( roadrunn2 )   /* 136040           (c) 1985 */
5769   DRIVER( roadrunn1 )   /* 136040           (c) 1985 */
57635770   /* Road Blasters */
57645771   DRIVER( roadblst )   /* 136048           (c) 1986, 1987 */
5765   DRIVER( roadblsg )   /* 136048           (c) 1986, 1987 */
5766   DRIVER( roadbls3 )   /* 136048           (c) 1986, 1987 */
5767   DRIVER( roadblg2 )   /* 136048           (c) 1986, 1987 */
5768   DRIVER( roadbls2 )   /* 136048           (c) 1986, 1987 */
5769   DRIVER( roadblg1 )   /* 136048           (c) 1986, 1987 */
5770   DRIVER( roadbls1 )   /* 136048           (c) 1986, 1987 */
5771   DRIVER( roadblsc )   /* 136048           (c) 1986, 1987 */
5772   DRIVER( roadblcg )   /* 136048           (c) 1986, 1987 */
5773   DRIVER( roadblc1 )   /* 136048           (c) 1986, 1987 */
5772   DRIVER( roadblstg )   /* 136048           (c) 1986, 1987 */
5773   DRIVER( roadblst3 )   /* 136048           (c) 1986, 1987 */
5774   DRIVER( roadblstg2 )/* 136048           (c) 1986, 1987 */
5775   DRIVER( roadblst2 )   /* 136048           (c) 1986, 1987 */
5776   DRIVER( roadblstg1 )/* 136048           (c) 1986, 1987 */
5777   DRIVER( roadblst1 )   /* 136048           (c) 1986, 1987 */
5778   DRIVER( roadblstc )   /* 136048           (c) 1986, 1987 */
5779   DRIVER( roadblstcg )/* 136048           (c) 1986, 1987 */
5780   DRIVER( roadblstc1 )/* 136048           (c) 1986, 1987 */
57745781
57755782   /* Atari System 2 games */
57765783   /* Paperboy */
57775784   DRIVER( paperboy )   /* 136034           (c) 1984 */
5778   DRIVER( paperbr2 )   /* 136034           (c) 1984 */
5779   DRIVER( paperbr1 )   /* 136034           (c) 1984 */
5785   DRIVER( paperboyr2 )/* 136034           (c) 1984 */
5786   DRIVER( paperboyr1 )/* 136034           (c) 1984 */
57805787   /* Super Sprint */
57815788   DRIVER( ssprint )   /* 136042           (c) 1986 */
57825789   DRIVER( ssprint3 )   /* 136042           (c) 1986 */
57835790   DRIVER( ssprint1 )   /* 136042           (c) 1986 */
57845791   DRIVER( ssprintg )   /* 136042           (c) 1986 */
5785   DRIVER( sspring1 )   /* 136042           (c) 1986 */
5792   DRIVER( ssprintg1 )   /* 136042           (c) 1986 */
57865793   DRIVER( ssprintf )   /* 136042           (c) 1986 */
57875794   DRIVER( ssprints )   /* 136042           (c) 1986 */
57885795   /* Championship Sprint */
r5338r5339
57905797   DRIVER( csprint2 )   /* 136045           (c) 1986 */
57915798   DRIVER( csprint1 )   /* 136045           (c) 1986 */
57925799   DRIVER( csprintg )   /* 136045           (c) 1986 */
5793   DRIVER( cspring1 )   /* 136045           (c) 1986 */
5800   DRIVER( csprintg1 )   /* 136045           (c) 1986 */
57945801   DRIVER( csprintf )   /* 136045           (c) 1986 */
57955802   DRIVER( csprints )   /* 136045           (c) 1986 */
5796   DRIVER( csprins1 )   /* 136045           (c) 1986 */
5803   DRIVER( csprints1 )   /* 136045           (c) 1986 */
57975804   /* 720 Degrees */
57985805   DRIVER( 720 )      /* 136047           (c) 1986 */
57995806   DRIVER( 720r3 )      /* 136047           (c) 1986 */
r5338r5339
58165823   DRIVER( irobot )   /* 136029           (c) 1983 */
58175824   /* Hard Drivin' */
58185825   DRIVER( harddriv )   /* 136052           (c) 1988 */
5819   DRIVER( harddrvb )   /* 136052           (c) 1988 */
5820   DRIVER( harddrvg )   /* 136052           (c) 1988 */
5821   DRIVER( harddrvj )   /* 136052           (c) 1988 */
5822   DRIVER( harddrb6 )   /* 136052           (c) 1988 */
5823   DRIVER( harddrj6 )   /* 136052           (c) 1988 */
5824   DRIVER( harddrb5 )   /* 136052           (c) 1988 */
5825   DRIVER( harddrg4 )   /* 136052           (c) 1988 */
5826   DRIVER( harddrv3 )   /* 136052           (c) 1988 */
5827   DRIVER( harddrv2 )   /* 136052           (c) 1988 */
5828   DRIVER( harddrv1 )   /* 136052           (c) 1988 */
5826   DRIVER( harddrivb )   /* 136052           (c) 1988 */
5827   DRIVER( harddrivg )   /* 136052           (c) 1988 */
5828   DRIVER( harddrivj )   /* 136052           (c) 1988 */
5829   DRIVER( harddrivb6 )/* 136052           (c) 1988 */
5830   DRIVER( harddrivj6 )/* 136052           (c) 1988 */
5831   DRIVER( harddrivb5 )/* 136052           (c) 1988 */
5832   DRIVER( harddrivg4 )/* 136052           (c) 1988 */
5833   DRIVER( harddriv3 )   /* 136052           (c) 1988 */
5834   DRIVER( harddriv2 )   /* 136052           (c) 1988 */
5835   DRIVER( harddriv1 )   /* 136052           (c) 1988 */
58295836   /* Hard Drivin' Compact */
5830   DRIVER( harddrvc )   /* 136068           (c) 1990 */
5831   DRIVER( harddrcg )   /* 136068           (c) 1990 */
5832   DRIVER( harddrcb )   /* 136068           (c) 1990 */
5833   DRIVER( harddrc1 )   /* 136068           (c) 1990 */
5837   DRIVER( harddrivc )   /* 136068           (c) 1990 */
5838   DRIVER( harddrivcg )/* 136068           (c) 1990 */
5839   DRIVER( harddrivcb )/* 136068           (c) 1990 */
5840   DRIVER( harddrivc1 )/* 136068           (c) 1990 */
58345841   /* Stun Runner */
58355842   DRIVER( stunrun )   /* 136070           (c) 1989 */
58365843   DRIVER( stunrunj )   /* 136070           (c) 1989 */
r5338r5339
58385845   DRIVER( stunrune )   /* 136070           (c) 1989 */
58395846   DRIVER( stunrun4 )   /* 136070           (c) 1989 */
58405847   DRIVER( stunrun3 )   /* 136070           (c) 1989 */
5841   DRIVER( stunrn3e )   /* 136070           (c) 1989 */
5848   DRIVER( stunrun3e )   /* 136070           (c) 1989 */
58425849   DRIVER( stunrun2 )   /* 136070           (c) 1989 */
5843   DRIVER( stunrn2e )   /* 136070           (c) 1989 */
5850   DRIVER( stunrun2e )   /* 136070           (c) 1989 */
58445851   DRIVER( stunrun0 )   /* 136070           (c) 1989 */
58455852   DRIVER( stunrunp )   /* (proto)          (c) 1989 */
58465853   /* Race Drivin' */
58475854   DRIVER( racedriv )   /* 136077           (c) 1990 */
5848   DRIVER( racedrvb )   /* 136077           (c) 1990 */
5849   DRIVER( racedrvg )   /* 136077           (c) 1990 */
5850   DRIVER( racedrv4 )   /* 136077           (c) 1990 */
5851   DRIVER( racedrb4 )   /* 136077           (c) 1990 */
5852   DRIVER( racedrg4 )   /* 136077           (c) 1990 */
5853   DRIVER( racedrv3 )   /* 136077           (c) 1990 */
5854   DRIVER( racedrv2 )   /* 136077           (c) 1990 */
5855   DRIVER( racedrv1 )   /* 136077           (c) 1990 */
5856   DRIVER( racedrb1 )   /* 136077           (c) 1990 */
5857   DRIVER( racedrg1 )   /* 136077           (c) 1990 */
5855   DRIVER( racedrivb )   /* 136077           (c) 1990 */
5856   DRIVER( racedrivg )   /* 136077           (c) 1990 */
5857   DRIVER( racedriv4 )   /* 136077           (c) 1990 */
5858   DRIVER( racedrivb4 )/* 136077           (c) 1990 */
5859   DRIVER( racedrivg4 )/* 136077           (c) 1990 */
5860   DRIVER( racedriv3 )   /* 136077           (c) 1990 */
5861   DRIVER( racedriv2 )   /* 136077           (c) 1990 */
5862   DRIVER( racedriv1 )   /* 136077           (c) 1990 */
5863   DRIVER( racedrivb1 )/* 136077           (c) 1990 */
5864   DRIVER( racedrivg1 )/* 136077           (c) 1990 */
58585865   /* Race Drivin' Compact */
5859   DRIVER( racedrvc )   /* 136077           (c) 1990 */
5860   DRIVER( racedrcb )   /* 136077           (c) 1990 */
5861   DRIVER( racedrcg )   /* 136077           (c) 1990 */
5862   DRIVER( racedrc4 )   /* 136077           (c) 1990 */
5863   DRIVER( racedcb4 )   /* 136077           (c) 1990 */
5864   DRIVER( racedcg4 )   /* 136077           (c) 1990 */
5865   DRIVER( racedrc2 )   /* 136077           (c) 1990 */
5866   DRIVER( racedrc1 )   /* 136077           (c) 1990 */
5866   DRIVER( racedrivc )      /* 136077           (c) 1990 */
5867   DRIVER( racedrivcb )   /* 136077           (c) 1990 */
5868   DRIVER( racedrivcg )   /* 136077           (c) 1990 */
5869   DRIVER( racedrivc4 )   /* 136077           (c) 1990 */
5870   DRIVER( racedrivcb4 )   /* 136077           (c) 1990 */
5871   DRIVER( racedrivcg4 )   /* 136077           (c) 1990 */
5872   DRIVER( racedrivc2 )   /* 136077           (c) 1990 */
5873   DRIVER( racedrivc1 )   /* 136077           (c) 1990 */
58675874            /* 136086 - BMX Heat (proto) */
58685875   /* Steel Talons */
58695876   DRIVER( steeltal )   /* 136087           (c) 1990 */
5870   DRIVER( steeltag )   /* 136087           (c) 1990 */
5871   DRIVER( steelta1 )   /* 136087           (c) 1990 */
5872   DRIVER( steeltap )   /* 136087           (c) 1990 */
5877   DRIVER( steeltalg )   /* 136087           (c) 1990 */
5878   DRIVER( steeltal1 )   /* 136087           (c) 1990 */
5879   DRIVER( steeltalp )   /* 136087           (c) 1990 */
58735880            /* 136088 - Race Drivin' Panorama */
58745881   /* Street Drivin' */
58755882   DRIVER( strtdriv )   /* 136091 (proto) */
58765883   /* Hard Drivin' Airbourne */
58775884   DRIVER( hdrivair )   /* 136098 (proto) */
5878   DRIVER( hdrivaip )   /* 136098 (proto) */
5885   DRIVER( hdrivairp )   /* 136098 (proto) */
58795886
58805887   /* later Atari games */
58815888
58825889   /* Gauntlet Hardware */
58835890   /* Gauntlet */
5884   DRIVER( gauntlet )   /* 136037           (c) 1985 */
5885   DRIVER( gaunts )   /* 136037           (c) 1985 */
5886   DRIVER( gauntj )   /* 136037           (c) 1985 */
5887   DRIVER( gauntg )   /* 136037           (c) 1985 */
5888   DRIVER( gauntj12 )   /* 136037           (c) 1985 */
5889   DRIVER( gauntr9 )   /* 136037           (c) 1985 */
5890   DRIVER( gauntgr8 )   /* 136037           (c) 1985 */
5891   DRIVER( gauntr7 )   /* 136037           (c) 1985 */
5892   DRIVER( gauntgr6 )   /* 136037           (c) 1985 */
5893   DRIVER( gauntr5 )   /* 136037           (c) 1985 */
5894   DRIVER( gauntr4 )   /* 136037           (c) 1985 */
5895   DRIVER( gauntgr3 )   /* 136037           (c) 1985 */
5896   DRIVER( gauntr2 )   /* 136037           (c) 1985 */
5897   DRIVER( gauntr1 )   /* 136037           (c) 1985 */
5891   DRIVER( gauntlet )      /* 136037           (c) 1985 */
5892   DRIVER( gauntlets )      /* 136037           (c) 1985 */
5893   DRIVER( gauntletj )      /* 136037           (c) 1985 */
5894   DRIVER( gauntletg )      /* 136037           (c) 1985 */
5895   DRIVER( gauntletj12 )   /* 136037           (c) 1985 */
5896   DRIVER( gauntletr9 )   /* 136037           (c) 1985 */
5897   DRIVER( gauntletgr8 )   /* 136037           (c) 1985 */
5898   DRIVER( gauntletr7 )   /* 136037           (c) 1985 */
5899   DRIVER( gauntletgr6 )   /* 136037           (c) 1985 */
5900   DRIVER( gauntletr5 )   /* 136037           (c) 1985 */
5901   DRIVER( gauntletr4 )   /* 136037           (c) 1985 */
5902   DRIVER( gauntletgr3 )   /* 136037           (c) 1985 */
5903   DRIVER( gauntletr2 )   /* 136037           (c) 1985 */
5904   DRIVER( gauntletr1 )   /* 136037           (c) 1985 */
58985905   /* Gauntlet - 2 Player */
5899   DRIVER( gaunt2p )   /* 136037           (c) 1985 */
5900   DRIVER( gaunt2pj )   /* 136037           (c) 1985 */
5901   DRIVER( gaunt2pg )   /* 136037           (c) 1985 */
5902   DRIVER( gaun2pr3 )   /* 136037           (c) 1985 */
5903   DRIVER( gaun2pj2 )   /* 136037           (c) 1985 */
5904   DRIVER( gaun2pg1 )   /* 136037           (c) 1985 */
5906   DRIVER( gauntlet2p )   /* 136037           (c) 1985 */
5907   DRIVER( gauntlet2pj )   /* 136037           (c) 1985 */
5908   DRIVER( gauntlet2pg )   /* 136037           (c) 1985 */
5909   DRIVER( gauntlet2pr3 )   /* 136037           (c) 1985 */
5910   DRIVER( gauntlet2pj2 )   /* 136037           (c) 1985 */
5911   DRIVER( gauntlet2pg1 )   /* 136037           (c) 1985 */
59055912   /* Gauntlet 2 */
5906   DRIVER( gaunt2 )   /* 136043           (c) 1986 */
5913   DRIVER( gaunt2 )      /* 136043           (c) 1986 */
59075914   DRIVER( gaunt2g )   /* 136043           (c) 1986 */
59085915   /* Gauntlet 2 - 2 Player */
59095916   DRIVER( gaunt22p )   /* 136043           (c) 1986 */
5910   DRIVER( gaun22p1 )   /* 136043           (c) 1986 */
5911   DRIVER( gaun22pg )   /* 136043           (c) 1986 */
5917   DRIVER( gaunt22p1 )   /* 136043           (c) 1986 */
5918   DRIVER( gaunt22pg )   /* 136043           (c) 1986 */
59125919   /* Vindicators Part II */
59135920   DRIVER( vindctr2 )   /* 136059           (c) 1988 */
5914   DRIVER( vindc2r2 )   /* 136059           (c) 1988 */
5915   DRIVER( vindc2r1 )   /* 136059           (c) 1988 */
5921   DRIVER( vindctr2r2 )   /* 136059           (c) 1988 */
5922   DRIVER( vindctr2r1 )   /* 136059           (c) 1988 */
59165923
59175924   /* Other Hardware */
59185925
r5338r5339
59245931   DRIVER( xybots0 )   /* 136054           (c) 1987 */
59255932   /* Blasteroids */
59265933   DRIVER( blstroid )   /* 136057           (c) 1987 */
5927   DRIVER( blstroi3 )   /* 136057           (c) 1987 */
5928   DRIVER( blstroi2 )   /* 136057           (c) 1987 */
5929   DRIVER( blstroig )   /* 136057           (c) 1987 */
5930   DRIVER( blsthead )   /* (proto)          (c) 1987 */
5934   DRIVER( blstroid3 )   /* 136057           (c) 1987 */
5935   DRIVER( blstroid2 )   /* 136057           (c) 1987 */
5936   DRIVER( blstroidg )   /* 136057           (c) 1987 */
5937   DRIVER( blstroidh )   /* (proto)          (c) 1987 */
59315938   /* Vindicators */
59325939   DRIVER( vindictr )   /* 136059           (c) 1988 */
5933   DRIVER( vindicte )   /* 136059           (c) 1988 */
5934   DRIVER( vindictg )   /* 136059           (c) 1988 */
5935   DRIVER( vindice4 )   /* 136059           (c) 1988 */
5936   DRIVER( vindict4 )   /* 136059           (c) 1988 */
5937   DRIVER( vindice3 )   /* 136059           (c) 1988 */
5938   DRIVER( vindict2 )   /* 136059           (c) 1988 */
5939   DRIVER( vindict1 )   /* 136059           (c) 1988 */
5940   DRIVER( vindictre )   /* 136059           (c) 1988 */
5941   DRIVER( vindictrg )   /* 136059           (c) 1988 */
5942   DRIVER( vindictre4 )/* 136059           (c) 1988 */
5943   DRIVER( vindictr4 )   /* 136059           (c) 1988 */
5944   DRIVER( vindictre3 )/* 136059           (c) 1988 */
5945   DRIVER( vindictr2 )   /* 136059           (c) 1988 */
5946   DRIVER( vindictr1 )   /* 136059           (c) 1988 */
59405947   /* Toobin */
59415948   DRIVER( toobin )   /* 136061           (c) 1988 */
59425949   DRIVER( toobine )   /* 136061           (c) 1988 */
r5338r5339
59465953   DRIVER( toobin1 )   /* 136061           (c) 1988 */
59475954   /* Cyberball */
59485955   DRIVER( cyberbal )   /* 136064           (c) 1989 */
5949   DRIVER( cyberba2 )   /* 136064           (c) 1989 */
5950   DRIVER( cyberbap )   /* 136064           (c) 1989 */
5956   DRIVER( cyberbal2 )   /* 136064           (c) 1989 */
5957   DRIVER( cyberbalp )   /* 136064           (c) 1989 */
59515958   /* Atari Tetris */
5952   DRIVER( atetcktl )   /* 136066           (c) 1989 */
5953   DRIVER( atetckt2 )   /* 136066           (c) 1989 */
5959   DRIVER( atetrisc )   /* 136066           (c) 1989 */
5960   DRIVER( atetrisc2 )   /* 136066           (c) 1989 */
59545961   DRIVER( atetris )   /* 136066           (c) 1988 */
59555962   DRIVER( atetrisa )   /* 136066           (c) 1988 */
59565963   DRIVER( atetrisb )   /* (bootleg) */
5957   DRIVER( atetrsb2 )   /* (bootleg) */
5964   DRIVER( atetrisb2 )   /* (bootleg) */
59585965   /* Escape from the Planet of Robot Monsters */
59595966   DRIVER( eprom )      /* 136069           (c) 1989 */
59605967   DRIVER( eprom2 )   /* 136069           (c) 1989 */
59615968   DRIVER( guts )      /* prototype */
59625969   /* Cyberball 2 Player */
5963   DRIVER( cyberb2p )   /* 136071           (c) 1989 */
5964   DRIVER( cyberb23 )   /* 136071           (c) 1989 */
5965   DRIVER( cyberb22 )   /* 136071           (c) 1989 */
5966   DRIVER( cyberb21 )   /* 136071           (c) 1989 */
5970   DRIVER( cyberbal2p )   /* 136071           (c) 1989 */
5971   DRIVER( cyberbal2p3 )   /* 136071           (c) 1989 */
5972   DRIVER( cyberbal2p2 )   /* 136071           (c) 1989 */
5973   DRIVER( cyberbal2p1 )   /* 136071           (c) 1989 */
59675974   /* Skull and Crossbones */
59685975   DRIVER( skullxbo )   /* 136072           (c) 1989 */
5969   DRIVER( skullxb4 )   /* 136072           (c) 1989 */
5970   DRIVER( skullxb3 )   /* 136072           (c) 1989 */
5971   DRIVER( skullxb2 )   /* 136072           (c) 1989 */
5972   DRIVER( skullxb1 )   /* 136072           (c) 1989 */
5976   DRIVER( skullxbo4 )   /* 136072           (c) 1989 */
5977   DRIVER( skullxbo3 )   /* 136072           (c) 1989 */
5978   DRIVER( skullxbo2 )   /* 136072           (c) 1989 */
5979   DRIVER( skullxbo1 )   /* 136072           (c) 1989 */
59735980   /* Cyberball Tournament */
5974   DRIVER( cyberbt )   /* 136073           (c) 1989 */
5975   DRIVER( cyberbt1 )   /* 136073           (c) 1989 */
5981   DRIVER( cyberbalt )   /* 136073           (c) 1989 */
5982   DRIVER( cyberbalt1 )/* 136073           (c) 1989 */
59765983
59775984   DRIVER( badlands )   /* 136074           (c) 1989 */
5978   DRIVER( badlandb )   /* bootleg */
5985   DRIVER( badlandsb )   /* bootleg */
59795986   DRIVER( klax )      /* 136075           (c) 1989 */
59805987   DRIVER( klax2 )      /* 136075           (c) 1989 */
59815988   DRIVER( klax3 )      /* 136075           (c) 1989 */
r5338r5339
59895996   DRIVER( hydrap )   /* (proto)          (c) 1990 */
59905997   DRIVER( hydrap2 )   /* (proto)          (c) 1990 */
59915998   DRIVER( pitfight )   /* 136081           (c) 1990 */
5992   DRIVER( pitfigh6 )   /* 136081           (c) 1990 */
5993   DRIVER( pitfigh5 )   /* 136081           (c) 1990 */
5994   DRIVER( pitfigh4 )   /* 136081           (c) 1990 */
5995   DRIVER( pitfigh3 )   /* 136081           (c) 1990 */
5996   DRIVER( pitfighj )   /* Japan */
5997   DRIVER( pitfighb )   /* bootleg */
5999   DRIVER( pitfight6 )   /* 136081           (c) 1990 */
6000   DRIVER( pitfight5 )   /* 136081           (c) 1990 */
6001   DRIVER( pitfight4 )   /* 136081           (c) 1990 */
6002   DRIVER( pitfight3 )   /* 136081           (c) 1990 */
6003   DRIVER( pitfightj )   /* Japan */
6004   DRIVER( pitfightb )   /* bootleg */
59986005   DRIVER( rampart )   /* 136082           (c) 1990 */
5999   DRIVER( ramprt2p )   /* 136082           (c) 1990 */
6006   DRIVER( rampart2p )   /* 136082           (c) 1990 */
60006007   DRIVER( rampartj )   /* 136082           (c) 1990 (Japan) */
60016008   DRIVER( shuuz )      /* 136083           (c) 1990 */
60026009   DRIVER( shuuz2 )   /* 136083           (c) 1990 */
r5338r5339
60046011   DRIVER( batman )   /* 136085           (c) 1991 */
60056012   DRIVER( roadriot )   /* 136089           (c) 1991 */
60066013   DRIVER( offtwall )   /* 136090           (c) 1991 */
6007   DRIVER( offtwalc )   /* 136090           (c) 1991 */
6014   DRIVER( offtwallc )   /* 136090           (c) 1991 */
60086015   DRIVER( guardian )   /* 136092           (c) 1992 */
60096016   DRIVER( relief )   /* 136093           (c) 1992 */
60106017   DRIVER( relief2 )   /* 136093           (c) 1992 */
60116018   DRIVER( arcadecl )   /* (proto)          (c) 1992 */
60126019   DRIVER( sparkz )   /* (proto)          (c) 1992 */
60136020   DRIVER( motofren )   /* 136094           (c) 1992 */
6014   DRIVER( motofrmd )   /* 136094           (c) 1992 */
6015   DRIVER( motofrft )   /* 136094           (c) 1992 */
6016   DRIVER( motomdft )   /* 136094           (c) 1992 */
6021   DRIVER( motofrenmd )   /* 136094           (c) 1992 */
6022   DRIVER( motofrenft )   /* 136094           (c) 1992 */
6023   DRIVER( motofrenmf )   /* 136094           (c) 1992 */
60176024   DRIVER( spclords )   /* 136095           (c) 1992 */
6018   DRIVER( spclordb )   /* 136095           (c) 1992 */
6019   DRIVER( spclorda )   /* 136095           (c) 1992 */
6020   DRIVER( spclordg )   /* 136095           (c) 1992 */
6025   DRIVER( spclordsb )   /* 136095           (c) 1992 */
6026   DRIVER( spclordsa )   /* 136095           (c) 1992 */
6027   DRIVER( spclordsg )   /* 136095           (c) 1992 */
60216028   DRIVER( rrreveng )   /*     ??           (c) 1993 */
6022   DRIVER( rrrevenp )   /*     ??           (c) 1993 */
6029   DRIVER( rrrevengp )   /*     ??           (c) 1993 */
60236030   DRIVER( beathead )   /* (proto)          (c) 1993 */
60246031   DRIVER( tmek )      /* 136100           (c) 1994 */
60256032   DRIVER( tmek51p )   /* 136100           (c) 1994 */
r5338r5339
60506057   /* SNK / Rock-ola games */
60516058   DRIVER( sasuke )   /* [1980] Shin Nihon Kikaku (SNK) */
60526059   DRIVER( satansat )   /* (c) 1981 SNK */
6053   DRIVER( satansaa )   /* (c) 1981 SNK */
6060   DRIVER( satansata )   /* (c) 1981 SNK */
60546061   DRIVER( zarzon )   /* (c) 1981 Taito, gameplay says SNK */
60556062   DRIVER( vanguard )   /* (c) 1981 SNK */
6056   DRIVER( vangrdce )   /* (c) 1981 SNK + Centuri */
6057   DRIVER( vanguarj )   /* (c) 1981 SNK */
6063   DRIVER( vanguardc )   /* (c) 1981 SNK + Centuri */
6064   DRIVER( vanguardj )   /* (c) 1981 SNK */
60586065   DRIVER( fantasy )   /* (c) 1981 SNK */
60596066   DRIVER( fantasyu )   /* (c) 1981 Rock-ola */
60606067   DRIVER( fantasyj )   /* (c) 1981 SNK */
r5338r5339
60926099   DRIVER( tnk3j )      /* A5001      (c) 1985 */
60936100   DRIVER( athena )   /*       'UP' (c) 1986 */
60946101   DRIVER( fitegolf )   /*       'GU' (c) 1988 */
6095   DRIVER( fitegol2 )   /*       'GU' (c) 1988 */
6102   DRIVER( fitegolfu )   /*       'GU' (c) 1988 */
60966103   DRIVER( countryc )   /* A7004 'CC' (c) 1988 */
60976104   DRIVER( ikari )      /* A5004 'IW' (c) 1986 */
60986105   DRIVER( ikaria )   /* A5004 'IW' (c) 1986 */
r5338r5339
61076114   DRIVER( gwara )      /* A7003 'GV' (c) 1987 */
61086115   DRIVER( gwarb )      /* bootleg */
61096116   DRIVER( bermudat )   /*            (c) 1987 */
6110   DRIVER( bermudaj )   /*            (c) 1987 */
6111   DRIVER( bermudaa )   /* A6004 'WW' (c) 1987 */
6117   DRIVER( bermudatj )   /*            (c) 1987 */
6118   DRIVER( bermudata )   /* A6004 'WW' (c) 1987 */
61126119   DRIVER( worldwar )   /* A6004 'WW' (c) 1987 */
61136120   DRIVER( psychos )   /*       'PS' (c) 1987 */
61146121   DRIVER( psychosj )   /*       'PS' (c) 1987 (Japan) */
r5338r5339
61276134   DRIVER( pow )      /* A7008 'DG' (c) 1988 */
61286135   DRIVER( powj )      /* A7008 'DG' (c) 1988 */
61296136   DRIVER( searchar )   /* A8007 'BH' (c) 1989 */
6130   DRIVER( sercharu )   /* A8007 'BH' (c) 1989 */
6131   DRIVER( sercharj )   /* A8007 'BH' (c) 1989 */
6137   DRIVER( searcharu )   /* A8007 'BH' (c) 1989 */
6138   DRIVER( searcharj )   /* A8007 'BH' (c) 1989 */
61326139   DRIVER( streetsm )   /* A8007 'S2' (c) 1989 */
6133   DRIVER( streets1 )   /* A7008 'S2' (c) 1989 */
6134   DRIVER( streetsw )   /*            (c) 1989 */
6135   DRIVER( streetsj )   /* A8007 'S2' (c) 1989 */
6140   DRIVER( streetsm1 )   /* A7008 'S2' (c) 1989 */
6141   DRIVER( streetsmw )   /*            (c) 1989 */
6142   DRIVER( streetsmj )   /* A8007 'S2' (c) 1989 */
61366143   DRIVER( prehisle )   /* A8003 'GT' (c) 1989 */
6137   DRIVER( prehislu )   /* A8003 'GT' (c) 1989 */
6144   DRIVER( prehisleu )   /* A8003 'GT' (c) 1989 */
61386145   DRIVER( gensitou )   /* A8003 'GT' (c) 1989 */
61396146   DRIVER( mechatt )   /* A8002 'MA' (c) 1989 */
61406147   DRIVER( mechattu )   /* A8002 'MA' (c) 1989 */
61416148   DRIVER( bbusters )   /* A9003 'BB' (c) 1989 */
6142   DRIVER( bbusteru )   /* A9003 'BB' (c) 1989 */
6149   DRIVER( bbustersu )   /* A9003 'BB' (c) 1989 */
61436150
61446151   /* Electrocoin on early SNK hardware - gambling game remove once it works */
61456152   DRIVER( dmndrby )   /* G4001 'DD' (c) 1986 */
r5338r5339
64166423   /* Nor does Digger Man */
64176424   DRIVER( diggerma )  /* No Game ID (unlicensed), (c) 2000 Kyle Hodgetts, prototype */
64186425
6426   /* Neo Print */
6427   DRIVER( 98best44 )
6428
64196429   /* Hyper NeoGeo 64 uses a 3 digit rom code? */
64206430
64216431    DRIVER( hng64 )
r5338r5339
64316441   DRIVER( shougi )   /* (c) 1982 (Arcade TV Game List - P.80, Left, 9 from top) */
64326442   DRIVER( shougi2 )   /* (c) 1982 (Arcade TV Game List - P.80, Left, 10 from top) */
64336443   DRIVER( champbas )   /* (c) 1983 Sega */
6434   DRIVER( champbbj )   /* (c) 1983 Alpha Denshi Co. */
6435   DRIVER( champbja )   /* (c) 1983 Alpha Denshi Co. */
6444   DRIVER( champbasj )   /* (c) 1983 Alpha Denshi Co. */
6445   DRIVER( champbasja )/* (c) 1983 Alpha Denshi Co. */
64366446   DRIVER( champbb2 )   /* (c) 1983 Sega */
6437   DRIVER( champb2a )   /* (c) 1983 ? */
6447   DRIVER( champbb2a )   /* (c) 1983 ? */
64386448   DRIVER( exctsccr )   /* (c) 1983 Alpha Denshi Co. */
6439   DRIVER( exctscca )   /* (c) 1983 Alpha Denshi Co. */
6440   DRIVER( exctsccj )   /* (c) 1983 Alpha Denshi Co. */
6441   DRIVER( exctsccb )   /* bootleg */
6449   DRIVER( exctsccra )   /* (c) 1983 Alpha Denshi Co. */
6450   DRIVER( exctsccrj )   /* (c) 1983 Alpha Denshi Co. */
6451   DRIVER( exctsccrb )   /* bootleg */
64426452   DRIVER( exctscc2 )   /* (c) 1984 Alpha Denshi Co. */
64436453   DRIVER( talbot )   /* Volt Electronics */
64446454   DRIVER( equites )   /* (c) 1984 Alpha Denshi Co. */
64456455   DRIVER( equitess )   /* (c) 1984 Alpha Denshi Co./Sega */
64466456   DRIVER( gekisou )   /* (c) 1985 Eastern */
64476457   DRIVER( bullfgtr )   /* (c) 1984 Alpha Denshi Co. */
6448   DRIVER( bullfgts )   /* (c) 1984 Alpha Denshi Co./Sega */
6458   DRIVER( bullfgtrs )   /* (c) 1984 Alpha Denshi Co./Sega */
64496459   DRIVER( kouyakyu )   /* (c) 1985 Alpha Denshi Co. */
64506460   DRIVER( splndrbt )   /* (c) 1985 Alpha Denshi Co. */
64516461   DRIVER( hvoltage )   /* (c) 1985 Alpha Denshi Co. */
r5338r5339
64576467   DRIVER( jongbou )   /* (c) 1987 SNK */
64586468   DRIVER( paddlema )   /* Alpha-68K96I  'PM' (c) 1988 SNK */
64596469   DRIVER( timesold )   /* Alpha-68K96II 'BT' (c) 1987 SNK / Romstar */
6460   DRIVER( timesol1 )   /* Alpha-68K96II 'BT' (c) 1987 */
6470   DRIVER( timesold1 )   /* Alpha-68K96II 'BT' (c) 1987 */
64616471   DRIVER( btlfield )   /* Alpha-68K96II 'BT' (c) 1987 */
6462   DRIVER( btlfildb )   /* bootleg */
6472   DRIVER( btlfieldb )   /* bootleg */
64636473   DRIVER( skysoldr )   /* Alpha-68K96II 'SS' (c) 1988 SNK (Romstar with dip switch) */
64646474   DRIVER( goldmedl )   /* Alpha-68K96II 'GM' (c) 1988 SNK */
6465   DRIVER( goldmeda )   /* Alpha-68K96II 'GM' (c) 1988 SNK */
6466   DRIVER( goldmedb )   /* Alpha-68K96II bootleg */
6475   DRIVER( goldmedla )   /* Alpha-68K96II 'GM' (c) 1988 SNK */
6476   DRIVER( goldmedlb )   /* Alpha-68K96II bootleg */
64676477   DRIVER( skyadvnt )   /* Alpha-68K96V  'SA' (c) 1989 Alpha Denshi Co. */
6468   DRIVER( skyadvnu )   /* Alpha-68K96V  'SA' (c) 1989 SNK of America licensed from Alpha */
6469   DRIVER( skyadvnj )   /* Alpha-68K96V  'SA' (c) 1989 Alpha Denshi Co. */
6478   DRIVER( skyadvntu )   /* Alpha-68K96V  'SA' (c) 1989 SNK of America licensed from Alpha */
6479   DRIVER( skyadvntj )   /* Alpha-68K96V  'SA' (c) 1989 Alpha Denshi Co. */
64706480   DRIVER( gangwars )   /* Alpha-68K96V       (c) 1989 Alpha Denshi Co. */
6471   DRIVER( gangwarb )   /* Alpha-68K96V bootleg */
6481   DRIVER( gangwarsb )   /* Alpha-68K96V bootleg */
64726482   DRIVER( sbasebal )   /* Alpha-68K96V       (c) 1989 SNK of America licensed from Alpha */
64736483   DRIVER( tnextspc )   /* A8003 'NS' (c) 1989 */
64746484   DRIVER( tnextspcj )   /* A8003 'NS' (c) 1989 */
r5338r5339
64836493   DRIVER( tagteam )   /* TA-0007 (c) 1983 + Data East license */
64846494   DRIVER( ssozumo )   /* TA-0008 (c) 1984 */
64856495   DRIVER( mystston )   /* TA-0010 (c) 1984 */
6486   DRIVER( myststno )   /* TA-0010 (c) 1984 */
6496   DRIVER( myststono )   /* TA-0010 (c) 1984 */
64876497   DRIVER( dogfgt )   /* TA-0011 (c) 1984 */
64886498   DRIVER( dogfgtj )   /* TA-0011 (c) 1984 */
64896499   DRIVER( bogeyman )   /* -0204-0 (Data East part number) (c) 1985 (Arcade TV Game List - P.96, Right, 8 from top) */
r5338r5339
64936503   DRIVER( maniach2 )   /* TA-0017 (c) 1986 + Taito America license */
64946504   DRIVER( renegade )   /* TA-0018 (c) 1986 + Taito America license */
64956505   DRIVER( kuniokun )   /* TA-0018 (c) 1986 */
6496   DRIVER( kuniokub )   /* bootleg */
6506   DRIVER( kuniokunb )   /* bootleg */
64976507   DRIVER( xsleena )   /* TA-0019 (c) 1986 */
64986508   DRIVER( xsleenab )   /* bootleg */
64996509   DRIVER( solarwar )   /* TA-0019 (c) 1986 Taito + Memetron license */
65006510   DRIVER( battlane )   /* -0215, -0216 (Data East part number) (c) 1986 + Taito license */
6501   DRIVER( battlan2 )   /* -0215, -0216 (Data East part number) (c) 1986 + Taito license */
6502   DRIVER( battlan3 )   /* -0215, -0216 (Data East part number) (c) 1986 + Taito license */
6511   DRIVER( battlane2 )   /* -0215, -0216 (Data East part number) (c) 1986 + Taito license */
6512   DRIVER( battlane3 )   /* -0215, -0216 (Data East part number) (c) 1986 + Taito license */
65036513   DRIVER( ddragon )   /* TA-0021 (c) 1987 */
65046514   DRIVER( ddragonu )   /* TA-0021 (c) 1987 Taito America */
6505   DRIVER( ddragoua )   /* TA-0021 (c) 1987 Taito America */
6515   DRIVER( ddragonua )   /* TA-0021 (c) 1987 Taito America */
65066516   DRIVER( ddragonw )   /* TA-0021 (c) 1987 Taito */
6507   DRIVER( ddragnw1 )   /* TA-0021 (c) 1987 Taito */
6517   DRIVER( ddragonw1 )   /* TA-0021 (c) 1987 Taito */
65086518   DRIVER( ddragonb )   /* bootleg */
6509   DRIVER( ddragnba )   /* bootleg */
6510   DRIVER( ddgn6809 )   /* bootleg */
6511   DRIVER( dd6809a )   /* bootleg */
6512   DRIVER( ddragob2 )   /* bootleg */
6519   DRIVER( ddragonba )   /* bootleg */
6520   DRIVER( ddragon6809 )   /* bootleg */
6521   DRIVER( ddragon6809a )   /* bootleg */
6522   DRIVER( ddragonb2 )   /* bootleg */
65136523   DRIVER( spdodgeb )   /* TA-0022 (c) 1987 */
65146524   DRIVER( nkdodge )   /* TA-0022 (c) 1987 (Japan) */
65156525   DRIVER( nkdodgeb )   /* TA-0022 (c) 1987 (Japan) */
65166526   DRIVER( chinagat )   /* TA-0023 (c) 1988 Taito + Romstar license (US) */
65176527   DRIVER( saiyugou )   /* TA-0023 (c) 1988 (Japan) */
6518   DRIVER( saiyugb1 )   /* bootleg */
6519   DRIVER( saiyugb2 )   /* bootleg */
6528   DRIVER( saiyugoub1 )   /* bootleg */
6529   DRIVER( saiyugoub2 )   /* bootleg */
65206530   DRIVER( wwfsstar )   /* TA-0024 (c) 1989 (Europe) */
6521   DRIVER( wwfsstaa )   /* TA-0024 (c) 1989 (US, newer) */
6522   DRIVER( wwfsstau )   /* TA-0024 (c) 1989 (US) */
6523   DRIVER( wwfsstaj )   /* TA-0024 (c) 1989 (Japan) */
6531   DRIVER( wwfsstara )   /* TA-0024 (c) 1989 (US, newer) */
6532   DRIVER( wwfsstaru )   /* TA-0024 (c) 1989 (US) */
6533   DRIVER( wwfsstarj )   /* TA-0024 (c) 1989 (Japan) */
65246534   DRIVER( vball )      /* TA-0025 (c) 1988 (US) */
65256535   DRIVER( vball2pj )   /* TA-0025 (c) 1988 (Japan) */
65266536   DRIVER( vballb )   /* TA-0025 (c) 1988 */
65276537   DRIVER( ddragon2 )   /* TA-0026 (c) 1988 (World) */
6528   DRIVER( ddragn2u )   /* TA-0026 (c) 1988 (US) */
6538   DRIVER( ddragon2u )   /* TA-0026 (c) 1988 (US) */
65296539   DRIVER( toffy )      /* (c) 1993 Midas */
65306540   DRIVER( stoffy )   /* (c) 1994 Midas + Unico */
65316541   DRIVER( ddungeon )   /* Game Room */
6532   DRIVER( ddungene )   /* East Coast Coin Company (Melbourne) */
6542   DRIVER( ddungeone )   /* East Coast Coin Company (Melbourne) */
65336543   DRIVER( darktowr )   /* Game Room */
65346544   DRIVER( tstrike )   /* East Coast Coin Company (Melbourne) */
65356545   DRIVER( tstrikea )   /* Game Room  */
r5338r5339
65376547   DRIVER( ctribe1 )   /* TA-0028 (c) 1990 (US) - Set 1? */
65386548   DRIVER( ctribej )   /* TA-0028 (c) 1990 (Japan) */
65396549   DRIVER( ctribeb )   /* bootleg */
6540   DRIVER( ctribb2 )   /* bootleg */
6550   DRIVER( ctribeb2 )   /* bootleg */
65416551   DRIVER( blockout )   /* TA-0029 (c) 1989 + California Dreams */
6542   DRIVER( blckout2 )   /* TA-0029 (c) 1989 + California Dreams */
6543   DRIVER( blckoutj )   /* TA-0029 (c) 1989 + California Dreams (Japan) */
6552   DRIVER( blockout2 )   /* TA-0029 (c) 1989 + California Dreams */
6553   DRIVER( blockoutj )   /* TA-0029 (c) 1989 + California Dreams (Japan) */
65446554   DRIVER( agress )   /* TA-0029 (c) 1991 Palco */
65456555   DRIVER( agressb )   /* TA-0029 (c) 1991 Palco */
65466556   DRIVER( ddragon3 )   /* TA-0030 (c) 1990 */
6547   DRIVER( ddrago3p )   /* TA-0030 (c) 1990 */
6548   DRIVER( ddrago3j )   /* TA-0030 (c) 1990 (Japan) */
6549   DRIVER( ddrago3b )   /* bootleg */
6557   DRIVER( ddragon3p )   /* TA-0030 (c) 1990 */
6558   DRIVER( ddragon3j )   /* TA-0030 (c) 1990 (Japan) */
6559   DRIVER( ddragon3b )   /* bootleg */
65506560   DRIVER( wwfwfest )   /* TA-0031 (c) 1991 (US) */
6551   DRIVER( wwfwfsta )   /* TA-0031 (c) 1991 + Tecmo license (US) */
6552   DRIVER( wwfwfstb )   /* bootleg */
6553   DRIVER( wwfwfstj )   /* TA-0031 (c) 1991 (Japan) */
6561   DRIVER( wwfwfesta )   /* TA-0031 (c) 1991 + Tecmo license (US) */
6562   DRIVER( wwfwfestb )   /* bootleg */
6563   DRIVER( wwfwfestj )   /* TA-0031 (c) 1991 (Japan) */
65546564   DRIVER( shadfrce )   /* TA-0032 (c) 1993 (US) */
6555   DRIVER( shadfrcj )   /* TA-0032 (c) 1993 (Japan) */
6556   DRIVER( shadfrcjv2 )/* TA-0032 (c) 1993 (Japan) */
6565   DRIVER( shadfrcej )   /* TA-0032 (c) 1993 (Japan) */
6566   DRIVER( shadfrcejv2 )/* TA-0032 (c) 1993 (Japan) */
65576567
65586568   /* Stern "Berzerk hardware" games */
65596569   DRIVER( berzerk )   /* (c) 1980 */
r5338r5339
65636573
65646574   /* Stern 'Mazer Blazer hardware' games */
65656575   DRIVER( mazerbla )   /* (c) 1983 */
6566   DRIVER( mzrblzra )   /* (c) 1983 */
6576   DRIVER( mazerblaa )   /* (c) 1983 */
65676577   DRIVER( greatgun )   /* (c) 1983 */
65686578
65696579   /* Other Stern */
65706580   DRIVER( supdrapo )   /* (c) 1983 */
65716581   DRIVER( cliffhgr )   /* (c) 1983 */
6572   DRIVER( cliffhga )   /* (c) 1983 */
6582   DRIVER( cliffhgra )   /* (c) 1983 */
65736583   DRIVER( goaltogo )   /* (c) 1983 */
65746584
65756585   /* GamePlan games */
r5338r5339
65886598   DRIVER( laserbat )   /* (c) 1981 */
65896599   DRIVER( lazarian )   /* (c) 1981 */
65906600   DRIVER( catnmous )   /* (c) 1982 */
6591   DRIVER( catmousa )   /* (c) 1982 */
6601   DRIVER( catnmousa )   /* (c) 1982 */
65926602   DRIVER( monymony )   /* (c) 1983 */
65936603   DRIVER( jackrabt )   /* (c) 1984 */
6594   DRIVER( jackrab2 )   /* (c) 1984 */
6595   DRIVER( jackrabs )   /* (c) 1984 */
6604   DRIVER( jackrabt2 )   /* (c) 1984 */
6605   DRIVER( jackrabts )   /* (c) 1984 */
65966606
65976607   /* UPL games */
65986608   DRIVER( mouser )   /* UPL-83001 (c) 1983 */
65996609   DRIVER( mouserc )   /* UPL-83001 (c) 1983 */
66006610   DRIVER( nova2001 )   /* UPL-83005 (c) 1983 */
6601   DRIVER( nov2001u )   /* UPL-83005 (c) [1983] + Universal license */
6611   DRIVER( nova2001u )   /* UPL-83005 (c) [1983] + Universal license */
66026612   DRIVER( ninjakun )   /* UPL-84003 (c) 1984 Taito Corporation */
66036613   DRIVER( raiders5 )   /* UPL-85004 (c) 1985 */
6604   DRIVER( raidrs5t )   /* UPL-85004 (c) 1985 Taito license */
6614   DRIVER( raiders5t )   /* UPL-85004 (c) 1985 Taito license */
66056615   DRIVER( pkunwar )   /* UPL-????? (c) 1985 (Arcade Game TV List - P.98, Left, 22 from top) */
66066616   DRIVER( pkunwarj )   /* UPL-????? (c) 1985 (Arcade Game TV List - P.98, Left, 22 from top) */
66076617   DRIVER( xxmissio )   /* UPL-86001 [1986] */
66086618   DRIVER( ninjakd2 )   /* UPL-????? (c) 1987 */
6609   DRIVER( ninjak2a )   /* UPL-????? (c) 1987 */
6610   DRIVER( ninjak2b )   /* UPL-????? (c) 1987 */
6619   DRIVER( ninjakd2a )   /* UPL-????? (c) 1987 */
6620   DRIVER( ninjakd2b )   /* UPL-????? (c) 1987 */
66116621   DRIVER( rdaction )   /* UPL-87003?(c) 1987 + World Games license */
66126622   DRIVER( mnight )   /* UPL-????? (c) 1987 distributed by Kawakus */
66136623   DRIVER( arkarea )   /* UPL-87007 (c) 1988 (Arcade TV Game List - P.67, Right, 2 from top)*/
66146624   DRIVER( robokid )   /* UPL-88013 (c) 1988 */
66156625   DRIVER( robokidj )   /* UPL-88013 (c) 1988 */
6616   DRIVER( robokdj2 )   /* UPL-88013 (c) 1988 */
6626   DRIVER( robokidj2 )   /* UPL-88013 (c) 1988 */
66176627   DRIVER( omegaf )   /* UPL-89016 (c) 1989 */
66186628   DRIVER( omegafs )   /* UPL-89016 (c) 1989 */
66196629
66206630   /* UPL/NMK/Banpresto games */
66216631   DRIVER( urashima )   /* UPL-89052 */
66226632   DRIVER( tharrier )   /* UPL-89053 (c) 1989 UPL + American Sammy license */
6623   DRIVER( tharierj )   /* UPL-89053 (c) 1989 UPL (Japan) */
6633   DRIVER( tharrierj )   /* UPL-89053 (c) 1989 UPL (Japan) */
66246634   DRIVER( mustang )   /* UPL-90058 (c) 1990 UPL */
66256635   DRIVER( mustangs )   /* UPL-90058 (c) 1990 UPL + Seoul Trading */
66266636   DRIVER( bioship )   /* UPL-90062 (c) 1990 UPL + American Sammy license */
66276637   DRIVER( sbsgomo )   /* UPL-90062 (c) 1990 UPL */
66286638   DRIVER( vandyke )   /* UPL-90064 (c) UPL */
6629   DRIVER( vandyjal )   /* UPL-90064 (c) Jaleco */
6630   DRIVER( vandyja2 )   /* UPL-90064 (c) Jaleco */
6639   DRIVER( vandykejal )   /* UPL-90064 (c) Jaleco */
6640   DRIVER( vandykejal2 )   /* UPL-90064 (c) Jaleco */
66316641   DRIVER( vandykeb )   /* bootleg */
66326642   DRIVER( blkheart )   /* UPL-91069 */
6633   DRIVER( blkhearj )   /* UPL-91069 */
6643   DRIVER( blkheartj )   /* UPL-91069 */
66346644   DRIVER( acrobatm )   /* UPL-91073 (c) 1991 UPL + Taito license */
66356645   DRIVER( strahl )   /* UPL-91074 (c) 1992 UPL (Japan) */
66366646   DRIVER( strahla )   /* UPL-91074 (c) 1992 UPL (Japan) */
66376647   DRIVER( bjtwin )   /* UPL-93087 (c) 1993 NMK */
66386648   DRIVER( bjtwina )   /* UPL-93087 (c) 1993 NMK */
66396649   DRIVER( tdragon2 )   /* UPL-93091 (c) 1993 NMK */
6640   DRIVER( tdragn2a )   /* UPL-93091 (c) 1993 NMK */
6650   DRIVER( tdragon2a )   /* UPL-93091 (c) 1993 NMK */
66416651   DRIVER( bigbang )   /* UPL-93091 (c) 1993 NMK */
66426652   DRIVER( tdragon )   /* (c) 1991 NMK / Tecmo */
66436653   DRIVER( tdragon1 )   /* (c) 1991 NMK / Tecmo */
r5338r5339
66476657   DRIVER( gunnail )   /* (c) 1993 NMK / Tecmo */
66486658   DRIVER( macross2 )   /* (c) 1993 Banpresto */
66496659   DRIVER( sabotenb )   /* (c) 1992 NMK / Tecmo */
6650   DRIVER( sabotnba )   /* (c) 1992 NMK / Tecmo */
6660   DRIVER( sabotenba )   /* (c) 1992 NMK / Tecmo */
66516661   DRIVER( cactus )   /* bootleg */
66526662   DRIVER( nouryoku )   /* (c) 1995 Tecmo */
66536663   DRIVER( raphero )   /* (c) 1994 Media Trading Corp */
r5338r5339
66606670   /* Comad games on unofficial hardware based on nmk16.c */
66616671   DRIVER( ssmissin )   /* (c) 1992 Comad */
66626672   DRIVER( airattck )   /* (c) 1996 Comad */
6663   DRIVER( airattca )   /* (c) 1996 Comad */
6673   DRIVER( airattcka )   /* (c) 1996 Comad */
66646674
66656675   /* Bee-Oh games on unofficial hardware based on nmk16.c */
66666676   DRIVER( manybloc )   /* (c) 1991 Bee-Oh */
r5338r5339
67026712   DRIVER( smashtv5 )   /* (c) 1990 Williams */
67036713   DRIVER( smashtv4 )   /* (c) 1990 Williams */
67046714   DRIVER( hiimpact )   /* (c) 1990 Williams */
6705   DRIVER( hiimpac4 )   /* (c) 1990 Williams */
6706   DRIVER( hiimpac3 )   /* (c) 1990 Williams */
6707   DRIVER( hiimpac1 )   /* (c) 1990 Williams */
6708   DRIVER( hiimpacp )   /* (c) 1990 Williams */
6715   DRIVER( hiimpact4 )   /* (c) 1990 Williams */
6716   DRIVER( hiimpact3 )   /* (c) 1990 Williams */
6717   DRIVER( hiimpact1 )   /* (c) 1990 Williams */
6718   DRIVER( hiimpactp )   /* (c) 1990 Williams */
67096719   DRIVER( shimpact )   /* (c) 1991 Midway */
6710   DRIVER( shimpap6 )   /* (c) 1991 Midway */
6711   DRIVER( shimpap5 )   /* (c) 1991 Midway */
6712   DRIVER( shimpap4 )   /* (c) 1991 Midway */
6720   DRIVER( shimpactp6 )   /* (c) 1991 Midway */
6721   DRIVER( shimpactp5 )   /* (c) 1991 Midway */
6722   DRIVER( shimpactp4 )   /* (c) 1991 Midway */
67136723   DRIVER( strkforc )   /* (c) 1991 Midway */
67146724   DRIVER( mk )      /* (c) 1992 Midway */
67156725   DRIVER( mkr4 )      /* (c) 1992 Midway */
r5338r5339
67486758   DRIVER( umk3r11 )   /* (c) 1994 Midway */
67496759   DRIVER( umk3r10 )   /* (c) 1994 Midway */
67506760   DRIVER( wwfmania )   /* (c) 1995 Midway */
6751   DRIVER( wwfmanib )   /* (c) 1995 Midway */
6761   DRIVER( wwfmaniab )   /* (c) 1995 Midway */
67526762   DRIVER( openice )   /* (c) 1995 Midway */
67536763   DRIVER( nbahangt )   /* (c) 1996 Midway */
67546764   DRIVER( nbamht )   /* (c) 1996 Midway */
r5338r5339
67586768
67596769   /* Midway V-unit games */
67606770   DRIVER( crusnusa )   /* (c) 1994 Midway */
6761   DRIVER( crusnu40 )   /* (c) 1994 Midway */
6762   DRIVER( crusnu21 )   /* (c) 1994 Midway */
6771   DRIVER( crusnusa40 )   /* (c) 1994 Midway */
6772   DRIVER( crusnusa21 )   /* (c) 1994 Midway */
67636773   DRIVER( crusnwld )   /* (c) 1996 Midway */
6764   DRIVER( crusnw23 )   /* (c) 1996 Midway */
6765   DRIVER( crusnw20 )   /* (c) 1996 Midway */
6766   DRIVER( crusnw17 )   /* (c) 1996 Midway */
6767   DRIVER( crusnw13 )   /* (c) 1996 Midway */
6774   DRIVER( crusnwld23 )   /* (c) 1996 Midway */
6775   DRIVER( crusnwld20 )   /* (c) 1996 Midway */
6776   DRIVER( crusnwld17 )   /* (c) 1996 Midway */
6777   DRIVER( crusnwld13 )   /* (c) 1996 Midway */
67686778   DRIVER( offroadc )   /* (c) 1997 Midway (v1.63) */
6769   DRIVER( offrodc4 )   /* (c) 1997 Midway (v1.40) */
6770   DRIVER( offrodc3 )   /* (c) 1997 Midway (v1.30) */
6771   DRIVER( offrodc1 )   /* (c) 1997 Midway (v1.10) */
6779   DRIVER( offroadc4 )   /* (c) 1997 Midway (v1.40) */
6780   DRIVER( offroadc3 )   /* (c) 1997 Midway (v1.30) */
6781   DRIVER( offroadc1 )   /* (c) 1997 Midway (v1.10) */
67726782   DRIVER( wargods )   /* (c) 1996 Midway */
67736783
67746784   /* Midway Zeus games */
6775   DRIVER( mk4 )      /* (c) 1997 Midway */
6776   DRIVER( mk4a )      /* (c) 1997 Midway */
6777   DRIVER( invasnab )   /* (c) 1999 Midway */
6778   DRIVER( invasnv4 )   /* (c) 1999 Midway */
6779   DRIVER( crusnexo )   /* (c) 1999 Midway */
6780   DRIVER( crusnexa )   /* (c) 1999 Midway */
6781   DRIVER( thegrid )   /* (c) 2001 Midway */
6782   DRIVER( thegrida )   /* (c) 2001 Midway */
6785   DRIVER( mk4 )      /* (c) 1997 Midway (v3.0) Latest offical release */
6786   DRIVER( mk4a )      /* (c) 1997 Midway (v2.1) */
6787   DRIVER( invasnab )   /* (c) 1999 Midway (v5.0) Latest offical release */
6788   DRIVER( invasnv4 )   /* (c) 1999 Midway (v4.0) */
6789   DRIVER( crusnexo )   /* (c) 1999 Midway (v2.4) Latest offical release */
6790   DRIVER( crusnexoa )   /* (c) 1999 Midway (v2.0) */
6791   DRIVER( crusnexob )   /* (c) 1999 Midway (v1.6) */
6792   DRIVER( thegrid )   /* (c) 2001 Midway (v1.2) Latest offical release */
6793   DRIVER( thegrida )   /* (c) 2001 Midway (v1.1) */
67836794
67846795   /* Midway / Atari  Voodoo based Hardware (Seattle, Flagstaff) */
67856796   DRIVER( wg3dh )      /* (c) 1996 Atari Games */
r5338r5339
67886799   DRIVER( sfrush )   /* (c) 1996 Atari Games */
67896800   DRIVER( sfrushrk )   /* (c) 1996 Atari Games */
67906801   DRIVER( calspeed )   /* (c) 1996 Atari Games */
6791   DRIVER( calspeda )   /* (c) 1996 Atari Games */
6802   DRIVER( calspeeda )   /* (c) 1996 Atari Games */
67926803   DRIVER( vaportrx )   /* (c) 1998 Atari Games */
6793   DRIVER( vaportrp )   /* (c) 1998 Atari Games */
6804   DRIVER( vaportrxp )   /* (c) 1998 Atari Games */
67946805   DRIVER( carnevil )   /* (c) 1998 Midway Games (v1.0.3) */
6795   DRIVER( carnevi1 )   /* (c) 1998 Midway Games (v1.0.1) */
6806   DRIVER( carnevil1 )   /* (c) 1998 Midway Games (v1.0.1) */
67966807   DRIVER( biofreak )   /* (c) 1997 Midway Games (prototype) */
67976808   DRIVER( blitz )      /* (c) 1997 Midway Games */
67986809   DRIVER( blitz11 )   /* (c) 1997 Midway Games */
r5338r5339
68026813
68036814   /* Midway / Atari  Voodoo 2 & 3 - based Hardware (Vegas, Denver, Durango) */
68046815   DRIVER( gauntleg )   /* (c) 1998 Atari Games */
6805   DRIVER( gauntl12 )   /* (c) 1998 Atari Games */
6816   DRIVER( gauntleg12 )   /* (c) 1998 Atari Games */
68066817   DRIVER( tenthdeg )   /* (c) 1998 Atari Games (prototype) */
68076818   DRIVER( roadburn )   /* (c) 1999 Atari Games */
68086819   DRIVER( sf2049 )   /* (c) 1999 Atari Games */
r5338r5339
68126823   DRIVER( nbashowt )   /* (c) 1998 Midway Games */
68136824   DRIVER( nbanfl )   /* (c) 1999 Midway Games */
68146825   DRIVER( gauntdl )   /* (c) 1999 Midway Games */
6815   DRIVER( gauntd24 )   /* (c) 1999 Midway Games */
6826   DRIVER( gauntdl24 )   /* (c) 1999 Midway Games */
68166827   DRIVER( cartfury )   /* (c) 2000 Midway Games */
68176828
68186829   /* Midway Touchmaster / Galaxy Games */
68196830   DRIVER( tm )      /* (c) 1996 Midway Games */
6831   DRIVER( tm2k )      /* (c) 1996 Midway Games */
68206832   DRIVER( tm3k )      /* (c) 1997 Midway Games */
68216833   DRIVER( tm3ka )      /* (c) 1997 Midway Games */
68226834   DRIVER( tm4k )      /* (c) 1998 Midway Games */
68236835   DRIVER( tm5k )      /* (c) 1998 Midway Games */
68246836   DRIVER( tm5kca )   /* (c) 1998 Midway Games */
6837   DRIVER( tm5ka )      /* (c) 1998 Midway Games */
68256838   DRIVER( tm7k )      /* (c) 1999 Midway Games */
68266839   DRIVER( tm7ka )      /* (c) 1999 Midway Games */
68276840   DRIVER( tm7keval )   /* (c) 1999 Midway Games */
r5338r5339
68406853   DRIVER( jack3 )      /* (c) 1982 Cinematronics */
68416854   DRIVER( treahunt )   /* (c) 1982 Hara Ind. */
68426855   DRIVER( zzyzzyxx )   /* (c) 1982 Cinematronics + Advanced Microcomputer Systems */
6843   DRIVER( zzyzzyx2 )   /* (c) 1982 Cinematronics + Advanced Microcomputer Systems */
6856   DRIVER( zzyzzyxx2 )   /* (c) 1982 Cinematronics + Advanced Microcomputer Systems */
68446857   DRIVER( brix )      /* (c) 1982 Cinematronics + Advanced Microcomputer Systems */
68456858   DRIVER( freeze )   /* Cinematronics */
68466859   DRIVER( sucasino )   /* (c) 1982 Data Amusement */
r5338r5339
68856898   DRIVER( suprmous )   /* (c) 1982 Taito */
68866899   DRIVER( machomou )   /* (c) 1982 Techstar */
68876900   DRIVER( intrepid )   /* (c) 1983 Nova Games Ltd. */
6888   DRIVER( intrepi2 )   /* (c) 1983 Nova Games Ltd. */
6901   DRIVER( intrepid2 )   /* (c) 1983 Nova Games Ltd. */
68896902   DRIVER( zaryavos )   /* (c) 1983 Nova Games of Canada (prototype) */
68906903   DRIVER( timelimt )   /* (c) 1983 Chuo Co. Ltd */
68916904   DRIVER( progress )   /* (c) 1984 Chuo Co. Ltd */
r5338r5339
68966909   DRIVER( konek )      /* (c) 1988 Terminal */
68976910   DRIVER( sosterm )   /* (c) 1988 Terminal */
68986911
6912   /* Photon hardware games */
6913   DRIVER( phtetris )
6914
68996915   /* Valadon Automation games */
69006916   DRIVER( bagman )   /* (c) 1982 */
69016917   DRIVER( bagnard )   /* (c) 1982 */
r5338r5339
69306946   DRIVER( darkmist )   /* (c) 1986 Taito */
69316947   DRIVER( mustache )   /* (c) 1987 March */
69326948   DRIVER( cshooter )   /* (c) 1987 Taito */
6933   DRIVER( cshootre )   /* (c) 1987 JKH (bootleg) */
6949   DRIVER( cshootere )   /* (c) 1987 JKH (bootleg) */
69346950   DRIVER( airraid )   /* (c) 1987 Seibu Kaihatsu */
69356951   DRIVER( panicr )   /* Seibu / Taito */
69366952   DRIVER( deadang )   /* (c) 1988 Seibu Kaihatsu */
69376953   DRIVER( leadang )   /* (c) 1988 Seibu Kaihatsu */
69386954   DRIVER( ghunter )   /* (c) 1988 Seibu Kaihatsu + Segasa/Sonic license */
69396955   DRIVER( dynduke )   /* (c) 1989 Seibu Kaihatsu + Fabtek license */
6940   DRIVER( dyndukf )   /* (c) 1989 Seibu Kaihatsu + Fabtek license */
6956   DRIVER( dyndukef )   /* (c) 1989 Seibu Kaihatsu + Fabtek license */
69416957   DRIVER( dbldyn )   /* (c) 1989 Seibu Kaihatsu + Fabtek license */
69426958   DRIVER( dbldynf )   /* (c) 1989 Seibu Kaihatsu + Fabtek license */
69436959   DRIVER( raiden )   /* (c) 1990 Seibu Kaihatsu */
r5338r5339
69496965   DRIVER( sengokmj )   /* (c) 1991 Sigma */
69506966   DRIVER( totmejan )   /* (c) 1991 Seibu/Tecmo */
69516967   DRIVER( goodejan )   /* (c) 1991 Seibu/Tecmo */
6952   DRIVER( goodejaa )   /* (c) 1991 Seibu/Tecmo */
6968   DRIVER( goodejana )   /* (c) 1991 Seibu/Tecmo */
69536969
69546970
69556971   DRIVER( raiden2 )   /* (c) 1993 Seibu Kaihatsu + Fabtek license */
r5338r5339
69646980   DRIVER( raidndxm )   /* (c) 1993 Seibu Kaihatsu + Metrotainment license */
69656981   DRIVER( raidndxt )   /* (c) 1993 Seibu Kaihatsu + Tuning license*/
69666982   DRIVER( zeroteam )   /* (c) 1993 Seibu Kaihatsu */
6967   DRIVER( zeroteaa )   /* (c) 1993 Seibu Kaihatsu */
6968   DRIVER( zeroteab )   /* (c) 1993 Seibu Kaihatsu */
6969   DRIVER( zeroteac )   /* (c) 1993 Seibu Kaihatsu */
6970   DRIVER( zerotsel )   /* (c) 1993 Seibu Kaihatsu */
6983   DRIVER( zeroteama )   /* (c) 1993 Seibu Kaihatsu */
6984   DRIVER( zeroteamb )   /* (c) 1993 Seibu Kaihatsu */
6985   DRIVER( zeroteamc )   /* (c) 1993 Seibu Kaihatsu */
6986   DRIVER( zeroteams )   /* (c) 1993 Seibu Kaihatsu */
69716987   DRIVER( nzerotea )   /* (c) 1993 Seibu Kaihatsu */
69726988   DRIVER( xsedae )   /* (c) 1995 Dream Island */
69736989
r5338r5339
69796995   DRIVER( senkyu )   /* (c) 1995 Seibu Kaihatsu */
69806996   DRIVER( senkyua )   /* (c) 1995 Seibu Kaihatsu */
69816997   DRIVER( batlball )   /* (c) 1995 Seibu Kaihatsu (Tuning License) */
6982   DRIVER( batlbala )   /* (c) 1995 Seibu Kaihatsu (Metrotainment License) */
6983   DRIVER( batlbalu )   /* (c) 1995 Seibu Kaihatsu (Metrotainment License) */
6998   DRIVER( batlballa )   /* (c) 1995 Seibu Kaihatsu (Metrotainment License) */
6999   DRIVER( batlballu )   /* (c) 1995 Seibu Kaihatsu (Metrotainment License) */
69847000
69857001   DRIVER( viprp1 )   /* (c) 1995 Seibu Kaihatsu */
69867002   DRIVER( viprp1j )   /* (c) 1995 Seibu Kaihatsu */
r5338r5339
70357051   DRIVER( juju )      /* (c) 1989 Tad (Japan) */
70367052   DRIVER( jujub )      /* (c) 1989 Tad (Japan) */
70377053   DRIVER( bloodbro )   /* (c) 1990 Tad */
7038   DRIVER( bloodbra )   /* (c) 1990 Tad */
7054   DRIVER( bloodbroa )   /* (c) 1990 Tad */
70397055   DRIVER( weststry )   /* bootleg */
70407056   DRIVER( skysmash )   /* (c) 1990 Nihon System Inc. */
70417057   DRIVER( legionna )   /* (c) 1992 Tad (World) */
7042   DRIVER( legionnu )   /* (c) 1992 Tad + Fabtek license (US) */
7058   DRIVER( legionnau )   /* (c) 1992 Tad + Fabtek license (US) */
70437059   DRIVER( heatbrl )   /* (c) 1992 Tad (World version 3) */
70447060   DRIVER( heatbrl2 )   /* (c) 1992 Tad (World version 2) */
70457061   DRIVER( heatbrlo )   /* (c) 1992 Tad (World) */
r5338r5339
70767092   DRIVER( psychic5a )   /* (c) 1987 Jaleco */
70777093   DRIVER( bombsa )   /* (c) 1988 Jaleco */
70787094   DRIVER( ginganin )   /* (c) 1987 Jaleco */
7079   DRIVER( gingania )   /* (c) 1987 Jaleco */
7095   DRIVER( ginganina )   /* (c) 1987 Jaleco */
70807096   DRIVER( skyfox )   /* (c) 1987 Jaleco + Nichibutsu USA license */
70817097   DRIVER( exerizrb )   /* bootleg */
70827098   DRIVER( homerun )   /* (c) 1988 Jaleco */
r5338r5339
70857101   DRIVER( cischeat )   /* (c) 1990 Jaleco */
70867102   DRIVER( f1gpstar )   /* (c) 1991 Jaleco */
70877103   DRIVER( armchmp2 )   /* (c) 1992 Jaleco */
7088   DRIVER( armchm2o )   /* (c) 1992 Jaleco */
7104   DRIVER( armchmp2o )   /* (c) 1992 Jaleco */
70897105   DRIVER( wildplt )   /* (c) 1992 Jaleco */
70907106   DRIVER( f1gpstr2 )   /* (c) 1993 Jaleco */
70917107   DRIVER( scudhamm )   /* (c) 1994 Jaleco */
r5338r5339
71087124   DRIVER( p47j )      /* (c) 1988 (Japan) */
71097125   DRIVER( kickoff )   /* (c) 1988 (Japan) */
71107126   DRIVER( tshingen )   /* (c) 1988 (Japan) */
7111   DRIVER( tshingna )   /* (c) 1988 (Japan) */
7127   DRIVER( tshingena )   /* (c) 1988 (Japan) */
71127128   DRIVER( kazan )      /* (c) 1988 (World) */
71137129   DRIVER( iganinju )   /* (c) 1988 (Japan) */
71147130   DRIVER( astyanax )   /* (c) 1989 */
r5338r5339
71197135   DRIVER( stdragon )   /* (c) 1989 */
71207136   DRIVER( rodland )   /* (c) 1990 */
71217137   DRIVER( rodlandj )   /* (c) 1990 (Japan) */
7122   DRIVER( rodlndjb )   /* bootleg */
7138   DRIVER( rodlandjb )   /* bootleg */
71237139   DRIVER( avspirit )   /* (c) 1991 */
71247140   DRIVER( phantasm )   /* (c) 1991 (Japan) */
71257141   DRIVER( monkelf )   /* bootleg */
71267142   DRIVER( edf )      /* (c) 1991 */
71277143   DRIVER( edfu )      /* (c) 1991 */
71287144   DRIVER( 64street )   /* (c) 1991 */
7129   DRIVER( 64streej )   /* (c) 1991 (Japan) */
7145   DRIVER( 64streetj )   /* (c) 1991 (Japan) */
71307146   DRIVER( soldam )   /* (c) 1992 */
71317147   DRIVER( soldamj )   /* (c) 1992 (Japan) */
71327148   DRIVER( bigstrik )   /* (c) 1992 */
r5338r5339
71877203   DRIVER( hatris )   /* (c) 1990 Video System Co. (US) */
71887204   DRIVER( hatrisj )   /* (c) 1990 Video System Co. (Japan) */
71897205   DRIVER( spinlbrk )   /* (c) 1990 V-System Co. (World) */
7190   DRIVER( spinlbru )   /* (c) 1990 V-System Co. (US) */
7191   DRIVER( spinlbrj )   /* (c) 1990 V-System Co. (Japan) */
7206   DRIVER( spinlbrku )   /* (c) 1990 V-System Co. (US) */
7207   DRIVER( spinlbrkj )   /* (c) 1990 V-System Co. (Japan) */
71927208   DRIVER( pspikes )   /* (c) 1991 Video System Co. (World) */
71937209   DRIVER( pspikesk )   /* (c) 1991 Video System Co. (Korea) */
71947210   DRIVER( svolly91 )   /* (c) 1991 Video System Co. (Japan) */
r5338r5339
71967212   DRIVER( spikes91 )   /* bootleg */
71977213   DRIVER( pspikesc )   /* bootleg */
71987214   DRIVER( karatblz )   /* (c) 1991 Video System Co. */
7199   DRIVER( karatblu )   /* (c) 1991 Video System Co. (US) */
7200   DRIVER( karatblj )   /* (c) 1991 Video System / Tecmo (Japan) */
7215   DRIVER( karatblzu )   /* (c) 1991 Video System Co. (US) */
7216   DRIVER( karatblzj )   /* (c) 1991 Video System / Tecmo (Japan) */
72017217   DRIVER( turbofrc )   /* (c) 1991 Video System Co. */
72027218   DRIVER( aerofgt )   /* (c) 1992 Video System Co. */
72037219   DRIVER( aerofgtb )   /* (c) 1992 Video System Co. */
r5338r5339
72077223   DRIVER( aerfboo2 )   /* bootleg */
72087224   DRIVER( wbbc97 )   /* (c) 1997 Comad */
72097225   DRIVER( welltris )   /* (c) 1991 Video System Co. (Japan) */
7210   DRIVER( welltrij )   /* (c) 1991 Video System Co. (Japan) */
7226   DRIVER( welltrisj )   /* (c) 1991 Video System Co. (Japan) */
72117227   DRIVER( quiz18k )   /* (c) 1992 EIM (Welltris hardware) */
72127228   DRIVER( f1gp )      /* (c) 1991 Video System Co. */
72137229   DRIVER( f1gpb )      /* bootleg */
72147230   DRIVER( f1gp2 )      /* (c) 1992 Video System Co. */
72157231   DRIVER( crshrace )   /* (c) 1993 Video System Co. */
7216   DRIVER( crshrac2 )   /* (c) 1993 Video System Co. */
7232   DRIVER( crshrace2 )   /* (c) 1993 Video System Co. */
72177233   DRIVER( taotaido )   /* (c) 1993 Video System Co. */
7218   DRIVER( taotaida )   /* (c) 1993 Video System Co. */
7234   DRIVER( taotaidoa )   /* (c) 1993 Video System Co. */
72197235   DRIVER( gstriker )   /* (c) [1993] Human */
7220   DRIVER( gstrikea )   /* (c) [1993] Human */
7236   DRIVER( gstrikera )   /* (c) [1993] Human */
72217237   DRIVER( vgoalsoc )   /* (c) 199? Temco */
72227238   DRIVER( vgoalsca )   /* (c) 199? Temco */
72237239   DRIVER( twrldc94 )   /* (c) 1994 Tecmo */
7224   DRIVER( twrdc94a )   /* (c) 1994 Tecmo */
7240   DRIVER( twrldc94a )   /* (c) 1994 Tecmo */
72257241   DRIVER( suprslam )   /* (c) 1995 Banpresto */
72267242   DRIVER( fromanc2 )   /* (c) 1995 Video System Co. (Japan) */
72277243   DRIVER( fromancr )   /* (c) 1995 Video System Co. (Japan) */
r5338r5339
72597275   DRIVER( hotgm4ev )   /* (c) 2000 */
72607276   DRIVER( hotgmcki )   /* (c) 2001 */
72617277   DRIVER( loderndf )   /* (c) 2000 */
7262   DRIVER( loderdfa )   /* (c) 2000 */
7278   DRIVER( loderndfa )   /* (c) 2000 */
72637279   DRIVER( hotdebut )   /* (c) 2000 */
72647280
72657281   /* Orca games */
r5338r5339
72747290   DRIVER( hopprobo )   /* (c) 1983 Sega */
72757291   DRIVER( wanted )   /* (c) 1984 Sigma Ent. Inc. */
72767292   DRIVER( funkybee )   /* (c) 1982 Orca */
7277   DRIVER( funkbeeb )   /* (c) 1982 Orca */
7293   DRIVER( funkybeeb )   /* (c) 1982 Orca */
72787294   DRIVER( skylancr )   /* (c) 1983 Orca */
7279   DRIVER( skylance )   /* (c) 1983 Orca + Esco Trading Co license */
7295   DRIVER( skylancre )   /* (c) 1983 Orca + Esco Trading Co license */
72807296   DRIVER( zodiack )   /* (c) 1983 Orca + Esco Trading Co license */
72817297   DRIVER( dogfight )   /* (c) 1983 Thunderbolt */
72827298   DRIVER( moguchan )   /* (c) 1982 Orca + Eastern Commerce Inc. license (doesn't appear on screen) */
r5338r5339
73097325   DRIVER( splash10 )   /* (c) 1992 - Ref 922804 */
73107326   DRIVER( paintlad )   /* (c) 1992 - ver 1.3 */
73117327   DRIVER( roldfrog )   /* not a gaelco game but based on splash code */
7312   DRIVER( roldfrga )   /* not a gaelco game but based on splash code */
7328   DRIVER( roldfroga )   /* not a gaelco game but based on splash code */
73137329   DRIVER( rebus )      /* not a gaelco game but on similar hw to splash */
73147330   DRIVER( funystrp )   /* not a gaelco game but on similar hw to splash */
73157331   DRIVER( puckpepl )   /* not a gaelco game but on similar hw to splash */
r5338r5339
73247340   DRIVER( targeth )   /* (c) 1994 - Ref 940531 */
73257341   DRIVER( thoop2 )   /* (c) 1994 - Ref ??? */
73267342   DRIVER( aligator )   /* (c) 1994 - Ref 940411 */
7327   DRIVER( aligatun )   /* (c) 1994 - Ref 940411 (unprotected) */
7343   DRIVER( aligatorun )   /* (c) 1994 - Ref 940411 (unprotected) */
73287344   DRIVER( biomtoy )   /* (c) 1995 - Ref 922804/2 - (unprotected) */
73297345   DRIVER( touchgo )   /* (c) 1995 - Ref 950906 */
73307346   DRIVER( touchgon )   /* (c) 1995 - Ref 950906 */
r5338r5339
73337349   DRIVER( maniacsp )   /* (c) 1996 - Ref 922804/2 - (prototype) */
73347350   DRIVER( maniacsq )   /* (c) 1996 - Ref ??? - (unprotected) */
73357351   DRIVER( snowboar )   /* (c) 1996 - Ref 960419/1 */
7336   DRIVER( snowbalt )   /* (c) 1996 - Ref 960419/1 */
7352   DRIVER( snowboara )   /* (c) 1996 - Ref 960419/1 */
73377353   DRIVER( bang )      /* (c) 1998 - Ref ??? */
73387354   DRIVER( bangj )      /* (c) 1999 - Ref ??? */
73397355   DRIVER( grtesoro )   /* (c) 1999 - Ref ??? */
r5338r5339
73417357   /* Gaelco 3D games */
73427358   DRIVER( speedup )   /* (c) 1996 - Ref ??? */
73437359   DRIVER( surfplnt )   /* (c) 1997 - Ref 971223 */
7344   DRIVER( surfpl40 )   /* (c) 1997 - Ref 970514 */
7360   DRIVER( surfplnt40 )   /* (c) 1997 - Ref 970514 */
73457361   DRIVER( radikalb )   /* (c) 1998 - Ref ??? */
73467362
73477363   /*
r5338r5339
73647380   DRIVER( djboyj )   /* (c) 1989 Kaneko */
73657381   DRIVER( djboya )   /* (c) 1989 Kaneko */
73667382   DRIVER( airbustr )   /* (c) 1990 Kaneko + Namco */
7367   DRIVER( airbustj )   /* (c) 1990 Kaneko + Namco (Japan) */
7368   DRIVER( airbusb )   /* bootleg */
7383   DRIVER( airbustrj )   /* (c) 1990 Kaneko + Namco (Japan) */
7384   DRIVER( airbustrb )   /* bootleg */
73697385   DRIVER( galpanic )   /* (c) 1990 Kaneko */
7370   DRIVER( galpania )   /* (c) 1990 Kaneko */
7386   DRIVER( galpanica )   /* (c) 1990 Kaneko */
73717387   DRIVER( galsnew )   /* (c) 1990 Kaneko */
73727388   DRIVER( galsnewa )   /* (c) 1990 Kaneko */
73737389   DRIVER( galsnewj )   /* (c) 1990 Kaneko */
73747390   DRIVER( galpani2 )   /* (c) 1993 Kaneko */
7375   DRIVER( galpan2g )   /* (c) 1993 Kaneko */
7376   DRIVER( galpan2t )   /* (c) 1993 Kaneko */
7377   DRIVER( galpan2j )   /* (c) 1993 Kaneko */
7391   DRIVER( galpani2g )   /* (c) 1993 Kaneko */
7392   DRIVER( galpani2t )   /* (c) 1993 Kaneko */
7393   DRIVER( galpani2j )   /* (c) 1993 Kaneko */
73787394   DRIVER( gp2quiz )   /* (c) 1993 Kaneko */
73797395   DRIVER( gp2se )      /* (c) 1994 Kaneko */
73807396   DRIVER( jchan )      /* (c) 1995 Kaneko */
r5338r5339
73837399
73847400   /* Kaneko "AX System" games */
73857401   DRIVER( berlwall )   /* (c) 1991 Kaneko */
7386   DRIVER( berlwalt )   /* (c) 1991 Kaneko */
7402   DRIVER( berlwallt )   /* (c) 1991 Kaneko */
73877403   DRIVER( mgcrystl )   /* (c) 1991 Kaneko (World) */
7388   DRIVER( mgcrysto )   /* (c) 1991 Kaneko (World) */
7389   DRIVER( mgcrystj )   /* (c) 1991 Kaneko + distributed by Atlus (Japan) */
7404   DRIVER( mgcrystlo )   /* (c) 1991 Kaneko (World) */
7405   DRIVER( mgcrystlj )   /* (c) 1991 Kaneko + distributed by Atlus (Japan) */
73907406   DRIVER( blazeon )   /* (c) 1992 Atlus */
73917407   DRIVER( sandscrp )   /* (c) 1992 Face */
7392   DRIVER( sandscra )   /* (c) 1992 Face */
7393   DRIVER( sandscrb )   /* (c) 1992 Face */
7408   DRIVER( sandscrpa )   /* (c) 1992 Face */
7409   DRIVER( sandscrpb )   /* (c) 1992 Face */
73947410   DRIVER( explbrkr )   /* (c) 1992 Kaneko */
73957411   DRIVER( bakubrkr )   /* (c) 1992 Kaneko */
73967412   DRIVER( shogwarr )   /* (c) 1992 Kaneko */
7397   DRIVER( shogware )   /* (c) 1992 Kaneko */
7413   DRIVER( shogwarre )   /* (c) 1992 Kaneko */
73987414   DRIVER( fjbuster )   /* (c) 1992 Kaneko */
73997415   DRIVER( brapboys )   /* (c) 1992 Kaneko */
7400   DRIVER( brapboyj )   /* (c) 1992 Kaneko */
7416   DRIVER( brapboysj )   /* (c) 1992 Kaneko */
74017417   DRIVER( bloodwar )   /* (c) 1994 Kaneko */
74027418   DRIVER( bonkadv )   /* (c) 1994 Kaneko */
74037419   DRIVER( gtmr )      /* (c) 1994 Kaneko */
r5338r5339
74167432   DRIVER( vblokbrk )   /* 1997.?? (c) 1997 Kaneko / Mediaworks (Asia) */
74177433   DRIVER( galpanis )   /* 1997.04 (c) 1997 Kaneko (Japan) */
74187434   DRIVER( sengekis )   /* 1997.?? (c) 1997 Kaneko / Warashi (Asia) */
7419   DRIVER( sengekij )   /* 1997.07 (c) 1997 Kaneko / Warashi (Japan) */
7435   DRIVER( sengekisj )   /* 1997.07 (c) 1997 Kaneko / Warashi (Japan) */
74207436   DRIVER( jjparad2 )   /* 1997.12 (c) 1997 Electro Design Co. (Japan) */
74217437   DRIVER( cyvern )   /* 1998.02 (c) 1998 Kaneko (Japan) */
74227438   DRIVER( ryouran )   /* 1998.07 (c) 1998 Electro Design Co. (Japan) */
r5338r5339
74457461   DRIVER( ponchin )   /* (c) 1991 Visco */
74467462   DRIVER( ponchina )   /* (c) 1991 Visco */
74477463   DRIVER( tndrcade )   /* UA-0 (c) 1987 Taito */
7448   DRIVER( tndrcadj )   /* UA-0 (c) 1987 Taito */
7464   DRIVER( tndrcadej )   /* UA-0 (c) 1987 Taito */
74497465   DRIVER( twineagl )   /* UA-2 (c) 1988 + Taito license */
74507466   DRIVER( downtown )   /* UD-2 (c) 1989 + Romstar or Taito license (DSW) */
7451   DRIVER( downtow2 )   /* UD-2 (c) 1989 + Romstar or Taito license (DSW) */
7452   DRIVER( downtowj )   /* UD-2 (c) 1989 + Romstar or Taito license (DSW) */
7453   DRIVER( downtowp )   /* UD-2 (c) 1989 + Romstar or Taito license (DSW) */
7467   DRIVER( downtown2 )   /* UD-2 (c) 1989 + Romstar or Taito license (DSW) */
7468   DRIVER( downtownj )   /* UD-2 (c) 1989 + Romstar or Taito license (DSW) */
7469   DRIVER( downtownp )   /* UD-2 (c) 1989 + Romstar or Taito license (DSW) */
74547470   DRIVER( usclssic )   /* UE   (c) 1989 + Romstar or Taito license (DSW) */
74557471   DRIVER( calibr50 )   /* UH   (c) 1989 + Romstar or Taito license (DSW) */
74567472   DRIVER( arbalest )   /* UK   (c) 1989 + Jordan, Romstar or Taito license (DSW) */
r5338r5339
74737489   DRIVER( zingzip )   /* UY   (c) 1992 Allumer + Tecmo */
74747490   DRIVER( atehate )   /* (C) 1993 Athena */
74757491   DRIVER( jjsquawk )   /* (c) 1993 Athena / Able */
7476   DRIVER( jjsquawb )   /* bootleg */
7492   DRIVER( jjsquawkb )   /* bootleg */
74777493   DRIVER( kamenrid )   /* (c) 1993 Toei / Banpresto */
74787494   DRIVER( madshark )   /* (c) 1993 Allumer */
74797495   DRIVER( msgundam )   /* (c) 1993 Banpresto */
7480   DRIVER( msgunda1 )   /* (c) 1993 Banpresto */
7496   DRIVER( msgundam1 )   /* (c) 1993 Banpresto */
74817497   DRIVER( daioh )      /* (C) 1993 Athena */
74827498   DRIVER( oisipuzl )   /* (c) 1993 SunSoft / Atlus */
74837499   DRIVER( triplfun )   /* bootleg */
r5338r5339
75057521   DRIVER( pzlbowl )   /* (c) 1999 Nihon System / Moss */
75067522   DRIVER( penbros )   /* (c) 2000 Subsino */
75077523   DRIVER( deerhunt )   /* (c) 2000 Sammy USA Corporation */
7508   DRIVER( deerhuna )   /* (c) 2000 Sammy USA Corporation */
7509   DRIVER( deerhunb )   /* (c) 2000 Sammy USA Corporation */
7510   DRIVER( deerhunc )   /* (c) 2000 Sammy USA Corporation */
7524   DRIVER( deerhunta )   /* (c) 2000 Sammy USA Corporation */
7525   DRIVER( deerhuntb )   /* (c) 2000 Sammy USA Corporation */
7526   DRIVER( deerhuntc )   /* (c) 2000 Sammy USA Corporation */
75117527   DRIVER( turkhunt )   /* (c) 2001 Sammy USA Corporation */
75127528   DRIVER( wschamp )   /* (c) 2001 Sammy USA Corporation */
75137529   DRIVER( wschampa )   /* (c) 2001 Sammy USA Corporation */
r5338r5339
75227538   DRIVER( srmp7 )      /* (c) 1997 Seta */
75237539   DRIVER( dynagear )   /* (c) 1993 Sammy */
75247540   DRIVER( survarts )   /* (c) 1993 Sammy */
7525   DRIVER( survartu )   /* (c) 1993 Sammy (American) */
7541   DRIVER( survartsu )   /* (c) 1993 Sammy (American) */
75267542   DRIVER( eaglshot )   /* (c) 1994 Sammy */
75277543   DRIVER( hypreact )   /* (c) 1995 Sammy */
75287544   DRIVER( meosism )   /* (c) 1996?Sammy */
r5338r5339
75817597
75827598   /* Atlus games */
75837599   DRIVER( powerins )   /* (c) 1993 Atlus (USA) */
7584   DRIVER( powerinj )   /* (c) 1993 Atlus (Japan) */
7585   DRIVER( powerina )   /* (c) 1993 Atlus (bootleg of USA version) */
7586   DRIVER( powerinb )   /* (c) 1993 Atlus (bootleg of USA version) */
7600   DRIVER( powerinsj )   /* (c) 1993 Atlus (Japan) */
7601   DRIVER( powerinsa )   /* (c) 1993 Atlus (bootleg of USA version) */
7602   DRIVER( powerinsb )   /* (c) 1993 Atlus (bootleg of USA version) */
75877603   DRIVER( ohmygod )   /* (c) 1993 Atlus (Japan) */
75887604   DRIVER( naname )   /* (c) 1994 Atlus (Japan) */
75897605   DRIVER( blmbycar )   /* (c) 1994 ABM & Gecas - uses same gfx chip as powerins? */
7590   DRIVER( blmbycau )   /* (c) 1994 ABM & Gecas - uses same gfx chip as powerins? */
7606   DRIVER( blmbycaru )   /* (c) 1994 ABM & Gecas - uses same gfx chip as powerins? */
75917607   DRIVER( watrball )   /* (c) 1996 ABM */
75927608
75937609   /* Sun Electronics / SunSoft games */
75947610   DRIVER( speakres )   /* [Sun Electronics] */
75957611   DRIVER( stratvox )   /* [1980 Sun Electronics] Taito */
7596   DRIVER( stratvob )   /* bootleg */
7612   DRIVER( stratvoxb )   /* bootleg */
75977613   DRIVER( spacecho )   /* bootleg */
7598   DRIVER( spacech2 )   /* bootleg */
7614   DRIVER( spacecho2 )   /* bootleg */
75997615   DRIVER( route16 )   /* (c) 1981 Tehkan/Sun + Centuri license */
76007616   DRIVER( route16a )   /* (c) 1981 Tehkan/Sun + Centuri license */
76017617   DRIVER( route16b )   /* bootleg */
r5338r5339
76037619   DRIVER( ttmahjng )   /* Taito */
76047620   DRIVER( fnkyfish )   /* (c) 1981 Sun Electronics */
76057621   DRIVER( kangaroo )   /* (c) 1982 Sun Electronics */
7606   DRIVER( kangaroa )   /* 136008           (c) 1982 Atari */
7607   DRIVER( kangarob )   /* (bootleg) */
7622   DRIVER( kangarooa )   /* 136008           (c) 1982 Atari */
7623   DRIVER( kangaroob )   /* (bootleg) */
76087624   DRIVER( arabian )   /* TVG13 (c) 1983 Sun Electronics */
76097625   DRIVER( arabiana )   /* 136019           (c) 1983 Atari */
76107626   DRIVER( markham )   /* TVG14 (c) 1983 Sun Electronics */
r5338r5339
76407656   DRIVER( srangerb )   /* bootleg */
76417657   DRIVER( srangerw )   /* (c) 1988 SunA (WDK License) */
76427658   DRIVER( hardhead )   /* (c) 1988 SunA */
7643   DRIVER( hardhedb )   /* bootleg */
7659   DRIVER( hardheadb )   /* bootleg */
76447660   DRIVER( pop_hh )   /* bootleg */
76457661   DRIVER( sparkman )   /* (c) 1989 SunA */
76467662   DRIVER( starfigh )   /* (c) 1990 SunA */
r5338r5339
76547670
76557671   /* Dooyong games */
76567672   DRIVER( gundealr )   /* (c) 1990 Dooyong */
7657   DRIVER( gundeala )   /* (c) 1990 Dooyong */
7658   DRIVER( gundealt )   /* (c) 1990 Tecmo */
7673   DRIVER( gundealra )   /* (c) 1990 Dooyong */
7674   DRIVER( gundealrt )   /* (c) 1990 Tecmo */
76597675   DRIVER( yamyam )   /* (c) 1990 Dooyong */
76607676   DRIVER( wiseguy )   /* (c) 1990 Dooyong */
76617677   DRIVER( lastday )   /* (c) 1990 Dooyong */
76627678   DRIVER( lastdaya )   /* (c) 1990 Dooyong */
76637679   DRIVER( gulfstrm )   /* (c) 1991 Dooyong */
7664   DRIVER( gulfstr2 )   /* (c) 1991 Dooyong + distributed by Media Shoji */
7680   DRIVER( gulfstrmm )   /* (c) 1991 Dooyong + distributed by Media Shoji */
76657681   DRIVER( pollux )   /* (c) 1991 Dooyong */
76667682   DRIVER( polluxa )   /* (c) 1991 Dooyong */
76677683   DRIVER( polluxa2 )   /* (c) 1991 Dooyong */
76687684   DRIVER( flytiger )   /* (c) 1992 Dooyong */
76697685   DRIVER( bluehawk )   /* (c) 1993 Dooyong */
7670   DRIVER( bluehawn )   /* (c) 1993 NTC */
7686   DRIVER( bluehawkn )   /* (c) 1993 NTC */
76717687   DRIVER( sadari )   /* (c) 1993 NTC */
76727688   DRIVER( gundl94 )   /* (c) 1994 Dooyong */
76737689   DRIVER( primella )   /* (c) 1994 NTC */
r5338r5339
77027718   DRIVER( missw96 )   /* (c) 1996 Comad */
77037719   DRIVER( missmw96 )   /* (c) 1996 Comad */
77047720   DRIVER( fantsia2 )   /* (c) 1997 Comad */
7705   DRIVER( fntsia2a )   /* (c) 1997 Comad */
7721   DRIVER( fantsia2a )   /* (c) 1997 Comad */
77067722   DRIVER( galhustl )   /* (c) 1997 ACE International */
77077723
77087724   /* Playmark games */
77097725   DRIVER( sslam )      /* (c) 1993 - hack of Namco's Super World Court */
77107726   DRIVER( sslama )   /* (c) 1993 - hack of Namco's Super World Court */
77117727   DRIVER( powerbal )   /* (c) 1994 */
7712   DRIVER( powerbls )   /* (c) 1994 */
7728   DRIVER( powerbals )   /* (c) 1994 */
77137729   DRIVER( magicstk )   /* (c) 1995 */
77147730   DRIVER( hotminda )   /* (c) 1995 */
77157731   DRIVER( bigtwin )   /* (c) 1995 */
77167732   DRIVER( wbeachvl )   /* (c) 1995 */
7717   DRIVER( wbeachv2 )   /* (c) 1995 */
7733   DRIVER( wbeachvl2 )   /* (c) 1995 */
77187734   DRIVER( excelsr )   /* (c) 1995 */
77197735   DRIVER( hotmind )   /* (c) 1995 */
77207736   DRIVER( hrdtimes )   /* (c) 1994 */
7721   DRIVER( hrdtimea )   /* (c) 1994 */
7737   DRIVER( hrdtimesa )   /* (c) 1994 */
77227738   DRIVER( drtomy )   /* (c) 1993 no copyright message (1993 on pcb), some code taken from 'Big Karnak' */
77237739   DRIVER( sderby )   /* (c) 1996 */
77247740   DRIVER( pmroulet )
r5338r5339
77347750   /* Tecfri games */
77357751   DRIVER( holeland )   /* (c) 1984 */
77367752   DRIVER( crzrally )   /* (c) 1985 */
7737   DRIVER( crzralla )   /* (c) 1985 */
7738   DRIVER( crzrallg )   /* (c) 1985 */
7753   DRIVER( crzrallya )   /* (c) 1985 */
7754   DRIVER( crzrallyg )   /* (c) 1985 */
77397755   DRIVER( speedbal )   /* (c) 1987 */
77407756   DRIVER( sauro )      /* (c) 1987 */
77417757   DRIVER( trckydoc )   /* (c) 1987 */
7742   DRIVER( trckydca )   /* (c) 1987 */
7758   DRIVER( trckydoca )   /* (c) 1987 */
77437759
77447760   /* Metro games */
77457761   DRIVER( karatour )   /* (c) 1992 Mitchell */
77467762   DRIVER( ladykill )   /* (c) 1993 Yanyaka + Mitchell license - (Arcade TV Game List - P.101, Right, 2 from Bottom) */
77477763   DRIVER( moegonta )   /* (c) 1993 Yanyaka (Japan) (Arcade TV Game List - P.101, Right, 2 from Bottom) */
77487764   DRIVER( pangpoms )   /* (c) 1992 */
7749   DRIVER( pangpomm )   /* (c) 1992 Mitchell / Metro */
7765   DRIVER( pangpomsm )   /* (c) 1992 Mitchell / Metro */
77507766   DRIVER( skyalert )   /* (c) 1992 */
77517767   DRIVER( poitto )   /* (c) 1993 Metro / Able Corp. */
77527768   DRIVER( dharma )   /* (c) 1994 */
77537769   DRIVER( dharmak )   /* (c) 1994 */
77547770   DRIVER( lastfort )   /* (c) 1994 */
7755   DRIVER( lastfero )   /* (c) 1994 */
7756   DRIVER( lastfork )   /* (c) 1994 */
7757   DRIVER( lastforg )   /* (c) 1994 */
7771   DRIVER( lastforte )   /* (c) 1994 */
7772   DRIVER( lastfortk )   /* (c) 1994 */
7773   DRIVER( lastfortg )   /* (c) 1994 */
77587774   DRIVER( toride2g )   /* (c) 1994 */
7759   DRIVER( torid2gg )   /* (c) 1994 */
7775   DRIVER( toride2gg )   /* (c) 1994 */
77607776   DRIVER( toride2j )   /* (c) 1994 */
77617777   DRIVER( gunmast )   /* (c) 1994 */
77627778   DRIVER( daitorid )   /* (c) 1995 */
r5338r5339
78007816   DRIVER( madball )   /* (c) 1998 Yun Sung */
78017817   DRIVER( madballn )   /* (c) 1998 Yun Sung */
78027818   DRIVER( cannball )   /* (c) 1995 Yun Sung / Soft Visio */
7803   DRIVER( cannbalv )   /* (c) 1995 Yun Sung / T&K */
7819   DRIVER( cannballv )   /* (c) 1995 Yun Sung / T&K */
78047820   DRIVER( magix )      /* (c) 1995 Yun Sung */
78057821   DRIVER( rocktris )   /* (c) 1994? Yun Sung */
78067822   DRIVER( magicbub )   /* (c) Yun Sung */
7807   DRIVER( magicbua )   /* (c) Yun Sung */
7823   DRIVER( magicbuba )   /* (c) Yun Sung */
78087824   DRIVER( shocking )   /* (c) 1997 Yun Sung */
78097825   DRIVER( bombkick )   /* (c) 1998 Yun Sung */
78107826   DRIVER( nmg5 )      /* (c) 1998 Yun Sung */
r5338r5339
78197835
78207836   /* Zilec games */
78217837   DRIVER( blueprnt )   /* (c) 1982 Bally Midway (Zilec in ROM 3U, and the programmer names) */
7822   DRIVER( blueprnj )   /* (c) 1982 Jaleco (Zilec in ROM 3U, and the programmer names) */
7838   DRIVER( blueprntj )   /* (c) 1982 Jaleco (Zilec in ROM 3U, and the programmer names) */
78237839   DRIVER( saturn )   /* (c) 1983 Jaleco (Zilec in ROM R6, and the programmer names) */
78247840
78257841   /* Fuuki FG-2 games */
78267842   DRIVER( gogomile )   /* (c) 1995 */
7827   DRIVER( gogomilj )   /* (c) 1995 (Japan) */
7843   DRIVER( gogomilej )   /* (c) 1995 (Japan) */
78287844   DRIVER( pbancho )   /* (c) 1996 (Japan) */
78297845
78307846   /* Fuuki FG-3 games */
r5338r5339
78487864   DRIVER( redhawki )   /* (c) 1997 Haedong Corp. license */
78497865   DRIVER( redhawkb )   /* (c) 1997 */
78507866   DRIVER( grdnstrm )   /* (c) 1998 */
7867   DRIVER( grdnstrmk )   /* (c) 1998 */
78517868   DRIVER( bubl2000 )   /* (c) 1998 Tuning */
78527869   DRIVER( hotbubl )   /* (c) 1998 Pandora */
78537870   DRIVER( popspops )   /* (c) 1999 */
r5338r5339
78587875   /* ESD games */
78597876   /* http://www.esdgame.co.kr/english/ */
78607877   DRIVER( multchmp )   /* (c) 1998 (World) */
7861   DRIVER( multchmk )   /* (c) 1998 (Korea) */
7878   DRIVER( multchmpk )   /* (c) 1998 (Korea) */
78627879   DRIVER( mchampdx )   /* (c) 1999 ESD */
7863   DRIVER( mchampda )   /* (c) 1999 ESD */
7880   DRIVER( mchampdxa )   /* (c) 1999 ESD */
78647881   DRIVER( hedpanic )   /* (c) 2000 ESD */
7865   DRIVER( hedpanif )   /* (c) 2000 ESD + Fuuki, Co. Ltd. */
7866   DRIVER( hedpanio )   /* (c) 1999 ESD */
7882   DRIVER( hedpanicf )   /* (c) 2000 ESD + Fuuki, Co. Ltd. */
7883   DRIVER( hedpanico )   /* (c) 1999 ESD */
78677884   DRIVER( tangtang )   /* (c) 2000 ESD */
78687885   DRIVER( swatpolc )   /* (c) 2001 ESD */
78697886
r5338r5339
79447961   DRIVER( quiz365 )   /* "78" (c) 1994 Nakanihon */
79457962   DRIVER( quiz365t )   /* "78" (c) 1994 Nakanihon (Taiwan) */
79467963   DRIVER( rongrong )   /* "80" (c) 1994 Nakanihon */
7947   DRIVER( rongrngj )   /* "80" (c) 1994 Nakanihon */
7948   DRIVER( rongrngg )   /* "80" (c) 1994 Nakanihon */
7964   DRIVER( rongrongj )   /* "80" (c) 1994 Nakanihon */
7965   DRIVER( rongrongg )   /* "80" (c) 1994 Nakanihon */
79497966   DRIVER( hparadis )   /*      (c) 1994 Nakanihon */
79507967   DRIVER( hgokou )   /*      (c) 1995 Nakanihon */
79517968   DRIVER( mjdchuka )   /*      (c) 1995 Nakanihon */
r5338r5339
80618078   /* IGS PGM System Games */
80628079   DRIVER( pgm )
80638080   DRIVER( orlegend )   /* (c) 1997 */
8064   DRIVER( orlegnde )   /* (c) 1997 */
8065   DRIVER( orlegndc )   /* (c) 1997 */
8066   DRIVER( orld111c )   /* (c) 1997 */
8067   DRIVER( orld105k )   /* (c) 1997 */
8081   DRIVER( orlegende )   /* (c) 1997 */
8082   DRIVER( orlegendc )   /* (c) 1997 */
8083   DRIVER( orlegend111c )   /* (c) 1997 */
8084   DRIVER( orlegend105k )   /* (c) 1997 */
80688085   DRIVER( drgw2 )      /* (c) 1997 */
80698086   DRIVER( drgw2c )   /* (c) 1997 */
80708087   DRIVER( drgw2j )   /* (c) 1997 */
r5338r5339
80928109   DRIVER( ddp2a )      /* (c) 2001 */
80938110   DRIVER( puzzli2 )   /* (c) 2001 */
80948111   DRIVER( martmast )   /* (c) 2001 */
8095   DRIVER( martmasc )   /* (c) 2001 */
8112   DRIVER( martmastc )   /* (c) 2001 */
80968113   DRIVER( theglad )   /* (c) 2001 */
80978114   DRIVER( theglada )   /* (c) 2001 */
80988115   DRIVER( dmnfrnt )   /* (c) 2002 */
r5338r5339
81398156   DRIVER( jantotsu )   /* (c) 1983 Sanritsu */
81408157   DRIVER( appoooh )   /* (c) 1984 Sega,  made by Sanritsu */
81418158   DRIVER( robowres )   /* (c) 1986 Sega */
8142   DRIVER( robowrb )   /* bootleg */
8159   DRIVER( robowresb )   /* bootleg */
81438160   DRIVER( bankp )      /* (c) 1984 Sega,  made by Sanritsu */
81448161   DRIVER( combh )      /* (c) 1987 Sega,  made by Sanritsu */
81458162   DRIVER( mjkjidai )   /* (c) 1986 Sanritsu */
r5338r5339
82048221   DRIVER( ultennis )   /* (c) 1993 */
82058222   DRIVER( cheesech )   /* (c) 1994 */
82068223   DRIVER( stonebal )   /* (c) 1994 */
8207   DRIVER( stoneba2 )   /* (c) 1994 */
8224   DRIVER( stonebal2 )   /* (c) 1994 */
82088225
82098226   /* Dynamo games */
82108227   DRIVER( skeetsht )   /* (c) 1991 */
r5338r5339
82128229   /* Taiyo games */
82138230   DRIVER( dynamski )   /* (c) 1984 Taiyo */
82148231   DRIVER( chinhero )   /* (c) 1984 Taiyo */
8215   DRIVER( chinher2 )   /* (c) 1984 Taiyo */
8216   DRIVER( chinhert )   /* (c) 1984 Taiyo */
8232   DRIVER( chinhero2 )   /* (c) 1984 Taiyo */
8233   DRIVER( chinherot )   /* (c) 1984 Taiyo */
82178234   DRIVER( shangkid )   /* (c) 1985 Taiyo + Data East license */
82188235   DRIVER( hiryuken )   /* (c) 1985 Taito */
82198236
r5338r5339
82238240   DRIVER( tx1a )      /* (c) 1983 Tatsumi */
82248241   /* TX-1 V8 */      /* (c) 1984 Tatsumi */
82258242   DRIVER( buggyboy )   /* (c) 1985 Tatsumi */
8226   DRIVER( buggybjr )   /* (c) 1986 Tatsumi */
8243   DRIVER( buggyboyjr )/* (c) 1986 Tatsumi */
82278244   DRIVER( lockon )   /* (c) 1986 Tatsumi */
82288245   DRIVER( lockonc )   /* (c) 1986 Tatsumi */
82298246   /* Gray-Out */      /* (c) 1987 Tatsumi */
r5338r5339
82398256   DRIVER( mugsmash )   /* (c) Electronic Devices (Italy) / 3D Games (England) */
82408257   DRIVER( stlforce )   /* (c) 1994 Electronic Devices (Italy) / Ecogames S.L. (Spain) */
82418258   DRIVER( fantland )   /* (c) 198? Electronic Devices Italy */
8242   DRIVER( fantlnda )   /* (c) 198? Electronic Devices Italy */
8259   DRIVER( fantlanda )   /* (c) 198? Electronic Devices Italy */
82438260   DRIVER( wheelrun )   /* (c) 1988? International Games */
82448261   DRIVER( galaxygn )   /* (c) 1989 Electronic Devices Italy */
82458262   DRIVER( borntofi )   /* (c) International Games? */
82468263   DRIVER( diverboy )   /* (c) 1992 Electronic Devices */
82478264   DRIVER( twinbrat )   /* (c) 1995 */
8248   DRIVER( twinbrta )   /* (c) 1995 */
8265   DRIVER( twinbrata )   /* (c) 1995 */
82498266   DRIVER( ppmast93 )   /* (c) 1993 Electronic Devices S.R.L. */
82508267   DRIVER( twins )      /* (c) 1994 */
82518268   DRIVER( twinsa )   /* (c) 1994 */
r5338r5339
82998316   DRIVER( spacepir )    /* (c) 1992 */
83008317   DRIVER( gallgall )    /* (c) 1992 */
83018318   DRIVER( crimepat )    /* (c) 1993 */
8302   DRIVER( crime211 )    /* (c) 1993 */
8319   DRIVER( crimep211 )   /* (c) 1993 */
83038320   DRIVER( crimep2 )    /* (c) 1993 */
83048321   DRIVER( lastbh )    /* (c) 1994 */
83058322   DRIVER( fastdraw )    /* (c) 1995 */
r5338r5339
84038420   DRIVER( kamikaze )   /* Leijac Corporation */
84048421   DRIVER( spcking2 )   /* (c) 1979 Konami */
84058422   DRIVER( spaceint )   /* [1980] Shoei */
8406   DRIVER( spaceinj )   /* [1980] Shoei */
8423   DRIVER( spaceintj )   /* [1980] Shoei */
84078424   DRIVER( spacefb )   /* (c) [1980?] Nintendo */
84088425   DRIVER( spacefbg )   /* 834-0031 (c) 1980 Gremlin */
84098426   DRIVER( spacefbb )   /* bootleg */
r5338r5339
84188435   DRIVER( exterm )   /* (c) 1989 Premier Technology - a Gottlieb game */
84198436   DRIVER( kingofb )   /* (c) 1985 Woodplace Inc. */
84208437   DRIVER( ringking )   /* (c) 1985 Data East USA */
8421   DRIVER( ringkin2 )   /* (c) 1985 Data East USA */
8422   DRIVER( ringkin3 )   /* (c) 1985 Data East USA */
8423   DRIVER( ringkinw )   /* (c) 1985 Woodplace Inc. */
8438   DRIVER( ringking2 )   /* (c) 1985 Data East USA */
8439   DRIVER( ringking3 )   /* (c) 1985 Data East USA */
8440   DRIVER( ringkingw )   /* (c) 1985 Woodplace Inc. */
84248441   DRIVER( ambush )   /* (c) 1983 Nippon Amuse Co-Ltd */
84258442   DRIVER( ambusht )   /* (c) 1983 Tecfri */
84268443   DRIVER( ambushv )   /* (c) 1983 Volt Elec co-ltd */
r5338r5339
84538470   DRIVER( mosaica )   /* (c) 1990 Space + Fuuki license */
84548471   DRIVER( gfire2 )   /* (c) 1992 Topis Corp */
84558472   DRIVER( sprcros2 )   /* (c) 1986 GM Shoji */
8456   DRIVER( sprcrs2a )   /* (c) 1986 GM Shoji */
8473   DRIVER( sprcros2a )   /* (c) 1986 GM Shoji */
84578474   DRIVER( gcpinbal )   /* (c) 1994 Excellent System */
84588475   DRIVER( vmetal )   /* (c) 1995 Excellent System? */
84598476   DRIVER( vmetaln )   /* (c) 1995 Excellent System? */
84608477   DRIVER( aquarium )   /* (c) 1996 Excellent System */
84618478   DRIVER( policetr )   /* (c) 1996 P&P Marketing */
8462   DRIVER( polict11 )   /* (c) 1996 P&P Marketing */
8463   DRIVER( polict10 )   /* (c) 1996 P&P Marketing */
8464   DRIVER( plctr13a )   /* (c) 1996 P&P Marketing */
8465   DRIVER( plctr13b )   /* (c) 1996 P&P Marketing */
8479   DRIVER( policetr11 )/* (c) 1996 P&P Marketing */
8480   DRIVER( policetr10 )/* (c) 1996 P&P Marketing */
8481   DRIVER( policetr13a )/* (c) 1996 P&P Marketing */
8482   DRIVER( policetr13b )/* (c) 1996 P&P Marketing */
84668483   DRIVER( sshooter )   /* (c) 1998 P&P Marketing */
8467   DRIVER( sshoot12 )   /* (c) 1998 P&P Marketing */
8468   DRIVER( sshoot11 )   /* (c) 1998 P&P Marketing */
8484   DRIVER( sshooter12 )/* (c) 1998 P&P Marketing */
8485   DRIVER( sshooter11 )/* (c) 1998 P&P Marketing */
84698486   DRIVER( pass )      /* (c) 1992 Oksan */
84708487   DRIVER( news )      /* "Virus"??? ((c) 1993 Poby in ROM VIRUS.4) */
84718488   DRIVER( newsa )       /* "Jeansole / Poby */
r5338r5339
85068523   DRIVER( sextriv1 )   /* (c) 1985 Kinky Kit and Game Co. */
85078524   DRIVER( sextriv2 )   /* (c) 1985 Kinky Kit and Game Co. */
85088525   DRIVER( dribling )   /* (c) 1983 Model Racing */
8509   DRIVER( driblino )   /* (c) 1983 Olympia */
8526   DRIVER( driblingo )   /* (c) 1983 Olympia */
85108527   DRIVER( ace )      /* [1976 Allied Leisure] */
85118528   DRIVER( clayshoo )   /* [1979 Allied Leisure] */
85128529   DRIVER( pirates )   /* (c) 1994 NIX */
r5338r5339
85338550   DRIVER( gotcha )   /* (c) 1997 Dongsung + "presented by Para" */
85348551   DRIVER( ppchamp )   /* (c) 1997 Dongsung + "presented by Para" */
85358552   DRIVER( amerdart )   /* (c) 1989 Ameri Corporation */
8536   DRIVER( amerdar2 )   /* (c) 1989 Ameri Corporation */
8553   DRIVER( amerdart2 )   /* (c) 1989 Ameri Corporation */
85378554   DRIVER( coolpool )   /* (c) 1992 Catalina Games */
85388555   DRIVER( 9ballsht )   /* (c) 1993 E-Scape EnterMedia + "marketed by Bundra Games" */
8539   DRIVER( 9ballsh2 )   /* (c) 1993 E-Scape EnterMedia + "marketed by Bundra Games" */
8540   DRIVER( 9ballsh3 )   /* (c) 1993 E-Scape EnterMedia + "marketed by Bundra Games" */
8541   DRIVER( 9ballshc )   /* (c) 1993 E-Scape EnterMedia + "marketed by Bundra Games" */
8556   DRIVER( 9ballsht2 )   /* (c) 1993 E-Scape EnterMedia + "marketed by Bundra Games" */
8557   DRIVER( 9ballsht3 )   /* (c) 1993 E-Scape EnterMedia + "marketed by Bundra Games" */
8558   DRIVER( 9ballshtc )   /* (c) 1993 E-Scape EnterMedia + "marketed by Bundra Games" */
85428559   DRIVER( gumbo )      /* (c) 1994 Min Corp. */
8543   DRIVER( mspuzzlg )   /* (c) 1994 Min Corp. */
8560   DRIVER( mspuzzleg )   /* (c) 1994 Min Corp. */
85448561   DRIVER( mspuzzle )   /* (c) 1994 Min Corp. */
8545   DRIVER( mspuzzln )   /* (c) 1994 Min Corp. */
8562   DRIVER( mspuzzlen )   /* (c) 1994 Min Corp. */
85468563   DRIVER( msbingo )   /* (C) 1994 Min Corp. */
85478564   DRIVER( dblpoint )   /* (c) 1995 Min Corp. */
8548   DRIVER( dblpoind )   /* (c) 1995 Dong Bang Electron */
8565   DRIVER( dblpointd )   /* (c) 1995 Dong Bang Electron */
85498566   DRIVER( statusbj )   /* (c) 1981 Status Games */
85508567   DRIVER( tripdraw )   /* (c) 1981 Status Games */
85518568   DRIVER( funcsino )   /* (c) 1981 Status Games */
85528569   DRIVER( hangman )   /* (c) 1984 Status Games */
85538570   DRIVER( trivquiz )   /* (c) 1984 Status Games */
85548571   DRIVER( statriv2 )   /* (c) 1984 Status Games */
8555   DRIVER( statrv2v )   /* (c) 1984 Status Games */
8572   DRIVER( statriv2v )   /* (c) 1984 Status Games */
85568573   DRIVER( statriv4 )   /* (c) 1985 Status Games */
85578574   DRIVER( sextriv )   /* (c) 1985 Status Games */
85588575   DRIVER( quaquiz2 )   /* (c) 1985 Status Games */
r5338r5339
85788595   DRIVER( skyarmy )   /* (c) 1982 Shoei */
85798596   DRIVER( lethalj )   /* (c) 1996 The Game Room */
85808597   DRIVER( eggventr )   /* (c) 1997 The Game Room */
8581   DRIVER( eggvent8 )   /* (c) 1997 The Game Room */
8582   DRIVER( eggvent7 )   /* (c) 1997 The Game Room */
8583   DRIVER( eggventa )   /* (c) 1997 The Game Room (Allied Leisure license) */
8584   DRIVER( eggvntdx )   /* (c) 1997 The Game Room */
8598   DRIVER( eggventr8 )   /* (c) 1997 The Game Room */
8599   DRIVER( eggventr7 )   /* (c) 1997 The Game Room */
8600   DRIVER( eggventra )   /* (c) 1997 The Game Room (Allied Leisure license) */
8601   DRIVER( eggventrd )   /* (c) 1997 The Game Room */
85858602   DRIVER( calchase )   /* (c) 1999 The Game Room */
85868603   DRIVER( ripribit )   /* (c) 1997 LAI Games */
85878604   DRIVER( cfarm )      /* (c) 1999 LAI Games */
85888605   DRIVER( cclownz )   /* (c) 1999 LAI Games */
85898606   DRIVER( rotaryf )
85908607   DRIVER( portrait )   /* (c) 1983 Olympia */
8591   DRIVER( portrata )   /* (c) 1983 Olympia */
8608   DRIVER( portraita )   /* (c) 1983 Olympia */
85928609   DRIVER( enigma2 )   /* (c) 1981 Game Plan (Zilec Electronics license) */
85938610   DRIVER( enigma2a )   /* (c) 1984 Zilec Electronics (bootleg?) */
85948611   DRIVER( ltcasino )   /* (c) 1982 Digital Controls Inc */
r5338r5339
86018618   DRIVER( suplup )   /* (c) 1999 Omega System */
86028619   DRIVER( jmpbreak )   /* (c) 1999 F2 System */
86038620   DRIVER( vamphalf )   /* (c) 1999 DanBi & F2 System */
8604   DRIVER( vamphafk )   /* (c) 1999 DanBi & F2 System */
8621   DRIVER( vamphalfk )   /* (c) 1999 DanBi & F2 System */
86058622   DRIVER( dquizgo2 )   /* (c) 2000 Semicom */
86068623   DRIVER( misncrft )   /* (c) 2000 Sun */
86078624   DRIVER( hidnctch )   /* (c) 1998 Eolith */
r5338r5339
86228639   DRIVER( kdynastg )   /* (c) 1999 EZ Graphics */
86238640   DRIVER( fmaniac3 )   /* (c) 2002 Saero Entertainment */
86248641   DRIVER( promutrv )   /* (c) 1985 Enerdyne Technologies Inc */
8625   DRIVER( promutra )   /* (c) 1985 Enerdyne Technologies Inc */
8626   DRIVER( promutrb )   /* (c) 1985 Enerdyne Technologies Inc */
8627   DRIVER( promutrc )   /* (c) 1985 Enerdyne Technologies Inc */
8642   DRIVER( promutrva )   /* (c) 1985 Enerdyne Technologies Inc */
8643   DRIVER( promutrvb )   /* (c) 1985 Enerdyne Technologies Inc */
8644   DRIVER( promutrvc )   /* (c) 1985 Enerdyne Technologies Inc */
86288645   DRIVER( strvmstr )   /* (c) 1986 Enerdyne Technologies Inc */
86298646   DRIVER( dorachan )   /* (c) 1980 Craul Denshi */
86308647   DRIVER( ladyfrog )   /* (c) 1990 Mondial Games */
r5338r5339
86388655   DRIVER( heuksun )   /* (c) 1998 Oksan / F2 System */
86398656   DRIVER( bestri )   /* (c) F2 System */
86408657   DRIVER( funybubl )   /* (c) 1999 In Chang Electronic Co */
8641   DRIVER( funybubc )   /* (c) 1999 Comad Industries */
8658   DRIVER( funybublc )   /* (c) 1999 Comad Industries */
86428659   DRIVER( dcheese )   /* (c) 1993 HAR */
86438660   DRIVER( lottof2 )   /* (c) 1993 HAR */
86448661   DRIVER( fredmem )   /* (c) 1994 Coastal Amusements */
8645   DRIVER( fredmeus )   /* (c) 1994 Coastal Amusements */
8646   DRIVER( fredmeuk )   /* (c) 1994 Coastal Amusements */
8662   DRIVER( fredmemus )   /* (c) 1994 Coastal Amusements */
8663   DRIVER( fredmemuk )   /* (c) 1994 Coastal Amusements */
86478664   DRIVER( fredmemj )   /* (c) 1994 Coastal Amusements */
86488665   DRIVER( fredmemc )   /* (c) 1994 Coastal Amusements */
86498666   DRIVER( fredmesp )   /* (c) 1994 Coastal Amusements */
r5338r5339
86958712   DRIVER( trvwz4a )   /* (c) 1985 Merit */
86968713   DRIVER( tictac )   /* (c) 1985 Merit */
86978714   DRIVER( phrcraze )   /* (c) 1986 Merit */
8698   DRIVER( phrcraza )   /* (c) 1986 Merit */
8699   DRIVER( phrcrazs )   /* (c) 1986 Merit */
8715   DRIVER( phrcrazea )   /* (c) 1986 Merit */
8716   DRIVER( phrcrazes )   /* (c) 1986 Merit */
87008717   DRIVER( bigappg )   /* (c) 1986 Merit */
87018718   DRIVER( dodge )      /* (c) 1986 Merit */
87028719   DRIVER( couple )   /* (c) 1988 Merit */
r5338r5339
87318748   DRIVER( ppcar )      /* (c) 1999 Icarus */
87328749   DRIVER( imolagp )   /* (c) 1981 Leante Games */
87338750   DRIVER( dambustr )   /* (c) 1981 South West Research */
8734   DRIVER( dambusta )   /* (c) 1981 South West Research */
8735   DRIVER( dambust )   /* (c) 1981 South West Research */
8751   DRIVER( dambustra )   /* (c) 1981 South West Research */
8752   DRIVER( dambustruk )/* (c) 1981 South West Research */
87368753   DRIVER( gunpey )   /* (c) 2000 Banpresto */
87378754   DRIVER( spaceg )   /* (c) 19?? */
87388755   DRIVER( wldarrow )   /* (c) 1982 */
87398756   DRIVER( mdrawpkr )   /* (c) 19?? */
87408757   DRIVER( laserbas )   /* (c) 1981 Amstar/HOEI */
8741   DRIVER( laserbsa )   /* (c) 1981 Amstar/HOEI */
8758   DRIVER( laserbasa )   /* (c) 1981 Amstar/HOEI */
87428759   DRIVER( futflash )   /* (c) 1981 HOEI (Arcade TV Game List - P.96, Right, 18 from top) */
87438760   DRIVER( turbosub )   /* (c) 1985 Entertainment Sciences */
87448761   DRIVER( turbosb7 )   /* (c) 1985 Entertainment Sciences */
r5338r5339
87538770
87548771   /* Impera */
87558772   DRIVER( magicard )   /* (c) 199? */
8756   DRIVER( magicrda )   /* (c) 199? */
8757   DRIVER( magicrdb )   /* (c) 199? */
8773   DRIVER( magicarda )   /* (c) 199? */
8774   DRIVER( magicardb )   /* (c) 199? */
87588775
87598776   /* Funworld */
87608777   DRIVER( jollycrd )   /* (c) 1985 TAB-Austria */
r5338r5339
87848801   DRIVER( royalcrd )   /* (c) 1991 TAB-Austria */
87858802   DRIVER( royalcdb )   /* (c) 1991 TAB-Austria */
87868803   DRIVER( royalcdc )   /* (c) 1991 Evona Electronic */
8804   DRIVER( royalcdp )   /* (c) 1993 Digital Dreams */
87878805   DRIVER( lluck3x3 )   /* (c) 1991 TAB-Austria */
87888806   DRIVER( lluck4x1 )   /* (c) 1991 TAB-Austria */
87898807   DRIVER( magicrd2 )   /* (c) 1996 Impera */
r5338r5339
87988816   DRIVER( mongolnw )   /* 199? bootleg */
87998817   DRIVER( soccernw )   /* 199? bootleg */
88008818   DRIVER( saloon )   /* 199? unknown */
8819   DRIVER( photoply )
88018820
88028821   /* Sandii' */
88038822   DRIVER( snookr10 )   /* (c) 1998 Sandii' */
r5338r5339
90599078   DRIVER( pesadelo )   /* (c) 1989 Forte II Games */
90609079   DRIVER( spool99 )   /* (c) 1998 Electronic Projects */
90619080   DRIVER( spool99a )   /* (c) 1998 Electronic Projects */
9062   DRIVER( 4roses )   /* 1999 Unknown */
9063   DRIVER( 4rosesa )   /* 1999 Unknown */
9064   DRIVER( big10 )      /* 198? Unknown */
9081   DRIVER( 4roses )   /* (c) 1999 Unknown */
9082   DRIVER( 4rosesa )   /* (c) 1999 Unknown */
9083   DRIVER( big10 )      /* (c) 198? Unknown */
9084   DRIVER( bingor1 )   /* (c) 198? Unknown */
9085   DRIVER( bingor2 )   /* (c) 198? Unknown */
9086   DRIVER( bingor3 )   /* (c) 198? Unknown */
9087   DRIVER( bingor4 )   /* (c) 198? Unknown */
90659088
90669089   /* InterFlip / Recreativos Franco */
90679090   DRIVER( videopkr )   /* (c) 1984 InterFlip */
r5338r5339
91549177   DRIVER( caswin )   /* (c) 1985 */
91559178
91569179   /* Aristocrat Mk4 hardware */
9180   DRIVER( 3bagflnz )   /* (c) 1994 */
9181   DRIVER( blkrhino )   /* (c) 1996 */
9182   DRIVER( coralr2 )   /* (c) 2002 */
91579183   DRIVER( eforest )   /* (c) 1994 */
9184   DRIVER( eforesta )   /* (c) 1995 */
9185   DRIVER( eforestb )   /* (c) 1996 */
9186   DRIVER( goldenc )   /* (c) 1996 */
9187   DRIVER( kgbird )   /* (c) 1996 */
9188   DRIVER( kgbirda )   /* (c) 1996 */
9189   DRIVER( phantomp )   /* (c) 1998 */
9190   DRIVER( swtht2nz )   /* (c) 1998 */
9191   DRIVER( topgear )   /* (c) 1996 */   
91589192
91599193   /* Aristocrat Mk5 hardware */
91609194   DRIVER( swthrt2v )   /* (c) 1995 */
r5338r5339
95389572    */
95399573
95409574   /* Scorpion 2 */
9575   DRIVER( m_brkfst )
9576
95419577   DRIVER( m_bdrwho )
95429578   DRIVER( m_bdrwh1 )
95439579   DRIVER( m_bdrwh2 )
r5338r5339
95899625   /* MPU5 */
95909626   DRIVER( m_honmon )
95919627
9592   DRIVER( roul )
9628   /* Leisure Ent. */
9629   DRIVER( roul )      /* (c) 1990 */
95939630
95949631   /* Accept LTD. */
95959632   DRIVER( hitpoker )   /* (c) 1997 */
95969633
9634   /* Videotronics */
9635   DRIVER( vpoker )   /* (c) 198? */
9636
95979637   /* Play Mechanix */
95989638   DRIVER( jnero )      /* (c) 2004 */
95999639
src/mame/includes/nmk16.h
r5338r5339
11/*----------- defined in video/nmk16.c -----------*/
22
3extern UINT16 *nmk_bgvideoram,*nmk_fgvideoram,*nmk_txvideoram;
3extern UINT16 *nmk_bgvideoram0;
4extern UINT16 *nmk_bgvideoram1;
5extern UINT16 *nmk_bgvideoram2;
6extern UINT16 *nmk_bgvideoram3;
7
8extern UINT16 *nmk_fgvideoram,*nmk_txvideoram;
49extern UINT16 *gunnail_scrollram, *gunnail_scrollramy;
5extern UINT16 *afega_vram_0, *afega_scroll_0;
6extern UINT16 *afega_vram_1, *afega_scroll_1;
10extern UINT16 *nmk_bgvideoram0, *afega_scroll_0;
11extern UINT16 *nmk_txvideoram, *afega_scroll_1;
712
813
9WRITE16_HANDLER( nmk_bgvideoram_w );
14WRITE16_HANDLER( nmk_bgvideoram0_w );
15WRITE16_HANDLER( nmk_bgvideoram1_w );
16WRITE16_HANDLER( nmk_bgvideoram2_w );
17WRITE16_HANDLER( nmk_bgvideoram3_w );
18
1019WRITE16_HANDLER( nmk_fgvideoram_w );
1120WRITE16_HANDLER( nmk_txvideoram_w );
1221WRITE16_HANDLER( nmk_scroll_w );
r5338r5339
2534VIDEO_UPDATE( manybloc );
2635VIDEO_START( gunnail );
2736VIDEO_START( macross2 );
28VIDEO_START( tdragon2 );
37VIDEO_START( raphero );
2938VIDEO_START( bjtwin );
3039VIDEO_START( bioship );
3140VIDEO_START( strahl );
r5338r5339
4049VIDEO_EOF( nmk );
4150VIDEO_EOF( strahl );
4251
43WRITE16_HANDLER( afega_vram_0_w );
44WRITE16_HANDLER( afega_vram_1_w );
45
4652VIDEO_START( afega );
4753VIDEO_START( grdnstrm );
4854VIDEO_START( firehawk );
src/mame/includes/namcos2.h
r5338r5339
203203READ16_HANDLER( namcos2_68k_gpu_C148_r );
204204INTERRUPT_GEN( namcos2_68k_gpu_vblank );
205205
206void namcos2_adjust_posirq_timer( running_machine *machine, int scanline );
207
206208/**************************************************************/
207209/* MASTER CPU RAM MEMORY                                      */
208210/**************************************************************/
src/mame/includes/pk8000.h
r0r5339
1READ8_HANDLER(pk8000_video_color_r);
2WRITE8_HANDLER(pk8000_video_color_w);
3READ8_HANDLER(pk8000_text_start_r);
4WRITE8_HANDLER(pk8000_text_start_w);
5READ8_HANDLER(pk8000_chargen_start_r);
6WRITE8_HANDLER(pk8000_chargen_start_w);
7READ8_HANDLER(pk8000_video_start_r);
8WRITE8_HANDLER(pk8000_video_start_w);
9READ8_HANDLER(pk8000_color_start_r);
10WRITE8_HANDLER(pk8000_color_start_w);
11READ8_HANDLER(pk8000_color_r);
12WRITE8_HANDLER(pk8000_color_w);
13
14extern UINT8 pk8000_video_mode;
15extern UINT8 pk8000_video_enable;
16
17PALETTE_INIT( pk8000 );
18
19UINT32 pk8000_video_update(const device_config *screen, bitmap_t *bitmap, const rectangle *cliprect, UINT8 *videomem);
20
21
src/mame/mame.mak
r5338r5339
11071107   $(DRIVERS)/dotrikun.o $(VIDEO)/dotrikun.o \
11081108   $(DRIVERS)/genesis.o $(VIDEO)/genesis.o \
11091109   $(DRIVERS)/gpworld.o \
1110   $(DRIVERS)/hikaru.o \
11101111   $(DRIVERS)/hshavoc.o \
11111112   $(DRIVERS)/kopunch.o $(VIDEO)/kopunch.o \
11121113   $(DRIVERS)/megadriv.o \
r5338r5339
14801481   $(DRIVERS)/aztarac.o $(AUDIO)/aztarac.o $(VIDEO)/aztarac.o \
14811482   $(DRIVERS)/beaminv.o \
14821483   $(DRIVERS)/big10.o \
1484   $(DRIVERS)/bingor.o \
14831485   $(DRIVERS)/blackt96.o \
14841486   $(DRIVERS)/buster.o \
14851487   $(DRIVERS)/calchase.o \
14861488   $(DRIVERS)/calomega.o $(VIDEO)/calomega.o \
14871489   $(DRIVERS)/carrera.o \
14881490   $(DRIVERS)/cave.o $(VIDEO)/cave.o \
1491   $(DRIVERS)/cb2001.o \
14891492   $(DRIVERS)/chsuper.o \
14901493   $(DRIVERS)/cidelsa.o $(VIDEO)/cidelsa.o \
14911494   $(DRIVERS)/coinmstr.o \
r5338r5339
15651568   $(DRIVERS)/mole.o $(VIDEO)/mole.o \
15661569   $(DRIVERS)/mosaic.o $(VIDEO)/mosaic.o \
15671570   $(DRIVERS)/mrjong.o $(VIDEO)/mrjong.o \
1571   $(DRIVERS)/multfish.o \
15681572   $(DRIVERS)/murogem.o \
15691573   $(DRIVERS)/murogmbl.o \
15701574   $(DRIVERS)/news.o $(VIDEO)/news.o \
r5338r5339
15791583   $(DRIVERS)/pcat_nit.o \
15801584   $(DRIVERS)/pcxt.o \
15811585   $(DRIVERS)/peplus.o \
1586   $(DRIVERS)/photon.o $(VIDEO)/pk8000.o \
15821587   $(DRIVERS)/pipeline.o \
1588   $(DRIVERS)/photoply.o \
15831589   $(DRIVERS)/pkscram.o \
15841590   $(DRIVERS)/pntnpuzl.o \
15851591   $(DRIVERS)/policetr.o $(VIDEO)/policetr.o \
r5338r5339
15911597   $(DRIVERS)/rbmk.o \
15921598   $(DRIVERS)/rcorsair.o \
15931599   $(DRIVERS)/re900.o \
1600   $(DRIVERS)/roul.o \
1601   $(DRIVERS)/sfbonus.o \
15941602   $(DRIVERS)/shangkid.o $(VIDEO)/shangkid.o \
15951603   $(DRIVERS)/skeetsht.o \
15961604   $(DRIVERS)/skimaxx.o \
r5338r5339
16261634   $(DRIVERS)/vcombat.o \
16271635   $(DRIVERS)/videopkr.o \
16281636   $(DRIVERS)/vp101.o \
1637   $(DRIVERS)/vpoker.o \
16291638   $(DRIVERS)/vroulet.o \
16301639   $(DRIVERS)/wldarrow.o \
16311640   $(DRIVERS)/xyonix.o $(VIDEO)/xyonix.o \
1632   $(DRIVERS)/hikaru.o \
1633   $(DRIVERS)/cb2001.o \
1634   $(DRIVERS)/sfbonus.o \
1635   $(DRIVERS)/multfish.o \
1636   $(DRIVERS)/roul.o \
16371641
16381642#-------------------------------------------------
16391643# layout dependencies
src/mame/video/rungun.c
r5338r5339
112112VIDEO_UPDATE(rng)
113113{
114114   bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
115   bitmap_fill(priority_bitmap, cliprect, 0);
115   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
116116
117117   K053936_0_zoom_draw(bitmap, cliprect, rng_936_tilemap, 0, 0, 1);
118118
src/mame/video/aerofgt.c
r5338r5339
460460                      flipx,flipy,
461461                      sx,sy,
462462                      zoomx << 11, zoomy << 11,
463                      priority_bitmap,pri ? 0 : 2,15);
463                      machine->priority_bitmap,pri ? 0 : 2,15);
464464            map_start++;
465465         }
466466
r5338r5339
534534                      flipx,flipy,
535535                      sx,sy,
536536                      zoomx << 11, zoomy << 11,
537                      priority_bitmap,pri ? 2 : 0,15);
537                      machine->priority_bitmap,pri ? 2 : 0,15);
538538            map_start++;
539539         }
540540
r5338r5339
609609                      flipx,flipy,
610610                      sx,sy,
611611                      zoomx << 11, zoomy << 11,
612                      priority_bitmap,pri ? 0 : 2,15);
612                      machine->priority_bitmap,pri ? 0 : 2,15);
613613            map_start++;
614614         }
615615
r5338r5339
731731            flipx,flipy,
732732            sx,sy,
733733            zoomx << 11,zoomy << 11,
734            priority_bitmap,pri ? 0 : 2,15);
734            machine->priority_bitmap,pri ? 0 : 2,15);
735735
736736   }
737737
r5338r5339
768768            flipx,flipy,
769769            sx,sy,
770770            zoomx << 11,zoomy << 11,
771            priority_bitmap,pri ? 0 : 2,15);
771            machine->priority_bitmap,pri ? 0 : 2,15);
772772
773773   }
774774}
r5338r5339
803803      tilemap_set_scrollx(bg1_tilemap,(i + scrolly) & 0xff,aerofgt_rasterram[i]);
804804   tilemap_set_scrolly(bg1_tilemap,0,scrolly);
805805
806   bitmap_fill(priority_bitmap,cliprect,0);
806   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
807807
808808   tilemap_draw(bitmap,cliprect,bg1_tilemap,0,0);
809809   turbofrc_draw_sprites(screen->machine,bitmap,cliprect,0,-1);
r5338r5339
873873   tilemap_set_scrollx(bg2_tilemap,0,bg2scrollx-4);
874874   tilemap_set_scrolly(bg2_tilemap,0,bg2scrolly);
875875
876   bitmap_fill(priority_bitmap,cliprect,0);
876   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
877877
878878   tilemap_draw(bitmap,cliprect,bg1_tilemap,0,0);
879879   tilemap_draw(bitmap,cliprect,bg2_tilemap,0,0);
r5338r5339
898898   tilemap_set_scrollx(bg2_tilemap,0,bg2scrollx-4);
899899//  tilemap_set_scrolly(bg2_tilemap,0,bg2scrolly);
900900
901   bitmap_fill(priority_bitmap,cliprect,0);
901   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
902902
903903   tilemap_draw(bitmap,cliprect,bg1_tilemap,0,0);
904904   tilemap_draw(bitmap,cliprect,bg2_tilemap,0,1);
r5338r5339
924924   tilemap_set_scrollx(bg2_tilemap,0,bg2scrollx-7);
925925   tilemap_set_scrolly(bg2_tilemap,0,bg2scrolly+2);
926926
927   bitmap_fill(priority_bitmap,cliprect,0);
927   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
928928
929929   tilemap_draw(bitmap,cliprect,bg1_tilemap,0,0);
930930   tilemap_draw(bitmap,cliprect,bg2_tilemap,0,1);
r5338r5339
944944   tilemap_set_scrollx(bg2_tilemap,0,aerofgt_rasterram[0x0200]-20);
945945   tilemap_set_scrolly(bg2_tilemap,0,bg2scrolly);
946946
947   bitmap_fill(priority_bitmap,cliprect,0);
947   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
948948
949949   tilemap_draw(bitmap,cliprect,bg1_tilemap,0,0);
950950
r5338r5339
971971   tilemap_set_scrollx(bg2_tilemap,0,bg2scrollx+172);
972972   tilemap_set_scrolly(bg2_tilemap,0,bg2scrolly+2);
973973
974   bitmap_fill(priority_bitmap,cliprect,0);
974   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
975975
976976   tilemap_draw(bitmap,cliprect,bg1_tilemap,0,0);
977977   tilemap_draw(bitmap,cliprect,bg2_tilemap,0,1);
r5338r5339
994994   tilemap_set_scrollx(bg2_tilemap,0,bg2scrollx-7);
995995   tilemap_set_scrolly(bg2_tilemap,0,bg2scrolly+2);
996996
997   bitmap_fill(priority_bitmap,cliprect,0);
997   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
998998
999999   tilemap_draw(bitmap,cliprect,bg1_tilemap,0,0);
10001000   tilemap_draw(bitmap,cliprect,bg2_tilemap,0,1);
r5338r5339
10171017      tilemap_set_scrollx(bg1_tilemap,(i + scrolly) & 0xff,aerofgt_rasterram[i]);
10181018   tilemap_set_scrolly(bg1_tilemap,0,scrolly);
10191019
1020   bitmap_fill(priority_bitmap,cliprect,0);
1020   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
10211021
10221022   if(wbbc97_bitmap_enable)
10231023   {
src/mame/video/docastle.c
r5338r5339
129129{
130130   int offs;
131131
132   bitmap_fill(priority_bitmap,NULL,1);
132   bitmap_fill(machine->priority_bitmap,NULL,1);
133133
134134   for (offs = spriteram_size - 4;offs >= 0;offs -= 4)
135135   {
r5338r5339
202202            color,
203203            flipx,flipy,
204204            sx,sy,
205            priority_bitmap,
205            machine->priority_bitmap,
206206            0x00,0x80ff);
207207
208208      /* then draw the mask, behind the background but obscuring following sprites */
r5338r5339
211211            color,
212212            flipx,flipy,
213213            sx,sy,
214            priority_bitmap,
214            machine->priority_bitmap,
215215            0x02,0x7fff);
216216   }
217217}
src/mame/video/segaxbd.c
r5338r5339
7373   }
7474
7575   /* reset priorities */
76   bitmap_fill(priority_bitmap, cliprect, 0);
76   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
7777
7878   /* draw the low priority road layer */
7979   segaic16_road_draw(0, bitmap, cliprect, SEGAIC16_ROAD_BACKGROUND);
src/mame/video/sonson.c
r5338r5339
161161         code, color,
162162         flipx, flipy,
163163         sx, sy, 0);
164
165      /* wrap-around x */
166      drawgfx_transpen(bitmap, cliprect,
167         machine->gfx[1],
168         code, color,
169         flipx, flipy,
170         sx - 256, sy, 0);
164171   }
165172}
166173
src/mame/video/simpl156.c
r5338r5339
103103               colour,
104104               fx,fy,
105105               x,y + mult * multi,
106               priority_bitmap,pri,0);
106               machine->priority_bitmap,pri,0);
107107
108108         multi--;
109109      }
r5338r5339
113113
114114VIDEO_UPDATE( simpl156 )
115115{
116   bitmap_fill(priority_bitmap,NULL,0);
116   bitmap_fill(screen->machine->priority_bitmap,NULL,0);
117117
118118   deco16_pf12_update(deco16_pf1_rowscroll,deco16_pf2_rowscroll);
119119
src/mame/video/deadang.c
r5338r5339
118118      pdrawgfx_transpen(bitmap,cliprect,machine->gfx[1],
119119            sprite,
120120            color,fx,fy,x,y,
121            priority_bitmap,pri,15);
121            machine->priority_bitmap,pri,15);
122122   }
123123}
124124
r5338r5339
148148   flip_screen_set(screen->machine,  deadang_scroll_ram[0x34]&0x40 );
149149
150150   bitmap_fill(bitmap,cliprect,get_black_pen(screen->machine));
151   bitmap_fill(priority_bitmap,cliprect,0);
151   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
152152   tilemap_draw(bitmap,cliprect,pf3_layer,0,1);
153153   tilemap_draw(bitmap,cliprect,pf1_layer,0,2);
154154   tilemap_draw(bitmap,cliprect,pf2_layer,0,4);
src/mame/video/galpani2.c
r5338r5339
162162#endif
163163
164164   bitmap_fill(bitmap,cliprect,0);
165   bitmap_fill(priority_bitmap,cliprect,0);
165   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
166166
167167   if (layers_ctrl & 0x1)
168168   {
src/mame/video/labyrunr.c
r5338r5339
175175
176176   set_pens(screen->machine->colortable);
177177
178   bitmap_fill(priority_bitmap,cliprect,0);
178   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
179179   bitmap_fill(bitmap,cliprect,get_black_pen(screen->machine));
180180
181181   if(~K007121_ctrlram[0][3] & 0x20)
src/mame/video/speedatk.c
r5338r5339
8585   tilemap_mark_tile_dirty(bg_tilemap, offset);
8686}
8787
88WRITE8_HANDLER( speedatk_videoregs_w )
89{
90   static UINT8 address;
91
92   if(offset == 0)
93      address = data;
94   else
95   {
96      switch(address)
97      {
98         /*temporary hook-up.*/
99         case 0x0d:
100            flip_screen_set(space->machine, data & 8);
101            tilemap_set_scrolldx(bg_tilemap,0,data & 0x40);
102            break;
103         default:
104            logerror("Video Register %02x called with %02x data\n",address,data);
105      }
106   }
107}
108
10988static TILE_GET_INFO( get_tile_info )
11089{
11190   int code, color, region;
r5338r5339
11998
12099VIDEO_START( speedatk )
121100{
122   bg_tilemap = tilemap_create(machine, get_tile_info,tilemap_scan_rows,8,8,34,32);
101   bg_tilemap = tilemap_create(machine, get_tile_info,tilemap_scan_rows,8,8,34,30);
123102}
124103
125104VIDEO_UPDATE( speedatk )
src/mame/video/stvvdp2.c
r5338r5339
120120
121121static void stv_vdp2_dynamic_res_change(running_machine *machine);
122122static UINT8 get_hblank(running_machine *machine);
123static int   get_vblank_duration(running_machine *machine);
124//int get_hblank_duration(running_machine *machine); //<- when we know that...
123static int get_vblank_duration(running_machine *machine);
124static int get_hblank_duration(running_machine *machine);
125125static UINT8 get_odd_bit(running_machine *machine);
126126
127127static void refresh_palette_data(running_machine *machine);
r5338r5339
52775277      return 0;
52785278}
52795279
5280//int get_hblank_duration(running_machine *machine)
5281//...
5280/* the following is a complete guess-work */
5281static int get_hblank_duration(running_machine *machine)
5282{
5283   switch( STV_VDP2_HRES & 3 )
5284   {
5285      case 0: return 80; //400-320
5286      case 1: return 104; break; //456-352
5287      case 2: return 160; break; //(400-320)*2
5288      case 3: return 208; break; //(456-352)*2
5289   }
52825290
5291   return 0;
5292}
5293
52835294UINT8 stv_get_vblank(running_machine *machine)
52845295{
52855296   static int cur_v;
r5338r5339
52955306/*some vblank lines measurements (according to Charles MacDonald)*/
52965307static int get_vblank_duration(running_machine *machine)
52975308{
5298   /* TODO: +64 is probably due of missing pixel clock/screen raw params hook-up.
5299             Problem is, I don't know if it's possible to handle that in MAME with
5300             all this dynamic resolution babblecrap...
5301             */
5302
53035309   if(STV_VDP2_HRES & 4)
53045310   {
53055311      switch(STV_VDP2_HRES & 1)
53065312      {
5307         case 0: return 45+64; //31kHz Monitor
5308         case 1: return 82+64; //Hi-Vision Monitor
5313         case 0: return 45; //31kHz Monitor
5314         case 1: return 82; //Hi-Vision Monitor
53095315      }
53105316   }
53115317
53125318   switch(STV_VDP2_VRES & 3)
53135319   {
5314      case 0: return 39+64; //263-224
5315      case 1: return 23+64; //263-240
5316      case 2: return 7+64; //263-256
5317      case 3: return 7+64; //263-256
5320      case 0: return 40; //264-224
5321      case 1: return 24; //264-240
5322      case 2: return 8; //264-256
5323      case 3: return 8; //264-256
53185324   }
53195325
53205326   return 0;
r5338r5339
54355441/*    & height / width not yet understood (docs-wise MUST be bigger than normal visible area)*/
54365442static TIMER_CALLBACK( dyn_res_change )
54375443{
5438   UINT8 vblank_period;
5444   int vblank_period,hblank_period;
54395445   rectangle visarea = *video_screen_get_visible_area(machine->primary_screen);
54405446   visarea.min_x = 0;
54415447   visarea.max_x = horz_res-1;
r5338r5339
54435449   visarea.max_y = vert_res-1;
54445450
54455451   vblank_period = get_vblank_duration(machine);
5452   hblank_period = get_hblank_duration(machine);
54465453//  popmessage("%d",vblank_period);
54475454//  hblank_period = get_hblank_duration(machine->primary_screen);
5448   video_screen_configure(machine->primary_screen, horz_res*2, (vert_res+vblank_period), &visarea, video_screen_get_frame_period(machine->primary_screen).attoseconds );
5455   video_screen_configure(machine->primary_screen, (horz_res+hblank_period), (vert_res+vblank_period), &visarea, video_screen_get_frame_period(machine->primary_screen).attoseconds );
54495456}
54505457
54515458static void stv_vdp2_dynamic_res_change(running_machine *machine)
src/mame/video/shootout.c
r5338r5339
127127                  0 /*color*/,
128128                  flipx,flipy,
129129                  vx,vy,
130                  priority_bitmap,
130                  machine->priority_bitmap,
131131                  priority_mask,0);
132132
133133               number++;
r5338r5339
146146                  0 /*color*/,
147147                  flipx,flipy,
148148                  vx,vy,
149                  priority_bitmap,
149                  machine->priority_bitmap,
150150                  priority_mask,0);
151151            }
152152      }
r5338r5339
156156
157157VIDEO_UPDATE( shootout )
158158{
159   bitmap_fill(priority_bitmap,cliprect,0);
159   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
160160
161161   tilemap_draw(bitmap,cliprect,background,0,0);
162162   tilemap_draw(bitmap,cliprect,foreground,0,1);
r5338r5339
166166
167167VIDEO_UPDATE( shootouj )
168168{
169   bitmap_fill(priority_bitmap,cliprect,0);
169   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
170170
171171   tilemap_draw(bitmap,cliprect,background,0,0);
172172   tilemap_draw(bitmap,cliprect,foreground,0,1);
src/mame/video/volfied.c
r5338r5339
126126
127127VIDEO_UPDATE( volfied )
128128{
129   bitmap_fill(priority_bitmap, cliprect, 0);
129   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
130130   refresh_pixel_layer(screen->machine, bitmap);
131131   PC090OJ_draw_sprites(screen->machine, bitmap, cliprect, 0);
132132   return 0;
src/mame/video/undrfire.c
r5338r5339
217217            sprite_ptr->flipx,sprite_ptr->flipy,
218218            sprite_ptr->x,sprite_ptr->y,
219219            sprite_ptr->zoomx,sprite_ptr->zoomy,
220            priority_bitmap,sprite_ptr->primask,0);
220            machine->priority_bitmap,sprite_ptr->primask,0);
221221   }
222222}
223223
r5338r5339
350350            sprite_ptr->flipx,sprite_ptr->flipy,
351351            sprite_ptr->x,sprite_ptr->y,
352352            sprite_ptr->zoomx,sprite_ptr->zoomy,
353            priority_bitmap,sprite_ptr->primask,0);
353            machine->priority_bitmap,sprite_ptr->primask,0);
354354   }
355355}
356356
r5338r5339
421421   pivlayer[1] = pivlayer[0]^1;
422422   pivlayer[2] = 2;
423423
424   bitmap_fill(priority_bitmap,cliprect,0);
424   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
425425   bitmap_fill(bitmap,cliprect,0);   /* wrong color? */
426426
427427
r5338r5339
437437#ifdef MAME_DEBUG
438438   if (dislayer[layer[0]]==0)
439439#endif
440   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[0],0,1);
440   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[0],0,1);
441441
442442#ifdef MAME_DEBUG
443443   if (dislayer[layer[1]]==0)
444444#endif
445   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[1],0,2);
445   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[1],0,2);
446446
447447#ifdef MAME_DEBUG
448448   if (dislayer[layer[2]]==0)
449449#endif
450   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[2],0,4);
450   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[2],0,4);
451451
452452#ifdef MAME_DEBUG
453453   if (dislayer[layer[3]]==0)
454454#endif
455   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[3],0,8);
455   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[3],0,8);
456456
457457#ifdef MAME_DEBUG
458458   if (dislayer[4]==0)
r5338r5339
476476#endif
477477   TC0100SCN_tilemap_draw(screen->machine,bitmap,cliprect,0,pivlayer[2],0,0);   /* piv text layer */
478478
479   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[4],0,0);   /* TC0480SCP text layer */
479   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[4],0,0);   /* TC0480SCP text layer */
480480
481481   /* See if we should draw artificial gun targets */
482482   /* (not yet implemented...) */
r5338r5339
565565   pivlayer[1] = pivlayer[0]^1;
566566   pivlayer[2] = 2;
567567
568   bitmap_fill(priority_bitmap,cliprect,0);
568   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
569569   bitmap_fill(bitmap,cliprect,0);   /* wrong color? */
570570
571571
r5338r5339
581581#ifdef MAME_DEBUG
582582   if (dislayer[layer[0]]==0)
583583#endif
584   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[0],0,1);
584   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[0],0,1);
585585
586586#ifdef MAME_DEBUG
587587   if (dislayer[layer[1]]==0)
588588#endif
589   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[1],0,2);
589   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[1],0,2);
590590
591591#ifdef MAME_DEBUG
592592   if (dislayer[layer[2]]==0)
593593#endif
594   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[2],0,4);
594   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[2],0,4);
595595
596596#ifdef MAME_DEBUG
597597   if (dislayer[layer[3]]==0)
598598#endif
599   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[3],0,8);
599   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[3],0,8);
600600
601601#ifdef MAME_DEBUG
602602   if (dislayer[4]==0)
r5338r5339
620620#endif
621621   TC0100SCN_tilemap_draw(screen->machine,bitmap,cliprect,0,pivlayer[2],0,0);   /* piv text layer */
622622
623   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[4],0,0);   /* TC0480SCP text layer */
623   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[4],0,0);   /* TC0480SCP text layer */
624624
625625/* Enable this to see rotation (?) control words */
626626#if 0
src/mame/video/deco32.c
r5338r5339
284284                  colour,
285285                  fx,fy,
286286                  sx + x_mult * (w-x),sy + y_mult * (h-y),
287                  priority_bitmap,prival,0);
287                  machine->priority_bitmap,prival,0);
288288
289289            // wrap-around y
290290            pdrawgfx_transpen(bitmap,cliprect,machine->gfx[gfxbank],
r5338r5339
292292                  colour,
293293                  fx,fy,
294294                  sx + x_mult * (w-x),sy + y_mult * (h-y) - 512,
295                  priority_bitmap,prival,0);
295                  machine->priority_bitmap,prival,0);
296296         }
297297      }
298298   }
r5338r5339
12581258   tilemap_set_enable(pf2_tilemap,pf2_enable);
12591259   tilemap_set_enable(pf3_tilemap,pf3_enable);
12601260
1261   bitmap_fill(priority_bitmap,cliprect,0);
1261   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
12621262   if ((deco32_pri&1)==0) {
12631263      if (pf3_enable)
12641264         tilemap_draw(bitmap,cliprect,pf3_tilemap,TILEMAP_DRAW_OPAQUE,1);
r5338r5339
14151415
14161416   /* Draw screen */
14171417   deco16_clear_sprite_priority_bitmap();
1418   bitmap_fill(priority_bitmap,cliprect,0);
1418   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
14191419   bitmap_fill(bitmap,cliprect,screen->machine->pens[0x000]); // Palette index not confirmed
14201420   tilemap_draw(bitmap,cliprect,pf4_tilemap,0,0);
14211421   if(deco32_pri&1)
r5338r5339
14431443*/
14441444static void mixDualAlphaSprites(bitmap_t *bitmap, const rectangle *cliprect, const gfx_element *gfx0, const gfx_element *gfx1, int mixAlphaTilemap)
14451445{
1446   const pen_t *pens = gfx0->machine->pens;
1446   running_machine *machine = gfx0->machine;
1447   const pen_t *pens = machine->pens;
14471448   const pen_t *pal0 = &pens[gfx0->color_base];
14481449   const pen_t *pal1 = &pens[gfx1->color_base];
1449   const pen_t *pal2 = &pens[gfx0->machine->gfx[(deco32_pri&1) ? 1 : 2]->color_base];
1450   const pen_t *pal2 = &pens[machine->gfx[(deco32_pri&1) ? 1 : 2]->color_base];
14501451   int x,y;
14511452
14521453   /* Mix sprites into main bitmap, based on priority & alpha */
14531454   for (y=8; y<248; y++) {
1454      UINT8* tilemapPri=BITMAP_ADDR8(priority_bitmap, y, 0);
1455      UINT8* tilemapPri=BITMAP_ADDR8(machine->priority_bitmap, y, 0);
14551456      UINT16* sprite0=BITMAP_ADDR16(sprite0_mix_bitmap, y, 0);
14561457      UINT16* sprite1=BITMAP_ADDR16(sprite1_mix_bitmap, y, 0);
14571458      UINT32* destLine=BITMAP_ADDR32(bitmap, y, 0);
r5338r5339
16141615
16151616   bitmap_fill(sprite0_mix_bitmap,cliprect,0);
16161617   bitmap_fill(sprite1_mix_bitmap,cliprect,0);
1617   bitmap_fill(priority_bitmap,cliprect,0);
1618   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
16181619   if ((deco32_pf34_control[5]&0x8000)==0)
16191620      bitmap_fill(bitmap,cliprect,screen->machine->pens[0x200]);
16201621
src/mame/video/lkage.c
r5338r5339
154154            flipx,flipy,
155155            sx&0xff,
156156            sy + 16*y,
157            priority_bitmap,
157            machine->priority_bitmap,
158158            priority_mask,0 );
159159      }
160160      source+=4;
r5338r5339
195195   tilemap_set_scrollx(bg_tilemap,0,lkage_scroll[4]);
196196   tilemap_set_scrolly(bg_tilemap,0,lkage_scroll[5]);
197197
198   bitmap_fill(priority_bitmap, cliprect, 0);
198   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
199199   if ((lkage_vreg[2] & 0xf0) == 0xf0)
200200   {
201201      tilemap_draw( bitmap,cliprect,bg_tilemap,0,1 );
src/mame/video/gaiden.c
r5338r5339
366366                  gfx->color_base + color * gfx->color_granularity,
367367                  flipx, flipy,
368368                  sx, sy,
369                  priority_bitmap, priority_mask, 0);
369                  machine->priority_bitmap, priority_mask, 0);
370370            }
371371         }
372372      }
r5338r5339
466466                     gfx->color_base + color * gfx->color_granularity,
467467                     flipx, flipy,
468468                     sx, sy,
469                     priority_bitmap, priority_mask, 0);
469                     machine->priority_bitmap, priority_mask, 0);
470470               }
471471            }
472472         }
r5338r5339
486486                     gfx->color_base + color * gfx->color_granularity,
487487                     flipx, flipy,
488488                     sx, sy,
489                     priority_bitmap, priority_mask, 0);
489                     machine->priority_bitmap, priority_mask, 0);
490490               }
491491            }
492492         }
r5338r5339
542542            code,
543543            machine->gfx[3]->color_base + color * machine->gfx[3]->color_granularity,
544544            flipx,flipy,x,y,
545            priority_bitmap, priority_mask,15);
545            machine->priority_bitmap, priority_mask,15);
546546
547547      /* wrap x*/
548548      pdrawgfx_transpen_raw(bitmap,cliprect,machine->gfx[3],
549549            code,
550550            machine->gfx[3]->color_base + color * machine->gfx[3]->color_granularity,
551551            flipx,flipy,x-512,y,
552            priority_bitmap, priority_mask,15);
552            machine->priority_bitmap, priority_mask,15);
553553
554554   }
555555}
556556
557557VIDEO_UPDATE( gaiden )
558558{
559   bitmap_fill(priority_bitmap, cliprect, 0);
559   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
560560   bitmap_fill(bitmap, cliprect, 0x200);
561561
562562   tilemap_draw(bitmap, cliprect, background, 0, 1);
r5338r5339
569569
570570VIDEO_UPDATE( raiga )
571571{
572   bitmap_fill(priority_bitmap,    cliprect, 0);
572   bitmap_fill(screen->machine->priority_bitmap,    cliprect, 0);
573573
574574   bitmap_fill(tile_bitmap_bg, cliprect, 0x200);
575575   bitmap_fill(tile_bitmap_fg,     cliprect, 0);
r5338r5339
593593
594594VIDEO_UPDATE( drgnbowl )
595595{
596   bitmap_fill(priority_bitmap, cliprect, 0);
596   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
597597
598598   tilemap_draw(bitmap, cliprect, background, 0, 1);
599599   tilemap_draw(bitmap, cliprect, foreground, 0, 2);
src/mame/video/tecmo.c
r5338r5339
230230                     flags & 0xf,
231231                     flipx,flipy,
232232                     sx,sy,
233                     priority_bitmap,
233                     machine->priority_bitmap,
234234                     priority_mask,0);
235235            }
236236         }
r5338r5339
241241
242242VIDEO_UPDATE( tecmo )
243243{
244   bitmap_fill(priority_bitmap,cliprect,0);
244   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
245245   bitmap_fill(bitmap,cliprect,0x100);
246246   tilemap_draw(bitmap,cliprect,bg_tilemap,0,1);
247247   tilemap_draw(bitmap,cliprect,fg_tilemap,0,2);
src/mame/video/segaybd.c
r5338r5339
6767   segaic16_sprites_draw(screen, yboard_bitmap, &yboard_clip, 1);
6868
6969   /* apply rotation */
70   segaic16_rotate_draw(0, bitmap, cliprect, yboard_bitmap);
70   segaic16_rotate_draw(screen->machine, 0, bitmap, cliprect, yboard_bitmap);
7171
7272   /* draw the 16B sprites */
7373   segaic16_sprites_draw(screen, bitmap, cliprect, 0);
src/mame/video/segaorun.c
r5338r5339
5858VIDEO_UPDATE( shangon )
5959{
6060   /* reset priorities */
61   bitmap_fill(priority_bitmap, cliprect, 0);
61   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
6262
6363   /* draw the low priority road layer */
6464   segaic16_road_draw(0, bitmap, cliprect, SEGAIC16_ROAD_BACKGROUND);
r5338r5339
9696   }
9797
9898   /* reset priorities */
99   bitmap_fill(priority_bitmap, cliprect, 0);
99   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
100100
101101   /* draw the low priority road layer */
102102   segaic16_road_draw(0, bitmap, cliprect, SEGAIC16_ROAD_BACKGROUND);
src/mame/video/foodf.c
r5338r5339
121121VIDEO_UPDATE( foodf )
122122{
123123   int offs;
124   const gfx_element *gfx = screen->machine->gfx[1];
125   bitmap_t *priority_bitmap = screen->machine->priority_bitmap;
124126
125127   /* first draw the playfield opaquely */
126128   tilemap_draw(bitmap, cliprect, atarigen_playfield_tilemap, TILEMAP_DRAW_OPAQUE, 0);
r5338r5339
143145      int vflip = (data1 >> 14) & 1;
144146      int pri = (data1 >> 13) & 1;
145147
146      pdrawgfx_transpen(bitmap, cliprect, screen->machine->gfx[1], pict, color, hflip, vflip,
148      pdrawgfx_transpen(bitmap, cliprect, gfx, pict, color, hflip, vflip,
147149            xpos, ypos, priority_bitmap, pri * 2, 0);
148150
149151      /* draw again with wraparound (needed to get the end of level animation right) */
150      pdrawgfx_transpen(bitmap, cliprect, screen->machine->gfx[1], pict, color, hflip, vflip,
152      pdrawgfx_transpen(bitmap, cliprect, gfx, pict, color, hflip, vflip,
151153            xpos - 256, ypos, priority_bitmap, pri * 2, 0);
152154   }
153155
src/mame/video/namcona1.c
r5338r5339
393393            const UINT8 *source = source_base + (y_index>>16) * gfx->line_modulo;
394394            const UINT8 *mask_addr = mask_base + (y_index>>16) * mask->line_modulo;
395395            UINT16 *dest = BITMAP_ADDR16(dest_bmp, y, 0);
396            UINT8 *pri = BITMAP_ADDR8(priority_bitmap, y, 0);
396            UINT8 *pri = BITMAP_ADDR8(machine->priority_bitmap, y, 0);
397397
398398            int x, x_index = x_index_base;
399399            for( x=sx; x<ex; x++ )
r5338r5339
596596                 */
597597            draw_pixel_line(
598598               BITMAP_ADDR16(bitmap, line, 0),
599               BITMAP_ADDR8(priority_bitmap, line, 0),
599               BITMAP_ADDR8(machine->priority_bitmap, line, 0),
600600               videoram16 + ydata + 25,
601601               paldata );
602602         }
r5338r5339
666666         }
667667      }
668668
669      bitmap_fill( priority_bitmap,cliprect ,0);
669      bitmap_fill( screen->machine->priority_bitmap,cliprect ,0);
670670
671671      bitmap_fill( bitmap, cliprect , 0xff); /* background color? */
672672
src/mame/video/aliens.c
r5338r5339
7575{
7676   K052109_tilemap_update();
7777
78   bitmap_fill(priority_bitmap,cliprect,0);
78   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
7979   bitmap_fill(bitmap,cliprect,layer_colorbase[1] * 16);
8080   tilemap_draw(bitmap,cliprect,K052109_tilemap[1],0,1);
8181   tilemap_draw(bitmap,cliprect,K052109_tilemap[2],0,2);
src/mame/video/kaneko16.c
r5338r5339
438438{
439439   pen_t pen_base = gfx->color_base + gfx->color_granularity * (color % gfx->total_colors);
440440   const UINT8 *source_base = gfx_element_get_data(gfx, code % gfx->total_elements);
441
441   bitmap_t *priority_bitmap = gfx->machine->priority_bitmap;
442442   int sprite_screen_height = ((1<<16)*gfx->height+0x8000)>>16;
443443   int sprite_screen_width = ((1<<16)*gfx->width+0x8000)>>16;
444444
r5338r5339
989989{
990990   int i;
991991
992   bitmap_fill(priority_bitmap,cliprect,0);
992   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
993993
994994   kaneko16_prepare_first_tilemap_chip(screen->machine, bitmap, cliprect);
995995   kaneko16_prepare_second_tilemap_chip(screen->machine, bitmap, cliprect);
src/mame/video/dbz.c
r5338r5339
157157
158158   sortlayers(layer, layerpri);
159159
160   bitmap_fill(priority_bitmap, cliprect, 0);
160   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
161161
162162   for(plane = 0; plane < 5; plane++)
163163   {
src/mame/video/ms32.c
r5338r5339
368368            color,
369369            flipx, flipy,
370370            sx,sy,
371            xzoom, yzoom, priority_bitmap,pri_mask, 0);
371            xzoom, yzoom, machine->priority_bitmap,pri_mask, 0);
372372   }   /* end sprite loop */
373373}
374374
r5338r5339
479479   tilemap_set_scrolly(ms32_bg_tilemap, 0, scrolly);
480480
481481
482   bitmap_fill(priority_bitmap,cliprect,0);
482   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
483483
484484   /* TODO: 0 is correct for gametngk, but break f1superb scrolling grid (text at
485485       top and bottom of the screen becomes black on black) */
src/mame/video/system16.c
r5338r5339
932932
933933   update_page();
934934
935   bitmap_fill(priority_bitmap,cliprect,0);
935   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
936936
937937   tilemap_set_scrollx( background, 0, -320-sys16_bg_scrollx+sys16_bgxoffset );
938938   tilemap_set_scrolly( background, 0, -256+sys16_bg_scrolly+system16_bootleg_back_tilemap_yscroll );
r5338r5339
993993
994994   update_page();
995995
996   bitmap_fill(priority_bitmap,NULL,0);
996   bitmap_fill(screen->machine->priority_bitmap,NULL,0);
997997   if(sys18_bg2_active)
998998      tilemap_draw( bitmap,cliprect, background2, 0, 0 );
999999   else
src/mame/video/deniam.c
r5338r5339
258258                     if (sx+x >= cliprect->min_x && sx+x <= cliprect->max_x &&
259259                        y >= cliprect->min_y && y <= cliprect->max_y)
260260                     {
261                        if ((*BITMAP_ADDR8(priority_bitmap, y, sx+x) & primask) == 0)
261                        if ((*BITMAP_ADDR8(machine->priority_bitmap, y, sx+x) & primask) == 0)
262262                           *BITMAP_ADDR16(bitmap, y, sx+x) = color*16+(rom[i]&0x0f);
263                        *BITMAP_ADDR8(priority_bitmap, y, sx+x) = 8;
263                        *BITMAP_ADDR8(machine->priority_bitmap, y, sx+x) = 8;
264264                     }
265265                  }
266266                  x++;
r5338r5339
278278                     if (sx+x >= cliprect->min_x && sx+x <= cliprect->max_x &&
279279                        y >= cliprect->min_y && y <= cliprect->max_y)
280280                     {
281                        if ((*BITMAP_ADDR8(priority_bitmap, y, sx+x) & primask) == 0)
281                        if ((*BITMAP_ADDR8(machine->priority_bitmap, y, sx+x) & primask) == 0)
282282                           *BITMAP_ADDR16(bitmap, y, sx+x) = color*16+(rom[i]>>4);
283                        *BITMAP_ADDR8(priority_bitmap, y, sx+x) = 8;
283                        *BITMAP_ADDR8(machine->priority_bitmap, y, sx+x) = 8;
284284                     }
285285                  }
286286                  x++;
r5338r5339
302302                     if (sx+x >= cliprect->min_x && sx+x <= cliprect->max_x &&
303303                        y >= cliprect->min_y && y <= cliprect->max_y)
304304                     {
305                        if ((*BITMAP_ADDR8(priority_bitmap, y, sx+x) & primask) == 0)
305                        if ((*BITMAP_ADDR8(machine->priority_bitmap, y, sx+x) & primask) == 0)
306306                           *BITMAP_ADDR16(bitmap, y, sx+x) = color*16+(rom[i]>>4);
307                        *BITMAP_ADDR8(priority_bitmap, y, sx+x) = 8;
307                        *BITMAP_ADDR8(machine->priority_bitmap, y, sx+x) = 8;
308308                     }
309309                  }
310310                  x++;
r5338r5339
322322                     if (sx+x >= cliprect->min_x && sx+x <= cliprect->max_x &&
323323                        y >= cliprect->min_y && y <= cliprect->max_y)
324324                     {
325                        if ((*BITMAP_ADDR8(priority_bitmap, y, sx+x) & primask) == 0)
325                        if ((*BITMAP_ADDR8(machine->priority_bitmap, y, sx+x) & primask) == 0)
326326                           *BITMAP_ADDR16(bitmap, y, sx+x) = color*16+(rom[i]&0x0f);
327                        *BITMAP_ADDR8(priority_bitmap, y, sx+x) = 8;
327                        *BITMAP_ADDR8(machine->priority_bitmap, y, sx+x) = 8;
328328                     }
329329                  }
330330                  x++;
r5338r5339
390390   tilemap_set_scrollx(fg_tilemap,0,fg_scrollx & 0x1ff);
391391   tilemap_set_scrolly(fg_tilemap,0,fg_scrolly & 0x0ff);
392392
393   bitmap_fill(priority_bitmap,cliprect,0);
393   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
394394
395395   tilemap_draw(bitmap,cliprect,bg_tilemap,0,1);
396396   tilemap_draw(bitmap,cliprect,fg_tilemap,0,2);
src/mame/video/mcr3.c
r5338r5339
192192{
193193   int offs;
194194
195   bitmap_fill(priority_bitmap, cliprect, 1);
195   bitmap_fill(machine->priority_bitmap, cliprect, 1);
196196
197197   /* loop over sprite RAM */
198198   for (offs = spriteram_size - 4; offs >= 0; offs -= 4)
r5338r5339
234234      {
235235         /* first draw the sprite, visible */
236236         pdrawgfx_transmask(bitmap, cliprect, machine->gfx[1], code, color, flipx, flipy, sx, sy,
237               priority_bitmap, 0x00, 0x0101);
237               machine->priority_bitmap, 0x00, 0x0101);
238238
239239         /* then draw the mask, behind the background but obscuring following sprites */
240240         pdrawgfx_transmask(bitmap, cliprect, machine->gfx[1], code, color, flipx, flipy, sx, sy,
241               priority_bitmap, 0x02, 0xfeff);
241               machine->priority_bitmap, 0x02, 0xfeff);
242242      }
243243      else
244244      {
245245         /* first draw the sprite, visible */
246246         pdrawgfx_transmask(bitmap, cliprect, machine->gfx[1], code, color, !flipx, !flipy, 480 - sx, 452 - sy,
247               priority_bitmap, 0x00, 0x0101);
247               machine->priority_bitmap, 0x00, 0x0101);
248248
249249         /* then draw the mask, behind the background but obscuring following sprites */
250250         pdrawgfx_transmask(bitmap, cliprect, machine->gfx[1], code, color, !flipx, !flipy, 480 - sx, 452 - sy,
251               priority_bitmap, 0x02, 0xfeff);
251               machine->priority_bitmap, 0x02, 0xfeff);
252252      }
253253   }
254254}
src/mame/video/simpsons.c
r5338r5339
162162
163163   sortlayers(layer,layerpri);
164164
165   bitmap_fill(priority_bitmap,cliprect,0);
165   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
166166   bitmap_fill(bitmap,cliprect,16 * bg_colorbase);
167167   tilemap_draw(bitmap,cliprect,K052109_tilemap[layer[0]],0,1);
168168   tilemap_draw(bitmap,cliprect,K052109_tilemap[layer[1]],0,2);
src/mame/video/model1.c
r5338r5339
15051505   ayyc = cos(ayy);
15061506   ayys = sin(ayy);
15071507
1508   bitmap_fill(priority_bitmap, NULL, 0);
1508   bitmap_fill(screen->machine->priority_bitmap, NULL, 0);
15091509   bitmap_fill(bitmap, cliprect, screen->machine->pens[0]);
15101510
15111511   sys24_tile_draw(screen->machine, bitmap, cliprect, 6, 0, 0);
src/mame/video/taitoic.c
r5338r5339
542542/* These scanline drawing routines lifted from Taito F3: optimise / merge ? */
543543
544544INLINE void taitoic_drawscanline(
545      bitmap_t *bitmap,int x,int y,
546      const UINT16 *src,int transparent,UINT32 orient,int pri, const rectangle *cliprect)
545      bitmap_t *bitmap,const rectangle *cliprect,int x,int y,
546      const UINT16 *src,int transparent,UINT32 orient,bitmap_t *priority,int pri)
547547{
548548   UINT16 *dsti = BITMAP_ADDR16(bitmap, y, x);
549   UINT8 *dstp = BITMAP_ADDR8(priority_bitmap, y, x);
549   UINT8 *dstp = BITMAP_ADDR8(priority, y, x);
550550   int length=cliprect->max_x - cliprect->min_x + 1;
551551
552552   src+=cliprect->min_x;
r5338r5339
10681068}
10691069
10701070
1071static void topspeed_custom_draw(bitmap_t *bitmap,const rectangle *cliprect,int chip,int layer,int flags,
1071static void topspeed_custom_draw(running_machine *machine,bitmap_t *bitmap,const rectangle *cliprect,int chip,int layer,int flags,
10721072                     UINT32 priority,UINT16 *color_ctrl_ram)
10731073{
10741074   UINT16 *dst16,*src16;
r5338r5339
11471147         }
11481148      }
11491149
1150      if (flags & TILEMAP_DRAW_OPAQUE)
1151         taitoic_drawscanline(bitmap,0,y,scanline,0,ROT0,priority,cliprect);
1152      else
1153         taitoic_drawscanline(bitmap,0,y,scanline,1,ROT0,priority,cliprect);
1150      taitoic_drawscanline(bitmap,cliprect,0,y,scanline,(flags & TILEMAP_DRAW_OPAQUE)?0:1,ROT0,machine->priority_bitmap,priority);
11541151
11551152      y_index++;
11561153      if (!machine_flip) y++; else y--;
r5338r5339
11781175   tilemap_set_scrolldy(PC080SN_tilemap[chip][layer], basedy, basedyflip);
11791176}
11801177
1181void PC080SN_tilemap_draw_special(bitmap_t *bitmap,const rectangle *cliprect,int chip,int layer,int flags,UINT32 priority,UINT16 *ram)
1178void PC080SN_tilemap_draw_special(running_machine *machine,bitmap_t *bitmap,const rectangle *cliprect,int chip,int layer,int flags,UINT32 priority,UINT16 *ram)
11821179{
1183   topspeed_custom_draw(bitmap,cliprect,chip,layer,flags,priority,ram);
1180   topspeed_custom_draw(machine,bitmap,cliprect,chip,layer,flags,priority,ram);
11841181}
11851182
11861183
r5338r5339
13251322            color,
13261323            flipx,flipy,
13271324            x,y,
1328            priority_bitmap,
1325            machine->priority_bitmap,
13291326            priority ? 0xfc : 0xf0,0);
13301327   }
13311328}
r5338r5339
16991696
17001697/* NB: orientation_flipx code in following routine has not been tested */
17011698
1702static void TC0080VCO_bg0_tilemap_draw(bitmap_t *bitmap,const rectangle *cliprect,int flags,UINT32 priority)
1699static void TC0080VCO_bg0_tilemap_draw(running_machine *machine,bitmap_t *bitmap,const rectangle *cliprect,int flags,UINT32 priority)
17031700{
17041701   UINT16 zoom = TC0080VCO_scroll_ram[6];
17051702   int zx, zy;
r5338r5339
18381835//                      scanline,0,0,rot,priority);
18391836
18401837/*** NEW ***/
1841         if (flags & TILEMAP_DRAW_OPAQUE)
1842            taitoic_drawscanline(bitmap,0,y,scanline,0,ROT0,priority,cliprect);
1843         else
1844            taitoic_drawscanline(bitmap,0,y,scanline,1,ROT0,priority,cliprect);
1838         taitoic_drawscanline(bitmap,cliprect,0,y,scanline,(flags & TILEMAP_DRAW_OPAQUE)?0:1,ROT0,machine->priority_bitmap,priority);
18451839/***********/
18461840
18471841         y_index += zoomy;
r5338r5339
19421936         INT32 incyy = zy;
19431937         int wraparound = 0;
19441938         UINT32 privalue = priority;
1945         bitmap_t *priority = priority_bitmap;
1939         bitmap_t *priority = machine->priority_bitmap;
19461940
19471941         if (dest->bpp == 16)
19481942            COPYROZBITMAP_CORE(UINT16, PIXEL_OP_COPY_TRANS0_SET_PRIORITY, UINT8);
r5338r5339
19651959   {
19661960      case 0:
19671961         if (disable & 0x01) return;
1968         TC0080VCO_bg0_tilemap_draw(bitmap,cliprect,flags,priority);
1962         TC0080VCO_bg0_tilemap_draw(machine,bitmap,cliprect,flags,priority);
19691963         break;
19701964      case 1:
19711965         if (disable & 0x02) return;
1972         TC0080VCO_bg1_tilemap_draw(machine, bitmap,cliprect,flags,priority);
1966         TC0080VCO_bg1_tilemap_draw(machine,bitmap,cliprect,flags,priority);
19731967         break;
19741968      case 2:
19751969         if (disable & 0x04) return;
r5338r5339
26182612   }
26192613}
26202614
2621static void TC0100SCN_tilemap_draw_fg(bitmap_t *bitmap,const rectangle *cliprect, int chip, tilemap* tmap ,int flags, UINT32 priority)
2615static void TC0100SCN_tilemap_draw_fg(running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect, int chip, tilemap* tmap, int flags, UINT32 priority)
26222616{
26232617   const bitmap_t *src_bitmap = tilemap_get_pixmap(tmap);
26242618   int width_mask, height_mask, x, y, p;
r5338r5339
26492643         if ((p&0xf)!=0 || (flags & TILEMAP_DRAW_OPAQUE))
26502644         {
26512645            *BITMAP_ADDR16(bitmap, y, x + cliprect->min_x) = p;
2652            if (priority_bitmap)
2646            if (machine->priority_bitmap)
26532647            {
2654               UINT8 *pri = BITMAP_ADDR8(priority_bitmap, y, 0);
2648               UINT8 *pri = BITMAP_ADDR8(machine->priority_bitmap, y, 0);
26552649               pri[x + cliprect->min_x]|=priority;
26562650            }
26572651         }
r5338r5339
26802674         break;
26812675      case 1:
26822676         if (disable & 0x02) return 1;
2683         TC0100SCN_tilemap_draw_fg(bitmap,&clip,chip,TC0100SCN_tilemap[chip][1][TC0100SCN_dblwidth[chip]],flags,priority);
2677         TC0100SCN_tilemap_draw_fg(machine,bitmap,&clip,chip,TC0100SCN_tilemap[chip][1][TC0100SCN_dblwidth[chip]],flags,priority);
26842678         break;
26852679      case 2:
26862680         if (disable & 0x04) return 1;
r5338r5339
34583452
34593453**********************************************************************/
34603454
3461static void TC0480SCP_bg01_draw(bitmap_t *bitmap,const rectangle *cliprect,int layer,int flags,UINT32 priority)
3455static void TC0480SCP_bg01_draw(running_machine *machine,bitmap_t *bitmap,const rectangle *cliprect,int layer,int flags,UINT32 priority)
34623456{
34633457   /* X-axis zoom offers expansion only: 0 = no zoom, 0xff = max
34643458       Y-axis zoom offers expansion/compression: 0x7f = no zoom, 0xff = max
r5338r5339
35553549            }
35563550         }
35573551
3558         if (flags & TILEMAP_DRAW_OPAQUE)
3559            taitoic_drawscanline(bitmap,0,y,scanline,0,ROT0,priority,cliprect);
3560         else
3561            taitoic_drawscanline(bitmap,0,y,scanline,1,ROT0,priority,cliprect);
3552         taitoic_drawscanline(bitmap,cliprect,0,y,scanline,(flags & TILEMAP_DRAW_OPAQUE)?0:1,ROT0,machine->priority_bitmap,priority);
35623553
35633554         y_index += zoomy;
35643555         if (!machine_flip) y++; else y--;
r5338r5339
36093600
36103601****************************************************************/
36113602
3612static void TC0480SCP_bg23_draw(bitmap_t *bitmap,const rectangle *cliprect,int layer,int flags,UINT32 priority)
3603static void TC0480SCP_bg23_draw(running_machine *machine,bitmap_t *bitmap,const rectangle *cliprect,int layer,int flags,UINT32 priority)
36133604{
36143605   bitmap_t *srcbitmap = tilemap_get_pixmap(TC0480SCP_tilemap[layer][TC0480SCP_dblwidth]);
36153606   bitmap_t *flagsbitmap = tilemap_get_flagsmap
r5338r5339
37213712         }
37223713      }
37233714
3724      if (flags & TILEMAP_DRAW_OPAQUE)
3725         taitoic_drawscanline(bitmap,0,y,scanline,0,ROT0,priority,cliprect);
3726      else
3727         taitoic_drawscanline(bitmap,0,y,scanline,1,ROT0,priority,cliprect);
3715      taitoic_drawscanline(bitmap,cliprect,0,y,scanline,(flags & TILEMAP_DRAW_OPAQUE)?0:1,ROT0,machine->priority_bitmap,priority);
37283716
37293717      y_index += zoomy;
37303718      if (!machine_flip) y++; else y--;
r5338r5339
37353723
37363724
37373725
3738void TC0480SCP_tilemap_draw(bitmap_t *bitmap,const rectangle *cliprect,int layer,int flags,UINT32 priority)
3726void TC0480SCP_tilemap_draw(running_machine *machine,bitmap_t *bitmap,const rectangle *cliprect,int layer,int flags,UINT32 priority)
37393727{
37403728   /* no layer disable bits */
37413729
37423730   switch (layer)
37433731   {
37443732      case 0:
3745         TC0480SCP_bg01_draw(bitmap,cliprect,0,flags,priority);
3733         TC0480SCP_bg01_draw(machine,bitmap,cliprect,0,flags,priority);
37463734         break;
37473735      case 1:
3748         TC0480SCP_bg01_draw(bitmap,cliprect,1,flags,priority);
3736         TC0480SCP_bg01_draw(machine,bitmap,cliprect,1,flags,priority);
37493737         break;
37503738      case 2:
3751         TC0480SCP_bg23_draw(bitmap,cliprect,2,flags,priority);
3739         TC0480SCP_bg23_draw(machine,bitmap,cliprect,2,flags,priority);
37523740         break;
37533741      case 3:
3754         TC0480SCP_bg23_draw(bitmap,cliprect,3,flags,priority);
3742         TC0480SCP_bg23_draw(machine,bitmap,cliprect,3,flags,priority);
37553743         break;
37563744      case 4:
37573745         tilemap_draw(bitmap,cliprect,TC0480SCP_tilemap[4][TC0480SCP_dblwidth],flags,priority);
r5338r5339
45224510            }
45234511         }
45244512
4525         if (y > priority_switch_line)
4526            taitoic_drawscanline(bitmap,0,y,scanline,1,ROT0,high_priority,cliprect);
4527         else
4528            taitoic_drawscanline(bitmap,0,y,scanline,1,ROT0,low_priority,cliprect);
4513         taitoic_drawscanline(bitmap,cliprect,0,y,scanline,1,ROT0,machine->priority_bitmap,(y > priority_switch_line)?high_priority:low_priority);
45294514      }
45304515
45314516      y++;
src/mame/video/namcos86.c
r5338r5339
316316            flipx,flipy,
317317            sx & 0x1ff,
318318            ((sy + 16) & 0xff) - 16,
319            priority_bitmap, pri_mask,0xf);
319            machine->priority_bitmap, pri_mask,0xf);
320320
321321      source -= 0x10;
322322   }
r5338r5339
353353   set_scroll(screen->machine, 2);
354354   set_scroll(screen->machine, 3);
355355
356   bitmap_fill(priority_bitmap, cliprect, 0);
356   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
357357
358358   bitmap_fill(bitmap,cliprect,screen->machine->gfx[0]->color_base + 8*backcolor+7);
359359
src/mame/video/taitoic.h
r5338r5339
4141void PC080SN_tilemap_draw_offset(bitmap_t *bitmap,const rectangle *cliprect,int chip,int layer,int flags,UINT32 priority,int xoffs,int yoffs);
4242
4343/* For Topspeed */
44void PC080SN_tilemap_draw_special(bitmap_t *bitmap,const rectangle *cliprect,int chip,int layer,int flags,UINT32 priority,UINT16 *ram);
44void PC080SN_tilemap_draw_special(running_machine *machine,bitmap_t *bitmap,const rectangle *cliprect,int chip,int layer,int flags,UINT32 priority,UINT16 *ram);
4545
4646
4747/***************************************************************************/
r5338r5339
157157WRITE32_HANDLER( TC0480SCP_ctrl_long_w );
158158
159159void TC0480SCP_tilemap_update(running_machine *machine);
160void TC0480SCP_tilemap_draw(bitmap_t *bitmap,const rectangle *cliprect,int layer,int flags,UINT32 priority);
160void TC0480SCP_tilemap_draw(running_machine *machine,bitmap_t *bitmap,const rectangle *cliprect,int layer,int flags,UINT32 priority);
161161
162162/* Returns the priority order of the bg tilemaps set in the internal
163163   register. The order in which the four layers should be drawn is
src/mame/video/cps1.c
r5338r5339
12341234{
12351235   /* name       CPSB         gfx mapper   in2  in3  out2   kludge */
12361236   {"forgottn", CPS_B_01,     mapper_LW621 },
1237   {"forgottu", CPS_B_01,     mapper_LWCHR },
1237   {"forgottnu",CPS_B_01,     mapper_LWCHR },
12381238   {"lostwrld", CPS_B_01,     mapper_LWCHR },
12391239   {"lostwrldo",CPS_B_01,     mapper_LWCHR },
12401240   {"ghouls",   CPS_B_01,     mapper_DM620 },
r5338r5339
12421242   {"daimakai", CPS_B_01,     mapper_DM22A },   // equivalent to DM620
12431243   {"daimakair",CPS_B_21_DEF, mapper_DAM63B },   // equivalent to DM620, also CPS_B_21_DEF is equivalent to CPS_B_01
12441244   {"strider",  CPS_B_01,     mapper_ST24M1 },
1245   {"stridrua", CPS_B_01,     mapper_ST24M1 },
1245   {"striderua",CPS_B_01,     mapper_ST24M1 },
12461246   {"striderj", CPS_B_01,     mapper_ST22B },   // equivalent to ST24M1
12471247   {"striderjr",CPS_B_01,     mapper_ST24M1 },
12481248   {"dynwar",   CPS_B_02,     mapper_TK22B },
r5338r5339
12931293   {"sf2jc",    CPS_B_12,     mapper_STF29,  0x36 },
12941294   /* from here onwards the CPS-B board has suicide battery and multiply protection */
12951295   {"3wonders", CPS_B_21_BT1, mapper_RT24B },
1296   {"3wonderu", CPS_B_21_BT1, mapper_RT24B },
1296   {"3wondersu",CPS_B_21_BT1, mapper_RT24B },
12971297   {"wonder3",  CPS_B_21_BT1, mapper_RT22B },   // equivalent to RT24B
1298   {"3wonderh", CPS_B_02    , mapper_RT24B },   /* Not 100% sure of the CPS B-ID */
1298   {"3wondersh",CPS_B_02    , mapper_RT24B },   /* Not 100% sure of the CPS B-ID */
12991299   {"kod",      CPS_B_21_BT2, mapper_KD29B,  0x36, 0, 0x34 },
13001300   {"kodu",     CPS_B_21_BT2, mapper_KD29B,  0x36, 0, 0x34 },
13011301   {"kodj",     CPS_B_21_BT2, mapper_KD29B,  0x36, 0, 0x34 },
13021302   {"kodb",     CPS_B_21_BT2, mapper_KD29B,  0x36, 0, 0x34 },   /* bootleg, doesn't use multiply protection */
13031303   {"captcomm", CPS_B_21_BT3, mapper_CC63B,  0x36, 0x38, 0x34 },
1304   {"captcomu", CPS_B_21_BT3, mapper_CC63B,  0x36, 0x38, 0x34 },
1305   {"captcomj", CPS_B_21_BT3, mapper_CC63B,  0x36, 0x38, 0x34 },
1306   {"captcomb", CPS_B_21_BT3, mapper_CC63B,  0x36, 0x38, 0x34 },
1304   {"captcommu",CPS_B_21_BT3, mapper_CC63B,  0x36, 0x38, 0x34 },
1305   {"captcommj",CPS_B_21_BT3, mapper_CC63B,  0x36, 0x38, 0x34 },
1306   {"captcommb",CPS_B_21_BT3, mapper_CC63B,  0x36, 0x38, 0x34 },
13071307   {"knights",  CPS_B_21_BT4, mapper_KR63B,  0x36, 0, 0x34 },
13081308   {"knightsu", CPS_B_21_BT4, mapper_KR63B,  0x36, 0, 0x34 },
13091309   {"knightsj", CPS_B_21_BT4, mapper_KR63B,  0x36, 0, 0x34 },
r5338r5339
13451345   {"dinopic",  CPS_B_21_QS2, mapper_CD63B },   /* layer enable never used */
13461346   {"dinopic2", CPS_B_21_QS2, mapper_CD63B },   /* layer enable never used */
13471347   {"punisher", CPS_B_21_QS3, mapper_PS63B },
1348   {"punishru", CPS_B_21_QS3, mapper_PS63B },
1349   {"punishrj", CPS_B_21_QS3, mapper_PS63B },
1348   {"punisheru",CPS_B_21_QS3, mapper_PS63B },
1349   {"punisherj",CPS_B_21_QS3, mapper_PS63B },
13501350   {"punipic",  CPS_B_21_QS3, mapper_PS63B },
13511351   {"punipic2", CPS_B_21_QS3, mapper_PS63B },
13521352   {"punipic3", CPS_B_21_QS3, mapper_PS63B },
13531353   {"slammast", CPS_B_21_QS4, mapper_MB63B },
1354   {"slammasu", CPS_B_21_QS4, mapper_MB63B },
1354   {"slammastu",CPS_B_21_QS4, mapper_MB63B },
13551355   {"mbomberj", CPS_B_21_QS4, mapper_MB63B },
13561356   {"mbombrd",  CPS_B_21_QS5, mapper_MB63B },
13571357   {"mbombrdj", CPS_B_21_QS5, mapper_MB63B },
r5338r5339
22172217            CODE,                                    \
22182218            COLOR,                                    \
22192219            !(FLIPX),!(FLIPY),                           \
2220            511-16-(SX),255-16-(SY),                     priority_bitmap,0x02,15);               \
2220            511-16-(SX),255-16-(SY),                     machine->priority_bitmap,0x02,15);               \
22212221   else                                             \
22222222      pdrawgfx_transpen(bitmap,\
22232223            cliprect,machine->gfx[2],                     \
22242224            CODE,                                    \
22252225            COLOR,                                    \
22262226            FLIPX,FLIPY,                              \
2227            SX,SY,                                    priority_bitmap,0x02,15);               \
2227            SX,SY,                                    machine->priority_bitmap,0x02,15);               \
22282228}
22292229
22302230
r5338r5339
24532453            CODE,                                                \
24542454            COLOR,                                                \
24552455            !(FLIPX),!(FLIPY),                                       \
2456            511-16-(SX),255-16-(SY),                                 priority_bitmap,primasks[priority],15);               \
2456            511-16-(SX),255-16-(SY),                                 machine->priority_bitmap,primasks[priority],15);               \
24572457   else                                                         \
24582458      pdrawgfx_transpen(bitmap,\
24592459            cliprect,machine->gfx[2],                                 \
24602460            CODE,                                                \
24612461            COLOR,                                                \
24622462            FLIPX,FLIPY,                                          \
2463            SX,SY,                                                priority_bitmap,primasks[priority],15);               \
2463            SX,SY,                                                machine->priority_bitmap,primasks[priority],15);               \
24642464}
24652465
24662466   int i;
r5338r5339
27652765   l1 = (layercontrol >> 0x08) & 03;
27662766   l2 = (layercontrol >> 0x0a) & 03;
27672767   l3 = (layercontrol >> 0x0c) & 03;
2768   bitmap_fill(priority_bitmap,cliprect,0);
2768   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
27692769
27702770   if (cps_version == 1)
27712771   {
src/mame/video/yunsun16.c
r5338r5339
187187               attr & 0x1f,
188188               flipx, flipy,
189189               x,y,
190               priority_bitmap,
190               machine->priority_bitmap,
191191               pri_mask,15   );
192192   }
193193}
r5338r5339
212212
213213//  popmessage("%04X", *yunsun16_priority);
214214
215   bitmap_fill(priority_bitmap,cliprect,0);
215   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
216216
217217   if((*yunsun16_priority & 0x0c) == 4)
218218   {
src/mame/video/dcon.c
r5338r5339
190190               pdrawgfx_transpen(bitmap,cliprect,machine->gfx[4],
191191                  sprite + inc,
192192                  color,fx,fy,x+ax*16,y+ay*16,
193                  priority_bitmap,pri_mask,15);
193                  machine->priority_bitmap,pri_mask,15);
194194
195195               // wrap around y
196196               pdrawgfx_transpen(bitmap,cliprect,machine->gfx[4],
197197                  sprite + inc,
198198                  color,fx,fy,x+ax*16,y+ay*16 + 512,
199                  priority_bitmap,pri_mask,15);
199                  machine->priority_bitmap,pri_mask,15);
200200
201201               // wrap around y
202202               pdrawgfx_transpen(bitmap,cliprect,machine->gfx[4],
203203                  sprite + inc,
204204                  color,fx,fy,x+ax*16,y+ay*16 - 512,
205                  priority_bitmap,pri_mask,15);
205                  machine->priority_bitmap,pri_mask,15);
206206            }
207207            else if (fx && !fy)
208208            {
209209               pdrawgfx_transpen(bitmap,cliprect,machine->gfx[4],
210210                  sprite + inc,
211211                  color,fx,fy,x+(dx-1-ax)*16,y+ay*16,
212                  priority_bitmap,pri_mask,15);
212                  machine->priority_bitmap,pri_mask,15);
213213
214214               // wrap around y
215215               pdrawgfx_transpen(bitmap,cliprect,machine->gfx[4],
216216                  sprite + inc,
217217                  color,fx,fy,x+(dx-1-ax)*16,y+ay*16 + 512,
218                  priority_bitmap,pri_mask,15);
218                  machine->priority_bitmap,pri_mask,15);
219219
220220               // wrap around y
221221               pdrawgfx_transpen(bitmap,cliprect,machine->gfx[4],
222222                  sprite + inc,
223223                  color,fx,fy,x+(dx-1-ax)*16,y+ay*16 - 512,
224                  priority_bitmap,pri_mask,15);
224                  machine->priority_bitmap,pri_mask,15);
225225            }
226226            else if (!fx && fy)
227227            {
228228               pdrawgfx_transpen(bitmap,cliprect,machine->gfx[4],
229229                  sprite + inc,
230230                  color,fx,fy,x+ax*16,y+(dy-1-ay)*16,
231                  priority_bitmap,pri_mask,15);
231                  machine->priority_bitmap,pri_mask,15);
232232
233233               // wrap around y
234234               pdrawgfx_transpen(bitmap,cliprect,machine->gfx[4],
235235                  sprite + inc,
236236                  color,fx,fy,x+ax*16,y+(dy-1-ay)*16 + 512,
237                  priority_bitmap,pri_mask,15);
237                  machine->priority_bitmap,pri_mask,15);
238238
239239               // wrap around y
240240               pdrawgfx_transpen(bitmap,cliprect,machine->gfx[4],
241241                  sprite + inc,
242242                  color,fx,fy,x+ax*16,y+(dy-1-ay)*16 - 512,
243                  priority_bitmap,pri_mask,15);
243                  machine->priority_bitmap,pri_mask,15);
244244            }
245245            else
246246            {
247247               pdrawgfx_transpen(bitmap,cliprect,machine->gfx[4],
248248                  sprite + inc,
249249                  color,fx,fy,x+(dx-1-ax)*16,y+(dy-1-ay)*16,
250                  priority_bitmap,pri_mask,15);
250                  machine->priority_bitmap,pri_mask,15);
251251
252252               // wrap around y
253253               pdrawgfx_transpen(bitmap,cliprect,machine->gfx[4],
254254                  sprite + inc,
255255                  color,fx,fy,x+(dx-1-ax)*16,y+(dy-1-ay)*16 + 512,
256                  priority_bitmap,pri_mask,15);
256                  machine->priority_bitmap,pri_mask,15);
257257
258258               // wrap around y
259259               pdrawgfx_transpen(bitmap,cliprect,machine->gfx[4],
260260                  sprite + inc,
261261                  color,fx,fy,x+(dx-1-ax)*16,y+(dy-1-ay)*16 - 512,
262                  priority_bitmap,pri_mask,15);
262                  machine->priority_bitmap,pri_mask,15);
263263            }
264264
265265            inc++;
r5338r5339
269269
270270VIDEO_UPDATE( dcon )
271271{
272   bitmap_fill(priority_bitmap,cliprect,0);
272   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
273273
274274   /* Setup the tilemaps */
275275   tilemap_set_scrollx( background_layer,0, dcon_scroll_ram[0] );
r5338r5339
296296{
297297   static int last_gfx_bank=0;
298298
299   bitmap_fill(priority_bitmap,cliprect,0);
299   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
300300
301301   /* Gfx banking */
302302   if (last_gfx_bank!=dcon_gfx_bank_select)
src/mame/video/othldrby.c
r5338r5339
196196      }
197197   }
198198
199   bitmap_fill(priority_bitmap,cliprect,0);
199   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
200200
201201   bitmap_fill(bitmap,cliprect,0);
202202
src/mame/video/hyprduel.c
r5338r5339
536536                        flipx, flipy,
537537                        x, y,
538538                        zoom, zoom,
539                        priority_bitmap,primask[pri], 255);
539                        machine->priority_bitmap,primask[pri], 255);
540540         }
541541         else
542542         {
r5338r5339
552552                        flipx, flipy,
553553                        x, y,
554554                        zoom, zoom,
555                        priority_bitmap,primask[pri], 15);
555                        machine->priority_bitmap,primask[pri], 15);
556556         }
557557#if 0
558558{   /* Display priority + zoom on each sprite */
r5338r5339
670670   hyprduel_sprite_yoffs   =   hyprduel_videoregs[0x04/2] - video_screen_get_height(screen) / 2 - hyprduel_sprite_yoffs_sub;
671671
672672   /* The background color is selected by a register */
673   bitmap_fill(priority_bitmap,cliprect,0);
673   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
674674   bitmap_fill(bitmap,cliprect,((hyprduel_videoregs[0x12/2] & 0x0fff)) + 0x1000);
675675
676676   /*  Screen Control Register:
src/mame/video/segaic24.c
r5338r5339
172172   int y;
173173   const UINT16 *source  = ((UINT16 *)bm->base) + sx + sy*bm->rowpixels;
174174   const UINT8  *trans = ((UINT8 *) tm->base) + sx + sy*tm->rowpixels;
175   UINT8        *prib = (UINT8 *)priority_bitmap->base;
175   UINT8        *prib = (UINT8 *)machine->priority_bitmap->base;
176176   UINT16       *dest = (UINT16 *)dm->base;
177177
178178   tpri |= TILEMAP_PIXEL_LAYER0;
179179
180180   dest += yy1*dm->rowpixels + xx1;
181   prib += yy1*priority_bitmap->rowpixels + xx1;
181   prib += yy1*machine->priority_bitmap->rowpixels + xx1;
182182   mask += yy1*4;
183183   yy2 -= yy1;
184184
r5338r5339
290290      source += bm->rowpixels;
291291      trans  += tm->rowpixels;
292292      dest   += dm->rowpixels;
293      prib   += priority_bitmap->rowpixels;
293      prib   += machine->priority_bitmap->rowpixels;
294294      mask   += 4;
295295   }
296296}
r5338r5339
298298
299299// The rgb version is used by model 1 & 2 which do not need to care
300300// about sprite priority hence the lack of support for the
301// priority_bitmap
301// machine->priority_bitmap
302302
303303static void sys24_tile_draw_rect_rgb(running_machine *machine, bitmap_t *bm, bitmap_t *tm, bitmap_t *dm, const UINT16 *mask,
304304                            UINT16 tpri, UINT8 lpri, int win, int sx, int sy, int xx1, int yy1, int xx2, int yy2)
r5338r5339
679679    0   11------    --------
680680*/
681681
682void sys24_sprite_draw(bitmap_t *bitmap, const rectangle *cliprect, const int *spri)
682void sys24_sprite_draw(running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect, const int *spri)
683683{
684684   UINT16 curspr = 0;
685685   int countspr = 0;
r5338r5339
841841                              int zx1 = flipx ? 7-zx : zx;
842842                              UINT32 neweroffset = (newoffset+(zx1>>2))&0x1ffff; // crackdown sometimes attempts to use data past the end of spriteram
843843                              int c = (sys24_sprite_ram[neweroffset] >> (((~zx1) & 3) << 2)) & 0xf;
844                              UINT8 *pri = BITMAP_ADDR8(priority_bitmap, ypos1, xpos2);
844                              UINT8 *pri = BITMAP_ADDR8(machine->priority_bitmap, ypos1, xpos2);
845845                              if(!(*pri & pm[c])) {
846846                                 c = colors[c];
847847                                 if(c) {
src/mame/video/segaic24.h
r5338r5339
2727// Sprites
2828//  System24
2929void sys24_sprite_vh_start(running_machine *machine);
30void sys24_sprite_draw(bitmap_t *bitmap, const rectangle *cliprect, const int *spri);
30void sys24_sprite_draw(running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect, const int *spri);
3131
3232WRITE16_HANDLER (sys24_sprite_w);
3333READ16_HANDLER (sys24_sprite_r);
src/mame/video/toaplan1.c
r5338r5339
935935{
936936   int pal_base = gfx->color_base + gfx->color_granularity * (color % gfx->total_colors);
937937   const UINT8 *source_base = gfx_element_get_data(gfx, code % gfx->total_elements);
938
938   bitmap_t *priority_bitmap = gfx->machine->priority_bitmap;
939939   int sprite_screen_height = ((1<<16)*gfx->height+0x8000)>>16;
940940   int sprite_screen_width = ((1<<16)*gfx->width+0x8000)>>16;
941941
r5338r5339
11621162   toaplan1_log_vram();
11631163#endif
11641164
1165   bitmap_fill(priority_bitmap,cliprect,0);
1165   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
11661166   bitmap_fill(bitmap,cliprect,0x120);
11671167
11681168   tilemap_draw(bitmap,cliprect,pf4_tilemap,TILEMAP_DRAW_OPAQUE,0);
r5338r5339
11891189   toaplan1_log_vram();
11901190#endif
11911191
1192   bitmap_fill(priority_bitmap,cliprect,0);
1192   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
11931193   bitmap_fill(bitmap,cliprect,0x120);
11941194
11951195   tilemap_draw(bitmap,cliprect,pf1_tilemap,TILEMAP_DRAW_OPAQUE | 0,0);
src/mame/video/tmnt.c
r5338r5339
629629
630630   sortlayers(sorted_layer,layerpri);
631631
632   bitmap_fill(priority_bitmap,cliprect,0);
632   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
633633   tilemap_draw(bitmap,cliprect,K052109_tilemap[sorted_layer[0]],TILEMAP_DRAW_OPAQUE,1);
634634   tilemap_draw(bitmap,cliprect,K052109_tilemap[sorted_layer[1]],0,2);
635635   tilemap_draw(bitmap,cliprect,K052109_tilemap[sorted_layer[2]],0,4);
r5338r5339
658658
659659   sortlayers(sorted_layer,layerpri);
660660
661   bitmap_fill(priority_bitmap,cliprect,0);
661   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
662662   bitmap_fill(bitmap,cliprect,16 * bg_colorbase);
663663   tilemap_draw(bitmap,cliprect,K052109_tilemap[sorted_layer[0]],0,1);
664664   tilemap_draw(bitmap,cliprect,K052109_tilemap[sorted_layer[1]],0,2);
r5338r5339
703703
704704   /* not sure about the 053936 priority, but it seems to work */
705705
706   bitmap_fill(priority_bitmap,cliprect,0);
706   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
707707   bitmap_fill(bitmap,cliprect,16 * bg_colorbase);
708708   tilemap_draw(bitmap,cliprect,K052109_tilemap[sorted_layer[0]],0,1);
709709   if (layerpri[0] >= 0x30 && layerpri[1] < 0x30)
r5338r5339
798798
799799   sortlayers(sorted_layer,layerpri);
800800
801   bitmap_fill(priority_bitmap,cliprect,0);
801   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
802802   bitmap_fill(bitmap,cliprect,16 * bg_colorbase);
803803   tilemap_draw(bitmap,cliprect,K052109_tilemap[sorted_layer[0]],0,1);
804804   tilemap_draw(bitmap,cliprect,K052109_tilemap[sorted_layer[1]],0,2);
src/mame/video/segaic16.c
r5338r5339
15581558         if (y >= cliprect->min_y && y <= cliprect->max_y)
15591559         {
15601560            UINT16 *dest = BITMAP_ADDR16(bitmap, y, 0);
1561            UINT8 *pri = BITMAP_ADDR8(priority_bitmap, y, 0);
1561            UINT8 *pri = BITMAP_ADDR8(machine->priority_bitmap, y, 0);
15621562            int xacc = 0x00;
15631563
15641564            /* note that the System 16A sprites have a design flaw that allows the address */
r5338r5339
17231723         if (y >= cliprect->min_y && y <= cliprect->max_y)
17241724         {
17251725            UINT16 *dest = BITMAP_ADDR16(bitmap, y, 0);
1726            UINT8 *pri = BITMAP_ADDR8(priority_bitmap, y, 0);
1726            UINT8 *pri = BITMAP_ADDR8(machine->priority_bitmap, y, 0);
17271727            int xacc = 0x00;
17281728
17291729            /* note that the System 16A sprites have a design flaw that allows the address */
r5338r5339
18911891         if (y >= cliprect->min_y && y <= cliprect->max_y)
18921892         {
18931893            UINT16 *dest = BITMAP_ADDR16(bitmap, y, 0);
1894            UINT8 *pri = BITMAP_ADDR8(priority_bitmap, y, 0);
1894            UINT8 *pri = BITMAP_ADDR8(machine->priority_bitmap, y, 0);
18951895
18961896            /* note that the System 16A sprites have a design flaw that allows the address */
18971897            /* to carry into the flip flag, which is the topmost bit -- it is very important */
r5338r5339
20792079         if (y >= cliprect->min_y && y <= cliprect->max_y)
20802080         {
20812081            UINT16 *dest = BITMAP_ADDR16(bitmap, y, 0);
2082            UINT8 *pri = BITMAP_ADDR8(priority_bitmap, y, 0);
2082            UINT8 *pri = BITMAP_ADDR8(machine->priority_bitmap, y, 0);
20832083            int xacc;
20842084
20852085            /* compute the initial X zoom accumulator; this is verified on the real PCB */
r5338r5339
22312231         if (y >= cliprect->min_y && y <= cliprect->max_y)
22322232         {
22332233            UINT16 *dest = BITMAP_ADDR16(bitmap, y, 0);
2234            UINT8 *pri = BITMAP_ADDR8(priority_bitmap, y, 0);
2234            UINT8 *pri = BITMAP_ADDR8(machine->priority_bitmap, y, 0);
22352235            int xacc;
22362236
22372237            /* compute the initial X zoom accumulator; this is verified on the real PCB */
r5338r5339
23992399         if (y >= cliprect->min_y && y <= cliprect->max_y)
24002400         {
24012401            UINT16 *dest = BITMAP_ADDR16(bitmap, y, 0);
2402            UINT8 *pri = BITMAP_ADDR8(priority_bitmap, y, 0);
2402            UINT8 *pri = BITMAP_ADDR8(machine->priority_bitmap, y, 0);
24032403            int xacc = 0;
24042404
24052405            /* non-flipped case */
r5338r5339
27342734         if (y >= cliprect->min_y && y <= cliprect->max_y)                     \
27352735         {                                                         \
27362736            UINT16 *dest = BITMAP_ADDR16(bitmap, y, 0);                        \
2737            UINT8 *pri = BITMAP_ADDR8(priority_bitmap, y, 0);                  \
2737            UINT8 *pri = BITMAP_ADDR8(machine->priority_bitmap, y, 0);                  \
27382738                                                                  \
27392739            /* note that the System 16A sprites have a design flaw that allows the address */      \
27402740            /* to carry into the flip flag, which is the topmost bit -- it is very important */      \
r5338r5339
37413741 *
37423742 *************************************/
37433743
3744void segaic16_rotate_draw(int which, bitmap_t *bitmap, const rectangle *cliprect, bitmap_t *srcbitmap)
3744void segaic16_rotate_draw(running_machine *machine, int which, bitmap_t *bitmap, const rectangle *cliprect, bitmap_t *srcbitmap)
37453745{
37463746   struct rotate_info *info = &rotate[which];
37473747   INT32 currx = (info->buffer[0x3f0] << 16) | info->buffer[0x3f1];
r5338r5339
37613761   {
37623762      UINT16 *dest = BITMAP_ADDR16(bitmap, y, 0);
37633763      UINT16 *src = (UINT16 *)srcbitmap->base;
3764      UINT8 *pri = BITMAP_ADDR8(priority_bitmap, y, 0);
3764      UINT8 *pri = BITMAP_ADDR8(machine->priority_bitmap, y, 0);
37653765      INT32 tx = currx;
37663766      INT32 ty = curry;
37673767
src/mame/video/segaic16.h
r5338r5339
8888#define SEGAIC16_ROTATE_YBOARD      0
8989
9090void segaic16_rotate_init(running_machine *machine, int which, int type, int colorbase);
91void segaic16_rotate_draw(int which, bitmap_t *bitmap, const rectangle *cliprect, bitmap_t *srcbitmap);
91void segaic16_rotate_draw(running_machine *machine, int which, bitmap_t *bitmap, const rectangle *cliprect, bitmap_t *srcbitmap);
9292READ16_HANDLER( segaic16_rotate_control_0_r );
src/mame/video/spy.c
r5338r5339
6868{
6969   K052109_tilemap_update();
7070
71   bitmap_fill(priority_bitmap, cliprect, 0);
71   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
7272
7373   if (!spy_video_enable)
7474      bitmap_fill(bitmap,cliprect,16 * layer_colorbase[0]);
src/mame/video/psikyo.c
r5338r5339
385385                     attr >> 8,
386386                     flipx, flipy,
387387                     x + dx * 16, y + dy * 16,
388                     priority_bitmap,
388                     machine->priority_bitmap,
389389                     pri[(attr & 0xc0) >> 6],trans_pen);
390390            else
391391               pdrawgfxzoom_transpen(bitmap,cliprect,machine->gfx[0],
r5338r5339
394394                        flipx, flipy,
395395                        x + (dx * zoomx) / 2, y + (dy * zoomy) / 2,
396396                        zoomx << 11,zoomy << 11,
397                        priority_bitmap,pri[(attr & 0xc0) >> 6],trans_pen);
397                        machine->priority_bitmap,pri[(attr & 0xc0) >> 6],trans_pen);
398398
399399            code++;
400400         }
r5338r5339
577577
578578   bitmap_fill(bitmap,cliprect,get_black_pen(screen->machine));
579579
580   bitmap_fill(priority_bitmap,cliprect,0);
580   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
581581
582582   if (layers_ctrl & 1)
583583      tilemap_draw(bitmap,cliprect,tmptilemap0, layer0_ctrl & 2 ? TILEMAP_DRAW_OPAQUE : 0, 1);
src/mame/video/playmark.c
r5338r5339
366366             color,
367367             flipx,0,
368368             sx + xoffset,sy + yoffset,
369             priority_bitmap,pri_masks[pri],0);
369             machine->priority_bitmap,pri_masks[pri],0);
370370   }
371371}
372372
373static void draw_bitmap(bitmap_t *bitmap, const rectangle *cliprect)
373static void draw_bitmap(running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect)
374374{
375375   int x,y,count;
376376   int color;
r5338r5339
389389            {
390390               *BITMAP_ADDR16(bitmap, (y + bgscrolly) & 0x1ff, (x + bgscrollx) & 0x1ff) = 0x100 + color;
391391
392               pri = BITMAP_ADDR8(priority_bitmap, (y + bgscrolly) & 0x1ff, 0);
392               pri = BITMAP_ADDR8(machine->priority_bitmap, (y + bgscrolly) & 0x1ff, 0);
393393               pri[(x + bgscrollx) & 0x1ff] |= 2;
394394            }
395395            else
r5338r5339
399399               {
400400                  *BITMAP_ADDR16(bitmap, (y / 2 + bgscrolly) & 0x1ff, (x / 2 + bgscrollx) & 0x1ff) = 0x100 + color;
401401
402                  pri = BITMAP_ADDR8(priority_bitmap, (y / 2 + bgscrolly) & 0x1ff, 0);
402                  pri = BITMAP_ADDR8(machine->priority_bitmap, (y / 2 + bgscrolly) & 0x1ff, 0);
403403                  pri[(x / 2 + bgscrollx) & 0x1ff] |= 2;
404404               }
405405            }
r5338r5339
412412
413413VIDEO_UPDATE( bigtwin )
414414{
415   bitmap_fill(priority_bitmap,cliprect,0);
415   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
416416
417417   tilemap_draw(bitmap,cliprect,fg_tilemap,0,0);
418418   if (bg_enable)
419      draw_bitmap(bitmap, cliprect);
419      draw_bitmap(screen->machine, bitmap, cliprect);
420420   draw_sprites(screen->machine, bitmap,cliprect,4);
421421   tilemap_draw(bitmap,cliprect,tx_tilemap,0,0);
422422   return 0;
r5338r5339
424424
425425VIDEO_UPDATE( excelsr )
426426{
427   bitmap_fill(priority_bitmap,cliprect,0);
427   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
428428
429429   tilemap_draw(bitmap,cliprect,fg_tilemap,0,1);
430430   if (bg_enable)
431      draw_bitmap(bitmap, cliprect);
431      draw_bitmap(screen->machine, bitmap, cliprect);
432432   tilemap_draw(bitmap,cliprect,tx_tilemap,0,4);
433433   draw_sprites(screen->machine,bitmap,cliprect,2);
434434   return 0;
r5338r5339
450450      tilemap_set_scrollx(fg_tilemap,0,fgscrollx);
451451   }
452452
453   bitmap_fill(priority_bitmap,cliprect,0);
453   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
454454
455455   tilemap_draw(bitmap,cliprect,bg_tilemap,0,1);
456456   tilemap_draw(bitmap,cliprect,fg_tilemap,0,2);
r5338r5339
461461
462462VIDEO_UPDATE( hrdtimes )
463463{
464   bitmap_fill(priority_bitmap,cliprect,0);
464   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
465465
466466   // video enabled
467467   if(playmark_scroll[6] & 1)
src/mame/video/esd16.c
r5338r5339
252252                  color,
253253                  flipx, flipy,
254254                  sx, y,
255                  priority_bitmap, pri_mask, 0   );
255                  machine->priority_bitmap, pri_mask, 0   );
256256      }
257257   }
258258}
r5338r5339
315315                  color,
316316                  flipx, flipy,
317317                  sx, y,
318                  priority_bitmap, pri_mask, 0   );
318                  machine->priority_bitmap, pri_mask, 0   );
319319      }
320320   }
321321}
r5338r5339
334334{
335335   int layers_ctrl = -1;
336336
337   bitmap_fill(priority_bitmap,cliprect,0);
337   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
338338
339339   tilemap_set_scrollx(esdtilemap_0, 0, esd16_scroll_0[0]);
340340   tilemap_set_scrolly(esdtilemap_0, 0, esd16_scroll_0[1]);
r5338r5339
365365{
366366   int layers_ctrl = -1;
367367
368   bitmap_fill(priority_bitmap,cliprect,0);
368   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
369369
370370
371371#ifdef MAME_DEBUG
r5338r5339
427427{
428428   int layers_ctrl = -1;
429429
430   bitmap_fill(priority_bitmap,cliprect,0);
430   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
431431
432432
433433#ifdef MAME_DEBUG
src/mame/video/xexex.c
r5338r5339
112112   K054338_update_all_shadows(screen->machine);
113113   K054338_fill_backcolor(screen->machine, bitmap, 0);
114114
115   bitmap_fill(priority_bitmap, cliprect, 0);
115   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
116116
117117   for (plane=0; plane<4; plane++)
118118   {
src/mame/video/mcatadv.c
r5338r5339
124124
125125            if ((drawypos >= cliprect->min_y) && (drawypos <= cliprect->max_y)) {
126126               destline = BITMAP_ADDR16(bitmap, drawypos, 0);
127               priline = BITMAP_ADDR8(priority_bitmap, drawypos, 0);
127               priline = BITMAP_ADDR8(machine->priority_bitmap, drawypos, 0);
128128
129129               for (xcnt = xstart; xcnt != xend; xcnt += xinc) {
130130                  drawxpos = x+xcnt-global_x;
r5338r5339
202202   int i;
203203
204204   bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
205   bitmap_fill(priority_bitmap, cliprect, 0);
205   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
206206
207207   if(mcatadv_scroll[2] != palette_bank1) {
208208      palette_bank1 = mcatadv_scroll[2];
src/mame/video/toaplan2.c
r5338r5339
553553   if (machine->gfx[2]->srcdata == NULL)
554554      gfx_element_set_source(machine->gfx[2], (UINT8 *)toaplan2_tx_gfxram16);
555555
556   if(!strcmp(machine->gamedrv->name,"fixeighb"))
556   if(!strcmp(machine->gamedrv->name,"fixeightb"))
557557   {
558558      xoffset[0]=-26;
559559      xoffset[1]=-22;
src/mame/video/gaelco.c
r5338r5339
175175            pdrawgfx_transpen(bitmap,cliprect,gfx,number + x_offset[ex] + y_offset[ey],
176176                  color,xflip,yflip,
177177                  sx-0x0f+x*8,sy+y*8,
178                  priority_bitmap,pri_mask,0);
178                  machine->priority_bitmap,pri_mask,0);
179179         }
180180      }
181181   }
r5338r5339
195195   tilemap_set_scrolly(pant[1], 0, gaelco_vregs[2]);
196196   tilemap_set_scrollx(pant[1], 0, gaelco_vregs[3]);
197197
198   bitmap_fill(priority_bitmap,cliprect,0);
198   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
199199   bitmap_fill( bitmap, cliprect , 0);
200200
201201   tilemap_draw(bitmap,cliprect,pant[1],3,0);
r5338r5339
222222   tilemap_set_scrolly(pant[1], 0, gaelco_vregs[2]);
223223   tilemap_set_scrollx(pant[1], 0, gaelco_vregs[3]);
224224
225   bitmap_fill(priority_bitmap,cliprect,0);
225   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
226226   bitmap_fill( bitmap, cliprect , 0);
227227
228228   tilemap_draw(bitmap,cliprect,pant[1],TILEMAP_DRAW_LAYER1 | 3,0);
src/mame/video/galastrm.c
r5338r5339
227227            sprite_ptr->flipx,sprite_ptr->flipy,
228228            sprite_ptr->x,sprite_ptr->y,
229229            sprite_ptr->zoomx,sprite_ptr->zoomy,
230            priority_bitmap,primasks[sprite_ptr->primask],0);
230            machine->priority_bitmap,primasks[sprite_ptr->primask],0);
231231      }
232232   }
233233}
r5338r5339
462462   UINT16 priority;
463463   static const int primasks[4] = {0xfffc, 0xfff0, 0xff00, 0x0};
464464   rectangle clip;
465   bitmap_t *priority_bitmap = screen->machine->priority_bitmap;
465466
466
467467   clip.min_x = 0;
468468   clip.min_y = 0;
469469   clip.max_x = video_screen_get_width(screen) -1;
r5338r5339
493493#if 0
494494   if (layer[0]==0 && layer[1]==3 && layer[2]==2 && layer[3]==1)
495495   {
496      if (!input_code_pressed(KEYCODE_Z)) TC0480SCP_tilemap_draw(tmpbitmaps,&clip,layer[0],0,1);
497      if (!input_code_pressed(KEYCODE_X)) TC0480SCP_tilemap_draw(tmpbitmaps,&clip,layer[1],0,4);
498      if (!input_code_pressed(KEYCODE_C)) TC0480SCP_tilemap_draw(tmpbitmaps,&clip,layer[2],0,4);
499      if (!input_code_pressed(KEYCODE_V)) TC0480SCP_tilemap_draw(tmpbitmaps,&clip,layer[3],0,4);
496      if (!input_code_pressed(KEYCODE_Z)) TC0480SCP_tilemap_draw(screen->machine,tmpbitmaps,&clip,layer[0],0,1);
497      if (!input_code_pressed(KEYCODE_X)) TC0480SCP_tilemap_draw(screen->machine,tmpbitmaps,&clip,layer[1],0,4);
498      if (!input_code_pressed(KEYCODE_C)) TC0480SCP_tilemap_draw(screen->machine,tmpbitmaps,&clip,layer[2],0,4);
499      if (!input_code_pressed(KEYCODE_V)) TC0480SCP_tilemap_draw(screen->machine,tmpbitmaps,&clip,layer[3],0,4);
500500   }
501501   else
502502   {
503      if (!input_code_pressed(KEYCODE_Z)) TC0480SCP_tilemap_draw(tmpbitmaps,&clip,layer[0],0,1);
504      if (!input_code_pressed(KEYCODE_X)) TC0480SCP_tilemap_draw(tmpbitmaps,&clip,layer[1],0,2);
505      if (!input_code_pressed(KEYCODE_C)) TC0480SCP_tilemap_draw(tmpbitmaps,&clip,layer[2],0,4);
506      if (!input_code_pressed(KEYCODE_V)) TC0480SCP_tilemap_draw(tmpbitmaps,&clip,layer[3],0,8);
503      if (!input_code_pressed(KEYCODE_Z)) TC0480SCP_tilemap_draw(screen->machine,tmpbitmaps,&clip,layer[0],0,1);
504      if (!input_code_pressed(KEYCODE_X)) TC0480SCP_tilemap_draw(screen->machine,tmpbitmaps,&clip,layer[1],0,2);
505      if (!input_code_pressed(KEYCODE_C)) TC0480SCP_tilemap_draw(screen->machine,tmpbitmaps,&clip,layer[2],0,4);
506      if (!input_code_pressed(KEYCODE_V)) TC0480SCP_tilemap_draw(screen->machine,tmpbitmaps,&clip,layer[3],0,8);
507507   }
508508
509509   if (layer[0]==3 && layer[1]==0 && layer[2]==1 && layer[3]==2)
r5338r5339
532532   bitmap_fill(priority_bitmap, cliprect, 0);
533533   draw_sprites(screen->machine,bitmap,cliprect,primasks,0);
534534
535   if (!input_code_pressed(KEYCODE_B)) TC0480SCP_tilemap_draw(bitmap,cliprect,layer[4],0,0);
535   if (!input_code_pressed(KEYCODE_B)) TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[4],0,0);
536536   if (!input_code_pressed(KEYCODE_M)) TC0100SCN_tilemap_draw(screen->machine,bitmap,cliprect,0,pivlayer[2],0,0);
537537
538538
539539#else
540540   if (layer[0]==0 && layer[1]==3 && layer[2]==2 && layer[3]==1)
541541   {
542      TC0480SCP_tilemap_draw(tmpbitmaps,&clip,layer[0],0,1);
543      TC0480SCP_tilemap_draw(tmpbitmaps,&clip,layer[1],0,4);
544      TC0480SCP_tilemap_draw(tmpbitmaps,&clip,layer[2],0,4);
545      TC0480SCP_tilemap_draw(tmpbitmaps,&clip,layer[3],0,4);
542      TC0480SCP_tilemap_draw(screen->machine,tmpbitmaps,&clip,layer[0],0,1);
543      TC0480SCP_tilemap_draw(screen->machine,tmpbitmaps,&clip,layer[1],0,4);
544      TC0480SCP_tilemap_draw(screen->machine,tmpbitmaps,&clip,layer[2],0,4);
545      TC0480SCP_tilemap_draw(screen->machine,tmpbitmaps,&clip,layer[3],0,4);
546546   }
547547   else
548548   {
549      TC0480SCP_tilemap_draw(tmpbitmaps,&clip,layer[0],0,1);
550      TC0480SCP_tilemap_draw(tmpbitmaps,&clip,layer[1],0,2);
551      TC0480SCP_tilemap_draw(tmpbitmaps,&clip,layer[2],0,4);
552      TC0480SCP_tilemap_draw(tmpbitmaps,&clip,layer[3],0,8);
549      TC0480SCP_tilemap_draw(screen->machine,tmpbitmaps,&clip,layer[0],0,1);
550      TC0480SCP_tilemap_draw(screen->machine,tmpbitmaps,&clip,layer[1],0,2);
551      TC0480SCP_tilemap_draw(screen->machine,tmpbitmaps,&clip,layer[2],0,4);
552      TC0480SCP_tilemap_draw(screen->machine,tmpbitmaps,&clip,layer[3],0,8);
553553   }
554554
555555   if (layer[0]==3 && layer[1]==0 && layer[2]==1 && layer[3]==2)
r5338r5339
578578   bitmap_fill(priority_bitmap, cliprect, 0);
579579   draw_sprites(screen->machine,bitmap,cliprect,primasks,0);
580580
581   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[4],0,0);
581   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[4],0,0);
582582   TC0100SCN_tilemap_draw(screen->machine,bitmap,cliprect,0,pivlayer[2],0,0);
583583#endif
584584
src/mame/video/tetrisp2.c
r5338r5339
479479                  color,
480480                  flipx, flipy,
481481                  sx + x * 8, sy + y * 8,
482                  priority_bitmap, primask, 0);
482                  machine->priority_bitmap, primask, 0);
483483         }
484484         code   +=   (0x100/8) - xnum;
485485      }
r5338r5339
507507
508508   /* Black background color */
509509   bitmap_fill(bitmap, cliprect, 0);
510   bitmap_fill(priority_bitmap, NULL, 0);
510   bitmap_fill(screen->machine->priority_bitmap, NULL, 0);
511511
512512   /* Flip Screen */
513513   if (flipscreen != flipscreen_old)
r5338r5339
591591
592592   /* Black background color */
593593   bitmap_fill(bitmap, cliprect, 0);
594   bitmap_fill(priority_bitmap, NULL, 0);
594   bitmap_fill(screen->machine->priority_bitmap, NULL, 0);
595595
596596   /* Flip Screen */
597597   if (flipscreen != flipscreen_old)
r5338r5339
686686      tilemap_set_scrolly(tilemap_sub_rot, 0, rocknms_sub_rotregs[ 2 ] + 0x400);
687687
688688      bitmap_fill(bitmap, cliprect, screen->machine->pens[0x0000]);
689      bitmap_fill(priority_bitmap, cliprect, 0);
689      bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
690690
691691      asc_pri = scr_pri = rot_pri = 0;
692692
r5338r5339
739739
740740      /* Black background color */
741741      bitmap_fill(bitmap, cliprect, screen->machine->pens[0x0000]);
742      bitmap_fill(priority_bitmap, cliprect, 0);
742      bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
743743
744744      asc_pri = scr_pri = rot_pri = 0;
745745
src/mame/video/namcos22.c
r5338r5339
253253   rgbint fogColor;
254254   rgbint fadeColor;
255255   const pen_t *pens;
256   bitmap_t *priority_bitmap;
256257   int bn;
257258   UINT16 flags;
258259   int cmode;
r5338r5339
287288   rgbint fadeColor = extra->fadeColor;
288289   int penmask, penshift;
289290   int prioverchar;
290   const UINT8 *pCharPri = BITMAP_ADDR8(priority_bitmap, scanline, 0);
291   const UINT8 *pCharPri = BITMAP_ADDR8(extra->priority_bitmap, scanline, 0);
291292   UINT32 *pDest = BITMAP_ADDR32(bitmap, scanline, 0);
292293   int x;
293294
r5338r5339
437438   extra = (poly_extra_data *)poly_get_extra_data(poly);
438439
439440   extra->pens = &machine->pens[(color&0x7f)<<8];
441   extra->priority_bitmap = machine->priority_bitmap;
440442   extra->bn = textureBank;
441443   extra->flags = flags;
442444   extra->cmode = cmode;
r5338r5339
496498   int alpha = extra->alpha;
497499   UINT8 *source = (UINT8 *)extra->source + (y_index>>16) * extra->line_modulo;
498500   UINT32 *dest = BITMAP_ADDR32(destmap, scanline, 0);
499   const UINT8 *pCharPri = BITMAP_ADDR8(priority_bitmap, scanline, 0);
501   const UINT8 *pCharPri = BITMAP_ADDR8(extra->priority_bitmap, scanline, 0);
500502   int x;
501503
502504   int bFogEnable = 0;
r5338r5339
596598      extra->prioverchar = prioverchar;
597599      extra->line_modulo = gfx->line_modulo;
598600      extra->pens = &gfx->machine->pens[gfx->color_base + gfx->color_granularity * (color % gfx->total_colors)];
601      extra->priority_bitmap = gfx->machine->priority_bitmap;
599602      extra->source = gfx_element_get_data(gfx, code % gfx->total_elements);
600603#ifdef RENDER_AS_QUADS
601604      poly_render_quad_fan(poly, dest_bmp, clip, renderscanline_sprite, 2, 4, &vert[0]);
r5338r5339
15571560    * namcos22_tilemapattr[0x8/4] == 0x01ff0000
15581561    * namcos22_tilemapattr[0xe/4] == ?
15591562    */
1560   bitmap_fill(priority_bitmap,cliprect,0);
1563   bitmap_fill(machine->priority_bitmap,cliprect,0);
15611564   tilemap_set_scrollx( bgtilemap,0, (dx-0x35c)&0x3ff );
15621565   tilemap_set_scrolly( bgtilemap,0, dy&0x3ff );
15631566   tilemap_set_palette_offset( bgtilemap, mixer.palBase*256 );
src/mame/video/wgp.c
r5338r5339
441441                     flipx, flipy,
442442                     curx,cury,
443443                     zx << 12, zy << 12,
444                     priority_bitmap,primasks[((priority >> 1) &1)],0);   /* maybe >> 2 or 0...? */
444                     machine->priority_bitmap,primasks[((priority >> 1) &1)],0);   /* maybe >> 2 or 0...? */
445445            }
446446         }
447447         else
r5338r5339
472472                     flipx, flipy,
473473                     curx,cury,
474474                     zx << 12, zy << 12,
475                     priority_bitmap,primasks[((priority >> 1) &1)],0);   /* maybe >> 2 or 0...? */
475                     machine->priority_bitmap,primasks[((priority >> 1) &1)],0);   /* maybe >> 2 or 0...? */
476476            }
477477         }
478478      }
r5338r5339
495495
496496INLINE void bryan2_drawscanline(
497497      bitmap_t *bitmap,int x,int y,int length,
498      const UINT16 *src,int transparent,UINT32 orient,int pri)
498      const UINT16 *src,int transparent,UINT32 orient,bitmap_t *priority,int pri)
499499{
500500   UINT16 *dsti = BITMAP_ADDR16(bitmap, y, x);
501   UINT8 *dstp = BITMAP_ADDR8(priority_bitmap, y, x);
501   UINT8 *dstp = BITMAP_ADDR8(priority, y, x);
502502
503503   if (transparent) {
504504      while (length--) {
r5338r5339
520520
521521
522522
523static void wgp_piv_layer_draw(bitmap_t *bitmap,const rectangle *cliprect,int layer,int flags,UINT32 priority)
523static void wgp_piv_layer_draw(running_machine *machine,bitmap_t *bitmap,const rectangle *cliprect,int layer,int flags,UINT32 priority)
524524{
525525   bitmap_t *srcbitmap = tilemap_get_pixmap(wgp_piv_tilemap[layer]);
526526   bitmap_t *flagsbitmap = tilemap_get_flagsmap(wgp_piv_tilemap[layer]);
r5338r5339
628628         }
629629      }
630630
631      if (flags & TILEMAP_DRAW_OPAQUE)
632         bryan2_drawscanline(bitmap,0,y,screen_width,scanline,0,ROT0,priority);
633      else
634         bryan2_drawscanline(bitmap,0,y,screen_width,scanline,1,ROT0,priority);
631      bryan2_drawscanline(bitmap,0,y,screen_width,scanline,(flags & TILEMAP_DRAW_OPAQUE)?0:1,ROT0,machine->priority_bitmap,priority);
635632
636633      y_index += zoomy;
637634      if (!machine_flip) y++; else y--;
r5338r5339
706703#ifdef MAME_DEBUG
707704   if (dislayer[layer[0]]==0)
708705#endif
709   wgp_piv_layer_draw(bitmap,cliprect,layer[0],TILEMAP_DRAW_OPAQUE,1);
706   wgp_piv_layer_draw(screen->machine,bitmap,cliprect,layer[0],TILEMAP_DRAW_OPAQUE,1);
710707
711708#ifdef MAME_DEBUG
712709   if (dislayer[layer[1]]==0)
713710#endif
714   wgp_piv_layer_draw(bitmap,cliprect,layer[1],0,2);
711   wgp_piv_layer_draw(screen->machine,bitmap,cliprect,layer[1],0,2);
715712
716713#ifdef MAME_DEBUG
717714   if (dislayer[layer[2]]==0)
718715#endif
719   wgp_piv_layer_draw(bitmap,cliprect,layer[2],0,4);
716   wgp_piv_layer_draw(screen->machine,bitmap,cliprect,layer[2],0,4);
720717
721718   draw_sprites(screen->machine, bitmap,cliprect,16);
722719
src/mame/video/atarig42.c
r5338r5339
227227
228228VIDEO_UPDATE( atarig42 )
229229{
230   bitmap_t *priority_bitmap = screen->machine->priority_bitmap;
231
230232   /* draw the playfield */
231233   bitmap_fill(priority_bitmap, cliprect, 0);
232234   tilemap_draw(bitmap, cliprect, atarigen_playfield_tilemap, 0, 0);
src/mame/video/metro.c
r5338r5339
703703                        flipx, flipy,
704704                        x, y,
705705                        zoom, zoom,
706                        priority_bitmap,primask[pri], 255);
706                        machine->priority_bitmap,primask[pri], 255);
707707         }
708708         else
709709         {
r5338r5339
719719                        flipx, flipy,
720720                        x, y,
721721                        zoom, zoom,
722                        priority_bitmap,primask[pri], 15);
722                        machine->priority_bitmap,primask[pri], 15);
723723         }
724724#if 0
725725{   /* Display priority + zoom on each sprite */
r5338r5339
888888   metro_sprite_yoffs   =   metro_videoregs[0x04/2] - video_screen_get_height(screen) / 2;
889889
890890   /* The background color is selected by a register */
891   bitmap_fill(priority_bitmap,cliprect,0);
891   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
892892   bitmap_fill(bitmap,cliprect,((metro_videoregs[0x12/2] & 0x0fff)) + 0x1000);
893893
894894   /*  Screen Control Register:
src/mame/video/surpratk.c
r5338r5339
8888
8989   sortlayers(layer,layerpri);
9090
91   bitmap_fill(priority_bitmap,cliprect,0);
91   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
9292   bitmap_fill(bitmap,cliprect,16 * bg_colorbase);
9393   tilemap_draw(bitmap,cliprect,K052109_tilemap[layer[0]],0,1);
9494   tilemap_draw(bitmap,cliprect,K052109_tilemap[layer[1]],0,2);
src/mame/video/shadfrce.c
r5338r5339
139139      height++;
140140      if (enable)   {
141141         for (hcount=0;hcount<height;hcount++) {
142            pdrawgfx_transpen(bitmap,cliprect,gfx,tile+hcount,pal,flipx,flipy,xpos,ypos-hcount*16-16,priority_bitmap,pri_mask,0);
143            pdrawgfx_transpen(bitmap,cliprect,gfx,tile+hcount,pal,flipx,flipy,xpos-0x200,ypos-hcount*16-16,priority_bitmap,pri_mask,0);
144            pdrawgfx_transpen(bitmap,cliprect,gfx,tile+hcount,pal,flipx,flipy,xpos,ypos-hcount*16-16+0x200,priority_bitmap,pri_mask,0);
145            pdrawgfx_transpen(bitmap,cliprect,gfx,tile+hcount,pal,flipx,flipy,xpos-0x200,ypos-hcount*16-16+0x200,priority_bitmap,pri_mask,0);
142            pdrawgfx_transpen(bitmap,cliprect,gfx,tile+hcount,pal,flipx,flipy,xpos,ypos-hcount*16-16,machine->priority_bitmap,pri_mask,0);
143            pdrawgfx_transpen(bitmap,cliprect,gfx,tile+hcount,pal,flipx,flipy,xpos-0x200,ypos-hcount*16-16,machine->priority_bitmap,pri_mask,0);
144            pdrawgfx_transpen(bitmap,cliprect,gfx,tile+hcount,pal,flipx,flipy,xpos,ypos-hcount*16-16+0x200,machine->priority_bitmap,pri_mask,0);
145            pdrawgfx_transpen(bitmap,cliprect,gfx,tile+hcount,pal,flipx,flipy,xpos-0x200,ypos-hcount*16-16+0x200,machine->priority_bitmap,pri_mask,0);
146146         }
147147      }
148148      source-=8;
r5338r5339
151151
152152VIDEO_UPDATE( shadfrce )
153153{
154   bitmap_fill(priority_bitmap,cliprect,0);
154   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
155155
156156   if(shadfrce_video_enable)
157157   {
src/mame/video/inufuku.c
r5338r5339
149149                     flipx, flipy,
150150                     sx - 16, sy - 16,
151151                     zoomx << 11, zoomy << 11,
152                     priority_bitmap,priority_mask, 15);
152                     machine->priority_bitmap,priority_mask, 15);
153153
154154               map_start += 2;
155155            }
r5338r5339
233233   int i;
234234
235235   bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
236   bitmap_fill(priority_bitmap, NULL, 0);
236   bitmap_fill(screen->machine->priority_bitmap, NULL, 0);
237237
238238   if (inufuku_bg_raster) {
239239      tilemap_set_scroll_rows(inufuku_bg_tilemap, 512);
src/mame/video/atarisy2.c
r5338r5339
329329
330330VIDEO_UPDATE( atarisy2 )
331331{
332   bitmap_t *priority_bitmap = screen->machine->priority_bitmap;
332333   atarimo_rect_list rectlist;
333334   bitmap_t *mobitmap;
334335   int x, y, r;
src/mame/video/rohga.c
r5338r5339
135135               colour,
136136               fx,fy,
137137               x,y + mult * multi,
138               priority_bitmap,pri,0);
138               machine->priority_bitmap,pri,0);
139139
140140         multi--;
141141      }
r5338r5339
440440   deco16_pf34_update(deco16_pf3_rowscroll,deco16_pf4_rowscroll);
441441
442442   /* Draw playfields */
443   bitmap_fill(priority_bitmap,cliprect,0);
443   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
444444   bitmap_fill(bitmap,cliprect,screen->machine->pens[768]);
445445
446446   switch (deco16_priority&3)
r5338r5339
527527
528528   /* Draw playfields - Palette of 2nd playfield chip visible if playfields turned off */
529529   bitmap_fill(bitmap,cliprect,screen->machine->pens[512]);
530   bitmap_fill(priority_bitmap,NULL,0);
530   bitmap_fill(screen->machine->priority_bitmap,NULL,0);
531531   deco16_clear_sprite_priority_bitmap();
532532
533533   /* pf3 and pf4 are combined into a single 8bpp bitmap */
src/mame/video/plygonet.c
r5338r5339
8484
8585VIDEO_UPDATE( polygonet )
8686{
87   bitmap_fill(priority_bitmap, NULL, 0);
87   bitmap_fill(screen->machine->priority_bitmap, NULL, 0);
8888   bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
8989
9090   tilemap_draw(bitmap, cliprect, ttl_tilemap, 0, 1<<0);
src/mame/video/batman.c
r5338r5339
201201
202202VIDEO_UPDATE( batman )
203203{
204   bitmap_t *priority_bitmap = screen->machine->priority_bitmap;
204205   atarimo_rect_list rectlist;
205206   bitmap_t *mobitmap;
206207   int x, y, r;
src/mame/video/nemesis.c
r5338r5339
402402                  flipx,flipy,
403403                  sx,sy,
404404                  zoom,zoom,
405                  priority_bitmap,0xffcc,0 );
405                  machine->priority_bitmap,0xffcc,0 );
406406            }
407407         } /* if sprite */
408408      } /* for loop */
r5338r5339
416416   int offs;
417417   rectangle clip;
418418
419   bitmap_fill(priority_bitmap,cliprect,0);
419   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
420420   bitmap_fill(bitmap,cliprect,0);
421421
422422   clip.min_x = 0;
src/mame/video/warriorb.c
r5338r5339
9393             color,
9494             flipx,flipy,
9595             x,y,
96             priority_bitmap,pri_mask,0);
96             machine->priority_bitmap,pri_mask,0);
9797   }
9898
9999#ifdef MAME_DEBUG
r5338r5339
133133   layer[2] = 2;
134134
135135   /* Clear priority bitmap */
136   bitmap_fill(priority_bitmap, cliprect, 0);
136   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
137137
138138   /* chip 0 does tilemaps on the left, chip 1 does the ones on the right */
139139   // draw bottom layer
src/mame/video/deco16ic.c
r5338r5339
842842{
843843   int ox,oy,cx,cy;
844844   int x_index,y_index,x,y;
845
845   bitmap_t *priority_bitmap = gfx->machine->priority_bitmap;
846846   const pen_t *pal = &gfx->machine->pens[gfx->color_base + gfx->color_granularity * (color % gfx->total_colors)];
847847   const UINT8 *code_base = gfx_element_get_data(gfx, code % gfx->total_elements);
848848
r5338r5339
10191019            if ((flags&TILEMAP_DRAW_OPAQUE) || (p&trans_mask))
10201020            {
10211021               *BITMAP_ADDR16(bitmap, y, x) = machine->pens[p];
1022               if (priority_bitmap)
1022               if (machine->priority_bitmap)
10231023               {
1024                  UINT8 *pri = BITMAP_ADDR8(priority_bitmap, y, 0);
1024                  UINT8 *pri = BITMAP_ADDR8(machine->priority_bitmap, y, 0);
10251025                  pri[x]|=priority;
10261026               }
10271027            }
r5338r5339
10441044            if ((flags&TILEMAP_DRAW_OPAQUE) || (p&trans_mask))
10451045            {
10461046               *BITMAP_ADDR32(bitmap, y, x) = machine->pens[p];
1047               if (priority_bitmap)
1047               if (machine->priority_bitmap)
10481048               {
1049                  UINT8 *pri = BITMAP_ADDR8(priority_bitmap, y, 0);
1049                  UINT8 *pri = BITMAP_ADDR8(machine->priority_bitmap, y, 0);
10501050                  pri[x]|=priority;
10511051               }
10521052            }
src/mame/video/bishi.c
r5338r5339
8383
8484   sortlayers(layers, layerpri);
8585
86   bitmap_fill(priority_bitmap,cliprect,0);
86   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
8787
8888   for (i = 0; i < 4; i++)
8989   {
src/mame/video/bloodbro.c
r5338r5339
175175                  color,
176176                  flipx,flipy,
177177                  flipx ? (sx + 16*(width-x)) : (sx + 16*x),flipy ? (sy + 16*(height-y)) : (sy + 16*y),
178                  priority_bitmap,
178                  machine->priority_bitmap,
179179                  pri_mask,15);
180180         }
181181      }
r5338r5339
219219            color,
220220            flipx,flipy,
221221            sx,sy,
222            priority_bitmap,
222            machine->priority_bitmap,
223223            pri_mask,15);
224224   }
225225}
r5338r5339
233233   tilemap_set_scrollx(fg_tilemap,0,bloodbro_scroll[0x12]);
234234   tilemap_set_scrolly(fg_tilemap,0,bloodbro_scroll[0x13]);
235235
236   bitmap_fill(priority_bitmap,cliprect,0);
236   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
237237
238238   tilemap_draw(bitmap,cliprect,bg_tilemap,0,0);
239239   tilemap_draw(bitmap,cliprect,fg_tilemap,0,1);
r5338r5339
249249//  tilemap_set_scrollx(fg_tilemap,0,bloodbro_scroll[0x12]);
250250//  tilemap_set_scrolly(fg_tilemap,0,bloodbro_scroll[0x13]);
251251
252   bitmap_fill(priority_bitmap,cliprect,0);
252   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
253253
254254   tilemap_draw(bitmap,cliprect,bg_tilemap,0,0);
255255   tilemap_draw(bitmap,cliprect,fg_tilemap,0,1);
r5338r5339
266266   tilemap_set_scrollx(fg_tilemap,0,bloodbro_scroll[0x0a]);
267267   tilemap_set_scrolly(fg_tilemap,0,bloodbro_scroll[0x0b]);   /* ? */
268268
269   bitmap_fill(priority_bitmap,cliprect,0);
269   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
270270
271271   tilemap_draw(bitmap,cliprect,bg_tilemap,0,0);
272272   tilemap_draw(bitmap,cliprect,fg_tilemap,0,1);
src/mame/video/rallyx.c
r5338r5339
548548            color,
549549            flipx,flipy,
550550            sx,sy,
551            priority_bitmap,0x02,
551            machine->priority_bitmap,0x02,
552552            colortable_get_transpen_mask(machine->colortable, machine->gfx[1], color, 0));
553553   }
554554}
r5338r5339
569569            color,
570570            flip,flip,
571571            sx,sy,
572            priority_bitmap,0x02,
572            machine->priority_bitmap,0x02,
573573            colortable_get_transpen_mask(machine->colortable, machine->gfx[1], color, 0));
574574   }
575575}
r5338r5339
685685      fg_clip.min_x = 28*8;
686686   }
687687
688   bitmap_fill(priority_bitmap,cliprect,0);
688   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
689689
690690   tilemap_draw(bitmap,&bg_clip,bg_tilemap,0,0);
691691   tilemap_draw(bitmap,&fg_clip,fg_tilemap,0,0);
r5338r5339
717717      fg_clip.min_x = 28*8;
718718   }
719719
720   bitmap_fill(priority_bitmap,cliprect,0);
720   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
721721
722722   /* tile priority doesn't seem to be supported in Jungler */
723723   tilemap_draw(bitmap,&bg_clip,bg_tilemap,0,0);
r5338r5339
762762      fg_clip.min_x = 28*8;
763763   }
764764
765   bitmap_fill(priority_bitmap,cliprect,0);
765   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
766766
767767   tilemap_draw(bitmap,&bg_clip,bg_tilemap,0,0);
768768   tilemap_draw(bitmap,&fg_clip,fg_tilemap,0,0);
src/mame/video/unico.c
r5338r5339
263263                  attr & 0x1f,
264264                  flipx, flipy,
265265                  x, sy,
266                  priority_bitmap,
266                  machine->priority_bitmap,
267267                  pri_mask,0x00   );
268268      }
269269   }
r5338r5339
316316                  attr & 0x1f,
317317                  flipx, flipy,
318318                  x, sy,
319                  priority_bitmap,
319                  machine->priority_bitmap,
320320                  pri_mask,0x00   );
321321      }
322322   }
r5338r5339
359359
360360   /* The background color is the first of the last palette */
361361   bitmap_fill(bitmap,cliprect,0x1f00);
362   bitmap_fill(priority_bitmap,cliprect,0);
362   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
363363
364364   if (layers_ctrl & 1)   tilemap_draw(bitmap,cliprect,tilemap_0,0,1);
365365   if (layers_ctrl & 2)   tilemap_draw(bitmap,cliprect,tilemap_1,0,2);
r5338r5339
398398
399399   /* The background color is the first of the last palette */
400400   bitmap_fill(bitmap,cliprect,0x1f00);
401   bitmap_fill(priority_bitmap,cliprect,0);
401   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
402402
403403   if (layers_ctrl & 1)   tilemap_draw(bitmap,cliprect,tilemap_0,0,1);
404404   if (layers_ctrl & 2)   tilemap_draw(bitmap,cliprect,tilemap_1,0,2);
src/mame/video/blockhl.c
r5338r5339
5454
5555VIDEO_UPDATE( blockhl )
5656{
57   bitmap_fill(priority_bitmap,cliprect,0);
57   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
5858
5959   K052109_tilemap_update();
6060
src/mame/video/gcpinbal.c
r5338r5339
236236                  col,
237237                  flipx, flipy,
238238                  curx,cury,
239                  priority_bitmap,
239                  machine->priority_bitmap,
240240                  priority ? 0xfc : 0xf0,0);
241241
242242            code++;
r5338r5339
317317      tilemap_set_scrolly(gcpinbal_tilemap[i], 0, gcpinbal_scrolly[i]);
318318   }
319319
320   bitmap_fill(priority_bitmap,cliprect,0);
320   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
321321   bitmap_fill(bitmap, cliprect, 0);
322322
323323   layer[0] = 0;
src/mame/video/superchs.c
r5338r5339
201201            sprite_ptr->flipx,sprite_ptr->flipy,
202202            sprite_ptr->x,sprite_ptr->y,
203203            sprite_ptr->zoomx,sprite_ptr->zoomy,
204            priority_bitmap,sprite_ptr->primask,0);
204            machine->priority_bitmap,sprite_ptr->primask,0);
205205   }
206206}
207207
r5338r5339
225225   layer[3] = (priority &0x000f) >>  0;   /* tells us which is top */
226226   layer[4] = 4;   /* text layer always over bg layers */
227227
228   bitmap_fill(priority_bitmap,cliprect,0);
228   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
229229
230230   /* We have to assume 2nd to bottom layer is always underneath
231231       sprites as pdrawgfx cannot yet cope with more than 4 layers */
232232
233233#ifdef MAME_DEBUG
234   if (!input_code_pressed (KEYCODE_Z)) TC0480SCP_tilemap_draw(bitmap,cliprect,layer[0],TILEMAP_DRAW_OPAQUE,0);
235   if (!input_code_pressed (KEYCODE_X)) TC0480SCP_tilemap_draw(bitmap,cliprect,layer[1],0,1);
236   if (!input_code_pressed (KEYCODE_C)) TC0480SCP_tilemap_draw(bitmap,cliprect,layer[2],0,2);
237   if (!input_code_pressed (KEYCODE_V)) TC0480SCP_tilemap_draw(bitmap,cliprect,layer[3],0,4);
238   if (!input_code_pressed (KEYCODE_B)) TC0480SCP_tilemap_draw(bitmap,cliprect,layer[4],0,8);
234   if (!input_code_pressed (KEYCODE_Z)) TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[0],TILEMAP_DRAW_OPAQUE,0);
235   if (!input_code_pressed (KEYCODE_X)) TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[1],0,1);
236   if (!input_code_pressed (KEYCODE_C)) TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[2],0,2);
237   if (!input_code_pressed (KEYCODE_V)) TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[3],0,4);
238   if (!input_code_pressed (KEYCODE_B)) TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[4],0,8);
239239   if (!input_code_pressed (KEYCODE_N)) draw_sprites(screen->machine,bitmap,cliprect,primasks,48,-116);
240240#else
241   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[0],TILEMAP_DRAW_OPAQUE,0);
242   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[1],0,1);
243   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[2],0,2);
244   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[3],0,4);
245   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[4],0,8);   /* text layer */
241   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[0],TILEMAP_DRAW_OPAQUE,0);
242   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[1],0,1);
243   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[2],0,2);
244   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[3],0,4);
245   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[4],0,8);   /* text layer */
246246   draw_sprites(screen->machine, bitmap,cliprect,primasks,48,-116);
247247#endif
248248   return 0;
src/mame/video/namcos1.c
r5338r5339
328328               flipx,flipy,
329329               sx & 0x1ff,
330330               ((sy + 16) & 0xff) - 16,
331               priority_bitmap, pri_mask,
331               machine->priority_bitmap, pri_mask,
332332               0xf);
333333      else
334334         pdrawgfx_transtable( bitmap, cliprect, gfx,
r5338r5339
337337               flipx,flipy,
338338               sx & 0x1ff,
339339               ((sy + 16) & 0xff) - 16,
340               priority_bitmap, pri_mask,
340               machine->priority_bitmap, pri_mask,
341341               drawmode_table, machine->shadow_table);
342342
343343      source -= 0x10;
r5338r5339
397397   }
398398
399399
400   bitmap_fill(priority_bitmap, &new_clip, 0);
400   bitmap_fill(screen->machine->priority_bitmap, &new_clip, 0);
401401
402402   /* bit 0-2 priority */
403403   /* bit 3   disable  */
src/mame/video/mainevt.c
r5338r5339
9393{
9494   K052109_tilemap_update();
9595
96   bitmap_fill(priority_bitmap,cliprect,0);
96   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
9797   tilemap_draw(bitmap,cliprect,K052109_tilemap[1],TILEMAP_DRAW_OPAQUE,1);
9898   tilemap_draw(bitmap,cliprect,K052109_tilemap[2],1,2);   /* low priority part of layer */
9999   tilemap_draw(bitmap,cliprect,K052109_tilemap[2],0,4);   /* high priority part of layer */
src/mame/video/othunder.c
r5338r5339
208208            sprite_ptr->flipx,sprite_ptr->flipy,
209209            sprite_ptr->x,sprite_ptr->y,
210210            sprite_ptr->zoomx,sprite_ptr->zoomy,
211            priority_bitmap,sprite_ptr->primask,0);
211            machine->priority_bitmap,sprite_ptr->primask,0);
212212   }
213213}
214214
r5338r5339
227227   layer[1] = layer[0]^1;
228228   layer[2] = 2;
229229
230   bitmap_fill(priority_bitmap,cliprect,0);
230   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
231231
232232   /* Ensure screen blanked even when bottom layer not drawn due to disable bit */
233233   bitmap_fill(bitmap, cliprect, 0);
src/mame/video/slapshot.c
r5338r5339
432432            sprite_ptr->flipx,sprite_ptr->flipy,
433433            sprite_ptr->x,sprite_ptr->y,
434434            sprite_ptr->zoomx,sprite_ptr->zoomy,
435            priority_bitmap,sprite_ptr->primask,0);
435            machine->priority_bitmap,sprite_ptr->primask,0);
436436   }
437437}
438438
r5338r5339
576576   spritepri[2] = TC0360PRI_regs[7] & 0x0f;
577577   spritepri[3] = TC0360PRI_regs[7] >> 4;
578578
579   bitmap_fill(priority_bitmap,cliprect,0);
579   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
580580   bitmap_fill(bitmap,cliprect,0);
581581
582582#ifdef MAME_DEBUG
583583   if (dislayer[layer[0]]==0)
584584#endif
585      TC0480SCP_tilemap_draw(bitmap,cliprect,layer[0],0,1);
585      TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[0],0,1);
586586
587587#ifdef MAME_DEBUG
588588   if (dislayer[layer[1]]==0)
589589#endif
590      TC0480SCP_tilemap_draw(bitmap,cliprect,layer[1],0,2);
590      TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[1],0,2);
591591
592592#ifdef MAME_DEBUG
593593   if (dislayer[layer[2]]==0)
594594#endif
595      TC0480SCP_tilemap_draw(bitmap,cliprect,layer[2],0,4);
595      TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[2],0,4);
596596
597597#ifdef MAME_DEBUG
598598   if (dislayer[layer[3]]==0)
599599#endif
600      TC0480SCP_tilemap_draw(bitmap,cliprect,layer[3],0,8);
600      TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[3],0,8);
601601
602602   {
603603      int primasks[4] = {0,0,0,0};
r5338r5339
623623#ifdef MAME_DEBUG
624624   if (dislayer[layer[4]]==0)
625625#endif
626   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[4],0,0);
626   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[4],0,0);
627627   return 0;
628628}
629629
src/mame/video/cninja.c
r5338r5339
210210               colour,
211211               fx,fy,
212212               x,y + mult * multi,
213               priority_bitmap,pri,0);
213               machine->priority_bitmap,pri,0);
214214
215215         multi--;
216216      }
r5338r5339
278278               colour,
279279               fx,fy,
280280               x,y + mult * multi,
281               priority_bitmap,pri,0);
281               machine->priority_bitmap,pri,0);
282282
283283         multi--;
284284      }
r5338r5339
383383                  colour,
384384                  fx,fy,
385385                  sx + x_mult * (w-x),sy + y_mult * (h-y),
386                  priority_bitmap,0,
386                  machine->priority_bitmap,0,
387387                  0,alpha);
388388         }
389389      }
r5338r5339
401401   deco16_pf34_update(deco16_pf3_rowscroll,deco16_pf4_rowscroll);
402402
403403   /* Draw playfields */
404   bitmap_fill(priority_bitmap,cliprect,0);
404   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
405405   bitmap_fill(bitmap,cliprect,512);
406406   deco16_tilemap_4_draw(screen,bitmap,cliprect,TILEMAP_DRAW_OPAQUE,1);
407407   deco16_tilemap_3_draw(screen,bitmap,cliprect,0,2);
r5338r5339
418418   deco16_pf12_update(deco16_pf1_rowscroll,deco16_pf2_rowscroll);
419419   deco16_pf34_update(deco16_pf3_rowscroll,deco16_pf4_rowscroll);
420420
421   bitmap_fill(priority_bitmap,cliprect,0);
421   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
422422   bitmap_fill(bitmap,cliprect,0);
423423   deco16_tilemap_4_draw(screen,bitmap,cliprect,TILEMAP_DRAW_OPAQUE,1);
424424   if (deco16_raster_display_position)
r5338r5339
450450   deco16_pf34_update(deco16_pf3_rowscroll,deco16_pf4_rowscroll);
451451
452452   /* Draw playfields */
453   bitmap_fill(priority_bitmap,cliprect,0);
453   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
454454   bitmap_fill(bitmap,cliprect,0x200);
455455   if ((deco16_priority&4)==0)
456456      deco16_tilemap_4_draw(screen,bitmap,cliprect,TILEMAP_DRAW_OPAQUE,1);
r5338r5339
510510        then when two alpha blended shadows overlapped then they would be 25%
511511        transparent against the background, rather than 50% */
512512   if (deco16_priority&1) {
513      bitmap_fill(priority_bitmap,cliprect,0);
513      bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
514514      mutantf_draw_sprites(screen->machine,bitmap,cliprect,buffered_spriteram16,3);
515      bitmap_fill(priority_bitmap,cliprect,0);
515      bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
516516      mutantf_draw_sprites(screen->machine,bitmap,cliprect,buffered_spriteram16_2,4);
517517   } else {
518      bitmap_fill(priority_bitmap,cliprect,0);
518      bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
519519      mutantf_draw_sprites(screen->machine,bitmap,cliprect,buffered_spriteram16_2,4);
520      bitmap_fill(priority_bitmap,cliprect,0);
520      bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
521521      mutantf_draw_sprites(screen->machine,bitmap,cliprect,buffered_spriteram16,3);
522522   }
523523   deco16_tilemap_1_draw(screen,bitmap,cliprect,0,0);
src/mame/video/pacland.c
r5338r5339
334334                  color,
335335                  flipx,flipy,
336336                  sx + 16*x,sy + 16*y,
337                  priority_bitmap,0,transmask[whichmask][color]);
337                  machine->priority_bitmap,0,transmask[whichmask][color]);
338338         }
339339      }
340340   }
341341}
342342
343343
344static void draw_fg(bitmap_t *bitmap, const rectangle *cliprect, int priority )
344static void draw_fg(running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect, int priority )
345345{
346346   int y, x;
347347
r5338r5339
353353   /* now copy the fg_bitmap to the destination wherever the sprite pixel allows */
354354   for (y = cliprect->min_y; y <= cliprect->max_y; y++)
355355   {
356      const UINT8 *pri = BITMAP_ADDR8(priority_bitmap, y, 0);
356      const UINT8 *pri = BITMAP_ADDR8(machine->priority_bitmap, y, 0);
357357      UINT16 *src = BITMAP_ADDR16(fg_bitmap, y, 0);
358358      UINT16 *dst = BITMAP_ADDR16(bitmap, y, 0);
359359
r5338r5339
384384   /* draw high priority sprite pixels, setting priority bitmap to non-zero
385385       wherever there is a high-priority pixel; note that we draw to the bitmap
386386       which is safe because the bg_tilemap draw will overwrite everything */
387   bitmap_fill(priority_bitmap, cliprect, 0x00);
387   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0x00);
388388   draw_sprites(screen->machine, bitmap, cliprect, 0);
389389
390390   /* draw background */
391391   tilemap_draw(bitmap, cliprect, bg_tilemap, 0, 0);
392392
393393   /* draw low priority fg tiles */
394   draw_fg(bitmap, cliprect, 0);
394   draw_fg(screen->machine, bitmap, cliprect, 0);
395395
396396   /* draw sprites with regular transparency */
397397   draw_sprites(screen->machine, bitmap, cliprect, 1);
398398
399399   /* draw high priority fg tiles */
400   draw_fg(bitmap, cliprect, 1);
400   draw_fg(screen->machine, bitmap, cliprect, 1);
401401
402402   /* draw sprite pixels with colortable values >= 0xf0, which have priority over everything */
403403   draw_sprites(screen->machine, bitmap, cliprect, 2);
src/mame/video/f1gp.c
r5338r5339
232232                  flipx,flipy,
233233                  sx,sy,
234234                  0x1000 * zoomx,0x1000 * zoomy,
235                  priority_bitmap,
235                  machine->priority_bitmap,
236236//                      pri ? 0 : 0x2);
237237                  primask,15);
238238            map_start++;
r5338r5339
298298         color,
299299         flipx,flipy,
300300         x,y,
301         priority_bitmap,
301         machine->priority_bitmap,
302302         pri ? 0 : 0x2,15);
303303
304304      // wrap around x
r5338r5339
307307         color,
308308         flipx,flipy,
309309         x - 512,y,
310         priority_bitmap,
310         machine->priority_bitmap,
311311         pri ? 0 : 0x2,15);
312312   }
313313}
r5338r5339
315315
316316VIDEO_UPDATE( f1gp )
317317{
318   bitmap_fill(priority_bitmap, cliprect, 0);
318   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
319319
320320   K053936_0_zoom_draw(bitmap,cliprect,roz_tilemap,0,0,1);
321321
r5338r5339
348348
349349   tilemap_set_scrolly(fg_tilemap,0,f1gpb_fgregs[0] + 8);
350350
351   bitmap_fill(priority_bitmap, cliprect, 0);
351   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
352352
353353   tilemap_draw_roz(bitmap, cliprect, roz_tilemap,
354354      startx << 13, starty << 13,
src/mame/video/namcos2.c
r5338r5339
215215
216216/**************************************************************************/
217217
218static UINT16
219GetPaletteRegister( int which )
220{
221   const UINT16 *source = &namcos2_68k_palette_ram[0x3000/2];
222   return ((source[which*2]&0xff)<<8) | (source[which*2+1]&0xff);
223}
224
218225READ16_HANDLER( namcos2_68k_video_palette_r )
219226{
220227   if( (offset&0x1800) == 0x1800 )
221228   {
229      /* palette register */
222230      offset &= 0x180f;
223      if( offset == 0x180d ) return 0xff;
224      if( offset == 0x180f ) return 0xff;
231
232      /* registers 6,7: unmapped? */
233      if (offset > 0x180b) return 0xff;
225234   }
226235   return namcos2_68k_palette_ram[offset];
227236} /* namcos2_68k_video_palette_r */
r5338r5339
230239{
231240   if( (offset&0x1800) == 0x1800 )
232241   {
242      /* palette register */
233243      offset &= 0x180f;
234      if( ACCESSING_BITS_0_7 )
235      {
236         namcos2_68k_palette_ram[offset] = data;
244
245      if( ACCESSING_BITS_0_7 ) data&=0xff;
246      else data>>=8;
247
248      switch (offset) {
249         /* registers 0-3: clipping */
250
251         /* register 4: ? */
252         /* sets using it:
253            assault:    $0020
254            burnforc:   $0130 after titlescreen
255            dirtfoxj:   $0108 at game start
256            finalap1/2/3:   $00C0
257            finehour:   $0168 after titlescreen
258            fourtrax:   $00E8 and $00F0
259            luckywld:   $00E8 at titlescreen, $00A0 in game and $0118 if in tunnel
260            suzuka8h1/2:    $00E8 and $00A0 */
261         case 0x1808: case 0x1809:
262            // if (data^namcos2_68k_palette_ram[offset]) printf("%04X\n",data<<((~offset&1)<<3)|namcos2_68k_palette_ram[offset^1]<<((offset&1)<<3));
263            break;
264
265         /* register 5: POSIRQ scanline (only 8 bits used) */
266         /*case 0x180a:*/ case 0x180b:
267            if (data^namcos2_68k_palette_ram[offset]) {
268               namcos2_68k_palette_ram[offset] = data;
269               namcos2_adjust_posirq_timer(space->machine,namcos2_GetPosIrqScanline(space->machine));
270            }
271            break;
272
273         /* registers 6,7: nothing? */
274         default: break;
237275      }
238      else
239      {
240         namcos2_68k_palette_ram[offset] = data>>8;
241      }
276
277      namcos2_68k_palette_ram[offset] = data;
242278   }
243279   else
244280   {
r5338r5339
246282   }
247283} /* namcos2_68k_video_palette_w */
248284
249static UINT16
250GetPaletteRegister( int which )
251{
252   const UINT16 *source = &namcos2_68k_palette_ram[0x3000/2];
253   return ((source[which*2]&0xff)<<8) | (source[which*2+1]&0xff);
254}
255285
256286int
257287namcos2_GetPosIrqScanline( running_machine *machine )
258288{
259   /* PaleteRegister(4)? used by Finest Hour; pc=0x356e */
260   int scanline = GetPaletteRegister(5) - 34;
261   int height = video_screen_get_height(machine->primary_screen);
262   if( scanline<0 )
263      scanline = 0;
264   else if( scanline > height )
265      scanline = height;
266
267   return scanline;
289   return (GetPaletteRegister(5) - 32) & 0xff;
268290} /* namcos2_GetPosIrqScanline */
269291
270292static void
src/mame/video/dassault.c
r5338r5339
170170
171171   /* Draw playfields/update priority bitmap */
172172   deco16_clear_sprite_priority_bitmap();
173   bitmap_fill(priority_bitmap,cliprect,0);
173   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
174174   bitmap_fill(bitmap,cliprect,screen->machine->pens[3072]);
175175   deco16_tilemap_4_draw(screen,bitmap,cliprect,TILEMAP_DRAW_OPAQUE,0);
176176
src/mame/video/tatsumi.c
r5338r5339
10951095   tilemap_set_scrolly(tx_layer,0,0); //(((roundupt_crt_reg[0xe]<<8)|roundupt_crt_reg[0xf])>>5) + 96);
10961096
10971097   bitmap_fill(bitmap,cliprect,screen->machine->pens[384]); // todo
1098   bitmap_fill(priority_bitmap,cliprect,0);
1098   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
10991099
1100   draw_sprites(screen->machine, priority_bitmap,cliprect,1,(tatsumi_sprite_control_ram[0xe0]&0x1000) ? 0x1000 : 0); // Alpha pass only
1101   draw_road(screen->machine, bitmap,cliprect,priority_bitmap);
1100   draw_sprites(screen->machine, screen->machine->priority_bitmap,cliprect,1,(tatsumi_sprite_control_ram[0xe0]&0x1000) ? 0x1000 : 0); // Alpha pass only
1101   draw_road(screen->machine, bitmap,cliprect,screen->machine->priority_bitmap);
11021102   draw_sprites(screen->machine, bitmap,cliprect,0,(tatsumi_sprite_control_ram[0xe0]&0x1000) ? 0x1000 : 0); // Full pass
11031103   tilemap_draw(bitmap,cliprect,tx_layer,0,0);
11041104   return 0;
src/mame/video/konamiic.c
r5338r5339
12971297                    int global_x_offset,int bank_base, UINT32 pri_mask)
12981298{
12991299   const gfx_element *gfx = gfxs[chip];
1300   bitmap_t *priority_bitmap = gfx->machine->priority_bitmap;
13001301   int flipscreen = K007121_flipscreen[chip];
13011302   int i,num,inc,offs[5];
13021303   int is_flakatck = (ctable == NULL);
r5338r5339
28172818                        color,
28182819                        flipx,flipy,
28192820                        sx & 0x1ff,sy,
2820                        priority_bitmap,pri,
2821                        machine->priority_bitmap,pri,
28212822                        drawmode_table,machine->shadow_table);
28222823               else
28232824                  drawgfx_transtable(bitmap,cliprect,K051960_gfx,
r5338r5339
28562857                        flipx,flipy,
28572858                        sx & 0x1ff,sy,
28582859                        (zw << 16) / 16,(zh << 16) / 16,
2859                        priority_bitmap,pri,
2860                        machine->priority_bitmap,pri,
28602861                        drawmode_table,machine->shadow_table);
28612862               else
28622863                  drawgfxzoom_transtable(bitmap,cliprect,K051960_gfx,
r5338r5339
34203421                     color,
34213422                     fx,fy,
34223423                     sx,sy,
3423                     priority_bitmap,pri,
3424                     machine->priority_bitmap,pri,
34243425                     drawmode_table,machine->shadow_table);
34253426            }
34263427            else
r5338r5339
34313432                     fx,fy,
34323433                     sx,sy,
34333434                     (zw << 16) / 16,(zh << 16) / 16,
3434                     priority_bitmap,pri,
3435                     machine->priority_bitmap,pri,
34353436                     drawmode_table,machine->shadow_table);
34363437
34373438            }
r5338r5339
36573658                     color,
36583659                     fx,fy,
36593660                     sx,sy,
3660                     priority_bitmap,pri,
3661                     machine->priority_bitmap,pri,
36613662                     drawmode_table,machine->shadow_table);
36623663            }
36633664            else
r5338r5339
36683669                     fx,fy,
36693670                     sx,sy,
36703671                     (zw << 16) / 16,(zh << 16) / 16,
3671                     priority_bitmap,pri,
3672                     machine->priority_bitmap,pri,
36723673                     drawmode_table,machine->shadow_table);
36733674
36743675            }
r5338r5339
44864487                     color,
44874488                     fx,fy,
44884489                     sx,sy,
4489                     priority_bitmap,primask,
4490                     machine->priority_bitmap,primask,
44904491                     whichtable,machine->shadow_table);
44914492            }
44924493            else
r5338r5339
44974498                     fx,fy,
44984499                     sx,sy,
44994500                     (zw << 16) >> 4,(zh << 16) >> 4,
4500                     priority_bitmap,primask,
4501                     machine->priority_bitmap,primask,
45014502                     whichtable,machine->shadow_table);
45024503            }
45034504
r5338r5339
45104511                        color,
45114512                        fx,!fy,
45124513                        sx,sy,
4513                        priority_bitmap,primask,
4514                        machine->priority_bitmap,primask,
45144515                        whichtable,machine->shadow_table);
45154516               }
45164517               else
r5338r5339
45214522                        fx,!fy,
45224523                        sx,sy,
45234524                        (zw << 16) >> 4,(zh << 16) >> 4,
4524                        priority_bitmap,primask,
4525                        machine->priority_bitmap,primask,
45254526                        whichtable,machine->shadow_table);
45264527               }
45274528            }
r5338r5339
76137614
76147615static void K053250_pdraw_scanline8(
76157616      bitmap_t *bitmap,int x,int y,int length,
7616      const UINT8 *src,pen_t *pens,int transparent_pen,UINT32 orient,int pri)
7617      const UINT8 *src,pen_t *pens,int transparent_pen,UINT32 orient,bitmap_t *priority,UINT8 pri)
76177618{
76187619   /* 8bpp destination */
76197620   if (bitmap->bpp == 8)
76207621   {
76217622      /* adjust in case we're oddly oriented */
7622      ADJUST_FOR_ORIENTATION(UINT8, orient, bitmap, priority_bitmap, x, y);
7623      ADJUST_FOR_ORIENTATION(UINT8, orient, bitmap, priority, x, y);
76237624
76247625      /* with pen lookups */
76257626      if (pens)
r5338r5339
76767677   else if(bitmap->bpp == 16)
76777678   {
76787679      /* adjust in case we're oddly oriented */
7679      ADJUST_FOR_ORIENTATION(UINT16, orient, bitmap, priority_bitmap, x, y);
7680      ADJUST_FOR_ORIENTATION(UINT16, orient, bitmap, priority, x, y);
76807681      /* with pen lookups */
76817682      if (pens)
76827683      {
r5338r5339
77327733   else
77337734   {
77347735      /* adjust in case we're oddly oriented */
7735      ADJUST_FOR_ORIENTATION(UINT32, orient, bitmap, priority_bitmap, x, y);
7736      ADJUST_FOR_ORIENTATION(UINT32, orient, bitmap, priority, x, y);
77367737      /* with pen lookups */
77377738      if (pens)
77387739      {
r5338r5339
79897990// utility function to render a clipped scanline vertically or horizontally
79907991INLINE void K053250_pdraw_scanline32(bitmap_t *bitmap, const pen_t *palette, UINT8 *source,
79917992      const rectangle *cliprect, int linepos, int scroll, int zoom,
7992      UINT32 clipmask, UINT32 wrapmask, UINT32 orientation, int priority)
7993      UINT32 clipmask, UINT32 wrapmask, UINT32 orientation, bitmap_t *priority, UINT8 pri)
79937994{
79947995// a sixteen-bit fixed point resolution should be adequate to our application
79957996#define FIXPOINT_PRECISION      16
r5338r5339
80068007   UINT8  *pri_base;
80078008   UINT32 *dst_base;
80088009   int dst_adv;
8009   UINT8 pri;
80108010
80118011   // flip X and flip Y also switch role when the X Y coordinates are swapped
80128012   if (!(orientation & ORIENTATION_SWAP_XY))
r5338r5339
80938093      // calculate target increment for horizontal scanlines which is exactly one
80948094      dst_adv = 1;
80958095      dst_offset = dst_length;
8096      pri_base = BITMAP_ADDR8(priority_bitmap, linepos, dst_start + dst_offset);
8096      pri_base = BITMAP_ADDR8(priority, linepos, dst_start + dst_offset);
80978097      dst_base = BITMAP_ADDR32(bitmap, linepos, dst_start + dst_length);
80988098   }
80998099   else
r5338r5339
81018101      // calculate target increment for vertical scanlines which is the bitmap's pitch value
81028102      dst_adv = bitmap->rowpixels;
81038103      dst_offset= dst_length * dst_adv;
8104      pri_base = BITMAP_ADDR8(priority_bitmap, dst_start, linepos + dst_offset);
8104      pri_base = BITMAP_ADDR8(priority, dst_start, linepos + dst_offset);
81058105      dst_base = BITMAP_ADDR32(bitmap, dst_start, linepos + dst_offset);
81068106   }
81078107
r5338r5339
81148114   src_wrapmask = (clipmask) ? ~0 : wrapmask;
81158115
81168116   pal_base = palette;
8117   pri = (UINT8)priority;
81188117   dst_offset = -dst_offset; // negate target offset in order to terminated draw loop at zero condition
81198118
81208119   if (pri)
r5338r5339
83608359                priority     : value to be written to the priority bitmap, no effect when equals zero
83618360            */
83628361         K053250_pdraw_scanline32(bitmap, pal_ptr, pix_ptr, cliprect,
8363            line_pos, scroll, zoom, src_clipmask, src_wrapmask, orientation, priority);
8362            line_pos, scroll, zoom, src_clipmask, src_wrapmask, orientation, machine->priority_bitmap, (UINT8)priority);
83648363
83658364         // shift scanline position one virtual screen upward to render the wrapped end if necessary
83668365         scroll -= dst_height;
src/mame/video/blmbycar.c
r5338r5339
205205               0x20 + (attr & 0xf),
206206               flipx, flipy,
207207               x, y,
208               priority_bitmap,
208               machine->priority_bitmap,
209209               pri_mask,0   );
210210   }
211211}
r5338r5339
242242}
243243#endif
244244
245   bitmap_fill(priority_bitmap,cliprect,0);
245   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
246246
247247   if (layers_ctrl&1)
248248      for (i = 0; i <= 1; i++)
src/mame/video/topspeed.c
r5338r5339
105105               flipx,flipy,
106106               curx,cury,
107107               zx<<12,zy<<13,
108               priority_bitmap,primasks[priority],0);
108               machine->priority_bitmap,primasks[priority],0);
109109      }
110110
111111      if (bad_chunks)
r5338r5339
164164   layer[2] = 1;
165165   layer[3] = 0;
166166
167   bitmap_fill(priority_bitmap,cliprect,0);
167   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
168168   bitmap_fill(bitmap, cliprect, 0);
169169
170170#ifdef MAME_DEBUG
r5338r5339
175175#ifdef MAME_DEBUG
176176   if (dislayer[2]==0)
177177#endif
178   PC080SN_tilemap_draw_special(bitmap,cliprect,1,layer[1],0,2,topspeed_raster_ctrl);
178   PC080SN_tilemap_draw_special(screen->machine,bitmap,cliprect,1,layer[1],0,2,topspeed_raster_ctrl);
179179
180180#ifdef MAME_DEBUG
181181   if (dislayer[1]==0)
182182#endif
183    PC080SN_tilemap_draw_special(bitmap,cliprect,0,layer[2],0,4,topspeed_raster_ctrl + 0x100);
183    PC080SN_tilemap_draw_special(screen->machine,bitmap,cliprect,0,layer[2],0,4,topspeed_raster_ctrl + 0x100);
184184
185185#ifdef MAME_DEBUG
186186   if (dislayer[0]==0)
src/mame/video/toobin.c
r5338r5339
231231
232232VIDEO_UPDATE( toobin )
233233{
234   bitmap_t *priority_bitmap = screen->machine->priority_bitmap;
234235   const rgb_t *palette = palette_entry_list_adjusted(screen->machine->palette);
235236   atarimo_rect_list rectlist;
236237   bitmap_t *mobitmap;
src/mame/video/mcr68.c
r5338r5339
217217   sprite_clip.max_x -= mcr68_sprite_clip;
218218   sect_rect(&sprite_clip, cliprect);
219219
220   bitmap_fill(priority_bitmap,&sprite_clip,1);
220   bitmap_fill(machine->priority_bitmap,&sprite_clip,1);
221221
222222   /* loop over sprite RAM */
223223   for (offs = spriteram_size / 2 - 4;offs >= 0;offs -= 4)
r5338r5339
250250
251251      /* first draw the sprite, visible */
252252      pdrawgfx_transmask(bitmap, &sprite_clip, machine->gfx[1], code, color, flipx, flipy, x, y,
253            priority_bitmap, 0x00, 0x0101);
253            machine->priority_bitmap, 0x00, 0x0101);
254254
255255      /* then draw the mask, behind the background but obscuring following sprites */
256256      pdrawgfx_transmask(bitmap, &sprite_clip, machine->gfx[1], code, color, flipx, flipy, x, y,
257            priority_bitmap, 0x02, 0xfeff);
257            machine->priority_bitmap, 0x02, 0xfeff);
258258   }
259259}
260260
r5338r5339
263263{
264264   int offs;
265265
266   bitmap_fill(priority_bitmap,cliprect,1);
266   bitmap_fill(machine->priority_bitmap,cliprect,1);
267267
268268   /* loop over sprite RAM */
269269   for (offs = spriteram_size / 2 - 4;offs >= 0;offs -= 4)
r5338r5339
306306
307307      /* first draw the sprite, visible */
308308      pdrawgfx_transmask(bitmap, cliprect, machine->gfx[1], code, color, flipx, flipy, x, y,
309            priority_bitmap, 0x00, 0x0101);
309            machine->priority_bitmap, 0x00, 0x0101);
310310
311311      /* then draw the mask, behind the background but obscuring following sprites */
312312      pdrawgfx_transmask(bitmap, cliprect, machine->gfx[1], code, color, flipx, flipy, x, y,
313            priority_bitmap, 0x02, 0xfeff);
313            machine->priority_bitmap, 0x02, 0xfeff);
314314   }
315315}
316316
src/mame/video/overdriv.c
r5338r5339
7777   zoom_colorbase[1] = K053251_get_palette_index(K053251_CI3);
7878   zoom_colorbase[0] = K053251_get_palette_index(K053251_CI4);
7979
80   bitmap_fill(priority_bitmap,cliprect,0);
80   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
8181
8282   K051316_zoom_draw_0(bitmap,cliprect,0,0);
8383   K051316_zoom_draw_1(bitmap,cliprect,0,1);
src/mame/video/funworld.c
r5338r5339
3737    * Royal Card (austrian, set 1),                     TAB-Austria,        1991.
3838    * Royal Card (austrian, set 2),                     TAB-Austria,        1991.
3939    * Royal Card (slovak, encrypted),                   Evona Electronic,   1991.
40    * Royal Card Professional 2.0,                      Digital Dreams,     1993.
4041    * Lucky Lady (3x3 deal),                            TAB-Austria,        1991.
4142    * Lucky Lady (4x1 aces),                            TAB-Austria,        1991.
4243    * Magic Card II (bulgarian),                        Impera,             1996.
src/mame/video/thunderx.c
r5338r5339
7070{
7171   K052109_tilemap_update();
7272
73   bitmap_fill(priority_bitmap,cliprect,0);
73   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
7474
7575   /* The background color is always from layer 1 - but it's always black anyway */
7676//  bitmap_fill(bitmap,cliprect,16 * layer_colorbase[1]);
src/mame/video/xmen.c
r5338r5339
117117
118118   sortlayers(layer,layerpri);
119119
120   bitmap_fill(priority_bitmap,cliprect,0);
120   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
121121   /* note the '+1' in the background color!!! */
122122   bitmap_fill(bitmap,cliprect,16 * bg_colorbase+1);
123123   tilemap_draw(bitmap,cliprect,K052109_tilemap[layer[0]],0,1);
r5338r5339
240240
241241   sortlayers(layer,layerpri);
242242
243   bitmap_fill(priority_bitmap, &cliprect, 0);
243   bitmap_fill(machine->priority_bitmap, &cliprect, 0);
244244   /* note the '+1' in the background color!!! */
245245   bitmap_fill(renderbitmap, &cliprect, 16 * bg_colorbase + 1);
246246   tilemap_draw(renderbitmap, &cliprect, K052109_tilemap[layer[0]], 0, 1);
src/mame/video/silkroad.c
r5338r5339
3737
3838      if (!flipx) {
3939         for (wcount=0;wcount<width;wcount++) {
40         pdrawgfx_transpen(bitmap,cliprect,gfx,tileno+wcount,color,0,0,xpos+wcount*16+8,ypos,priority_bitmap,pri_mask,0);
40         pdrawgfx_transpen(bitmap,cliprect,gfx,tileno+wcount,color,0,0,xpos+wcount*16+8,ypos,machine->priority_bitmap,pri_mask,0);
4141         }
4242
4343      } else {
4444
4545         for (wcount=width;wcount>0;wcount--) {
46         pdrawgfx_transpen(bitmap,cliprect,gfx,tileno+(width-wcount),color,1,0,xpos+wcount*16-16+8,ypos,priority_bitmap,pri_mask,0);
46         pdrawgfx_transpen(bitmap,cliprect,gfx,tileno+(width-wcount),color,1,0,xpos+wcount*16-16+8,ypos,machine->priority_bitmap,pri_mask,0);
4747         }
4848
4949      }
r5338r5339
132132
133133VIDEO_UPDATE(silkroad)
134134{
135   bitmap_fill(priority_bitmap,cliprect,0);
135   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
136136   bitmap_fill(bitmap,cliprect,0x7c0);
137137
138138   tilemap_set_scrollx( fg_tilemap, 0, ((silkroad_regs[0] & 0xffff0000) >> 16) );
src/mame/video/lethal.c
r5338r5339
5555   K056832_SetExtLinescroll();
5656
5757   // the US and Japanese cabinets apparently use different mirror setups
58   if (!strcmp(machine->gamedrv->name, "lethalej"))
58   if (!strcmp(machine->gamedrv->name, "lethalenj"))
5959   {
6060      K056832_set_LayerOffset(0, -196, 0);
6161      K056832_set_LayerOffset(1, -194, 0);
r5338r5339
107107VIDEO_UPDATE(lethalen)
108108{
109109   bitmap_fill(bitmap, cliprect, 7168);
110   bitmap_fill(priority_bitmap, cliprect, 0);
110   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
111111
112112   K056832_tilemap_draw(screen->machine, bitmap, cliprect, 3, 0, 1);
113113   K056832_tilemap_draw(screen->machine, bitmap, cliprect, 2, 0, 2);
src/mame/video/tecmo16.c
r5338r5339
416416                        machine->gfx[2]->color_base + color * machine->gfx[2]->color_granularity,
417417                        flipx,flipy,
418418                        sx,sy,
419                        priority_bitmap, priority_mask,0);
419                        machine->priority_bitmap, priority_mask,0);
420420
421421                  /* wrap around x */
422422                  pdrawgfx_transpen_raw(bitmap,cliprect,machine->gfx[2],
r5338r5339
424424                        machine->gfx[2]->color_base + color * machine->gfx[2]->color_granularity,
425425                        flipx,flipy,
426426                        sx-512,sy,
427                        priority_bitmap, priority_mask,0);
427                        machine->priority_bitmap, priority_mask,0);
428428
429429                  /* wrap around x */
430430                  pdrawgfx_transpen_raw(bitmap,cliprect,machine->gfx[2],
r5338r5339
432432                        machine->gfx[2]->color_base + color * machine->gfx[2]->color_granularity,
433433                        flipx,flipy,
434434                        sx+512,sy,
435                        priority_bitmap, priority_mask,0);
435                        machine->priority_bitmap, priority_mask,0);
436436               }
437437            }
438438         }
r5338r5339
459459                        machine->gfx[2]->color_base + color * machine->gfx[2]->color_granularity,
460460                        flipx,flipy,
461461                        sx,sy,
462                        priority_bitmap, priority_mask,0);
462                        machine->priority_bitmap, priority_mask,0);
463463
464464                  /* wrap around x */
465465                  pdrawgfx_transpen_raw(bitmap,cliprect,machine->gfx[2],
r5338r5339
467467                        machine->gfx[2]->color_base + color * machine->gfx[2]->color_granularity,
468468                        flipx,flipy,
469469                        sx-512,sy,
470                        priority_bitmap, priority_mask,0);
470                        machine->priority_bitmap, priority_mask,0);
471471
472472                  /* wrap around x */
473473                  pdrawgfx_transpen_raw(bitmap,cliprect,machine->gfx[2],
r5338r5339
475475                        machine->gfx[2]->color_base + color * machine->gfx[2]->color_granularity,
476476                        flipx,flipy,
477477                        sx+512,sy,
478                        priority_bitmap, priority_mask,0);
478                        machine->priority_bitmap, priority_mask,0);
479479               }
480480            }
481481         }
r5338r5339
487487
488488VIDEO_UPDATE( tecmo16 )
489489{
490   bitmap_fill(priority_bitmap,cliprect,0);
490   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
491491
492492   bitmap_fill(tile_bitmap_bg, cliprect, 0x300);
493493   bitmap_fill(tile_bitmap_fg,     cliprect, 0);
src/mame/video/m90.c
r5338r5339
165165               colour,
166166               fx,fy,
167167               x,y+i*16,
168               priority_bitmap,
168               machine->priority_bitmap,
169169               (colour & 0x08) ? 0x00 : 0x02,0);
170170         else if (m90_video_control_data[7] & 0x02)
171171            pdrawgfx_transpen(bitmap,cliprect,machine->gfx[1],
r5338r5339
173173               colour,
174174               fx,fy,
175175               x,y+i*16,
176               priority_bitmap,
176               machine->priority_bitmap,
177177               ((colour & 0x0c)==0x0c) ? 0x00 : 0x02,0);
178178         else
179179            pdrawgfx_transpen(bitmap,cliprect,machine->gfx[1],
r5338r5339
181181               colour,
182182               fx,fy,
183183               x,y+i*16,
184               priority_bitmap,
184               machine->priority_bitmap,
185185               0x02,0);
186186   }
187187}
r5338r5339
219219            colour,
220220            fx,fy,
221221            x,y,
222            priority_bitmap,
222            machine->priority_bitmap,
223223            (colour & 0x08) ? 0x00 : 0x02,0);
224224   }
225225}
r5338r5339
256256            colour,
257257            fx,fy,
258258            x,y,
259            priority_bitmap,
259            machine->priority_bitmap,
260260            (colour & 0x08) ? 0x00 : 0x02,0);
261261   }
262262}
r5338r5339
349349      tilemap_set_scrollx( pf2_wide_layer,0, m90_video_control_data[3]+256-2 );
350350   }
351351
352   bitmap_fill(priority_bitmap,cliprect,0);
352   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
353353
354354   if (video_enable) {
355355      if (!pf2_enable)
r5338r5339
445445VIDEO_UPDATE( bomblord )
446446{
447447   int i;
448   bitmap_fill(priority_bitmap,cliprect,0);
448   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
449449   bitmap_fill(bitmap,cliprect,get_black_pen(screen->machine));
450450
451451   /* Setup scrolling */
r5338r5339
496496
497497VIDEO_UPDATE( dynablsb )
498498{
499   bitmap_fill(priority_bitmap,cliprect,0);
499   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
500500   bitmap_fill(bitmap,cliprect,get_black_pen(screen->machine));
501501
502502   if (!(m90_video_data[0xf008/2] & 0x4000)) {
src/mame/video/gunbustr.c
r5338r5339
203203            sprite_ptr->flipx,sprite_ptr->flipy,
204204            sprite_ptr->x,sprite_ptr->y,
205205            sprite_ptr->zoomx,sprite_ptr->zoomy,
206            priority_bitmap,sprite_ptr->primask,0);
206            machine->priority_bitmap,sprite_ptr->primask,0);
207207   }
208208}
209209
r5338r5339
228228   layer[3] = (priority &0x000f) >>  0;   /* tells us which is top */
229229   layer[4] = 4;   /* text layer always over bg layers */
230230
231   bitmap_fill(priority_bitmap,cliprect,0);
231   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
232232
233233   /* We have to assume 2nd to bottom layer is always underneath
234234       sprites as pdrawgfx cannot yet cope with more than 4 layers */
235235
236236#ifdef MAME_DEBUG
237   if (!input_code_pressed (KEYCODE_Z)) TC0480SCP_tilemap_draw(bitmap,cliprect,layer[0],TILEMAP_DRAW_OPAQUE,0);
238   if (!input_code_pressed (KEYCODE_X)) TC0480SCP_tilemap_draw(bitmap,cliprect,layer[1],0,1);
239   if (!input_code_pressed (KEYCODE_C)) TC0480SCP_tilemap_draw(bitmap,cliprect,layer[2],0,2);
240   if (!input_code_pressed (KEYCODE_V)) TC0480SCP_tilemap_draw(bitmap,cliprect,layer[3],0,4);
241   if (!input_code_pressed (KEYCODE_B)) TC0480SCP_tilemap_draw(bitmap,cliprect,layer[4],0,8);
237   if (!input_code_pressed (KEYCODE_Z)) TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[0],TILEMAP_DRAW_OPAQUE,0);
238   if (!input_code_pressed (KEYCODE_X)) TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[1],0,1);
239   if (!input_code_pressed (KEYCODE_C)) TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[2],0,2);
240   if (!input_code_pressed (KEYCODE_V)) TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[3],0,4);
241   if (!input_code_pressed (KEYCODE_B)) TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[4],0,8);
242242   if (!input_code_pressed (KEYCODE_N)) draw_sprites(screen->machine,bitmap,cliprect,primasks,48,-116);
243243#else
244   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[0],TILEMAP_DRAW_OPAQUE,0);
245   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[1],0,1);
246   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[2],0,2);
247   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[3],0,4);
248   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[4],0,8);   /* text layer */
244   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[0],TILEMAP_DRAW_OPAQUE,0);
245   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[1],0,1);
246   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[2],0,2);
247   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[3],0,4);
248   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[4],0,8);   /* text layer */
249249   draw_sprites(screen->machine,bitmap,cliprect,primasks,48,-116);
250250#endif
251251   return 0;
src/mame/video/taito_z.c
r5338r5339
248248               color,
249249               flipx,flipy,
250250               curx,cury,
251               zx<<12,zy<<13,priority_bitmap,primasks[priority],0);
251               zx<<12,zy<<13,machine->priority_bitmap,primasks[priority],0);
252252      }
253253
254254      if (bad_chunks)
r5338r5339
343343                  flipx,flipy,
344344                  curx,cury,
345345                  zx<<12,zy<<12,
346                  priority_bitmap,primasks[priority],0);
346                  machine->priority_bitmap,primasks[priority],0);
347347         }
348348      }
349349      else if ((zoomx-1) & 0x20)   /* 64x128 sprites, $40000-$5ffff in spritemap rom, OBJB */
r5338r5339
386386                  flipx,flipy,
387387                  curx,cury,
388388                  zx<<12,zy<<12,
389                  priority_bitmap,primasks[priority],0);
389                  machine->priority_bitmap,primasks[priority],0);
390390         }
391391      }
392392      else if (!((zoomx-1) & 0x60))   /* 32x128 sprites, $60000-$7ffff in spritemap rom, OBJB */
r5338r5339
429429                  flipx,flipy,
430430                  curx,cury,
431431                  zx<<12,zy<<12,
432                  priority_bitmap,primasks[priority],0);
432                  machine->priority_bitmap,primasks[priority],0);
433433         }
434434      }
435435
r5338r5339
522522               flipx,flipy,
523523               curx,cury,
524524               zx<<12,zy<<13,
525               priority_bitmap,primasks[priority],0);
525               machine->priority_bitmap,primasks[priority],0);
526526      }
527527
528528      if (bad_chunks)
r5338r5339
623623               flipx,flipy,
624624               curx,cury,
625625               zx<<12,zy<<13,
626               priority_bitmap,primasks[priority],0);
626               machine->priority_bitmap,primasks[priority],0);
627627      }
628628
629629      if (bad_chunks)
r5338r5339
714714               flipx,flipy,
715715               curx,cury,
716716               zx<<12,zy<<13,
717               priority_bitmap,primasks[priority],0);
717               machine->priority_bitmap,primasks[priority],0);
718718      }
719719
720720      if (bad_chunks)
r5338r5339
805805               flipx,flipy,
806806               curx,cury,
807807               zx<<12,zy<<13,
808               priority_bitmap,primasks[priority],0);
808               machine->priority_bitmap,primasks[priority],0);
809809      }
810810
811811      if (bad_chunks)
r5338r5339
847847   layer[1] = layer[0]^1;
848848   layer[2] = 2;
849849
850   bitmap_fill(priority_bitmap,cliprect,0);
850   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
851851
852852   bitmap_fill(bitmap, cliprect, 0);
853853
r5338r5339
873873   layer[1] = layer[0]^1;
874874   layer[2] = 2;
875875
876   bitmap_fill(priority_bitmap,cliprect,0);
876   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
877877
878878   /* Ensure screen blanked even when bottom layer not drawn due to disable bit */
879879   bitmap_fill(bitmap, cliprect, 0);
r5338r5339
898898   layer[1] = layer[0]^1;
899899   layer[2] = 2;
900900
901   bitmap_fill(priority_bitmap,cliprect,0);
901   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
902902
903903   /* Ensure screen blanked even when bottom layer not drawn due to disable bit */
904904   bitmap_fill(bitmap, cliprect,0);
r5338r5339
923923   layer[1] = layer[0]^1;
924924   layer[2] = 2;
925925
926   bitmap_fill(priority_bitmap,cliprect,0);
926   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
927927
928928   /* Ensure screen blanked even when bottom layer not drawn due to disable bit */
929929   bitmap_fill(bitmap, cliprect, 0);
r5338r5339
948948   layer[1] = layer[0]^1;
949949   layer[2] = 2;
950950
951   bitmap_fill(priority_bitmap,cliprect,0);
951   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
952952
953953   /* Ensure screen blanked even when bottom layer not drawn due to disable bit */
954954   bitmap_fill(bitmap, cliprect, 0);
r5338r5339
973973   layer[1] = layer[0]^1;
974974   layer[2] = 2;
975975
976   bitmap_fill(priority_bitmap,cliprect,0);
976   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
977977
978978   /* Ensure screen blanked even when bottom layer not drawn due to disable bit */
979979   bitmap_fill(bitmap, cliprect, 0);
r5338r5339
10031003   layer[3] = (priority &0x000f) >>  0;   /* tells us which is top */
10041004   layer[4] = 4;   /* text layer always over bg layers */
10051005
1006   bitmap_fill(priority_bitmap,cliprect,0);
1006   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
10071007
10081008   /* Ensure screen blanked - this shouldn't be necessary! */
10091009   bitmap_fill(bitmap, cliprect, 0);
10101010
1011   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[0],TILEMAP_DRAW_OPAQUE,0);
1012   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[1],0,0);
1013   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[2],0,1);
1011   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[0],TILEMAP_DRAW_OPAQUE,0);
1012   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[1],0,0);
1013   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[2],0,1);
10141014
10151015   TC0150ROD_draw(screen->machine,bitmap,cliprect,-1,0xc0,0,0,1,2);
10161016   bshark_draw_sprites_16x8(screen->machine, bitmap,cliprect,7);
10171017
10181018   /* This layer used for the big numeric displays */
1019   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[3],0,4);
1019   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[3],0,4);
10201020
1021   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[4],0,0);   /* Text layer */
1021   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[4],0,0);   /* Text layer */
10221022   return 0;
10231023}
src/mame/video/rastan.c
r5338r5339
102102   layer[0] = 0;
103103   layer[1] = 1;
104104
105   bitmap_fill(priority_bitmap,cliprect,0);
105   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
106106
107107    PC080SN_tilemap_draw(bitmap,cliprect,0,layer[0],TILEMAP_DRAW_OPAQUE,1);
108108   PC080SN_tilemap_draw(bitmap,cliprect,0,layer[1],0,2);
r5338r5339
122122   layer[0] = 0;
123123   layer[1] = 1;
124124
125   bitmap_fill(priority_bitmap,cliprect,0);
125   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
126126
127127    PC080SN_tilemap_draw(bitmap,cliprect,0,layer[0],TILEMAP_DRAW_OPAQUE,1);
128128   PC080SN_tilemap_draw(bitmap,cliprect,0,layer[1],0,2);
r5338r5339
146146   layer[0] = 0;
147147   layer[1] = 1;
148148
149   bitmap_fill(priority_bitmap,cliprect,0);
149   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
150150
151151   PC080SN_tilemap_draw(bitmap,cliprect,0,layer[0],TILEMAP_DRAW_OPAQUE,1);
152152   PC080SN_tilemap_draw(bitmap,cliprect,0,layer[1],0,2);
r5338r5339
178178   layer[0] = 0;
179179   layer[1] = 1;
180180
181   bitmap_fill(priority_bitmap,cliprect,0);
181   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
182182
183183    PC080SN_tilemap_draw(bitmap,cliprect,0,layer[0],TILEMAP_DRAW_OPAQUE,0);
184184
src/mame/video/gijoe.c
r5338r5339
144144   sortlayers(layer, layer_pri);
145145
146146   bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
147   bitmap_fill(priority_bitmap, cliprect, 0);
147   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
148148
149149   K056832_tilemap_draw(screen->machine, bitmap,cliprect, layer[0], 0, 1);
150150   K056832_tilemap_draw(screen->machine, bitmap,cliprect, layer[1], 0, 2);
src/mame/video/boogwing.c
r5338r5339
163163   /* Draw playfields */
164164   deco16_clear_sprite_priority_bitmap();
165165   bitmap_fill(bitmap,cliprect,screen->machine->pens[0x400]); /* pen not confirmed */
166   bitmap_fill(priority_bitmap,NULL,0);
166   bitmap_fill(screen->machine->priority_bitmap,NULL,0);
167167
168168   // bit&0x8 is definitely some kind of palette effect
169169   // bit&0x4 combines playfields
src/mame/video/gradius3.c
r5338r5339
121121
122122   K052109_tilemap_update();
123123
124   bitmap_fill(priority_bitmap,cliprect,0);
124   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
125125   if (gradius3_priority == 0)
126126   {
127127      tilemap_draw(bitmap,cliprect,K052109_tilemap[1],TILEMAP_DRAW_OPAQUE,2);
src/mame/video/pk8000.c
r0r5339
1#include "driver.h"
2
3static UINT8 pk8000_text_start;
4static UINT8 pk8000_chargen_start;
5static UINT8 pk8000_video_start;
6static UINT8 pk8000_color_start;
7
8UINT8 pk8000_video_mode;
9static UINT8 pk8000_video_color;
10static UINT8 pk8000_color[32];
11UINT8 pk8000_video_enable;
12
13READ8_HANDLER(pk8000_video_color_r)
14{
15   return pk8000_video_color;
16}
17
18WRITE8_HANDLER(pk8000_video_color_w)
19{
20   pk8000_video_color = data;
21}
22
23READ8_HANDLER(pk8000_text_start_r)
24{
25   return pk8000_text_start;
26}
27
28WRITE8_HANDLER(pk8000_text_start_w)
29{
30   pk8000_text_start = data;
31}
32
33READ8_HANDLER(pk8000_chargen_start_r)
34{
35   return pk8000_chargen_start;
36}
37
38WRITE8_HANDLER(pk8000_chargen_start_w)
39{
40   pk8000_chargen_start = data;
41}
42
43READ8_HANDLER(pk8000_video_start_r)
44{
45   return pk8000_video_start;
46}
47
48WRITE8_HANDLER(pk8000_video_start_w)
49{
50   pk8000_video_start = data;
51}
52
53READ8_HANDLER(pk8000_color_start_r)
54{
55   return pk8000_color_start;
56}
57
58WRITE8_HANDLER(pk8000_color_start_w)
59{
60   pk8000_color_start = data;
61}
62
63READ8_HANDLER(pk8000_color_r)
64{
65   return pk8000_color[offset];
66}
67
68WRITE8_HANDLER(pk8000_color_w)
69{
70   pk8000_color[offset] = data;
71}
72
73static const rgb_t pk8000_palette[16] = {
74   MAKE_RGB(0x00, 0x00, 0x00), // 0
75   MAKE_RGB(0x00, 0x00, 0x00), // 1
76   MAKE_RGB(0x00, 0xc0, 0x00), // 2
77   MAKE_RGB(0x00, 0xff, 0x00), // 3
78   MAKE_RGB(0x00, 0x00, 0xc0), // 4
79   MAKE_RGB(0x00, 0x00, 0xff), // 5
80   MAKE_RGB(0x00, 0xc0, 0xc0), // 6
81   MAKE_RGB(0x00, 0xff, 0xff), // 7
82   MAKE_RGB(0xc0, 0x00, 0x00), // 8
83   MAKE_RGB(0xff, 0x00, 0x00), // 9
84   MAKE_RGB(0xc0, 0xc0, 0x00), // A
85   MAKE_RGB(0xff, 0xff, 0x00), // B
86   MAKE_RGB(0xc0, 0x00, 0xc0), // C
87   MAKE_RGB(0xff, 0x00, 0xff), // D
88   MAKE_RGB(0xc0, 0xc0, 0xc0), // E
89   MAKE_RGB(0xff, 0xff, 0xff),   // F
90};
91
92PALETTE_INIT( pk8000 )
93{
94   palette_set_colors(machine, 0, pk8000_palette, ARRAY_LENGTH(pk8000_palette));
95}
96
97UINT32 pk8000_video_update(const device_config *screen, bitmap_t *bitmap, const rectangle *cliprect, UINT8 *videomem)
98{
99   int x,y,j,b;
100   UINT16 offset = (pk8000_video_mode & 0xc0) << 8;
101   rectangle my_rect;
102   my_rect.min_x = 0;
103   my_rect.max_x = 256+32-1;
104   my_rect.min_y = 0;
105   my_rect.max_y = 192+32-1;
106
107   if (pk8000_video_enable) {
108      bitmap_fill(bitmap, &my_rect, (pk8000_video_color >> 4) & 0x0f);
109
110      if (BIT(pk8000_video_mode,4)==0){
111         // Text mode
112         if (BIT(pk8000_video_mode,5)==0){
113            // 32 columns
114            for (y = 0; y < 24; y++)
115            {
116               for (x = 0; x < 32; x++)
117               {
118                  UINT8 chr  = videomem[x +(y*32) + ((pk8000_text_start & 0x0f) << 10)+offset] ;
119                  UINT8 color= pk8000_color[chr>>3];
120                  for (j = 0; j < 8; j++) {
121                     UINT8 code = videomem[((chr<<3) + j) + ((pk8000_chargen_start & 0x0e) << 10)+offset];
122
123                     for (b = 0; b < 8; b++)
124                     {
125                        UINT8 col = (code >> b) & 0x01 ? (color & 0x0f) : ((color>>4) & 0x0f);
126                        *BITMAP_ADDR16(bitmap, (y*8)+j+16, x*8+(7-b)+16) =  col;
127                     }
128                  }
129               }
130            }
131         } else {
132            // 40 columns
133            for (y = 0; y < 24; y++)
134            {
135               for (x = 0; x < 42; x++)
136               {
137                  UINT8 chr = videomem[x +(y*64) + ((pk8000_text_start & 0x0e) << 10)+offset] ;
138                  for (j = 0; j < 8; j++) {
139                     UINT8 code = videomem[((chr<<3) + j) + ((pk8000_chargen_start  & 0x0e) << 10)+offset];
140                     for (b = 2; b < 8; b++)
141                     {
142                        UINT8 col = ((code >> b) & 0x01) ? (pk8000_video_color) & 0x0f : (pk8000_video_color>>4) & 0x0f;
143                        *BITMAP_ADDR16(bitmap, (y*8)+j+16, x*6+(7-b)+16+8) =  col;
144                     }
145                  }
146               }
147            }
148         }
149      } else {
150         //Graphics
151         for (y = 0; y < 24; y++)
152         {
153            UINT16 off_color = (((~pk8000_color_start) & 0x08) << 10)+offset + ((y>>3)<<11);
154            UINT16 off_code  = (((~pk8000_video_start) & 0x08) << 10)+offset + ((y>>3)<<11);
155            for (x = 0; x < 32; x++)
156            {
157               UINT8 chr  = videomem[x +(y*32) + ((pk8000_chargen_start & 0x0e) << 10)+offset] ;
158               for (j = 0; j < 8; j++) {
159                  UINT8 color= videomem[((chr<<3) + j)+off_color];
160                  UINT8 code = videomem[((chr<<3) + j)+off_code];
161
162                  for (b = 0; b < 8; b++)
163                  {
164                     UINT8 col = (code >> b) & 0x01 ? (color & 0x0f) : ((color>>4) & 0x0f);
165                     *BITMAP_ADDR16(bitmap, (y*8)+j+16, x*8+(7-b)+16) =  col;
166                  }
167               }
168            }
169         }
170      }
171   } else {
172      // Disabled video
173      bitmap_fill(bitmap, &my_rect, 0);
174   }
175    return 0;
176}
src/mame/video/segas24.c
r5338r5339
3131      return 0;
3232   }
3333
34   bitmap_fill(priority_bitmap, 0, 0);
34   bitmap_fill(screen->machine->priority_bitmap, 0, 0);
3535   bitmap_fill(bitmap, cliprect, 0);
3636
3737   for(i=0; i<12; i++)
r5338r5339
4747         level++;
4848      }
4949
50   sys24_sprite_draw(bitmap, cliprect, spri);
50   sys24_sprite_draw(screen->machine, bitmap, cliprect, spri);
5151   return 0;
5252}
src/mame/video/segas16a.c
r5338r5339
4646   }
4747
4848   /* reset priorities */
49   bitmap_fill(priority_bitmap, cliprect, 0);
49   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
5050
5151   /* draw background opaquely first, not setting any priorities */
5252   segaic16_tilemap_draw(screen, bitmap, cliprect, 0, SEGAIC16_TILEMAP_BACKGROUND, 0 | TILEMAP_DRAW_OPAQUE, 0x00);
src/mame/video/segahang.c
r5338r5339
6565   }
6666
6767   /* reset priorities */
68   bitmap_fill(priority_bitmap, cliprect, 0);
68   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
6969
7070   /* draw the low priority road layer */
7171   segaic16_road_draw(0, bitmap, cliprect, SEGAIC16_ROAD_BACKGROUND);
src/mame/video/konamigx.c
r5338r5339
329329{
330330   K056832_vh_start(machine, "gfx1", K056832_BPP_6, 1, NULL, konamigx_type2_tile_callback, 0);
331331
332   if (!strcmp(machine->gamedrv->name,"salmndr2") || !strcmp(machine->gamedrv->name,"salmnd2a"))
332   if (!strcmp(machine->gamedrv->name,"salmndr2") || !strcmp(machine->gamedrv->name,"salmndr2a"))
333333   {
334334      K055673_vh_start(machine, "gfx2", K055673_LAYOUT_GX6, -48, -23, konamigx_salmndr2_sprite_callback);
335335
r5338r5339
378378
379379   // urgh.. the priority bitmap is global, and because our temp bitmaps are bigger than the screen, this causes issues.. so just allocate something huge
380380   // until there is a better solution, or priority bitmap can be specified manually.
381   priority_bitmap = auto_bitmap_alloc(machine,2048,2048,BITMAP_FORMAT_INDEXED16);
381   machine->priority_bitmap = auto_bitmap_alloc(machine,2048,2048,BITMAP_FORMAT_INDEXED16);
382382
383383}
384384
r5338r5339
419419
420420   // urgh.. the priority bitmap is global, and because our temp bitmaps are bigger than the screen, this causes issues.. so just allocate something huge
421421   // until there is a better solution, or priority bitmap can be specified manually.
422   priority_bitmap = auto_bitmap_alloc(machine,2048,2048,BITMAP_FORMAT_INDEXED16);
422   machine->priority_bitmap = auto_bitmap_alloc(machine,2048,2048,BITMAP_FORMAT_INDEXED16);
423423
424424
425425}
src/mame/video/thunderj.c
r5338r5339
154154
155155VIDEO_UPDATE( thunderj )
156156{
157   bitmap_t *priority_bitmap = screen->machine->priority_bitmap;
157158   atarimo_rect_list rectlist;
158159   bitmap_t *mobitmap;
159160   int x, y, r;
src/mame/video/parodius.c
r5338r5339
8787
8888   sortlayers(layer,layerpri);
8989
90   bitmap_fill(priority_bitmap,cliprect,0);
90   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
9191   bitmap_fill(bitmap,cliprect,16 * bg_colorbase);
9292   tilemap_draw(bitmap,cliprect,K052109_tilemap[layer[0]],0,1);
9393   tilemap_draw(bitmap,cliprect,K052109_tilemap[layer[1]],0,2);
src/mame/video/combatsc.c
r5338r5339
516516   tilemap_set_scrolly(bg_tilemap[0],0,K007121_ctrlram[0][0x02]);
517517   tilemap_set_scrolly(bg_tilemap[1],0,K007121_ctrlram[1][0x02]);
518518
519   bitmap_fill(priority_bitmap,cliprect,0);
519   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
520520
521521   if (priority == 0)
522522   {
src/mame/video/ppu2c0x.c
r5338r5339
470470            plane2 = plane2 << 1;
471471            if ((start_x + i) >= 0 && (start_x + i) < VISIBLE_SCREEN_WIDTH)
472472            {
473               
473
474474               if (pix)
475475               {
476476                  pen = paldata[pix];
r5338r5339
599599      /* compute the character's line to draw */
600600      sprite_line = scanline - spriteYPos;
601601
602     
602
603603      if (flipy)
604604         sprite_line = (size - 1) - sprite_line;
605605
r5338r5339
618618      plane1 = memory_read_byte(device->space[0], (index1 + sprite_line) & 0x1fff);
619619      plane2 = memory_read_byte(device->space[0], (index1 + sprite_line + 8) & 0x1fff);
620620
621//      sd = gfx_element_get_data(device->machine->gfx[gfx_bank], index1 % total_elements) + start;
622//      if (size > 8)
623//         gfx_element_get_data(device->machine->gfx[gfx_bank], (index1 + 1) % total_elements);
621//      sd = gfx_element_get_data(device->machine->gfx[gfx_bank], index1 % total_elements) + start;
622//      if (size > 8)
623//          gfx_element_get_data(device->machine->gfx[gfx_bank], (index1 + 1) % total_elements);
624624
625625      if (pri)
626626      {
627627         /* draw the low-priority sprites */
628628         for (pixel = 0; pixel < 8; pixel++)
629629         {
630//            UINT8 pixelData = flipx ? sd[7-pixel] : sd[pixel];
630//              UINT8 pixelData = flipx ? sd[7-pixel] : sd[pixel];
631631            UINT8 pixelData;
632632            if (flipx)
633633            {
r5338r5339
998998
999999/*************************************
10001000*
1001*   PPU Memory functions
1001*   PPU Memory functions
10021002*
10031003*************************************/
10041004
r5338r5339
12781278   {
12791279      UINT8 spriteData = memory_read_byte(space, address + i);
12801280      memory_write_byte(space, 0x2004, spriteData);
1281//      ppu2c0x_w(device, PPU_SPRITE_DATA, spriteData);
1281//      ppu2c0x_w(device, PPU_SPRITE_DATA, spriteData);
12821282   }
12831283
12841284   // should last 513 CPU cycles.
src/mame/video/taito_f2.c
r5338r5339
373373{
374374   int pal_base = gfx->color_base + gfx->color_granularity * (color % gfx->total_colors);
375375   const UINT8 *source_base = gfx_element_get_data(gfx, code % gfx->total_elements);
376
376   bitmap_t *priority_bitmap = gfx->machine->priority_bitmap;
377377   int sprite_screen_height = (scaley*gfx->height+0x8000)>>16;
378378   int sprite_screen_width = (scalex*gfx->width+0x8000)>>16;
379379
r5338r5339
880880               sprite_ptr->flipx,sprite_ptr->flipy,
881881               sprite_ptr->x,sprite_ptr->y,
882882               sprite_ptr->zoomx,sprite_ptr->zoomy,
883               priority_bitmap,sprite_ptr->primask,0);
883               machine->priority_bitmap,sprite_ptr->primask,0);
884884      else
885885         taito_f2_tc360_spritemixdraw(bitmap,cliprect,machine->gfx[0],
886886               sprite_ptr->code,
r5338r5339
10451045
10461046   /* SSI only uses sprites, the tilemap registers are not even initialized.
10471047       (they are in Majestic 12, but the tilemaps are not used anyway) */
1048   bitmap_fill(priority_bitmap,cliprect,0);
1048   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
10491049   bitmap_fill(bitmap,cliprect,0);
10501050   draw_sprites(screen->machine, bitmap,cliprect,NULL, 0);
10511051   return 0;
r5338r5339
10581058
10591059   TC0100SCN_tilemap_update(screen->machine);
10601060
1061   bitmap_fill(priority_bitmap,cliprect,0);
1061   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
10621062   bitmap_fill(bitmap,cliprect,0);   /* wrong color? */
10631063   draw_sprites(screen->machine, bitmap,cliprect,NULL, 0);
10641064   TC0100SCN_tilemap_draw(screen->machine,bitmap,cliprect,0,TC0100SCN_bottomlayer(0),0,0);
r5338r5339
10741074
10751075   TC0100SCN_tilemap_update(screen->machine);
10761076
1077   bitmap_fill(priority_bitmap,cliprect,0);
1077   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
10781078   bitmap_fill(bitmap,cliprect,0);   /* wrong color? */
10791079   TC0100SCN_tilemap_draw(screen->machine,bitmap,cliprect,0,TC0100SCN_bottomlayer(0),0,0);
10801080   TC0100SCN_tilemap_draw(screen->machine,bitmap,cliprect,0,TC0100SCN_bottomlayer(0)^1,0,0);
r5338r5339
11061106
11071107   f2_spriteblendmode = TC0360PRI_regs[0]&0xc0;
11081108
1109   bitmap_fill(priority_bitmap,cliprect,0);
1109   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
11101110   bitmap_fill(bitmap,cliprect,0);   /* wrong color? */
11111111
11121112   TC0100SCN_tilemap_draw(screen->machine,bitmap,cliprect,0,layer[0],0,1);
r5338r5339
11651165
11661166   f2_spriteblendmode = TC0360PRI_regs[0]&0xc0;
11671167
1168   bitmap_fill(priority_bitmap,cliprect,0);
1168   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
11691169   bitmap_fill(bitmap,cliprect,0);   /* wrong color? */
11701170
11711171   drawn=0;
r5338r5339
12281228   spritepri[3] = TC0360PRI_regs[7] >> 4;
12291229
12301230
1231   bitmap_fill(priority_bitmap,cliprect,0);
1231   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
12321232   bitmap_fill(bitmap,cliprect,0);   /* wrong color? */
12331233
12341234
r5338r5339
13611361
13621362   f2_spriteblendmode = TC0360PRI_regs[0]&0xc0;
13631363
1364   bitmap_fill(priority_bitmap,cliprect,0);
1364   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
13651365   bitmap_fill(bitmap,cliprect,0);
13661366
1367   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[0],0,1);
1368   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[1],0,2);
1369   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[2],0,4);
1370   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[3],0,8);
1371   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[4],0,16);
1367   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[0],0,1);
1368   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[1],0,2);
1369   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[2],0,4);
1370   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[3],0,8);
1371   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[4],0,16);
13721372
13731373   draw_sprites(screen->machine, bitmap,cliprect,NULL,1);
13741374   return 0;
r5338r5339
14081408   spritepri[2] = TC0360PRI_regs[7] & 0x0f;
14091409   spritepri[3] = TC0360PRI_regs[7] >> 4;
14101410
1411   bitmap_fill(priority_bitmap,cliprect,0);
1411   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
14121412   bitmap_fill(bitmap,cliprect,0);
14131413
1414   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[0],0,1);
1415   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[1],0,2);
1416   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[2],0,4);
1417   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[3],0,8);
1414   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[0],0,1);
1415   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[1],0,2);
1416   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[2],0,4);
1417   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[3],0,8);
14181418
14191419   {
14201420      int primasks[4] = {0,0,0,0};
r5338r5339
14371437    that the FG layer is always on top of sprites.
14381438    */
14391439
1440   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[4],0,0);
1440   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[4],0,0);
14411441   return 0;
14421442}
src/mame/video/stfight.c
r5338r5339
286286                color,
287287                flipx,flip_screen_get(machine),
288288                sx,sy,
289                 priority_bitmap,
289                 machine->priority_bitmap,
290290                pri ? 0x02 : 0,0x0f);
291291      }
292292   }
r5338r5339
297297{
298298   set_pens(screen->machine->colortable);
299299
300   bitmap_fill(priority_bitmap,cliprect,0);
300   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
301301
302302   bitmap_fill(bitmap,cliprect,0);   /* in case bg_tilemap is disabled */
303303    tilemap_draw(bitmap,cliprect,bg_tilemap,0,0);
src/mame/video/asterix.c
r5338r5339
116116
117117   sortlayers(layer, layerpri);
118118
119   bitmap_fill(priority_bitmap, cliprect, 0);
119   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
120120   bitmap_fill(bitmap, cliprect, 0);
121121
122122   K056832_tilemap_draw(screen->machine, bitmap, cliprect, layer[0], 0, 1);
src/mame/video/moo.c
r5338r5339
146146   K054338_update_all_shadows(screen->machine);
147147   K054338_fill_backcolor(screen->machine, bitmap, 0);
148148
149   bitmap_fill(priority_bitmap,cliprect,0);
149   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
150150
151151   if (layerpri[0] < K053251_get_priority(K053251_CI1))   /* bucky hides back layer behind background */
152152      K056832_tilemap_draw(screen->machine, bitmap, cliprect, layers[0], 0, 1);
src/mame/video/taito_l.c
r5338r5339
282282            color,
283283            flipx,flipy,
284284            sx,sy,
285            priority_bitmap,
285            machine->priority_bitmap,
286286            (color & 0x08) ? 0xaa : 0x00,0);
287287   }
288288}
r5338r5339
310310
311311   if (cur_ctrl & 0x20)   /* display enable */
312312   {
313      bitmap_fill(priority_bitmap,cliprect,0);
313      bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
314314
315315      tilemap_draw(bitmap,cliprect,bg19_tilemap,0,0);
316316
src/mame/video/groundfx.c
r5338r5339
209209            sprite_ptr->flipx,sprite_ptr->flipy,
210210            sprite_ptr->x,sprite_ptr->y,
211211            sprite_ptr->zoomx,sprite_ptr->zoomy,
212            priority_bitmap,primasks[sprite_ptr->pri],0);
212            machine->priority_bitmap,primasks[sprite_ptr->pri],0);
213213   }
214214}
215215
r5338r5339
239239   pivlayer[1] = pivlayer[0]^1;
240240   pivlayer[2] = 2;
241241
242   bitmap_fill(priority_bitmap,cliprect,0);
242   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
243243   bitmap_fill(bitmap,cliprect,0);   /* wrong color? */
244244
245245   TC0100SCN_tilemap_draw(screen->machine,bitmap,cliprect,0,pivlayer[0],TILEMAP_DRAW_OPAQUE,0);
r5338r5339
262262
263263    */
264264   if (TC0100SCN_long_r(space,0x4090/4,0xffffffff) || TC0480SCP_long_r(space,0x20/4,0xffffffff)==0x240866) { /* Anything in text layer - really stupid hack */
265      TC0480SCP_tilemap_draw(bitmap,cliprect,layer[1],0,2);
266      TC0480SCP_tilemap_draw(bitmap,cliprect,layer[2],0,4);
267      TC0480SCP_tilemap_draw(bitmap,cliprect,layer[3],0,8);
268//      TC0100SCN_tilemap_draw(machine,bitmap,cliprect,0,pivlayer[2],0,0);
265      TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[1],0,2);
266      TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[2],0,4);
267      TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[3],0,8);
268      //TC0100SCN_tilemap_draw(screen->machine,bitmap,cliprect,0,pivlayer[2],0,0);
269269      if (TC0480SCP_long_r(space,0x20/4,0xffffffff)!=0x240866) /* Stupid hack for start of race */
270         TC0480SCP_tilemap_draw(bitmap,&hack_cliprect,layer[0],0,0);
270         TC0480SCP_tilemap_draw(screen->machine,bitmap,&hack_cliprect,layer[0],0,0);
271271      draw_sprites(screen->machine,bitmap,cliprect,1,44,-574);
272272   } else {
273      TC0480SCP_tilemap_draw(bitmap,cliprect,layer[0],0,1);
274      TC0480SCP_tilemap_draw(bitmap,cliprect,layer[1],0,2);
275      TC0480SCP_tilemap_draw(bitmap,cliprect,layer[2],0,4);
276      TC0480SCP_tilemap_draw(bitmap,cliprect,layer[3],0,8);
273      TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[0],0,1);
274      TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[1],0,2);
275      TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[2],0,4);
276      TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[3],0,8);
277277      TC0100SCN_tilemap_draw(screen->machine,bitmap,cliprect,0,pivlayer[2],0,0);
278278      draw_sprites(screen->machine,bitmap,cliprect,0,44,-574);
279279   }
280280
281   TC0480SCP_tilemap_draw(bitmap,cliprect,layer[4],0,0);   /* TC0480SCP text layer */
281   TC0480SCP_tilemap_draw(screen->machine,bitmap,cliprect,layer[4],0,0);   /* TC0480SCP text layer */
282282   return 0;
283283}
src/mame/video/m92.c
r5338r5339
345345                        colour,
346346                        !fx,!fy,
347347                        464-x,240-(y-i*16),
348                        priority_bitmap,pri_back,0);
348                        machine->priority_bitmap,pri_back,0);
349349
350350                  // wrap around x
351351                  pdrawgfx_transpen(bitmap,cliprect,machine->gfx[1],
r5338r5339
353353                        colour,
354354                        !fx,!fy,
355355                        464-x+512,240-(y-i*16),
356                        priority_bitmap,pri_back,0);
356                        machine->priority_bitmap,pri_back,0);
357357               } else {
358358                  pdrawgfx_transpen(bitmap,cliprect,machine->gfx[1],
359359                        sprite + s_ptr,
360360                        colour,
361361                        fx,fy,
362362                        x,y-i*16,
363                        priority_bitmap,pri_back,0);
363                        machine->priority_bitmap,pri_back,0);
364364
365365                  // wrap around x
366366                  pdrawgfx_transpen(bitmap,cliprect,machine->gfx[1],
r5338r5339
368368                        colour,
369369                        fx,fy,
370370                        x-512,y-i*16,
371                        priority_bitmap,pri_back,0);
371                        machine->priority_bitmap,pri_back,0);
372372               }
373373               if (fy) s_ptr++; else s_ptr--;
374374            }
r5338r5339
430430
431431static void m92_screenrefresh(running_machine *machine, bitmap_t *bitmap,const rectangle *cliprect)
432432{
433   bitmap_fill(priority_bitmap, cliprect, 0);
433   bitmap_fill(machine->priority_bitmap, cliprect, 0);
434434
435435   if ((~pf_master_control[2] >> 4) & 1)
436436   {
src/mame/video/vendetta.c
r5338r5339
114114
115115   sortlayers(layer,layerpri);
116116
117   bitmap_fill(priority_bitmap,cliprect,0);
117   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
118118   tilemap_draw(bitmap,cliprect,K052109_tilemap[layer[0]],TILEMAP_DRAW_OPAQUE,1);
119119   tilemap_draw(bitmap,cliprect,K052109_tilemap[layer[1]],0,2);
120120   tilemap_draw(bitmap,cliprect,K052109_tilemap[layer[2]],0,4);
src/mame/video/segas16b.c
r5338r5339
5858   }
5959
6060   /* reset priorities */
61   bitmap_fill(priority_bitmap, cliprect, 0);
61   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
6262
6363   /* draw background opaquely first, not setting any priorities */
6464   segaic16_tilemap_draw(screen, bitmap, cliprect, 0, SEGAIC16_TILEMAP_BACKGROUND, 0 | TILEMAP_DRAW_OPAQUE, 0x00);
src/mame/video/pktgaldx.c
r5338r5339
8888   deco16_pf12_update(deco16_pf1_rowscroll,deco16_pf2_rowscroll);
8989
9090   bitmap_fill(bitmap,cliprect,0); /* not Confirmed */
91   bitmap_fill(priority_bitmap,NULL,0);
91   bitmap_fill(screen->machine->priority_bitmap,NULL,0);
9292
9393   deco16_tilemap_2_draw(screen,bitmap,cliprect,0,0);
9494   draw_sprites(screen->machine,bitmap,cliprect);
src/mame/video/atarigx2.c
r5338r5339
225225
226226VIDEO_UPDATE( atarigx2 )
227227{
228   bitmap_t *priority_bitmap = screen->machine->priority_bitmap;
229
228230   /* draw the playfield */
229231   bitmap_fill(priority_bitmap, cliprect, 0);
230232   tilemap_draw(bitmap, cliprect, atarigen_playfield_tilemap, 0, 0);
src/mame/video/fuukifg2.c
r5338r5339
147147static void draw_sprites(const device_config *screen, bitmap_t *bitmap, const rectangle *cliprect)
148148{
149149   int offs;
150
150   const gfx_element *gfx = screen->machine->gfx[0];
151   bitmap_t *priority_bitmap = screen->machine->priority_bitmap;
151152   const rectangle *visarea = video_screen_get_visible_area(screen);
152153   int max_x =   visarea->max_x+1;
153154   int max_y =   visarea->max_y+1;
r5338r5339
202203         for (x = xstart; x != xend; x += xinc)
203204         {
204205            if (xzoom == (16*8) && yzoom == (16*8))
205               pdrawgfx_transpen(      bitmap,cliprect,screen->machine->gfx[0],
206               pdrawgfx_transpen(      bitmap,cliprect,gfx,
206207                           code++,
207208                           attr & 0x3f,
208209                           flipx, flipy,
r5338r5339
210211                           priority_bitmap,
211212                           pri_mask,15   );
212213            else
213               pdrawgfxzoom_transpen(   bitmap,cliprect,screen->machine->gfx[0],
214               pdrawgfxzoom_transpen(   bitmap,cliprect,gfx,
214215                           code++,
215216                           attr & 0x3f,
216217                           flipx, flipy,
r5338r5339
341342
342343   /* Actually, bg colour is simply the last pen i.e. 0x1fff -pjp */
343344   bitmap_fill(bitmap,cliprect,(0x800*4)-1);
344   bitmap_fill(priority_bitmap,cliprect,0);
345   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
345346
346347   fuuki16_draw_layer(bitmap,cliprect, tm_back,   0, 1);
347348   fuuki16_draw_layer(bitmap,cliprect, tm_middle, 0, 2);
src/mame/video/relief.c
r5338r5339
106106
107107VIDEO_UPDATE( relief )
108108{
109   bitmap_t *priority_bitmap = screen->machine->priority_bitmap;
109110   atarimo_rect_list rectlist;
110111   bitmap_t *mobitmap;
111112   int x, y, r;
src/mame/video/mcr.c
r5338r5339
277277         {
278278            const UINT8 *src = gfx_element_get_data(gfx, code) + gfx->line_modulo * (y ^ vflip);
279279            UINT16 *dst = BITMAP_ADDR16(bitmap, sy, 0);
280            UINT8 *pri = BITMAP_ADDR8(priority_bitmap, sy, 0);
280            UINT8 *pri = BITMAP_ADDR8(machine->priority_bitmap, sy, 0);
281281
282282            /* loop over columns */
283283            for (x = 0; x < 32; x++)
r5338r5339
347347         {
348348            const UINT8 *src = gfx_element_get_data(gfx, code) + gfx->line_modulo * (y ^ vflip);
349349            UINT16 *dst = BITMAP_ADDR16(bitmap, sy, 0);
350            UINT8 *pri = BITMAP_ADDR8(priority_bitmap, sy, 0);
350            UINT8 *pri = BITMAP_ADDR8(machine->priority_bitmap, sy, 0);
351351
352352            /* loop over columns */
353353            for (x = 0; x < 32; x++)
r5338r5339
389389   tilemap_set_flip(bg_tilemap, mcr_cocktail_flip ? (TILEMAP_FLIPX | TILEMAP_FLIPY) : 0);
390390
391391   /* draw the background */
392   bitmap_fill(priority_bitmap, cliprect, 0);
392   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
393393   tilemap_draw(bitmap, cliprect, bg_tilemap, 0, 0x00);
394394   tilemap_draw(bitmap, cliprect, bg_tilemap, 1, 0x10);
395395   tilemap_draw(bitmap, cliprect, bg_tilemap, 2, 0x20);
src/mame/video/twin16.c
r5338r5339
8282}
8383
8484/* slow slow slow, but it's ok for now */
85static void draw_sprite( bitmap_t *bitmap,const UINT16 *pen_data, int pal_base, int xpos, int ypos, int width, int height, int flipx, int flipy, int pri )
85static void draw_sprite( running_machine *machine, bitmap_t *bitmap,const UINT16 *pen_data, int pal_base, int xpos, int ypos, int width, int height, int flipx, int flipy, int pri )
8686{
8787   int x,y,pval;
8888   if( xpos>=320 ) xpos -= 65536;
r5338r5339
9696      if( sy>=16 && sy<256-16 )
9797      {
9898         UINT16 *dest = BITMAP_ADDR16(bitmap, sy, 0);
99         UINT8 *pdest = BITMAP_ADDR8(priority_bitmap, sy, 0);
99         UINT8 *pdest = BITMAP_ADDR8(machine->priority_bitmap, sy, 0);
100100
101101         for( x=0; x<width; x++ )
102102         {
r5338r5339
185185
186186 */
187187
188static void draw_sprites( bitmap_t *bitmap )
188static void draw_sprites( running_machine *machine, bitmap_t *bitmap )
189189{
190190   int count = 0;
191191
r5338r5339
271271         }
272272
273273         //if( sprite_which==count || !input_code_pressed( KEYCODE_B ) )
274         draw_sprite( bitmap, pen_data, pal_base, xpos, ypos, width, height, flipx, flipy, (attributes&0x4000) );
274         draw_sprite( machine, bitmap, pen_data, pal_base, xpos, ypos, width, height, flipx, flipy, (attributes&0x4000) );
275275      }
276276
277277      count++;
278278   }
279279}
280280
281static void draw_layer( bitmap_t *bitmap, int opaque )
281static void draw_layer( running_machine *machine, bitmap_t *bitmap, int opaque )
282282{
283283   const UINT16 *gfx_base;
284284   const UINT16 *source = videoram16;
r5338r5339
374374            {
375375               const UINT16 *gfxptr = gfx_data + ((y - ypos) ^ yxor) * 2;
376376               UINT16 *dest = BITMAP_ADDR16(bitmap, y, 0);
377               UINT8 *pdest = BITMAP_ADDR8(priority_bitmap, y, 0);
377               UINT8 *pdest = BITMAP_ADDR8(machine->priority_bitmap, y, 0);
378378
379379               for (x = x1; x <= x2; x++)
380380               {
r5338r5339
391391            {
392392               const UINT16 *gfxptr = gfx_data + ((y - ypos) ^ yxor) * 2;
393393               UINT16 *dest = BITMAP_ADDR16(bitmap, y, 0);
394               UINT8 *pdest = BITMAP_ADDR8(priority_bitmap, y, 0);
394               UINT8 *pdest = BITMAP_ADDR8(machine->priority_bitmap, y, 0);
395395
396396               for (x = x1; x <= x2; x++)
397397               {
r5338r5339
436436
437437VIDEO_UPDATE( twin16 )
438438{
439   bitmap_fill(priority_bitmap,cliprect,0);
440   draw_layer( bitmap,1 );
439   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
440   draw_layer( screen->machine, bitmap, 1 );
441441
442442   if (twin16_custom_video)
443443   {
444      draw_layer( bitmap,0 );
445      draw_sprites( bitmap );
444      draw_layer( screen->machine, bitmap, 0 );
445      draw_sprites( screen->machine, bitmap );
446446   }
447447   else   // devilw, vulcan - different priorities order? there should be an enable bit somewhere...
448448   {
449      draw_sprites( bitmap );
450      draw_layer( bitmap,0 );
449      draw_sprites( screen->machine, bitmap );
450      draw_layer( screen->machine, bitmap, 0 );
451451   }
452452
453453   tilemap_draw(bitmap, cliprect, fg_tilemap, 0, 0);
src/mame/video/megasys1.c
r5338r5339
626626                  color,
627627                  flipx, flipy,
628628                  sx, sy,
629                  priority_bitmap,
629                  machine->priority_bitmap,
630630                  (attr & 0x08) ? 0x0c : 0x0a,15);
631631         }   /* sprite */
632632      }   /* offs */
r5338r5339
666666               color,
667667               flipx, flipy,
668668               sx, sy,
669               priority_bitmap,
669               machine->priority_bitmap,
670670               (attr & 0x08) ? 0x0c : 0x0a,15);
671671      }   /* sprite */
672672   }   /* Z hw */
r5338r5339
981981      }
982982   }
983983
984   bitmap_fill(priority_bitmap,cliprect,0);
984   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
985985
986986   flag = TILEMAP_DRAW_OPAQUE;
987987   primask = 0;
src/mame/video/dooyong.c
r5338r5339
429429               color,
430430               flipx, flipy,
431431               sx, sy + (16 * (flipy ? (height - y) : y)),
432               priority_bitmap,
432               machine->priority_bitmap,
433433               pri, 15);
434434      }
435435   }
r5338r5339
495495                     color,
496496                     flipx, flipy,
497497                     _x, _y,
498                     priority_bitmap,
498                     machine->priority_bitmap,
499499                     pri, 15);
500500               code++;
501501            }
r5338r5339
508508VIDEO_UPDATE( lastday )
509509{
510510   bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
511   bitmap_fill(priority_bitmap, cliprect, 0);
511   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
512512
513513   tilemap_draw(bitmap, cliprect, bg_tilemap, 0, 1);
514514   tilemap_draw(bitmap, cliprect, fg_tilemap, 0, 2);
r5338r5339
522522VIDEO_UPDATE( gulfstrm )
523523{
524524   bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
525   bitmap_fill(priority_bitmap, cliprect, 0);
525   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
526526
527527   tilemap_draw(bitmap, cliprect, bg_tilemap, 0, 1);
528528   tilemap_draw(bitmap, cliprect, fg_tilemap, 0, 2);
r5338r5339
535535VIDEO_UPDATE( pollux )
536536{
537537   bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
538   bitmap_fill(priority_bitmap, cliprect, 0);
538   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
539539
540540   tilemap_draw(bitmap, cliprect, bg_tilemap, 0, 1);
541541   tilemap_draw(bitmap, cliprect, fg_tilemap, 0, 2);
r5338r5339
548548VIDEO_UPDATE( flytiger )
549549{
550550   bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
551   bitmap_fill(priority_bitmap, cliprect, 0);
551   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
552552
553553   if (flytiger_pri)
554554   {
r5338r5339
570570VIDEO_UPDATE( bluehawk )
571571{
572572   bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
573   bitmap_fill(priority_bitmap, cliprect, 0);
573   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
574574
575575   tilemap_draw(bitmap, cliprect, bg_tilemap, 0, 1);
576576   tilemap_draw(bitmap, cliprect, fg_tilemap, 0, 2);
r5338r5339
595595VIDEO_UPDATE( rshark )
596596{
597597   bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
598   bitmap_fill(priority_bitmap, cliprect, 0);
598   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
599599
600600   tilemap_draw(bitmap, cliprect, bg_tilemap, 0, 1);
601601   tilemap_draw(bitmap, cliprect, bg2_tilemap, 0, (rshark_pri ? 2 : 1));
r5338r5339
609609VIDEO_UPDATE( popbingo )
610610{
611611   bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
612   bitmap_fill(priority_bitmap, cliprect, 0);
612   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
613613
614614   tilemap_draw(bitmap, cliprect, bg_tilemap, 0, 1);
615615
src/mame/video/fuukifg3.c
r5338r5339
162162static void draw_sprites(const device_config *screen, bitmap_t *bitmap, const rectangle *cliprect)
163163{
164164   int offs;
165
165   const gfx_element *gfx = screen->machine->gfx[0];
166   bitmap_t *priority_bitmap = screen->machine->priority_bitmap;
166167   const rectangle *visarea = video_screen_get_visible_area(screen);
167168   int max_x =   visarea->max_x+1;
168169   int max_y =   visarea->max_y+1;
r5338r5339
234235         for (x = xstart; x != xend; x += xinc)
235236         {
236237            if (xzoom == (16*8) && yzoom == (16*8))
237               pdrawgfx_transpen(      bitmap,cliprect,screen->machine->gfx[0],
238               pdrawgfx_transpen(      bitmap,cliprect,gfx,
238239                           code++,
239240                           attr & 0x3f,
240241                           flipx, flipy,
r5338r5339
242243                           priority_bitmap,
243244                           pri_mask,15   );
244245            else
245               pdrawgfxzoom_transpen(   bitmap,cliprect,screen->machine->gfx[0],
246               pdrawgfxzoom_transpen(   bitmap,cliprect,gfx,
246247                           code++,
247248                           attr & 0x3f,
248249                           flipx, flipy,
r5338r5339
367368
368369   /* The bg colour is the last pen i.e. 0x1fff */
369370   bitmap_fill(bitmap,cliprect,(0x800*4)-1);
370   bitmap_fill(priority_bitmap,cliprect,0);
371   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
371372
372373   fuuki32_draw_layer(bitmap,cliprect, tm_back,   0, 1);
373374   fuuki32_draw_layer(bitmap,cliprect, tm_middle, 0, 2);
src/mame/video/asuka.c
r5338r5339
5353   layer[1] = layer[0]^1;
5454   layer[2] = 2;
5555
56   bitmap_fill(priority_bitmap,cliprect,0);
56   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
5757
5858   /* Ensure screen blanked even when bottom layer not drawn due to disable bit */
5959   bitmap_fill(bitmap, cliprect, 0);
r5338r5339
7878   layer[1] = layer[0]^1;
7979   layer[2] = 2;
8080
81   bitmap_fill(priority_bitmap,cliprect,0);
81   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
8282
8383   /* Ensure screen blanked even when bottom layer not drawn due to disable bit */
8484   bitmap_fill(bitmap, cliprect, 0);
src/mame/video/rollerg.c
r5338r5339
6868
6969VIDEO_UPDATE( rollerg )
7070{
71   bitmap_fill(priority_bitmap,cliprect,0);
71   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
7272   bitmap_fill(bitmap,cliprect,16 * bg_colorbase);
7373   K051316_zoom_draw_0(bitmap,cliprect,0,1);
7474   K053245_sprites_draw(screen->machine,0,bitmap,cliprect);
src/mame/video/segas18.c
r5338r5339
122122 *
123123 *************************************/
124124
125static void draw_vdp(bitmap_t *bitmap, const rectangle *cliprect, int priority)
125static void draw_vdp(const device_config *screen, bitmap_t *bitmap, const rectangle *cliprect, int priority)
126126{
127127   int x, y;
128   bitmap_t *priority_bitmap = screen->machine->priority_bitmap;
128129
129130   for (y = cliprect->min_y; y <= cliprect->max_y; y++)
130131   {
r5338r5339
214215      system18_vdp_update(tempbitmap, cliprect);
215216
216217   /* reset priorities */
217   bitmap_fill(priority_bitmap, cliprect, 0);
218   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
218219
219220   /* draw background opaquely first, not setting any priorities */
220221   segaic16_tilemap_draw(screen, bitmap, cliprect, 0, SEGAIC16_TILEMAP_BACKGROUND, 0 | TILEMAP_DRAW_OPAQUE, 0x00);
221222   segaic16_tilemap_draw(screen, bitmap, cliprect, 0, SEGAIC16_TILEMAP_BACKGROUND, 1 | TILEMAP_DRAW_OPAQUE, 0x00);
222   if (vdp_enable && vdplayer == 0) draw_vdp(bitmap, cliprect, vdppri);
223   if (vdp_enable && vdplayer == 0) draw_vdp(screen, bitmap, cliprect, vdppri);
223224
224225   /* draw background again to draw non-transparent pixels over the VDP and set the priority */
225226   segaic16_tilemap_draw(screen, bitmap, cliprect, 0, SEGAIC16_TILEMAP_BACKGROUND, 0, 0x01);
226227   segaic16_tilemap_draw(screen, bitmap, cliprect, 0, SEGAIC16_TILEMAP_BACKGROUND, 1, 0x02);
227   if (vdp_enable && vdplayer == 1) draw_vdp(bitmap, cliprect, vdppri);
228   if (vdp_enable && vdplayer == 1) draw_vdp(screen, bitmap, cliprect, vdppri);
228229
229230   /* draw foreground */
230231   segaic16_tilemap_draw(screen, bitmap, cliprect, 0, SEGAIC16_TILEMAP_FOREGROUND, 0, 0x02);
231232   segaic16_tilemap_draw(screen, bitmap, cliprect, 0, SEGAIC16_TILEMAP_FOREGROUND, 1, 0x04);
232   if (vdp_enable && vdplayer == 2) draw_vdp(bitmap, cliprect, vdppri);
233   if (vdp_enable && vdplayer == 2) draw_vdp(screen, bitmap, cliprect, vdppri);
233234
234235   /* text layer */
235236   segaic16_tilemap_draw(screen, bitmap, cliprect, 0, SEGAIC16_TILEMAP_TEXT, 0, 0x04);
236237   segaic16_tilemap_draw(screen, bitmap, cliprect, 0, SEGAIC16_TILEMAP_TEXT, 1, 0x08);
237   if (vdp_enable && vdplayer == 3) draw_vdp(bitmap, cliprect, vdppri);
238   if (vdp_enable && vdplayer == 3) draw_vdp(screen, bitmap, cliprect, vdppri);
238239
239240   /* draw the sprites */
240241   segaic16_sprites_draw(screen, bitmap, cliprect, 0);
src/mame/video/ajax.c
r5338r5339
9494{
9595   K052109_tilemap_update();
9696
97   bitmap_fill(priority_bitmap,cliprect,0);
97   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
9898
9999   bitmap_fill(bitmap,cliprect,get_black_pen(screen->machine));
100100   tilemap_draw(bitmap,cliprect,K052109_tilemap[2],0,1);
src/mame/video/nmk16.c
r5338r5339
1010#include "driver.h"
1111#include "includes/nmk16.h"
1212
13UINT16 *nmk_bgvideoram,*nmk_fgvideoram,*nmk_txvideoram;
13// the larger tilemaps on macross2, rapid hero and thunder dragon 2 appear to act like 4 'banks'
14// of the smaller tilemaps, rather than being able to scroll into each other (not verified on real hw,
15// but see raphero intro / 1st level cases)
16UINT16 *nmk_bgvideoram0;
17UINT16 *nmk_bgvideoram1;
18UINT16 *nmk_bgvideoram2;
19UINT16 *nmk_bgvideoram3;
20
21static int nmk16_simple_scroll = 1;
22
23UINT16 *nmk_fgvideoram,*nmk_txvideoram;
1424UINT16 *gunnail_scrollram, *gunnail_scrollramy;
25UINT16 *afega_scroll_0;
26UINT16 *afega_scroll_1;
1527
28
1629static int redraw_bitmap;
1730
1831static UINT16 *spriteram_old,*spriteram_old2;
r5338r5339
2134static int bioship_background_bank;
2235static UINT8 bioship_scroll[4];
2336
24static tilemap *bg_tilemap,*fg_tilemap,*tx_tilemap;
25static bitmap_t *background_bitmap;
37static tilemap *bg_tilemap0;
38static tilemap *bg_tilemap1;
39static tilemap *bg_tilemap2;
40static tilemap *bg_tilemap3;
41
42static tilemap *tx_tilemap;
43
44static tilemap *fg_tilemap; // strahl
45static bitmap_t *background_bitmap; // bioship
46
2647extern UINT16* nmk16_mainram;
2748
2849/***************************************************************************
r5338r5339
3152
3253***************************************************************************/
3354
34//not 100% right yet (check attract mode in raphero)
35static TILEMAP_MAPPER( bg_scan )
55#define TILES_PER_PAGE_X   (0x10)
56#define TILES_PER_PAGE_Y   (0x10)
57#define PAGES_PER_TMAP_X   (0x10)
58#define PAGES_PER_TMAP_Y   (0x02)
59
60static TILEMAP_MAPPER( afega_tilemap_scan_pages )
3661{
37   /* logical (col,row) -> memory offset */
62   return   (row / TILES_PER_PAGE_Y) * TILES_PER_PAGE_X * TILES_PER_PAGE_Y * PAGES_PER_TMAP_X +
63         (row % TILES_PER_PAGE_Y) +
3864
39   col = (col & 0xff) | ((col & 0x300)<<1);
40
41   return (row & 0x0f) + ((col & 0x6ff) << 4) + ((row & 0x70) << 8);
65         (col / TILES_PER_PAGE_X) * TILES_PER_PAGE_X * TILES_PER_PAGE_Y +
66         (col % TILES_PER_PAGE_X) * TILES_PER_PAGE_Y;
4267}
4368
44static TILEMAP_MAPPER( bg_scan_td2 )
45{
46   /* logical (col,row) -> memory offset */
47   return (row & 0x0f) + ((col & 0x3ff) << 4) + ((row & 0x70) << 10);
48}
69static TILE_GET_INFO( macross_get_bg0_tile_info ) { int code = nmk_bgvideoram0[tile_index]; SET_TILE_INFO(1,(code & 0xfff) + (bgbank << 12),code >> 12,0);}
70static TILE_GET_INFO( macross_get_bg1_tile_info ) { int code = nmk_bgvideoram1[tile_index]; SET_TILE_INFO(1,(code & 0xfff) + (bgbank << 12),code >> 12,0);}
71static TILE_GET_INFO( macross_get_bg2_tile_info ) { int code = nmk_bgvideoram2[tile_index]; SET_TILE_INFO(1,(code & 0xfff) + (bgbank << 12),code >> 12,0);}
72static TILE_GET_INFO( macross_get_bg3_tile_info ) { int code = nmk_bgvideoram3[tile_index]; SET_TILE_INFO(1,(code & 0xfff) + (bgbank << 12),code >> 12,0);}
4973
5074
51static TILE_GET_INFO( macross_get_bg_tile_info )
52{
53   int code = nmk_bgvideoram[tile_index];
54   SET_TILE_INFO(
55         1,
56         (code & 0xfff) + (bgbank << 12),
57         code >> 12,
58         0);
59}
60
6175static TILE_GET_INFO( strahl_get_fg_tile_info )
6276{
6377   int code = nmk_fgvideoram[tile_index];
r5338r5339
8094
8195static TILE_GET_INFO( bjtwin_get_bg_tile_info )
8296{
83   int code = nmk_bgvideoram[tile_index];
97   int code = nmk_bgvideoram0[tile_index];
8498   int bank = (code & 0x800) ? 1 : 0;
8599   SET_TILE_INFO(
86100         bank,
r5338r5339
89103         0);
90104}
91105
106static TILE_GET_INFO( get_tile_info_0_8bit )
107{
108   UINT16 code = nmk_bgvideoram0[tile_index];
109   SET_TILE_INFO(
110         1,
111         code,
112         0,
113         0);
114}
92115
93116
94117/***************************************************************************
r5338r5339
99122
100123VIDEO_START( bioship )
101124{
102   bg_tilemap = tilemap_create(machine, macross_get_bg_tile_info,bg_scan,16,16,256,32);
125   bg_tilemap0 = tilemap_create(machine, macross_get_bg0_tile_info, afega_tilemap_scan_pages,16,16,TILES_PER_PAGE_X*PAGES_PER_TMAP_X,TILES_PER_PAGE_Y*PAGES_PER_TMAP_Y);
103126   tx_tilemap = tilemap_create(machine, macross_get_tx_tile_info,tilemap_scan_cols,8,8,32,32);
104127   spriteram_old = auto_alloc_array_clear(machine, UINT16, 0x1000/2);
105128   spriteram_old2 = auto_alloc_array_clear(machine, UINT16, 0x1000/2);
106129   background_bitmap = auto_bitmap_alloc(machine,8192,512,video_screen_get_format(machine->primary_screen));
107130
108   tilemap_set_transparent_pen(bg_tilemap,15);
131   tilemap_set_transparent_pen(bg_tilemap0,15);
109132   tilemap_set_transparent_pen(tx_tilemap,15);
110133   bioship_background_bank=0;
111134   redraw_bitmap = 1;
r5338r5339
115138
116139VIDEO_START( strahl )
117140{
118   bg_tilemap = tilemap_create(machine, macross_get_bg_tile_info,bg_scan,16,16,256,32);
119   fg_tilemap = tilemap_create(machine, strahl_get_fg_tile_info, bg_scan,16,16,256,32);
141   bg_tilemap0 = tilemap_create(machine, macross_get_bg0_tile_info, afega_tilemap_scan_pages,16,16,TILES_PER_PAGE_X*PAGES_PER_TMAP_X,TILES_PER_PAGE_Y*PAGES_PER_TMAP_Y);
142   fg_tilemap = tilemap_create(machine, strahl_get_fg_tile_info, afega_tilemap_scan_pages,16,16,TILES_PER_PAGE_X*PAGES_PER_TMAP_X,TILES_PER_PAGE_Y*PAGES_PER_TMAP_Y);
120143   tx_tilemap = tilemap_create(machine, macross_get_tx_tile_info,tilemap_scan_cols,8,8,32,32);
121144   spriteram_old = auto_alloc_array_clear(machine, UINT16, 0x1000/2);
122145   spriteram_old2 = auto_alloc_array_clear(machine, UINT16, 0x1000/2);
r5338r5339
130153
131154VIDEO_START( macross )
132155{
133   bg_tilemap = tilemap_create(machine, macross_get_bg_tile_info,bg_scan,16,16,256,32);
156   bg_tilemap0 = tilemap_create(machine, macross_get_bg0_tile_info, afega_tilemap_scan_pages,16,16,TILES_PER_PAGE_X*PAGES_PER_TMAP_X,TILES_PER_PAGE_Y*PAGES_PER_TMAP_Y);
134157   tx_tilemap = tilemap_create(machine, macross_get_tx_tile_info,tilemap_scan_cols,8,8,32,32);
135158   spriteram_old = auto_alloc_array_clear(machine, UINT16, 0x1000/2);
136159   spriteram_old2 = auto_alloc_array_clear(machine, UINT16, 0x1000/2);
r5338r5339
143166
144167VIDEO_START( gunnail )
145168{
146   bg_tilemap = tilemap_create(machine, macross_get_bg_tile_info,bg_scan,16,16,256,32);
169   bg_tilemap0 = tilemap_create(machine, macross_get_bg0_tile_info, afega_tilemap_scan_pages,16,16,TILES_PER_PAGE_X*PAGES_PER_TMAP_X,TILES_PER_PAGE_Y*PAGES_PER_TMAP_Y);
147170   tx_tilemap = tilemap_create(machine, macross_get_tx_tile_info,tilemap_scan_cols,8,8,64,32);
148171   spriteram_old = auto_alloc_array_clear(machine, UINT16, 0x1000/2);
149172   spriteram_old2 = auto_alloc_array_clear(machine, UINT16, 0x1000/2);
150173
151174   tilemap_set_transparent_pen(tx_tilemap,15);
152   tilemap_set_scroll_rows(bg_tilemap,512);
175   tilemap_set_scroll_rows(bg_tilemap0,512);
153176
154177   videoshift = 64;   /* 384x224 screen, leftmost 64 pixels have to be retrieved */
155178                  /* from the other side of the tilemap (!) */
156179   background_bitmap = NULL;
180
181   nmk16_simple_scroll = 0;
157182}
158183
159184VIDEO_START( macross2 )
160185{
161   bg_tilemap = tilemap_create(machine, macross_get_bg_tile_info,bg_scan,16,16,1024,128);
186   bg_tilemap0 = tilemap_create(machine, macross_get_bg0_tile_info, afega_tilemap_scan_pages,16,16,TILES_PER_PAGE_X*PAGES_PER_TMAP_X,TILES_PER_PAGE_Y*PAGES_PER_TMAP_Y);
187   bg_tilemap1 = tilemap_create(machine, macross_get_bg1_tile_info, afega_tilemap_scan_pages,16,16,TILES_PER_PAGE_X*PAGES_PER_TMAP_X,TILES_PER_PAGE_Y*PAGES_PER_TMAP_Y);
188   bg_tilemap2 = tilemap_create(machine, macross_get_bg2_tile_info, afega_tilemap_scan_pages,16,16,TILES_PER_PAGE_X*PAGES_PER_TMAP_X,TILES_PER_PAGE_Y*PAGES_PER_TMAP_Y);
189   bg_tilemap3 = tilemap_create(machine, macross_get_bg3_tile_info, afega_tilemap_scan_pages,16,16,TILES_PER_PAGE_X*PAGES_PER_TMAP_X,TILES_PER_PAGE_Y*PAGES_PER_TMAP_Y);
190
162191   tx_tilemap = tilemap_create(machine, macross_get_tx_tile_info,tilemap_scan_cols,8,8,64,32);
163192   spriteram_old = auto_alloc_array_clear(machine, UINT16, 0x1000/2);
164193   spriteram_old2 = auto_alloc_array_clear(machine, UINT16, 0x1000/2);
r5338r5339
168197   videoshift = 64;   /* 384x224 screen, leftmost 64 pixels have to be retrieved */
169198                  /* from the other side of the tilemap (!) */
170199   background_bitmap = NULL;
200
201   nmk16_simple_scroll = 1;
171202}
172203
173VIDEO_START( tdragon2 )
204VIDEO_START( raphero )
174205{
175   bg_tilemap = tilemap_create(machine, macross_get_bg_tile_info,bg_scan_td2,16,16,1024,32);
176   tx_tilemap = tilemap_create(machine, macross_get_tx_tile_info,tilemap_scan_cols,8,8,64,32);
177   spriteram_old = auto_alloc_array_clear(machine, UINT16, 0x1000/2);
178   spriteram_old2 = auto_alloc_array_clear(machine, UINT16, 0x1000/2);
179
180   tilemap_set_transparent_pen(tx_tilemap,15);
181
182   videoshift = 64;   /* 384x224 screen, leftmost 64 pixels have to be retrieved */
183                  /* from the other side of the tilemap (!) */
184   background_bitmap = NULL;
206   VIDEO_START_CALL( macross2 );
207   nmk16_simple_scroll = 0;
185208}
186209
187210VIDEO_START( bjtwin )
188211{
189   bg_tilemap = tilemap_create(machine, bjtwin_get_bg_tile_info,tilemap_scan_cols,8,8,64,32);
212   bg_tilemap0 = tilemap_create(machine, bjtwin_get_bg_tile_info,tilemap_scan_cols,8,8,64,32);
213
190214   spriteram_old = auto_alloc_array_clear(machine, UINT16, 0x1000/2);
191215   spriteram_old2 = auto_alloc_array_clear(machine, UINT16, 0x1000/2);
192216
r5338r5339
203227
204228***************************************************************************/
205229
206WRITE16_HANDLER( nmk_bgvideoram_w )
207{
208   COMBINE_DATA(&nmk_bgvideoram[offset]);
209   tilemap_mark_tile_dirty(bg_tilemap,offset);
210}
230WRITE16_HANDLER( nmk_bgvideoram0_w ) { COMBINE_DATA(&nmk_bgvideoram0[offset]); tilemap_mark_tile_dirty(bg_tilemap0,offset); }
231WRITE16_HANDLER( nmk_bgvideoram1_w ) { COMBINE_DATA(&nmk_bgvideoram1[offset]); tilemap_mark_tile_dirty(bg_tilemap1,offset); }
232WRITE16_HANDLER( nmk_bgvideoram2_w ) { COMBINE_DATA(&nmk_bgvideoram2[offset]); tilemap_mark_tile_dirty(bg_tilemap2,offset); }
233WRITE16_HANDLER( nmk_bgvideoram3_w ) { COMBINE_DATA(&nmk_bgvideoram3[offset]); tilemap_mark_tile_dirty(bg_tilemap3,offset); }
211234
235
212236WRITE16_HANDLER( nmk_fgvideoram_w )
213237{
214238   COMBINE_DATA(&nmk_fgvideoram[offset]);
r5338r5339
247271         break;
248272   }
249273
250   tilemap_set_scrollx(bg_tilemap,0,mustang_bg_xscroll - videoshift);
274   tilemap_set_scrollx(bg_tilemap0,0,mustang_bg_xscroll - videoshift);
251275}
252276
253277WRITE16_HANDLER( bioshipbg_scroll_w )
r5338r5339
259283      scroll[offset] = (data >> 8) & 0xff;
260284
261285      if (offset & 2)
262         tilemap_set_scrolly(bg_tilemap,0,scroll[2] * 256 + scroll[3]);
286         tilemap_set_scrolly(bg_tilemap0,0,scroll[2] * 256 + scroll[3]);
263287      else
264         tilemap_set_scrollx(bg_tilemap,0,scroll[0] * 256 + scroll[1] - videoshift);
288         tilemap_set_scrollx(bg_tilemap0,0,scroll[0] * 256 + scroll[1] - videoshift);
265289   }
266290}
267291
r5338r5339
274298      scroll[offset] = data & 0xff;
275299
276300      if (offset & 2)
277         tilemap_set_scrolly(bg_tilemap,0,scroll[2] * 256 + scroll[3]);
301         tilemap_set_scrolly(bg_tilemap0,0,scroll[2] * 256 + scroll[3]);
278302      else
279         tilemap_set_scrollx(bg_tilemap,0,scroll[0] * 256 + scroll[1] - videoshift);
303         tilemap_set_scrollx(bg_tilemap0,0,scroll[0] * 256 + scroll[1] - videoshift);
280304   }
281305}
282306
r5338r5339
295319   }
296320}
297321
298WRITE16_HANDLER( nmk_scroll_3_w )
299{
300   COMBINE_DATA(&gunnail_scrollram[offset]);
301
302//  popmessage( "scroll %04x, %04x", gunnail_scrollram[0], gunnail_scrollram[0x100]);
303
304   tilemap_set_scrollx(bg_tilemap,0,gunnail_scrollram[0]-videoshift);
305   tilemap_set_scrolly(bg_tilemap,0,gunnail_scrollram[0x100]);
306}
307
308
309322WRITE16_HANDLER( vandyke_scroll_w )
310323{
311324   static UINT16 scroll[4];
312325
313326   scroll[offset] = data;
314327
315   tilemap_set_scrollx(bg_tilemap,0,scroll[0] * 256 + (scroll[1] >> 8));
316   tilemap_set_scrolly(bg_tilemap,0,scroll[2] * 256 + (scroll[3] >> 8));
328   tilemap_set_scrollx(bg_tilemap0,0,scroll[0] * 256 + (scroll[1] >> 8));
329   tilemap_set_scrolly(bg_tilemap0,0,scroll[2] * 256 + (scroll[3] >> 8));
317330}
318331
319332WRITE16_HANDLER( manybloc_scroll_w )
320333{
321334   COMBINE_DATA(&gunnail_scrollram[offset]);
322335
323   tilemap_set_scrollx(bg_tilemap,0,gunnail_scrollram[0x82/2]-videoshift);
324   tilemap_set_scrolly(bg_tilemap,0,gunnail_scrollram[0xc2/2]);
336   tilemap_set_scrollx(bg_tilemap0,0,gunnail_scrollram[0x82/2]-videoshift);
337   tilemap_set_scrolly(bg_tilemap0,0,gunnail_scrollram[0xc2/2]);
325338}
326339
327340WRITE16_HANDLER( nmk_flipscreen_w )
r5338r5339
337350      if (bgbank != (data & 0xff))
338351      {
339352         bgbank = data & 0xff;
340         tilemap_mark_all_tiles_dirty(bg_tilemap);
353         tilemap_mark_all_tiles_dirty(bg_tilemap0);
341354      }
342355   }
343356}
r5338r5339
487500{
488501   tilemap_set_scrollx(tx_tilemap,0,-videoshift);
489502
490   tilemap_draw(bitmap,cliprect,bg_tilemap,0,0);
503   tilemap_draw(bitmap,cliprect,bg_tilemap0,0,0);
491504
492505   nmk16_draw_sprites(screen->machine, bitmap,cliprect,3);
493506   nmk16_draw_sprites(screen->machine, bitmap,cliprect,2);
r5338r5339
504517
505518   tilemap_set_scrollx(tx_tilemap,0,-videoshift);
506519
507   tilemap_draw(bitmap,cliprect,bg_tilemap,0,0);
520   tilemap_draw(bitmap,cliprect,bg_tilemap0,0,0);
508521
509522   nmk16_draw_sprites(screen->machine, bitmap,cliprect,3);
510523   nmk16_draw_sprites(screen->machine, bitmap,cliprect,2);
r5338r5339
521534
522535   tilemap_set_scrollx(tx_tilemap,0,-videoshift);
523536
524   tilemap_draw(bitmap,cliprect,bg_tilemap,0,0);
537   tilemap_draw(bitmap,cliprect,bg_tilemap0,0,0);
525538
526539   nmk16_draw_sprites(screen->machine, bitmap,cliprect,3);
527540   nmk16_draw_sprites(screen->machine, bitmap,cliprect,2);
r5338r5339
536549{
537550   tilemap_set_scrollx(tx_tilemap,0,-videoshift);
538551
539   tilemap_draw(bitmap,cliprect,bg_tilemap,0,0);
552   tilemap_draw(bitmap,cliprect,bg_tilemap0,0,0);
540553
541554   nmk16_draw_sprites_flipsupported(screen->machine, bitmap,cliprect,3);
542555   nmk16_draw_sprites_flipsupported(screen->machine, bitmap,cliprect,2);
r5338r5339
553566   UINT16 tharrier_scroll = nmk16_mainram[0x9f00/2];
554567
555568   tilemap_set_scrollx(tx_tilemap,0,-videoshift);
556   tilemap_set_scrollx(bg_tilemap,0,tharrier_scroll);
557   tilemap_draw(bitmap,cliprect,bg_tilemap,0,0);
569   tilemap_set_scrollx(bg_tilemap0,0,tharrier_scroll);
570   tilemap_draw(bitmap,cliprect,bg_tilemap0,0,0);
558571
559572   nmk16_draw_sprites_flipsupported(screen->machine, bitmap,cliprect,3);
560573   nmk16_draw_sprites_flipsupported(screen->machine, bitmap,cliprect,2);
r5338r5339
567580
568581VIDEO_UPDATE( gunnail )
569582{
570   int y1, i;
583   int y1;
584   int i=16;
571585   rectangle bgclip = *cliprect;
572586
573587   // the hardware supports per-scanline X *and* Y scroll which isn't
574588   // supported by tilemaps so we have to draw the tilemap one line at a time
575589   y1 = cliprect->min_y;
576   while (y1 <= cliprect->max_y)
590
591   if (!nmk16_simple_scroll)
577592   {
578      int const yscroll = gunnail_scrollramy[0] + gunnail_scrollramy[y1];
579      int y2;
593      while (y1 <= cliprect->max_y)
594      {
595         int const yscroll = gunnail_scrollramy[0] + gunnail_scrollramy[y1];
596         int tilemap_bank_select;
597         tilemap* bg_tilemap = bg_tilemap0;
580598
581      // group all consecutive lines with the same y scroll to reduce overhead
582      y2 = y1+1;
583      while (y2 <= cliprect->max_y && gunnail_scrollramy[y2] == gunnail_scrollramy[y1])
584         y2++;
599         bgclip.min_y = y1;
600         bgclip.max_y = y1;
585601
586      bgclip.min_y = y1;
587      bgclip.max_y = y2-1;
588602
589      tilemap_set_scrolly(bg_tilemap, 0, yscroll);
590      for (i = y1; i < y2; i++)
603         tilemap_bank_select = (gunnail_scrollram[0]&0x3000)>>12;
604         switch (tilemap_bank_select)
605         {
606            case 0: if (bg_tilemap0) bg_tilemap = bg_tilemap0; break;
607            case 1: if (bg_tilemap1) bg_tilemap = bg_tilemap1; break;
608            case 2: if (bg_tilemap2) bg_tilemap = bg_tilemap2; break;
609            case 3: if (bg_tilemap3) bg_tilemap = bg_tilemap3; break;
610         }
611
612         tilemap_set_scroll_rows(bg_tilemap,512);
613
614         tilemap_set_scrolly(bg_tilemap, 0, yscroll);
591615         tilemap_set_scrollx(bg_tilemap,(i + yscroll) & 0x1ff, gunnail_scrollram[0] + gunnail_scrollram[i] - videoshift);
592616
593      tilemap_draw(bitmap,&bgclip,bg_tilemap,0,0);
617         tilemap_draw(bitmap,&bgclip,bg_tilemap,0,0);
594618
595      y1 = y2;
619         y1++;
620         i++;
621      }
596622   }
623   else
624   {
625      UINT16 yscroll = ((gunnail_scrollram[2]&0xff)<<8) | ((gunnail_scrollram[3]&0xff)<<0);
626      UINT16 xscroll = ((gunnail_scrollram[0]&0xff)<<8) | ((gunnail_scrollram[1]&0xff)<<0);
627      int tilemap_bank_select;
628      tilemap* bg_tilemap = bg_tilemap0;
597629
630      //popmessage( "scroll %04x, %04x", yscroll,xscroll);
631
632      tilemap_bank_select = (xscroll&0x3000)>>12;
633      switch (tilemap_bank_select)
634      {
635         case 0: if (bg_tilemap0) bg_tilemap = bg_tilemap0; break;
636         case 1: if (bg_tilemap1) bg_tilemap = bg_tilemap1; break;
637         case 2: if (bg_tilemap2) bg_tilemap = bg_tilemap2; break;
638         case 3: if (bg_tilemap3) bg_tilemap = bg_tilemap3; break;
639      }
640
641      tilemap_set_scroll_rows(bg_tilemap,1);
642
643      tilemap_set_scrolly(bg_tilemap, 0, yscroll);
644      tilemap_set_scrollx(bg_tilemap, 0, xscroll - videoshift);
645
646      tilemap_draw(bitmap,cliprect,bg_tilemap,0,0);
647   }
648
598649   nmk16_draw_sprites(screen->machine, bitmap,cliprect,3);
599650   nmk16_draw_sprites(screen->machine, bitmap,cliprect,2);
600651   nmk16_draw_sprites(screen->machine, bitmap,cliprect,1);
r5338r5339
646697   }
647698
648699   copyscrollbitmap(bitmap,background_bitmap,1,&scrollx,1,&scrolly,cliprect);
649   tilemap_draw(bitmap,cliprect,bg_tilemap,0,0);
700   tilemap_draw(bitmap,cliprect,bg_tilemap0,0,0);
650701
651702   nmk16_draw_sprites(screen->machine, bitmap,cliprect,3);
652703   nmk16_draw_sprites(screen->machine, bitmap,cliprect,2);
r5338r5339
661712{
662713   tilemap_set_scrollx(tx_tilemap,0,-videoshift);
663714
664   tilemap_draw(bitmap,cliprect,bg_tilemap,0,0);
715   tilemap_draw(bitmap,cliprect,bg_tilemap0,0,0);
665716   tilemap_draw(bitmap,cliprect,fg_tilemap,0,0);
666717
667718   nmk16_draw_sprites(screen->machine, bitmap,cliprect,3);
r5338r5339
675726
676727VIDEO_UPDATE( bjtwin )
677728{
678   tilemap_set_scrollx(bg_tilemap,0,-videoshift);
729   tilemap_set_scrollx(bg_tilemap0,0,-videoshift);
679730
680   tilemap_draw(bitmap,cliprect,bg_tilemap,0,0);
731   tilemap_draw(bitmap,cliprect,bg_tilemap0,0,0);
681732
682733   nmk16_draw_sprites(screen->machine, bitmap,cliprect,3);
683734   nmk16_draw_sprites(screen->machine, bitmap,cliprect,2);
r5338r5339
714765
715766
716767
717/* Variables needed by drivers: */
718
719UINT16 *afega_vram_0, *afega_scroll_0;
720UINT16 *afega_vram_1, *afega_scroll_1;
721
722
723768/***************************************************************************
724769
725                                Tilemaps
726770
727    Offset:     Bits:                   Value:
728
729        2.w     fedc ---- ---- ----     Color
730                ---- ba98 7654 3210     Code
731
732***************************************************************************/
733
734#define TILES_PER_PAGE_X   (0x10)
735#define TILES_PER_PAGE_Y   (0x10)
736#define PAGES_PER_TMAP_X   (0x4)
737#define PAGES_PER_TMAP_Y   (0x4)
738#define FIREHAWK_PAGES_PER_TMAP_X   (0x1)
739#define FIREHAWK_PAGES_PER_TMAP_Y   (0x1)
740#define TWINACTN_TILES_PER_PAGE_X   (0x100)
741#define TWINACTN_TILES_PER_PAGE_Y   (0x10)
742#define TWINACTN_PAGES_PER_TMAP_X   (0x1)
743#define TWINACTN_PAGES_PER_TMAP_Y   (0x1)
744
745
746static TILEMAP_MAPPER( afega_tilemap_scan_pages )
747{
748   return   (row / TILES_PER_PAGE_Y) * TILES_PER_PAGE_X * TILES_PER_PAGE_Y * PAGES_PER_TMAP_X +
749         (row % TILES_PER_PAGE_Y) +
750
751         (col / TILES_PER_PAGE_X) * TILES_PER_PAGE_X * TILES_PER_PAGE_Y +
752         (col % TILES_PER_PAGE_X) * TILES_PER_PAGE_Y;
753}
754
755static TILEMAP_MAPPER( firehawk_tilemap_scan_pages )
756{
757   return   (row / TILES_PER_PAGE_Y) * TILES_PER_PAGE_X * TILES_PER_PAGE_Y * FIREHAWK_PAGES_PER_TMAP_X +
758         (row % TILES_PER_PAGE_Y) +
759
760         (col / TILES_PER_PAGE_X) * TILES_PER_PAGE_X * TILES_PER_PAGE_Y +
761         (col % TILES_PER_PAGE_X) * TILES_PER_PAGE_Y;
762}
763
764static tilemap *tilemap_0, *tilemap_1;
765
766static TILE_GET_INFO( get_tile_info_0_4bit )
767{
768   UINT16 code = afega_vram_0[tile_index];
769   SET_TILE_INFO(
770         0,
771         code,
772         (code & 0xf000) >> 12,
773         0);
774}
775static TILE_GET_INFO( get_tile_info_0_8bit )
776{
777   UINT16 code = afega_vram_0[tile_index];
778   SET_TILE_INFO(
779         0,
780         code,
781         0,
782         0);
783}
784static TILE_GET_INFO( get_tile_info_1 )
785{
786   UINT16 code = afega_vram_1[tile_index];
787   SET_TILE_INFO(
788         1,
789         code,
790         (code & 0xf000) >> 12,
791         0);
792}
793
794WRITE16_HANDLER( afega_vram_0_w )
795{
796   COMBINE_DATA(&afega_vram_0[offset]);
797   tilemap_mark_tile_dirty(tilemap_0,offset);
798}
799WRITE16_HANDLER( afega_vram_1_w )
800{
801   COMBINE_DATA(&afega_vram_1[offset]);
802   tilemap_mark_tile_dirty(tilemap_1,offset);
803}
804
805
806/***************************************************************************
807
808
809771                            Video Hardware Init
810772
811773
r5338r5339
816778   spriteram_old = auto_alloc_array_clear(machine, UINT16, 0x1000/2);
817779   spriteram_old2 = auto_alloc_array_clear(machine, UINT16, 0x1000/2);
818780
819   tilemap_0 = tilemap_create(   machine, get_tile_info_0_4bit, afega_tilemap_scan_pages,
781   bg_tilemap0 = tilemap_create(   machine, macross_get_bg0_tile_info, afega_tilemap_scan_pages,
820782
821783                        16,16,
822784                        TILES_PER_PAGE_X*PAGES_PER_TMAP_X,TILES_PER_PAGE_Y*PAGES_PER_TMAP_Y);
823785
824   tilemap_1 = tilemap_create(   machine, get_tile_info_1, tilemap_scan_cols,
786   tx_tilemap = tilemap_create(   machine, macross_get_tx_tile_info, tilemap_scan_cols,
825787
826788                        8,8,
827789                        32,32);
828790
829   tilemap_set_transparent_pen(tilemap_1,0xf);
791   tilemap_set_transparent_pen(tx_tilemap,0xf);
830792}
831793
832794
r5338r5339
836798   spriteram_old2 = auto_alloc_array_clear(machine, UINT16, 0x1000/2);
837799
838800
839   tilemap_0 = tilemap_create(   machine, get_tile_info_0_8bit, afega_tilemap_scan_pages,
801   bg_tilemap0 = tilemap_create(   machine, get_tile_info_0_8bit, afega_tilemap_scan_pages,
840802
841803                        16,16,
842804                        TILES_PER_PAGE_X*PAGES_PER_TMAP_X,TILES_PER_PAGE_Y*PAGES_PER_TMAP_Y);
843805
844   tilemap_1 = tilemap_create(   machine, get_tile_info_1, tilemap_scan_cols,
806   tx_tilemap = tilemap_create(   machine, macross_get_tx_tile_info, tilemap_scan_cols,
845807
846808                        8,8,
847809                        32,32);
848810
849   tilemap_set_transparent_pen(tilemap_1,0xf);
811   tilemap_set_transparent_pen(tx_tilemap,0xf);
850812}
851813
852814
r5338r5339
856818   spriteram_old2 = auto_alloc_array_clear(machine, UINT16, 0x1000/2);
857819
858820
859   tilemap_0 = tilemap_create(   machine, get_tile_info_0_8bit, firehawk_tilemap_scan_pages,
821   bg_tilemap0 = tilemap_create(   machine, get_tile_info_0_8bit, afega_tilemap_scan_pages,
860822
861823                        16,16,
862                        TILES_PER_PAGE_X*FIREHAWK_PAGES_PER_TMAP_X,TILES_PER_PAGE_Y*FIREHAWK_PAGES_PER_TMAP_Y);
824                        TILES_PER_PAGE_X*PAGES_PER_TMAP_X,TILES_PER_PAGE_Y*PAGES_PER_TMAP_Y);
863825
864   tilemap_1 = tilemap_create(   machine, get_tile_info_1, tilemap_scan_cols,
826   tx_tilemap = tilemap_create(   machine, macross_get_tx_tile_info, tilemap_scan_cols,
865827
866828                        8,8,
867829                        32,32);
868830
869   tilemap_set_transparent_pen(tilemap_1,0xf);
831   tilemap_set_transparent_pen(tx_tilemap,0xf);
870832}
871833
872834
r5338r5339
880842
881843static void video_update(running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect,
882844   int dsw_flipscreen,         // 1 = Horizontal and vertical screen flip are hardwired to 2 dip switches
883   int xoffset, int yoffset,   // tilemap_0 offsets
845   int xoffset, int yoffset,   // bg_tilemap0 offsets
884846   int attr_mask            // "sprite active" mask
885847   )
886848{
r5338r5339
894856      flip_screen_y_set(machine, ~input_port_read(machine, "DSW1") & 0x0200);
895857   }
896858
897   tilemap_set_scrollx(tilemap_0, 0, afega_scroll_0[1] + xoffset);
898   tilemap_set_scrolly(tilemap_0, 0, afega_scroll_0[0] + yoffset);
899859
900   tilemap_set_scrollx(tilemap_1, 0, afega_scroll_1[1]);
901   tilemap_set_scrolly(tilemap_1, 0, afega_scroll_1[0]);
860   tilemap_set_scrollx(bg_tilemap0, 0, afega_scroll_0[1] + xoffset);
861   tilemap_set_scrolly(bg_tilemap0, 0, afega_scroll_0[0] + yoffset);
902862
903   tilemap_draw(bitmap,cliprect,tilemap_0,0,0);
863   tilemap_set_scrollx(tx_tilemap, 0, afega_scroll_1[1]);
864   tilemap_set_scrolly(tx_tilemap, 0, afega_scroll_1[0]);
904865
866
867   tilemap_draw(bitmap,cliprect,bg_tilemap0,0,0);
868
905869   nmk16_draw_sprites_flipsupported(machine, bitmap,cliprect,3);
906870   nmk16_draw_sprites_flipsupported(machine, bitmap,cliprect,2);
907871   nmk16_draw_sprites_flipsupported(machine, bitmap,cliprect,1);
908872   nmk16_draw_sprites_flipsupported(machine, bitmap,cliprect,0);
909873
910   tilemap_draw(bitmap,cliprect,tilemap_1,0,0);
874   tilemap_draw(bitmap,cliprect,tx_tilemap,0,0);
911875}
912876
913877static void redhawki_video_update(running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect   )
914878{
915879
916880
917   tilemap_set_scrollx(tilemap_0, 0, afega_scroll_1[0]&0xff);
918   tilemap_set_scrolly(tilemap_0, 0, afega_scroll_1[1]&0xff);
881   tilemap_set_scrollx(bg_tilemap0, 0, afega_scroll_1[0]&0xff);
882   tilemap_set_scrolly(bg_tilemap0, 0, afega_scroll_1[1]&0xff);
919883
920   tilemap_draw(bitmap,cliprect,tilemap_0,0,0);
884   tilemap_draw(bitmap,cliprect,bg_tilemap0,0,0);
921885
922886   nmk16_draw_sprites_flipsupported(machine, bitmap,cliprect,3);
923887   nmk16_draw_sprites_flipsupported(machine, bitmap,cliprect,2);
r5338r5339
932896
933897VIDEO_UPDATE( firehawk )
934898{
899   tilemap_set_scrolly(bg_tilemap0, 0, afega_scroll_1[1] + 0x100);
900   tilemap_set_scrollx(bg_tilemap0, 0, afega_scroll_1[0]);
935901
902   tilemap_draw(bitmap,cliprect,bg_tilemap0,0,0);
936903
937   tilemap_set_scrolly(tilemap_0, 0, afega_scroll_1[1] + 0x100);
938   tilemap_set_scrollx(tilemap_0, 0, afega_scroll_1[0]);
939
940   tilemap_draw(bitmap,cliprect,tilemap_0,0,0);
941
942904   nmk16_draw_sprites_flipsupported(screen->machine, bitmap,cliprect,3);
943905   nmk16_draw_sprites_flipsupported(screen->machine, bitmap,cliprect,2);
944906   nmk16_draw_sprites_flipsupported(screen->machine, bitmap,cliprect,1);
945907   nmk16_draw_sprites_flipsupported(screen->machine, bitmap,cliprect,0);
946908
947   tilemap_draw(bitmap,cliprect,tilemap_1,0,0);
909   tilemap_draw(bitmap,cliprect,tx_tilemap,0,0);
948910   return 0;
949911}
950912
src/mame/tiny.mak
r5338r5339
3535
3636CPUS += Z80
3737CPUS += M6502
38CPUS += MCS48
39CPUS += MCS51
3840CPUS += M6800
3941CPUS += M6809
40CPUS += M68000
41CPUS += MCS51
42CPUS += M680X0
4243
4344
4445
src/mame/drivers/mitchell.c
r5338r5339
11251125static MACHINE_DRIVER_START( pang )
11261126
11271127   /* basic machine hardware */
1128   MDRV_CPU_ADD("maincpu",Z80, 8000000)   /* (verified on pcb) */
1128   MDRV_CPU_ADD("maincpu",Z80, XTAL_16MHz/2) /* verified on pcb */
11291129   MDRV_CPU_PROGRAM_MAP(mitchell_map)
11301130   MDRV_CPU_IO_MAP(mitchell_io_map)
11311131   MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,2)   /* ??? one extra irq seems to be needed for music (see input5_r) */
r5338r5339
11341134
11351135   /* video hardware */
11361136   MDRV_SCREEN_ADD("screen", RASTER)
1137   MDRV_SCREEN_REFRESH_RATE(60)
1137   MDRV_SCREEN_REFRESH_RATE(57.42)   /* verified on pcb */
11381138   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
11391139   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
11401140   MDRV_SCREEN_SIZE(64*8, 32*8)
r5338r5339
11491149   /* sound hardware */
11501150   MDRV_SPEAKER_STANDARD_MONO("mono")
11511151
1152   MDRV_SOUND_ADD("oki", OKIM6295, 1000000) /* (verified on pcb) */
1152   MDRV_SOUND_ADD("oki", OKIM6295, XTAL_16MHz/16) /* verified on pcb */
11531153   MDRV_SOUND_CONFIG(okim6295_interface_pin7high) // clock frequency & pin 7 verified
11541154   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
11551155
1156   MDRV_SOUND_ADD("ym",YM2413, 4000000) /* (verified on pcb) */
1156   MDRV_SOUND_ADD("ym",YM2413, XTAL_16MHz/4) /* verified on pcb */
11571157   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
11581158MACHINE_DRIVER_END
11591159
r5338r5339
13671367   ROM_LOAD( "pko-voi2.3d",  0x20000, 0x20000, CRC(18398bf6) SHA1(9e9ab85383350d01ba597951a48f18ecee1f46c6) )
13681368ROM_END
13691369
1370ROM_START( pkladiel )
1370ROM_START( pkladiesl )
13711371   ROM_REGION( 0x50000, "maincpu", 0 )
13721372   ROM_LOAD( "pk05.14f",     0x00000, 0x08000, CRC(ea1740a6) SHA1(eafd3fb0056a648dfc67b5d0a1dc93c4262e2a8b) )
13731373   ROM_LOAD( "pk06.15f",     0x10000, 0x20000, CRC(3078ff5e) SHA1(5d91d68a07a968ee59f693841da165833a9fcf08) )   /* larger than pkladies - 2nd half unused? */
r5338r5339
13871387   ROM_LOAD( "pko-voi2.3d",  0x20000, 0x20000, CRC(18398bf6) SHA1(9e9ab85383350d01ba597951a48f18ecee1f46c6) )
13881388ROM_END
13891389
1390ROM_START( pkladila )
1390ROM_START( pkladiesla )
13911391   ROM_REGION( 0x50000, "maincpu", 0 )
13921392   ROM_LOAD( "05.14f",       0x00000, 0x08000, CRC(fa18e16a) SHA1(05fff3335a55b9ebf13a0bc89216f00fba6b6b6d) )
13931393   ROM_LOAD( "06.15f",       0x10000, 0x10000, CRC(a2fb7646) SHA1(778d3c1348efe6e46aed4ce968826ce73e320187) )
r5338r5339
21672167}
21682168
21692169
2170GAME( 1988, mgakuen,  0,        mgakuen, mgakuen,  mgakuen,  ROT0,   "Yuga", "Mahjong Gakuen", 0 )
2171GAME( 1988, 7toitsu,  mgakuen,  mgakuen, mgakuen,  mgakuen,  ROT0,   "Yuga", "Chi-Toitsu", 0 )
2172GAME( 1989, mgakuen2, 0,        marukin, marukin,  mgakuen2, ROT0,   "Face", "Mahjong Gakuen 2 Gakuen-chou no Fukushuu", 0 )
2173GAME( 1989, pkladies, 0,        marukin, pkladies, pkladies, ROT0,   "Mitchell", "Poker Ladies", 0 )
2174GAME( 1989, pkladiel, pkladies, marukin, pkladies, pkladies, ROT0,   "Leprechaun", "Poker Ladies (Leprechaun ver. 510)", 0 )
2175GAME( 1989, pkladila, pkladies, marukin, pkladies, pkladies, ROT0,   "Leprechaun", "Poker Ladies (Leprechaun ver. 401)", 0 )
2176GAME( 1989, dokaben,  0,        pang,    pang,     dokaben,  ROT0,   "Capcom", "Dokaben (Japan)", 0 )
2177GAME( 1989, pang,     0,        pang,    pang,     pang,     ROT0,   "Mitchell", "Pang (World)", 0 )
2178GAME( 1989, pangb,    pang,     pang,    pang,     pangb,    ROT0,   "[Mitchell] (bootleg)", "Pang (bootleg, set 1)", 0 )
2179GAME( 1989, pangbold, pang,     pang,    pang,     pangb,    ROT0,   "[Mitchell] (bootleg)", "Pang (bootleg, set 2)", 0 )
2180GAME( 1989, pangba,   pang,     spangbl, pang,     pangb,    ROT0,   "[Mitchell] (bootleg)", "Pang (bootleg, set 3)", GAME_NO_SOUND )
2181GAME( 1989, bbros,    pang,     pang,    pang,     pang,     ROT0,   "Capcom", "Buster Bros. (US)", 0 )
2182GAME( 1989, pompingw, pang,     pang,    pang,     pang,     ROT0,   "Mitchell", "Pomping World (Japan)", 0 )
2183GAME( 1989, cworld,   0,        pang,    qtono1,   cworld,   ROT0,   "Capcom", "Capcom World (Japan)", 0 )
2184GAME( 1990, hatena,   0,        pang,    qtono1,   hatena,   ROT0,   "Capcom", "Adventure Quiz 2 Hatena Hatena no Dai-Bouken (Japan 900228)", 0 )
2185GAME( 1990, spang,    0,        pang,    pang,     spang,    ROT0,   "Mitchell", "Super Pang (World 900914)", 0 )
2186GAME( 1990, spangj,   spang,    pang,    pang,     spangj,   ROT0,   "Mitchell", "Super Pang (Japan 901023)", 0 )
2187GAME( 1990, spangbl,  spang,    spangbl, spangbl,  spangbl,  ROT0,   "[Mitchell] (bootleg)", "Super Pang (World 900914, bootleg)", GAME_NO_SOUND ) // different sound hardware
2188GAME( 1994, mstworld, 0,        mstworld,mstworld, mstworld, ROT0,   "TCH", "Monsters World",GAME_IMPERFECT_GRAPHICS ) // bootleg of Spang
2189GAME( 1990, sbbros,   spang,    pang,    pang,     sbbros,   ROT0,   "Mitchell + Capcom", "Super Buster Bros. (US 901001)", 0 )
2190GAME( 1990, marukin,  0,        marukin, marukin,  marukin,  ROT0,   "Yuga", "Super Marukin-Ban (Japan 901017)", 0 )
2191GAME( 1991, qtono1,   0,        pang,    qtono1,   qtono1,   ROT0,   "Capcom", "Quiz Tonosama no Yabou (Japan)", 0 )
2192GAME( 1991, qsangoku, 0,        pang,    qtono1,   qsangoku, ROT0,   "Capcom", "Quiz Sangokushi (Japan)", 0 )
2193GAME( 1991, block,    0,        pang,    block,    block,    ROT270, "Capcom", "Block Block (World 910910)", 0 )
2194GAME( 1991, blockj,   block,    pang,    block,    block,    ROT270, "Capcom", "Block Block (Japan 910910)", 0 )
2195GAME( 1991, blockjoy, block,    pang,    blockjoy, block,    ROT270, "Capcom", "Block Block (World 911106 Joystick)", 0 )
2196GAME( 1991, blockbl,  block,    pang,    block,    blockbl,  ROT270, "bootleg", "Block Block (bootleg)", 0 )
2170GAME( 1988, mgakuen,   0,        mgakuen, mgakuen,  mgakuen,  ROT0,   "Yuga", "Mahjong Gakuen", 0 )
2171GAME( 1988, 7toitsu,   mgakuen,  mgakuen, mgakuen,  mgakuen,  ROT0,   "Yuga", "Chi-Toitsu", 0 )
2172GAME( 1989, mgakuen2,  0,        marukin, marukin,  mgakuen2, ROT0,   "Face", "Mahjong Gakuen 2 Gakuen-chou no Fukushuu", 0 )
2173GAME( 1989, pkladies,  0,        marukin, pkladies, pkladies, ROT0,   "Mitchell", "Poker Ladies", 0 )
2174GAME( 1989, pkladiesl, pkladies, marukin, pkladies, pkladies, ROT0,   "Leprechaun", "Poker Ladies (Leprechaun ver. 510)", 0 )
2175GAME( 1989, pkladiesla,pkladies, marukin, pkladies, pkladies, ROT0,   "Leprechaun", "Poker Ladies (Leprechaun ver. 401)", 0 )
2176GAME( 1989, dokaben,   0,        pang,    pang,     dokaben,  ROT0,   "Capcom", "Dokaben (Japan)", 0 )
2177GAME( 1989, pang,      0,        pang,    pang,     pang,     ROT0,   "Mitchell", "Pang (World)", 0 )
2178GAME( 1989, pangb,     pang,     pang,    pang,     pangb,    ROT0,   "[Mitchell] (bootleg)", "Pang (bootleg, set 1)", 0 )
2179GAME( 1989, pangbold,  pang,     pang,    pang,     pangb,    ROT0,   "[Mitchell] (bootleg)", "Pang (bootleg, set 2)", 0 )
2180GAME( 1989, pangba,    pang,     spangbl, pang,     pangb,    ROT0,   "[Mitchell] (bootleg)", "Pang (bootleg, set 3)", GAME_NO_SOUND )
2181GAME( 1989, bbros,     pang,     pang,    pang,     pang,     ROT0,   "Capcom", "Buster Bros. (US)", 0 )
2182GAME( 1989, pompingw,  pang,     pang,    pang,     pang,     ROT0,   "Mitchell", "Pomping World (Japan)", 0 )
2183GAME( 1989, cworld,    0,        pang,    qtono1,   cworld,   ROT0,   "Capcom", "Capcom World (Japan)", 0 )
2184GAME( 1990, hatena,    0,        pang,    qtono1,   hatena,   ROT0,   "Capcom", "Adventure Quiz 2 Hatena Hatena no Dai-Bouken (Japan 900228)", 0 )
2185GAME( 1990, spang,     0,        pang,    pang,     spang,    ROT0,   "Mitchell", "Super Pang (World 900914)", 0 )
2186GAME( 1990, spangj,    spang,    pang,    pang,     spangj,   ROT0,   "Mitchell", "Super Pang (Japan 901023)", 0 )
2187GAME( 1990, spangbl,   spang,    spangbl, spangbl,  spangbl,  ROT0,   "[Mitchell] (bootleg)", "Super Pang (World 900914, bootleg)", GAME_NO_SOUND ) // different sound hardware
2188GAME( 1994, mstworld,  0,        mstworld,mstworld, mstworld, ROT0,   "TCH", "Monsters World",GAME_IMPERFECT_GRAPHICS ) // bootleg of Spang
2189GAME( 1990, sbbros,    spang,    pang,    pang,     sbbros,   ROT0,   "Mitchell + Capcom", "Super Buster Bros. (US 901001)", 0 )
2190GAME( 1990, marukin,   0,        marukin, marukin,  marukin,  ROT0,   "Yuga", "Super Marukin-Ban (Japan 901017)", 0 )
2191GAME( 1991, qtono1,    0,        pang,    qtono1,   qtono1,   ROT0,   "Capcom", "Quiz Tonosama no Yabou (Japan)", 0 )
2192GAME( 1991, qsangoku,  0,        pang,    qtono1,   qsangoku, ROT0,   "Capcom", "Quiz Sangokushi (Japan)", 0 )
2193GAME( 1991, block,     0,        pang,    block,    block,    ROT270, "Capcom", "Block Block (World 910910)", 0 )
2194GAME( 1991, blockj,    block,    pang,    block,    block,    ROT270, "Capcom", "Block Block (Japan 910910)", 0 )
2195GAME( 1991, blockjoy,  block,    pang,    blockjoy, block,    ROT270, "Capcom", "Block Block (World 911106 Joystick)", 0 )
2196GAME( 1991, blockbl,   block,    pang,    block,    blockbl,  ROT270, "bootleg", "Block Block (bootleg)", 0 )
21972197
src/mame/drivers/dynduke.c
r5338r5339
375375   ROM_LOAD( "7.x10",   0x000000, 0x10000, CRC(9cbc7b41) SHA1(107c19d3d71ee6af63d03f7278310c5e3786f91d) )
376376ROM_END
377377
378ROM_START( dyndukf )
378ROM_START( dyndukef )
379379   ROM_REGION( 0x100000, "maincpu", 0 ) /* v30 main cpu */
380380   ROM_LOAD16_BYTE("1.cd8",     0x0a0000, 0x10000, CRC(a5e2a95a) SHA1(135d57073d826b9cf46fb43dc49439e1400fb021) )
381381   ROM_LOAD16_BYTE("2.cd7",     0x0a0001, 0x10000, CRC(7e51af22) SHA1(b26103c0d41c469d1e2d1e4e89f591c0d9cdb67c) )
r5338r5339
533533/* Game Drivers */
534534
535535GAME( 1989, dynduke, 0,       dynduke, dynduke, dynduke, ROT0, "Seibu Kaihatsu",                  "Dynamite Duke (Japan)", 0 )
536GAME( 1989, dyndukf, dynduke, dynduke, dynduke, dynduke, ROT0, "Seibu Kaihatsu (Fabtek license)", "Dynamite Duke (US)", 0 )
536GAME( 1989, dyndukef,dynduke, dynduke, dynduke, dynduke, ROT0, "Seibu Kaihatsu (Fabtek license)", "Dynamite Duke (US)", 0 )
537537GAME( 1989, dbldyn,  dynduke, dbldyn,  dynduke, dynduke, ROT0, "Seibu Kaihatsu",                  "The Double Dynamites (Japan)", 0 )
538538GAME( 1989, dbldynf, dynduke, dynduke, dynduke, dynduke, ROT0, "Seibu Kaihatsu (Fabtek license)", "The Double Dynamites (US)", 0 )
src/mame/drivers/deco_mlc.c
r5338r5339
517517   ROM_LOAD( "mcg-14.6a",  0x400000, 0x200000, CRC(c0d8b5f0) SHA1(08eecf6e7d0273e41cda3472709a67e2b16068c9) ) // music
518518ROM_END
519519
520ROM_START( avengrgj )
520ROM_START( avengrgsj )
521521   ROM_REGION( 0x100000, "maincpu", 0 )
522522   ROM_LOAD32_WORD_SWAP( "sd_00-2.7k", 0x000002, 0x80000, CRC(136be46a) SHA1(7679f5f78f7983d43ecdb9bdd04e45792a13d9f2) )
523523   ROM_LOAD32_WORD_SWAP( "sd_01-2.7l", 0x000000, 0x80000, CRC(9d87f576) SHA1(dd20cd060d020d81f4e012be10d0211be7526641) )
r5338r5339
565565   ROM_LOAD( "mcm-06.6a",  0x000000, 0x400000,  CRC(fbc178f3) SHA1(f44cb913177b6552b30c139505c3284bc445ba13) )
566566ROM_END
567567
568ROM_START( stadh96a )
568ROM_START( stadhr96a )
569569   ROM_REGION( 0x100000, "maincpu", 0 )
570570   ROM_LOAD32_WORD( "sh-eaj.2a", 0x000000, 0x80000, CRC(10d1496a) SHA1(1dc151547463a38d717159b3dfce7ffd78a943ad) )
571571   ROM_LOAD32_WORD( "sh-eaj.2b", 0x000002, 0x80000, CRC(608a9144) SHA1(15e2fa99dc96e8ebd9868713ae7708cb824fc6c5) )
r5338r5339
666666   ROM_LOAD_OPTIONAL( "skullfng.eeprom",  0x00, 0x80, CRC(240d882e) SHA1(3c1a15ccac91d95b02a8c54b051aa64ff28ce2ab) )
667667ROM_END
668668
669ROM_START( skullfnj )
669ROM_START( skullfngj )
670670   ROM_REGION( 0x100000, "maincpu", 0 )
671671   ROM_LOAD32_WORD( "sh00-0.2a", 0x000000, 0x80000, CRC(e50358e8) SHA1(e66ac5e1b16273cb905254c99b2bce435145a414) )
672672   ROM_LOAD32_WORD( "sh01-0.2b", 0x000002, 0x80000, CRC(2c288bcc) SHA1(4ed1d5818362383240378056bf575f6acf8a593a) )
r5338r5339
758758/***************************************************************************/
759759
760760GAME( 1995, avengrgs, 0,        avengrgs, mlc, avengrgs, ROT0,   "Data East Corporation", "Avengers In Galactic Storm (US)", 0 )
761GAME( 1995, avengrgj, avengrgs, avengrgs, mlc, avengrgs, ROT0,   "Data East Corporation", "Avengers In Galactic Storm (Japan)", 0 )
761GAME( 1995, avengrgsj,avengrgs, avengrgs, mlc, avengrgs, ROT0,   "Data East Corporation", "Avengers In Galactic Storm (Japan)", 0 )
762762GAME( 1996, stadhr96, 0,        mlc_6bpp, mlc, mlc,      ROT0,   "Data East Corporation", "Stadium Hero 96 (Version EAD)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
763GAME( 1996, stadh96a, stadhr96, mlc_6bpp, mlc, mlc,      ROT0,   "Data East Corporation", "Stadium Hero 96 (Version EAJ)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
763GAME( 1996, stadhr96a,stadhr96, mlc_6bpp, mlc, mlc,      ROT0,   "Data East Corporation", "Stadium Hero 96 (Version EAJ)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
764764GAME( 1996, skullfng, 0,        mlc_6bpp, mlc, mlc,      ROT270, "Data East Corporation", "Skull Fang (World)", 0 ) /* Version 1.13, Europe, Master 96.02.19 */
765GAME( 1996, skullfnj, skullfng, mlc_6bpp, mlc, mlc,      ROT270, "Data East Corporation", "Skull Fang (Japan)", 0 ) /* Version 1.09, Japan, Master 96.02.08 */
765GAME( 1996, skullfngj,skullfng, mlc_6bpp, mlc, mlc,      ROT270, "Data East Corporation", "Skull Fang (Japan)", 0 ) /* Version 1.09, Japan, Master 96.02.08 */
766766GAME( 1996, hoops96,  0,        mlc_5bpp, mlc, mlc,      ROT0,   "Data East Corporation", "Hoops '96 (Europe/Asia 2.0)", 0 )
767767GAME( 1995, ddream95, hoops96,  mlc_5bpp, mlc, mlc,      ROT0,   "Data East Corporation", "Dunk Dream '95 (Japan 1.4 EAM)", 0 )
768768GAME( 1995, hoops95,  hoops96,  mlc_5bpp, mlc, mlc,      ROT0,   "Data East Corporation", "Hoops (Europe/Asia 1.7)", 0 )
src/mame/drivers/bublbobl.c
r5338r5339
561561   PORT_DIPSETTING(    0x20, "100 (Cheat)")
562562INPUT_PORTS_END
563563
564// default to 'Dream Land' not 'Super Dream Land'
565static INPUT_PORTS_START( dland )
566   PORT_INCLUDE( boblbobl )
567
568   PORT_MODIFY( "DSW0" )
569   PORT_DIPNAME( 0x01, 0x01, "Game" )
570   PORT_DIPSETTING(    0x01, "Dream Land" )
571   PORT_DIPSETTING(    0x00, "Super Dream Land" )
572   PORT_SERVICE( 0x04, IP_ACTIVE_LOW )
573
574   PORT_MODIFY( "DSW1" )
575   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
576   PORT_DIPSETTING(    0x10, "1" )
577   PORT_DIPSETTING(    0x00, "2" )
578   PORT_DIPSETTING(    0x30, "3" )
579   PORT_DIPSETTING(    0x20, "100 (Cheat)")
580INPUT_PORTS_END
581
564582static INPUT_PORTS_START( tokio )
565583   PORT_START("DSW0")
566584   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW A:1")
r5338r5339
962980VER 0.018.AUG,1986 SUMMER
963981*/
964982
965ROM_START( bublbob1 )
983ROM_START( bublbobl1 )
966984   ROM_REGION( 0x30000, "maincpu", 0 )
967985   ROM_LOAD( "a78-06.51",    0x00000, 0x08000, CRC(32c8305b) SHA1(6bf69b3edfbefd33cd670a762b4bf0b39629a220) )
968986    /* ROMs banked at 8000-bfff */
r5338r5339
10111029VER 5.1 8.NOV,1986 SUMMER
10121030*/
10131031
1014ROM_START( bublbobr )
1032ROM_START( bublboblr )
10151033   ROM_REGION( 0x30000, "maincpu", 0 )
10161034   ROM_LOAD( "a78-25.51",    0x00000, 0x08000, CRC(2d901c9d) SHA1(72504225d3a26212e8f35508a79200eeb91138b6) )
10171035    /* ROMs banked at 8000-bfff */
r5338r5339
10601078VER 1.0 26.AUG,1986 SUMMER
10611079*/
10621080
1063ROM_START( bubbobr1 )
1081ROM_START( bublboblr1 )
10641082   ROM_REGION( 0x30000, "maincpu", 0 )
10651083   ROM_LOAD( "a78-06.51",    0x00000, 0x08000, CRC(32c8305b) SHA1(6bf69b3edfbefd33cd670a762b4bf0b39629a220) )
10661084    /* ROMs banked at 8000-bfff */
r5338r5339
12501268ROM_END
12511269
12521270
1271ROM_START( dland )
1272   ROM_REGION( 0x30000, "maincpu", 0 )
1273   ROM_LOAD( "dl_3.bin",    0x00000, 0x08000, CRC(01eb3e4f) SHA1(8edc0f2e98b928b1d9d508948bcff947df697b6f) )
1274    /* ROMs banked at 8000-bfff */
1275   ROM_LOAD( "dl_5.bin",    0x10000, 0x08000, CRC(75740b61) SHA1(7ebfbb9abfcc44c31b31f146d7bc37004a1b528c) )
1276   ROM_LOAD( "dl_4.bin",    0x18000, 0x08000, CRC(c6a3776f) SHA1(473fc8c990046f90517f2506f1ca59eeb7ea13e5) )
1277   /* 20000-2ffff empty */
12531278
1279   ROM_REGION( 0x10000, "slave", 0 )   /* 64k for the second CPU */
1280   ROM_LOAD( "dl_1.bin",    0x0000, 0x08000, CRC(ae11a07b) SHA1(af7a335c8da637103103cc274e077f123908ebb7) )
1281
1282   ROM_REGION( 0x10000, "audiocpu", 0 )   /* 64k for the third CPU */
1283   ROM_LOAD( "dl_2.bin",    0x0000, 0x08000, CRC(4f9a26e8) SHA1(3105b34b88a7134493c2b3f584729f8b0407a011) )
1284
1285   ROM_REGION( 0x80000, "gfx1", ROMREGION_INVERT )
1286   ROM_LOAD( "dl_6.bin",     0x00000, 0x10000, CRC(6352d3fa) SHA1(eacaddd476952f3c048138184e712ca1fbba4ce2) )
1287   ROM_LOAD( "dl_7.bin",     0x10000, 0x10000, CRC(37a38b69) SHA1(3d28fbf1725b35f664836ee45f705c05f6ccd78a) )
1288   ROM_LOAD( "dl_8.bin",     0x20000, 0x10000, CRC(509ee5b1) SHA1(b5edc7346d43db0157deadece60e478ba6d63eab) )
1289   /* 0x30000-0x3ffff empty */
1290   ROM_LOAD( "dl_9.bin",     0x40000, 0x10000, CRC(ae8514d7) SHA1(5205a3faf354f5b5616be4494f5bd553de4c7965) )
1291   ROM_LOAD( "dl_10.bin",    0x50000, 0x10000, CRC(6d406fb7) SHA1(26d9236d259f8b3876087797b77994b299eeea63) )
1292   ROM_LOAD( "dl_11.bin",    0x60000, 0x10000, CRC(bdf9c0ab) SHA1(d5afc5205e8e391a4a095a4e2efbeee96e780638) )
1293   /* 0x70000-0x7ffff empty */
1294
1295   ROM_REGION( 0x0100, "proms", 0 ) // not on this? (but needed for the bublbobl video driver to work)
1296   ROM_LOAD( "a71-25.41",    0x0000, 0x0100, CRC(2d0f8545) SHA1(089c31e2f614145ef2743164f7b52ae35bc06808) )   /* video timing */
1297ROM_END
1298
1299
1300
12541301static void configure_banks(running_machine* machine)
12551302{
12561303   UINT8 *ROM = memory_region(machine, "maincpu");
r5338r5339
12781325   memory_install_read8_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0xfe00, 0xfe00, 0, 0, tokiob_mcu_r );
12791326}
12801327
1328static DRIVER_INIT( dland )
1329{
1330   // rearrange gfx to original format
1331   int i;
1332   UINT8* src = memory_region(machine,"gfx1");
1333   for (i=0;i<0x40000;i++)
1334      src[i] = BITSWAP8(src[i],7,6,5,4,0,1,2,3);
12811335
1336   for (i=0x40000;i<0x80000;i++)
1337      src[i] = BITSWAP8(src[i],7,4,5,6,3,0,1,2);
12821338
1339   DRIVER_INIT_CALL(bublbobl);
1340}
1341
1342
12831343GAME( 1986, tokio,    0,        tokio,    tokio,    tokio,    ROT90, "Taito Corporation", "Tokio / Scramble Formation", GAME_NOT_WORKING )
12841344GAME( 1986, tokiou,   tokio,    tokio,    tokio,    tokio,    ROT90, "Taito America Corporation (Romstar license)", "Tokio / Scramble Formation (US)", GAME_NOT_WORKING )
12851345GAME( 1986, tokiob,   tokio,    tokio,    tokio,    tokiob,   ROT90, "bootleg", "Tokio / Scramble Formation (bootleg)", 0 )
12861346
1287GAME( 1986, bublbobl, 0,        bublbobl, bublbobl, bublbobl, ROT0,  "Taito Corporation", "Bubble Bobble", 0 )
1288GAME( 1986, bublbob1, bublbobl, bublbobl, bublbobl, bublbobl, ROT0,  "Taito Corporation", "Bubble Bobble (older)", 0 )
1289GAME( 1986, bublbobr, bublbobl, bublbobl, bublbobl, bublbobl, ROT0,  "Taito America Corporation (Romstar license)", "Bubble Bobble (US with mode select)", 0 )
1290GAME( 1986, bubbobr1, bublbobl, bublbobl, bublbobl, bublbobl, ROT0,  "Taito America Corporation (Romstar license)", "Bubble Bobble (US)", 0 )
1347GAME( 1986, bublbobl,  0,        bublbobl, bublbobl, bublbobl, ROT0,  "Taito Corporation", "Bubble Bobble", 0 )
1348GAME( 1986, bublbobl1, bublbobl, bublbobl, bublbobl, bublbobl, ROT0,  "Taito Corporation", "Bubble Bobble (older)", 0 )
1349GAME( 1986, bublboblr, bublbobl, bublbobl, bublbobl, bublbobl, ROT0,  "Taito America Corporation (Romstar license)", "Bubble Bobble (US with mode select)", 0 )
1350GAME( 1986, bublboblr1,bublbobl, bublbobl, bublbobl, bublbobl, ROT0,  "Taito America Corporation (Romstar license)", "Bubble Bobble (US)", 0 )
12911351
12921352GAME( 1986, boblbobl, bublbobl, boblbobl, boblbobl, bublbobl, ROT0,  "bootleg", "Bobble Bobble", 0 )
12931353GAME( 1986, sboblboa, bublbobl, boblbobl, boblbobl, bublbobl, ROT0,  "bootleg", "Super Bobble Bobble (set 1)", 0 )
12941354GAME( 1986, sboblbob, bublbobl, boblbobl, sboblbob, bublbobl, ROT0,  "bootleg", "Super Bobble Bobble (set 2)", 0 )
12951355GAME( 1986, bub68705, bublbobl, bub68705, bublbobl, bublbobl, ROT0,  "bootleg", "Bubble Bobble (bootleg with 68705)", 0 )
1356
1357GAME( 1987, dland,    bublbobl, boblbobl, dland,    dland,    ROT0,  "bootleg", "Dream Land / Super Dream Land (bootleg of Bubble Bobble)", 0 )
src/mame/drivers/skyfox.c
r5338r5339
411411
412412
413413GAME( 1987, skyfox,   0,      skyfox, skyfox, skyfox, ROT90, "Jaleco (Nichibutsu USA license)", "Sky Fox" , 0 )
414GAME( 1987, exerizrb, skyfox, skyfox, skyfox, skyfox, ROT90, "Jaleco", "Exerizer (Japan) (bootleg)", 0 )
414GAME( 1987, exerizrb, skyfox, skyfox, skyfox, skyfox, ROT90, "bootleg", "Exerizer (Japan) (bootleg)", 0 )
src/mame/drivers/docastle.c
r5338r5339
701701   ROM_LOAD( "09c.bin",      0x0000, 0x0200, CRC(066f52bc) SHA1(99f4f2d0181bcaf389c16f127cc3e632d62ee417) ) // color prom
702702ROM_END
703703
704ROM_START( docastl2 )
704ROM_START( docastle2 )
705705   ROM_REGION( 0x10000, "maincpu", 0 )
706706   ROM_LOAD( "a1",           0x0000, 0x2000, CRC(0d81fafc) SHA1(938c4470b022063ae66b607ca086fad98174248f) )
707707   ROM_LOAD( "a2",           0x2000, 0x2000, CRC(a13dc4ac) SHA1(f096d5ac8e26444ebdb4c3fb5c71592058fb6c79) )
r5338r5339
727727   ROM_LOAD( "09c.bin",      0x0000, 0x0200, CRC(066f52bc) SHA1(99f4f2d0181bcaf389c16f127cc3e632d62ee417) ) // color prom
728728ROM_END
729729
730ROM_START( docastlo )
730ROM_START( docastleo )
731731   ROM_REGION( 0x10000, "maincpu", 0 )
732732   ROM_LOAD( "c1.bin",    0x0000, 0x2000, CRC(c9ce96ab) SHA1(3166aef4556ce334ecef27dceb285f51de371c35) )
733733   ROM_LOAD( "c2.bin",     0x2000, 0x2000, CRC(42b28369) SHA1(8c9a618984db52cdc4ec3a6bcfa7659866d2709c) )
r5338r5339
781781   ROM_LOAD( "dorevc9.bin",  0x0000, 0x0200, CRC(96624ebe) SHA1(74ff21dc85dcb013c941ec6c06cafdb5bcc16960) ) // color prom
782782ROM_END
783783
784ROM_START( dorunruc )
784ROM_START( dorunrunc )
785785   ROM_REGION( 0x10000, "maincpu", 0 )
786786   ROM_LOAD( "rev-0-1.p1",   0x0000, 0x2000, CRC(49906ebd) SHA1(03afb7e3107038d5a052e497b8a206334514536f) )
787787   ROM_LOAD( "rev-0-2.n1",   0x2000, 0x2000, CRC(dbe3e7db) SHA1(168026aacce73941329a72e78423f83f7c4f0f04) )
r5338r5339
807807   ROM_LOAD( "dorunrun.clr", 0x0000, 0x0100, CRC(d5bab5d5) SHA1(7a465fe30b6008793d33f6e07086c89111e1e407) )
808808ROM_END
809809
810ROM_START( dorunrca )
810ROM_START( dorunrunca )
811811   ROM_REGION( 0x10000, "maincpu", 0 )
812812   ROM_LOAD( "runrunc_p1",   0x0000, 0x2000, CRC(a8d789c6) SHA1(42eb5fb6a63300ea4ec71817b5cc9cbc7b0b4150) )
813813   ROM_LOAD( "runrunc_n1",   0x2000, 0x2000, CRC(f8c8a9f4) SHA1(0efd91758f951d8aadab4f5f0086413a8160d603) )
r5338r5339
859859   ROM_LOAD( "dorunrun.clr", 0x0000, 0x0100, CRC(d5bab5d5) SHA1(7a465fe30b6008793d33f6e07086c89111e1e407) )
860860ROM_END
861861
862ROM_START( dorunru2 )
862ROM_START( dorunrun2 )
863863   ROM_REGION( 0x10000, "maincpu", 0 )
864864   ROM_LOAD( "p1",           0x0000, 0x2000, CRC(12a99365) SHA1(12a1ab76182faa4f76cc5020913ca5706313fe72) )
865865   ROM_LOAD( "l1",           0x4000, 0x2000, CRC(38609287) SHA1(85f5cd707d620780436e4bed00753acef08f83cd) )
r5338r5339
10221022
10231023/* Game Drivers */
10241024
1025GAME( 1983, docastle, 0,        docastle, docastle, 0, ROT270, "Universal", "Mr. Do's Castle (set 1)", GAME_SUPPORTS_SAVE )
1026GAME( 1983, docastl2, docastle, docastle, docastle, 0, ROT270, "Universal", "Mr. Do's Castle (set 2)", GAME_SUPPORTS_SAVE )
1027GAME( 1983, docastlo, docastle, docastle, docastle, 0, ROT270, "Universal", "Mr. Do's Castle (older)", GAME_SUPPORTS_SAVE )
1028GAME( 1983, douni,    docastle, docastle, docastle, 0, ROT270, "Universal", "Mr. Do vs. Unicorns", GAME_SUPPORTS_SAVE )
1029GAME( 1984, dorunrun, 0,        dorunrun, dorunrun, 0, ROT0,   "Universal", "Do! Run Run (set 1)", GAME_SUPPORTS_SAVE )
1030GAME( 1984, dorunru2, dorunrun, dorunrun, dorunrun, 0, ROT0,   "Universal", "Do! Run Run (set 2)", GAME_SUPPORTS_SAVE )
1031GAME( 1984, dorunruc, dorunrun, docastle, dorunrun, 0, ROT0,   "Universal", "Do! Run Run (Do's Castle hardware, set 1)", GAME_SUPPORTS_SAVE )
1032GAME( 1984, dorunrca, dorunrun, docastle, dorunrun, 0, ROT0,   "Universal", "Do! Run Run (Do's Castle hardware, set 2)", GAME_SUPPORTS_SAVE )
1033GAME( 1987, spiero,   dorunrun, dorunrun, dorunrun, 0, ROT0,   "Universal", "Super Pierrot (Japan)", GAME_SUPPORTS_SAVE )
1034GAME( 1984, dowild,   0,        dorunrun, dowild,   0, ROT0,   "Universal", "Mr. Do's Wild Ride", GAME_SUPPORTS_SAVE )
1035GAME( 1984, jjack,    0,        dorunrun, jjack,    0, ROT270, "Universal", "Jumping Jack", GAME_SUPPORTS_SAVE )
1036GAME( 1984, kickridr, 0,        dorunrun, kickridr, 0, ROT0,   "Universal", "Kick Rider", GAME_SUPPORTS_SAVE )
1037GAME( 1985, idsoccer, 0,        idsoccer, idsoccer, 0, ROT0,   "Universal", "Indoor Soccer", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
1025GAME( 1983, docastle,  0,        docastle, docastle, 0, ROT270, "Universal", "Mr. Do's Castle (set 1)", GAME_SUPPORTS_SAVE )
1026GAME( 1983, docastle2, docastle, docastle, docastle, 0, ROT270, "Universal", "Mr. Do's Castle (set 2)", GAME_SUPPORTS_SAVE )
1027GAME( 1983, docastleo, docastle, docastle, docastle, 0, ROT270, "Universal", "Mr. Do's Castle (older)", GAME_SUPPORTS_SAVE )
1028GAME( 1983, douni,     docastle, docastle, docastle, 0, ROT270, "Universal", "Mr. Do vs. Unicorns", GAME_SUPPORTS_SAVE )
1029GAME( 1984, dorunrun,  0,        dorunrun, dorunrun, 0, ROT0,   "Universal", "Do! Run Run (set 1)", GAME_SUPPORTS_SAVE )
1030GAME( 1984, dorunrun2, dorunrun, dorunrun, dorunrun, 0, ROT0,   "Universal", "Do! Run Run (set 2)", GAME_SUPPORTS_SAVE )
1031GAME( 1984, dorunrunc, dorunrun, docastle, dorunrun, 0, ROT0,   "Universal", "Do! Run Run (Do's Castle hardware, set 1)", GAME_SUPPORTS_SAVE )
1032GAME( 1984, dorunrunca,dorunrun, docastle, dorunrun, 0, ROT0,   "Universal", "Do! Run Run (Do's Castle hardware, set 2)", GAME_SUPPORTS_SAVE )
1033GAME( 1987, spiero,    dorunrun, dorunrun, dorunrun, 0, ROT0,   "Universal", "Super Pierrot (Japan)", GAME_SUPPORTS_SAVE )
1034GAME( 1984, dowild,    0,        dorunrun, dowild,   0, ROT0,   "Universal", "Mr. Do's Wild Ride", GAME_SUPPORTS_SAVE )
1035GAME( 1984, jjack,     0,        dorunrun, jjack,    0, ROT270, "Universal", "Jumping Jack", GAME_SUPPORTS_SAVE )
1036GAME( 1984, kickridr,  0,        dorunrun, kickridr, 0, ROT0,   "Universal", "Kick Rider", GAME_SUPPORTS_SAVE )
1037GAME( 1985, idsoccer,  0,        idsoccer, idsoccer, 0, ROT0,   "Universal", "Indoor Soccer", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
src/mame/drivers/mystston.c
r5338r5339
260260ROM_END
261261
262262
263ROM_START( myststno )
263ROM_START( myststono )
264264   ROM_REGION( 0x10000, "maincpu", 0 )
265265   ROM_LOAD( "ms0",          0x4000, 0x2000, CRC(6dacc05f) SHA1(43054199901639516205c7ea145462d0abea8fb1) )
266266   ROM_LOAD( "ms1",          0x6000, 0x2000, CRC(a3546df7) SHA1(89c0349885a9369406a1121cd3db28963b25f2e6) )
r5338r5339
298298 *************************************/
299299
300300GAME( 1984, mystston, 0,        mystston, mystston, 0, ROT270, "Technos Japan", "Mysterious Stones - Dr. John's Adventure", GAME_SUPPORTS_SAVE )
301GAME( 1984, myststno, mystston, mystston, mystston, 0, ROT270, "Technos Japan", "Mysterious Stones - Dr. Kick in Adventure", GAME_SUPPORTS_SAVE )
301GAME( 1984, myststono,mystston, mystston, mystston, 0, ROT270, "Technos Japan", "Mysterious Stones - Dr. Kick in Adventure", GAME_SUPPORTS_SAVE )
src/mame/drivers/rampart.c
r5338r5339
401401ROM_END
402402
403403
404ROM_START( ramprt2p )
404ROM_START( rampart2p )
405405   ROM_REGION( 0x148000, "maincpu", 0 )
406406   ROM_LOAD16_BYTE( "136082-1033.13l",  0x00000, 0x80000, CRC(5c36795f) SHA1(2f3dcdfd6b04d851aa1082848624687ac0cec9e2) )
407407   ROM_LOAD16_BYTE( "136082-1032.13j",  0x00001, 0x80000, CRC(ec7bc38c) SHA1(72d4dbb11e92c69cb560bbb39d7bbd5e845b1e4d) )
r5338r5339
502502 *************************************/
503503
504504GAME( 1990, rampart,  0,       rampart, rampart,  rampart, ROT0, "Atari Games", "Rampart (Trackball)", GAME_SUPPORTS_SAVE )
505GAME( 1990, ramprt2p, rampart, rampart, ramprt2p, rampart, ROT0, "Atari Games", "Rampart (Joystick)", GAME_SUPPORTS_SAVE )
505GAME( 1990, rampart2p,rampart, rampart, ramprt2p, rampart, ROT0, "Atari Games", "Rampart (Joystick)", GAME_SUPPORTS_SAVE )
506506GAME( 1990, rampartj, rampart, rampart, rampartj, rampart, ROT0, "Atari Games", "Rampart (Japan, Joystick)", GAME_SUPPORTS_SAVE )
src/mame/drivers/magicard.c
r5338r5339
559559   ROM_LOAD16_WORD_SWAP("mgorigee.bin",   0x0000,   0x0100, CRC(73522889) SHA1(3e10d6c1585c3a63cff717a0b950528d5373c781) )
560560ROM_END
561561
562ROM_START( magicrda )
562ROM_START( magicarda )
563563   ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 Code & GFX */
564564   ROM_LOAD16_WORD_SWAP( "mcorigg2.bin", 0x00000, 0x20000, CRC(48546aa9) SHA1(23099a5e4c9f2c3386496f6d7f5bb7d435a6fb16) )
565565   ROM_RELOAD(                           0x40000, 0x20000 )
r5338r5339
570570   ROM_LOAD("mgorigee.bin",   0x0000,   0x0100, CRC(73522889) SHA1(3e10d6c1585c3a63cff717a0b950528d5373c781) )
571571ROM_END
572572
573ROM_START( magicrdb )
573ROM_START( magicardb )
574574   ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 Code & GFX */
575575   ROM_LOAD16_WORD_SWAP( "mg_8.bin", 0x00000, 0x80000, CRC(f5499765) SHA1(63bcf40b91b43b218c1f9ec1d126a856f35d0844) )
576576
r5338r5339
588588   //...
589589}
590590
591/*    YEAR  NAME      PARENT MACHINE  INPUT  INIT  ROT    COMPANY   FULLNAME             FLAGS... */
591/*    YEAR  NAME      PARENT     MACHINE  INPUT  INIT   ROT    COMPANY   FULLNAME             FLAGS... */
592592
593GAME( 199?, magicard, 0,     magicard, 0,     magicard,    ROT0, "Impera", "Magic Card (set 1)", GAME_NO_SOUND | GAME_NOT_WORKING )
594GAME( 199?, magicrda, 0,     magicard, 0,     magicard,    ROT0, "Impera", "Magic Card (set 2)", GAME_NO_SOUND | GAME_NOT_WORKING )
595GAME( 199?, magicrdb, 0,     magicard, 0,     magicard,    ROT0, "Impera", "Magic Card (set 3)", GAME_NO_SOUND | GAME_NOT_WORKING )
593GAME( 199?, magicard,  0,        magicard, 0, magicard, ROT0, "Impera", "Magic Card (set 1)", GAME_NO_SOUND | GAME_NOT_WORKING )
594GAME( 199?, magicarda, magicard, magicard, 0, magicard, ROT0, "Impera", "Magic Card (set 2)", GAME_NO_SOUND | GAME_NOT_WORKING )
595GAME( 199?, magicardb, magicard, magicard, 0, magicard, ROT0, "Impera", "Magic Card (set 3)", GAME_NO_SOUND | GAME_NOT_WORKING )
596596
597597/*Below here there are CD-I bios defines,to be removed in the end*/
598598ROM_START( mcdi200 )
src/mame/drivers/yiear.c
r5338r5339
196196static MACHINE_DRIVER_START( yiear )
197197
198198   /* basic machine hardware */
199   MDRV_CPU_ADD("maincpu", M6809,18432000/16)   /* ???? */
199   MDRV_CPU_ADD("maincpu", M6809,XTAL_18_432MHz/16)   /* verified on pcb */
200200   MDRV_CPU_PROGRAM_MAP(main_map)
201201   MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
202202   MDRV_CPU_PERIODIC_INT(yiear_nmi_interrupt,500)   /* music tempo (correct frequency unknown) */
203203
204204   /* video hardware */
205205   MDRV_SCREEN_ADD("screen", RASTER)
206   MDRV_SCREEN_REFRESH_RATE(60)
206   MDRV_SCREEN_REFRESH_RATE(60.58)   /* verified on pcb */
207207   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
208208   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
209209   MDRV_SCREEN_SIZE(32*8, 32*8)
r5338r5339
219219   /* sound hardware */
220220   MDRV_SPEAKER_STANDARD_MONO("mono")
221221
222   MDRV_SOUND_ADD("sn", SN76496, 18432000/12)
222   MDRV_SOUND_ADD("sn", SN76496, XTAL_18_432MHz/16)   /* verified on pcb */
223223   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
224224
225   MDRV_SOUND_ADD("vlm", VLM5030, 3580000)
225   MDRV_SOUND_ADD("vlm", VLM5030, XTAL_3_579545MHz)   /* verified on pcb */
226226   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
227227MACHINE_DRIVER_END
228228
src/mame/drivers/murogem.c
r5338r5339
115115
116116static INPUT_PORTS_START( murogem )
117117   PORT_START("IN0")
118   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_CODE(KEYCODE_1) PORT_NAME("Bet (Replay)")
119   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_CODE(KEYCODE_2) PORT_NAME("Deal")
120   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_SPACE) PORT_NAME("Clear Selection")
121   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Select Card 5")
122   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Select Card 4")
123   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Select Card 3")
124   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Select Card 2")
125   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Select Card 1")
118   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Bet (Replay)")
119   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal")
120   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) PORT_NAME("Clear Selection")
121   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Select Card 5")
122   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Select Card 4")
123   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Select Card 3")
124   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Select Card 2")
125   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Select Card 1")
126126
127127   PORT_START("IN1")
128   PORT_DIPNAME( 0x01, 0x01, "Reset" ) // reduces credits to 0 and resets game??
128   PORT_DIPNAME( 0x01, 0x01, "Reset" )   // reduces credits to 0 and resets game??
129129   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
130130   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
131131   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 )
r5338r5339
270270
271271ROM_END
272272
273GAME( 198?, murogem,  0,       murogem, murogem, 0, ROT0, "unknown", "Muroge Monaco (set 1)", GAME_NO_SOUND|GAME_WRONG_COLORS )
274GAME( 198?, murogema, murogem, murogem, murogem, 0, ROT0, "unknown", "Muroge Monaco (set 2)", GAME_NO_SOUND|GAME_WRONG_COLORS )
275GAME( 198?, lasvegas, murogem, murogem, murogem, 0, ROT0, "hack",    "Las Vegas, Nevada", GAME_NO_SOUND|GAME_WRONG_COLORS )
273GAME( 198?, murogem,  0,       murogem, murogem, 0, ROT0, "<unknown>", "Muroge Monaco (set 1)", GAME_NO_SOUND|GAME_WRONG_COLORS )
274GAME( 198?, murogema, murogem, murogem, murogem, 0, ROT0, "<unknown>", "Muroge Monaco (set 2)", GAME_NO_SOUND|GAME_WRONG_COLORS )
275GAME( 198?, lasvegas, murogem, murogem, murogem, 0, ROT0, "hack",      "Las Vegas, Nevada", GAME_NO_SOUND|GAME_WRONG_COLORS )
src/mame/drivers/snowbros.c
r5338r5339
17931793//  ROM_LOAD( "ch3",          0x60000, 0x20000, CRC(34024aef) SHA1(003a9b9ee3aaab3d787894d3d4126d372b19d2a8) )
17941794ROM_END
17951795
1796ROM_START( snowbroa )
1796ROM_START( snowbrosa )
17971797   ROM_REGION( 0x40000, "maincpu", 0 )   /* 6*64k for 68000 code */
17981798   ROM_LOAD16_BYTE( "sbros-3a.5",  0x00000, 0x20000, CRC(10cb37e1) SHA1(786be4640f8df2c81a32decc189ea7657ace00c6) )
17991799   ROM_LOAD16_BYTE( "sbros-2a.6",  0x00001, 0x20000, CRC(ab91cc1e) SHA1(8cff61539dc7d35fcbf110d3e54fc1883e7b8509) )
r5338r5339
18051805   ROM_LOAD( "sbros-1.41",   0x00000, 0x80000, CRC(16f06b3a) SHA1(c64d3b2d32f0f0fcf1d8c5f02f8589d59ddfd428) )
18061806ROM_END
18071807
1808ROM_START( snowbrob )
1808ROM_START( snowbrosb )
18091809   ROM_REGION( 0x40000, "maincpu", 0 )   /* 6*64k for 68000 code */
18101810   ROM_LOAD16_BYTE( "sbros3-a",     0x00000, 0x20000, CRC(301627d6) SHA1(0d1dc70091c87e9c27916d4232ff31b7381a64e1) )
18111811   ROM_LOAD16_BYTE( "sbros2-a",     0x00001, 0x20000, CRC(f6689f41) SHA1(e4fd27b930a31479c0d99e0ddd23d5db34044666) )
r5338r5339
18171817   ROM_LOAD( "sbros-1.41",   0x00000, 0x80000, CRC(16f06b3a) SHA1(c64d3b2d32f0f0fcf1d8c5f02f8589d59ddfd428) )
18181818ROM_END
18191819
1820ROM_START( snowbroc )
1820ROM_START( snowbrosc )
18211821   ROM_REGION( 0x40000, "maincpu", 0 )   /* 6*64k for 68000 code */
18221822   ROM_LOAD16_BYTE( "3-a.ic5",  0x00000, 0x20000, CRC(e1bc346b) SHA1(a20c343d9ed2ad4f785d21076499008edad251f9) )
18231823   ROM_LOAD16_BYTE( "2-a.ic6",  0x00001, 0x20000, CRC(1be27f9d) SHA1(76dd14480b9274831e51016f7bb57459d7b15cf9) )
r5338r5339
18291829   ROM_LOAD( "sbros-1.41",   0x00000, 0x80000, CRC(16f06b3a) SHA1(c64d3b2d32f0f0fcf1d8c5f02f8589d59ddfd428) )
18301830ROM_END
18311831
1832ROM_START( snowbrod ) /* Korean release, but no specific "For use in Korea only..." notice screen */
1832ROM_START( snowbrosd ) /* Korean release, but no specific "For use in Korea only..." notice screen */
18331833   ROM_REGION( 0x40000, "maincpu", 0 )   /* 6*64k for 68000 code */
18341834   ROM_LOAD16_BYTE( "sbk_3-a.bin",   0x00000, 0x20000, CRC(97174d40) SHA1(481e8c680af8b03d4bcf97b87ca0ba5a3ffca0d7) )
18351835   ROM_LOAD16_BYTE( "sbk_2-a.bin",   0x00001, 0x20000, CRC(80cc80e5) SHA1(1eeca0924c93e9f0536683160e80c59871569088) )
r5338r5339
18411841   ROM_LOAD( "sbros-1.41",   0x00000, 0x80000, CRC(16f06b3a) SHA1(c64d3b2d32f0f0fcf1d8c5f02f8589d59ddfd428) )
18421842ROM_END
18431843
1844ROM_START( snowbroj )/* "For use in Japan only..." notice screen */
1844ROM_START( snowbrosj )/* "For use in Japan only..." notice screen */
18451845   ROM_REGION( 0x40000, "maincpu", 0 )   /* 6*64k for 68000 code */
18461846   ROM_LOAD16_BYTE( "snowbros.3",   0x00000, 0x20000, CRC(3f504f9e) SHA1(700758b114c3fde6ea8f84222af0850dba13cd3b) )
18471847   ROM_LOAD16_BYTE( "snowbros.2",   0x00001, 0x20000, CRC(854b02bc) SHA1(4ad1548eef94dcb95119cb4a7dcdefa037591b5b) )
r5338r5339
20112011   ROM_LOAD( "hyperpac.a6", 0x080000, 0x40000, CRC(61d86e63) SHA1(974c634607993924fa098eff106b1b288bec1e26) )
20122012ROM_END
20132013
2014ROM_START( hyperpcb )
2014ROM_START( hyperpacb )
20152015   ROM_REGION( 0x100000, "maincpu", 0 ) /* 68000 Code */
20162016   ROM_LOAD16_BYTE( "hpacuh12.bin", 0x00001, 0x20000, CRC(633ab2c6) SHA1(534435fa602adebf651e1d42f7c96b01eb6634ef) )
20172017   ROM_LOAD16_BYTE( "hpacui12.bin", 0x00000, 0x20000, CRC(23dc00d1) SHA1(8d4d00f450b94912adcbb24073f9b3b01eab0450) )
r5338r5339
22262226   ROM_LOAD( "u78", 0x000000, 0x200000, CRC(6c1fbc9c) SHA1(067f32cae89fd4d57b90be659d2d648e557c11df) )
22272227ROM_END
22282228
2229ROM_START( snowbro3 )
2229ROM_START( snowbros3 )
22302230   ROM_REGION( 0x40000, "maincpu", 0 )   /* 68000 code */
22312231   ROM_LOAD16_BYTE( "ur4",  0x00000, 0x20000, CRC(19c13ffd) SHA1(4f9db70354bd410b7bcafa96be4591de8dc33d90) )
22322232   ROM_LOAD16_BYTE( "ur3",  0x00001, 0x20000, CRC(3f32fa15) SHA1(1402c173c1df142ff9dd7b859689c075813a50e5) )
r5338r5339
27372737}
27382738
27392739
2740GAME( 1990, snowbros, 0,        snowbros, snowbros, 0, ROT0, "Toaplan", "Snow Bros. - Nick & Tom (set 1)", 0 )
2741GAME( 1990, snowbroa, snowbros, snowbros, snowbros, 0, ROT0, "Toaplan", "Snow Bros. - Nick & Tom (set 2)", 0 )
2742GAME( 1990, snowbrob, snowbros, snowbros, snowbros, 0, ROT0, "Toaplan", "Snow Bros. - Nick & Tom (set 3)", 0 )
2743GAME( 1990, snowbroc, snowbros, snowbros, snowbros, 0, ROT0, "Toaplan", "Snow Bros. - Nick & Tom (set 4)", 0 )
2744GAME( 1990, snowbroj, snowbros, snowbros, snowbroj, 0, ROT0, "Toaplan", "Snow Bros. - Nick & Tom (Japan)", 0 )
2745GAME( 1990, snowbrod, snowbros, snowbros, snowbroj, 0, ROT0, "Toaplan (Dooyong license)", "Snow Bros. - Nick & Tom (Dooyong license)", 0 )
2746GAME( 1990, wintbob,  snowbros, wintbob,  snowbros, 0, ROT0, "[Toaplan] (Sakowa Project Korea bootleg)", "The Winter Bobble (bootleg of Snow Bros.)", 0 )
2740GAME( 1990, snowbros,  0,        snowbros, snowbros, 0, ROT0, "Toaplan", "Snow Bros. - Nick & Tom (set 1)", 0 )
2741GAME( 1990, snowbrosa, snowbros, snowbros, snowbros, 0, ROT0, "Toaplan", "Snow Bros. - Nick & Tom (set 2)", 0 )
2742GAME( 1990, snowbrosb, snowbros, snowbros, snowbros, 0, ROT0, "Toaplan", "Snow Bros. - Nick & Tom (set 3)", 0 )
2743GAME( 1990, snowbrosc, snowbros, snowbros, snowbros, 0, ROT0, "Toaplan", "Snow Bros. - Nick & Tom (set 4)", 0 )
2744GAME( 1990, snowbrosj, snowbros, snowbros, snowbroj, 0, ROT0, "Toaplan", "Snow Bros. - Nick & Tom (Japan)", 0 )
2745GAME( 1990, snowbrosd, snowbros, snowbros, snowbroj, 0, ROT0, "Toaplan (Dooyong license)", "Snow Bros. - Nick & Tom (Dooyong license)", 0 )
2746GAME( 1990, wintbob,   snowbros, wintbob,  snowbros, 0, ROT0, "[Toaplan] (Sakowa Project Korea bootleg)", "The Winter Bobble (bootleg of Snow Bros.)", 0 )
27472747
27482748GAME( 1995, honeydol, 0,        honeydol, honeydol, 0, ROT0, "Barko Corp.", "Honey Dolls", 0 ) // based on snowbros code..
27492749GAME( 1995, twinadv,  0,        twinadv,  twinadv,  0, ROT0, "Barko Corp.", "Twin Adventure (World)", 0 )
27502750GAME( 1995, twinadvk, twinadv,  twinadv,  twinadv,  0, ROT0, "Barko Corp.", "Twin Adventure (Korea)", 0 )
27512751GAME( 1995, hyperpac, 0,        semicom_mcu,  hyperpac, 0, ROT0, "SemiCom", "Hyper Pacman", 0 )
2752GAME( 1995, hyperpcb, hyperpac, semicom,  hyperpac, 0,        ROT0, "bootleg", "Hyper Pacman (bootleg)", 0 )
2752GAME( 1995, hyperpacb,hyperpac, semicom,  hyperpac, 0,        ROT0, "bootleg", "Hyper Pacman (bootleg)", 0 )
27532753GAME( 1996, cookbib2, 0,        semiprot, cookbib2, cookbib2, ROT0, "SemiCom", "Cookie & Bibi 2", 0 )
27542754GAME( 1996, toppyrap, 0,        semiprot, toppyrap, 0,        ROT0, "SemiCom", "Toppy & Rappy", 0 )
27552755GAME( 1997, cookbib3, 0,        semiprot, cookbib3, cookbib3, ROT0, "SemiCom", "Cookie & Bibi 3", 0 )
r5338r5339
27582758GAME( 1999, moremore, 0,        semiprot, moremore, moremorp, ROT0, "SemiCom / Exit", "More More", 0 )
27592759GAME( 1999, moremorp, 0,        semiprot, moremore, moremorp, ROT0, "SemiCom / Exit", "More More Plus", 0 )
27602760GAME( 2002, 4in1boot, 0,        _4in1,    4in1boot, 4in1boot, ROT0, "K1 Soft", "Puzzle King (includes bootleg of Snow Bros.)" , 0)
2761GAME( 2002, snowbro3, snowbros, snowbro3, snowbroj, snowbro3, ROT0, "Syrmex (bootleg/hack)", "Snow Brothers 3 - Magical Adventure", GAME_IMPERFECT_SOUND ) // its basically snowbros code?...
2761GAME( 2002, snowbros3,snowbros, snowbro3, snowbroj, snowbro3, ROT0, "Syrmex (bootleg/hack)", "Snow Brothers 3 - Magical Adventure", GAME_IMPERFECT_SOUND ) // its basically snowbros code?...
27622762GAME( 1993, finalttr, 0,        finalttr, finalttr, 0,        ROT0, "Jeil Computer System", "Final Tetris", 0 )
src/mame/drivers/segaxbd.c
r5338r5339
17381738
17391739    GAME BD NO. 834-6493-03 (Uses "MPR" mask roms) or 834-6493-05 (Uses "EPR" eproms)
17401740*/
1741ROM_START( thndrbd1 )
1741ROM_START( thndrbld1 )
17421742   ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 code */
17431743   ROM_LOAD16_BYTE( "epr-11304.ic58", 0x000000, 0x20000, CRC(a90630ef) SHA1(8f29e020119b2243b1c95e15546af1773327ae85) ) // patched?
17441744   ROM_LOAD16_BYTE( "epr-11305.ic63", 0x000001, 0x20000, CRC(9ba3ef61) SHA1(f75748b37ce35b0ef881804f73417643068dfbb2) ) // patched?
r5338r5339
28562856GAME( 1987, aburner2, 0,        xboard,  aburner2, aburner2,       ROT0, "Sega", "After Burner II", 0 )
28572857GAME( 1987, aburner,  aburner2, xboard,  aburner,  aburner,        ROT0, "Sega", "After Burner (Japan)", 0 )
28582858GAME( 1987, thndrbld, 0,        xboard,  thndrbld, generic_xboard, ROT0, "Sega", "Thunder Blade (upright, FD1094 317-0056)", 0 )
2859GAME( 1987, thndrbd1, thndrbld, xboard,  thndrbd1, generic_xboard, ROT0, "Sega", "Thunder Blade (deluxe/standing, unprotected)", 0 )
2859GAME( 1987, thndrbld1,thndrbld, xboard,  thndrbd1, generic_xboard, ROT0, "Sega", "Thunder Blade (deluxe/standing, unprotected)", 0 )
28602860GAME( 1989, loffire,  0,        xboard,  loffire,  loffire,        ROT0, "Sega", "Line of Fire / Bakudan Yarou (World, FD1094 317-0136)", 0 )
28612861GAME( 1989, loffireu, loffire,  xboard,  loffire,  loffire,        ROT0, "Sega", "Line of Fire / Bakudan Yarou (US, FD1094 317-0135)", 0 )
28622862GAME( 1989, loffirej, loffire,  xboard,  loffire,  loffire,        ROT0, "Sega", "Line of Fire / Bakudan Yarou (Japan, FD1094 317-0134)", 0 )
src/mame/drivers/sslam.c
r5338r5339
910910ROM_END
911911
912912// it's a conversion for a sslam pcb
913ROM_START( powerbls )
913ROM_START( powerbals )
914914   ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 Code */
915915   ROM_LOAD16_BYTE( "21.u67", 0x00000, 0x40000, CRC(4e302381) SHA1(5685d15fd3137866093ff13b95a7df2265a8bc64) )
916916   ROM_LOAD16_BYTE( "22.u66", 0x00001, 0x40000, CRC(89b70599) SHA1(57a5d71e4d8ca62fffe2e81116c5236d2194ae11) )
r5338r5339
964964
965965GAME( 1993, sslam,    0,        sslam,    sslam,    sslam,    ROT0, "Playmark", "Super Slam (set 1)", GAME_SUPPORTS_SAVE )
966966GAME( 1993, sslama,   sslam,    sslam,    sslam,    sslam,    ROT0, "Playmark", "Super Slam (set 2)", GAME_SUPPORTS_SAVE )
967GAME( 1994, powerbls, powerbal, powerbls, powerbls, powerbls, ROT0, "Playmark", "Power Balls (Super Slam conversion)", GAME_SUPPORTS_SAVE )
967GAME( 1994, powerbals,powerbal, powerbls, powerbls, powerbls, ROT0, "Playmark", "Power Balls (Super Slam conversion)", GAME_SUPPORTS_SAVE )
src/mame/drivers/sonson.c
r5338r5339
4444TODO:
4545
4646- Fix Service Mode Output Test: press p1/p2 shot to insert coin
47- Flip Screen DIP is noted in service manual and added to DIP LOCATIONS, but not working.
4748
4849***************************************************************************/
4950
r5338r5339
7778   last = data;
7879}
7980
81static WRITE8_HANDLER( sonson_coin1_counter_w )
82{
83   coin_counter_w(0,data & 1);
84}
8085
86static WRITE8_HANDLER( sonson_coin2_counter_w )
87{
88   coin_counter_w(1,data & 1);
89}
8190
8291static ADDRESS_MAP_START( main_map, ADDRESS_SPACE_PROGRAM, 8 )
8392   AM_RANGE(0x0000, 0x0fff) AM_RAM
r5338r5339
94103   AM_RANGE(0x3010, 0x3010) AM_WRITE(soundlatch_w)
95104   AM_RANGE(0x3018, 0x3018) AM_WRITE(sonson_flipscreen_w)
96105   AM_RANGE(0x3019, 0x3019) AM_WRITE(sonson_sh_irqtrigger_w)
106   AM_RANGE(0x301e, 0x301e) AM_WRITE(sonson_coin2_counter_w)
107   AM_RANGE(0x301f, 0x301f) AM_WRITE(sonson_coin1_counter_w)
97108   AM_RANGE(0x4000, 0xffff) AM_ROM
98109ADDRESS_MAP_END
99110
r5338r5339
139150   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )   /* probably unused */
140151
141152   PORT_START("DSW1")
142   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coinage ) )
153   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coinage ) )  PORT_DIPLOCATION("SW1:1,2,3,4")
143154   PORT_DIPSETTING(    0x02, DEF_STR( 4C_1C ) )
144155   PORT_DIPSETTING(    0x05, DEF_STR( 3C_1C ) )
145156   PORT_DIPSETTING(    0x08, DEF_STR( 2C_1C ) )
r5338r5339
156167   PORT_DIPSETTING(    0x0a, DEF_STR( 1C_6C ) )
157168   PORT_DIPSETTING(    0x09, DEF_STR( 1C_7C ) )
158169   PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
159   PORT_DIPNAME( 0x10, 0x10, "Coinage affects" )
170   PORT_DIPNAME( 0x10, 0x10, "Coinage affects" ) PORT_DIPLOCATION("SW1:5")  /* Not documented in manual */
160171   PORT_DIPSETTING(    0x10, DEF_STR( Coin_A ) )
161172   PORT_DIPSETTING(    0x00, DEF_STR( Coin_B ) )
162   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) )
173   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:6")
163174   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
164175   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
165   PORT_SERVICE( 0x40, IP_ACTIVE_LOW )
166   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
176   PORT_SERVICE( 0x40, IP_ACTIVE_LOW ) PORT_DIPLOCATION("SW1:7")
177        PORT_DIPNAME( 0X80, 0x80, DEF_STR( Flip_Screen )) PORT_DIPLOCATION("SW1:8")
178   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
179   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
167180
168181   PORT_START("DSW2")
169   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
182   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:1,2")
170183   PORT_DIPSETTING(    0x03, "3" )
171184   PORT_DIPSETTING(    0x02, "4" )
172185   PORT_DIPSETTING(    0x01, "5" )
173186   PORT_DIPSETTING(    0x00, "7" )
174   PORT_DIPNAME( 0x04, 0x00, "2 Players Game" )
187   PORT_DIPNAME( 0x04, 0x00, "2 Players Game" ) PORT_DIPLOCATION("SW2:3")  /* Not documented in manual */
175188   PORT_DIPSETTING(    0x04, "1 Credit" )
176189   PORT_DIPSETTING(    0x00, "2 Credits" )
177   PORT_DIPNAME( 0x18, 0x08, DEF_STR( Bonus_Life ) )
190   PORT_DIPNAME( 0x18, 0x08, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:4,5")
178191   PORT_DIPSETTING(    0x08, "20000 80000 100000" )
179192   PORT_DIPSETTING(    0x00, "30000 90000 120000" )
180193   PORT_DIPSETTING(    0x18, "20000" )
181194   PORT_DIPSETTING(    0x10, "30000" )
182   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) )
195   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:6,7")
183196   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
184   PORT_DIPSETTING(    0x40, DEF_STR( Medium ) )
197   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
185198   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
186   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
187   PORT_DIPNAME( 0x80, 0x80, "Freeze" )
199   PORT_DIPSETTING(    0x00, DEF_STR( Very_Hard ) )
200   PORT_DIPNAME( 0x80, 0x80, "Freeze" ) PORT_DIPLOCATION("SW2:8")
188201   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
189202   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
190203INPUT_PORTS_END
src/mame/drivers/hcastle.c
r5338r5339
6262   AM_RANGE(0x0411, 0x0411) AM_READ_PORT("P1")
6363   AM_RANGE(0x0412, 0x0412) AM_READ_PORT("P2")
6464   AM_RANGE(0x0413, 0x0413) AM_READ_PORT("DSW3")
65   AM_RANGE(0x0414, 0x0414) AM_READ_PORT("DSW2")
66   AM_RANGE(0x0415, 0x0415) AM_READ_PORT("DSW1")
65   AM_RANGE(0x0414, 0x0414) AM_READ_PORT("DSW1")
66   AM_RANGE(0x0415, 0x0415) AM_READ_PORT("DSW2")
6767   AM_RANGE(0x0418, 0x0418) AM_READWRITE(hcastle_gfxbank_r, hcastle_gfxbank_w)
6868   AM_RANGE(0x0600, 0x06ff) AM_RAM AM_BASE(&paletteram)
6969   AM_RANGE(0x0700, 0x1fff) AM_RAM
r5338r5339
110110   KONAMI8_COCKTAIL_B12_UNK
111111
112112   PORT_START("DSW1")
113   PORT_DIPNAME( 0x01, 0x01, "Unused SW 1-0" )
114   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
115   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
116   PORT_DIPNAME( 0x02, 0x02, "Unused SW 1-1" )
117   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
118   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
119   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
113   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "Invalid", SW1)
114   /* "Invalid" = both coin slots disabled */
115
116   PORT_START("DSW2")
117   PORT_DIPUNUSED_DIPLOC( 0x01, 0x01, "SW2:1" )      /* Listed as "Unused" */
118   PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW2:2" )      /* Listed as "Unused" */
119   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:3")
120120   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
121121   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
122   PORT_DIPNAME( 0x18, 0x10, DEF_STR( Difficulty ) )   // "Difficulty 1"
123   PORT_DIPSETTING(    0x18, DEF_STR( Easy ) )         // DEF_STR( Easy )
124   PORT_DIPSETTING(    0x10, DEF_STR( Normal ) )      // "Nomal" !
125   PORT_DIPSETTING(    0x08, DEF_STR( Hard ) )         // "Difficult"
126   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )      // "Very Difficult"
127   PORT_DIPNAME( 0x60, 0x40, "Damage" )            // "Difficulty 2"
128   PORT_DIPSETTING(    0x60, "Small" )               // "Strong"
129   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )      // "Nomal" !
130   PORT_DIPSETTING(    0x20, "Big" )               // "Weak"
131   PORT_DIPSETTING(    0x00, "Biggest" )            // "Very Weak"
132   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
122   PORT_DIPNAME( 0x18, 0x10, "Difficulty 1 (Game)" )      PORT_DIPLOCATION("SW2:4,5")   /* Overall difficulty of game */
123   PORT_DIPSETTING(    0x18, DEF_STR( Easy ) )
124   PORT_DIPSETTING(    0x10, DEF_STR( Normal ) )
125   PORT_DIPSETTING(    0x08, DEF_STR( Difficult ) )
126   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
127   PORT_DIPNAME( 0x60, 0x40, "Difficulty 2 (Strength)" )      PORT_DIPLOCATION("SW2:6,7")   /* Listed in manual as "Strength of Player" */
128   PORT_DIPSETTING(    0x00, "Very Weak" )                     /* Takes most damage per hit */
129   PORT_DIPSETTING(    0x20, "Weak" )                     /* Takes more damage per hit */
130   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )                  /* Takes average damage per hit */
131   PORT_DIPSETTING(    0x60, "Strong" )                     /* Takes least damage per hit */
132   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
133133   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
134134   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
135135
136   PORT_START("DSW2")
137   KONAMI_COINAGE(DEF_STR( Free_Play ), "Invalid")
138   /* "Invalid" = both coin slots disabled */
139
140136   PORT_START("DSW3")
141   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )
137   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
142138   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
143139   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
144   PORT_DIPNAME( 0x02, 0x02, "Upright Controls" )
140   PORT_DIPNAME( 0x02, 0x02, "Upright Controls" )      PORT_DIPLOCATION("SW3:2")
145141   PORT_DIPSETTING(    0x02, DEF_STR( Single ) )
146142   PORT_DIPSETTING(    0x00, DEF_STR( Dual ) )
147   PORT_SERVICE( 0x04, IP_ACTIVE_LOW )
148   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Allow_Continue ) )
143   PORT_SERVICE_DIPLOC(  0x04, IP_ACTIVE_LOW, "SW3:3" )
144   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Allow_Continue ) )   PORT_DIPLOCATION("SW3:4")
149145   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
150   PORT_DIPSETTING(    0x08, DEF_STR( Yes ) )
146   PORT_DIPSETTING(    0x08, "Up to 3 Times" )
151147   PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
152148INPUT_PORTS_END
153149
src/mame/drivers/dblewing.c
r5338r5339
124124               colour,
125125               fx,fy,
126126               x,y + mult * multi,
127               priority_bitmap,pri,0);
127               machine->priority_bitmap,pri,0);
128128
129129         if (xsize)
130130         pdrawgfx_transpen(bitmap,cliprect,machine->gfx[2],
r5338r5339
132132               colour,
133133               fx,fy,
134134               x-16,y + mult * multi,
135               priority_bitmap,pri,0);
135               machine->priority_bitmap,pri,0);
136136
137137
138138         multi--;
r5338r5339
159159   deco16_pf12_update(deco16_pf1_rowscroll,deco16_pf2_rowscroll);
160160
161161   bitmap_fill(bitmap,cliprect,0); /* not Confirmed */
162   bitmap_fill(priority_bitmap,NULL,0);
162   bitmap_fill(screen->machine->priority_bitmap,NULL,0);
163163
164164   deco16_tilemap_2_draw(screen,bitmap,cliprect,0,2);
165165   deco16_tilemap_1_draw(screen,bitmap,cliprect,0,4);
src/mame/drivers/labyrunr.c
r5338r5339
269269                                             /* there is no char lookup table */
270270ROM_END
271271
272ROM_START( labyrunk )
272ROM_START( labyrunrk )
273273   ROM_REGION( 0x28000, "maincpu", 0 ) /* code + banked roms */
274274   ROM_LOAD( "771k04.10f", 0x10000, 0x08000, CRC(9816ab35) SHA1(6efb0332f4a62f20889f212682ee7225e4a182a9) )
275275   ROM_CONTINUE(           0x08000, 0x08000 )
r5338r5339
289289
290290GAME( 1987, tricktrp, 0,        labyrunr, labyrunr, 0, ROT90, "Konami", "Trick Trap (World?)", 0 )
291291GAME( 1987, labyrunr, tricktrp, labyrunr, labyrunr, 0, ROT90, "Konami", "Labyrinth Runner (Japan)", 0 )
292GAME( 1987, labyrunk, tricktrp, labyrunr, labyrunr, 0, ROT90, "Konami", "Labyrinth Runner (World Ver. K)", 0 )
292GAME( 1987, labyrunrk,tricktrp, labyrunr, labyrunr, 0, ROT90, "Konami", "Labyrinth Runner (World Ver. K)", 0 )
src/mame/drivers/ccastles.c
r5338r5339
547547ROM_END
548548
549549
550ROM_START( ccastleg )
550ROM_START( ccastlesg )
551551   ROM_REGION( 0x14000, "maincpu", 0 )
552552   ROM_LOAD( "136022-303.1k", 0x0a000, 0x2000, CRC(10e39fce) SHA1(5247f52e14ccf39f0ec699a39c8ebe35e61e07d2) )
553553   ROM_LOAD( "136022-304.1l", 0x0c000, 0x2000, CRC(74510f72) SHA1(d22550f308ff395d51869b52449bc0669a4e35e4) )
r5338r5339
567567ROM_END
568568
569569
570ROM_START( ccastlep )
570ROM_START( ccastlesp )
571571   ROM_REGION( 0x14000, "maincpu", 0 )
572572   ROM_LOAD( "136022-303.1k", 0x0a000, 0x2000, CRC(10e39fce) SHA1(5247f52e14ccf39f0ec699a39c8ebe35e61e07d2) )
573573   ROM_LOAD( "136022-304.1l", 0x0c000, 0x2000, CRC(74510f72) SHA1(d22550f308ff395d51869b52449bc0669a4e35e4) )
r5338r5339
587587ROM_END
588588
589589
590ROM_START( ccastlef )
590ROM_START( ccastlesf )
591591   ROM_REGION( 0x14000, "maincpu", 0 )
592592   ROM_LOAD( "136022-303.1k", 0x0a000, 0x2000, CRC(10e39fce) SHA1(5247f52e14ccf39f0ec699a39c8ebe35e61e07d2) )
593593   ROM_LOAD( "136022-304.1l", 0x0c000, 0x2000, CRC(74510f72) SHA1(d22550f308ff395d51869b52449bc0669a4e35e4) )
r5338r5339
607607ROM_END
608608
609609
610ROM_START( ccastle3 )
610ROM_START( ccastles3 )
611611   ROM_REGION( 0x14000, "maincpu", 0 )
612612   ROM_LOAD( "136022-303.1k", 0x0a000, 0x2000, CRC(10e39fce) SHA1(5247f52e14ccf39f0ec699a39c8ebe35e61e07d2) )
613613   ROM_LOAD( "136022-304.1l", 0x0c000, 0x2000, CRC(74510f72) SHA1(d22550f308ff395d51869b52449bc0669a4e35e4) )
r5338r5339
627627ROM_END
628628
629629
630ROM_START( ccastle2 )
630ROM_START( ccastles2 )
631631   ROM_REGION( 0x14000, "maincpu", 0 )
632632   ROM_LOAD( "136022-203.1k", 0x0a000, 0x2000, CRC(348a96f0) SHA1(76de7bf6a01ccb15a4fe7333c1209f623a2e0d1b) )
633633   ROM_LOAD( "136022-204.1l", 0x0c000, 0x2000, CRC(d48d8c1f) SHA1(8744182a3e2096419de63e341feb77dd8a8bcb34) )
r5338r5339
647647ROM_END
648648
649649
650ROM_START( ccastle1 )
650ROM_START( ccastles1 )
651651   ROM_REGION( 0x14000, "maincpu", 0 )
652652   ROM_LOAD( "136022-103.1k", 0x0a000, 0x2000, CRC(9d10e314) SHA1(3474ae0f0617c1dc9aaa02ca2a912a72d57eba73) )
653653   ROM_LOAD( "136022-104.1l", 0x0c000, 0x2000, CRC(fe2647a4) SHA1(532b236043449b35bd444fff63a7e083d0e2d8c8) )
r5338r5339
667667ROM_END
668668
669669
670ROM_START( ccastlej )
670ROM_START( ccastlesj )
671671   ROM_REGION( 0x14000, "maincpu", 0 )
672672   ROM_LOAD( "a000.12m",      0x0a000, 0x2000, CRC(0d911ef4) SHA1(fbd6a5a0e4e865421ed3720aa61221d03583f248) )
673673   ROM_LOAD( "c000.13m",      0x0c000, 0x2000, CRC(246079de) SHA1(ade2c63656339c3e7e634470a17bc30da1006979) )
r5338r5339
695695 *************************************/
696696
697697GAME( 1983, ccastles, 0,        ccastles, ccastles, 0, ROT0, "Atari", "Crystal Castles (version 4)", GAME_SUPPORTS_SAVE )
698GAME( 1983, ccastleg, ccastles, ccastles, ccastles, 0, ROT0, "Atari", "Crystal Castles (version 3, German)", GAME_SUPPORTS_SAVE )
699GAME( 1983, ccastlep, ccastles, ccastles, ccastles, 0, ROT0, "Atari", "Crystal Castles (version 3, Spanish)", GAME_SUPPORTS_SAVE )
700GAME( 1983, ccastlef, ccastles, ccastles, ccastles, 0, ROT0, "Atari", "Crystal Castles (version 3, French)", GAME_SUPPORTS_SAVE )
701GAME( 1983, ccastle3, ccastles, ccastles, ccastles, 0, ROT0, "Atari", "Crystal Castles (version 3)", GAME_SUPPORTS_SAVE )
702GAME( 1983, ccastle2, ccastles, ccastles, ccastles, 0, ROT0, "Atari", "Crystal Castles (version 2)", GAME_SUPPORTS_SAVE )
703GAME( 1983, ccastle1, ccastles, ccastles, ccastles, 0, ROT0, "Atari", "Crystal Castles (version 1)", GAME_SUPPORTS_SAVE )
704GAME( 1983, ccastlej, ccastles, ccastles, ccastlej, 0, ROT0, "Atari", "Crystal Castles (joystick version)", GAME_SUPPORTS_SAVE )
698GAME( 1983, ccastlesg, ccastles, ccastles, ccastles, 0, ROT0, "Atari", "Crystal Castles (version 3, German)", GAME_SUPPORTS_SAVE )
699GAME( 1983, ccastlesp, ccastles, ccastles, ccastles, 0, ROT0, "Atari", "Crystal Castles (version 3, Spanish)", GAME_SUPPORTS_SAVE )
700GAME( 1983, ccastlesf, ccastles, ccastles, ccastles, 0, ROT0, "Atari", "Crystal Castles (version 3, French)", GAME_SUPPORTS_SAVE )
701GAME( 1983, ccastles3, ccastles, ccastles, ccastles, 0, ROT0, "Atari", "Crystal Castles (version 3)", GAME_SUPPORTS_SAVE )
702GAME( 1983, ccastles2, ccastles, ccastles, ccastles, 0, ROT0, "Atari", "Crystal Castles (version 2)", GAME_SUPPORTS_SAVE )
703GAME( 1983, ccastles1, ccastles, ccastles, ccastles, 0, ROT0, "Atari", "Crystal Castles (version 1)", GAME_SUPPORTS_SAVE )
704GAME( 1983, ccastlesj, ccastles, ccastles, ccastlej, 0, ROT0, "Atari", "Crystal Castles (joystick version)", GAME_SUPPORTS_SAVE )
src/mame/drivers/ddragon3.c
r5338r5339
664664   ROM_LOAD( "mb7114h.ic38", 0x000000, 0x00100, CRC(113c7443) SHA1(7b0b13e9f0c219f6d436aeec06494734d1f4a599) )
665665ROM_END
666666
667ROM_START( ddrago3j )
667ROM_START( ddragon3j )
668668   ROM_REGION( 0x80000, "maincpu", 0 )   /* 64k for cpu code */
669669   ROM_LOAD16_BYTE( "30j15.ic78", 0x00001, 0x40000, CRC(40618cbc) SHA1(cb05498003a45d773983501d3a0f1584a25dcdd3) )
670670   ROM_LOAD16_BYTE( "30j14.ic79", 0x00000, 0x20000, CRC(96827e80) SHA1(499c0c67d55ff4816ad8832d1d8836eb7432bd13) )
r5338r5339
695695   ROM_LOAD( "mb7114h.ic38", 0x000000, 0x00100, CRC(113c7443) SHA1(7b0b13e9f0c219f6d436aeec06494734d1f4a599) )
696696ROM_END
697697
698ROM_START( ddrago3p )
698ROM_START( ddragon3p )
699699   ROM_REGION( 0x80000, "maincpu", 0 )   /* 64k for cpu code */
700700   ROM_LOAD16_BYTE( "30a14-0.ic80", 0x00001, 0x40000, CRC(f42fe016) SHA1(11511aa43caa12b36a795bfaefee824821282523) )
701701   ROM_LOAD16_BYTE( "30a15-0.ic79", 0x00000, 0x20000, CRC(ad50e92c) SHA1(facac5bbe11716d076a40eacbb67f7caab7a4a27) )
r5338r5339
746746   ROM_LOAD( "30.ic38", 0x000000, 0x00100, CRC(113c7443) SHA1(7b0b13e9f0c219f6d436aeec06494734d1f4a599) )
747747ROM_END
748748
749ROM_START( ddrago3b )
749ROM_START( ddragon3b )
750750   ROM_REGION( 0x80000, "maincpu", 0 )   /* 64k for cpu code */
751751   ROM_LOAD16_BYTE( "dd3.01",   0x00001, 0x20000, CRC(68321d8b) SHA1(bd34d361e8ef18ef2b7e8bfe438b1b098c3151b5) )
752752   ROM_LOAD16_BYTE( "dd3.03",   0x00000, 0x20000, CRC(bc05763b) SHA1(49f661fdc98bd43a6622945e9aa8d8e7a7dc1ce6) )
r5338r5339
928928   ROM_CONTINUE(           0x000000, 0x20000 )
929929ROM_END
930930
931ROM_START( ctribb2 )
931ROM_START( ctribeb2 )
932932   ROM_REGION( 0x80000, "maincpu", 0 )   /* 64k for cpu code */
933933   ROM_LOAD16_BYTE( "1.bin",  0x00001, 0x20000, CRC(9cfa997f) SHA1(ee49b4b9e9cd29616f244fdf3912ef743e2404ce) )
934934   ROM_LOAD16_BYTE( "3.bin",  0x00000, 0x20000, CRC(2ece8681) SHA1(17ee2ceb893e2eb08fa4cabcdebcec02bee16cda) )
r5338r5339
982982 *************************************/
983983
984984GAME( 1990, ddragon3, 0,        ddragon3, ddragon3, 0, ROT0, "Technos Japan", "Double Dragon 3 - The Rosetta Stone (US)", GAME_SUPPORTS_SAVE )
985GAME( 1990, ddrago3j, ddragon3, ddragon3, ddragon3, 0, ROT0, "Technos Japan", "Double Dragon 3 - The Rosetta Stone (Japan)", GAME_SUPPORTS_SAVE )
986GAME( 1990, ddrago3p, ddragon3, ddragon3, ddragon3, 0, ROT0, "Technos Japan", "Double Dragon 3 - The Rosetta Stone (prototype)", GAME_SUPPORTS_SAVE )
987GAME( 1990, ddrago3b, ddragon3, ddrago3b, ddrago3b, 0, ROT0, "bootleg", "Double Dragon 3 - The Rosetta Stone (bootleg)", GAME_SUPPORTS_SAVE )
985GAME( 1990, ddragon3j,ddragon3, ddragon3, ddragon3, 0, ROT0, "Technos Japan", "Double Dragon 3 - The Rosetta Stone (Japan)", GAME_SUPPORTS_SAVE )
986GAME( 1990, ddragon3p,ddragon3, ddragon3, ddragon3, 0, ROT0, "Technos Japan", "Double Dragon 3 - The Rosetta Stone (prototype)", GAME_SUPPORTS_SAVE )
987GAME( 1990, ddragon3b,ddragon3, ddrago3b, ddrago3b, 0, ROT0, "bootleg", "Double Dragon 3 - The Rosetta Stone (bootleg)", GAME_SUPPORTS_SAVE )
988988GAME( 1990, ctribe,   0,        ctribe,   ctribe,   0, ROT0, "Technos Japan", "The Combatribes (US)", GAME_SUPPORTS_SAVE )
989989GAME( 1990, ctribe1,  ctribe,   ctribe,   ctribe,   0, ROT0, "Technos Japan", "The Combatribes (US Set 1?)", GAME_SUPPORTS_SAVE )
990990GAME( 1990, ctribej,  ctribe,   ctribe,   ctribe,   0, ROT0, "Technos Japan", "The Combatribes (Japan)", GAME_SUPPORTS_SAVE )
991991GAME( 1990, ctribeb,  ctribe,   ctribe,   ctribeb,  0, ROT0, "bootleg", "The Combatribes (bootleg Set 1)", GAME_SUPPORTS_SAVE )
992GAME( 1990, ctribb2, ctribe,   ctribe,   ctribeb,  0, ROT0, "bootleg", "The Combatribes (bootleg Set 2)", GAME_SUPPORTS_SAVE )
992GAME( 1990, ctribeb2, ctribe,   ctribe,   ctribeb,  0, ROT0, "bootleg", "The Combatribes (bootleg Set 2)", GAME_SUPPORTS_SAVE )
src/mame/drivers/policetr.c
r5338r5339
506506ROM_END
507507
508508
509ROM_START( polict11 ) /* Rev 0.3 PCB with all chips dated 01/06/97 */
509ROM_START( policetr11 ) /* Rev 0.3 PCB with all chips dated 01/06/97 */
510510   ROM_REGION( 0x400000, "gfx1", ROMREGION_ERASE00 )
511511   ROM_LOAD16_BYTE( "pt-u121.bin", 0x000000, 0x100000, CRC(56b0b00a) SHA1(4034fe373a61f756f4813f0c20b1cf05e4338059) )
512512   ROM_LOAD16_BYTE( "pt-u120.bin", 0x000001, 0x100000, CRC(ca664142) SHA1(2727ecb9287b4ed30088e017bb6b8763dfb75b2f) )
r5338r5339
527527ROM_END
528528
529529
530ROM_START( polict10 ) /* Rev 0.2 PCB with all chips dated 10/07/96 */
530ROM_START( policetr10 ) /* Rev 0.2 PCB with all chips dated 10/07/96 */
531531   ROM_REGION( 0x400000, "gfx1", ROMREGION_ERASE00 )
532532   /* Same data as the other sets, but split in 4 meg roms */
533533   ROM_LOAD16_BYTE( "pt-u121.v10", 0x000000, 0x080000, CRC(9d31e805) SHA1(482f38e07ddb758e1fb444af7b56a0ef6ea945c8) )
r5338r5339
558558ROM_END
559559
560560
561ROM_START( plctr13a ) /* Rev 0.5B PCB , unknown program rom date. Actual version is V1.3B */
561ROM_START( policetr13a ) /* Rev 0.5B PCB , unknown program rom date. Actual version is V1.3B */
562562   ROM_REGION( 0x400000, "gfx1", ROMREGION_ERASE00 )
563563   ROM_LOAD16_BYTE( "pt-u121.bin", 0x000000, 0x100000, CRC(56b0b00a) SHA1(4034fe373a61f756f4813f0c20b1cf05e4338059) )
564564   ROM_LOAD16_BYTE( "pt-u120.bin", 0x000001, 0x100000, CRC(ca664142) SHA1(2727ecb9287b4ed30088e017bb6b8763dfb75b2f) )
r5338r5339
589589ROM_END
590590
591591
592ROM_START( plctr13b ) /* Rev 0.5B PCB , unknown program rom date Actual version is V1.3B */
592ROM_START( policetr13b ) /* Rev 0.5B PCB , unknown program rom date Actual version is V1.3B */
593593   ROM_REGION( 0x400000, "gfx1", ROMREGION_ERASE00 )
594594   ROM_LOAD16_BYTE( "pt-u121.bin", 0x000000, 0x100000, CRC(56b0b00a) SHA1(4034fe373a61f756f4813f0c20b1cf05e4338059) )
595595   ROM_LOAD16_BYTE( "pt-u120.bin", 0x000001, 0x100000, CRC(ca664142) SHA1(2727ecb9287b4ed30088e017bb6b8763dfb75b2f) )
r5338r5339
642642ROM_END
643643
644644
645ROM_START( sshoot12 ) /* Rev 0.5B PCB , program roms dated 04/17/98 */
645ROM_START( sshooter12 ) /* Rev 0.5B PCB , program roms dated 04/17/98 */
646646   ROM_REGION( 0x800000, "gfx1", ROMREGION_ERASE00 ) /* Graphics v1.0 */
647647   ROM_LOAD16_BYTE( "ss-u121.bin", 0x000000, 0x100000, CRC(22e27dd6) SHA1(cb9e8c450352bb116a9c0407cc8ce6d8ae9d9881) ) // 1:1
648648   ROM_LOAD16_BYTE( "ss-u120.bin", 0x000001, 0x100000, CRC(30173b1b) SHA1(366464444ce208391ca350f1639403f0c2217330) ) // 1:2
r5338r5339
667667ROM_END
668668
669669
670ROM_START( sshoot11 ) /* Rev 0.5B PCB , program roms dated 04/03/98 */
670ROM_START( sshooter11 ) /* Rev 0.5B PCB , program roms dated 04/03/98 */
671671   ROM_REGION( 0x800000, "gfx1", ROMREGION_ERASE00 ) /* Graphics v1.0 */
672672   ROM_LOAD16_BYTE( "ss-u121.bin", 0x000000, 0x100000, CRC(22e27dd6) SHA1(cb9e8c450352bb116a9c0407cc8ce6d8ae9d9881) ) // 1:1
673673   ROM_LOAD16_BYTE( "ss-u120.bin", 0x000001, 0x100000, CRC(30173b1b) SHA1(366464444ce208391ca350f1639403f0c2217330) ) // 1:2
r5338r5339
732732 *
733733 *************************************/
734734
735GAME( 1996, policetr, 0,        policetr, policetr, policetr, ROT0, "P & P Marketing", "Police Trainer (Rev 1.3)", 0 )
736GAME( 1996, polict11, policetr, policetr, polict10, policetr, ROT0, "P & P Marketing", "Police Trainer (Rev 1.1)", 0 )
737GAME( 1996, polict10, policetr, policetr, polict10, policetr, ROT0, "P & P Marketing", "Police Trainer (Rev 1.0)", 0 )
735GAME( 1996, policetr,    0,        policetr, policetr, policetr, ROT0, "P & P Marketing", "Police Trainer (Rev 1.3)", 0 )
736GAME( 1996, policetr11,  policetr, policetr, polict10, policetr, ROT0, "P & P Marketing", "Police Trainer (Rev 1.1)", 0 )
737GAME( 1996, policetr10,  policetr, policetr, polict10, policetr, ROT0, "P & P Marketing", "Police Trainer (Rev 1.0)", 0 )
738738
739GAME( 1996, plctr13a, policetr, sshooter, policetr, plctr13b, ROT0, "P & P Marketing", "Police Trainer (Rev 1.3B Newer)", 0 )
740GAME( 1996, plctr13b, policetr, sshooter, policetr, plctr13b, ROT0, "P & P Marketing", "Police Trainer (Rev 1.3B)", 0 )
739GAME( 1996, policetr13a, policetr, sshooter, policetr, plctr13b, ROT0, "P & P Marketing", "Police Trainer (Rev 1.3B Newer)", 0 )
740GAME( 1996, policetr13b, policetr, sshooter, policetr, plctr13b, ROT0, "P & P Marketing", "Police Trainer (Rev 1.3B)", 0 )
741
741742GAME( 1998, sshooter, 0,        sshooter, policetr, sshooter, ROT0, "P & P Marketing", "Sharpshooter (Rev 1.7)", 0 )
742GAME( 1998, sshoot12, sshooter, sshooter, sshoot11, sshoot12, ROT0, "P & P Marketing", "Sharpshooter (Rev 1.2)", 0 )
743GAME( 1998, sshoot11, sshooter, sshooter, sshoot11, sshoot12, ROT0, "P & P Marketing", "Sharpshooter (Rev 1.1)", 0 )
743GAME( 1998, sshooter12, sshooter, sshooter, sshoot11, sshoot12, ROT0, "P & P Marketing", "Sharpshooter (Rev 1.2)", 0 )
744GAME( 1998, sshooter11, sshooter, sshooter, sshoot11, sshoot12, ROT0, "P & P Marketing", "Sharpshooter (Rev 1.1)", 0 )
src/mame/drivers/mwarr.c
r5338r5339
361361                    color,
362362                    flipx,0,
363363                    x,y+i*16,
364                    priority_bitmap,pri_mask,0 );
364                    machine->priority_bitmap,pri_mask,0 );
365365
366366            /* wrap around x */
367367            pdrawgfx_transpen( bitmap,
r5338r5339
371371                    color,
372372                    flipx,0,
373373                    x-1024,y+i*16,
374                    priority_bitmap,pri_mask,0 );
374                    machine->priority_bitmap,pri_mask,0 );
375375
376376            /* wrap around y */
377377            pdrawgfx_transpen( bitmap,
r5338r5339
381381                    color,
382382                    flipx,0,
383383                    x,y-512+i*16,
384                   priority_bitmap,pri_mask,0 );
384                   machine->priority_bitmap,pri_mask,0 );
385385
386386            /* wrap around x & y */
387387            pdrawgfx_transpen( bitmap,
r5338r5339
391391                    color,
392392                    flipx,0,
393393                    x-1024,y-512+i*16,
394                    priority_bitmap,pri_mask,0 );
394                    machine->priority_bitmap,pri_mask,0 );
395395         }
396396      }
397397
r5338r5339
403403{
404404   int i;
405405
406   bitmap_fill(priority_bitmap,cliprect,0);
406   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
407407
408408   if(vidattrram[6] & 1)
409409   {
src/mame/drivers/gaplus.c
r5338r5339
366366   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
367367
368368   PORT_START("DSW0")   /* 58XX #1 pins 30-33 and 38-41 */
369   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )
369   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:1,2")
370370   PORT_DIPSETTING(    0x80, "2" )
371371   PORT_DIPSETTING(    0xc0, "3" )
372372   PORT_DIPSETTING(    0x40, "4" )
373373   PORT_DIPSETTING(    0x00, "5" )
374   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) )
374   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW1:3,4")
375375   PORT_DIPSETTING(    0x00, DEF_STR( 3C_1C ) )
376376   PORT_DIPSETTING(    0x10, DEF_STR( 2C_1C ) )
377377   PORT_DIPSETTING(    0x30, DEF_STR( 1C_1C ) )
378378   PORT_DIPSETTING(    0x20, DEF_STR( 1C_2C ) )
379   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) )
379   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:5")
380380   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
381381   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
382   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unused ) )
383   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
384   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
385   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_B ) )
382   PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "SW1:6" ) /* Listed as "Unused" */
383   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW1:7,8")
386384   PORT_DIPSETTING(    0x00, DEF_STR( 3C_1C ) )
387385   PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
388386   PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
389387   PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
390388
391389   PORT_START("DSW1")   /* 58XX #1 pins 22-29 */
392   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
390   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:1")
393391   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
394392   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
395   PORT_DIPNAME( 0x70, 0x70, DEF_STR( Difficulty ) )
393   PORT_DIPNAME( 0x70, 0x70, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:2,3,4")
396394   PORT_DIPSETTING(    0x70, "0 - Standard" )
397395   PORT_DIPSETTING(    0x60, "1 - Easiest" )
398396   PORT_DIPSETTING(    0x50, "2" )
r5338r5339
401399   PORT_DIPSETTING(    0x20, "5" )
402400   PORT_DIPSETTING(    0x10, "6" )
403401   PORT_DIPSETTING(    0x00, "7 - Hardest" )
404   PORT_DIPNAME( 0x08, 0x08, "Round Advance" )
402   PORT_DIPNAME( 0x08, 0x08, "Round Advance" ) PORT_DIPLOCATION("SW2:5")
405403   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
406404   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
407   PORT_DIPNAME( 0x07, 0x00, DEF_STR( Bonus_Life ) )
405   PORT_DIPNAME( 0x07, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:6,7,8")
408406   PORT_DIPSETTING(    0x00, "30k 70k and every 70k" )
409407   PORT_DIPSETTING(    0x01, "30k 100k and every 100k" )
410408   PORT_DIPSETTING(    0x02, "30k 100k and every 200k" )
r5338r5339
428426   PORT_INCLUDE( gaplus )
429427
430428   PORT_MODIFY("DSW1")
431   PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
429   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW2:1" )
432430
433431   PORT_MODIFY("IN2")
434432   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )   // doesn't seem to be used
r5338r5339
439437   PORT_INCLUDE( gaplus )
440438
441439   PORT_MODIFY("DSW1")
442   PORT_DIPNAME( 0x07, 0x02, DEF_STR( Bonus_Life ) )
440   PORT_DIPNAME( 0x07, 0x02, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:6,7,8")
443441   PORT_DIPSETTING(    0x02, "30k 80k and every 100k" )
444442   PORT_DIPSETTING(    0x03, "30k 100k and every 100k" )
445443   PORT_DIPSETTING(    0x04, "30k 100k and every 150k" )
r5338r5339
455453   PORT_INCLUDE( gaplus )
456454
457455   PORT_MODIFY("DSW1")
458   PORT_DIPNAME( 0x07, 0x00, DEF_STR( Bonus_Life ) )
456   PORT_DIPNAME( 0x07, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:6,7,8")
459457   PORT_DIPSETTING(    0x00, "30k 150k and every 600k" )
460458   PORT_DIPSETTING(    0x01, "50k 150k and every 300k" )
461459   PORT_DIPSETTING(    0x02, "50k 150k and every 600k" )
src/mame/drivers/speedatk.c
r5338r5339
7777#include "driver.h"
7878#include "cpu/z80/z80.h"
7979#include "sound/ay8910.h"
80#include "video/mc6845.h"
8081
8182static UINT8 mux_data;
8283static UINT8 km_status,coin_settings;
8384
85#define MASTER_CLOCK XTAL_12MHz
86
8487extern WRITE8_HANDLER( speedatk_videoram_w );
8588extern WRITE8_HANDLER( speedatk_colorram_w );
86extern WRITE8_HANDLER( speedatk_videoregs_w );
8789extern PALETTE_INIT( speedatk );
8890extern VIDEO_START( speedatk );
8991extern VIDEO_UPDATE( speedatk );
r5338r5339
165167   return (km_status & 0xfe) | 1;
166168}
167169
170/*
171high four bits are for command, low four are for param
172My guess is that the other commands configs the key matrix, it probably needs some tests on the real thing.
1731f
1743f
17541
17661
1778x coinage setting command
178a1
179*/
168180static WRITE8_HANDLER( key_matrix_status_w )
169181{
170182   km_status = data;
171   if(km_status & 0x80 && km_status < 0xa0)
183   if((km_status & 0xf0) == 0x80) //coinage setting command
172184      coin_settings = km_status & 0xf;
173185}
174186
r5338r5339
176188   AM_RANGE(0x0000, 0x7fff) AM_ROM
177189   AM_RANGE(0x8000, 0x8000) AM_READWRITE(key_matrix_r,key_matrix_w)
178190   AM_RANGE(0x8001, 0x8001) AM_READWRITE(key_matrix_status_r,key_matrix_status_w)
179   AM_RANGE(0x8800, 0x8bff) AM_RAM
191   AM_RANGE(0x8800, 0x8fff) AM_RAM
180192   AM_RANGE(0xa000, 0xa3ff) AM_RAM_WRITE(speedatk_videoram_w) AM_BASE(&videoram)
181193   AM_RANGE(0xb000, 0xb3ff) AM_RAM_WRITE(speedatk_colorram_w) AM_BASE(&colorram)
182194ADDRESS_MAP_END
183195
184196static ADDRESS_MAP_START( speedatk_io, ADDRESS_SPACE_IO, 8 )
185197   ADDRESS_MAP_GLOBAL_MASK(0xff)
186   AM_RANGE(0x00, 0x01) AM_WRITE(speedatk_videoregs_w) // HD46505SP video registers
187   AM_RANGE(0x24, 0x24) AM_WRITENOP //video timing
188   AM_RANGE(0x40, 0x40) AM_READ_PORT("DSW") /* likely ay8910 input port, not direct */
198   AM_RANGE(0x00, 0x00) AM_DEVWRITE("crtc", mc6845_address_w)
199   AM_RANGE(0x01, 0x01) AM_DEVWRITE("crtc", mc6845_register_w)
200   AM_RANGE(0x24, 0x24) AM_WRITE(watchdog_reset_w)  //watchdog
201   AM_RANGE(0x40, 0x40) AM_DEVREAD("ay", ay8910_r)
189202   AM_RANGE(0x40, 0x41) AM_DEVWRITE("ay", ay8910_address_data_w)
190   /*Used only during attract mode,unknown meaning.*/
191   AM_RANGE(0x60, 0x60) AM_READWRITE(SMH_NOP,SMH_NOP)//write the result to $62/$65
192   AM_RANGE(0x61, 0x61) AM_READNOP//write the result to $66
193   AM_RANGE(0x62, 0x62) AM_WRITENOP
194   AM_RANGE(0x65, 0x65) AM_WRITENOP
195   AM_RANGE(0x66, 0x66) AM_WRITENOP
196   AM_RANGE(0x68, 0x68) AM_READNOP//bit 7 controls writings to ram address at $880f-$8810
203   //what's 60-6f for? Seems used only in attract mode...
197204ADDRESS_MAP_END
198205
199206static INPUT_PORTS_START( speedatk )
r5338r5339
220227   PORT_DIPSETTING(    0xc0, "1 Coin/10 Credits" )
221228
222229   PORT_START("P1")
223   PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(1) //P1 A
224   PORT_BIT( 0x0001, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(1) //P1 B
225   PORT_BIT( 0x0004, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_PLAYER(1) //P1 C
226   PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_PLAYER(1) //P1 D
227   PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_PLAYER(1)
230   PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(1) PORT_NAME("P1 A") PORT_CODE(KEYCODE_Z)
231   PORT_BIT( 0x0001, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(1) PORT_NAME("P1 B") PORT_CODE(KEYCODE_X)
232   PORT_BIT( 0x0004, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_PLAYER(1) PORT_NAME("P1 C") PORT_CODE(KEYCODE_C)
233   PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_PLAYER(1) PORT_NAME("P1 D") PORT_CODE(KEYCODE_V)
234   PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_PLAYER(1) PORT_NAME("P1 Left") PORT_CODE(KEYCODE_A)
228235   PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_START1 )
229   PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_2WAY PORT_PLAYER(1)
236   PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_PLAYER(1) PORT_NAME("P1 Right") PORT_CODE(KEYCODE_S)
230237   PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_START2 )
231   PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_PLAYER(1) //P1 Turn
238   PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_BUTTON7 ) PORT_PLAYER(1) PORT_NAME("P1 Turn") PORT_CODE(KEYCODE_Q)
232239   PORT_BIT( 0x0200, IP_ACTIVE_HIGH, IPT_UNUSED )
233240   PORT_BIT( 0x0400, IP_ACTIVE_HIGH, IPT_UNUSED )
234241
235242   PORT_START("P2")
236   PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(2) //P2 A
237   PORT_BIT( 0x0001, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(2) //P2 B
238   PORT_BIT( 0x0004, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_PLAYER(2) //P2 C
239   PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_PLAYER(2) //P2 D
240   PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_PLAYER(2)
243   PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(2) PORT_NAME("P2 A")
244   PORT_BIT( 0x0001, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(2) PORT_NAME("P2 B")
245   PORT_BIT( 0x0004, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_PLAYER(2) PORT_NAME("P2 C")
246   PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_PLAYER(2) PORT_NAME("P2 D")
247   PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_PLAYER(2) PORT_NAME("P2 Left")
241248   PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_UNUSED )
242   PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_2WAY PORT_PLAYER(2)
249   PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_PLAYER(2) PORT_NAME("P2 Right")
243250   PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_UNUSED )
244   PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_PLAYER(2) //P2 Turn
251   PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_BUTTON7 ) PORT_PLAYER(2) PORT_NAME("P2 Turn")
245252   PORT_BIT( 0x0200, IP_ACTIVE_HIGH, IPT_UNUSED )
246253   PORT_BIT( 0x0400, IP_ACTIVE_HIGH, IPT_UNUSED )
247254
r5338r5339
278285   GFXDECODE_ENTRY( "gfx2", 0, charlayout_3bpp,   0, 32 )
279286GFXDECODE_END
280287
288static const mc6845_interface mc6845_intf =
289{
290   "screen",   /* screen we are acting on */
291   8,         /* number of pixels per video memory address */
292   NULL,      /* before pixel update callback */
293   NULL,      /* row update callback */
294   NULL,      /* after pixel update callback */
295   DEVCB_NULL,   /* callback for display state changes */
296   DEVCB_NULL,   /* callback for cursor state changes */
297   DEVCB_NULL,   /* HSYNC callback */
298   DEVCB_NULL,   /* VSYNC callback */
299   NULL      /* update address callback */
300};
301
302static WRITE8_DEVICE_HANDLER( speedatk_output_w )
303{
304   //flip_screen_set(device->machine, data & 0x80); //breaks the video emulation?
305
306   //if((data & 0x7f) != 0x7f)
307   //popmessage("%02x",data);
308}
309
310static const ay8910_interface ay8910_config =
311{
312   AY8910_LEGACY_OUTPUT,
313   AY8910_DEFAULT_LOADS,
314   DEVCB_NULL,
315   DEVCB_INPUT_PORT("DSW"),
316   DEVCB_HANDLER(speedatk_output_w),
317   DEVCB_NULL
318};
319
281320static MACHINE_DRIVER_START( speedatk )
282   MDRV_CPU_ADD("maincpu", Z80,12000000/2)
321   MDRV_CPU_ADD("maincpu", Z80,MASTER_CLOCK/2) //divider is unknown
283322   MDRV_CPU_PROGRAM_MAP(speedatk_mem)
284323   MDRV_CPU_IO_MAP(speedatk_io)
285324   MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
286325
326   MDRV_WATCHDOG_VBLANK_INIT(8) // timing is unknown
327
287328   /* video hardware */
288329   MDRV_SCREEN_ADD("screen", RASTER)
289330   MDRV_SCREEN_REFRESH_RATE(60)
290331   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
291332   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
292333   MDRV_SCREEN_SIZE(320, 256)
293   MDRV_SCREEN_VISIBLE_AREA(0*8, 34*8-1, 0*8, 29*8-1)
334   MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 32*8-1)
294335
336   MDRV_MC6845_ADD("crtc", H46505, MASTER_CLOCK/16, mc6845_intf)   /* hand tuned to get ~60 fps */
337
295338   MDRV_GFXDECODE(speedatk)
296339   MDRV_PALETTE_LENGTH(0x100)
297340   MDRV_PALETTE_INIT(speedatk)
r5338r5339
302345   /* sound hardware */
303346   MDRV_SPEAKER_STANDARD_MONO("mono")
304347
305   MDRV_SOUND_ADD("ay", AY8910, 4000000)
306   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
348   MDRV_SOUND_ADD("ay", AY8910, MASTER_CLOCK/4) //divider is unknown
349   MDRV_SOUND_CONFIG(ay8910_config)
350   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.5)
307351MACHINE_DRIVER_END
308352
309353ROM_START( speedatk )
r5338r5339
327371   ROM_LOAD( "cb2.bpr",      0x0020, 0x0100, CRC(a604cf96) SHA1(a4ef6e77dcd3abe4c27e8e636222a5ee711a51f5) ) /* lookup table */
328372ROM_END
329373
330GAME( 1984, speedatk, 0, speedatk, speedatk, 0, ROT0, "Seta Kikaku Corp.", "Speed Attack! (Japan)", 0 )
374GAME( 1984, speedatk, 0, speedatk, speedatk, 0, ROT0, "Seta Kikaku Corp.", "Speed Attack! (Japan)", GAME_NO_COCKTAIL )
331375
src/mame/drivers/powerins.c
r5338r5339
535535   ROM_LOAD( "20.u54",       0x000100, 0x0100, CRC(38bd0e2f) SHA1(20d311869642cd96bb831fdf4a458e0d872f03eb) )
536536ROM_END
537537
538ROM_START( powerinj )
538ROM_START( powerinsj )
539539   ROM_REGION( 0x100000, "maincpu", 0 )      /* 68000 Code */
540540   ROM_LOAD16_WORD_SWAP( "93095-3j.u108", 0x00000, 0x80000, CRC(3050a3fb) SHA1(e7e729bf62266e2e78ccd84cf937abb99de18ad5) )
541541   ROM_LOAD16_WORD_SWAP( "93095-4.u109",  0x80000, 0x80000, CRC(d3d7a782) SHA1(7846de0ebb09bd9b2534cd451ff9aa5175e60647) )
r5338r5339
605605
606606***************************************************************************/
607607
608ROM_START( powerina )
608ROM_START( powerinsa )
609609   ROM_REGION( 0x100000, "maincpu", 0 )      /* 68000 Code */
610610   ROM_LOAD16_WORD_SWAP( "rom1", 0x000000, 0x080000, CRC(b86c84d6) SHA1(2ec0933130925dfae859ea6abe62a8c92385aee8) )
611611   ROM_LOAD16_WORD_SWAP( "rom2", 0x080000, 0x080000, CRC(d3d7a782) SHA1(7846de0ebb09bd9b2534cd451ff9aa5175e60647) )
r5338r5339
679679
680680***************************************************************************/
681681
682ROM_START( powerinb )
682ROM_START( powerinsb )
683683   ROM_REGION( 0x100000, "maincpu", 0 )      /* 68000 Code */
684684   ROM_LOAD16_BYTE( "2q.bin", 0x000000, 0x80000, CRC(11bf3f2a) SHA1(c840add78da9b19839c667f9bbd77e0a7c560ed7) )
685685   ROM_LOAD16_BYTE( "2r.bin", 0x000001, 0x80000, CRC(d8d621be) SHA1(91d501ac661c1ff52c85eee96c455c008a7dad1c) )
r5338r5339
735735
736736/* all supported sets give a 93.10.20 date */
737737GAME( 1993, powerins, 0,        powerins, powerins, 0, ROT0, "Atlus", "Power Instinct (USA)", 0 )
738GAME( 1993, powerinj, powerins, powerins, powerinj, 0, ROT0, "Atlus", "Gouketsuji Ichizoku (Japan)", 0 )
739GAME( 1993, powerina, powerins, powerina, powerins, 0, ROT0, "Atlus", "Power Instinct (USA, bootleg set 1)", 0 )
740GAME( 1993, powerinb, powerins, powerinb, powerins, 0, ROT0, "Atlus", "Power Instinct (USA, bootleg set 2)", 0 )
738GAME( 1993, powerinsj, powerins, powerins, powerinj, 0, ROT0, "Atlus", "Gouketsuji Ichizoku (Japan)", 0 )
739GAME( 1993, powerinsa, powerins, powerina, powerins, 0, ROT0, "Atlus", "Power Instinct (USA, bootleg set 1)", 0 )
740GAME( 1993, powerinsb, powerins, powerinb, powerins, 0, ROT0, "Atlus", "Power Instinct (USA, bootleg set 2)", 0 )
src/mame/drivers/seta2.c
r5338r5339
26772677   ROM_LOAD( "as0905m01.u18", 0x100000, 0x400000, CRC(8d8165bb) SHA1(aca7051613d260734ee787b4c3db552c336bd600) )
26782678ROM_END
26792679
2680ROM_START( deerhuna ) /* Deer Hunting USA V4.2 (xx/x/2000) */
2680ROM_START( deerhunta ) /* Deer Hunting USA V4.2 (xx/x/2000) */
26812681   ROM_REGION( 0x200000, "maincpu", 0 )      /* TMP68301 Code */
26822682   ROM_LOAD16_BYTE( "as0906e04-v4_2.u06", 0x000000, 0x100000, CRC(bb3af36f) SHA1(f04071347e8ad361bf666fcb6c0136e522f19d47) ) /* checksum 6640 printed on label */
26832683   ROM_LOAD16_BYTE( "as0907e04-v4_2.u07", 0x000001, 0x100000, CRC(83f02117) SHA1(70fc2291bc93af3902aae88688be6a8078f7a07e) ) /* checksum 595A printed on label */
r5338r5339
26932693   ROM_LOAD( "as0905m01.u18", 0x100000, 0x400000, CRC(8d8165bb) SHA1(aca7051613d260734ee787b4c3db552c336bd600) )
26942694ROM_END
26952695
2696ROM_START( deerhunb ) /* Deer Hunting USA V4.0 (6/15/2000) */
2696ROM_START( deerhuntb ) /* Deer Hunting USA V4.0 (6/15/2000) */
26972697   ROM_REGION( 0x200000, "maincpu", 0 )      /* TMP68301 Code */
26982698   ROM_LOAD16_BYTE( "as0906e04.u06", 0x000000, 0x100000, CRC(07d9b64a) SHA1(f9aac644aab920bbac84b14836ee589ccd51f6db) ) /* checksum 7BBB printed on label */
26992699   ROM_LOAD16_BYTE( "as0907e04.u07", 0x000001, 0x100000, CRC(19973d08) SHA1(da1cc02ce480a62ccaf94d0af1246a340f054b43) ) /* checksum 4C78 printed on label */
r5338r5339
27112711
27122712   /* There are known versions 3.x of Deer Hunting USA.... just none are currently dumped.  roms should be "AS0906 E03 U06" & "AS0907 E03 U07" */
27132713
2714ROM_START( deerhunc ) /* Deer Hunting USA V2.x - No version number is printed to screen but "E02" in EPROM label signifies V2 */
2714ROM_START( deerhuntc ) /* Deer Hunting USA V2.x - No version number is printed to screen but "E02" in EPROM label signifies V2 */
27152715   ROM_REGION( 0x200000, "maincpu", 0 )      /* TMP68301 Code */
27162716   ROM_LOAD16_BYTE( "as0906e02.u06", 0x000000, 0x100000, CRC(190cca42) SHA1(aef63f5e8c71ed0156b8b0104c5d23872c119167) ) /* Version in program code is listed as 0.00 */
27172717   ROM_LOAD16_BYTE( "as0907e02.u07", 0x000001, 0x100000, CRC(9de2b901) SHA1(d271bc54c41e30c0d9962eedd22f3ef2b7b8c9e5) ) /* Verified with two different sets of chips */
r5338r5339
28742874GAME( 1999, pzlbowl,  0,        pzlbowl,  pzlbowl,  0,        ROT0, "Nihon System / Moss",   "Puzzle De Bowling (Japan)",                    GAME_NO_COCKTAIL )
28752875GAME( 2000, penbros,  0,        penbros,  penbros,  0,        ROT0, "Subsino",               "Penguin Brothers (Japan)",                     GAME_NO_COCKTAIL )
28762876GAME( 2000, deerhunt, 0,        samshoot, deerhunt, 0,        ROT0, "Sammy USA Corporation", "Deer Hunting USA V4.3",                        GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS )
2877GAME( 2000, deerhuna, deerhunt, samshoot, deerhunt, 0,        ROT0, "Sammy USA Corporation", "Deer Hunting USA V4.2",                        GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS )
2878GAME( 2000, deerhunb, deerhunt, samshoot, deerhunt, 0,        ROT0, "Sammy USA Corporation", "Deer Hunting USA V4.0",                        GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS )
2879GAME( 2000, deerhunc, deerhunt, samshoot, deerhunt, 0,        ROT0, "Sammy USA Corporation", "Deer Hunting USA V2",                          GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS )
2877GAME( 2000, deerhunta,deerhunt, samshoot, deerhunt, 0,        ROT0, "Sammy USA Corporation", "Deer Hunting USA V4.2",                        GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS )
2878GAME( 2000, deerhuntb,deerhunt, samshoot, deerhunt, 0,        ROT0, "Sammy USA Corporation", "Deer Hunting USA V4.0",                        GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS )
2879GAME( 2000, deerhuntc,deerhunt, samshoot, deerhunt, 0,        ROT0, "Sammy USA Corporation", "Deer Hunting USA V2",                          GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS )
28802880GAME( 2001, turkhunt, 0,        samshoot, turkhunt, 0,        ROT0, "Sammy USA Corporation", "Turkey Hunting USA V1.0",                      GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS )
28812881GAME( 2001, wschamp,  0,        samshoot, wschamp,  0,        ROT0, "Sammy USA Corporation", "Wing Shooting Championship V2.00",             GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS )
28822882GAME( 2001, wschampa, wschamp,  samshoot, wschamp,  0,        ROT0, "Sammy USA Corporation", "Wing Shooting Championship V1.01",             GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/flkatck.c
r5338r5339
132132
133133static INPUT_PORTS_START( flkatck )
134134   PORT_START("DSW1")
135   KONAMI_COINAGE(DEF_STR( Free_Play ), "Invalid")
135   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "Invalid", SW1)
136136   /* "Invalid" = both coin slots disabled */
137137
138138   PORT_START("DSW2")
139   PORT_DIPNAME( 0x03, 0x01, DEF_STR( Lives ) )
140   PORT_DIPSETTING(   0x03, "1" )
141   PORT_DIPSETTING(   0x02, "2" )
142   PORT_DIPSETTING(   0x01, "3" )
143   PORT_DIPSETTING(   0x00, "5" )
144   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
145   PORT_DIPSETTING(   0x00, DEF_STR( Upright ) )
146   PORT_DIPSETTING(   0x04, DEF_STR( Cocktail ) )
147   PORT_DIPNAME( 0x18, 0x10, DEF_STR( Bonus_Life ) )
148   PORT_DIPSETTING(   0x18, "30000 70000" )
149   PORT_DIPSETTING(   0x10, "40000 80000" )
150   PORT_DIPSETTING(   0x08, "30000" )
151   PORT_DIPSETTING(   0x00, "40000" )
152   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )
153   PORT_DIPSETTING(   0x60, DEF_STR( Easy ) )
154   PORT_DIPSETTING(   0x40, DEF_STR( Normal ) )
155   PORT_DIPSETTING(   0x20, DEF_STR( Difficult ) )
156   PORT_DIPSETTING(   0x00, DEF_STR( Very_Difficult ) )
157   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
158   PORT_DIPSETTING(   0x80, DEF_STR( Off ) )
159   PORT_DIPSETTING(   0x00, DEF_STR( On ) )
139   PORT_DIPNAME( 0x03, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
140   PORT_DIPSETTING(    0x03, "1" )
141   PORT_DIPSETTING(    0x02, "2" )
142   PORT_DIPSETTING(    0x01, "3" )
143   PORT_DIPSETTING(    0x00, "5" )
144   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:3")
145   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
146   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
147   PORT_DIPNAME( 0x18, 0x10, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
148   PORT_DIPSETTING(    0x18, "30K, Every 70K" )
149   PORT_DIPSETTING(    0x10, "40K, Every 80K" )
150   PORT_DIPSETTING(    0x08, "30K Only" )
151   PORT_DIPSETTING(    0x00, "40K Only" )
152   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
153   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
154   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
155   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
156   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
157   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
158   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
159   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
160160
161161   PORT_START("DSW3")
162   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )
163   PORT_DIPSETTING(   0x01, DEF_STR( Off ) )
164   PORT_DIPSETTING(   0x00, DEF_STR( On ) )
165   PORT_DIPNAME( 0x02, 0x02, "Upright Controls" )
166   PORT_DIPSETTING(   0x02, DEF_STR( Single ) )
167   PORT_DIPSETTING(   0x00, DEF_STR( Dual ) )
168   PORT_SERVICE( 0x04, IP_ACTIVE_LOW )
169   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
170   PORT_DIPSETTING(   0x08, DEF_STR( Off ) )
171   PORT_DIPSETTING(   0x00, DEF_STR( On ) )
162   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
163   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
164   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
165   PORT_DIPNAME( 0x02, 0x02, "Upright Controls" )      PORT_DIPLOCATION("SW3:2")
166   PORT_DIPSETTING(    0x02, DEF_STR( Single ) )
167   PORT_DIPSETTING(    0x00, DEF_STR( Dual ) )
168   PORT_SERVICE_DIPLOC(   0x04, IP_ACTIVE_LOW, "SW3:3" )
169   PORT_DIPUNUSED_DIPLOC( 0x08, 0x08, "SW3:4" )      /* Listed as "Unused" */
172170   PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
173171
174172   PORT_START("COIN")
src/mame/drivers/zn.c
r5338r5339
122122   { "sfexpj",   cp01, cp04 }, /* OK */
123123   { "glpracr",  cp01, cp05 }, /* OK */
124124   { "rvschool", cp10, cp06 }, /* OK */
125   { "rvschola", cp10, cp06 }, /* OK */
125   { "rvschoola",cp10, cp06 }, /* OK */
126126   { "jgakuen",  cp10, cp06 }, /* OK */
127127   { "plsmaswd", cp10, cp07 }, /* OK */
128128   { "stargld2", cp10, cp07 }, /* OK */
129   { "plsmswda", cp10, cp07 }, /* OK */
129   { "plsmaswda",cp10, cp07 }, /* OK */
130130   { "sfex2",    cp10, cp08 }, /* OK ( random crashes on garuda ) */
131131   { "sfex2j",   cp10, cp08 }, /* OK ( random crashes on garuda ) */
132132   { "sfex2a",   cp10, cp08 }, /* OK ( random crashes on garuda ) */
133133   { "techromn", cp10, cp09 }, /* OK */
134   { "techromu", cp10, cp09 }, /* OK */
134   { "techromnu",cp10, cp09 }, /* OK */
135135   { "kikaioh",  cp10, cp09 }, /* OK */
136136   { "tgmj",     cp10, cp11 }, /* OK */
137137   { "sfex2p",   cp10, cp12 }, /* OK */
138138   { "sfex2pa",  cp10, cp12 }, /* OK */
139139   { "sfex2pj",  cp10, cp12 }, /* OK */
140140   { "strider2", cp10, cp13 }, /* OK ( random crashes on bosses ) */
141   { "stridr2a", cp10, cp13 }, /* OK ( random crashes on bosses ) */
141   { "strider2a",cp10, cp13 }, /* OK ( random crashes on bosses ) */
142142   { "shiryu2",  cp10, cp13 }, /* OK ( random crashes on bosses ) */
143143   { "beastrzr", et01, et02 }, /* OK */
144144   { "bldyroar", et01, et02 }, /* OK */
r5338r5339
149149   { "bldyror2j",et01, et03 }, /* OK */
150150   { "bam2",     et01, et05 },
151151   { "glpracr2", mg01, mg02 }, /* locks up when starting a game/entering test mode */
152   { "glprac2j", mg01, mg02 }, /* locks up when starting a game/entering test mode */
153   { "glprac2l", mg01, mg02 }, /* locks up when starting a game/entering test mode */
152   { "glpracr2j",mg01, mg02 }, /* locks up when starting a game/entering test mode */
153   { "glpracr2l",mg01, mg02 }, /* locks up when starting a game/entering test mode */
154154   { "cbaj",     mg01, mg03 }, /* OK */
155155   { "shngmtkb", mg01, mg04 }, /* OK */
156156   { "doapp",    mg01, mg05 }, /* OK */
157157   { "flamegun", mg01, mg06 }, /* OK */
158   { "flameguj", mg01, mg06 }, /* OK */
158   { "flamegunj",mg01, mg06 }, /* OK */
159159   { "glpracr3", mg01, mg08 },
160160   { "tondemo",  mg01, mg09 }, /* OK */
161161   { "1on1gov",  mg01, mg10 }, /* OK */
r5338r5339
166166   { "sfchamp",  tt01, tt02 }, /* OK */
167167   { "sfchampj", tt01, tt02 }, /* OK */
168168   { "psyforce", tt01, tt03 }, /* OK */
169   { "psyforcj", tt01, tt03 }, /* OK */
170   { "psyfrcex", tt01, tt03 }, /* OK */
169   { "psyforcej",tt01, tt03 }, /* OK */
170   { "psyforcex",tt01, tt03 }, /* OK */
171171   { "raystorm", tt01, tt04 }, /* OK */
172   { "raystorj", tt01, tt04 }, /* OK */
172   { "raystormj",tt01, tt04 }, /* OK */
173173   { "ftimpact", tt01, tt05 }, /* OK */
174174   { "ftimpactj",tt01, tt05 }, /* OK */
175175   { "ftimpcta", tt01, tt05 }, /* OK */
r5338r5339
669669   zn_driver_init(machine);
670670
671671   if( strcmp( machine->gamedrv->name, "glpracr" ) == 0 ||
672      strcmp( machine->gamedrv->name, "glprac2l" ) == 0 )
672      strcmp( machine->gamedrv->name, "glpracr2l" ) == 0 )
673673   {
674674      /* disable:
675675            the QSound CPU for glpracr as it doesn't have any roms &
r5338r5339
30643064   ROM_LOAD16_WORD_SWAP( "jst-01m", 0x0000000, 0x400000, CRC(9a7c98f9) SHA1(764c6c4f41047e1f36d2dceac4aa9b943a9d529a) )
30653065ROM_END
30663066
3067ROM_START( rvschola )
3067ROM_START( rvschoola )
30683068   CPZN2_BIOS
30693069
30703070   ROM_REGION32_LE( 0x80000, "user3", 0 )
r5338r5339
31393139   ROM_LOAD16_WORD_SWAP( "kio-01m.bin", 0x0000000, 0x400000, CRC(6dc5bd07) SHA1(e1755a48465f741691ea0fa1166cb2dc09210ed9) )
31403140ROM_END
31413141
3142ROM_START( techromu )
3142ROM_START( techromnu )
31433143   CPZN2_BIOS
31443144
31453145   ROM_REGION32_LE( 0x80000, "user3", 0 )
r5338r5339
33613361   ROM_LOAD16_WORD_SWAP( "sg2-01m", 0x0000000, 0x400000, CRC(643ea27b) SHA1(40747432d5cfebac54d3824b6a6f26b5e7742fc1) )
33623362ROM_END
33633363
3364ROM_START( plsmswda )
3364ROM_START( plsmaswda )
33653365   CPZN2_BIOS
33663366
33673367   ROM_REGION32_LE( 0x80000, "user3", 0 )
r5338r5339
34073407   ROM_RELOAD( 0x0200000, 0x200000 )
34083408ROM_END
34093409
3410ROM_START( stridr2a )
3410ROM_START( strider2a )
34113411   CPZN2_BIOS
34123412
34133413   ROM_REGION32_LE( 0x80000, "user3", 0 )
r5338r5339
35043504   ROM_LOAD( "gra2-7.323",          0x2400000, 0x400000, CRC(7dfb6c54) SHA1(6e9a9a4172f957ba354ddd82c30735a56c5934b1) )
35053505ROM_END
35063506
3507ROM_START( glprac2j )
3507ROM_START( glpracr2j )
35083508   TPS_BIOS
35093509
35103510   ROM_REGION32_LE( 0x02800000, "user2", 0 )
r5338r5339
35203520   ROM_LOAD( "gra2-7.323",          0x2400000, 0x400000, CRC(7dfb6c54) SHA1(6e9a9a4172f957ba354ddd82c30735a56c5934b1) )
35213521ROM_END
35223522
3523ROM_START( glprac2l )
3523ROM_START( glpracr2l )
35243524   TPS_BIOS
35253525
35263526   ROM_REGION32_LE( 0x02800000, "user2", 0 )
r5338r5339
36513651   ROM_LOAD( "fb0b.326",              0x3000000, 0x400000, CRC(ad78ec79) SHA1(7e37a90a64c70f2c0024eaf30e1e4e028c0d858e) )
36523652ROM_END
36533653
3654ROM_START( flameguj )
3654ROM_START( flamegunj )
36553655   TPS_BIOS
36563656
36573657   ROM_REGION32_LE( 0x03400000, "user2", 0 )
r5338r5339
39273927   ROM_LOAD( "e22-01.15",           0x000000,  0x200000, CRC(808b8340) SHA1(d8bde850dd9b5b71e94ea707d2d728754f907977) )
39283928ROM_END
39293929
3930ROM_START( psyforcj )
3930ROM_START( psyforcej )
39313931   TAITOFX1_BIOS
39323932
39333933   ROM_REGION32_LE( 0x01000000, "user2", 0 )
r5338r5339
39453945   ROM_LOAD( "e22-01.15",           0x000000,  0x200000, CRC(808b8340) SHA1(d8bde850dd9b5b71e94ea707d2d728754f907977) )
39463946ROM_END
39473947
3948ROM_START( psyfrcex )
3948ROM_START( psyforcex )
39493949   TAITOFX1_BIOS
39503950
39513951   ROM_REGION32_LE( 0x01000000, "user2", 0 )
r5338r5339
39803980   ROM_LOAD( "e24-04.27",    0x0000000, 0x400000, CRC(f403493a) SHA1(3e49fd2a060a3893e26f14cc3cf47c4ba91e17d4) )
39813981ROM_END
39823982
3983ROM_START( raystorj )
3983ROM_START( raystormj )
39843984   TAITOFX1_BIOS
39853985
39863986   ROM_REGION32_LE( 0x01000000, "user2", 0 )
r5338r5339
43804380/* it in every zip file */
43814381GAME( 1997, cpzn2,    0,        coh3002c, zn,   coh3002c, ROT0, "Sony/Capcom", "ZN2", GAME_IS_BIOS_ROOT )
43824382
4383GAME( 1997, rvschool, cpzn2,    coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Rival Schools (USA 971117)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4384GAME( 1997, rvschola, rvschool, coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Rival Schools (ASIA 971117)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4385GAME( 1997, jgakuen,  rvschool, coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Justice Gakuen (JAPAN 971117)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4386GAME( 1998, sfex2,    cpzn2,    coh3002c, zn6b, coh3002c, ROT0, "Capcom/Arika", "Street Fighter EX 2 (USA 980526)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4387GAME( 1998, sfex2j,   sfex2,    coh3002c, zn6b, coh3002c, ROT0, "Capcom/Arika", "Street Fighter EX 2 (JAPAN 980312)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4388GAME( 1998, sfex2a,   sfex2,    coh3002c, zn6b, coh3002c, ROT0, "Capcom/Arika", "Street Fighter EX 2 (ASIA 980312)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4389GAME( 1998, plsmaswd, cpzn2,    coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Plasma Sword (USA 980316)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4390GAME( 1998, stargld2, plsmaswd, coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Star Gladiator 2 (JAPAN 980316)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4391GAME( 1998, plsmswda, plsmaswd, coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Plasma Sword (ASIA 980316)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4392GAME( 1998, tgmj,     cpzn2,    coh3002c, zn,   coh3002c, ROT0, "Capcom/Arika", "Tetris The Grand Master (JAPAN 980710)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4393GAME( 1998, techromn, cpzn2,    coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Tech Romancer (EURO 980914)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4394GAME( 1998, techromu, techromn, coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Tech Romancer (USA 980914)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4395GAME( 1998, kikaioh,  techromn, coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Kikaioh (JAPAN 980914)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4396GAME( 1999, sfex2p,   cpzn2,    coh3002c, zn6b, coh3002c, ROT0, "Capcom/Arika", "Street Fighter EX 2 Plus (USA 990611)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4397GAME( 1999, sfex2pa,  sfex2p,   coh3002c, zn6b, coh3002c, ROT0, "Capcom/Arika", "Street Fighter EX 2 Plus (ASIA 990611)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4398GAME( 1999, sfex2pj,  sfex2p,   coh3002c, zn6b, coh3002c, ROT0, "Capcom/Arika", "Street Fighter EX 2 Plus (JAPAN 990611)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4399GAME( 1999, strider2, cpzn2,    coh3002c, zn,   coh3002c, ROT0, "Capcom", "Strider 2 (USA 991213)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4400GAME( 1999, stridr2a, strider2, coh3002c, zn,   coh3002c, ROT0, "Capcom", "Strider 2 (ASIA 991213)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4401GAME( 1999, shiryu2,  strider2, coh3002c, zn,   coh3002c, ROT0, "Capcom", "Strider Hiryu 2 (JAPAN 991213)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4383GAME( 1997, rvschool,  cpzn2,    coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Rival Schools (USA 971117)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4384GAME( 1997, rvschoola, rvschool, coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Rival Schools (ASIA 971117)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4385GAME( 1997, jgakuen,   rvschool, coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Justice Gakuen (JAPAN 971117)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4386GAME( 1998, sfex2,     cpzn2,    coh3002c, zn6b, coh3002c, ROT0, "Capcom/Arika", "Street Fighter EX 2 (USA 980526)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4387GAME( 1998, sfex2j,    sfex2,    coh3002c, zn6b, coh3002c, ROT0, "Capcom/Arika", "Street Fighter EX 2 (JAPAN 980312)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4388GAME( 1998, sfex2a,    sfex2,    coh3002c, zn6b, coh3002c, ROT0, "Capcom/Arika", "Street Fighter EX 2 (ASIA 980312)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4389GAME( 1998, plsmaswd,  cpzn2,    coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Plasma Sword (USA 980316)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4390GAME( 1998, stargld2,  plsmaswd, coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Star Gladiator 2 (JAPAN 980316)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4391GAME( 1998, plsmaswda, plsmaswd, coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Plasma Sword (ASIA 980316)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4392GAME( 1998, tgmj,      cpzn2,    coh3002c, zn,   coh3002c, ROT0, "Capcom/Arika", "Tetris The Grand Master (JAPAN 980710)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4393GAME( 1998, techromn,  cpzn2,    coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Tech Romancer (EURO 980914)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4394GAME( 1998, techromnu, techromn, coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Tech Romancer (USA 980914)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4395GAME( 1998, kikaioh,   techromn, coh3002c, zn6b, coh3002c, ROT0, "Capcom", "Kikaioh (JAPAN 980914)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4396GAME( 1999, sfex2p,    cpzn2,    coh3002c, zn6b, coh3002c, ROT0, "Capcom/Arika", "Street Fighter EX 2 Plus (USA 990611)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4397GAME( 1999, sfex2pa,   sfex2p,   coh3002c, zn6b, coh3002c, ROT0, "Capcom/Arika", "Street Fighter EX 2 Plus (ASIA 990611)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4398GAME( 1999, sfex2pj,   sfex2p,   coh3002c, zn6b, coh3002c, ROT0, "Capcom/Arika", "Street Fighter EX 2 Plus (JAPAN 990611)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4399GAME( 1999, strider2,  cpzn2,    coh3002c, zn,   coh3002c, ROT0, "Capcom", "Strider 2 (USA 991213)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4400GAME( 1999, strider2a, strider2, coh3002c, zn,   coh3002c, ROT0, "Capcom", "Strider 2 (ASIA 991213)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4401GAME( 1999, shiryu2,   strider2, coh3002c, zn,   coh3002c, ROT0, "Capcom", "Strider Hiryu 2 (JAPAN 991213)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
44024402
44034403/* Atari */
44044404
r5338r5339
44274427/* it in every zip file */
44284428GAME( 1997, tps,      0,        coh1002m, zn, coh1002m, ROT0, "Sony/Tecmo", "TPS", GAME_IS_BIOS_ROOT )
44294429
4430GAME( 1997, glpracr2, tps,      coh1002m, zn, coh1002m, ROT0, "Tecmo", "Gallop Racer 2 (USA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING )
4431GAME( 1997, glprac2j, glpracr2, coh1002m, zn, coh1002m, ROT0, "Tecmo", "Gallop Racer 2 (JAPAN)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING )
4432GAME( 1997, glprac2l, glpracr2, coh1002ml,zn, coh1002m, ROT0, "Tecmo", "Gallop Racer 2 Link HW (JAPAN)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING )
4433GAME( 1998, doapp,    tps,      coh1002m, zn, coh1002m, ROT0, "Tecmo", "Dead Or Alive ++ (JAPAN)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4434GAME( 1998, cbaj,     tps,      coh1002msnd, zn, coh1002m, ROT0, "Tecmo", "Cool Boarders Arcade Jam", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4435GAME( 1998, shngmtkb, tps,      coh1002m, zn, coh1002m, ROT0, "Sunsoft / Activision", "Shanghai Matekibuyuu", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4436GAME( 1999, tondemo,  tps,      coh1002m, zn, coh1002m, ROT0, "Tecmo", "Tondemo Crisis (JAPAN)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4437GAME( 1999, glpracr3, tps,      coh1002m, zn, coh1002m, ROT0, "Tecmo", "Gallop Racer 3 (JAPAN)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4438GAME( 1999, flamegun, tps,      coh1002m, zn, coh1002m, ROT0, "GAPS Inc.", "Flame Gunner", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4439GAME( 1999, flameguj, flamegun, coh1002m, zn, coh1002m, ROT0, "GAPS Inc.", "Flame Gunner (Japan)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4440GAME( 2000, tblkkuzu, tps,      coh1002m, zn, coh1002m, ROT0, "Tamsoft/D3 Publisher", "The Block Kuzushi (JAPAN)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4441GAME( 2000, 1on1gov,  tps,      coh1002m, zn, coh1002m, ROT0, "Tecmo", "1 on 1 Government (JAPAN)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4442GAME( 2000, tecmowcm, tps,      coh1002m, zn, coh1002m, ROT0, "Tecmo", "Tecmo World Cup Millennium (JAPAN)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4443GAME( 2001, mfjump,   tps,      coh1002m, zn, coh1002m, ROT0, "Tecmo", "Monster Farm Jump (JAPAN)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4430GAME( 1997, glpracr2,  tps,      coh1002m, zn, coh1002m, ROT0, "Tecmo", "Gallop Racer 2 (USA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING )
4431GAME( 1997, glpracr2j, glpracr2, coh1002m, zn, coh1002m, ROT0, "Tecmo", "Gallop Racer 2 (JAPAN)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING )
4432GAME( 1997, glpracr2l, glpracr2, coh1002ml,zn, coh1002m, ROT0, "Tecmo", "Gallop Racer 2 Link HW (JAPAN)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING )
4433GAME( 1998, doapp,     tps,      coh1002m, zn, coh1002m, ROT0, "Tecmo", "Dead Or Alive ++ (JAPAN)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4434GAME( 1998, cbaj,      tps,      coh1002msnd, zn, coh1002m, ROT0, "Tecmo", "Cool Boarders Arcade Jam", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4435GAME( 1998, shngmtkb,  tps,      coh1002m, zn, coh1002m, ROT0, "Sunsoft / Activision", "Shanghai Matekibuyuu", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4436GAME( 1999, tondemo,   tps,      coh1002m, zn, coh1002m, ROT0, "Tecmo", "Tondemo Crisis (JAPAN)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4437GAME( 1999, glpracr3,  tps,      coh1002m, zn, coh1002m, ROT0, "Tecmo", "Gallop Racer 3 (JAPAN)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4438GAME( 1999, flamegun,  tps,      coh1002m, zn, coh1002m, ROT0, "GAPS Inc.", "Flame Gunner", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4439GAME( 1999, flamegunj, flamegun, coh1002m, zn, coh1002m, ROT0, "GAPS Inc.", "Flame Gunner (Japan)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4440GAME( 2000, tblkkuzu,  tps,      coh1002m, zn, coh1002m, ROT0, "Tamsoft/D3 Publisher", "The Block Kuzushi (JAPAN)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4441GAME( 2000, 1on1gov,   tps,      coh1002m, zn, coh1002m, ROT0, "Tecmo", "1 on 1 Government (JAPAN)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4442GAME( 2000, tecmowcm,  tps,      coh1002m, zn, coh1002m, ROT0, "Tecmo", "Tecmo World Cup Millennium (JAPAN)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4443GAME( 2001, mfjump,    tps,      coh1002m, zn, coh1002m, ROT0, "Tecmo", "Monster Farm Jump (JAPAN)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
44444444
44454445/* Video System */
44464446
r5338r5339
44594459/* it in every zip file */
44604460GAME( 1995, taitofx1, 0,        coh1000ta,zn, coh1000ta, ROT0, "Sony/Taito", "Taito FX1", GAME_IS_BIOS_ROOT )
44614461
4462GAME( 1995, sfchamp,  taitofx1, coh1000ta,zn, coh1000ta, ROT0, "Taito", "Super Football Champ (Ver 2.5O)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4463GAME( 1995, sfchampj, sfchamp,  coh1000ta,zn, coh1000ta, ROT0, "Taito", "Super Football Champ (Ver 2.4J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4464GAME( 1995, psyforce, taitofx1, coh1000ta,zn, coh1000ta, ROT0, "Taito", "Psychic Force (Ver 2.4O)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4465GAME( 1995, psyforcj, psyforce, coh1000ta,zn, coh1000ta, ROT0, "Taito", "Psychic Force (Ver 2.4J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4466GAME( 1995, psyfrcex, psyforce, coh1000ta,zn, coh1000ta, ROT0, "Taito", "Psychic Force EX (Ver 2.0J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4467GAME( 1996, mgcldate, mgcldtex, coh1000ta,zn, coh1000ta, ROT0, "Taito", "Magical Date / Magical Date - dokidoki kokuhaku daisakusen (Ver 2.02J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4468GAME( 1996, raystorm, taitofx1, coh1000tb,zn, coh1000tb, ROT0, "Taito", "Ray Storm (Ver 2.06A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4469GAME( 1996, raystorj, raystorm, coh1000tb,zn, coh1000tb, ROT0, "Taito", "Ray Storm (Ver 2.05J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4470GAME( 1996, ftimpact, ftimpcta, coh1000tb,zn, coh1000tb, ROT0, "Taito", "Fighters' Impact (Ver 2.02O)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4471GAME( 1996, ftimpactj,ftimpcta, coh1000tb,zn, coh1000tb, ROT0, "Taito", "Fighters' Impact (Ver 2.02J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4472GAME( 1997, ftimpcta, taitofx1, coh1000tb,zn, coh1000tb, ROT0, "Taito", "Fighters' Impact A (Ver 2.00J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4473GAME( 1997, mgcldtex, taitofx1, coh1000ta,zn, coh1000ta, ROT0, "Taito", "Magical Date EX / Magical Date - sotsugyou kokuhaku daisakusen (Ver 2.01J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4474GAME( 1997, gdarius,  gdarius2, coh1000tb,zn, coh1000tb, ROT0, "Taito", "G-Darius (Ver 2.01J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4475GAME( 1997, gdariusb, gdarius2, coh1000tb,zn, coh1000tb, ROT0, "Taito", "G-Darius (Ver 2.02A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4476GAME( 1997, gdarius2, taitofx1, coh1000tb,zn, coh1000tb, ROT0, "Taito", "G-Darius Ver.2 (Ver 2.03J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4462GAME( 1995, sfchamp,   taitofx1, coh1000ta,zn, coh1000ta, ROT0, "Taito", "Super Football Champ (Ver 2.5O)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4463GAME( 1995, sfchampj,  sfchamp,  coh1000ta,zn, coh1000ta, ROT0, "Taito", "Super Football Champ (Ver 2.4J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4464GAME( 1995, psyforce,  taitofx1, coh1000ta,zn, coh1000ta, ROT0, "Taito", "Psychic Force (Ver 2.4O)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4465GAME( 1995, psyforcej, psyforce, coh1000ta,zn, coh1000ta, ROT0, "Taito", "Psychic Force (Ver 2.4J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4466GAME( 1995, psyforcex, psyforce, coh1000ta,zn, coh1000ta, ROT0, "Taito", "Psychic Force EX (Ver 2.0J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4467GAME( 1996, mgcldate,  mgcldtex, coh1000ta,zn, coh1000ta, ROT0, "Taito", "Magical Date / Magical Date - dokidoki kokuhaku daisakusen (Ver 2.02J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4468GAME( 1996, raystorm,  taitofx1, coh1000tb,zn, coh1000tb, ROT0, "Taito", "Ray Storm (Ver 2.06A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4469GAME( 1996, raystormj, raystorm, coh1000tb,zn, coh1000tb, ROT0, "Taito", "Ray Storm (Ver 2.05J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4470GAME( 1996, ftimpact,  ftimpcta, coh1000tb,zn, coh1000tb, ROT0, "Taito", "Fighters' Impact (Ver 2.02O)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4471GAME( 1996, ftimpactj, ftimpcta, coh1000tb,zn, coh1000tb, ROT0, "Taito", "Fighters' Impact (Ver 2.02J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4472GAME( 1997, ftimpcta,  taitofx1, coh1000tb,zn, coh1000tb, ROT0, "Taito", "Fighters' Impact A (Ver 2.00J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4473GAME( 1997, mgcldtex,  taitofx1, coh1000ta,zn, coh1000ta, ROT0, "Taito", "Magical Date EX / Magical Date - sotsugyou kokuhaku daisakusen (Ver 2.01J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4474GAME( 1997, gdarius,   gdarius2, coh1000tb,zn, coh1000tb, ROT0, "Taito", "G-Darius (Ver 2.01J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4475GAME( 1997, gdariusb,  gdarius2, coh1000tb,zn, coh1000tb, ROT0, "Taito", "G-Darius (Ver 2.02A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4476GAME( 1997, gdarius2,  taitofx1, coh1000tb,zn, coh1000tb, ROT0, "Taito", "G-Darius Ver.2 (Ver 2.03J)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
44774477
44784478/* Eighting/Raizing */
44794479
r5338r5339
44844484
44854485GAME( 1997, beastrzr,  psarc95,  coh1002e, zn,   coh1002e, ROT0, "Eighting/Raizing", "Beastorizer (USA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
44864486GAME( 1997, bldyroar,  beastrzr, coh1002e, zn,   coh1002e, ROT0, "Eighting/Raizing", "Bloody Roar (JAPAN)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
4487GAME( 1997, beastrzb,  psarc95,  coh1002e, zn,   coh1002e, ROT0, "Eighting/Raizing", "Beastorizer (USA Bootleg)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING )
4487GAME( 1997, beastrzb,  psarc95,  coh1002e, zn,   coh1002e, ROT0, "bootleg", "Beastorizer (USA bootleg)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING )
44884488GAME( 1998, bldyror2,  psarc95,  coh1002e, zn6b, coh1002e, ROT0, "Eighting/Raizing", "Bloody Roar 2 (WORLD)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
44894489GAME( 1998, bldyror2u, bldyror2, coh1002e, zn6b, coh1002e, ROT0, "Eighting/Raizing", "Bloody Roar 2 (USA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
44904490GAME( 1998, bldyror2a, bldyror2, coh1002e, zn6b, coh1002e, ROT0, "Eighting/Raizing", "Bloody Roar 2 (ASIA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
src/mame/drivers/balsente.c
r5338r5339
16671667ROM_END
16681668
16691669
1670ROM_START( minigol2 )
1670ROM_START( minigolf2 )
16711671   ROM_REGION( 0x40000, "maincpu", 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
16721672   ROM_LOAD( "ab01.u8a",  0x10000, 0x4000, CRC(348f827f) SHA1(a013ef3068e14e0738bcfa4de26c0c2df4c0a7f6) )
16731673   ROM_LOAD( "ab23.u7a",  0x14000, 0x4000, CRC(19a6ff47) SHA1(70b6da3b4186e5b9463f2ea0fefefad21ec80637) )
r5338r5339
17811781    MOTHERBOARD_PALS
17821782ROM_END
17831783
1784ROM_START( nstockr2 )
1784ROM_START( nstocker2 )
17851785   ROM_REGION( 0x40000, "maincpu", 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
17861786   ROM_LOAD( "ab01.u8a",  0x10000, 0x4000, CRC(a635f973) SHA1(edb12469818a3114fb97d21e11c63eb37678a07b) )
17871787   ROM_LOAD( "ab23.u7a",  0x14000, 0x4000, CRC(223acbb2) SHA1(195ebd349722cce323616c81cc4e86f0a9c6fa13) )
r5338r5339
18981898ROM_END
18991899
19001900
1901ROM_START( rescrdsa )
1901ROM_START( rescraida )
19021902   ROM_REGION( 0x40000, "maincpu", 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
19031903   ROM_LOAD( "ab1-sa.a10",   0x10000, 0x8000, CRC(aa0a9f48) SHA1(b871573df0abdba20de78f655da846423191f0b4) )
19041904   ROM_LOAD( "ab12-sa.a12",  0x18000, 0x8000, CRC(16d4da86) SHA1(240cfe8c5c4c005da9b9f370a04ed32fc245ec64) )
r5338r5339
21442144GAMEL(1984, stocker,  0,        balsente, stocker,  stocker,  ROT0, "Bally/Sente",  "Stocker", GAME_SUPPORTS_SAVE, layout_stocker )
21452145GAME( 1985, gimeabrk, 0,        balsente, gimeabrk, gimeabrk, ROT0, "Bally/Sente",  "Gimme A Break", GAME_SUPPORTS_SAVE )
21462146GAME( 1985, minigolf, 0,        balsente, minigolf, minigolf, ROT0, "Bally/Sente",  "Mini Golf (set 1)", GAME_SUPPORTS_SAVE )
2147GAME( 1985, minigol2, minigolf, balsente, minigol2, minigol2, ROT0, "Bally/Sente",  "Mini Golf (set 2)", GAME_SUPPORTS_SAVE )
2147GAME( 1985, minigolf2,minigolf, balsente, minigol2, minigol2, ROT0, "Bally/Sente",  "Mini Golf (set 2)", GAME_SUPPORTS_SAVE )
21482148
21492149/* Board: Unknown (Baby Boomer Edition uses 006-8025-01-0B Rev B board.  Do the rest use it too? */
21502150GAME( 1984, triviag1, 0,        balsente, triviag1, triviag1, ROT0, "Bally/Sente",  "Trivial Pursuit (Genus I) (set 1)", GAME_SUPPORTS_SAVE )
r5338r5339
21592159
21602160/* Board: 006-8027-01-0B Rev B */
21612161GAME( 1986, nstocker, 0,        balsente, nstocker, nstocker, ROT0, "Bally/Sente",  "Night Stocker (set 1)", GAME_SUPPORTS_SAVE )
2162GAME( 1986, nstockr2, nstocker, balsente, nstocker, nstocker, ROT0, "Bally/Sente",  "Night Stocker (set 2)", GAME_SUPPORTS_SAVE )
2162GAME( 1986, nstocker2,nstocker, balsente, nstocker, nstocker, ROT0, "Bally/Sente",  "Night Stocker (set 2)", GAME_SUPPORTS_SAVE )
21632163GAME( 1986, sfootbal, 0,        balsente, sfootbal, sfootbal, ROT0, "Bally/Sente",  "Street Football", GAME_SUPPORTS_SAVE )
21642164GAME( 1986, spiker,   0,        balsente, spiker,   spiker,   ROT0, "Bally/Sente",  "Spiker", GAME_SUPPORTS_SAVE )
21652165
21662166/* Board: Unknown */
21672167GAME( 1986, stompin,  0,        balsente, stompin,  stompin,  ROT0, "Bally/Sente",  "Stompin'", GAME_SUPPORTS_SAVE )
21682168GAME( 1987, rescraid, 0,        balsente, rescraid, rescraid, ROT0, "Bally/Midway", "Rescue Raider", GAME_SUPPORTS_SAVE )
2169GAME( 1987, rescrdsa, rescraid, balsente, rescraid, rescraid, ROT0, "Bally/Midway", "Rescue Raider (stand-alone)", GAME_SUPPORTS_SAVE )
2169GAME( 1987, rescraida,rescraid, balsente, rescraid, rescraid, ROT0, "Bally/Midway", "Rescue Raider (stand-alone)", GAME_SUPPORTS_SAVE )
21702170GAME( 198?, grudge,   0,        balsente, grudge,   grudge,   ROT0, "Bally/Midway", "Grudge Match (prototype)", GAME_SUPPORTS_SAVE )
21712171GAME( 198?, shrike,   0,        shrike,   shrike,   shrike,   ROT0, "Bally/Sente",  "Shrike Avenger (prototype)", GAME_SUPPORTS_SAVE )
src/mame/drivers/itgambl2.c
r5338r5339
782782*************************/
783783
784784/*    YEAR  NAME      PARENT  MACHINE   INPUT     INIT ROT    COMPANY    FULLNAME                          FLAGS  */
785GAME( 1999, ntcash,   0,      itgambl2, itgambl2, 0,   ROT0, "Unknown", "NtCash",                               GAME_NOT_WORKING )
786GAME( 1999, wizard,   0,      itgambl2, itgambl2, 0,   ROT0, "A.A.",    "Wizard (Ver 1.0)",                     GAME_NOT_WORKING )
787GAME( 200?, trstar2k, 0,      itgambl2, itgambl2, 0,   ROT0, "A.M.",    "Triple Star 2000",                     GAME_NOT_WORKING )
788GAME( 2001, laser2k1, 0,      itgambl2, itgambl2, 0,   ROT0, "Unknown", "Laser 2001 (Ver 1.2)",                 GAME_NOT_WORKING )
789GAME( 2001, mdrink,   0,      itgambl2, itgambl2, 0,   ROT0, "Unknown", "Magic Drink (Ver 1.2)",                GAME_NOT_WORKING )
790GAME( 2001, te0144,   0,      itgambl2, itgambl2, 0,   ROT0, "Unknown", "Puzzle Bobble (Italian Gambling Game)",GAME_NOT_WORKING )
791GAME( 200?, cmagica,  0,      itgambl2, itgambl2, 0,   ROT0, "Unknown", "Carta Magica (Ver 1.8)",               GAME_NOT_WORKING )
792GAME( 200?, millsun,  0,      itgambl2, itgambl2, 0,   ROT0, "Unknown", "Millennium Sun",                       GAME_NOT_WORKING )
793GAME( 200?, sspac2k1, 0,      itgambl2, itgambl2, 0,   ROT0, "Unknown", "Super Space 2001",                     GAME_NOT_WORKING )
794GAME( 200?, elvis,    0,      itgambl2, itgambl2, 0,   ROT0, "Unknown", "Elvis?",                               GAME_NOT_WORKING )
795GAME( 200?, sstar,    0,      itgambl2, itgambl2, 0,   ROT0, "Unknown", "Super Star",                           GAME_NOT_WORKING )
796GAME( 2001, pirati,   0,      itgambl2, itgambl2, 0,   ROT0, "Cin",    "Pirati",                           GAME_NOT_WORKING )
785GAME( 1999, ntcash,   0,      itgambl2, itgambl2, 0,   ROT0, "<unknown>", "NtCash",                                GAME_NOT_WORKING )
786GAME( 1999, wizard,   0,      itgambl2, itgambl2, 0,   ROT0, "A.A.",      "Wizard (Ver 1.0)",                      GAME_NOT_WORKING )
787GAME( 200?, trstar2k, 0,      itgambl2, itgambl2, 0,   ROT0, "A.M.",      "Triple Star 2000",                      GAME_NOT_WORKING )
788GAME( 2001, laser2k1, 0,      itgambl2, itgambl2, 0,   ROT0, "<unknown>", "Laser 2001 (Ver 1.2)",                  GAME_NOT_WORKING )
789GAME( 2001, mdrink,   0,      itgambl2, itgambl2, 0,   ROT0, "<unknown>", "Magic Drink (Ver 1.2)",                 GAME_NOT_WORKING )
790GAME( 2001, te0144,   0,      itgambl2, itgambl2, 0,   ROT0, "<unknown>", "Puzzle Bobble (Italian Gambling Game)", GAME_NOT_WORKING )
791GAME( 200?, cmagica,  0,      itgambl2, itgambl2, 0,   ROT0, "<unknown>", "Carta Magica (Ver 1.8)",                GAME_NOT_WORKING )
792GAME( 200?, millsun,  0,      itgambl2, itgambl2, 0,   ROT0, "<unknown>", "Millennium Sun",                        GAME_NOT_WORKING )
793GAME( 200?, sspac2k1, 0,      itgambl2, itgambl2, 0,   ROT0, "<unknown>", "Super Space 2001",                      GAME_NOT_WORKING )
794GAME( 200?, elvis,    0,      itgambl2, itgambl2, 0,   ROT0, "<unknown>", "Elvis?",                                GAME_NOT_WORKING )
795GAME( 200?, sstar,    0,      itgambl2, itgambl2, 0,   ROT0, "<unknown>", "Super Star",                            GAME_NOT_WORKING )
796GAME( 2001, pirati,   0,      itgambl2, itgambl2, 0,   ROT0, "Cin",      "Pirati",                                GAME_NOT_WORKING )
src/mame/drivers/terracre.c
r5338r5339
704704/* Notes: All the roms are the same except the SOUND ROMs */
705705/**********************************************************/
706706
707ROM_START( terracrb )
707ROM_START( terracrea )
708708   ROM_REGION( 0x20000, "maincpu", 0 )   /* 128K for 68000 code */
709709   ROM_LOAD16_BYTE( "1a_4b.rom",    0x00001, 0x4000, CRC(76f17479) SHA1(e6be7f78fe7dc9d66feb3ada6ad08d461c66640d) )
710710   ROM_LOAD16_BYTE( "1a_4d.rom",    0x00000, 0x4000, CRC(8119f06e) SHA1(314e2d8e75f66862cf6567ac05f417a3a66f1254) )
r5338r5339
747747/* Notes: All the roms are the same except the SOUND ROMs */
748748/**********************************************************/
749749
750ROM_START( terracra )
750ROM_START( terracren ) /* 'n' for OPN(YM2203) */
751751   ROM_REGION( 0x20000, "maincpu", 0 )   /* 128K for 68000 code */
752752   ROM_LOAD16_BYTE( "1a_4b.rom",    0x00001, 0x4000, CRC(76f17479) SHA1(e6be7f78fe7dc9d66feb3ada6ad08d461c66640d) )
753753   ROM_LOAD16_BYTE( "1a_4d.rom",    0x00000, 0x4000, CRC(8119f06e) SHA1(314e2d8e75f66862cf6567ac05f417a3a66f1254) )
r5338r5339
10041004
10051005/*    YEAR, NAME,   PARENT,     MACHINE, INPUT,    INIT,     MONITOR,  COMPANY,      FULLNAME, FLAGS */
10061006GAME( 1985, terracre, 0,        ym3526,  terracre, 0,        ROT270,  "Nichibutsu", "Terra Cresta (YM3526 set 1)", GAME_SUPPORTS_SAVE )
1007GAME( 1985, terracrb, terracre, ym3526,  terracre, 0,        ROT270,  "Nichibutsu", "Terra Cresta (YM3526 set 2)", GAME_SUPPORTS_SAVE )
1008GAME( 1985, terracra, terracre, ym2203,  terracre, 0,        ROT270,  "Nichibutsu", "Terra Cresta (YM2203)", GAME_SUPPORTS_SAVE )
1007GAME( 1985, terracrea,terracre, ym3526,  terracre, 0,        ROT270,  "Nichibutsu", "Terra Cresta (YM3526 set 2)", GAME_SUPPORTS_SAVE )
1008GAME( 1985, terracren,terracre, ym2203,  terracre, 0,        ROT270,  "Nichibutsu", "Terra Cresta (YM2203)", GAME_SUPPORTS_SAVE )
10091009GAME( 1986, amazon,   0,        amazon,  amazon,   amazon,   ROT270,  "Nichibutsu", "Soldier Girl Amazon", GAME_SUPPORTS_SAVE )
10101010GAME( 1986, amatelas, amazon,   amazon,  amazon,   amatelas, ROT270,  "Nichibutsu", "Sei Senshi Amatelass", GAME_SUPPORTS_SAVE )
10111011GAME( 1987, horekid,  0,        amazon,  horekid,  horekid,  ROT270,  "Nichibutsu", "Kid no Hore Hore Daisakusen", GAME_SUPPORTS_SAVE )
src/mame/drivers/deco32.c
r5338r5339
20542054   ROM_LOAD( "man-11.16k",   0x000000,  0x80000,  CRC(0dc60a4c) SHA1(4d0daa6a0272852a37f341a0cdc48baee0ad9dd8) )
20552055ROM_END
20562056
2057ROM_START( captavna )
2057ROM_START( captavena )
20582058   ROM_REGION(0x100000, "maincpu", 0 ) /* ARM 32 bit code */
20592059   ROM_LOAD32_BYTE( "hn_00.e1",   0x000000, 0x20000, CRC(12dd0c71) SHA1(77bd0e5f1b105ec70de5e76cb9c8138f02a496be) )
20602060   ROM_LOAD32_BYTE( "hn_01.h1",   0x000001, 0x20000, CRC(ac5ea492) SHA1(e08fa2b3e3a40cba6dcdf07049d67056d59ed72a) )
r5338r5339
21062106   ROM_LOAD( "man-11.16k",   0x000000,  0x80000,  CRC(0dc60a4c) SHA1(4d0daa6a0272852a37f341a0cdc48baee0ad9dd8) )
21072107ROM_END
21082108
2109ROM_START( captavne )
2109ROM_START( captavene )
21102110   ROM_REGION(0x100000, "maincpu", 0 ) /* ARM 32 bit code */
21112111   ROM_LOAD32_BYTE( "hg_00-4.1e",   0x000000, 0x20000, CRC(7008d43c) SHA1(a39143e13075ebc58ecc576391f04d2649675dfb) )
21122112   ROM_LOAD32_BYTE( "hg_01-4.1h",   0x000001, 0x20000, CRC(53dc1042) SHA1(4547ad20e5bc3b9cedae53f73f1628fa3493aafa) )
r5338r5339
21642164   ROM_LOAD( "pal16r8b.14c", 0x0600, 0x0104, NO_DUMP ) /* PAL is read protected */
21652165ROM_END
21662166
2167ROM_START( captavnu )
2167ROM_START( captavenu )
21682168   ROM_REGION(0x100000, "maincpu", 0 ) /* ARM 32 bit code */
21692169   ROM_LOAD32_BYTE( "hh_00-19.1e",   0x000000, 0x20000, CRC(08b870e0) SHA1(44c837e3c5dfc9764d89b0ebb3e9b7a40fe4d76f) )
21702170   ROM_LOAD32_BYTE( "hh_01-19.1h",   0x000001, 0x20000, CRC(0dc0feca) SHA1(cb1c97aac59dabcf6c37bc1562cf2f62bca951f1) )
r5338r5339
22162216   ROM_LOAD( "man-11.16k",   0x000000,  0x80000,  CRC(0dc60a4c) SHA1(4d0daa6a0272852a37f341a0cdc48baee0ad9dd8) )
22172217ROM_END
22182218
2219ROM_START( captavuu )
2219ROM_START( captavenuu )
22202220   ROM_REGION(0x100000, "maincpu", 0 ) /* ARM 32 bit code */
22212221   ROM_LOAD32_BYTE( "hh-00.1e",   0x000000, 0x20000, CRC(c34da654) SHA1(a1988a6a45991db6dee10b484049f6703b4671c9) )
22222222   ROM_LOAD32_BYTE( "hh-01.1h",   0x000001, 0x20000, CRC(55abe63f) SHA1(98772eff3ebb5a4f243c7a77d398eb142d1505cb) )
r5338r5339
22682268   ROM_LOAD( "man-11.16k",   0x000000,  0x80000,  CRC(0dc60a4c) SHA1(4d0daa6a0272852a37f341a0cdc48baee0ad9dd8) )
22692269ROM_END
22702270
2271ROM_START( captavua )
2271ROM_START( captavenua )
22722272   ROM_REGION(0x100000, "maincpu", 0 ) /* ARM 32 bit code */
22732273   ROM_LOAD32_BYTE( "hh_00-4.2e",   0x000000, 0x20000, CRC(0e1acc05) SHA1(7eb6206efad233f9f4ee51102f9fe6b58f0719ea) )
22742274   ROM_LOAD32_BYTE( "hh_01-4.2h",   0x000001, 0x20000, CRC(4ff0351d) SHA1(15fc2662ff0d32986c4d4d074b985ad853da34e1) )
r5338r5339
23202320   ROM_LOAD( "man-11.16k",   0x000000,  0x80000,  CRC(0dc60a4c) SHA1(4d0daa6a0272852a37f341a0cdc48baee0ad9dd8) )
23212321ROM_END
23222322
2323ROM_START( captavnj )
2323ROM_START( captavenj )
23242324   ROM_REGION(0x100000, "maincpu", 0 ) /* ARM 32 bit code */
23252325   ROM_LOAD32_BYTE( "hj_00-2.1e",   0x000000, 0x20000, CRC(10b1faaf) SHA1(9d76885200a846b4751c8d44ff591e2aff7c4148) )
23262326   ROM_LOAD32_BYTE( "hj_01-2.1h",   0x000001, 0x20000, CRC(62c59f27) SHA1(20bbb7f3ff63a8c795686c1d56d51e90305daa77) )
r5338r5339
24802480   ROM_LOAD( "ve-01.4d",  0x0200, 0x0104, NO_DUMP ) /* PAL16L8 is read protected */
24812481ROM_END
24822482
2483ROM_START( fghthstu )
2483ROM_START( fghthistu )
24842484   ROM_REGION(0x100000, "maincpu", 0 ) /* ARM 32 bit code */
24852485   ROM_LOAD32_WORD( "kz00-1.1f", 0x000000, 0x80000, CRC(3a3dd15c) SHA1(689b51adf73402b12191a75061b8e709468c91bc) )
24862486   ROM_LOAD32_WORD( "kz01-1.2f", 0x000002, 0x80000, CRC(86796cd6) SHA1(c397c07d7a1d03ba96ccb2fe7a0ad25b8331e945) )
r5338r5339
25142514   ROM_LOAD( "ve-01.4d",  0x0200, 0x0104, NO_DUMP ) /* PAL16L8 is read protected */
25152515ROM_END
25162516
2517ROM_START( fghthsta )
2517ROM_START( fghthista )
25182518   ROM_REGION(0x100000, "maincpu", 0 ) /* ARM 32 bit code */
25192519   ROM_LOAD32_WORD( "le-00.1f", 0x000000, 0x80000, CRC(a5c410eb) SHA1(e2b0cb2351782e1155ecc4029010beb7326fd874) )
25202520   ROM_LOAD32_WORD( "le-01.2f", 0x000002, 0x80000, CRC(7e148aa2) SHA1(b21e16604c4d29611f91d629deb9f041eaf41e9b) )
r5338r5339
25482548   ROM_LOAD( "ve-01.4d",  0x0200, 0x0104, NO_DUMP ) /* PAL16L8 is read protected */
25492549ROM_END
25502550
2551ROM_START( fghthstj )
2551ROM_START( fghthistj )
25522552   ROM_REGION(0x100000, "maincpu", 0 ) /* ARM 32 bit code */
25532553   ROM_LOAD32_WORD( "kw00-3.1f", 0x000000, 0x80000, CRC(ade9581a) SHA1(c1302e921f119ff9baeb52f9c338df652e64a9ee) )
25542554   ROM_LOAD32_WORD( "kw01-3.2f", 0x000002, 0x80000, CRC(63580acf) SHA1(03372b168fe461542dd1cf64b4021d948d07e15c) )
r5338r5339
26552655   ROM_LOAD( "mbm-07.n19",  0x00000, 0x80000,  CRC(414f3793) SHA1(ed5f63e57390d503193fd1e9f7294ae1da6d3539) ) /* Does this go here or "oki2" ?? */
26562656ROM_END
26572657
2658ROM_START( locklodu )
2658ROM_START( lockloadu )
26592659   ROM_REGION(0x400000, "maincpu", 0 ) /* ARM 32 bit code */
26602660   ROM_LOAD32_BYTE( "nh-00-0.b5", 0x000002, 0x80000, CRC(b8a57164) SHA1(b700a08db2ad1aa1bf0a32635ffbd5d3f08713ee) )
26612661   ROM_LOAD32_BYTE( "nh-01-0.b8", 0x000000, 0x80000, CRC(e371ac50) SHA1(c448b54bc8962844b490994607b21b0c806d7714) )
r5338r5339
29162916
29172917ROM_END
29182918
2919ROM_START( nslashej )
2919ROM_START( nslasherj )
29202920   ROM_REGION(0x100000, "maincpu", 0 ) /* Encrypted ARM 32 bit code */
29212921   ROM_LOAD32_WORD( "lx-00.1f", 0x000000, 0x80000, CRC(6ed5fb88) SHA1(84350da7939a479968a523c84e254e3ee54b8da2) )
29222922   ROM_LOAD32_WORD( "lx-01.2f", 0x000002, 0x80000, CRC(a6df2152) SHA1(6fe7e0b2e71c5f807951dcc81a6a3cff55247961) )
r5338r5339
29492949   ROM_LOAD( "mbh-11.16l", 0x000000,  0x80000,  CRC(0ec40b6b) SHA1(9fef44149608ae2a00f6a75a6f77f2efcab6e78e) )
29502950ROM_END
29512951
2952ROM_START( nslashes )
2952ROM_START( nslashers )
29532953   ROM_REGION(0x100000, "maincpu", 0 ) /* Encrypted ARM 32 bit code */
29542954   ROM_LOAD32_WORD( "ly-00.1f", 0x000000, 0x80000, CRC(fa0646f9) SHA1(7f9633bda230a0ced59171cdc5ab40a6d56c3d34) )
29552955   ROM_LOAD32_WORD( "ly-01.2f", 0x000002, 0x80000, CRC(ae508149) SHA1(3592949e5fb2770adb9c9daa4e38c4e75f3e2554) )
r5338r5339
30823082
30833083/**********************************************************************************/
30843084
3085GAME( 1991, captaven, 0,        captaven, captaven, captaven, ROT0, "Data East Corporation", "Captain America and The Avengers (Asia Rev 1.4)", 0 )
3086GAME( 1991, captavna, captaven, captaven, captaven, captaven, ROT0, "Data East Corporation", "Captain America and The Avengers (Asia Rev 1.0)", 0 )
3087GAME( 1991, captavne, captaven, captaven, captaven, captaven, ROT0, "Data East Corporation", "Captain America and The Avengers (UK Rev 1.4)", 0 )
3088GAME( 1991, captavnu, captaven, captaven, captaven, captaven, ROT0, "Data East Corporation", "Captain America and The Avengers (US Rev 1.9)", 0 )
3089GAME( 1991, captavuu, captaven, captaven, captaven, captaven, ROT0, "Data East Corporation", "Captain America and The Avengers (US Rev 1.6)", 0 )
3090GAME( 1991, captavua, captaven, captaven, captaven, captaven, ROT0, "Data East Corporation", "Captain America and The Avengers (US Rev 1.4)", 0 )
3091GAME( 1991, captavnj, captaven, captaven, captaven, captaven, ROT0, "Data East Corporation", "Captain America and The Avengers (Japan Rev 0.2)", 0 )
3092GAME( 1993, dragngun, 0,        dragngun, dragngun, dragngun, ROT0, "Data East Corporation", "Dragon Gun (US)", GAME_IMPERFECT_GRAPHICS  )
3093GAME( 1993, fghthist, 0,        fghthist, fghthist, fghthist, ROT0, "Data East Corporation", "Fighter's History (World ver 43-07)", 0 )
3094GAME( 1993, fghthstu, fghthist, fghthist, fghthist, fghthist, ROT0, "Data East Corporation", "Fighter's History (US ver 42-03)", 0 )
3095GAME( 1993, fghthsta, fghthist, fghthsta, fghthist, fghthist, ROT0, "Data East Corporation", "Fighter's History (US ver 42-05, alternate hardware )", 0 )
3096GAME( 1993, fghthstj, fghthist, fghthist, fghthist, fghthist, ROT0, "Data East Corporation", "Fighter's History (Japan ver 42-03)", 0 )
3097GAME( 1994, lockload, 0,        lockload, lockload, lockload, ROT0, "Data East Corporation", "Locked 'n Loaded (World)", GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING )
3098GAME( 1994, locklodu, lockload, lockload, lockload, lockload, ROT0, "Data East Corporation", "Locked 'n Loaded (US)", GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING )
3099GAME( 1994, tattass,  0,        tattass,  tattass,  tattass,  ROT0, "Data East Pinball",     "Tattoo Assassins (US Prototype)", GAME_IMPERFECT_GRAPHICS )
3100GAME( 1994, tattassa, tattass,  tattass,  tattass,  tattass,  ROT0, "Data East Pinball",     "Tattoo Assassins (Asia Prototype)", GAME_IMPERFECT_GRAPHICS )
3101GAME( 1994, nslasher, 0,        nslasher, nslasher, nslasher, ROT0, "Data East Corporation", "Night Slashers (Korea Rev 1.3)", GAME_IMPERFECT_GRAPHICS )
3102GAME( 1994, nslashej, nslasher, nslasher, nslasher, nslasher, ROT0, "Data East Corporation", "Night Slashers (Japan Rev 1.2)", GAME_IMPERFECT_GRAPHICS )
3103GAME( 1994, nslashes, nslasher, nslasher, nslasher, nslasher, ROT0, "Data East Corporation", "Night Slashers (Over Sea Rev 1.2)", GAME_IMPERFECT_GRAPHICS )
3085GAME( 1991, captaven,   0,        captaven, captaven, captaven, ROT0, "Data East Corporation", "Captain America and The Avengers (Asia Rev 1.4)", 0 )
3086GAME( 1991, captavena,  captaven, captaven, captaven, captaven, ROT0, "Data East Corporation", "Captain America and The Avengers (Asia Rev 1.0)", 0 )
3087GAME( 1991, captavene,  captaven, captaven, captaven, captaven, ROT0, "Data East Corporation", "Captain America and The Avengers (UK Rev 1.4)", 0 )
3088GAME( 1991, captavenu,  captaven, captaven, captaven, captaven, ROT0, "Data East Corporation", "Captain America and The Avengers (US Rev 1.9)", 0 )
3089GAME( 1991, captavenuu, captaven, captaven, captaven, captaven, ROT0, "Data East Corporation", "Captain America and The Avengers (US Rev 1.6)", 0 )
3090GAME( 1991, captavenua, captaven, captaven, captaven, captaven, ROT0, "Data East Corporation", "Captain America and The Avengers (US Rev 1.4)", 0 )
3091GAME( 1991, captavenj,  captaven, captaven, captaven, captaven, ROT0, "Data East Corporation", "Captain America and The Avengers (Japan Rev 0.2)", 0 )
3092GAME( 1993, dragngun,   0,        dragngun, dragngun, dragngun, ROT0, "Data East Corporation", "Dragon Gun (US)", GAME_IMPERFECT_GRAPHICS  )
3093GAME( 1993, fghthist,   0,        fghthist, fghthist, fghthist, ROT0, "Data East Corporation", "Fighter's History (World ver 43-07)", 0 )
3094GAME( 1993, fghthistu,  fghthist, fghthist, fghthist, fghthist, ROT0, "Data East Corporation", "Fighter's History (US ver 42-03)", 0 )
3095GAME( 1993, fghthista,  fghthist, fghthsta, fghthist, fghthist, ROT0, "Data East Corporation", "Fighter's History (US ver 42-05, alternate hardware )", 0 )
3096GAME( 1993, fghthistj,  fghthist, fghthist, fghthist, fghthist, ROT0, "Data East Corporation", "Fighter's History (Japan ver 42-03)", 0 )
3097GAME( 1994, lockload,   0,        lockload, lockload, lockload, ROT0, "Data East Corporation", "Locked 'n Loaded (World)", GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING )
3098GAME( 1994, lockloadu,  lockload, lockload, lockload, lockload, ROT0, "Data East Corporation", "Locked 'n Loaded (US)", GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING )
3099GAME( 1994, tattass,    0,        tattass,  tattass,  tattass,  ROT0, "Data East Pinball",     "Tattoo Assassins (US Prototype)", GAME_IMPERFECT_GRAPHICS )
3100GAME( 1994, tattassa,   tattass,  tattass,  tattass,  tattass,  ROT0, "Data East Pinball",     "Tattoo Assassins (Asia Prototype)", GAME_IMPERFECT_GRAPHICS )
3101GAME( 1994, nslasher,   0,        nslasher, nslasher, nslasher, ROT0, "Data East Corporation", "Night Slashers (Korea Rev 1.3)", GAME_IMPERFECT_GRAPHICS )
3102GAME( 1994, nslasherj,  nslasher, nslasher, nslasher, nslasher, ROT0, "Data East Corporation", "Night Slashers (Japan Rev 1.2)", GAME_IMPERFECT_GRAPHICS )
3103GAME( 1994, nslashers,  nslasher, nslasher, nslasher, nslasher, ROT0, "Data East Corporation", "Night Slashers (Over Sea Rev 1.2)", GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/midzeus.c
r5338r5339
11641164
11651165ROM_START( mk4 )
11661166   ROM_REGION16_LE( 0x1000000, "dcs", ROMREGION_ERASEFF )   /* sound data */
1167   ROM_LOAD16_BYTE( "mk4_l2.u2", 0x000000, 0x200000, CRC(4c01b493) SHA1(dcd6da9ee30d0f6645bfdb1762d926be0a26090a) ) /* These four sound roms were labeled as v2.0 */
1168   ROM_LOAD16_BYTE( "mk4_l2.u3", 0x400000, 0x200000, CRC(8fbcf0ac) SHA1(c53704e72cfcba800c7af3a03267041f1e29a784) )
1169   ROM_LOAD16_BYTE( "mk4_l2.u4", 0x800000, 0x200000, CRC(dee91696) SHA1(00a182a36a414744cd014fcfc53c2e1a66ab5189) )
1170   ROM_LOAD16_BYTE( "mk4_l2.u5", 0xc00000, 0x200000, CRC(44d072be) SHA1(8a636c2801d799dfb84e69607ade76d2b49cf09f) )
1167   ROM_LOAD16_BYTE( "mk4_l2.u2", 0x000000, 0x100000, CRC(f9d410b4) SHA1(49bcacf83430ed26c08789b2f3ed9f946c3a0e5e) ) /* Labeled as v2.0, rom type M27C800 */
1168   ROM_LOAD16_BYTE( "mk4_l2.u3", 0x400000, 0x200000, CRC(8fbcf0ac) SHA1(c53704e72cfcba800c7af3a03267041f1e29a784) ) /* Labeled as v2.0, rom type M27C160 */
1169   ROM_LOAD16_BYTE( "mk4_l1.u4", 0x800000, 0x200000, CRC(dee91696) SHA1(00a182a36a414744cd014fcfc53c2e1a66ab5189) ) /* Labeled as v1.0, rom type M27C160 */
1170   ROM_LOAD16_BYTE( "mk4_l1.u5", 0xc00000, 0x200000, CRC(44d072be) SHA1(8a636c2801d799dfb84e69607ade76d2b49cf09f) ) /* Labeled as v1.0, rom type M27C160 */
11711171
11721172   ROM_REGION32_LE( 0x1800000, "user1", 0 )
11731173   ROM_LOAD32_WORD( "mk4_l3.u10", 0x0000000, 0x200000, CRC(84efe5a9) SHA1(e2a9bf6fab971691017371a87ab87b1bf66f96d0) ) /* Roms U10 & U11 were labeled as v3.0 */
11741174   ROM_LOAD32_WORD( "mk4_l3.u11", 0x0000002, 0x200000, CRC(0c026ccb) SHA1(7531fe81ff8d8dd9ec3cd915acaf14cbe6bdc90a) )
11751175   ROM_LOAD32_WORD( "mk4_l2.u12", 0x0400000, 0x200000, CRC(7816c07f) SHA1(da94b4391e671f915c61b5eb9bece4acb3382e31) ) /* Roms U12 through U17 were all labeled as v2.0 */
11761176   ROM_LOAD32_WORD( "mk4_l2.u13", 0x0400002, 0x200000, CRC(b3c237cd) SHA1(9e71e60cc92c17524f85f36543c174ca138104cd) )
1177   ROM_LOAD32_WORD( "mk4_l2.u14", 0x0800000, 0x200000, CRC(fd33eb1a) SHA1(59d9d2e5251679d19cab031f51731c85f429ba18) ) /* It is possible that in late production, these */
1178   ROM_LOAD32_WORD( "mk4_l2.u15", 0x0800002, 0x200000, CRC(b907518f) SHA1(cfb56538746895bdca779957fec6a872019b23c3) ) /* rom were also labeled as v3.0, but the labels */
1177   ROM_LOAD32_WORD( "mk4_l2.u14", 0x0800000, 0x200000, CRC(fd33eb1a) SHA1(59d9d2e5251679d19cab031f51731c85f429ba18) ) /* It is possible that in late production, these  */
1178   ROM_LOAD32_WORD( "mk4_l2.u15", 0x0800002, 0x200000, CRC(b907518f) SHA1(cfb56538746895bdca779957fec6a872019b23c3) ) /* rom were also labeled as v3.0, but the labels  */
11791179   ROM_LOAD32_WORD( "mk4_l2.u16", 0x0c00000, 0x200000, CRC(24371d57) SHA1(c90134b17c23a182d391d1679bf457d251e641f7) ) /* with v2.0 have been verified on several boards */
1180   ROM_LOAD32_WORD( "mk4_l2.u17", 0x0c00002, 0x200000, CRC(3a1a082c) SHA1(5f8e8ce760d8ebadd1240ef08f1382a37cf11d0b) )
1180   ROM_LOAD32_WORD( "mk4_l2.u17", 0x0c00002, 0x200000, CRC(3a1a082c) SHA1(5f8e8ce760d8ebadd1240ef08f1382a37cf11d0b) ) /* Some PCBs may have all MASK ROMs instead.      */
11811181ROM_END
11821182
11831183ROM_START( mk4a )
11841184   ROM_REGION16_LE( 0x1000000, "dcs", ROMREGION_ERASEFF )   /* sound data */
1185   ROM_LOAD16_BYTE( "mk4_l2.u2", 0x000000, 0x200000, CRC(4c01b493) SHA1(dcd6da9ee30d0f6645bfdb1762d926be0a26090a) ) /* These four sound roms were labeled as v2.0 */
1186   ROM_LOAD16_BYTE( "mk4_l2.u3", 0x400000, 0x200000, CRC(8fbcf0ac) SHA1(c53704e72cfcba800c7af3a03267041f1e29a784) )
1187   ROM_LOAD16_BYTE( "mk4_l2.u4", 0x800000, 0x200000, CRC(dee91696) SHA1(00a182a36a414744cd014fcfc53c2e1a66ab5189) )
1188   ROM_LOAD16_BYTE( "mk4_l2.u5", 0xc00000, 0x200000, CRC(44d072be) SHA1(8a636c2801d799dfb84e69607ade76d2b49cf09f) )
1185   ROM_LOAD16_BYTE( "mk4_l2.u2", 0x000000, 0x100000, CRC(f9d410b4) SHA1(49bcacf83430ed26c08789b2f3ed9f946c3a0e5e) ) /* Labeled as v2.0, rom type M27C800 */
1186   ROM_LOAD16_BYTE( "mk4_l2.u3", 0x400000, 0x200000, CRC(8fbcf0ac) SHA1(c53704e72cfcba800c7af3a03267041f1e29a784) ) /* Labeled as v2.0, rom type M27C160 */
1187   ROM_LOAD16_BYTE( "mk4_l1.u4", 0x800000, 0x200000, CRC(dee91696) SHA1(00a182a36a414744cd014fcfc53c2e1a66ab5189) ) /* Labeled as v1.0, rom type M27C160 */
1188   ROM_LOAD16_BYTE( "mk4_l1.u5", 0xc00000, 0x200000, CRC(44d072be) SHA1(8a636c2801d799dfb84e69607ade76d2b49cf09f) ) /* Labeled as v1.0, rom type M27C160 */
11891189
11901190   ROM_REGION32_LE( 0x1800000, "user1", 0 )
11911191   ROM_LOAD32_WORD( "mk4_l2.1.u10", 0x000000, 0x200000, CRC(42d0f1c9) SHA1(5ac0ded8bf6e756319be2691e3b555eac079ebdc) ) /* Roms U10 & U11 were labeled as v2.1 */
r5338r5339
12661266   ROM_LOAD32_WORD( "exotica.u21", 0x2400002, 0x200000, CRC(0011b9d6) SHA1(231d768c964a16b905857b0814d758fe93c2eefb) )
12671267ROM_END
12681268
1269ROM_START( crusnexa )
1269ROM_START( crusnexoa )
12701270   ROM_REGION16_LE( 0xc00000, "dcs", ROMREGION_ERASEFF )   /* sound data */
12711271   ROM_LOAD( "exotica.u2", 0x000000, 0x200000, CRC(d2d54acf) SHA1(2b4d6fda30af807228bb281335939dfb6df9b530) )
12721272   ROM_RELOAD(             0x200000, 0x200000 )
r5338r5339
12741274   ROM_LOAD( "exotica.u4", 0x800000, 0x400000, CRC(213f7fd8) SHA1(8528d524a62bc41a8e3b39f0dbeeba33c862ee27) )
12751275
12761276   ROM_REGION32_LE( 0x0800000, "user1", 0 )
1277   ROM_LOAD32_WORD( "exotica-20.u10", 0x0000000, 0x200000, CRC(43d80f54) SHA1(25683d835f3ed3dee99da33280ae6e21865801e4) ) /* Version 2.0  Fri Apr 07, 2000  17:55:07 */
1278   ROM_LOAD32_WORD( "exotica-20.u11", 0x0000002, 0x200000, CRC(dba26b69) SHA1(4900ac3fe67664a543dcd66e41793874f6cdc07f) )
1279   ROM_LOAD32_WORD( "exotica.u12",    0x0400000, 0x200000, CRC(21f122b2) SHA1(5473401ec954bf9ab66a8283bd08d17c7960cd29) )
1280   ROM_LOAD32_WORD( "exotica.u13",    0x0400002, 0x200000, CRC(cf9d3609) SHA1(6376891f478185d26370466bef92f0c5304d58d3) )
1281
1282   ROM_REGION32_LE( 0x3000000, "user2", 0 )
1283   ROM_LOAD32_WORD( "exotica.u14", 0x0000000, 0x400000, CRC(84452fc2) SHA1(06d87263f83ef079e6c5fb9de620e0135040c858) )
1284   ROM_LOAD32_WORD( "exotica.u15", 0x0000002, 0x400000, CRC(b6aaebdb) SHA1(6ede6ea123be6a88d1ff38e90f059c9d1f822d6d) )
1285   ROM_LOAD32_WORD( "exotica.u16", 0x0800000, 0x400000, CRC(aac6d2a5) SHA1(6c336520269d593b46b82414d9352a3f16955cc3) )
1286   ROM_LOAD32_WORD( "exotica.u17", 0x0800002, 0x400000, CRC(71cf5404) SHA1(a6eed1a66fb4f4ddd749e4272a2cdb8e3e354029) )
1287   ROM_LOAD32_WORD( "exotica.u22", 0x1000000, 0x400000, CRC(ad6dcda7) SHA1(5c9291753e1659f9adbe7e59fa2d0e030efae5bc) )
1288   ROM_LOAD32_WORD( "exotica.u23", 0x1000002, 0x400000, CRC(1f103a68) SHA1(3b3acc63a461677cd424e75e7211fa6f063a37ef) )
1289   ROM_LOAD32_WORD( "exotica.u24", 0x1800000, 0x400000, CRC(6312feef) SHA1(4113e4e5d39c99e8131d41a57c973df475b67d18) )
1290   ROM_LOAD32_WORD( "exotica.u25", 0x1800002, 0x400000, CRC(b8277b16) SHA1(1355e87affd78e195906aedc9aed9e230374e2bf) )
1291   ROM_LOAD32_WORD( "exotica.u18", 0x2000000, 0x200000, CRC(60cf5caa) SHA1(629870a305802d632bd2681131d1ffc0086280d2) )
1292   ROM_LOAD32_WORD( "exotica.u19", 0x2000002, 0x200000, CRC(6b919a18) SHA1(20e40e195554146ed1d3fad54f7280823ae89d4b) )
1293   ROM_LOAD32_WORD( "exotica.u20", 0x2400000, 0x200000, CRC(4855b68b) SHA1(1f6e557590b2621d0d5c782b95577f1be5cbc51d) )
1294   ROM_LOAD32_WORD( "exotica.u21", 0x2400002, 0x200000, CRC(0011b9d6) SHA1(231d768c964a16b905857b0814d758fe93c2eefb) )
1295ROM_END
1296
1297ROM_START( crusnexob )
1298   ROM_REGION16_LE( 0xc00000, "dcs", ROMREGION_ERASEFF )   /* sound data */
1299   ROM_LOAD( "exotica.u2", 0x000000, 0x200000, CRC(d2d54acf) SHA1(2b4d6fda30af807228bb281335939dfb6df9b530) )
1300   ROM_RELOAD(             0x200000, 0x200000 )
1301   ROM_LOAD( "exotica.u3", 0x400000, 0x400000, CRC(28a3a13d) SHA1(8d7d641b883df089adefdd144229afef79db9e8a) )
1302   ROM_LOAD( "exotica.u4", 0x800000, 0x400000, CRC(213f7fd8) SHA1(8528d524a62bc41a8e3b39f0dbeeba33c862ee27) )
1303
1304   ROM_REGION32_LE( 0x0800000, "user1", 0 )
12771305   ROM_LOAD32_WORD( "exotica-16.u10", 0x0000000, 0x200000, CRC(65450140) SHA1(cad41a2cad48426de01feb78d3f71f768e3fc872) ) /* Version 1.6  Tue Feb 22, 2000  10:25:01 */
12781306   ROM_LOAD32_WORD( "exotica-16.u11", 0x0000002, 0x200000, CRC(e994891f) SHA1(bb088729b665864c7f3b79b97c3c86f9c8f68770) )
12791307   ROM_LOAD32_WORD( "exotica.u12",    0x0400000, 0x200000, CRC(21f122b2) SHA1(5473401ec954bf9ab66a8283bd08d17c7960cd29) )
r5338r5339
13931421GAME(  1999, invasnab, 0,        midzeus,  invasn,   invasn,   ROT0, "Midway", "Invasion - The Abductors (version 5.0)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE )
13941422GAME(  1999, invasnv4, invasnab, midzeus,  invasn,   invasn,   ROT0, "Midway", "Invasion - The Abductors (version 4.0)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE )
13951423GAMEL( 1999, crusnexo, 0,        midzeus2, crusnexo, crusnexo, ROT0, "Midway", "Cruis'n Exotica (version 2.4)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE, layout_crusnexo )
1396GAMEL( 1999, crusnexa, crusnexo, midzeus2, crusnexo, crusnexo, ROT0, "Midway", "Cruis'n Exotica (version 1.6)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE, layout_crusnexo )
1424GAMEL( 1999, crusnexoa,crusnexo, midzeus2, crusnexo, crusnexo, ROT0, "Midway", "Cruis'n Exotica (version 2.0)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE, layout_crusnexo )
1425GAMEL( 1999, crusnexob,crusnexo, midzeus2, crusnexo, crusnexo, ROT0, "Midway", "Cruis'n Exotica (version 1.6)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE, layout_crusnexo )
13971426GAME(  2001, thegrid,  0,        midzeus2, thegrid,  thegrid,  ROT0, "Midway", "The Grid (version 1.2)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE )
13981427GAME(  2001, thegrida, thegrid,  midzeus2, thegrid,  thegrid,  ROT0, "Midway", "The Grid (version 1.1)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE )
src/mame/drivers/argus.c
r5338r5339
6161            Various sprite sizes   (Emulated)
6262
6363
64PCB Edge Connector Pinout :
65============================
66 Argus
67 ----------------------------------
68         PARTS         SOLDER
69  --------------------------------
70           GND   1 A   GND
71           GND   2 B   GND
72            5V   3 C   5V
73            5V   4 D   5V
74           12V   5 E   12V
75     Video Red   6 F   Video Blue
76   Video Green   7 H   Video Sync
77     Speaker +   8 J   Speaker -
78        Coin 2   9 K   Coin 1     (*) see below
79           GND  10 L   GND
80      1P Start  11 M   2P Start
81         1P Up  12 N   2P Up
82       1P Down  13 P   2P Down
83      1P Right  14 R   2P Right
84       1P Left  15 S   2P Left
85     1P Shot 1  16 T   2P Shot 1
86     1P Shot 2  17 U   2P Shot 2
87           GND  18 V   GND
88 (*) You may doubt that 9 and K are swapped. But they are not.
89
90 Valtric and Butasan
91 ----------------------------------
92   JAMMA
93
94
6495Note :
6596=======
66 - To enter test mode, press coin 2 key at start in Argus and Valtric.
97 - To enter test mode, press Coin 2 key at start in Argus,
98                       press Coin 1 key at start in Valtric,
99                   and press Service key at start in Butasan.
67100 - DIP locations verified for:
68101    butasan
69102    argus
r5338r5339
260293   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
261294   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
262295   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
263//  PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
264   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )
296   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
265297   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
266298   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
267299
r5338r5339
285317   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
286318   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
287319
320   /* DIPSW default setting: all OFF */
288321   PORT_START("DSW1")
289322   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )      PORT_DIPLOCATION("SW1:8")
290323   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
291324   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
292   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW1:6,7")
325   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW1:7,6")
293326   PORT_DIPSETTING(    0x04, DEF_STR( Easy ) )
294327   PORT_DIPSETTING(    0x06, DEF_STR( Normal ) )
295   PORT_DIPSETTING(    0x02, DEF_STR( Hard ) )
296   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
328   PORT_DIPSETTING(    0x02, DEF_STR( Medium_Difficult ) )
329   PORT_DIPSETTING(    0x00, DEF_STR( Difficult ) )
297330   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Free_Play ) )      PORT_DIPLOCATION("SW1:5")
298331   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
299332   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
r5338r5339
303336   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) )      PORT_DIPLOCATION("SW1:3")
304337   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
305338   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
306   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )         PORT_DIPLOCATION("SW1:1,2")
339   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )         PORT_DIPLOCATION("SW1:2,1")
307340   PORT_DIPSETTING(    0x80, "2" )
308341   PORT_DIPSETTING(    0xc0, "3" )
309342   PORT_DIPSETTING(    0x40, "4" )
r5338r5339
312345   PORT_START("DSW2")
313346   PORT_DIPUNUSED_DIPLOC( 0x01, 0x01, "SW2:8" )         /* Listed as "Unused" */
314347   PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW2:7" )         /* Listed as "Unused" */
315   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Coin_B ) )         PORT_DIPLOCATION("SW2:4,5,6")
348   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Coin_B ) )         PORT_DIPLOCATION("SW2:6,5,4")
316349   PORT_DIPSETTING(    0x00, DEF_STR( 5C_1C ) )
317350   PORT_DIPSETTING(    0x04, DEF_STR( 4C_1C ) )
318351   PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
r5338r5339
321354   PORT_DIPSETTING(    0x18, DEF_STR( 1C_2C ) )
322355   PORT_DIPSETTING(    0x14, DEF_STR( 1C_3C ) )
323356   PORT_DIPSETTING(    0x10, DEF_STR( 1C_4C ) )
324   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coin_A ) )         PORT_DIPLOCATION("SW2:1,2,3")
357   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coin_A ) )         PORT_DIPLOCATION("SW2:3,2,1")
325358   PORT_DIPSETTING(    0x00, DEF_STR( 5C_1C ) )
326359   PORT_DIPSETTING(    0x20, DEF_STR( 4C_1C ) )
327360   PORT_DIPSETTING(    0x40, DEF_STR( 3C_1C ) )
r5338r5339
335368static INPUT_PORTS_START( valtric )
336369   PORT_INCLUDE( argus )
337370
371   PORT_MODIFY("SYSTEM")
372   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )   /* assigned JAMMA "Service", but not used */
373   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
374   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
375
376   /* DIPSW default setting: all OFF */
338377   PORT_MODIFY("DSW1")
339   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW1:6,7")
378   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW1:7,6")
340379   PORT_DIPSETTING(    0x06, DEF_STR( Normal ) )
341   PORT_DIPSETTING(    0x04, DEF_STR( Hard ) )
342   PORT_DIPSETTING(    0x02, DEF_STR( Harder ) )
343   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
344   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )         PORT_DIPLOCATION("SW1:1,2")
380   PORT_DIPSETTING(    0x04, DEF_STR( Medium_Difficult ) )
381   PORT_DIPSETTING(    0x02, DEF_STR( Difficult ) )
382   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
383   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )         PORT_DIPLOCATION("SW1:2,1")
345384   PORT_DIPSETTING(    0x00, "2" )
346385   PORT_DIPSETTING(    0xc0, "3" )
347386   PORT_DIPSETTING(    0x80, "4" )
r5338r5339
351390   PORT_DIPNAME( 0x01, 0x01, "Invulnerability (Cheat)" )   PORT_DIPLOCATION("SW2:8")
352391   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
353392   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
354   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Coin_A ) )         PORT_DIPLOCATION("SW2:4,5,6")
355   PORT_DIPSETTING(    0x00, DEF_STR( 5C_1C ) )
356   PORT_DIPSETTING(    0x04, DEF_STR( 4C_1C ) )
357   PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
358   PORT_DIPSETTING(    0x0C, DEF_STR( 2C_1C ) )
359   PORT_DIPSETTING(    0x1C, DEF_STR( 1C_1C ) )
360   PORT_DIPSETTING(    0x18, DEF_STR( 1C_2C ) )
361   PORT_DIPSETTING(    0x14, DEF_STR( 1C_3C ) )
362   PORT_DIPSETTING(    0x10, DEF_STR( 1C_4C ) )
363   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coin_B ) )         PORT_DIPLOCATION("SW2:1,2,3")
364   PORT_DIPSETTING(    0x00, DEF_STR( 5C_1C ) )
365   PORT_DIPSETTING(    0x20, DEF_STR( 4C_1C ) )
366   PORT_DIPSETTING(    0x40, DEF_STR( 3C_1C ) )
367   PORT_DIPSETTING(    0x60, DEF_STR( 2C_1C ) )
368   PORT_DIPSETTING(    0xe0, DEF_STR( 1C_1C ) )
369   PORT_DIPSETTING(    0xc0, DEF_STR( 1C_2C ) )
370   PORT_DIPSETTING(    0xa0, DEF_STR( 1C_3C ) )
371   PORT_DIPSETTING(    0x80, DEF_STR( 1C_4C ) )
372393INPUT_PORTS_END
373394
374395static INPUT_PORTS_START( butasan )
375396   PORT_INCLUDE( valtric )
376397
377398   PORT_MODIFY("SYSTEM")
378   PORT_SERVICE( 0x20, IP_ACTIVE_LOW )
399   PORT_SERVICE( 0x20, IP_ACTIVE_LOW )   /* work as both "Service Credit SW" and "Test Mode SW" */
379400
401   /* DIPSW default setting: all OFF */
380402   PORT_MODIFY("DSW1")
381403   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Free_Play ) )      PORT_DIPLOCATION("SW1:8")
382404   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
r5338r5339
384406   PORT_DIPNAME( 0x02, 0x02, "Invulnerability (Cheat)" )   PORT_DIPLOCATION("SW1:7")
385407   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
386408   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
387   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Lives ) )         PORT_DIPLOCATION("SW1:5,6")
409   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Lives ) )         PORT_DIPLOCATION("SW1:6,5")
388410   PORT_DIPSETTING(    0x0c, "3" )
389411   PORT_DIPSETTING(    0x08, "4" )
390412   PORT_DIPSETTING(    0x04, "5" )
391413   PORT_DIPSETTING(    0x00, "6" )
392   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW1:3,4")
393   PORT_DIPSETTING(    0x30, "Rank 1" )
394   PORT_DIPSETTING(    0x20, "Rank 2" )
395   PORT_DIPSETTING(    0x10, "Rank 3" )
396   PORT_DIPSETTING(    0x00, "Rank 4" )
414   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW1:4,3")
415   PORT_DIPSETTING(    0x30, DEF_STR( Normal ) )
416   PORT_DIPSETTING(    0x20, DEF_STR( Medium_Difficult ) )
417   PORT_DIPSETTING(    0x10, DEF_STR( Difficult ) )
418   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
397419   PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW1:2" )         /* Listed as "Unused" */
398420   PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW1:1" )         /* Listed as "Unused" */
399421
src/mame/drivers/shangkid.c
r5338r5339
720720   ROM_LOAD( "ic42",        0xa60, 0x020, CRC(2ccfe10a) SHA1(d89ea91e5da436805fca9ded9b33609f4a862724) ) /* sound cpu banking */
721721ROM_END
722722
723ROM_START( chinher2 )
723ROM_START( chinhero2 )
724724   ROM_REGION( 0x10000, "maincpu", 0 ) /* Z80 code (main) */
725725   ROM_LOAD( "1.128",        0x0000, 0x4000, CRC(68e247aa) SHA1(27c2b864e482ba10c81337ed7c03a58b395e52bb) )
726726   ROM_LOAD( "2.128",        0x4000, 0x4000, CRC(0346d8c9) SHA1(458b9a37b0ad0cafecdb0348f7d93508531bc310) )
r5338r5339
784784There are present 12 bipolar proms but i cannot dump them,but i think that code is identical to Taiyo set.
785785 */
786786
787ROM_START( chinhert )
787ROM_START( chinherot )
788788   ROM_REGION( 0x10000, "maincpu", 0 ) /* Z80 code (main) */
789789   ROM_LOAD( "chtaito1.bin",        0x0000, 0x4000, CRC(2bd64de0) SHA1(cce14f9779a830ed83fa185918d22de0658e40ea) )
790790   ROM_LOAD( "chtaito2.bin",        0x4000, 0x4000, CRC(8fd04da9) SHA1(17f868c33ad01f0df96fe50e78dbde35ac8e2fe1) )
r5338r5339
988988
989989GAME( 1984, dynamski, 0,        dynamski, dynamski, 0,        ROT90, "Taiyo", "Dynamic Ski", GAME_NO_COCKTAIL )
990990GAME( 1984, chinhero, 0,        chinhero, chinhero, chinhero, ROT90, "Taiyo", "Chinese Hero", 0 )
991GAME( 1984, chinher2, chinhero, chinhero, chinhero, chinhero, ROT90, "Taiyo", "Chinese Hero (older)", 0 )
992GAME( 1984, chinhert, chinhero, chinhero, chinhero, chinhero, ROT90, "Taito", "Chinese Heroe (Taito)", 0 )
991GAME( 1984, chinhero2,chinhero, chinhero, chinhero, chinhero, ROT90, "Taiyo", "Chinese Hero (older)", 0 )
992GAME( 1984, chinherot,chinhero, chinhero, chinhero, chinhero, ROT90, "Taito", "Chinese Heroe (Taito)", 0 )
993993GAME( 1985, shangkid, 0,        shangkid, shangkid, shangkid, ROT0,  "Taiyo (Data East license)", "Shanghai Kid", GAME_NO_COCKTAIL )
994994GAME( 1985, hiryuken, shangkid, shangkid, shangkid, shangkid, ROT0,  "[Nihon Game] (Taito license)", "Hokuha Syourin Hiryu no Ken", GAME_NO_COCKTAIL )
src/mame/drivers/norautp.c
r5338r5339
354354*************************/
355355
356356static INPUT_PORTS_START( norautp )
357
358357   PORT_START("IN0")
359   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Start / Deal") PORT_CODE(KEYCODE_1)   /* Deal */
360   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Bet / Take")   PORT_CODE(KEYCODE_2)   /* Bet / Take */
361   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)                        /* Coin A */
362   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2)                        /* Coin B */
358   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Start")
359   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Bet / Take")
360   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   /* Coin A */
361   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   /* Coin B */
363362   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
364   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON8 )  PORT_NAME("Hi")          PORT_CODE(KEYCODE_A)   /* Hi */
365   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON9 )  PORT_NAME("Lo")          PORT_CODE(KEYCODE_S)   /* Lo */
366   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Payout")      PORT_CODE(KEYCODE_W)   /* Payout */
363   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Hi")
364   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Lo")
365   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
367366
368367   PORT_START("IN1")
369   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Change Card")         PORT_CODE(KEYCODE_D)   /* Change Card */
370   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Save (Half Gamble)")  PORT_CODE(KEYCODE_F)   /* Half Gamble */
371   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 )  PORT_NAME("Hold 1")              PORT_CODE(KEYCODE_Z)   /* Hold 1 */
372   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 )  PORT_NAME("Hold 2")              PORT_CODE(KEYCODE_X)   /* Hold 2 */
373   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )  PORT_NAME("Hold 3")              PORT_CODE(KEYCODE_C)   /* Hold 3 */
374   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 )  PORT_NAME("Hold 4")              PORT_CODE(KEYCODE_V)   /* Hold 4 */
375   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON7 )  PORT_NAME("Hold 5")              PORT_CODE(KEYCODE_B)   /* Hold 5 */
376   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN3 )    PORT_IMPULSE(2)                              /* Coin C */
368   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Change Card")
369   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_HALF ) PORT_NAME("Save (Half Gamble)")
370   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
371   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
372   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
373   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
374   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
375   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)   /* Coin C */
377376
378377   PORT_START("DSW1")
379378   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
r5338r5339
403402INPUT_PORTS_END
404403
405404static INPUT_PORTS_START( poker )
406
407405   PORT_START("IN0")
408   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Start / Deal")      PORT_CODE(KEYCODE_1)   /* Deal */
409   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Bet / Change Card") PORT_CODE(KEYCODE_2)   /* Bet / Change Card */
410   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)                              /* Coin A */
411   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2)                              /* Coin B */
406   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Start")
407   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Bet / Change Card")
408   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   /* Coin A */
409   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   /* Coin B */
412410   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
413   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON8 )  PORT_NAME("Hi")     PORT_CODE(KEYCODE_A)   /* Hi */
414   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON9 )  PORT_NAME("Lo")     PORT_CODE(KEYCODE_S)   /* Lo */
415   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_W)   /* Payout */
411   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Hi")
412   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Lo")
413   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
416414
417415   PORT_START("IN1")
418   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Stand (Take)") PORT_CODE(KEYCODE_D)   /* Stand (Take) */
419   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Half Gamble")  PORT_CODE(KEYCODE_F)   /* Half Gamble */
420   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 )  PORT_NAME("Hold 1")       PORT_CODE(KEYCODE_Z)   /* Hold 1 */
421   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 )  PORT_NAME("Hold 2")       PORT_CODE(KEYCODE_X)   /* Hold 2 */
422   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )  PORT_NAME("Hold 3")       PORT_CODE(KEYCODE_C)   /* Hold 3 */
423   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 )  PORT_NAME("Hold 4")       PORT_CODE(KEYCODE_V)   /* Hold 4 */
424   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON7 )  PORT_NAME("Hold 5")       PORT_CODE(KEYCODE_B)   /* Hold 5 */
425   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_NAME("Cancel")       PORT_CODE(KEYCODE_N)   /* Cancel */
416   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Stand (Take)")
417   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_HALF ) PORT_NAME("Save (Half Gamble)")
418   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
419   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
420   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
421   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
422   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
423   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_CANCEL )
426424
427425   PORT_START("DSW1")
428426   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
src/mame/drivers/fastfred.c
r5338r5339
806806   ROM_LOAD( "jumpcoas.blu", 0x0200, 0x0100, CRC(f4662db7) SHA1(638ac15b15ae908581561ff77f446d81ec64c086) )
807807ROM_END
808808
809ROM_START( jumpcoat )
809ROM_START( jumpcoast )
810810   ROM_REGION( 0x10000, "maincpu", 0 )
811811   ROM_LOAD( "1.d1", 0x0000, 0x2000, CRC(8ac220c5) SHA1(714dd34ca6c6c1803778a715b803f81a94286e1c) )
812812   ROM_LOAD( "jumpcoas.002", 0x2000, 0x2000, CRC(57f59ce1) SHA1(1508afb34f77c829ed62b16be10b0ebf8e91a62c) )
r5338r5339
987987}
988988
989989GAME( 1982, flyboy,   0,        fastfred, flyboy,   flyboy,   ROT90, "Kaneko", "Fly-Boy", 0 )
990GAME( 1982, flyboyb,  flyboy,   fastfred, flyboy,   flyboyb,  ROT90, "Kaneko", "Fly-Boy (bootleg)", 0 )
990GAME( 1982, flyboyb,  flyboy,   fastfred, flyboy,   flyboyb,  ROT90, "bootleg", "Fly-Boy (bootleg)", 0 )
991991GAME( 1982, fastfred, flyboy,   fastfred, fastfred, fastfred, ROT90, "Atari", "Fast Freddie", 0 )
992992GAME( 1983, jumpcoas, 0,        jumpcoas, jumpcoas, jumpcoas, ROT90, "Kaneko", "Jump Coaster", 0 )
993GAME( 1983, jumpcoat, jumpcoas, jumpcoas, jumpcoas, jumpcoas, ROT90, "Taito", "Jump Coaster (Taito)", 0 )
993GAME( 1983, jumpcoast,jumpcoas, jumpcoas, jumpcoas, jumpcoas, ROT90, "Taito", "Jump Coaster (Taito)", 0 )
994994GAME( 1983, boggy84,  0,        jumpcoas, boggy84,  boggy84,  ROT90, "bootleg", "Boggy '84", 0 )
995995GAME( 1986, redrobin, 0,        fastfred, redrobin, flyboyb,  ROT90, "Elettronolo", "Red Robin", 0 )
996996GAME( 1984, imago,     0,      imago,    imago,    imago,    ROT90, "Acom", "Imago (cocktail set)", 0 )
src/mame/drivers/lwings.c
r5338r5339
735735static MACHINE_DRIVER_START( lwings )
736736
737737   /* basic machine hardware */
738   MDRV_CPU_ADD("maincpu", Z80, 6000000)        /* 4 MHz (?) */
738   MDRV_CPU_ADD("maincpu", Z80, XTAL_12MHz/4)        /* verified on pcb */
739739   MDRV_CPU_PROGRAM_MAP(lwings_map)
740740   MDRV_CPU_VBLANK_INT("screen", lwings_interrupt)
741741
742   MDRV_CPU_ADD("soundcpu", Z80, 4000000)
742   MDRV_CPU_ADD("soundcpu", Z80, XTAL_12MHz/4)        /* verified on pcb */
743743   MDRV_CPU_PROGRAM_MAP(lwings_sound_map)
744744   MDRV_CPU_PERIODIC_INT(irq0_line_hold,4*60) /* ??? */
745745
r5338r5339
763763   /* sound hardware */
764764   MDRV_SPEAKER_STANDARD_MONO("mono")
765765
766   MDRV_SOUND_ADD("2203a", YM2203, 1500000)
766   MDRV_SOUND_ADD("2203a", YM2203, XTAL_12MHz/8)        /* verified on pcb */
767767   MDRV_SOUND_ROUTE(0, "mono", 0.20)
768768   MDRV_SOUND_ROUTE(1, "mono", 0.20)
769769   MDRV_SOUND_ROUTE(2, "mono", 0.20)
770770   MDRV_SOUND_ROUTE(3, "mono", 0.10)
771771
772   MDRV_SOUND_ADD("2203b", YM2203, 1500000)
772   MDRV_SOUND_ADD("2203b", YM2203, XTAL_12MHz/8)        /* verified on pcb */
773773   MDRV_SOUND_ROUTE(0, "mono", 0.20)
774774   MDRV_SOUND_ROUTE(1, "mono", 0.20)
775775   MDRV_SOUND_ROUTE(2, "mono", 0.20)
r5338r5339
782782   MDRV_CPU_MODIFY("maincpu")
783783   MDRV_CPU_PROGRAM_MAP(trojan_map)
784784
785   MDRV_CPU_ADD("adpcm", Z80, 4000000) // 3.579545 Mhz (?)
785   MDRV_CPU_ADD("adpcm", Z80, XTAL_12MHz/4)        /* verified on pcb */
786786   MDRV_CPU_PROGRAM_MAP(trojan_adpcm_map)
787787   MDRV_CPU_IO_MAP(trojan_adpcm_io_map)
788788   MDRV_CPU_PERIODIC_INT(irq0_line_hold, 4000)
r5338r5339
794794   MDRV_VIDEO_UPDATE(trojan)
795795
796796   /* sound hardware */
797   MDRV_SOUND_ADD("5205", MSM5205, 384000)
797   MDRV_SOUND_ADD("5205", MSM5205, XTAL_455kHz) /* verified on pcb */
798798   MDRV_SOUND_CONFIG(msm5205_config)
799799   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
800800MACHINE_DRIVER_END
r5338r5339
883883   ROM_LOAD( "63s141.15g",   0x0000, 0x0100, CRC(d96bcc98) SHA1(99e69a624d5586e5eedacd2083fa68b36e7b5e40) )   /* timing (not used) */
884884ROM_END
885885
886ROM_START( lwingsjp )
886ROM_START( lwingsj )
887887   ROM_REGION( 0x20000, "maincpu", 0 )     /* 64k for code + 3*16k for the banked ROMs images */
888888   ROM_LOAD( "a_06c.rom",    0x00000, 0x8000, CRC(2068a738) SHA1(1bbceee8138cdc3832a9330b967561b78b03933e) )
889889   ROM_LOAD( "a_07c.rom",    0x10000, 0x8000, CRC(d6a2edc4) SHA1(ce7eef643b1570cab241355bfd7c2d7adb1e74b6) )
r5338r5339
979979   ROM_LOAD( "mb7114e.15g",  0x0000, 0x0100, CRC(d96bcc98) SHA1(99e69a624d5586e5eedacd2083fa68b36e7b5e40) )   /* timing (not used) */
980980ROM_END
981981
982ROM_START( sctionza )
982ROM_START( sectionza )
983983   ROM_REGION( 0x20000, "maincpu", 0 )     /* 64k for code + 3*16k for the banked ROMs images */
984984   ROM_LOAD( "sz-01a.bin",   0x00000, 0x8000, CRC(98df49fd) SHA1(80d7d9f83ea2f606e48606dbfe69cf347aadf079) )
985985   ROM_LOAD( "7c_sz02.bin",  0x10000, 0x8000, CRC(22f161b8) SHA1(094ee6b6c8750de682c1ba4e387b31d58f734604) )
r5338r5339
11991199   ROM_LOAD( "tbb_1bpr.1e",  0x0100,  0x0100, CRC(5052fa9d) SHA1(8cd240f4795a7ae76499573c09069dba37182be2) )   /* priority (not used) */
12001200ROM_END
12011201
1202ROM_START( avenger2 )
1202ROM_START( avengers2 )
12031203   ROM_REGION( 0x20000, "maincpu", 0 )     /* 64k for code + 3*16k for the banked ROMs images */
12041204   ROM_LOAD( "avg4.bin",     0x00000, 0x8000, CRC(0fea7ac5) SHA1(b978adf5fc90e1e51a995dbec2246d2776264afd) )
12051205   ROM_LOAD( "av_06a.13n",   0x10000, 0x8000, CRC(491a712c) SHA1(67a335b57117ba498d3ae412ac0025477bc79b16) )
r5338r5339
13001300 *************************************/
13011301
13021302GAME( 1985, sectionz, 0,        lwings,   sectionz, 0, ROT0,  "Capcom", "Section Z (set 1)", 0 )
1303GAME( 1985, sctionza, sectionz, lwings,   sectionz, 0, ROT0,  "Capcom", "Section Z (set 2)", 0 )
1303GAME( 1985, sectionza,sectionz, lwings,   sectionz, 0, ROT0,  "Capcom", "Section Z (set 2)", 0 )
13041304GAME( 1986, lwings,   0,        lwings,   lwings,   0, ROT90, "Capcom", "Legendary Wings (US set 1)", 0 )
13051305GAME( 1986, lwings2,  lwings,   lwings,   lwings,   0, ROT90, "Capcom", "Legendary Wings (US set 2)", 0 )
1306GAME( 1986, lwingsjp, lwings,   lwings,   lwings,   0, ROT90, "Capcom", "Ares no Tsubasa (Japan)", 0 )
1306GAME( 1986, lwingsj, lwings,   lwings,   lwings,   0, ROT90, "Capcom", "Ares no Tsubasa (Japan)", 0 )
13071307GAME( 1986, lwingsb,  lwings,   lwings,   lwingsb,  0, ROT90, "bootleg", "Legendary Wings (bootleg)", 0 )
13081308GAME( 1986, trojan,   0,        trojan,   trojanls, 0, ROT0,  "Capcom", "Trojan (US)", 0 )
13091309GAME( 1986, trojanr,  trojan,   trojan,   trojan,   0, ROT0,  "Capcom (Romstar license)", "Trojan (Romstar)", 0 )
13101310GAME( 1986, trojanj,  trojan,   trojan,   trojan,   0, ROT0,  "Capcom", "Tatakai no Banka (Japan)", 0 )
13111311GAME( 1987, avengers, 0,        avengers, avengers, 0, ROT90, "Capcom", "Avengers (US set 1)", 0 )
1312GAME( 1987, avenger2, avengers, avengers, avengers, 0, ROT90, "Capcom", "Avengers (US set 2)", 0 )
1312GAME( 1987, avengers2,avengers, avengers, avengers, 0, ROT90, "Capcom", "Avengers (US set 2)", 0 )
13131313GAME( 1987, buraiken, avengers, avengers, avengers, 0, ROT90, "Capcom", "Hissatsu Buraiken (Japan)", 0 )
13141314
src/mame/drivers/punchout.c
r5338r5339
905905   ROM_LOAD( "chs1-c.6p",    0x0000, 0x4000, CRC(ad8b64b8) SHA1(0f1232a10faf71b782f9f6653cca8570243c17e0) )
906906ROM_END
907907
908ROM_START( spnchotj )
908ROM_START( spnchoutj )
909909   ROM_REGION( 0x10000, "maincpu", 0 )
910910   ROM_LOAD( "chs1c8la.bin", 0x0000, 0x2000, CRC(dc2a592b) SHA1(a8a7fc5c836e2723ba6abcb1137f4c4f79e21c87) )
911911   ROM_LOAD( "chs1c8ka.bin", 0x2000, 0x2000, CRC(ce687182) SHA1(f07d930d90eda199b089f9023b51fd4456c87bdf) )
r5338r5339
10401040GAME( 1984, punchout, 0,        punchout, punchout, punchout, ROT0, "Nintendo", "Punch-Out!!", 0 )
10411041GAME( 1984, punchita, punchout, punchout, punchout, spnchout, ROT0, "bootleg",  "Punch-Out!! (Italian bootleg)", 0 )
10421042GAME( 1984, spnchout, 0,        punchout, spnchout, spnchout, ROT0, "Nintendo", "Super Punch-Out!!", 0 )
1043GAME( 1984, spnchotj, spnchout, punchout, spnchout, spnchotj, ROT0, "Nintendo", "Super Punch-Out!! (Japan)", 0 )
1043GAME( 1984, spnchoutj,spnchout, punchout, spnchout, spnchotj, ROT0, "Nintendo", "Super Punch-Out!! (Japan)", 0 )
10441044GAME( 1985, armwrest, 0,        armwrest, armwrest, armwrest, ROT0, "Nintendo", "Arm Wrestling", 0 )
src/mame/drivers/cclimber.c
r5338r5339
11511151   ROM_LOAD( "cc12",         0x1000, 0x1000, CRC(5da13aaa) SHA1(b2d41e69435d09c456648a10e33f5e1fbb0bc64c) )
11521152ROM_END
11531153
1154ROM_START( cclimbrj )
1154ROM_START( cclimberj )
11551155   ROM_REGION( 0x10000, "maincpu", 0 )
11561156   ROM_LOAD( "cc11j.bin",    0x0000, 0x1000, CRC(89783959) SHA1(948fa88fcb9e3797b9c10934d36cf6a55cb590fe) )
11571157   ROM_LOAD( "cc10j.bin",    0x1000, 0x1000, CRC(14eda506) SHA1(4bc55b4c4ec197952b05ad32584f15f0383cc2df) )
r5338r5339
19401940
19411941
19421942GAME( 1980, cclimber, 0,        cclimber, cclimber, cclimber, ROT0,   "Nichibutsu", "Crazy Climber (US)", 0 )
1943GAME( 1980, cclimbrj, cclimber, cclimber, cclimbrj, cclimbrj, ROT0,   "Nichibutsu", "Crazy Climber (Japan)", 0 )
1943GAME( 1980, cclimberj,cclimber, cclimber, cclimbrj, cclimbrj, ROT0,   "Nichibutsu", "Crazy Climber (Japan)", 0 )
19441944GAME( 1980, ccboot,   cclimber, cclimber, cclimber, cclimbrj, ROT0,   "bootleg", "Crazy Climber (bootleg set 1)", 0 )
19451945GAME( 1980, ccboot2,  cclimber, cclimber, cclimber, cclimbrj, ROT0,   "bootleg", "Crazy Climber (bootleg set 2)", 0 )
19461946GAME( 1981, ckong,    0,        cclimber, ckong,    0,        ROT270, "Falcon", "Crazy Kong Part II (set 1)", 0 )
src/mame/drivers/foodf.c
r5338r5339
264264   PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
265265
266266   PORT_START("DSW")   /* SW1 */
267   PORT_DIPNAME( 0x07, 0x00, "Bonus Coins" )
267   PORT_DIPNAME( 0x07, 0x00, "Bonus Coins" )   PORT_DIPLOCATION("SW1:8,7,6")
268268   PORT_DIPSETTING(    0x00, DEF_STR( None ) )
269269   PORT_DIPSETTING(    0x05, "1 for every 2" )
270270   PORT_DIPSETTING(    0x02, "1 for every 4" )
271271   PORT_DIPSETTING(    0x01, "1 for every 5" )
272272   PORT_DIPSETTING(    0x06, "2 for every 4" )
273   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Coin_A ))
273   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Coin_A ))   PORT_DIPLOCATION("SW1:5")
274274   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ))
275275   PORT_DIPSETTING(    0x08, DEF_STR( 1C_2C ))
276   PORT_DIPNAME( 0x30, 0x00, DEF_STR( Coin_B ))
276   PORT_DIPNAME( 0x30, 0x00, DEF_STR( Coin_B ))   PORT_DIPLOCATION("SW1:4,3")
277277   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ))
278278   PORT_DIPSETTING(    0x20, DEF_STR( 1C_4C ))
279279   PORT_DIPSETTING(    0x10, DEF_STR( 1C_5C ))
280280   PORT_DIPSETTING(    0x30, DEF_STR( 1C_6C ))
281   PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coinage ))
281   PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coinage ))   PORT_DIPLOCATION("SW1:2,1")
282282   PORT_DIPSETTING(    0x80, DEF_STR( 2C_1C ))
283283   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ))
284284   PORT_DIPSETTING(    0xc0, DEF_STR( 1C_2C ))
src/mame/drivers/ddenlovr.c
r5338r5339
75797579
75807580***************************************************************************/
75817581
7582ROM_START( rongrngg )
7582ROM_START( rongrongg )
75837583   ROM_REGION( 0x118000, "maincpu", 0 )   /* Z80 Code + space for banked RAM */
75847584   ROM_LOAD( "rr_8002g.rom", 0x00000, 0x80000, CRC(9a5d2885) SHA1(9ca049085d14b1cfba6bd48adbb0b883494e7d29) )
75857585   ROM_RELOAD(               0x10000, 0x80000 )
r5338r5339
76247624
76257625***************************************************************************/
76267626
7627ROM_START( rongrngj )
7627ROM_START( rongrongj )
76287628   ROM_REGION( 0x118000, "maincpu", 0 )   /* Z80 Code + space for banked RAM */
76297629   ROM_LOAD( "8002.3e", 0x00000, 0x80000, CRC(27142684) SHA1(4626576d032a89b558c8542f82b286e5673f8662) )
76307630   ROM_RELOAD(          0x10000, 0x80000 )
r5338r5339
88978897GAME( 1994, quiz365,  0,        quiz365,  quiz365,  0,        ROT0, "Nakanihon",                                   "Quiz 365 (Japan)",                                                GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS | GAME_UNEMULATED_PROTECTION )
88988898GAME( 1994, quiz365t, quiz365,  quiz365,  quiz365,  0,        ROT0, "Nakanihon + Taito",                           "Quiz 365 (Hong Kong & Taiwan)",                                   GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS | GAME_UNEMULATED_PROTECTION )
88998899GAME( 1994, rongrong, 0,        rongrong, rongrong, rongrong, ROT0, "Nakanihon (Activision licence)",              "Puzzle Game Rong Rong (Europe)",                                  GAME_NO_COCKTAIL | GAME_IMPERFECT_COLORS )
8900GAME( 1994, rongrngj, rongrong, rongrong, rongrong, rongrong, ROT0, "Nakanihon (Activision licence)",              "Puzzle Game Rong Rong (Japan)",                                   GAME_NO_COCKTAIL | GAME_IMPERFECT_COLORS )
8901GAME( 1994, rongrngg, rongrong, rongrong, rongrong, rongrong, ROT0, "Nakanihon (Activision licence)",              "Puzzle Game Rong Rong (Germany)",                                 GAME_NO_COCKTAIL | GAME_IMPERFECT_COLORS )
8900GAME( 1994, rongrongj,rongrong, rongrong, rongrong, rongrong, ROT0, "Nakanihon (Activision licence)",              "Puzzle Game Rong Rong (Japan)",                                   GAME_NO_COCKTAIL | GAME_IMPERFECT_COLORS )
8901GAME( 1994, rongrongg,rongrong, rongrong, rongrong, rongrong, ROT0, "Nakanihon (Activision licence)",              "Puzzle Game Rong Rong (Germany)",                                 GAME_NO_COCKTAIL | GAME_IMPERFECT_COLORS )
89028902GAME( 1994, hparadis, 0,        hparadis, hparadis, 0,        ROT0, "Dynax",                                       "Super Hana Paradise (Japan)",                                     GAME_NO_COCKTAIL )
89038903GAME( 1995, hgokou,   0,        hgokou,   hgokou,   0,        ROT0, "Dynax (Alba licence)",                      "Hanafuda Hana Gokou (Japan)",                                     GAME_NO_COCKTAIL )
89048904GAME( 1995, mjdchuka, 0,        mjchuuka, mjchuuka, 0,        ROT0, "Dynax",                                       "Mahjong The Dai Chuuka Ken (China, v. D111)",                     GAME_NO_COCKTAIL )
src/mame/drivers/chinagat.c
r5338r5339
751751   ROM_LOAD( "23j5-0.45", 0x200, 0x100, CRC(fdb130a9) SHA1(4c4f214229b9fab2b5d69c745ec5428787b89e1f) )   /* 82S129 on main board */
752752ROM_END
753753
754ROM_START( saiyugb1 )
754ROM_START( saiyugoub1 )
755755   ROM_REGION( 0x28000, "maincpu", 0 )   /* Main CPU: 128KB for code (bankswitched using $3F01) */
756756   ROM_LOAD( "23j3-0.51",  0x10000, 0x18000, CRC(aa8132a2) SHA1(87c3bd447767f263113c4865afc905a0e484a625) )   /* Banks 0x4000 long @ 0x4000 */
757757   /* Orientation of bootleg ROMs which are split, but otherwise the same.
r5338r5339
816816   ROM_LOAD( "23j5-0.45", 0x200, 0x100, CRC(fdb130a9) SHA1(4c4f214229b9fab2b5d69c745ec5428787b89e1f) )   /* 82S129 on main board */
817817ROM_END
818818
819ROM_START( saiyugb2 )
819ROM_START( saiyugoub2 )
820820   ROM_REGION( 0x28000, "maincpu", 0 )   /* Main CPU: 128KB for code (bankswitched using $3F01) */
821821   ROM_LOAD( "23j3-0.51",   0x10000, 0x18000, CRC(aa8132a2) SHA1(87c3bd447767f263113c4865afc905a0e484a625) )   /* Banks 0x4000 long @ 0x4000 */
822822   /* Orientation of bootleg ROMs which are split, but otherwise the same.
r5338r5339
891891
892892
893893/*   ( YEAR  NAME      PARENT    MACHINE   INPUT     INIT    MONITOR COMPANY    FULLNAME     FLAGS ) */
894GAME( 1988, chinagat, 0,        chinagat, chinagat, chinagat, ROT0, "[Technos Japan] (Taito Romstar license)", "China Gate (US)", 0 )
895GAME( 1988, saiyugou, chinagat, chinagat, chinagat, chinagat, ROT0, "Technos Japan", "Sai Yu Gou Ma Roku (Japan)", 0 )
896GAME( 1988, saiyugb1, chinagat, saiyugb1, chinagat, chinagat, ROT0, "bootleg", "Sai Yu Gou Ma Roku (Japan bootleg 1)", GAME_IMPERFECT_SOUND )
897GAME( 1988, saiyugb2, chinagat, saiyugb2, chinagat, chinagat, ROT0, "bootleg", "Sai Yu Gou Ma Roku (Japan bootleg 2)", 0 )
894GAME( 1988, chinagat,   0,        chinagat, chinagat, chinagat, ROT0, "[Technos Japan] (Taito Romstar license)", "China Gate (US)", 0 )
895GAME( 1988, saiyugou,   chinagat, chinagat, chinagat, chinagat, ROT0, "Technos Japan", "Sai Yu Gou Ma Roku (Japan)", 0 )
896GAME( 1988, saiyugoub1, chinagat, saiyugb1, chinagat, chinagat, ROT0, "bootleg", "Sai Yu Gou Ma Roku (Japan bootleg 1)", GAME_IMPERFECT_SOUND )
897GAME( 1988, saiyugoub2, chinagat, saiyugb2, chinagat, chinagat, ROT0, "bootleg", "Sai Yu Gou Ma Roku (Japan bootleg 2)", 0 )
src/mame/drivers/kaneko16.c
r5338r5339
23612361--------------------------------------------------------------------------------
23622362*/
23632363
2364ROM_START( berlwalt )
2364ROM_START( berlwallt )
23652365    ROM_REGION( 0x040000, "maincpu", 0 )         /* 68000 Code */
23662366   ROM_LOAD16_BYTE( "bw100a", 0x000000, 0x020000, CRC(e6bcb4eb) SHA1(220b8fddc79230b4f6a8cf33e1035355c485e8d1) )
23672367   ROM_LOAD16_BYTE( "bw101a", 0x000001, 0x020000, CRC(38056fb2) SHA1(48338b9a5ebea872286541a3c45016673c4af76b) )
r5338r5339
31033103   ROM_LOAD( "mc030.u32",  0x000000, 0x040000, CRC(c165962e) SHA1(f7e130db387ae9dcb7223f7ad6e51270d3033bc9) )
31043104ROM_END
31053105
3106ROM_START( mgcrysto ) /* Master Up: 91/12/10 01:56:06 */
3106ROM_START( mgcrystlo ) /* Master Up: 91/12/10 01:56:06 */
31073107    ROM_REGION( 0x040000*2, "maincpu", ROMREGION_ERASE )         /* 68000 Code */
31083108   ROM_LOAD16_BYTE( "mc100h00.u18", 0x000000, 0x020000, CRC(c7456ba7) SHA1(96c25c3432069373fa86d7af3e093e02e39aea34) ) /* Labeled as MC100H/U18-00 */
31093109   ROM_LOAD16_BYTE( "mc101h00.u19", 0x000001, 0x040000, CRC(ea8f9300) SHA1(0cd0d448805aa45986b63befca00b08fe066dbb2) ) /* Labeled as MC101H/U19-00 */
r5338r5339
31273127   ROM_LOAD( "mc030.u32",  0x000000, 0x040000, CRC(c165962e) SHA1(f7e130db387ae9dcb7223f7ad6e51270d3033bc9) )
31283128ROM_END
31293129
3130ROM_START( mgcrystj ) /* Master Up: 92/01/13 14:44:20 */
3130ROM_START( mgcrystlj ) /* Master Up: 92/01/13 14:44:20 */
31313131    ROM_REGION( 0x040000*2, "maincpu", ROMREGION_ERASE )         /* 68000 Code */
31323132   ROM_LOAD16_BYTE( "mc100j02.u18", 0x000000, 0x020000, CRC(afe5882d) SHA1(176e6e12e3df63c08d7aff781f5e5a9bd83ec293) ) /* Labeled as MC100J/U18-02 */
31333133   ROM_LOAD16_BYTE( "mc101j02.u19", 0x000001, 0x040000, CRC(60da5492) SHA1(82b90a617d355825624ce9fb30bddf4714bd0d18) ) /* Labeled as MC101J/U19-02 */
r5338r5339
32523252
32533253***************************************************************************/
32543254
3255ROM_START( shogware )
3255ROM_START( shogwarre )
32563256    ROM_REGION( 0x040000, "maincpu", 0 )         /* 68000 Code */
32573257   ROM_LOAD16_BYTE( "fb030e.u61", 0x000000, 0x020000, CRC(32ce7909) SHA1(02d87342706ac9547eb611bd542f8498ba41e34a) )
32583258   ROM_LOAD16_BYTE( "fb031e.u62", 0x000001, 0x020000, CRC(228aeaf5) SHA1(5e080d7975bc5dcf6fccfbc286eafe939496d9bf) )
r5338r5339
34983498   ROM_LOAD( "rb-002.u45",   0x100000, 0x100000, CRC(e4b30444) SHA1(be6756dce3721226e0b7f5d4d168008c31aeea8e) )
34993499ROM_END
35003500
3501ROM_START( brapboyj ) /* The Japanese version has an extra rom??? and used a rom sub board */
3501ROM_START( brapboysj ) /* The Japanese version has an extra rom??? and used a rom sub board */
35023502    ROM_REGION( 0x040000, "maincpu", 0 )         /* 68000 Code */
35033503   ROM_LOAD16_BYTE( "rb-004.u61", 0x000000, 0x020000, CRC(5432442c) SHA1(f0f7328ece96ef25e6d4fd1958d734f64a9ef371) )
35043504   ROM_LOAD16_BYTE( "rb-005.u62", 0x000001, 0x020000, CRC(118b3cfb) SHA1(1690ecf5c629879bd97131ff77029e152919e45d) )
r5338r5339
36263626   DRIVER_INIT_CALL(decrypt_toybox_rom_alt);
36273627}
36283628
3629// protection information for brapboys / shogwarr
3630//
3631// this is just an analysis of the MCU Data rom, in reality it probably processes this when requested, not pre-decrypts
3632//
3629extern DRIVER_INIT(calc3_scantables);
36333630
3634/*
3635
3636esentially the data rom is a linked list of encrypted blocks
3637
3638contains the following
3639ROM ADDRESS 0x0000 = the number of tables in this rom
3640
3641followed by several tables in the following format
3642
3643OFFSET 0 - the location of a word which specifies the size of the block
3644         - this is usually '3', but if it's larger than 3 it enables an 'inline encryption' mode, whereby the decryption table is stored in the
3645         - right before the length register
3646
3647OFFSET 1 - a 'mode' register of some sort, usually 0,1,2 or 3 for used data, shogun also called a 'blank' command (length 0) with mode 8
3648
3649OFFSET 2 - unknown, might be some kind of 'step' register
3650
3651OFFSET 3 - decryption key - specifies which decryption table to use (ignored for inline tables, see offset 0)
3652
3653(inline decryption table goes here if specified)
3654
3655OFFSET 4-5 (or after the inline decryption table) - the length of the current block (so that the start of the next block can be found)
3656
3657OFFSET 6-size - data for thie block
3658
3659this continues for the number of blocks specified
3660after all the blocks there is a 0x1000 block of data which is the same between games
3661
3662where games specify the same decryption key the table used is the same, I don't know where these tables come from.
3663
3664*/
3665
3666UINT16 calc3_mcu_crc;
3667
3668/* decryption tables */
3669
3670/* table 0x00 = not encrypted? */
3671static UINT8 calc3_table00[64] = {
3672   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
3673   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
3674   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
3675   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
3676};
3677
3678/* ok */
3679static UINT8 calc3_table01[64] = {
3680   0xce,0xab,0xa1,0xaa,0x20,0x20,0xcb,0x57,0x5b,0x65,0xd6,0x65,0x5e,0x92,0x6c,0x0a,
3681   0xf8,0xea,0xb6,0xfd,0x76,0x35,0x47,0xaf,0xed,0xe0,0xcc,0x4d,0x4c,0xd6,0x74,0x78,
3682   0x20,0x1c,0x1f,0xc1,0x25,0x2e,0x49,0xe7,0x90,0x1b,0xb4,0xcf,0x1e,0x61,0xd7,0x46,
3683   0xda,0x89,0x08,0x77,0xb1,0x81,0x6b,0x2d,0xb6,0xbc,0x99,0xc9,0x35,0x0a,0x0f,0x01
3684};
3685
3686/* ok */
3687static UINT8 calc3_table15[64] = {
3688   0x0C,0xEB,0x30,0x25,0xA8,0xED,0xE3,0x23,0xAC,0x2B,0x8D,0x34,0x88,0x9F,0x55,0xB5,
3689   0xBF,0x15,0xE3,0x7C,0x54,0xD4,0x72,0xA9,0x7E,0x80,0x27,0x9F,0xA3,0x3F,0xA1,0x4D,
3690   0x84,0x1B,0xD1,0xB2,0xB5,0xA7,0x0C,0xA0,0x51,0xE6,0x5E,0xC0,0xEB,0x68,0x22,0xD6,
3691   0xC8,0xB6,0xCF,0x46,0x4B,0xF0,0x15,0xD7,0xB0,0xB5,0x29,0xB8,0xFD,0x43,0x5C,0xC0
3692};
3693
3694/* partial guessed tables
3695unsigned char table31[64] = {
3696    // x     x     x    ok     x     x     x    ok     x     x     x    ok     x     x     x    ok
3697    0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0xaf, 0x00, 0x00, 0x00, 0x3a, 0x00, 0x00, 0x00, 0x3b,
3698    0x00, 0x00, 0x00, 0xbb, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0xb1, 0x00, 0x00, 0x00, 0xdc,
3699    0x00, 0x00, 0x00, 0xb5, 0x00, 0x00, 0x00, 0x3d, 0x00, 0x00, 0x00, 0x4f, 0x00, 0x00, 0x00, 0xde,
3700    0x00, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x00, 0x26, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, 0xb1
3701};
3702
3703
3704unsigned char tableb0[64] = {
3705    // x     x     x    ok     x     x     x    ok     x     x     x    ok     x     x     x    ok
3706    0x00, 0x00, 0x00, 0x5e, 0x00, 0x00, 0x00, 0x44, 0x00, 0x00, 0x00, 0x68, 0x00, 0x00, 0x00, 0x81,
3707    0x00, 0x00, 0x00, 0x85, 0x00, 0x00, 0x00, 0x6d, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x32,
3708    0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0xb2, 0x00, 0x00, 0x00, 0x2a, 0x00, 0x00, 0x00, 0x00,
3709    0x00, 0x00, 0x00, 0xb2, 0x00, 0x00, 0x00, 0xe4, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x5b
3710};
3711
3712unsigned char tableb7[64] = {
3713    // x     x     x    ok     x     x     x    ok     x     x     x    ok     x     x     x    ok
3714    0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x00, 0x00, 0xd7,
3715    0x00, 0x00, 0x00, 0xe7, 0x00, 0x00, 0x00, 0x54, 0x00, 0x00, 0x00, 0x2b, 0x00, 0x00, 0x00, 0x82,
3716    0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0xa2, 0x00, 0x00, 0x00, 0xb4, 0x00, 0x00, 0x00, 0x26,
3717    0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x9d, 0x00, 0x00, 0x00, 0x33
3718};
3719
3720unsigned char tablebb[64] = {
3721    // x     x     x    ok     x     x     x    ok     x     x     x    ok     x     x     x    ok
3722    0x00, 0x00, 0x00, 0x62, 0x00, 0x00, 0x00, 0x4a, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x00, 0x00, 0x3d,
3723    0x00, 0x00, 0x00, 0xec, 0x00, 0x00, 0x00, 0x99, 0x00, 0x00, 0x00, 0xa0, 0x00, 0x00, 0x00, 0x69,
3724    0x00, 0x00, 0x00, 0xeb, 0x00, 0x00, 0x00, 0x6f, 0x00, 0x00, 0x00, 0x97, 0x00, 0x00, 0x00, 0x9e,
3725    0x00, 0x00, 0x00, 0xe1, 0x00, 0x00, 0x00, 0x9f, 0x00, 0x00, 0x00, 0xfd, 0x00, 0x00, 0x00, 0x4d
3726};
3727*/
3728
3729// global so we can use them in the filename when we save out the data (debug..)
3730static UINT8 calc3_decryption_key_byte;
3731static UINT8 calc3_unknown;
3732static UINT8 calc3_mode;
3733static UINT8 calc3_blocksize_offset;
3734static UINT16 calc3_dataend;
3735static UINT16 calc3_database;
3736
3737// endian safe? you're having a laugh
3738int calc3_decompress_table(running_machine* machine, int tabnum, UINT8* dstram, int dstoffset)
3739{
3740   UINT8* rom = memory_region(machine,"cpu1");
3741   UINT8 numregions;
3742   UINT16 length;
3743   int x;
3744   int offset = 0;
3745   numregions = rom[offset+0];
3746
3747   if (tabnum > numregions)
3748   {
3749      printf("CALC3 error, requested table > num tables!\n");
3750      return 0;
3751   }
3752
3753   rom++;
3754
3755   // scan through the linked list to find the start of the requested table info
3756   for (x=0;x<tabnum;x++)
3757   {
3758      UINT8 blocksize_offset = rom[offset+0]; // location of the 'block length'
3759      offset+= blocksize_offset+1;
3760      length = rom[offset+0] | (rom[offset+1]<<8);
3761      offset+=length+2;
3762   }
3763
3764   // we're at the start of the block, get the info about it
3765   {
3766      UINT16 inline_table_base = 0;
3767      UINT16 inline_table_size = 0;
3768      calc3_database = offset;
3769      calc3_blocksize_offset =    rom[offset+0]; // location of the 'block length'
3770      calc3_mode =                rom[offset+1];
3771      calc3_unknown =             rom[offset+2];
3772      calc3_decryption_key_byte = rom[offset+3];
3773
3774
3775      // if blocksize_offset > 3, it appears to specify the encryption table as 'inline' which can be of any size (odd or even) and loops over the bytes to decrypt
3776      // the decryption key specified seems to be ignored?
3777      if (calc3_blocksize_offset>3)
3778      {
3779         inline_table_base = offset+4;
3780         inline_table_size = calc3_blocksize_offset-3;
3781      }
3782
3783      offset+= calc3_blocksize_offset+1;
3784      length = rom[offset+0] | (rom[offset+1]<<8);
3785      offset+=2;
3786
3787      if (inline_table_size)
3788      {
3789         printf("Block %02x Found Base %04x - Inline Encryption (size %02x) - Mode? %02x Unknown %02x Key (unused?) %02x Length %04x\n", tabnum, calc3_database, inline_table_size, calc3_mode, calc3_unknown, calc3_decryption_key_byte, length);
3790      }
3791      else
3792      {
3793         printf("Block %02x Found Base %04x - Mode? %02x Unknown %02x Key (unused?) %02x Length %04x\n", tabnum, calc3_database, calc3_mode, calc3_unknown, calc3_decryption_key_byte, length);
3794      }
3795
3796
3797      // copy + decrypt the table to the specified memory area
3798      if (dstram)
3799      {
3800         int i;
3801
3802         if (length==0x00)
3803         {
3804            // shogwarr does this with 'mode' as 0x08, which probably has some special meaning
3805            //printf("CALC3: requested 0 length table!\n");
3806            // -- seems to be 'reset stack' to default for the protection table writes
3807         }
3808
3809         if (inline_table_size)
3810         {
3811            for (i=0;i<length;i++)
3812            {
3813               UINT8 dat = rom[offset+i];
3814               UINT8 inlinet = rom[inline_table_base + (i%inline_table_size)];
3815               //printf("%02x, ",inlinet);
3816               dat -= inlinet;
3817
3818               if (tabnum==0x40) // fjbuster / shogun warriors japanese character select (what enables this extra?)
3819               {
3820                  // note the original, table is an odd number of words, so we can't just check if i is odd / even because the additional overlay
3821                  // is relative to the start of the original table, and has a size of 0x11 (17) bytes which loop.
3822                  if (((i%inline_table_size)&1)==0)
3823                  {
3824                     // thie gets mapped over half the inline table?!..  (inline length is 0x22, this changes odd bytes)
3825                     // what specifies the additional overlay here?
3826                     UINT8 extra[0x11] = { 0x14,0xf0,0xf8,0xd2,0xbe,0xfc,0xac,0x86,0x64,0x08,0x0c,0x74,0xd6,0x6a,0x24,0x12,0x1a };
3827                     dat -= extra[(i%inline_table_size)>>1];
3828
3829                  }
3830
3831
3832               }
3833
3834               dstram[(dstoffset+i)^1] = dat;
3835            }
3836         }
3837         else
3838         {
3839            UINT8* table = calc3_table00;
3840
3841            // 0x00 seems to have no 'encryption'
3842            if (calc3_decryption_key_byte == 0x00) table = calc3_table00;
3843
3844            // currently only handle 2 of the formats :-(
3845            if (calc3_decryption_key_byte == 0x01) table = calc3_table01;
3846            if (calc3_decryption_key_byte == 0x15) table = calc3_table15;
3847
3848            for (i=0;i<length;i++)
3849            {
3850
3851
3852               UINT8 dat = rom[offset+i];
3853
3854
3855               if (tabnum==0x80) // shogwarr table 80 (irq code)
3856               {
3857
3858               unsigned char extracted80[686+2] = {
3859                  0x00, 0x00,
3860                  0xE7, 0x48, 0xFE, 0xFF, 0x39, 0x4A, 0x10, 0x00, 0xFE, 0x2D, 0x00, 0x67,
3861                  0x64, 0x02, 0x39, 0x4A, 0x10, 0x00, 0x26, 0x2E, 0x00, 0x66, 0x54, 0x02,
3862                  0x3C, 0x10, 0x4D, 0x00, 0x39, 0x4A, 0x10, 0x00, 0x10, 0x2E, 0x04, 0x67,
3863                  0xC0, 0x08, 0x07, 0x00, 0xC0, 0x13, 0x90, 0x00, 0x00, 0x00, 0xF9, 0x43,
3864                  0x58, 0x00, 0x00, 0x00, 0xF9, 0x41, 0x10, 0x00, 0x00, 0x18, 0xD8, 0x22,
3865                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3866                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3867                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3868                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3869                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3870                  0xD8, 0x22, 0xF9, 0x43, 0x38, 0x00, 0x00, 0x00, 0x3C, 0x30, 0x0F, 0x00,
3871                  0x79, 0x20, 0x10, 0x00, 0xA2, 0x62, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3872                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3873                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3874                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3875                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3876                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3877                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3878                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3879                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3880                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3881                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3882                  0xD8, 0x22, 0xC8, 0x51, 0x7E, 0xFF, 0x39, 0x4A, 0x10, 0x00, 0x27, 0x2E,
3883                  0x00, 0x66, 0x64, 0x00, 0xF9, 0x45, 0x10, 0x00, 0x40, 0x32, 0xF9, 0x41,
3884                  0x80, 0x00, 0x00, 0x00, 0xDA, 0x30, 0xDA, 0x30, 0xDA, 0x30, 0xDA, 0x30,
3885                  0xF9, 0x41, 0x90, 0x00, 0x14, 0x00, 0x39, 0x30, 0x10, 0x00, 0x38, 0x32,
3886                  0x40, 0x02, 0xC0, 0xFF, 0x40, 0x44, 0xC0, 0x30, 0x39, 0x30, 0x10, 0x00,
3887                  0x3A, 0x32, 0x40, 0x02, 0xC0, 0xFF, 0x40, 0x44, 0x79, 0xD0, 0x10, 0x00,
3888                  0x1E, 0x2E, 0xC0, 0x30, 0x39, 0x30, 0x10, 0x00, 0x3C, 0x32, 0x40, 0x02,
3889                  0xC0, 0xFF, 0x40, 0x44, 0xC0, 0x30, 0x39, 0x30, 0x10, 0x00, 0x3E, 0x32,
3890                  0x40, 0x02, 0xC0, 0xFF, 0x40, 0x44, 0x79, 0xD0, 0x10, 0x00, 0x1E, 0x2E,
3891                  0xC0, 0x30, 0x00, 0x60, 0x9A, 0x00, 0xF9, 0x41, 0x80, 0x00, 0x00, 0x00,
3892                  0x39, 0x30, 0x10, 0x00, 0x40, 0x32, 0x40, 0x31, 0x02, 0x00, 0x40, 0x31,
3893                  0x06, 0x00, 0xF9, 0x41, 0x90, 0x00, 0x1C, 0x00, 0x39, 0x30, 0x10, 0x00,
3894                  0x34, 0x32, 0x48, 0xED, 0x40, 0x44, 0xC0, 0x30, 0x39, 0x30, 0x10, 0x00,
3895                  0x30, 0x32, 0x40, 0x06, 0x20, 0x00, 0x48, 0xED, 0x40, 0x44, 0x79, 0xD0,
3896                  0x10, 0x00, 0x1E, 0x2E, 0xC0, 0x30, 0xF9, 0x41, 0x10, 0x00, 0x28, 0x2E,
3897                  0xE8, 0x45, 0x00, 0x02, 0x79, 0x22, 0x10, 0x00, 0x22, 0x2E, 0xE9, 0x47,
3898                  0x00, 0x10, 0x3C, 0x30, 0x07, 0x00, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22,
3899                  0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22,
3900                  0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22,
3901                  0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22,
3902                  0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22,
3903                  0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xD8, 0x22, 0xDA, 0x26, 0xC8, 0x51,
3904                  0xBE, 0xFF, 0xF9, 0x43, 0x58, 0x00, 0x80, 0x00, 0xF9, 0x41, 0x10, 0x00,
3905                  0x80, 0x18, 0x3C, 0x30, 0x1B, 0x00, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3906                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3907                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3908                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3909                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22,
3910                  0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xD8, 0x22, 0xC8, 0x51,
3911                  0xBE, 0xFF, 0xD8, 0x22, 0xD8, 0x22, 0x39, 0x42, 0x10, 0x00, 0xFE, 0x2D,
3912                  0xF9, 0x41, 0x10, 0x00, 0x6C, 0x67, 0x07, 0x70, 0x10, 0x0C, 0x03, 0x00,
3913                  0x00, 0x66, 0x0E, 0x00, 0x68, 0x53, 0x0E, 0x00, 0x00, 0x66, 0x06, 0x00,
3914                  0xBC, 0x10, 0x04, 0x00, 0xE8, 0x41, 0x12, 0x00, 0xC8, 0x51, 0xE6, 0xFF,
3915                  0xC0, 0x33, 0x2C, 0x00, 0x00, 0x00, 0x3C, 0x30, 0x14, 0x00, 0xC8, 0x51,
3916                  0xFE, 0xFF, 0xC0, 0x33, 0x2D, 0x00, 0x00, 0x00, 0xDF, 0x4C, 0xFF, 0x7F,
3917                  0x73, 0x4E
3918               };
3919
3920                  if ((i&1)==0)
3921                  {
3922                     dat -= table[i&0x3f];
3923                     dat = BITSWAP8(dat,2,1,0,7,6,5,4,3);
3924                     // we can decode this byte... but compare it to the extract table for verification
3925                     if (extracted80[i^1] != dat) printf("error %02x %02x %02x\n", i, extracted80[i^1],dat);
3926                  }
3927                  else
3928                  {
3929                     // I don't understand how to decode this byte :-(
3930                     dat = extracted80[i^1];
3931
3932
3933
3934
3935
3936                  //  dat = BITSWAP8(dat,4,3,2,1,0,7,6,5);
3937                  //  dat -= table[i&0x3f];
3938                  }
3939               }
3940               else if (tabnum==0x41) // shogwarr table 41  -- note fjbuster uses table 40, which looks like (almost) the same data but with better encryption...
3941               {
3942                  // simple shifts...
3943                  dat -= table[i&0x3f];
3944
3945                  if ((i&1)==1) dat = BITSWAP8(dat,0,7,6,5,4,3,2,1);
3946                  else dat = BITSWAP8(dat,6,5,4,3,2,1,0,7);
3947               }
3948               else
3949               {
3950                  dat -= table[i&0x3f];
3951               }
3952
3953
3954               dstram[(dstoffset+i)^1] = dat;
3955            }
3956         }
3957      }
3958
3959      calc3_dataend = offset+length+1;
3960   }
3961
3962   //printf("data base %04x data end %04x\n", calc3_database, calc3_dataend);
3963
3964   return length;
3965
3966}
3967
3968static UINT8 calc3_decryption_key_byte;
3969static UINT8 calc3_unknown;
3970static UINT8 calc3_mode;
3971static UINT8 calc3_blocksize_offset;
3972
39733631DRIVER_INIT( calc3 )
39743632{
3975   UINT8* rom = memory_region(machine,"cpu1");
3976   UINT8 numregions;
3633   DRIVER_INIT_CALL(calc3_scantables);
39773634
3978   int x;
3979
3980   calc3_mcu_crc = 0;
3981   for (x=0;x<0x20000;x++)
3982   {
3983      calc3_mcu_crc+=rom[x];
3984   }
3985   printf("crc %04x\n",calc3_mcu_crc);
3986   numregions = rom[0];
3987
3988   for (x=0;x<numregions;x++)
3989   {
3990      UINT8* tmpdstram = malloc(0x2000);
3991      int length;
3992      memset(tmpdstram, 0x00,0x2000);
3993      length = calc3_decompress_table(machine, x, tmpdstram, 0);
3994
3995      // dump to file
3996      if (length)
3997      {
3998         FILE *fp;
3999         char filename[256];
4000
4001         if (calc3_blocksize_offset==3)
4002         {
4003            sprintf(filename,"data_%s_table_%04x k%02x m%02x u%02x length %04x",
4004                  machine->gamedrv->name,
4005                  x, calc3_decryption_key_byte, calc3_mode, calc3_unknown, length);
4006         }
4007         else
4008         {
4009            sprintf(filename,"data_%s_table_%04x k%02x (use indirect size %02x) m%02x u%02x length %04x",
4010               machine->gamedrv->name,
4011               x, calc3_decryption_key_byte, calc3_blocksize_offset-3, calc3_mode, calc3_unknown, length);
4012         }
4013
4014         fp=fopen(filename, "w+b");
4015         if (fp)
4016         {
4017            fwrite(tmpdstram, length, 1, fp);
4018            fclose(fp);
4019         }
4020      }
4021
4022      free(tmpdstram);
4023   }
4024
4025   // there is also a 0x1000 block of data at the end.. same on both games, maybe it's related to the decryption tables??
4026   // the calc3_dataend points to the data after the last block processed, as we process all the blocks in the above loop, we assume this points
4027   // to that extra block of data
4028
4029   // dump out the 0x1000 sized block at the end
4030   {
4031      FILE *fp;
4032      char filename[256];
4033
4034      sprintf(filename,"data_%s_finalblock",
4035      machine->gamedrv->name);
4036
4037      fp=fopen(filename, "w+b");
4038      if (fp)
4039      {
4040         fwrite(&rom[calc3_dataend], 0x1000, 1, fp);
4041         fclose(fp);
4042      }
4043   }
4044
40453635   DRIVER_INIT_CALL(kaneko16);
40463636    //  MCU is a 78K series III type CPU
40473637}
r5338r5339
40563646
40573647/* Working games */
40583648GAME( 1991, berlwall, 0,        berlwall, berlwall, berlwall,   ROT0,  "Kaneko", "The Berlin Wall", 0 )
4059GAME( 1991, berlwalt, berlwall, berlwall, berlwalt, berlwall,   ROT0,  "Kaneko", "The Berlin Wall (bootleg ?)", 0 )
3649GAME( 1991, berlwallt,berlwall, berlwall, berlwalt, berlwall,   ROT0,  "Kaneko", "The Berlin Wall (bootleg ?)", 0 )
40603650GAME( 1991, mgcrystl, 0,        mgcrystl, mgcrystl, kaneko16,   ROT0,  "Kaneko", "Magical Crystals (World, 92/01/10)", 0 )
4061GAME( 1991, mgcrysto, mgcrystl, mgcrystl, mgcrystl, kaneko16,   ROT0,  "Kaneko", "Magical Crystals (World, 91/12/10)", 0 )
4062GAME( 1991, mgcrystj, mgcrystl, mgcrystl, mgcrystl, kaneko16,   ROT0,  "Kaneko (Atlus license)", "Magical Crystals (Japan, 92/01/13)", 0 )
3651GAME( 1991, mgcrystlo,mgcrystl, mgcrystl, mgcrystl, kaneko16,   ROT0,  "Kaneko", "Magical Crystals (World, 91/12/10)", 0 )
3652GAME( 1991, mgcrystlj,mgcrystl, mgcrystl, mgcrystl, kaneko16,   ROT0,  "Kaneko (Atlus license)", "Magical Crystals (Japan, 92/01/13)", 0 )
40633653GAME( 1992, blazeon,  0,        blazeon,  blazeon,  kaneko16,   ROT0,  "Atlus",  "Blaze On (Japan)", 0 )
40643654GAME( 1992, explbrkr, 0,        bakubrkr, bakubrkr, kaneko16,   ROT90, "Kaneko", "Explosive Breaker", 0 )
40653655GAME( 1992, bakubrkr, explbrkr, bakubrkr, bakubrkr, kaneko16,   ROT90, "Kaneko", "Bakuretsu Breaker", 0 )
r5338r5339
40763666/* Non-working games (mainly due to protection) */
40773667
40783668GAME( 1992, shogwarr, 0,        shogwarr, shogwarr, calc3,   ROT0,  "Kaneko", "Shogun Warriors",         GAME_NOT_WORKING )
4079GAME( 1992, shogware, shogwarr, shogwarr, shogwarr, calc3,   ROT0,  "Kaneko", "Shogun Warriors (Euro)",  GAME_NOT_WORKING )
3669GAME( 1992, shogwarre,shogwarr, shogwarr, shogwarr, calc3,   ROT0,  "Kaneko", "Shogun Warriors (Euro)",  GAME_NOT_WORKING )
40803670GAME( 1992, fjbuster, shogwarr, shogwarr, shogwarr, calc3,   ROT0,  "Kaneko", "Fujiyama Buster (Japan)", GAME_NOT_WORKING )
40813671GAME( 1992, brapboys, 0,        shogwarr, shogwarr, calc3,          ROT0,  "Kaneko", "B.Rap Boys (World)",      GAME_NOT_WORKING )
4082GAME( 1992, brapboyj, brapboys, shogwarr, shogwarr, calc3,          ROT0,  "Kaneko", "B.Rap Boys Special (Japan)",      GAME_NOT_WORKING )
3672GAME( 1992, brapboysj,brapboys, shogwarr, shogwarr, calc3,          ROT0,  "Kaneko", "B.Rap Boys Special (Japan)",      GAME_NOT_WORKING )
src/mame/drivers/namcos10.c
r5338r5339
507507   ROM_LOAD( "10021a.8d",    0x1000000, 0x1000000, CRC(bebafef6) SHA1(6c965c09f3186523d27c50894a15b9c1dd02a794) )
508508ROM_END
509509
510GAME( 2000, mrdrilr2,  0,        namcos10, namcos10, mrdrilr2, ROT0, "Namco", "Mr Driller 2 (Japan, DR21 Ver.A)", GAME_NOT_WORKING | GAME_NO_SOUND )
510GAME( 2000, mrdrilr2,  0,        namcos10, namcos10, mrdrilr2, ROT0, "Namco", "Mr. Driller 2 (Japan, DR21 Ver.A)", GAME_NOT_WORKING | GAME_NO_SOUND )
511511GAME( 2001, gjspace,   0,        namcos10, namcos10, gjspace,  ROT0, "Namco/Metro", "Gekitoride-Jong Space (10011 Ver.A)", GAME_NOT_WORKING | GAME_NO_SOUND )
512512GAME( 2001, mrdrilrg,  0,        namcos10, namcos10, mrdrilrg, ROT0, "Namco", "Mr. Driller G (Japan, DRG1 Ver.A)", GAME_NOT_WORKING | GAME_NO_SOUND )
513513GAME( 2001, knpuzzle,  0,        namcos10, namcos10, knpuzzle, ROT0, "Namco", "Kotoba no Puzzle Mojipittan (Japan, KPM1 Ver.A)", GAME_NOT_WORKING | GAME_NO_SOUND )
src/mame/drivers/gauntlet.c
r5338r5339
570570 *
571571 *************************************/
572572
573ROM_START( gaunts )
573ROM_START( gauntlets )
574574   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
575575   ROM_LOAD16_BYTE( "136037-1507.9a",  0x000000, 0x008000, CRC(b5183228) SHA1(5cf433acf1463076576ce7c29298c609b0bd9705) )
576576   ROM_LOAD16_BYTE( "136037-1508.9b",  0x000001, 0x008000, CRC(afd3c501) SHA1(99a7bb6c05fc4a865a44887a5ca9dc5e710397d9) )
r5338r5339
636636ROM_END
637637
638638
639ROM_START( gauntj )
639ROM_START( gauntletj )
640640   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
641641   ROM_LOAD16_BYTE( "136037-1307.9a",  0x000000, 0x008000, CRC(46fe8743) SHA1(d5fa19e028a2f43658330c67c10e0c811d332780) )
642642   ROM_LOAD16_BYTE( "136037-1308.9b",  0x000001, 0x008000, CRC(276e15c4) SHA1(7467b2ec21b1b4fcc18ff9387ce891495f4b064c) )
r5338r5339
669669ROM_END
670670
671671
672ROM_START( gauntj12 )
672ROM_START( gauntletj12 )
673673   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
674674   ROM_LOAD16_BYTE( "136037-1207.9a",  0x000000, 0x008000, CRC(6dc0610d) SHA1(6f810a8ac1c753b2fd24e6b008f0cdf82e9e0831) )
675675   ROM_LOAD16_BYTE( "136037-1208.9b",  0x000001, 0x008000, CRC(faa306eb) SHA1(48c5632a365b4c3df8f424d06229f10b608edfa5) )
r5338r5339
702702ROM_END
703703
704704
705ROM_START( gauntg )
705ROM_START( gauntletg )
706706   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
707707   ROM_LOAD16_BYTE( "136037-1007.9a",  0x000000, 0x008000, CRC(6a224cea) SHA1(1d9205a1587a39b3bc6da1813e380a8babee2994) )
708708   ROM_LOAD16_BYTE( "136037-1008.9b",  0x000001, 0x008000, CRC(fa391dab) SHA1(7dcb67fa969b437fe2474daeb3c7c3652df2ff5d) )
r5338r5339
735735ROM_END
736736
737737
738ROM_START( gauntr9 )
738ROM_START( gauntletr9 )
739739   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
740740   ROM_LOAD16_BYTE( "136037-907.9a",   0x000000, 0x008000, CRC(c13a6399) SHA1(569c8eac81ec7d0ea451b73888efd5dce4d4906d) )
741741   ROM_LOAD16_BYTE( "136037-908.9b",   0x000001, 0x008000, CRC(417607d9) SHA1(b168773d5868adc9b8d860f32d847bb525d9069f) )
r5338r5339
768768ROM_END
769769
770770
771ROM_START( gauntgr8 )
771ROM_START( gauntletgr8 )
772772   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
773773   ROM_LOAD16_BYTE( "136037-807.9a",   0x000000, 0x008000, CRC(671c0bc2) SHA1(73c8249bac8a131b2fb93fc4ac7235b3f329b987) )
774774   ROM_LOAD16_BYTE( "136037-808.9b",   0x000001, 0x008000, CRC(f2842af4) SHA1(8ecaec141f21b26647b2f2fd224c92b8a36acbad) )
r5338r5339
801801ROM_END
802802
803803
804ROM_START( gauntr7 )
804ROM_START( gauntletr7 )
805805   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
806806   ROM_LOAD16_BYTE( "136037-207.9a",   0x000000, 0x008000, CRC(fd871f81) SHA1(111615cb3990fe2121ed5b3dd0c28054c98ef665) )
807807   ROM_LOAD16_BYTE( "136037-208.9b",   0x000001, 0x008000, CRC(bcb2fb1d) SHA1(62f2acf81d8094617e4fcaa427e47c5940d85ad2) )
r5338r5339
834834ROM_END
835835
836836
837ROM_START( gauntgr6 )
837ROM_START( gauntletgr6 )
838838   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
839839   ROM_LOAD16_BYTE( "136037-307.9a",   0x000000, 0x008000, CRC(759827c9) SHA1(d267e2416365814cd9a2b2c587edc8334031b77f) )
840840   ROM_LOAD16_BYTE( "136037-308.9b",   0x000001, 0x008000, CRC(d71262d1) SHA1(cc7f64f75d325b0531c3ee509d3eb1159a149b81) )
r5338r5339
867867ROM_END
868868
869869
870ROM_START( gauntr5 )
870ROM_START( gauntletr5 )
871871   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
872872   ROM_LOAD16_BYTE( "136037-207.9a",   0x000000, 0x008000, CRC(fd871f81) SHA1(111615cb3990fe2121ed5b3dd0c28054c98ef665) )
873873   ROM_LOAD16_BYTE( "136037-208.9b",   0x000001, 0x008000, CRC(bcb2fb1d) SHA1(62f2acf81d8094617e4fcaa427e47c5940d85ad2) )
r5338r5339
900900ROM_END
901901
902902
903ROM_START( gauntr4 )
903ROM_START( gauntletr4 )
904904   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
905905   ROM_LOAD16_BYTE( "136037-207.9a",   0x000000, 0x008000, CRC(fd871f81) SHA1(111615cb3990fe2121ed5b3dd0c28054c98ef665) )
906906   ROM_LOAD16_BYTE( "136037-208.9b",   0x000001, 0x008000, CRC(bcb2fb1d) SHA1(62f2acf81d8094617e4fcaa427e47c5940d85ad2) )
r5338r5339
933933ROM_END
934934
935935
936ROM_START( gauntgr3 )
936ROM_START( gauntletgr3 )
937937   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
938938   ROM_LOAD16_BYTE( "136037-307.9a",   0x000000, 0x008000, CRC(759827c9) SHA1(d267e2416365814cd9a2b2c587edc8334031b77f) )
939939   ROM_LOAD16_BYTE( "136037-308.9b",   0x000001, 0x008000, CRC(d71262d1) SHA1(cc7f64f75d325b0531c3ee509d3eb1159a149b81) )
r5338r5339
966966ROM_END
967967
968968
969ROM_START( gauntr2 )
969ROM_START( gauntletr2 )
970970   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
971971   ROM_LOAD16_BYTE( "136037-207.9a",   0x000000, 0x008000, CRC(fd871f81) SHA1(111615cb3990fe2121ed5b3dd0c28054c98ef665) )
972972   ROM_LOAD16_BYTE( "136037-208.9b",   0x000001, 0x008000, CRC(bcb2fb1d) SHA1(62f2acf81d8094617e4fcaa427e47c5940d85ad2) )
r5338r5339
999999ROM_END
10001000
10011001
1002ROM_START( gauntr1 )
1002ROM_START( gauntletr1 )
10031003   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
10041004   ROM_LOAD16_BYTE( "136037-107.9a",   0x000000, 0x008000, CRC(a5885e14) SHA1(aa49a3bd8352179532d1cbbb27badb6fbe7d3394) )
10051005   ROM_LOAD16_BYTE( "136037-108.9b",   0x000001, 0x008000, CRC(0087f1ab) SHA1(d16a44a5ad4faf26df63b91fac813111c9302713) )
r5338r5339
10321032ROM_END
10331033
10341034
1035ROM_START( gaunt2p )
1035ROM_START( gauntlet2p )
10361036   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
10371037   ROM_LOAD16_BYTE( "136041-507.9a",   0x000000, 0x008000, CRC(8784133f) SHA1(98017427d84209405bb15d95a47bda5e1bd69f45) )
10381038   ROM_LOAD16_BYTE( "136041-508.9b",   0x000001, 0x008000, CRC(2843bde3) SHA1(15e480c5245fd407f0fd5f0a3f3189ff18de88b3) )
r5338r5339
10651065ROM_END
10661066
10671067
1068ROM_START( gaunt2pj )
1068ROM_START( gauntlet2pj )
10691069   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
10701070   ROM_LOAD16_BYTE( "136041-507.9a",   0x000000, 0x008000, CRC(8784133f) SHA1(98017427d84209405bb15d95a47bda5e1bd69f45) )
10711071   ROM_LOAD16_BYTE( "136041-508.9b",   0x000001, 0x008000, CRC(2843bde3) SHA1(15e480c5245fd407f0fd5f0a3f3189ff18de88b3) )
r5338r5339
10981098ROM_END
10991099
11001100
1101ROM_START( gaunt2pg )
1101ROM_START( gauntlet2pg )
11021102   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
11031103   ROM_LOAD16_BYTE( "136041-407.9a",   0x000000, 0x008000, CRC(cde72140) SHA1(6cf4254e90a32ee36f5fbfa44b69fca82f68d2bc) )
11041104   ROM_LOAD16_BYTE( "136041-408.9b",   0x000001, 0x008000, CRC(4ab1af62) SHA1(46915a6822551004f3670678691a4ffb6d187914) )
r5338r5339
11311131ROM_END
11321132
11331133
1134ROM_START( gaun2pr3 )
1134ROM_START( gauntlet2pr3 )
11351135   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
11361136   ROM_LOAD16_BYTE( "136041-207.9a",   0x000000, 0x008000, CRC(0e1af1b4) SHA1(7091d3ff15dce33959e3c2268843c8d4f4140097) )
11371137   ROM_LOAD16_BYTE( "136041-208.9b",   0x000001, 0x008000, CRC(bf51a238) SHA1(2110e6aa4a8076b1ed29432876138590102a7408) )
r5338r5339
11641164ROM_END
11651165
11661166
1167ROM_START( gaun2pj2 )
1167ROM_START( gauntlet2pj2 )
11681168   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
11691169   ROM_LOAD16_BYTE( "136041-207.9a",   0x000000, 0x008000, CRC(0e1af1b4) SHA1(7091d3ff15dce33959e3c2268843c8d4f4140097) )
11701170   ROM_LOAD16_BYTE( "136041-208.9b",   0x000001, 0x008000, CRC(bf51a238) SHA1(2110e6aa4a8076b1ed29432876138590102a7408) )
r5338r5339
11971197ROM_END
11981198
11991199
1200ROM_START( gaun2pg1 )
1200ROM_START( gauntlet2pg1 )
12011201   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
12021202   ROM_LOAD16_BYTE( "136041-107.9a",   0x000000, 0x008000, CRC(3faf74d8) SHA1(366256fb42e9d3a548c6545f6fa718beb766ba16) )
12031203   ROM_LOAD16_BYTE( "136041-108.9b",   0x000001, 0x008000, CRC(f1e6d815) SHA1(9bda05ee05c1f49078a152aa30a1fafa108f1c93) )
r5338r5339
13591359ROM_END
13601360
13611361
1362ROM_START( gaun22p1 )
1362ROM_START( gaunt22p1 )
13631363   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
13641364   ROM_LOAD16_BYTE( "136037-1307.9a",  0x000000, 0x008000, CRC(46fe8743) SHA1(d5fa19e028a2f43658330c67c10e0c811d332780) )
13651365   ROM_LOAD16_BYTE( "136037-1308.9b",  0x000001, 0x008000, CRC(276e15c4) SHA1(7467b2ec21b1b4fcc18ff9387ce891495f4b064c) )
r5338r5339
14021402ROM_END
14031403
14041404
1405ROM_START( gaun22pg )
1405ROM_START( gaunt22pg )
14061406   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
14071407   ROM_LOAD16_BYTE( "136037-1007.9a",  0x000000, 0x008000, CRC(6a224cea) SHA1(1d9205a1587a39b3bc6da1813e380a8babee2994) )
14081408   ROM_LOAD16_BYTE( "136037-1008.9b",  0x000001, 0x008000, CRC(fa391dab) SHA1(7dcb67fa969b437fe2474daeb3c7c3652df2ff5d) )
r5338r5339
15031503ROM_END
15041504
15051505
1506ROM_START( vindc2r2 )
1506ROM_START( vindctr2r2 )
15071507   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
15081508   ROM_LOAD16_BYTE( "136059-1186.9a",  0x000000, 0x008000, CRC(af138263) SHA1(acb1b7f497b83c9950d51776e620adee347b48a7) )
15091509   ROM_LOAD16_BYTE( "136059-1187.9b",  0x000001, 0x008000, CRC(44baff64) SHA1(3cb3af1e93208ac139e90482d329e2368fde66d5) )
r5338r5339
15611561ROM_END
15621562
15631563
1564ROM_START( vindc2r1 )
1564ROM_START( vindctr2r1 )
15651565   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
15661566   ROM_LOAD16_BYTE( "136059-1186.9a",  0x000000, 0x008000, CRC(af138263) SHA1(acb1b7f497b83c9950d51776e620adee347b48a7) )
15671567   ROM_LOAD16_BYTE( "136059-1187.9b",  0x000001, 0x008000, CRC(44baff64) SHA1(3cb3af1e93208ac139e90482d329e2368fde66d5) )
r5338r5339
16901690 *
16911691 *************************************/
16921692
1693GAME( 1985, gauntlet, 0,        gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (rev 14)", 0 )
1694GAME( 1985, gaunts,   gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (Spanish, rev 15)", 0 )
1695GAME( 1985, gauntj,   gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (Japanese, rev 13)", 0 )
1696GAME( 1985, gauntg,   gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (German, rev 10)", 0 )
1697GAME( 1985, gauntj12, gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (Japanese, rev 12)", 0 )
1698GAME( 1985, gauntr9,  gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (rev 9)", 0 )
1699GAME( 1985, gauntgr8, gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (German, rev 8)", 0 )
1700GAME( 1985, gauntr7,  gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (rev 7)", 0 )
1701GAME( 1985, gauntgr6, gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (German, rev 6)", 0 )
1702GAME( 1985, gauntr5,  gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (rev 5)", 0 )
1703GAME( 1985, gauntr4,  gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (rev 4)", 0 )
1704GAME( 1985, gauntgr3, gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (German, rev 3)", 0 )
1705GAME( 1985, gauntr2,  gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (rev 2)", 0 )
1706GAME( 1985, gauntr1,  gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (rev 1)", 0 )
1693GAME( 1985, gauntlet,    0,        gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (rev 14)", 0 )
1694GAME( 1985, gauntlets,   gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (Spanish, rev 15)", 0 )
1695GAME( 1985, gauntletj,   gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (Japanese, rev 13)", 0 )
1696GAME( 1985, gauntletg,   gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (German, rev 10)", 0 )
1697GAME( 1985, gauntletj12, gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (Japanese, rev 12)", 0 )
1698GAME( 1985, gauntletr9,  gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (rev 9)", 0 )
1699GAME( 1985, gauntletgr8, gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (German, rev 8)", 0 )
1700GAME( 1985, gauntletr7,  gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (rev 7)", 0 )
1701GAME( 1985, gauntletgr6, gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (German, rev 6)", 0 )
1702GAME( 1985, gauntletr5,  gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (rev 5)", 0 )
1703GAME( 1985, gauntletr4,  gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (rev 4)", 0 )
1704GAME( 1985, gauntletgr3, gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (German, rev 3)", 0 )
1705GAME( 1985, gauntletr2,  gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (rev 2)", 0 )
1706GAME( 1985, gauntletr1,  gauntlet, gauntlet, gauntlet, gauntlet,  ROT0, "Atari Games", "Gauntlet (rev 1)", 0 )
17071707
1708GAME( 1985, gaunt2p,  gauntlet, gauntlet, gauntlet, gaunt2p,   ROT0, "Atari Games", "Gauntlet (2 Players, rev 6)", 0 )
1709GAME( 1985, gaunt2pj, gauntlet, gauntlet, gauntlet, gaunt2p,   ROT0, "Atari Games", "Gauntlet (2 Players, Japanese, rev 5)", 0 )
1710GAME( 1985, gaunt2pg, gauntlet, gauntlet, gauntlet, gaunt2p,   ROT0, "Atari Games", "Gauntlet (2 Players, German, rev 4)", 0 )
1711GAME( 1985, gaun2pr3, gauntlet, gauntlet, gauntlet, gaunt2p,   ROT0, "Atari Games", "Gauntlet (2 Players, rev 3)", 0 )
1712GAME( 1985, gaun2pj2, gauntlet, gauntlet, gauntlet, gaunt2p,   ROT0, "Atari Games", "Gauntlet (2 Players, Japanese, rev 2)", 0 )
1713GAME( 1985, gaun2pg1, gauntlet, gauntlet, gauntlet, gaunt2p,   ROT0, "Atari Games", "Gauntlet (2 Players, German, rev 1)", 0 )
1708GAME( 1985, gauntlet2p,   gauntlet, gauntlet, gauntlet, gaunt2p,   ROT0, "Atari Games", "Gauntlet (2 Players, rev 6)", 0 )
1709GAME( 1985, gauntlet2pj,  gauntlet, gauntlet, gauntlet, gaunt2p,   ROT0, "Atari Games", "Gauntlet (2 Players, Japanese, rev 5)", 0 )
1710GAME( 1985, gauntlet2pg,  gauntlet, gauntlet, gauntlet, gaunt2p,   ROT0, "Atari Games", "Gauntlet (2 Players, German, rev 4)", 0 )
1711GAME( 1985, gauntlet2pr3, gauntlet, gauntlet, gauntlet, gaunt2p,   ROT0, "Atari Games", "Gauntlet (2 Players, rev 3)", 0 )
1712GAME( 1985, gauntlet2pj2, gauntlet, gauntlet, gauntlet, gaunt2p,   ROT0, "Atari Games", "Gauntlet (2 Players, Japanese, rev 2)", 0 )
1713GAME( 1985, gauntlet2pg1, gauntlet, gauntlet, gauntlet, gaunt2p,   ROT0, "Atari Games", "Gauntlet (2 Players, German, rev 1)", 0 )
17141714
17151715GAME( 1986, gaunt2,   0,        gauntlet, gauntlet, gauntlet2, ROT0, "Atari Games", "Gauntlet II", 0 )
17161716GAME( 1986, gaunt2g,  gaunt2,   gauntlet, gauntlet, gauntlet2, ROT0, "Atari Games", "Gauntlet II (German)", 0 )
17171717
1718GAME( 1986, gaunt22p, gaunt2,   gauntlet, gauntlet, gauntlet2, ROT0, "Atari Games", "Gauntlet II (2 Players, rev 2)", 0 )
1719GAME( 1986, gaun22p1, gaunt2,   gauntlet, gauntlet, gauntlet2, ROT0, "Atari Games", "Gauntlet II (2 Players, rev 1)", 0 )
1720GAME( 1986, gaun22pg, gaunt2,   gauntlet, gauntlet, gauntlet2, ROT0, "Atari Games", "Gauntlet II (2 Players, German)", 0 )
1718GAME( 1986, gaunt22p,  gaunt2,   gauntlet, gauntlet, gauntlet2, ROT0, "Atari Games", "Gauntlet II (2 Players, rev 2)", 0 )
1719GAME( 1986, gaunt22p1, gaunt2,   gauntlet, gauntlet, gauntlet2, ROT0, "Atari Games", "Gauntlet II (2 Players, rev 1)", 0 )
1720GAME( 1986, gaunt22pg, gaunt2,   gauntlet, gauntlet, gauntlet2, ROT0, "Atari Games", "Gauntlet II (2 Players, German)", 0 )
17211721
1722GAME( 1988, vindctr2, 0,        gauntlet, vindctr2, vindctr2,  ROT0, "Atari Games", "Vindicators Part II (rev 3)", 0 )
1723GAME( 1988, vindc2r2, vindctr2, gauntlet, vindctr2, vindctr2,  ROT0, "Atari Games", "Vindicators Part II (rev 2)", 0 )
1724GAME( 1988, vindc2r1, vindctr2, gauntlet, vindctr2, vindctr2,  ROT0, "Atari Games", "Vindicators Part II (rev 1)", 0 )
1722GAME( 1988, vindctr2,   0,        gauntlet, vindctr2, vindctr2,  ROT0, "Atari Games", "Vindicators Part II (rev 3)", 0 )
1723GAME( 1988, vindctr2r2, vindctr2, gauntlet, vindctr2, vindctr2,  ROT0, "Atari Games", "Vindicators Part II (rev 2)", 0 )
1724GAME( 1988, vindctr2r1, vindctr2, gauntlet, vindctr2, vindctr2,  ROT0, "Atari Games", "Vindicators Part II (rev 1)", 0 )
src/mame/drivers/darkseal.c
r5338r5339
318318   ROM_LOAD( "fz-07.rom",    0x00000, 0x20000, CRC(588dd3cb) SHA1(16c4e7670a4967768ddbfd52939d4e6e42268441) )
319319ROM_END
320320
321ROM_START( darksea1 )
321ROM_START( darkseal1 )
322322   ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 code */
323323   ROM_LOAD16_BYTE( "ga-04.rom",    0x00000, 0x20000, CRC(a1a985a9) SHA1(eac3f43ff4016dcc21fe34b6bfed36e0d4b86959) )
324324   ROM_LOAD16_BYTE( "ga-01.rom",    0x00001, 0x20000, CRC(98bd2940) SHA1(88ac727c3797e646834266320a71aa159e2b2541) )
r5338r5339
349349   ROM_LOAD( "fz-07.rom",    0x00000, 0x20000, CRC(588dd3cb) SHA1(16c4e7670a4967768ddbfd52939d4e6e42268441) )
350350ROM_END
351351
352ROM_START( darkseaj )
352ROM_START( darksealj )
353353   ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 code */
354354   ROM_LOAD16_BYTE( "fz-04.bin",    0x00000, 0x20000, CRC(817faa2c) SHA1(8a79703f0e3aeb2ceeb098466561ab604baef301) )
355355   ROM_LOAD16_BYTE( "fz-01.bin",    0x00001, 0x20000, CRC(373caeee) SHA1(5cfa0c7672c439e9d011d9ec93da32c2377dce19) )
r5338r5339
411411   ROM_LOAD( "fz-07.rom",    0x00000, 0x20000, CRC(588dd3cb) SHA1(16c4e7670a4967768ddbfd52939d4e6e42268441) )
412412ROM_END
413413
414ROM_START( gatedom1 )
414ROM_START( gatedoom1 )
415415   ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 code */
416416   ROM_LOAD16_BYTE( "gb04.bin",     0x00000, 0x20000, CRC(4c3bbd2b) SHA1(e74a532edd01a559d0c388b37a2ead98c19fe5de) )
417417   ROM_LOAD16_BYTE( "gb01.bin",     0x00001, 0x20000, CRC(59e367f4) SHA1(f88fa23b8e91f312103eb8a1d9a91d8171ec3ad4) )
r5338r5339
459459
460460/******************************************************************************/
461461
462GAME( 1990, darkseal, 0,        darkseal, darkseal, darkseal, ROT0, "Data East Corporation", "Dark Seal (World revision 3)", 0 )
463GAME( 1990, darksea1, darkseal, darkseal, darkseal, darkseal, ROT0, "Data East Corporation", "Dark Seal (World revision 1)", 0 )
464GAME( 1990, darkseaj, darkseal, darkseal, darkseal, darkseal, ROT0, "Data East Corporation", "Dark Seal (Japan)", 0 )
465GAME( 1990, gatedoom, darkseal, darkseal, darkseal, darkseal, ROT0, "Data East Corporation", "Gate of Doom (US revision 4)", 0 )
466GAME( 1990, gatedom1, darkseal, darkseal, darkseal, darkseal, ROT0, "Data East Corporation", "Gate of Doom (US revision 1)", 0 )
462GAME( 1990, darkseal,  0,        darkseal, darkseal, darkseal, ROT0, "Data East Corporation", "Dark Seal (World revision 3)", 0 )
463GAME( 1990, darkseal1, darkseal, darkseal, darkseal, darkseal, ROT0, "Data East Corporation", "Dark Seal (World revision 1)", 0 )
464GAME( 1990, darksealj, darkseal, darkseal, darkseal, darkseal, ROT0, "Data East Corporation", "Dark Seal (Japan)", 0 )
465GAME( 1990, gatedoom,  darkseal, darkseal, darkseal, darkseal, ROT0, "Data East Corporation", "Gate of Doom (US revision 4)", 0 )
466GAME( 1990, gatedoom1, darkseal, darkseal, darkseal, darkseal, ROT0, "Data East Corporation", "Gate of Doom (US revision 1)", 0 )
src/mame/drivers/redalert.c
r5338r5339
6565        * Game is NOT_WORKING due to missing graphics layer
6666        * Everything needs to be verified on real PCB or schematics
6767
68    Known issues/to-do's Panther:
69        * Sound comms doesn't work
70        * No title screen?
71
6872    ********************************************************************
6973    IREM 'WW III' 1981
7074
r5338r5339
122126}
123127
124128
129
125130static WRITE8_HANDLER( redalert_interrupt_clear_w )
126131{
127132   redalert_interrupt_clear_r(space, 0);
128133}
129134
135static READ8_HANDLER( panther_interrupt_clear_r )
136{
137   cputag_set_input_line(space->machine, "maincpu", M6502_IRQ_LINE, CLEAR_LINE);
130138
139   return input_port_read(space->machine, "STICK0");
140}
131141
142static READ8_HANDLER( panther_unk_r )
143{
144   return ((mame_rand(space->machine) & 0x01) | (input_port_read(space->machine, "C020") & 0xfe));
145}
146
132147/*************************************
133148 *
134149 *  Memory handlers
r5338r5339
166181   AM_RANGE(0xf000, 0xffff) AM_ROM AM_REGION("maincpu", 0x8000)
167182ADDRESS_MAP_END
168183
184static ADDRESS_MAP_START( panther_main_map, ADDRESS_SPACE_PROGRAM, 8 )
185   AM_RANGE(0x0000, 0x1fff) AM_RAM
186   AM_RANGE(0x2000, 0x3fff) AM_RAM_WRITE(redalert_bitmap_videoram_w) AM_BASE(&redalert_bitmap_videoram)
187   AM_RANGE(0x4000, 0x4fff) AM_RAM AM_BASE(&redalert_charmap_videoram)
188   AM_RANGE(0x5000, 0xbfff) AM_ROM
189   AM_RANGE(0xc000, 0xc000) AM_MIRROR(0x0f8f) AM_READ_PORT("C000") AM_WRITENOP
190   AM_RANGE(0xc010, 0xc010) AM_MIRROR(0x0f8f) AM_READ_PORT("C010") AM_WRITENOP
191   AM_RANGE(0xc020, 0xc020) AM_MIRROR(0x0f8f) AM_READ(panther_unk_r) /* vblank? */
192   AM_RANGE(0xc030, 0xc030) AM_MIRROR(0x0f8f) AM_READWRITE(SMH_NOP, redalert_audio_command_w)
193   AM_RANGE(0xc040, 0xc040) AM_MIRROR(0x0f8f) AM_READWRITE(SMH_NOP, SMH_RAM) AM_BASE(&redalert_video_control)
194   AM_RANGE(0xc050, 0xc050) AM_MIRROR(0x0f8f) AM_READWRITE(SMH_NOP, SMH_RAM) AM_BASE(&redalert_bitmap_color)
195   AM_RANGE(0xc070, 0xc070) AM_MIRROR(0x0f8f) AM_READWRITE(panther_interrupt_clear_r, redalert_interrupt_clear_w)
196   AM_RANGE(0xf000, 0xffff) AM_ROM AM_REGION("maincpu", 0x8000)
197ADDRESS_MAP_END
169198
170199static ADDRESS_MAP_START( demoneye_main_map, ADDRESS_SPACE_PROGRAM, 8 )
171200   AM_RANGE(0x0000, 0x1fff) AM_RAM
r5338r5339
243272   PORT_BIT( 0xf8, IP_ACTIVE_HIGH, IPT_UNUSED )
244273INPUT_PORTS_END
245274
275static INPUT_PORTS_START( panther )
276   PORT_START("C000")
277   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW:1,2")
278   PORT_DIPSETTING(    0x00, "3" )
279   PORT_DIPSETTING(    0x01, "4" )
280   PORT_DIPSETTING(    0x02, "5" )
281   PORT_DIPSETTING(    0x03, "6" )
282   PORT_DIPNAME( 0x04, 0x00, "Cabinet in Service Mode" ) PORT_DIPLOCATION("SW:3")
283   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
284   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
285   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW:4")
286   PORT_DIPSETTING(    0x00, "5000" )
287   PORT_DIPSETTING(    0x08, "7000" )
288   PORT_DIPNAME( 0x30, 0x10, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW:5,6")
289   PORT_DIPSETTING(    0x30, DEF_STR( 2C_1C ) )
290   PORT_DIPSETTING(    0x10, DEF_STR( 1C_1C ) )
291   PORT_DIPSETTING(    0x20, DEF_STR( 1C_2C ) )
292   PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
293   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW:7")
294   PORT_DIPSETTING(    0x40, DEF_STR( Upright ) )
295   PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
296   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_HIGH, "SW:8" )
246297
298   PORT_START("C010")
299   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_START1 )
300   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
301   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON1 )
302   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON2 ) /* pin 35 - N.C. */
303   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON3 ) /* pin 36 - N.C. */
304   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT )
305   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT )
306   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON4 ) /* Meter */
307
308   PORT_START("C020")
309   PORT_BIT ( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
310   PORT_BIT ( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* Meter */
311   PORT_BIT ( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_COCKTAIL
312   PORT_BIT ( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
313   PORT_BIT ( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
314   PORT_BIT ( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_COCKTAIL
315   PORT_BIT ( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_COCKTAIL
316   PORT_BIT ( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* Meter */
317
318   PORT_START("COIN")
319   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(1)
320   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_COIN2 ) PORT_IMPULSE(1)
321   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SERVICE1 ) PORT_IMPULSE(1)
322   PORT_BIT( 0xf8, IP_ACTIVE_HIGH, IPT_UNUSED )
323
324   PORT_START("STICK0")
325   PORT_BIT( 0xff, 0x80, IPT_POSITIONAL ) PORT_SENSITIVITY(70) PORT_KEYDELTA(3) PORT_CENTERDELTA(0)
326INPUT_PORTS_END
327
247328static INPUT_PORTS_START( demoneye )
248329   PORT_START("C000")
249330   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
r5338r5339
332413   MDRV_IMPORT_FROM(ww3_audio)
333414MACHINE_DRIVER_END
334415
416static MACHINE_DRIVER_START( panther )
417
418   /* basic machine hardware */
419   MDRV_CPU_ADD("maincpu", M6502, MAIN_CPU_CLOCK)
420   MDRV_CPU_PROGRAM_MAP(panther_main_map)
421   MDRV_CPU_VBLANK_INT("screen", redalert_vblank_interrupt)
422
423   /* video hardware */
424   MDRV_IMPORT_FROM(ww3_video)
425
426   /* audio hardware */
427   MDRV_IMPORT_FROM(ww3_audio)
428MACHINE_DRIVER_END
429
335430static MACHINE_DRIVER_START( demoneye )
336431
337432   /* basic machine hardware */
r5338r5339
354449 *
355450 *************************************/
356451
452ROM_START( panther )
453   ROM_REGION( 0x10000, "maincpu", 0 )
454   ROM_LOAD( "qr-1.bin",      0x8000, 0x0800, CRC(406dc606) SHA1(c12b91145aa579813b7b0e8eb7933bf35e4a5b97) )
455   ROM_LOAD( "qr-2.bin",      0x8800, 0x0800, CRC(e7e64b11) SHA1(0fcfbce552b22edce9051b6fad0974f81ab44973) )
456   ROM_LOAD( "qr-3.bin",      0x9000, 0x0800, CRC(dfec33f2) SHA1(4e631a3a8c7873e8f51a81e8b73704729269ee01) )
457   ROM_LOAD( "qr-4.bin",      0x9800, 0x0800, CRC(60571aa0) SHA1(257474383ad7cb90e9e4f9236b3f865a991d688a) )
458   ROM_LOAD( "qr-5.bin",      0xa000, 0x0800, CRC(2ac19b54) SHA1(613a800179f9705df03967889eb23ef71baed493) )
459   ROM_LOAD( "qr-6.bin",      0xa800, 0x0800, CRC(02fbd9d9) SHA1(65b5875c78886b51c9bdfc75e730b9f67ce72cfc) )
460   ROM_LOAD( "qr-7.bin",      0xb000, 0x0800, CRC(b3e2d6cc) SHA1(7bb18f17d635196e617e8f68bf8d866134c362d1) )
461
462   ROM_REGION( 0x10000, "audiocpu", 0 )
463   ROM_LOAD( "q7a.bin",       0x7000, 0x0800, CRC(febd1674) SHA1(e122d0855ab6a352d741f9013c20ec31e0068248) )
464
465   ROM_REGION( 0x0200, "proms", 0 ) /* color PROM */
466   /* taken from ww3, almost surely doesn't match. */
467   ROM_LOAD( "m-27sc.1a",     0x0000, 0x0200, BAD_DUMP CRC(b1aca792) SHA1(db37f99b9880cc3c434e2a55a0bbb017d9a72aa3) ) /* 512*8 74S472 or compatible BPROM like a 82s147 */
468ROM_END
469
470
357471ROM_START( ww3 )
358472   ROM_REGION( 0x10000, "maincpu", 0 )
359473   ROM_LOAD( "w3i5.3f",      0x5000, 0x1000, CRC(9fc24ad3) SHA1(697ab22555ff5aae09f50051ccda545c17a0ac8a) )
r5338r5339
423537 *
424538 *************************************/
425539
540GAME( 1981, panther,  0, panther,  panther,  0, ROT270, "Irem",       "Panther",    GAME_NO_SOUND | GAME_SUPPORTS_SAVE | GAME_WRONG_COLORS )
426541GAME( 1981, redalert, 0, redalert, redalert, 0, ROT270, "Irem + GDI", "Red Alert",  GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
427542GAME( 1981, ww3,      0, ww3,      redalert, 0, ROT270, "Irem",       "WW III",     GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
428543GAME( 1981, demoneye, 0, demoneye, demoneye, 0, ROT270, "Irem",       "Demoneye-X", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
src/mame/drivers/big10.c
r5338r5339
288288**************************************/
289289
290290/*    YEAR  NAME      PARENT  MACHINE   INPUT     INIT   ROT    COMPANY    FULLNAME   FLAGS  */
291GAME( 198?, big10,    0,      big10,    big10,    0,     ROT0, "unknown", "Big 10",   0 )
291GAME( 198?, big10,    0,      big10,    big10,    0,     ROT0, "<unknown>", "Big 10",   0 )
src/mame/drivers/wwfsstar.c
r5338r5339
536536   ROM_LOAD( "wwfs44.bin",    0x70000, 0x10000, CRC(4f965fa9) SHA1(4312838e216d2a90fe413d027f46d77c74a0aa07) )
537537ROM_END
538538
539ROM_START( wwfsstau )
539ROM_START( wwfsstaru )
540540   ROM_REGION( 0x40000, "maincpu", 0 ) /* Main CPU  (68000) */
541541   ROM_LOAD16_BYTE( "24ac-04.34", 0x00000, 0x20000, CRC(ee9b850e) SHA1(6b634ad98b6104b9e860d05e73f3a139c2a19a78) )
542542   ROM_LOAD16_BYTE( "24ad-04.35", 0x00001, 0x20000, CRC(057c2eef) SHA1(6eb5f60fa51b3e7f17fc6a81182a01ea406febea) )
r5338r5339
599599ROM_END
600600
601601/* this set is using the proper mask rom dumps */
602ROM_START( wwfsstaa )
602ROM_START( wwfsstara )
603603   ROM_REGION( 0x40000, "maincpu", 0 ) /* Main CPU  (68000) */
604604   ROM_LOAD16_BYTE( "24ac-06.34", 0x00000, 0x20000, CRC(924a50e4) SHA1(e163ffc6bada5db0d979523dde77355acedcd456) )
605605   ROM_LOAD16_BYTE( "24ad-07.35", 0x00001, 0x20000, CRC(9a76a50e) SHA1(adde96956a7602ae1ece797732e8295dc176b071) )
r5338r5339
627627   ROM_LOAD( "24j6-0.112", 0x40000, 0x40000, CRC(77932ef8) SHA1(a6ee3fc05ca0001d5181b69f2b754170ba7a814a) )
628628ROM_END
629629
630ROM_START( wwfsstaj )
630ROM_START( wwfsstarj )
631631   ROM_REGION( 0x40000, "maincpu", 0 ) /* Main CPU  (68000) */
632632   ROM_LOAD16_BYTE( "24ac-0_j-1_japan.34", 0x00000, 0x20000, CRC(f872e968) SHA1(e52298817348601ed88c369018d3110e467cf602) )
633633   ROM_LOAD16_BYTE( "24ad-0_j-1_japan.35", 0x00001, 0x20000, NO_DUMP )
r5338r5339
693693
694694
695695
696GAME( 1989, wwfsstar, 0,        wwfsstar, wwfsstar,  0, ROT0, "Technos Japan", "WWF Superstars (Europe)", 0 )
697GAME( 1989, wwfsstau, wwfsstar, wwfsstar, wwfsstar,  0, ROT0, "Technos Japan", "WWF Superstars (US)", 0 )
698GAME( 1989, wwfsstaa, wwfsstar, wwfsstar, wwfsstar,  0, ROT0, "Technos Japan", "WWF Superstars (US, Newer)", 0 )
699GAME( 1989, wwfsstaj, wwfsstar, wwfsstar, wwfsstar,  0, ROT0, "Technos Japan", "WWF Superstars (Japan)",GAME_NOT_WORKING ) // missing a program rom
696GAME( 1989, wwfsstar,  0,        wwfsstar, wwfsstar,  0, ROT0, "Technos Japan", "WWF Superstars (Europe)", 0 )
697GAME( 1989, wwfsstaru, wwfsstar, wwfsstar, wwfsstar,  0, ROT0, "Technos Japan", "WWF Superstars (US)", 0 )
698GAME( 1989, wwfsstara, wwfsstar, wwfsstar, wwfsstar,  0, ROT0, "Technos Japan", "WWF Superstars (US, Newer)", 0 )
699GAME( 1989, wwfsstarj, wwfsstar, wwfsstar, wwfsstar,  0, ROT0, "Technos Japan", "WWF Superstars (Japan)",GAME_NOT_WORKING ) // missing a program rom
src/mame/drivers/mw8080bw.c
r5338r5339
18391839MACHINE_DRIVER_END
18401840
18411841
1842static ADDRESS_MAP_START( spacwalk_io_map, ADDRESS_SPACE_IO, 8 )
1843   ADDRESS_MAP_GLOBAL_MASK(0x7)
18421844
1845   AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0")
1846   AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
1847   AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2")
1848   AM_RANGE(0x03, 0x03) AM_READ(mb14241_0_shift_result_r)
1849
1850   AM_RANGE(0x04, 0x04) AM_WRITE(watchdog_reset_w)
1851
1852   AM_RANGE(0x01, 0x01) AM_WRITE(mb14241_0_shift_count_w)
1853   AM_RANGE(0x02, 0x02) AM_WRITE(mb14241_0_shift_data_w)
1854ADDRESS_MAP_END
1855
1856static INPUT_PORTS_START( spacwalk )
1857   PORT_START("IN0")
1858   PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(clowns_controller_r, NULL)
1859
1860   PORT_START("IN1")
1861   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
1862   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
1863   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
1864   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
1865   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START2 )
1866   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
1867   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
1868   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
1869
1870   PORT_START("IN2")
1871   PORT_DIPNAME(   0x01, 0x01, "IN2" )
1872   PORT_DIPSETTING(      0x01, DEF_STR( Off ) )
1873   PORT_DIPSETTING(      0x00, DEF_STR( On ) )
1874   PORT_DIPNAME(   0x02, 0x02, DEF_STR( Unknown ) )
1875   PORT_DIPSETTING(      0x02, DEF_STR( Off ) )
1876   PORT_DIPSETTING(      0x00, DEF_STR( On ) )
1877   PORT_DIPNAME(   0x04, 0x04, DEF_STR( Unknown ) )
1878   PORT_DIPSETTING(      0x04, DEF_STR( Off ) )
1879   PORT_DIPSETTING(      0x00, DEF_STR( On ) )
1880   PORT_DIPNAME(   0x08, 0x08, DEF_STR( Unknown ) )
1881   PORT_DIPSETTING(      0x08, DEF_STR( Off ) )
1882   PORT_DIPSETTING(      0x00, DEF_STR( On ) )
1883   PORT_DIPNAME(   0x10, 0x10, DEF_STR( Unknown ) )
1884   PORT_DIPSETTING(      0x10, DEF_STR( Off ) )
1885   PORT_DIPSETTING(      0x00, DEF_STR( On ) )
1886   PORT_DIPNAME(   0x20, 0x20, DEF_STR( Unknown ) )
1887   PORT_DIPSETTING(      0x20, DEF_STR( Off ) )
1888   PORT_DIPSETTING(      0x00, DEF_STR( On ) )
1889   PORT_DIPNAME(   0x40, 0x00, DEF_STR( Unknown ) )
1890   PORT_DIPSETTING(      0x40, DEF_STR( Off ) )
1891   PORT_DIPSETTING(      0x00, DEF_STR( On ) )
1892   PORT_DIPNAME(   0x80, 0x00, DEF_STR( Unknown ) )
1893   PORT_DIPSETTING(      0x80, DEF_STR( Off ) )
1894   PORT_DIPSETTING(      0x00, DEF_STR( On ) )
1895
1896   /* fake ports for two analog controls multiplexed */
1897   PORT_START(CLOWNS_CONTROLLER_P1_TAG)
1898   PORT_BIT( 0xff, 0x7f, IPT_PADDLE ) PORT_MINMAX(0x01,0xfe) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_CENTERDELTA(0) PORT_PLAYER(1)
1899
1900   PORT_START(CLOWNS_CONTROLLER_P2_TAG)
1901   PORT_BIT( 0xff, 0x7f, IPT_PADDLE ) PORT_MINMAX(0x01,0xfe) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_CENTERDELTA(0) PORT_PLAYER(2)
1902
1903   PORT_START("MUSIC_ADJ")  /* 3 */
1904   PORT_ADJUSTER( 40, "Music Volume" )
1905INPUT_PORTS_END
1906
1907static MACHINE_DRIVER_START( spacwalk )
1908
1909   /* basic machine hardware */
1910   MDRV_IMPORT_FROM(mw8080bw_root)
1911   MDRV_CPU_MODIFY("maincpu")
1912   MDRV_CPU_IO_MAP(spacwalk_io_map)
1913   MDRV_MACHINE_START(clowns)
1914   MDRV_WATCHDOG_TIME_INIT(USEC(255000000 / (MW8080BW_PIXEL_CLOCK / MW8080BW_HTOTAL / MW8080BW_VTOTAL)))
1915
1916   /* audio hardware */
1917   MDRV_IMPORT_FROM(clowns_audio)
1918
1919MACHINE_DRIVER_END
1920
18431921/*************************************
18441922 *
18451923 *  Shuffleboard (PCB #643)
r5338r5339
22962374   return ~mb14241_0_shift_result_r(space,0);
22972375}
22982376
2299
23002377static WRITE8_HANDLER( bowler_lights_1_w )
23012378{
23022379   output_set_value("200_LEFT_LIGHT",  (data >> 0) & 0x01);
r5338r5339
29603037   ROM_LOAD( "clownsv1.c", 0x1400, 0x0400, CRC(12968e52) SHA1(71e4f09d30b992a4ac44b0e88e83b4f8a0f63caa) )
29613038ROM_END
29623039
3040ROM_START( spacwalk )
3041   ROM_REGION( 0x10000, "maincpu", 0 )
3042   ROM_LOAD( "sw.h", 0x0000, 0x0400, CRC(1b07fc1f) SHA1(bc6423ebcfcc1d158bc44c1a577485682b0aa79b) )
3043   ROM_LOAD( "sw.g", 0x0400, 0x0400, CRC(52220910) SHA1(2d479b241d6a57f28a91d6a085f10cc3fd6787a1) )
3044   ROM_LOAD( "sw.f", 0x0800, 0x0400, CRC(787d4ef6) SHA1(42b24a80e750bb51b81caeaf418014e62f55810d) )
3045   ROM_LOAD( "sw.e", 0x0c00, 0x0400, CRC(d62d324b) SHA1(1c1ed2f9995d960f6dac79cae53fd4e82cb06640) )
3046   ROM_LOAD( "sw.d", 0x1000, 0x0400, CRC(17dcc591) SHA1(a6c96da27713e51f4d400ef3bb33654a40214aa8))
3047   ROM_LOAD( "sw.c", 0x1400, 0x0400, CRC(61aef726) SHA1(fbb8e90e0a0f7de4e5e5a37b9595a1be626ada9b) )
3048   ROM_LOAD( "sw.b", 0x1800, 0x0400, CRC(c59d45d0) SHA1(5e772772e235ab8c0615ec26334d2e192f297604))
3049   ROM_LOAD( "sw.a", 0x1c00, 0x0400, CRC(d563da07) SHA1(937b683dddfddbc1c0f2e45571657b569c0c4928) )
3050ROM_END
29633051
3052
29643053ROM_START( einning )
29653054   ROM_REGION( 0x10000, "maincpu", 0 )
29663055   ROM_LOAD( "ei.h",       0x0000, 0x0800, CRC(eff9c7af) SHA1(316fffc972bd9935ead5ee4fd629bddc8a8ed5ce) )
r5338r5339
30773166/* 626 */ GAME( 1977, m4,       0,        m4,       m4,       0, ROT0,   "Midway", "M-4", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE  )
30783167/* 630 */ GAMEL(1978, clowns,   0,        clowns,   clowns,   0, ROT0,   "Midway", "Clowns (rev. 2)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE , layout_clowns )
30793168/* 630 */ GAMEL(1978, clowns1,  clowns,   clowns,   clowns1,  0, ROT0,   "Midway", "Clowns (rev. 1)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE , layout_clowns )
3080/* 640 Space Walk (dump does not exist) */
3169/* 640 */ GAME( 1978, spacwalk, 0,        spacwalk, spacwalk, 0, ROT0,   "Midway", "Space Walk", GAME_NO_SOUND | GAME_SUPPORTS_SAVE | GAME_NOT_WORKING ) // gameplay appears to be broken
30813170/* 642 */ GAME( 1978, einning,  0,        dplay,    einning,  0, ROT0,   "Midway", "Extra Inning", GAME_SUPPORTS_SAVE  )
30823171/* 643 */ GAME( 1978, shuffle,  0,        shuffle,  shuffle,  0, ROT90,  "Midway", "Shuffleboard", GAME_NO_SOUND | GAME_SUPPORTS_SAVE  )
30833172/* 644 */ GAME( 1977, dogpatch, 0,        dogpatch, dogpatch, 0, ROT0,   "Midway", "Dog Patch", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE  )
src/mame/drivers/vaportra.c
r5338r5339
301301   ROM_LOAD( "pal16l8b.14h", 0x0800, 0x0104, CRC(bf421fce) SHA1(e8b0895b1fe99a3d5b3dcca004a7bfd1a09766b2) )
302302ROM_END
303303
304ROM_START( vaportru )
304ROM_START( vaportrau )
305305   ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 code */
306306     ROM_LOAD16_BYTE( "fj02",   0x00000, 0x20000, CRC(a2affb73) SHA1(0d49397cc9891047a0b92e92e2e3d0e7fcaf8db9) )
307307     ROM_LOAD16_BYTE( "fj00",   0x00001, 0x20000, CRC(ef05e07b) SHA1(0e505709fa251e6b30f019c0c28ee9ba2b29a50a) )
r5338r5339
773773/******************************************************************************/
774774
775775GAME( 1989, vaportra, 0,        vaportra, vaportra, vaportra, ROT270, "Data East Corporation", "Vapor Trail - Hyper Offence Formation (World revision 1)", 0 )
776GAME( 1989, vaportru, vaportra, vaportra, vaportra, vaportra, ROT270, "Data East USA", "Vapor Trail - Hyper Offence Formation (US)", 0 )
776GAME( 1989, vaportrau,vaportra, vaportra, vaportra, vaportra, ROT270, "Data East USA", "Vapor Trail - Hyper Offence Formation (US)", 0 )
777777GAME( 1989, kuhga,    vaportra, vaportra, vaportra, vaportra, ROT270, "Data East Corporation", "Kuhga - Operation Code 'Vapor Trail' (Japan revision 3)", 0 )
src/mame/drivers/suna8.c
r5338r5339
18111811   ROM_LOAD( "p14", 0x0000, 0x8000, CRC(41314ac1) SHA1(1ac9213b0ac4ce9fe6256e93875672e128a5d069) )
18121812ROM_END
18131813
1814ROM_START( hardhedb )
1814ROM_START( hardheadb )
18151815   ROM_REGION( 0x48000+0x8000, "maincpu", 0 ) /* Main Z80 Code */
18161816   ROM_LOAD( "1_27512.l6",  0x48000, 0x8000, CRC(bb4aa9ac) SHA1(da6310a1034cf610139d74fc30dd13e5fbd1d8dd) ) // 1988,9,14 (already decrypted)
18171817   ROM_CONTINUE(          0x00000, 0x8000 )
r5338r5339
22732273/* Working Games */
22742274GAME( 1988, rranger,  0,        rranger,  rranger,  suna8,    ROT0,  "SunA (Sharp Image license)", "Rough Ranger (v2.0)", 0)
22752275GAME( 1988, hardhead, 0,        hardhead, hardhead, hardhead, ROT0,  "SunA", "Hard Head" , 0)
2276GAME( 1988, hardhedb, hardhead, hardhead, hardhead, hardhedb, ROT0,  "bootleg", "Hard Head (bootleg)" , 0)
2276GAME( 1988, hardheadb,hardhead, hardhead, hardhead, hardhedb, ROT0,  "bootleg", "Hard Head (bootleg)" , 0)
22772277GAME( 1988, pop_hh,   hardhead, hardhead, hardhead, hardhedb, ROT0,  "bootleg", "Popper (Hard Head bootleg)" , 0)
22782278GAME( 1991, hardhea2, 0,        hardhea2, hardhea2, hardhea2, ROT0,  "SunA", "Hard Head 2 (v2.0)" , 0 )
22792279
src/mame/drivers/namcos86.c
r5338r5339
11781178   /* the ROM/voice expansion board is not present in this game */
11791179ROM_END
11801180
1181ROM_START( skykiddo )
1181ROM_START( skykiddxo )
11821182   ROM_REGION( 0x18000, "cpu1", 0 )
11831183   ROM_LOAD( "sk3_1.9c",     0x08000, 0x8000, CRC(5722a291) SHA1(0b3ca2585bf5c18214c1337dce8f92027e9d78c2) )
11841184   ROM_LOAD( "sk3_2.9d",     0x10000, 0x8000, CRC(74b8f8e2) SHA1(0c9f0a283c764d5db59abea17a7f3285718b4501) )
r5338r5339
13931393   /* m3 empty */
13941394ROM_END
13951395
1396ROM_START( rthundro )
1396ROM_START( rthundero )
13971397   ROM_REGION( 0x18000, "cpu1", 0 )
13981398   ROM_LOAD( "r1",           0x8000, 0x8000, CRC(6f8c1252) SHA1(586f2e33dd16f31131e4ae9423d639fdc6555c9c) )
13991399   /* 9d empty */
r5338r5339
15581558
15591559
15601560GAME( 1986, skykiddx, 0,        skykiddx, skykiddx, namco86, ROT180, "Namco", "Sky Kid Deluxe (set 1)", 0 )
1561GAME( 1986, skykiddo, skykiddx, skykiddx, skykiddx, namco86, ROT180, "Namco", "Sky Kid Deluxe (set 2)", 0 )
1561GAME( 1986, skykiddxo,skykiddx, skykiddx, skykiddx, namco86, ROT180, "Namco", "Sky Kid Deluxe (set 2)", 0 )
15621562GAME( 1986, hopmappy, 0,        hopmappy, hopmappy, namco86, ROT0,   "Namco", "Hopping Mappy", 0 )
15631563GAME( 1986, roishtar, 0,        roishtar, roishtar, namco86, ROT0,   "Namco", "The Return of Ishtar", 0 )
15641564GAME( 1986, genpeitd, 0,        genpeitd, genpeitd, namco86, ROT0,   "Namco", "Genpei ToumaDen", 0 )
15651565GAME( 1986, rthunder, 0,        rthunder, rthunder, namco86, ROT0,   "Namco", "Rolling Thunder (new version)", 0 )
1566GAME( 1986, rthundro, rthunder, rthunder, rthundro, namco86, ROT0,   "Namco", "Rolling Thunder (old version)", 0 )
1566GAME( 1986, rthundero,rthunder, rthunder, rthundro, namco86, ROT0,   "Namco", "Rolling Thunder (old version)", 0 )
15671567GAME( 1987, wndrmomo, 0,        wndrmomo, wndrmomo, namco86, ROT0,   "Namco", "Wonder Momo", GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/nova2001.c
r5338r5339
873873   ROM_LOAD( "nova2001.clr", 0x0000, 0x0020, CRC(a2fac5cd) SHA1(ad14aa2be57722d1f48b47171fe72f96091423b6) )
874874ROM_END
875875
876ROM_START( nov2001u )
876ROM_START( nova2001u )
877877   ROM_REGION( 0x10000, "maincpu", 0 )
878878   ROM_LOAD( "nova2001.1",   0x0000, 0x2000, CRC(b79461bd) SHA1(7fac3313bc76612f66a6518450d0fed32fe70c45) )
879879   ROM_LOAD( "nova2001.2",   0x2000, 0x2000, CRC(fab87144) SHA1(506703f9d96443839f864ef5bde1a71120f54384) )
r5338r5339
962962   ROM_LOAD( "raiders5.11n", 0x0000,  0x4000, CRC(c0895090) SHA1(a3a1ae57ed66bc095ea9bfb26470290f67aab1fe) )
963963ROM_END
964964
965ROM_START( raidrs5t )
965ROM_START( raiders5t )
966966   ROM_REGION( 0x10000, "maincpu", 0 )
967967   ROM_LOAD( "raiders1.4c", 0x0000,  0x4000, CRC(4e2d5679) SHA1(a1c1603ba98814a83b92ad024ca4422aea872111) )
968968   ROM_LOAD( "raiders2.4d", 0x4000,  0x4000, CRC(c8604be1) SHA1(6d23f26174bb9b2f7db3a5fa6b39674fe237135b) )
r5338r5339
10551055 *************************************/
10561056
10571057GAME( 1983, nova2001, 0,        nova2001, nova2001, 0,        ROT0, "UPL", "Nova 2001 (Japan)", 0 )
1058GAME( 1983, nov2001u, nova2001, nova2001, nova2001, 0,        ROT0, "UPL (Universal license)", "Nova 2001 (US)", 0 )
1058GAME( 1983, nova2001u,nova2001, nova2001, nova2001, 0,        ROT0, "UPL (Universal license)", "Nova 2001 (US)", 0 )
10591059GAME( 1984, ninjakun, 0,        ninjakun, ninjakun, 0,        ROT0, "[UPL] (Taito license)", "Ninjakun Majou no Bouken", 0 )
10601060GAME( 1985, pkunwar,  0,        pkunwar,  pkunwar,  pkunwar,  ROT0, "UPL", "Penguin-Kun Wars (US)", 0 )
10611061GAME( 1985, pkunwarj, pkunwar,  pkunwar,  pkunwar,  pkunwar,  ROT0, "UPL", "Penguin-Kun Wars (Japan)", 0 )
10621062GAME( 1985, raiders5, 0,        raiders5, raiders5, raiders5, ROT0, "UPL", "Raiders5", 0 )
1063GAME( 1985, raidrs5t, raiders5, raiders5, raiders5, raiders5, ROT0, "UPL (Taito license)", "Raiders5 (Japan)", 0 )
1063GAME( 1985, raiders5t,raiders5, raiders5, raiders5, raiders5, ROT0, "UPL (Taito license)", "Raiders5 (Japan)", 0 )
src/mame/drivers/chsuper.c
r5338r5339
116116   PORT_DIPNAME( 0x01, 0x01, "0" )
117117   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
118118   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
119   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
120   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Bet / Cancel All") PORT_CODE(KEYCODE_A)
119   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
120   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Bet / Cancel All")
121121   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )
122   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
122   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
123123   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("Analyzer")
124124   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE1 )
125   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
125   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
126126
127127   PORT_START("IN1")
128   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
129   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
128   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
129   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
130130   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
131131   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
132132   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
r5338r5339
172172
173173   PORT_START("DSW1")
174174   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )
175
176175INPUT_PORTS_END
177176
178177
r5338r5339
265264}
266265
267266
268GAME( 1999, chsuper3, 0,        chsuper, chsuper,  chsuper3, ROT0, "unknown",    "Champion Super 3 (V0.35)", GAME_NO_SOUND ) //24/02/99
269GAME( 1999, chsuper2, chsuper3, chsuper, chsuper,  chsuper2, ROT0, "unknown",    "Champion Super 2 (V0.13)", GAME_NO_SOUND ) //26/01/99
267GAME( 1999, chsuper3, 0,        chsuper, chsuper,  chsuper3, ROT0, "<unknown>",    "Champion Super 3 (V0.35)", GAME_NO_SOUND ) //24/02/99
268GAME( 1999, chsuper2, chsuper3, chsuper, chsuper,  chsuper2, ROT0, "<unknown>",    "Champion Super 2 (V0.13)", GAME_NO_SOUND ) //26/01/99
src/mame/drivers/gaelco3d.c
r5338r5339
10611061ROM_END
10621062
10631063
1064ROM_START( surfpl40 )
1064ROM_START( surfplnt40 )
10651065   ROM_REGION( 0x200000, "maincpu", 0 )   /* 68000 code */
10661066   ROM_LOAD16_BYTE( "surfpl40.u5",  0x000000, 0x80000, CRC(572e0343) SHA1(badb08a5a495611b5fd2d821d4299348b2c9f308) )
10671067   ROM_LOAD16_BYTE( "surfpl40.u11", 0x000001, 0x80000, CRC(6056edaa) SHA1(9bc2df54d1367b9d58272a8f506e523e74110361) )
r5338r5339
11781178 *
11791179 *************************************/
11801180
1181GAME( 1996, speedup,  0,        gaelco3d,  speedup,  gaelco3d, ROT0, "Gaelco", "Speed Up (Version 1.20)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE )
1182GAME( 1997, surfplnt, 0,        gaelco3d,  surfplnt, gaelco3d, ROT0, "Gaelco", "Surf Planet (Version 4.1)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE)
1183GAME( 1997, surfpl40, surfplnt, gaelco3d,  surfplnt, gaelco3d, ROT0, "Gaelco", "Surf Planet (Version 4.0)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE)
1184GAME( 1998, radikalb, 0,        gaelco3d2, radikalb, gaelco3d, ROT0, "Gaelco", "Radikal Bikers (Version 2.02)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE)
1181GAME( 1996, speedup,    0,        gaelco3d,  speedup,  gaelco3d, ROT0, "Gaelco", "Speed Up (Version 1.20)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE )
1182GAME( 1997, surfplnt,   0,        gaelco3d,  surfplnt, gaelco3d, ROT0, "Gaelco", "Surf Planet (Version 4.1)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE)
1183GAME( 1997, surfplnt40, surfplnt, gaelco3d,  surfplnt, gaelco3d, ROT0, "Gaelco", "Surf Planet (Version 4.0)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE)
1184GAME( 1998, radikalb,   0,        gaelco3d2, radikalb, gaelco3d, ROT0, "Gaelco", "Radikal Bikers (Version 2.02)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE)
src/mame/drivers/gstriker.c
r5338r5339
664664   ROM_LOAD( "pal16l8.s205a.u109",  0x0800, 0x0104, CRC(0d644e59) SHA1(bb8f4ab47d7bc9b9b37f636f8fa9c419f17630ad) )
665665ROM_END
666666
667ROM_START( gstrikea )
667ROM_START( gstrikera )
668668   ROM_REGION( 0x100000, "maincpu", 0 )
669669   ROM_LOAD16_WORD_SWAP( "human-1_27c4002.u58",  0x00000, 0x80000, CRC(7cf45320) SHA1(4127c93fe5f863cecf0a005c66129c0eb660f5dd) )
670670
r5338r5339
789789   ROM_LOAD( "u104",         0x000000, 0x100000, CRC(df07d0af) SHA1(356560e164ff222bc9004fe202f829c93244a6c9) )
790790ROM_END
791791
792ROM_START( twrdc94a )
792ROM_START( twrldc94a )
793793   ROM_REGION( 0x100000, "maincpu", 0 )
794794   ROM_LOAD16_WORD_SWAP( "twrdc94a_13.u37",           0x00000, 0x80000, CRC(08f314ee) SHA1(3fca5050f5bcd60533d3bd9dea81ba631a98bfd6) )
795795
r5338r5339
10571057/*** GAME DRIVERS ************************************************************/
10581058
10591059GAME( 1993, gstriker, 0,        gstriker, gstriker, 0,        ROT0, "Human", "Grand Striker", GAME_IMPERFECT_GRAPHICS )
1060GAME( 1993, gstrikea, gstriker, gstriker, gstriker, 0,        ROT0, "Human", "Grand Striker (Americas)", GAME_IMPERFECT_GRAPHICS )
1060GAME( 1993, gstrikera, gstriker, gstriker, gstriker, 0,        ROT0, "Human", "Grand Striker (Americas)", GAME_IMPERFECT_GRAPHICS )
10611061
10621062
10631063/* Similar, but not identical hardware, appear to be protected by an MCU :-( */
10641064GAME( 1994, vgoalsoc, 0,        vgoal,    vgoalsoc, vgoalsoc,   ROT0, "Tecmo", "V Goal Soccer (set 1)", GAME_NOT_WORKING )
10651065GAME( 1994, vgoalsca, vgoalsoc, vgoal,    vgoalsoc, vgoalsoc,   ROT0, "Tecmo", "V Goal Soccer (set 2)", GAME_NOT_WORKING )
10661066GAME( 1994, twrldc94, 0,        twrldc94, twrldc94, twrldc94,   ROT0, "Tecmo", "Tecmo World Cup '94 (set 1)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_GRAPHICS )
1067GAME( 1994, twrdc94a, twrldc94, twrldc94, twrldc94, twrldc94a,  ROT0, "Tecmo", "Tecmo World Cup '94 (set 2)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_GRAPHICS )
1067GAME( 1994, twrldc94a,twrldc94, twrldc94, twrldc94, twrldc94a,  ROT0, "Tecmo", "Tecmo World Cup '94 (set 2)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/snk.c
r5338r5339
45574557   ROM_LOAD( "pal20l8a.6r", 0x0400, 0x0144, CRC(0f011673) SHA1(383e6f6e78daec9c874d5b48378111ca60f5ed64) )
45584558ROM_END
45594559
4560ROM_START( fitegol2 )
4560ROM_START( fitegolfu )
45614561   ROM_REGION( 0x10000, "maincpu", 0 )
45624562   ROM_LOAD( "np45.128", 0x0000, 0x4000, CRC(16e8e763) SHA1(0b5296f2a91a7f3176b7461ca4958865ce998241) )
45634563   ROM_LOAD( "mn45.256", 0x4000, 0x8000, CRC(a4fa09d5) SHA1(ae7f0cb47de06006ae71252c4201a93a01a26887) )
r5338r5339
53065306   ROM_LOAD( "bt_p5.rom",  0x10000, 0x10000, CRC(817bd62c) SHA1(d3ee2ff01a4da8b928728b2fd4948fabd2b04420) )
53075307ROM_END
53085308
5309ROM_START( bermudaj )
5309ROM_START( bermudatj )
53105310   ROM_REGION( 0x10000, "maincpu", 0 )
53115311   ROM_LOAD( "btj_p01.bin", 0x0000, 0x10000,  CRC(eda75f36) SHA1(d6fcb46dc45007a77bf6a8ca7aa53aefedcecf92) )
53125312
r5338r5339
54005400   ROM_LOAD( "bt_p5.rom",  0x10000, 0x10000, CRC(817bd62c) SHA1(d3ee2ff01a4da8b928728b2fd4948fabd2b04420) )
54015401ROM_END
54025402
5403ROM_START( bermudaa )
5403ROM_START( bermudata )
54045404   ROM_REGION( 0x10000, "maincpu", 0 )
54055405   ROM_LOAD( "4",  0x0000, 0x10000,  CRC(4de39d01) SHA1(4312660c6658079c2d148c07d24f741804f3e45c) )
54065406
r5338r5339
61826182GAME( 1985, tnk3j,    tnk3,     tnk3,     tnk3,     0,        ROT270, "SNK", "T.A.N.K (Japan)", 0 )
61836183GAME( 1986, athena,   0,        athena,   athena,   0,        ROT0,   "SNK", "Athena", 0 )
61846184GAME( 1988, fitegolf, 0,        fitegolf, fitegolf, 0,        ROT0,   "SNK", "Fighting Golf (World?)", 0 )
6185GAME( 1988, fitegol2, fitegolf, fitegolf, fitegolf, 0,        ROT0,   "SNK", "Fighting Golf (US)", 0 )
6185GAME( 1988, fitegolfu,fitegolf, fitegolf, fitegolf, 0,        ROT0,   "SNK", "Fighting Golf (US)", 0 )
61866186GAME( 1988, countryc, 0,        fitegolf, countryc, countryc, ROT0,   "SNK", "Country Club", 0 )
61876187
61886188GAME( 1986, ikari,    0,        ikari,    ikari,    0,        ROT270, "SNK", "Ikari Warriors (US JAMMA)", 0 )
r5338r5339
61956195GAME( 1986, dogosokb, victroad, victroad, dogosokb, 0,        ROT270, "bootleg", "Dogou Souken (Joystick hack bootleg)", 0 )
61966196
61976197GAME( 1987, bermudat, 0,        bermudat, bermudat, 0,        ROT270, "SNK", "Bermuda Triangle (World?)", 0 )
6198GAME( 1987, bermudaj, bermudat, bermudat, bermudat, 0,        ROT270, "SNK", "Bermuda Triangle (Japan)", 0 )
6198GAME( 1987, bermudatj,bermudat, bermudat, bermudat, 0,        ROT270, "SNK", "Bermuda Triangle (Japan)", 0 )
61996199GAME( 1987, worldwar, 0,        bermudat, worldwar, 0,        ROT270, "SNK", "World Wars (World?)", 0 )
6200GAME( 1987, bermudaa, worldwar, bermudat, bermudaa, 0,        ROT270, "SNK", "Bermuda Triangle (World Wars) (US)", 0 )
6200GAME( 1987, bermudata,worldwar, bermudat, bermudaa, 0,        ROT270, "SNK", "Bermuda Triangle (World Wars) (US)", 0 )
62016201GAME( 1987, psychos,  0,        psychos,  psychos,  0,        ROT0,   "SNK", "Psycho Soldier (US)", 0 )
62026202GAME( 1987, psychosj, psychos,  psychos,  psychos,  0,        ROT0,   "SNK", "Psycho Soldier (Japan)", 0 )
62036203GAME( 1987, gwar,     0,        gwar,     gwar,     0,        ROT270, "SNK", "Guerrilla War (US)", 0 )
src/mame/drivers/highvdeo.c
r5338r5339
484484
485485static INPUT_PORTS_START( tv_vcf )
486486   PORT_START("IN0")
487   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Take Button") PORT_CODE(KEYCODE_A)
488   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Start") PORT_CODE(KEYCODE_N)
489   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
490   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
491   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Risk Button") PORT_CODE(KEYCODE_S)
492   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
493   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
494   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
487   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Take Button")
488   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_START1 )
489   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
490   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
491   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) PORT_NAME("Risk Button")
492   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
493   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
494   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
495495
496496   PORT_START("IN1")
497497   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 )
498498   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_COIN2 )
499499   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_COIN3 )
500500   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_COIN4 ) // Note 1
501   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Ticket")
501   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT ) PORT_NAME("Ticket")
502502   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Diagnostics") PORT_CODE(KEYCODE_F2)
503   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_START2 ) PORT_NAME("Hopper")
504   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START3 )
503   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Hopper") PORT_CODE(KEYCODE_H)
504   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START2 )
505505
506506   PORT_START("IN2")
507   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Key") PORT_CODE(KEYCODE_9)
507   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN ) PORT_NAME("Key")
508508   PORT_DIPNAME( 0x0002, 0x0000, "Reset NVRAM" )
509509   PORT_DIPSETTING(      0x0002, DEF_STR( Off ) )
510510   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
r5338r5339
528528
529529static INPUT_PORTS_START( tv_ncf )
530530   PORT_START("IN0")
531   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Take Button") PORT_CODE(KEYCODE_A)
532   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Start") PORT_CODE(KEYCODE_N)
533   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
534   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
535   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Risk Button") PORT_CODE(KEYCODE_S)
536   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
537   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
538   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
531   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Take Button")
532   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_START1 )
533   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
534   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
535   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) PORT_NAME("Risk Button")
536   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
537   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
538   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
539539
540540   PORT_START("IN1")
541541   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 )
542542   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_COIN2 )
543543   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_COIN3 )
544544   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_COIN4 ) // Note 1
545   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_START1 )
546   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_START2 )
545   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_START2 )
546   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_START3 )
547547   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_OTHER )      /* connected to the clock signal, to signal heartbeat */
548548   PORT_DIPNAME( 0x0080, 0x0000, "Reset NVRAM" )
549549   PORT_DIPSETTING(      0x0080, DEF_STR( Off ) )
r5338r5339
574574
575575static INPUT_PORTS_START( tv_tcf )
576576   PORT_START("IN0")
577   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Take Button") PORT_CODE(KEYCODE_A)
578   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Start") PORT_CODE(KEYCODE_N)
579   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
580   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
581   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Risk Button") PORT_CODE(KEYCODE_S)
582   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
583   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
584   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
577   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Take Button")
578   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_START1 )
579   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
580   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
581   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) PORT_NAME("Risk Button")
582   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
583   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
584   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
585585
586586   PORT_START("IN1")
587587   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 )
588588   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_COIN2 )
589589   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_COIN3 )
590590   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_COIN4 ) // Note 1
591   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Ticket")
591   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT ) PORT_NAME("Ticket")
592592   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Diagnostics") PORT_CODE(KEYCODE_F2)
593   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_START2 ) PORT_NAME("Hopper")
594   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START3 )
593   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Hopper") PORT_CODE(KEYCODE_H)
594   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START2 )
595595
596596   PORT_START("IN2")
597597   PORT_BIT( 0x0003, 0x0002, IPT_OTHER ) // Protection
r5338r5339
615615
616616static INPUT_PORTS_START( brasil )
617617   PORT_START("IN0")
618   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Take Button") PORT_CODE(KEYCODE_A)
618   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Take Button")
619619   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_START1 )
620   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
621   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
622   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Risk Button") PORT_CODE(KEYCODE_S)
623   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
624   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
625   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
620   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
621   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
622   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) PORT_NAME("Risk Button")
623   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
624   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
625   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
626626   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) )
627627   PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
628628   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
r5338r5339
647647   PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unknown ) )
648648   PORT_DIPSETTING(      0x8000, DEF_STR( Off ) )
649649   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
650
650651   PORT_START("IN1")
651652   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 )
652653   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_COIN2 )
r5338r5339
686687   PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unknown ) )
687688   PORT_DIPSETTING(      0x8000, DEF_STR( Off ) )
688689   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
690
689691   PORT_START("IN2")
690692   PORT_DIPNAME( 0x0001, 0x0001, "IN2" )
691693   PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
r5338r5339
740742/*Slightly different inputs*/
741743static INPUT_PORTS_START( fashion )
742744   PORT_START("IN0")
743   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Take Button") PORT_CODE(KEYCODE_A)
745   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Take Button")
744746   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_START1 )
745   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
746   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
747   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Stock 2") PORT_CODE(KEYCODE_S)
748   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3 / Risk Button") PORT_CODE(KEYCODE_C)
749   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
750   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
747   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
748   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
749   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Stock 2")
750   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Hold 3 / Risk Button") PORT_CODE(KEYCODE_C)
751   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
752   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
751753   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) )
752754   PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
753755   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
r5338r5339
772774   PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unknown ) )
773775   PORT_DIPSETTING(      0x8000, DEF_STR( Off ) )
774776   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
777
775778   PORT_START("IN1")
776779   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 )
777780   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_COIN2 )
778781   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_COIN3 )
779   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_NAME("Stock 3 / Note") PORT_CODE(KEYCODE_8)
780   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Stock 1 / Ticket") PORT_CODE(KEYCODE_Q)
782   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Stock 3 / Note") PORT_CODE(KEYCODE_8)
783   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Stock 1 / Ticket") PORT_CODE(KEYCODE_Q)
781784   PORT_SERVICE( 0x0020, IP_ACTIVE_LOW )
782   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Stock 5") PORT_CODE(KEYCODE_T)
783   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Stock 4") PORT_CODE(KEYCODE_R)
785   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Stock 5") PORT_CODE(KEYCODE_T)
786   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Stock 4") PORT_CODE(KEYCODE_R)
784787   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) )
785788   PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
786789   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
r5338r5339
805808   PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unknown ) )
806809   PORT_DIPSETTING(      0x8000, DEF_STR( Off ) )
807810   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
811
808812   PORT_START("IN2")
809813   PORT_DIPNAME( 0x0001, 0x0001, "IN2" )
810814   PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
src/mame/drivers/namconb1.c
r5338r5339
11761176   ROM_LOAD( "c366.bin", 0, 0x20, CRC(8c96f31d) SHA1(d186859cfc19a63266084372080d0a5bee687ae2) )
11771177ROM_END
11781178
1179ROM_START( nebulryj )
1179ROM_START( nebulrayj )
11801180   ROM_REGION( 0x100000, "maincpu", 0 ) /* main program */
11811181   ROM_LOAD32_WORD( "nr1-mpru", 0x00000, 0x80000, CRC(42ef71f9) SHA1(20e3cb63e1fde293c60c404b378d901d635c4b79) )
11821182   ROM_LOAD32_WORD( "nr1-mprl", 0x00002, 0x80000, CRC(fae5f62c) SHA1(143d716abbc834aac6270db3bbb89ec71ea3804d) )
r5338r5339
17421742   ROM_LOAD16_WORD_SWAP( "ou1dat1.20b", 0x80000, 0x80000, CRC(63bb119d) SHA1(d4c2820243b84c3f5cdf7f9e66bb50f53d0efed2) )
17431743ROM_END
17441744
1745ROM_START( outfxesj )
1745ROM_START( outfxiesj )
17461746   ROM_REGION( 0x100000, "maincpu", 0 ) /* main program */
17471747   ROM_LOAD32_WORD( "ou1-mprl.11c", 0x00002, 0x80000, CRC(d3b9e530) SHA1(3f5fe5eea817a23dfe42e76f32912ce94d4c49c9) )
17481748   ROM_LOAD32_WORD( "ou1-mpru.11d", 0x00000, 0x80000, CRC(d98308fb) SHA1(fdefeebf56464a20e3aaefd88df4eee9f7b5c4f3) )
r5338r5339
19951995INPUT_PORTS_END
19961996
19971997GAME( 1994, nebulray, 0,        namconb1, namconb1, nebulray, ROT90, "Namco", "Nebulas Ray (World)", GAME_IMPERFECT_SOUND )
1998GAME( 1994, nebulryj, nebulray, namconb1, namconb1, nebulray, ROT90, "Namco", "Nebulas Ray (Japan)", GAME_IMPERFECT_SOUND )
1998GAME( 1994, nebulrayj,nebulray, namconb1, namconb1, nebulray, ROT90, "Namco", "Nebulas Ray (Japan)", GAME_IMPERFECT_SOUND )
19991999GAME( 1994, ptblank,  0,        namconb1, gunbulet, gunbulet, ROT0,  "Namco", "Point Blank", GAME_IMPERFECT_SOUND )
20002000GAME( 1994, gunbulet, ptblank,  namconb1, gunbulet, gunbulet, ROT0,  "Namco", "Gun Bullet (Japan)", GAME_IMPERFECT_SOUND )
20012001GAME( 1993, gslugrsj, 0,        namconb1, nbsports, gslgr94u, ROT0,  "Namco", "Great Sluggers (Japan)", GAME_IMPERFECT_SOUND )
r5338r5339
20082008
20092009/*     YEAR, NAME,     PARENT,   MACHINE,  INPUT,    INIT,     MNTR,  COMPANY, FULLNAME,   FLAGS */
20102010GAME( 1994, outfxies, 0,      namconb2, outfxies, outfxies, ROT0, "Namco", "Outfoxies", GAME_IMPERFECT_SOUND )
2011GAME( 1994, outfxesj, outfxies, namconb2, outfxies, outfxies, ROT0, "Namco", "Outfoxies (Japan)", GAME_IMPERFECT_SOUND )
2011GAME( 1994, outfxiesj,outfxies, namconb2, outfxies, outfxies, ROT0, "Namco", "Outfoxies (Japan)", GAME_IMPERFECT_SOUND )
20122012GAME( 1995, machbrkr, 0,      namconb2, namconb1, machbrkr, ROT0, "Namco", "Mach Breakers - Numan Athletics 2 (Japan)", GAME_IMPERFECT_SOUND )
src/mame/drivers/fcrash.c
r5338r5339
147147      colour = cps1_gfxram[base+pos+1]&0x1f;
148148      ypos = 256-ypos;
149149
150      pdrawgfx_transpen(bitmap,cliprect,machine->gfx[2],tileno,colour,flipx,flipy,xpos+49,ypos-16,priority_bitmap,0x02,15);
150      pdrawgfx_transpen(bitmap,cliprect,machine->gfx[2],tileno,colour,flipx,flipy,xpos+49,ypos-16,machine->priority_bitmap,0x02,15);
151151
152152   }
153153
r5338r5339
257257   /* Blank screen */
258258   bitmap_fill(bitmap,cliprect,0xbff);
259259
260   bitmap_fill(priority_bitmap,cliprect,0);
260   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
261261   l0 = (layercontrol >> 0x06) & 03;
262262   l1 = (layercontrol >> 0x08) & 03;
263263   l2 = (layercontrol >> 0x0a) & 03;
r5338r5339
328328   /* Blank screen */
329329   bitmap_fill(bitmap,cliprect,0xbff);
330330
331   bitmap_fill(priority_bitmap,cliprect,0);
331   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
332332   l0 = (layercontrol >> 0x06) & 03;
333333   l1 = (layercontrol >> 0x08) & 03;
334334   l2 = (layercontrol >> 0x0a) & 03;
src/mame/drivers/model2.c
r5338r5339
27062706   MODEL2A_VID_BOARD
27072707ROM_END
27082708
2709ROM_START( dynmcopb ) /* Dynamite Cop (Export), Model 2B */
2709ROM_START( dynamcopb ) /* Dynamite Cop (Export), Model 2B */
27102710   ROM_REGION( 0x200000, "maincpu", 0 ) // i960 program
27112711   ROM_LOAD32_WORD("epr-20944.15", 0x000000, 0x080000, CRC(29b142f2) SHA1(b81d1ee7203b2f5fb6db4ff4185f4071e99aaedf) )
27122712   ROM_LOAD32_WORD("epr-20945.16", 0x000002, 0x080000, CRC(c495912e) SHA1(1a45296a5554923cb52b38586e40ceda2517f1bf) )
r5338r5339
27512751   ROM_LOAD("mpr-20815.37", 0x600000, 0x200000, CRC(1b5aaae4) SHA1(32b4bf6c096fdccdd5d8f1ddb6c27d3389a52234) )
27522752ROM_END
27532753
2754ROM_START( dyndek2b ) /* Dynamite Deka 2 (Japan), Model 2B */
2754ROM_START( dyndeka2b ) /* Dynamite Deka 2 (Japan), Model 2B */
27552755   ROM_REGION( 0x200000, "maincpu", 0 ) // i960 program
27562756   ROM_LOAD32_WORD("epr-20936.15", 0x000000, 0x080000, CRC(23ef98f2) SHA1(0a106125ed4a2569b54924130ca2ffa05acf2322) )
27572757   ROM_LOAD32_WORD("epr-20937.16", 0x000002, 0x080000, CRC(25a14e00) SHA1(ebdd21f269fd8a0798306e349d2985eead7e989f) )
r5338r5339
27962796   ROM_LOAD("mpr-20815.37", 0x600000, 0x200000, CRC(1b5aaae4) SHA1(32b4bf6c096fdccdd5d8f1ddb6c27d3389a52234) )
27972797ROM_END
27982798
2799ROM_START( dynmcopc ) /* Dynamite Cop (USA), Model 2C */
2799ROM_START( dynamcopc ) /* Dynamite Cop (USA), Model 2C */
28002800   ROM_REGION( 0x200000, "maincpu", 0 ) // i960 program
28012801   ROM_LOAD32_WORD("epr-20952.15", 0x000000, 0x080000, CRC(ec8bc896) SHA1(85deb1dc1348730a0c9b6ce3679582e7894ff2ed) )
28022802   ROM_LOAD32_WORD("epr-20953.16", 0x000002, 0x080000, CRC(a8276ffd) SHA1(9bea99c043775c00742c20e2f917d211dca09cc5) )
r5338r5339
31113111   ROM_LOAD("mpr-19058.34", 0x0400000, 0x400000, CRC(e237c11c) SHA1(7c89cba757bd58747ed0d633b2fe7ef559fcd15e) )
31123112ROM_END
31133113
3114ROM_START( lastbrnj ) /* Last Bronx Revision A (Japan), Model 2B */
3114ROM_START( lastbrnxj ) /* Last Bronx Revision A (Japan), Model 2B */
31153115   ROM_REGION( 0x200000, "maincpu", 0 ) // i960 program
31163116   ROM_LOAD32_WORD("epr-19046a.15", 0x000000, 0x080000, CRC(75be7b7a) SHA1(e57320ac3abac54b7b5278596979746ed1856188) )
31173117   ROM_LOAD32_WORD("epr-19047a.16", 0x000002, 0x080000, CRC(1f5541e2) SHA1(87214f285a7bf67fbd824f2190cb9b2daf408193) )
r5338r5339
36113611   ROM_LOAD("mpr-19750.24s", 0xc00000, 0x400000, CRC(cd95d0bf) SHA1(40e2a2980c89049c339fefd48bf7aac79962cd2e) )
36123612ROM_END
36133613
3614ROM_START( topskatu ) /* Top Skater (USA), Model 2C */
3614ROM_START( topskatru ) /* Top Skater (USA), Model 2C */
36153615   ROM_REGION( 0x200000, "maincpu", 0 ) // i960 program
36163616   ROM_LOAD32_WORD( "epr-19753.15", 0x000000, 0x080000, CRC(3b3028de) SHA1(717ebf0ccd87128a24776e618cf15f07aaf48537) )
36173617   ROM_LOAD32_WORD( "epr-19754.16", 0x000002, 0x080000, CRC(17535b98) SHA1(a2329d09821900ec4f867caf1a93759085bd0a62) )
r5338r5339
38853885   ROM_LOAD("mpr-18065.34", 0x400000, 0x200000, CRC(046b55fe) SHA1(2db7eabf4318881a67b10dba24f6f0cd68940ace) )
38863886ROM_END
38873887
3888ROM_START( vstrikro ) /* Virtua Striker, Model 2B */
3888ROM_START( vstrikero ) /* Virtua Striker, Model 2B */
38893889   ROM_REGION( 0x200000, "maincpu", 0 ) // i960 program
38903890   ROM_LOAD32_WORD("epr-18068.15", 0x000000, 0x020000, CRC(74a47795) SHA1(3ba34bd467e11e768eda95ff345f5993fb9d6bca) )
38913891   ROM_LOAD32_WORD("epr-18069.16", 0x000002, 0x020000, CRC(f6c3fcbf) SHA1(84bf16fc2a441cb724f4bc635a4c4209c240cfbf) )
r5338r5339
40804080   ROM_LOAD("epr-14869c.25", 0x000000, 0x010000, CRC(24b68e64) SHA1(c19d044d4c2fe551474492aa51922587394dd371) )
40814081ROM_END
40824082
4083ROM_START( dayton93 ) /* Daytona USA Deluxe '93 version (There is said to be a Deluxe '94 edition) */
4083ROM_START( daytona93 ) /* Daytona USA Deluxe '93 version (There is said to be a Deluxe '94 edition) */
40844084   ROM_REGION( 0x200000, "maincpu", 0 ) // i960 program
40854085   ROM_LOAD32_WORD("epr-16530a.12", 0x000000, 0x020000, CRC(39e962b5) SHA1(b98a1faabb4f1eff707a94c32224c7820f259874) )
40864086   ROM_LOAD32_WORD("epr-16531a.13", 0x000002, 0x020000, CRC(693126eb) SHA1(779734ba536db67e14760d52e8d8d7db07816481) )
r5338r5339
44794479
44804480// Model 2 (TGPs, Model 1 sound board)
44814481GAME( 1993, daytona,         0, model2o, daytona, 0,        ROT0, "Sega", "Daytona USA (Japan, Revision A)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
4482GAME( 1993, dayton93, daytona, model2o, daytona, 0,        ROT0, "Sega", "Daytona USA Deluxe '93", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
4482GAME( 1993, daytona93, daytona, model2o, daytona, 0,        ROT0, "Sega", "Daytona USA Deluxe '93", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
44834483GAME( 1993, daytonas,  daytona, model2o, daytona, 0,        ROT0, "Sega", "Daytona USA (With Saturn Adverts)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
44844484GAME( 1993, daytonat,  daytona, model2o, daytona, 0,        ROT0, "Sega", "Daytona USA (Japan, Turbo hack)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
44854485GAME( 1993, daytonam,  daytona, model2o, daytona, daytonam, ROT0, "Sega", "Daytona USA (Japan, To The MAXX)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
r5338r5339
45044504
45054505// Model 2B-CRX (SHARC, SCSP sound board)
45064506GAME( 1994, vstriker,        0, model2b, model2, 0,       ROT0, "Sega", "Virtua Striker (Revision A)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
4507GAME( 1994, vstrikro, vstriker, model2b, model2, 0,       ROT0, "Sega", "Virtua Striker", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
4507GAME( 1994, vstrikero,vstriker, model2b, model2, 0,       ROT0, "Sega", "Virtua Striker", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
45084508GAME( 1995, fvipers,         0, model2b, model2, 0,       ROT0, "Sega", "Fighting Vipers (Revision D)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
45094509GAME( 1995, gunblade,        0, model2b, model2, 0,       ROT0, "Sega", "Gunblade NY (Revision A)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
45104510GAME( 1995, indy500,         0, model2b, model2, 0,       ROT0, "Sega", "INDY 500 Twin (Revision A)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
45114511GAME( 1995, indy500d,  indy500, model2b, model2, 0,       ROT0, "Sega", "INDY 500 Deluxe (Revision A)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
45124512GAME( 1996, schamp,          0, model2b, model2, 0,       ROT0, "Sega", "Sonic The Fighters", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
45134513GAME( 1996, lastbrnx,        0, model2b, model2, 0,       ROT0, "Sega", "Last Bronx (Export, Revision A)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
4514GAME( 1996, lastbrnj, lastbrnx, model2b, model2, 0,       ROT0, "Sega", "Last Bronx (Japan, Revision A)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
4514GAME( 1996, lastbrnxj,lastbrnx, model2b, model2, 0,       ROT0, "Sega", "Last Bronx (Japan, Revision A)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
45154515GAME( 1996, doa,             0, model2b, model2, doa,     ROT0, "Sega", "Dead or Alive (Model 2B, Revision B)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
45164516GAME( 1996, sgt24h,          0, model2b, model2, sgt24h,  ROT0, "Jaleco", "Super GT 24h", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
45174517GAME( 1996, von,             0, model2b, model2, 0,       ROT0, "Sega", "Virtual On Cyber Troopers (US, Revision B)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
r5338r5339
45194519GAME( 1996, dynabb,          0, model2b, model2, 0,       ROT0, "Sega", "Dynamite Baseball '97 (Revision A)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
45204520GAME( 1997, zerogun,         0, model2b, model2, zerogun, ROT0, "Psikyo", "Zero Gunner (Model 2B)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
45214521GAME( 1997, zerogunj,  zerogun, model2b, model2, zerogun, ROT0, "Psikyo", "Zero Gunner (Japan Model 2B)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
4522GAME( 1998, dynmcopb, dynamcop, model2b, model2, genprot, ROT0, "Sega", "Dynamite Cop (Export, Model 2B)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
4523GAME( 1998, dyndek2b, dynamcop, model2b, model2, genprot, ROT0, "Sega", "Dynamite Deka 2 (Japan, Model 2B)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
4522GAME( 1998, dynamcopb,dynamcop, model2b, model2, genprot, ROT0, "Sega", "Dynamite Cop (Export, Model 2B)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
4523GAME( 1998, dyndeka2b,dynamcop, model2b, model2, genprot, ROT0, "Sega", "Dynamite Deka 2 (Japan, Model 2B)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
45244524GAME( 1998, pltkids,         0, model2b, model2, pltkids, ROT0, "Psikyo", "Pilot Kids (Model 2B, Revision A)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
45254525GAME( 1995, rchase2,         0, model2b, model2, 0,       ROT0, "Sega", "Rail Chase 2 (Revision A)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
45264526
r5338r5339
45324532GAME( 1997, overrev,         0, model2c, model2, 0, ROT0, "Jaleco", "Over Rev (Revision A)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
45334533GAME( 1997, segawski,        0, model2c, model2, 0, ROT0, "Sega", "Sega Water Ski (Japan, Revision A)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
45344534GAME( 1997, topskatr,        0, model2c, model2, 0, ROT0, "Sega", "Top Skater (Export, Revision A)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
4535GAME( 1997, topskatu, topskatr, model2c, model2, 0, ROT0, "Sega", "Top Skater (USA)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
4535GAME( 1997, topskatru,topskatr, model2c, model2, 0, ROT0, "Sega", "Top Skater (USA)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
45364536GAME( 1998, bel,             0, model2c, bel,    0, ROT0, "Sega/EPL Productions", "Behind Enemy Lines", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
4537GAME( 1998, dynmcopc, dynamcop, model2c, model2, 0, ROT0, "Sega", "Dynamite Cop (USA, Model 2C)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
4537GAME( 1998, dynamcopc,dynamcop, model2c, model2, 0, ROT0, "Sega", "Dynamite Cop (USA, Model 2C)", GAME_NOT_WORKING|GAME_IMPERFECT_GRAPHICS )
45384538
src/mame/drivers/sshangha.c
r5338r5339
426426   ROM_LOAD( "ss005.u86", 0x000000, 0x040000, CRC(c53a82ad) SHA1(756e453c8b5ce8e47f93fbda3a9e48bb73e93e2e) )
427427ROM_END
428428
429ROM_START( sshanghb )
429ROM_START( sshanghab )
430430   ROM_REGION( 0x40000, "maincpu", 0 ) /* 68000 code */
431431   ROM_LOAD16_BYTE( "sshanb_2.010", 0x00000, 0x20000, CRC(bc7ed254) SHA1(aeee4b8a8265902bb41575cc143738ecf3aff57d) )
432432   ROM_LOAD16_BYTE( "sshanb_1.010", 0x00001, 0x20000, CRC(7b049f49) SHA1(2570077c67dbd35053d475a18c3f10813bf914f7) )
r5338r5339
465465
466466
467467GAME( 1992, sshangha, 0,        sshangha, sshangha, sshangha, ROT0, "Hot-B.",  "Super Shanghai Dragon's Eye (Japan)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
468GAME( 1992, sshanghb, sshangha, sshanghb, sshangha, sshangha, ROT0, "bootleg", "Super Shanghai Dragon's Eye (World, bootleg)", 0 )
468GAME( 1992, sshanghab,sshangha, sshanghb, sshangha, sshangha, ROT0, "bootleg", "Super Shanghai Dragon's Eye (World, bootleg)", 0 )
src/mame/drivers/gstream.c
r5338r5339
22
33    G-Stream (c)2002 Oriental Soft Japan
44
5    Are 'Oriental Soft Japan' actually a Korean company?
5    Is 'Oriental Soft Japan' actually a Korean company?
66
77    Hyperstone based hardware
88
r5338r5339
8787    gs_snd_02.bin  524288  0xe49ed92c    27C040
8888    gs_snd_03.bin  524288  0x2bfff4ac    27C040
8989    gs_snd_04.bin  524288  0xb259de3b    27C040
90    u56.bin        524288  0x0d0c6a38    27C040
90    gs_prg_01.bin  524288  0x0d0c6a38    27C040
9191
9292    . Board supplied by Tormod
9393    . Board dumped by Tormod
9494
95+------------------------------------------------+
96|        GS_SND_01   RAM4  16MHz     RAM1 S2 BT1 |
97|  AD-65 GS_SND_02 GS_PRG_01 E1-32XT RAM1        |
98| VOL    GS_SND_03                               |
99|J AD-65 GS_SND_04                      GS_GR_07 |
100|A    1MHz     GS_PRG_02 XC95288   RAM2 GS_GR_08 |
101|M             GS_GR_01  RAM2           GS_GR_09 |
102|M      RAM4   GS_GR_02   XC95288 27MHz GS_GR_10 |
103|A      RAM4   GS_GR_03           54MHz GS_GR_11 |
104|              GS_GR_04       S3        GS_GR_12 |
105|    GAL       GS_GR_05       RAM3 RAM3 GS_GR_13 |
106|    GAL       GS_GR_06       RAM3 RAM3 GS_GR_13 |
107+------------------------------------------------+
108
109  CPU: Hyperstone E1-32XT
110Sound: OKI 6295 x 2 (rebaged as AD-65)
111  OSC: 54.000MHz, 27.000MHz, 16.000MHz & 1.000MHz
112Other: Sigma Xilinx XC95255 x 2
113
114S2 is Toggle switch to reset high scores.
115S3 is a 2 position dipswitch bank.
116BT1 is 3.6V battery for high scores backup.
117
118RAM1 is SEC KM416C1204CJ-6
119RAM2 is SEC KM416C1002CJ-12
120RAM3 is EliteMT LP621024DM-70LL
121RAM4 is HMC HM6264LP-70
122
95123*********************************************************************/
96124
97125#include "driver.h"
r5338r5339
199227{
200228   /* OKI BANKING  (still far from perfect, based on game behaviour)
201229
202    The two okis can indifferently play music or samples and are switched on the fly during game
230    The two OKIs can independently play music or samples and are switched on the fly during game
203231    This is a preliminary table of the banks:
204232
205233    BANK    MUSIC   SAMPLES
r5338r5339
474502
475503ROM_START( gstream )
476504   ROM_REGION32_BE( 0x080000, "user1", 0 ) /* Hyperstone CPU Code */
477   ROM_LOAD( "u56.bin", 0x000000, 0x080000, CRC(0d0c6a38) SHA1(a810bfc1c9158cccc37710d0ea7268e26e520cc2) )
505   ROM_LOAD( "gs_prg_01.u56", 0x000000, 0x080000, CRC(0d0c6a38) SHA1(a810bfc1c9158cccc37710d0ea7268e26e520cc2) )
478506
479507   ROM_REGION32_BE( 0x200000, "user2", 0 ) /* Hyperstone CPU Code */
480   ROM_LOAD16_WORD_SWAP( "gs_prg_02.bin", 0x000000, 0x200000, CRC(2f8a6bea) SHA1(c0a32838f4bd8599f09002139f87562db625c1c5) )
508   ROM_LOAD16_WORD_SWAP( "gs_prg_02.u197", 0x000000, 0x200000, CRC(2f8a6bea) SHA1(c0a32838f4bd8599f09002139f87562db625c1c5) )
481509
482510   ROM_REGION( 0x1000000, "gfx1", 0 )  /* sprite tiles (16x16x8) */
483   ROM_LOAD32_WORD( "gs_gr_07.bin", 0x000000, 0x200000, CRC(84e66fe1) SHA1(73d828714f9ed9baffdc06998f5bf3298396fe9c) )
484   ROM_LOAD32_WORD( "gs_gr_11.bin", 0x000002, 0x200000, CRC(946d71d1) SHA1(516bd3f4d7f5bce59f0593ed6565114dbd5a4ef0) )
485   ROM_LOAD32_WORD( "gs_gr_08.bin", 0x400000, 0x200000, CRC(abd0d6aa) SHA1(dd294bbdda05697df84247257f735ab51bc26ca3) )
486   ROM_LOAD32_WORD( "gs_gr_12.bin", 0x400002, 0x200000, CRC(94b56e4e) SHA1(7c3877f993e575326dbd4c2e5d7570747277b20d) )
487   ROM_LOAD32_WORD( "gs_gr_09.bin", 0x800000, 0x200000, CRC(f2c4fd77) SHA1(284c850688e3c0fd292a91a53e24fe3436dc4076) )
488   ROM_LOAD32_WORD( "gs_gr_13.bin", 0x800002, 0x200000, CRC(7daaeff0) SHA1(5766d9a3a8c0931305424e0089108ce8df7dfe41) )
489   ROM_LOAD32_WORD( "gs_gr_10.bin", 0xc00000, 0x200000, CRC(d696d15d) SHA1(85aaa5cdb35f3a8d3266bb8debec0558c860cb53) )
490   ROM_LOAD32_WORD( "gs_gr_14.bin", 0xc00002, 0x200000, CRC(6bd2a1e1) SHA1(aedca91643f14ececc101a7708255ce9b1d70f68) )
511   ROM_LOAD32_WORD( "gs_gr_07.u107", 0x000000, 0x200000, CRC(84e66fe1) SHA1(73d828714f9ed9baffdc06998f5bf3298396fe9c) )
512   ROM_LOAD32_WORD( "gs_gr_11.bin",  0x000002, 0x200000, CRC(946d71d1) SHA1(516bd3f4d7f5bce59f0593ed6565114dbd5a4ef0) )
513   ROM_LOAD32_WORD( "gs_gr_08.u109", 0x400000, 0x200000, CRC(abd0d6aa) SHA1(dd294bbdda05697df84247257f735ab51bc26ca3) )
514   ROM_LOAD32_WORD( "gs_gr_12.u110", 0x400002, 0x200000, CRC(94b56e4e) SHA1(7c3877f993e575326dbd4c2e5d7570747277b20d) )
515   ROM_LOAD32_WORD( "gs_gr_09.bin",  0x800000, 0x200000, CRC(f2c4fd77) SHA1(284c850688e3c0fd292a91a53e24fe3436dc4076) )
516   ROM_LOAD32_WORD( "gs_gr_13.u181", 0x800002, 0x200000, CRC(7daaeff0) SHA1(5766d9a3a8c0931305424e0089108ce8df7dfe41) )
517   ROM_LOAD32_WORD( "gs_gr_10.bin",  0xc00000, 0x200000, CRC(d696d15d) SHA1(85aaa5cdb35f3a8d3266bb8debec0558c860cb53) )
518   ROM_LOAD32_WORD( "gs_gr_14.u183", 0xc00002, 0x200000, CRC(6bd2a1e1) SHA1(aedca91643f14ececc101a7708255ce9b1d70f68) )
491519
492520   ROM_REGION( 0xc00000, "gfx2", 0 )  /* bg tiles (32x32x8) */
493   ROM_LOAD( "gs_gr_01.bin", 0x000000, 0x200000, CRC(b82cfab8) SHA1(08f0eaef5c927fb056c6cc9342e39f445aae9062) )
494   ROM_LOAD( "gs_gr_02.bin", 0x200000, 0x200000, CRC(37e19cbd) SHA1(490ebb037fce09100ec4bba3f73ecdf101526641) )
495   ROM_LOAD( "gs_gr_03.bin", 0x400000, 0x200000, CRC(1a3b2b11) SHA1(a4b1dc1a9709f8f8f2ab2190d7badc246caa540f) )
496   ROM_LOAD( "gs_gr_04.bin", 0x600000, 0x200000, CRC(a4e8906c) SHA1(b285d7697cdaa62014cf65d09a19fcbd6a95bb98) )
497   ROM_LOAD( "gs_gr_05.bin", 0x800000, 0x200000, CRC(ef283a73) SHA1(8b598facb344eac33138611abc141a2acb375983) )
498   ROM_LOAD( "gs_gr_06.bin", 0xa00000, 0x200000, CRC(d4e3a2b2) SHA1(4577c007172c718bf7ca55a8ccee5455c281026c) )
521   ROM_LOAD( "gs_gr_01.u120", 0x000000, 0x200000, CRC(b82cfab8) SHA1(08f0eaef5c927fb056c6cc9342e39f445aae9062) )
522   ROM_LOAD( "gs_gr_02.u121", 0x200000, 0x200000, CRC(37e19cbd) SHA1(490ebb037fce09100ec4bba3f73ecdf101526641) )
523   ROM_LOAD( "gs_gr_03.u125", 0x400000, 0x200000, CRC(1a3b2b11) SHA1(a4b1dc1a9709f8f8f2ab2190d7badc246caa540f) )
524   ROM_LOAD( "gs_gr_04.u126", 0x600000, 0x200000, CRC(a4e8906c) SHA1(b285d7697cdaa62014cf65d09a19fcbd6a95bb98) )
525   ROM_LOAD( "gs_gr_05.u174", 0x800000, 0x200000, CRC(ef283a73) SHA1(8b598facb344eac33138611abc141a2acb375983) )
526   ROM_LOAD( "gs_gr_06.bin",  0xa00000, 0x200000, CRC(d4e3a2b2) SHA1(4577c007172c718bf7ca55a8ccee5455c281026c) )
499527
500528   ROM_REGION( 0x200000, "oki1", 0 )
501   ROM_LOAD( "gs_snd_01.bin", 0x000000, 0x080000, CRC(79b64d3f) SHA1(b2166210d3a3b85b9ace90749a444c881f69d551) )
502   ROM_LOAD( "gs_snd_02.bin", 0x080000, 0x080000, CRC(e49ed92c) SHA1(a3d7b3fe93a786a246acf2657d9056398c793078) )
503   ROM_LOAD( "gs_snd_03.bin", 0x100000, 0x080000, CRC(2bfff4ac) SHA1(cce1bb3c78b86722c926854c737f9589806012ba) )
504   ROM_LOAD( "gs_snd_04.bin", 0x180000, 0x080000, CRC(b259de3b) SHA1(1a64f41d4344fefad5832332f1a7655e23f6b017) )
529   ROM_LOAD( "gs_snd_01.u192", 0x000000, 0x080000, CRC(79b64d3f) SHA1(b2166210d3a3b85b9ace90749a444c881f69d551) )
530   ROM_LOAD( "gs_snd_02.u194", 0x080000, 0x080000, CRC(e49ed92c) SHA1(a3d7b3fe93a786a246acf2657d9056398c793078) )
531   ROM_LOAD( "gs_snd_03.bin",  0x100000, 0x080000, CRC(2bfff4ac) SHA1(cce1bb3c78b86722c926854c737f9589806012ba) )
532   ROM_LOAD( "gs_snd_04.u193", 0x180000, 0x080000, CRC(b259de3b) SHA1(1a64f41d4344fefad5832332f1a7655e23f6b017) )
505533
506534   ROM_REGION( 0x200000, "oki2", 0 )
507535   ROM_COPY( "oki1", 0, 0, 0x200000 )
src/mame/drivers/compgolf.c
r5338r5339
252252   ROM_LOAD( "cv08-1.bpr",   0x00000, 0x0100, CRC(b7c43db9) SHA1(418b11e4c8a9bce6873b0624ac53a5011c5807d0) )
253253ROM_END
254254
255ROM_START( compglfo )
255ROM_START( compgolfo )
256256   ROM_REGION( 0x10000, "maincpu", 0 )
257257   ROM_LOAD( "cv05.bin",     0x08000, 0x8000, CRC(3cef62c9) SHA1(c4827b45faf7aa4c80ddd3c57f1ed6ba76b5c49b) )
258258
r5338r5339
299299}
300300
301301GAME( 1986, compgolf, 0,      compgolf, compgolf, compgolf, ROT0, "Data East", "Competition Golf Final Round (revision 3)", 0 )
302GAME( 1985, compglfo, compgolf, compgolf, compgolf, compgolf, ROT0, "Data East", "Competition Golf Final Round (old version)", 0 )
302GAME( 1985, compgolfo,compgolf, compgolf, compgolf, compgolf, ROT0, "Data East", "Competition Golf Final Round (old version)", 0 )
src/mame/drivers/cps2.c
r5338r5339
30383038   ROM_LOAD16_WORD_SWAP( "uec.12m",   0x200000, 0x200000, CRC(27729e52) SHA1(a55c8159adf766dda70cb047f5ac85ce6bc0a3f3) )
30393039ROM_END
30403040
3041ROM_START( ecofghtu )
3041ROM_START( ecofghtru )
30423042   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
30433043   ROM_LOAD16_WORD_SWAP( "uecu.03a", 0x000000, 0x80000, CRC(22d88a4d) SHA1(0aa5a4b51ae98b8b3bfc65aef9449796ffad7f10) )
30443044   ROM_LOAD16_WORD_SWAP( "uecu.04a", 0x080000, 0x80000, CRC(6436cfcd) SHA1(adb4e1ab2a01a1ea1b08a76ecf58654450e13cf9) )
r5338r5339
30643064   ROM_LOAD16_WORD_SWAP( "uec.12m",   0x200000, 0x200000, CRC(27729e52) SHA1(a55c8159adf766dda70cb047f5ac85ce6bc0a3f3) )
30653065ROM_END
30663066
3067ROM_START( ecofgtu1 )
3067ROM_START( ecofghtru1 )
30683068   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
30693069   ROM_LOAD16_WORD_SWAP( "uecu.03", 0x000000, 0x80000, CRC(6792480c) SHA1(89d7095a36a1094237f9e1d82a0dc482409999ca) )
30703070   ROM_LOAD16_WORD_SWAP( "uecu.04", 0x080000, 0x80000, CRC(95ce69d5) SHA1(d32c7e2a99ae29cbf9fee1e092a418f300a218ca) )
r5338r5339
31163116   ROM_LOAD16_WORD_SWAP( "uec.12m",   0x200000, 0x200000, CRC(27729e52) SHA1(a55c8159adf766dda70cb047f5ac85ce6bc0a3f3) )
31173117ROM_END
31183118
3119ROM_START( ecofghta )
3119ROM_START( ecofghtra )
31203120   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
31213121   ROM_LOAD16_WORD_SWAP( "ueca.03", 0x000000, 0x80000, CRC(bd4589b1) SHA1(8ec03a750de155c6ce0a2c3a6b57e6a6dcaf9ebc) )
31223122   ROM_LOAD16_WORD_SWAP( "ueca.04", 0x080000, 0x80000, CRC(1d134b7d) SHA1(c9dd725ff45f29a3fa68bfe6d5aea2e8c3c64bd8) )
r5338r5339
31633163   ROM_LOAD16_WORD_SWAP( "ggw.12m",   0x400000, 0x400000, CRC(4bee4e8f) SHA1(c440b5a38359ec3b8002f39690b79bf78703f5d0) )
31643164ROM_END
31653165
3166ROM_START( gwingj )
3166ROM_START( gigawingj )
31673167   ROM_REGION(CODE_SIZE, "maincpu", 0 )      /* 68000 code */
31683168   ROM_LOAD16_WORD_SWAP( "ggwj.03a", 0x000000, 0x80000, CRC(fdd23b91) SHA1(c805473d3dc6bdb7ce232a9d7181d213544b2e7b) )
31693169   ROM_LOAD16_WORD_SWAP( "ggwj.04a", 0x080000, 0x80000, CRC(8c6e093c) SHA1(a4864b3b54cf648af81f74e2936d2bb8b99d68a9) )
r5338r5339
31843184   ROM_LOAD16_WORD_SWAP( "ggw.12m",   0x400000, 0x400000, CRC(4bee4e8f) SHA1(c440b5a38359ec3b8002f39690b79bf78703f5d0) )
31853185ROM_END
31863186
3187ROM_START( gwinga )
3187ROM_START( gigawinga )
31883188   ROM_REGION(CODE_SIZE, "maincpu", 0 )      /* 68000 code */
31893189   ROM_LOAD16_WORD_SWAP( "ggwa.03a", 0x000000, 0x80000, CRC(116f8837) SHA1(9ade6c2fae319e0111e7afd3af10096d8d88f0c5) )
31903190   ROM_LOAD16_WORD_SWAP( "ggwa.04a", 0x080000, 0x80000, CRC(e6e3f0c4) SHA1(3c28cc050f36fb070a8abf057f0972dc16bc5629) )
r5338r5339
32053205   ROM_LOAD16_WORD_SWAP( "ggw.12m",   0x400000, 0x400000, CRC(4bee4e8f) SHA1(c440b5a38359ec3b8002f39690b79bf78703f5d0) )
32063206ROM_END
32073207
3208ROM_START( gwingb )
3208ROM_START( gigawingb )
32093209   ROM_REGION(CODE_SIZE, "maincpu", 0 )      /* 68000 code */
32103210   ROM_LOAD16_WORD_SWAP( "ggwb.03", 0x000000, 0x80000, CRC(a1f8a448) SHA1(a88ed9fea9ec08fda59a1ca9622dfb9f8afdda78) )
32113211   ROM_LOAD16_WORD_SWAP( "ggwb.04", 0x080000, 0x80000, CRC(6a423e76) SHA1(f6ed20f09e852b4fad78ee32617122d5deb98789) )
r5338r5339
33263326   ROM_LOAD16_WORD_SWAP( "rm2.12m",   0x200000, 0x200000, CRC(546c1636) SHA1(f96b172ab899f2c6ee17a5dd1fb61af9432e3cd2) )
33273327ROM_END
33283328
3329ROM_START( megamn2a )
3329ROM_START( megaman2a )
33303330   ROM_REGION(CODE_SIZE, "maincpu", 0 )      /* 68000 code */
33313331   ROM_LOAD16_WORD_SWAP( "rm2a.03", 0x000000, 0x80000, CRC(2b330ca7) SHA1(afa86ef73f5660600d18ff221ed135c026042e05) )
33323332   ROM_LOAD16_WORD_SWAP( "rm2a.04", 0x080000, 0x80000, CRC(8b47942b) SHA1(160574a38e89d31b975c56264f3f5a7a68ce760c) )
r5338r5339
74597459GAME( 1993, ssf2tbr1, ssf2,     cps2, cps2_2p6b, ssf2tb,   ROT0,   "Capcom", "Super Street Fighter II: The Tournament Battle (World 930911)", 0 )   // works, but not in tournament mode
74607460GAME( 1993, ssf2tbj,  ssf2,     cps2, cps2_2p6b, ssf2tb,   ROT0,   "Capcom", "Super Street Fighter II: The Tournament Battle (Japan 930911)", 0 )   // works, but not in tournament mode
74617461GAME( 1993, ecofghtr, 0,        cps2, cps2_2p3b, cps2,     ROT0,   "Capcom", "Eco Fighters (World 931203)", 0 )
7462GAME( 1993, ecofghtu, ecofghtr, cps2, cps2_2p3b, cps2,     ROT0,   "Capcom", "Eco Fighters (USA 940215)", 0 )
7463GAME( 1993, ecofgtu1, ecofghtr, cps2, cps2_2p3b, cps2,     ROT0,   "Capcom", "Eco Fighters (USA 931203)", 0 )
7462GAME( 1993, ecofghtru,ecofghtr, cps2, cps2_2p3b, cps2,     ROT0,   "Capcom", "Eco Fighters (USA 940215)", 0 )
7463GAME( 1993, ecofghtru1,ecofghtr,cps2, cps2_2p3b, cps2,     ROT0,   "Capcom", "Eco Fighters (USA 931203)", 0 )
74647464GAME( 1993, uecology, ecofghtr, cps2, cps2_2p3b, cps2,     ROT0,   "Capcom", "Ultimate Ecology (Japan 931203)", 0 )
7465GAME( 1993, ecofghta, ecofghtr, cps2, cps2_2p3b, cps2,     ROT0,   "Capcom", "Eco Fighters (Asia 931203)", 0 )
7465GAME( 1993, ecofghtra,ecofghtr, cps2, cps2_2p3b, cps2,     ROT0,   "Capcom", "Eco Fighters (Asia 931203)", 0 )
74667466GAME( 1993, ddtod,    0,        cps2, cps2_4p4b, cps2,     ROT0,   "Capcom", "Dungeons & Dragons: Tower of Doom (Euro 940412)", 0 )
74677467GAME( 1993, ddtodr1,  ddtod,    cps2, cps2_4p4b, cps2,     ROT0,   "Capcom", "Dungeons & Dragons: Tower of Doom (Euro 940113)", 0 )
74687468GAME( 1993, ddtodu,   ddtod,    cps2, cps2_4p4b, cps2,     ROT0,   "Capcom", "Dungeons & Dragons: Tower of Doom (USA 940125)", 0 )
r5338r5339
75717571GAME( 1996, spf2xj,   spf2t,    cps2, cps2_2p2b, cps2,     ROT0,   "Capcom", "Super Puzzle Fighter II X (Japan 960531)", 0 )
75727572GAME( 1996, spf2ta,   spf2t,    cps2, cps2_2p2b, cps2,     ROT0,   "Capcom", "Super Puzzle Fighter II Turbo (Asia 960529)", 0 )
75737573GAME( 1996, megaman2, 0,        cps2, cps2_2p3b, cps2,     ROT0,   "Capcom", "Mega Man 2: The Power Fighters (USA 960708)", 0 )
7574GAME( 1996, megamn2a, megaman2, cps2, cps2_2p3b, cps2,     ROT0,   "Capcom", "Mega Man 2: The Power Fighters (Asia 960708)", 0 )
7574GAME( 1996, megaman2a,megaman2, cps2, cps2_2p3b, cps2,     ROT0,   "Capcom", "Mega Man 2: The Power Fighters (Asia 960708)", 0 )
75757575GAME( 1996, rckman2j, megaman2, cps2, cps2_2p3b, cps2,     ROT0,   "Capcom", "Rockman 2: The Power Fighters (Japan 960708)", 0 )
75767576GAME( 1996, gigamn2,  megaman2, gigamn2, cps2_2p3b, gigamn2,  ROT0,   "bootleg", "Giga Man 2: The Power Fighters (bootleg of Mega Man 2: The Power Fighters)", GAME_NOT_WORKING ) // flash roms aren't dumped, layer offsets different, different sound system
75777577GAME( 1996, qndream,  0,        cps2, qndream,   cps2,     ROT0,   "Capcom", "Quiz Nanairo Dreams: Nijiirochou no Kiseki (Japan 960826)", 0 )
r5338r5339
76427642/* Games released on CPS-2 hardware by Takumi */
76437643
76447644GAME( 1999, gigawing, 0,        cps2, cps2_2p2b, cps2,     ROT0,   "Capcom, supported by Takumi", "Giga Wing (USA 990222)", 0 )
7645GAME( 1999, gwingj,   gigawing, cps2, cps2_2p2b, cps2,     ROT0,   "Capcom, supported by Takumi", "Giga Wing (Japan 990223)", 0 )
7646GAME( 1999, gwinga,   gigawing, cps2, cps2_2p2b, cps2,     ROT0,   "Capcom, supported by Takumi", "Giga Wing (Asia 990222)", 0 )
7647GAME( 1999, gwingb,   gigawing, cps2, cps2_2p2b, cps2,     ROT0,   "Capcom, supported by Takumi", "Giga Wing (Brazil 990222)", 0 )
7645GAME( 1999, gigawingj,gigawing, cps2, cps2_2p2b, cps2,     ROT0,   "Capcom, supported by Takumi", "Giga Wing (Japan 990223)", 0 )
7646GAME( 1999, gigawinga,gigawing, cps2, cps2_2p2b, cps2,     ROT0,   "Capcom, supported by Takumi", "Giga Wing (Asia 990222)", 0 )
7647GAME( 1999, gigawingb,gigawing, cps2, cps2_2p2b, cps2,     ROT0,   "Capcom, supported by Takumi", "Giga Wing (Brazil 990222)", 0 )
76487648GAME( 2000, mmatrix,  0,        cps2, cps2_2p1b, cps2,     ROT0,   "Capcom, supported by Takumi", "Mars Matrix: Hyper Solid Shooting (USA 000412)", 0 )
76497649GAME( 2000, mmatrixj, mmatrix,  cps2, cps2_2p1b, cps2,     ROT0,   "Capcom, supported by Takumi", "Mars Matrix: Hyper Solid Shooting (Japan 000412)", 0 )
76507650
src/mame/drivers/hnayayoi.c
r5338r5339
458458   PORT_START("COIN")   /* COIN */
459459   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
460460   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
461   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME(DEF_STR( Test )) PORT_CODE(KEYCODE_F1)   /* Test */
461   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME(DEF_STR(Test)) PORT_CODE(KEYCODE_F1)   /* Test */
462462   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )   /* Analizer (Statistics) */
463463   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
464464   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )   /* "Note" ("Paper Money") = 10 Credits */
r5338r5339
466466   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
467467
468468   PORT_START("KEY0")   /* P1 keyboard */
469   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Hold 1") PORT_CODE(KEYCODE_Z)
470   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Hold 3") PORT_CODE(KEYCODE_C)
471   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Hold 5") PORT_CODE(KEYCODE_B)
469   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
470   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
471   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
472472   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
473473   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
474474   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
478478   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
479479   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
480480   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
481   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Bet") PORT_CODE(KEYCODE_3)
481   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
482482   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
483   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Take Score") PORT_CODE(KEYCODE_RCONTROL)
483   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE )
484484   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
485485
486486   PORT_START("KEY2")
487   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Hold 2") PORT_CODE(KEYCODE_X)
488   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Hold 4") PORT_CODE(KEYCODE_V)
487   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
488   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
489489   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
490490   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
491   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Cancel") PORT_CODE(KEYCODE_N)
491   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_CANCEL )
492492   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
493493   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
494494
495495   PORT_START("KEY3")
496496   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
497497   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
498   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Deal") PORT_CODE(KEYCODE_1)
498   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL )
499499   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
500500   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
501501   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
503503
504504   PORT_START("KEY4")
505505   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
506   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Double Up") PORT_CODE(KEYCODE_RSHIFT)
506   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP )
507507   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
508   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Flip Flop") PORT_CODE(KEYCODE_F)
508   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Flip Flop") PORT_CODE(KEYCODE_F)
509509   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
510510   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
511511   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
src/mame/drivers/namcos12.c
r5338r5339
12521252      strcmp( machine->gamedrv->name, "pacapp" ) == 0 ||
12531253      strcmp( machine->gamedrv->name, "pacappsp" ) == 0 ||
12541254      strcmp( machine->gamedrv->name, "pacapp2" ) == 0 ||
1255      strcmp( machine->gamedrv->name, "tenkomoj" ) == 0 ||
1255      strcmp( machine->gamedrv->name, "tenkomorj" ) == 0 ||
12561256      strcmp( machine->gamedrv->name, "tenkomor" ) == 0 ||
12571257      strcmp( machine->gamedrv->name, "ptblank2" ) == 0 ||
12581258      strcmp( machine->gamedrv->name, "sws2000" ) == 0 ||
r5338r5339
19881988   ROM_LOAD( "soc1wave0.2",         0x0000000, 0x800000, CRC(c100618d) SHA1(b87f88ee42ad9c5affa674e5f816d902143fed99) )
19891989ROM_END
19901990
1991ROM_START( soulclba )
1991ROM_START( soulclbrj )
19921992   ROM_REGION32_LE( 0x00400000, "user1", 0 ) /* main prg */
19931993   ROM_LOAD16_BYTE( "soc11verc.2l", 0x0000000, 0x200000, CRC(f5e3679c) SHA1(b426cfc7707a6772e6aabbaf4a19b7f008324d55) )
19941994   ROM_LOAD16_BYTE( "soc11verc.2p", 0x0000001, 0x200000, CRC(7537719c) SHA1(d83d4c762fa7fcfd5d84de550568e92999e5bdfb) )
r5338r5339
20072007   ROM_LOAD( "soc1wave0.2",         0x0000000, 0x800000, CRC(c100618d) SHA1(b87f88ee42ad9c5affa674e5f816d902143fed99) )
20082008ROM_END
20092009
2010ROM_START( soulclbb )
2010ROM_START( soulclbrb )
20112011   ROM_REGION32_LE( 0x00400000, "user1", 0 ) /* main prg */
20122012   ROM_LOAD16_BYTE( "soc13verb.2e", 0x0000000, 0x200000, CRC(ad7cfb1e) SHA1(7d1e7fd0024e31780335690906846e91ba063003) )
20132013   ROM_LOAD16_BYTE( "soc13verb.2j", 0x0000001, 0x200000, CRC(7449c045) SHA1(1c7a8b659d0f12dded2a00bc83baeb392fd7a719) )
r5338r5339
20262026   ROM_LOAD( "soc1wave0.2",         0x0000000, 0x800000, CRC(c100618d) SHA1(b87f88ee42ad9c5affa674e5f816d902143fed99) )
20272027ROM_END
20282028
2029ROM_START( soulclbc )
2029ROM_START( soulclbrjb )
20302030   ROM_REGION32_LE( 0x00400000, "user1", 0 ) /* main prg */
20312031   ROM_LOAD16_BYTE( "soc11verb.2e", 0x0000000, 0x200000, CRC(9660d996) SHA1(6361abfd8b0d29848aabad6a5c517ba0d336359a) )
20322032   ROM_LOAD16_BYTE( "soc11verb.2j", 0x0000001, 0x200000, CRC(49939880) SHA1(a53fb8ecd71c8d59b0e08d6233ea658ae083bc6d) )
r5338r5339
20452045   ROM_LOAD( "soc1wave0.2",         0x0000000, 0x800000, CRC(c100618d) SHA1(b87f88ee42ad9c5affa674e5f816d902143fed99) )
20462046ROM_END
20472047
2048ROM_START( soulclbd )
2048ROM_START( soulclbrja )
20492049   ROM_REGION32_LE( 0x00400000, "user1", 0 ) /* main prg */
20502050   ROM_LOAD16_BYTE( "soc1vera.2l",  0x0000000, 0x200000, CRC(37e0a203) SHA1(3915b5e530c8e70a07aa8ccedeb66633ae5f670e) )
20512051   ROM_LOAD16_BYTE( "soc1vera.2p",  0x0000001, 0x200000, CRC(7cd87a35) SHA1(5a4837b6f6a49c88126a0ddbb8059a4da77127bc) )
r5338r5339
23662366   ROM_LOAD( "tkm1wave1.1",  0x0800000, 0x800000, CRC(7567796b) SHA1(99e4b867477da2ccddfa9bebc4be84adc5cba53c) )
23672367ROM_END
23682368
2369ROM_START( tenkomoj )
2369ROM_START( tenkomorj )
23702370   ROM_REGION32_LE( 0x00400000, "user1", 0 ) /* main prg */
23712371   ROM_LOAD16_BYTE( "tkm1vera.2e",  0x000000, 0x200000, CRC(d4c89229) SHA1(aba6686eef924868b3bd2142fd073303fe9c4042) )
23722372   ROM_LOAD16_BYTE( "tkm1vera.2j",  0x000001, 0x200000, CRC(a6bfcaf4) SHA1(55dfa65e07a63a413f6eb47084e60b4fc32bcde5) )
r5338r5339
24132413GAME( 1997, lbgrande,  0,        coh700,   namcos12, namcos12, ROT0, "Namco",         "Libero Grande (LG2/VER.A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC006 */
24142414GAME( 1997, toukon3,   0,        coh700,   namcos12, namcos12, ROT0, "Tomy/Namco",    "Shin Nihon Pro Wrestling Toukon Retsuden 3 Arcade Edition (Japan, TR1/VER.A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC019 */
24152415GAME( 1998, soulclbr,  0,        coh700,   namcos12, namcos12, ROT0, "Namco",         "Soul Calibur (SOC14/VER.C)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
2416GAME( 1998, soulclba,  soulclbr, coh700,   namcos12, namcos12, ROT0, "Namco",         "Soul Calibur (Japan, SOC11/VER.C)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC020 */
2417GAME( 1998, soulclbb,  soulclbr, coh700,   namcos12, namcos12, ROT0, "Namco",         "Soul Calibur (SOC13/VER.B)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC020 */
2418GAME( 1998, soulclbc,  soulclbr, coh700,   namcos12, namcos12, ROT0, "Namco",         "Soul Calibur (Japan, SOC11/VER.B)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC020 */
2419GAME( 1998, soulclbd,  soulclbr, coh700,   namcos12, namcos12, ROT0, "Namco",         "Soul Calibur (Japan, SOC11/VER.A2)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC020 */
2416GAME( 1998, soulclbrj, soulclbr, coh700,   namcos12, namcos12, ROT0, "Namco",         "Soul Calibur (Japan, SOC11/VER.C)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC020 */
2417GAME( 1998, soulclbrb, soulclbr, coh700,   namcos12, namcos12, ROT0, "Namco",         "Soul Calibur (SOC13/VER.B)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC020 */
2418GAME( 1998, soulclbrjb,soulclbr, coh700,   namcos12, namcos12, ROT0, "Namco",         "Soul Calibur (Japan, SOC11/VER.B)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC020 */
2419GAME( 1998, soulclbrja,soulclbr, coh700,   namcos12, namcos12, ROT0, "Namco",         "Soul Calibur (Japan, SOC11/VER.A2)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC020 */
24202420GAME( 1998, ehrgeiz,   0,        coh700,   namcos12, namcos12, ROT0, "Square/Namco",  "Ehrgeiz (EG3/VER.A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC021 */
24212421GAME( 1998, ehrgeiza,  ehrgeiz,  coh700,   namcos12, namcos12, ROT0, "Square/Namco",  "Ehrgeiz (EG2/VER.A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC021 */
24222422GAME( 1998, ehrgeizj,  ehrgeiz,  coh700,   namcos12, namcos12, ROT0, "Square/Namco",  "Ehrgeiz (Japan, EG1/VER.A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC021 */
24232423GAME( 1998, mdhorse,   0,        coh700,   namcos12, namcos12, ROT0, "Namco",         "Derby Quiz My Dream Horse (Japan, MDH1/VER.A2)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC035 */
24242424GAME( 1998, sws98,     0,        coh700,   namcos12, namcos12, ROT0, "Namco",         "Super World Stadium '98 (Japan, SS81/VER.A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC0?? */
2425GAME( 1998, tenkomor,  0,        coh700,   namcos12, namcos12, ROT90, "Namco",        "Tenkomori Shooting (TKM2/VER.A1)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC036 */
2426GAME( 1998, tenkomoj,  tenkomor, coh700,   namcos12, namcos12, ROT90, "Namco",        "Tenkomori Shooting (Japan, TKM1/VER.A1)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC036 */
2425GAME( 1998, tenkomor,  0,        coh700,   namcos12, namcos12, ROT90,"Namco",         "Tenkomori Shooting (TKM2/VER.A1)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC036 */
2426GAME( 1998, tenkomorj, tenkomor, coh700,   namcos12, namcos12, ROT90,"Namco",         "Tenkomori Shooting (Japan, TKM1/VER.A1)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC036 */
24272427GAME( 1998, fgtlayer,  0,        coh700,   namcos12, namcos12, ROT0, "Arika/Namco",   "Fighting Layer (Japan, FTL1/VER.A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC037 */
24282428GAME( 1999, pacapp,    0,        coh700,   namcos12, namcos12, ROT0, "Produce/Namco", "Paca Paca Passion (Japan, PPP1/VER.A2)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC038 */
24292429GAME( 1999, ptblank2,  0,        coh700,   ptblank2, ptblank2, ROT0, "Namco",         "Point Blank 2 (GNB5/VER.A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC042 */
r5338r5339
24342434GAME( 1999, tektagtc,  tektagt,  coh700,   namcos12, namcos12, ROT0, "Namco",         "Tekken Tag Tournament (Japan, TEG1/VER.A3)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) /* KC044 */
24352435GAME( 1999, ghlpanic,  0,        coh700,   ghlpanic, ghlpanic, ROT0, "Namco",         "Ghoul Panic (OB2/VER.A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC045 */
24362436GAME( 1999, pacapp2,   0,        coh700,   namcos12, namcos12, ROT0, "Produce/Namco", "Paca Paca Passion 2 (Japan, PKS1/VER.A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC046 */
2437GAME( 1999, mrdrillr,  0,        coh700,   namcos12, namcos12, ROT0, "Namco",         "Mr Driller (Japan, DRI1/VER.A2)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC048 */
2437GAME( 1999, mrdrillr,  0,        coh700,   namcos12, namcos12, ROT0, "Namco",         "Mr. Driller (Japan, DRI1/VER.A2)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC048 */
24382438GAME( 1999, kaiunqz,   0,        coh700,   namcos12, namcos12, ROT0, "Namco",         "Kaiun Quiz (Japan, KW1/VER.A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING ) /* KC050 */
24392439GAME( 1999, pacappsp,  0,        coh700,   namcos12, namcos12, ROT0, "Produce/Namco", "Paca Paca Passion Special (Japan, PSP1/VER.A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC052 */
24402440GAME( 1999, aquarush,  0,        coh700,   namcos12, namcos12, ROT0, "Namco",         "Aqua Rush (Japan, AQ1/VER.A1)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC053 */
src/mame/drivers/scramble.c
r5338r5339
16921692   ROM_LOAD( "c01s.6e",    0x0000, 0x0020, CRC(4e3caeab) SHA1(a25083c3e36d28afdefe4af6e6d4f3155e303625) )
16931693ROM_END
16941694
1695ROM_START( mrkougr2 )
1695ROM_START( mrkougar2 )
16961696   ROM_REGION( 0x10000, "maincpu", 0 )
16971697   ROM_LOAD( "atw-7l-7.bin", 0x0000, 0x1000, CRC(7b34b198) SHA1(c7793c49c5bd1360ef2d419bc4710b35f0a02760) )
16981698   ROM_LOAD( "atw-7k-6.bin", 0x1000, 0x1000, CRC(fbca23c7) SHA1(da24a01d83174bad36072d4bf6764c5a3e242561) )
r5338r5339
19491949GAME( 1982, devilfsh, 0,        devilfsh, devilfsh, devilfsh,     ROT90, "Artic", "Devil Fish", GAME_SUPPORTS_SAVE )
19501950GAME( 1983, newsin7,  0,        newsin7,  newsin7,  mars,         ROT90, "ATW USA, Inc.", "New Sinbad 7", GAME_SUPPORTS_SAVE )
19511951GAME( 1984, mrkougar, 0,        mrkougar, mrkougar, mrkougar,     ROT90, "ATW", "Mr. Kougar", GAME_SUPPORTS_SAVE )
1952GAME( 1983, mrkougr2, mrkougar, mrkougar, mrkougar, mrkougar,     ROT90, "ATW", "Mr. Kougar (earlier)", GAME_SUPPORTS_SAVE )
1952GAME( 1983, mrkougar2,mrkougar, mrkougar, mrkougar, mrkougar,     ROT90, "ATW", "Mr. Kougar (earlier)", GAME_SUPPORTS_SAVE )
19531953GAME( 1983, mrkougb,  mrkougar, mrkougb,  mrkougar, mrkougb,      ROT90, "bootleg", "Mr. Kougar (bootleg set 1)", GAME_SUPPORTS_SAVE )
19541954GAME( 1983, mrkougb2, mrkougar, mrkougb,  mrkougar, mrkougb,      ROT90, "bootleg", "Mr. Kougar (bootleg set 2)", GAME_SUPPORTS_SAVE )
19551955GAME( 1982, hotshock, 0,        hotshock, hotshock, hotshock,     ROT90, "E.G. Felaco", "Hot Shocker", GAME_SUPPORTS_SAVE )
src/mame/drivers/liberatr.c
r5338r5339
460460ROM_END
461461
462462
463ROM_START( liberat2 )
463ROM_START( liberatr2 )
464464   ROM_REGION( 0x10000, "maincpu", 0 )   /* 64k for code and data  */
465465   ROM_LOAD( "l6.bin",       0x6000, 0x1000, CRC(78093d06) SHA1(0f6ca01e27b32aae384a6ab67a6f14eedd3f1d9c) )
466466   ROM_LOAD( "l5.bin",       0x7000, 0x1000, CRC(988db636) SHA1(8fdd07b397d4bef108aafb10c06c2fd53fc1f99a) )
r5338r5339
498498 *************************************/
499499
500500GAME( 1982, liberatr, 0,        liberatr, liberatr, 0, ROT0, "Atari", "Liberator (set 1)", GAME_NO_COCKTAIL )
501GAME( 1982, liberat2, liberatr, liberat2, liberatr, 0, ROT0, "Atari", "Liberator (set 2)", GAME_NO_COCKTAIL )
501GAME( 1982, liberatr2,liberatr, liberat2, liberatr, 0, ROT0, "Atari", "Liberator (set 2)", GAME_NO_COCKTAIL )
502502
src/mame/drivers/tehkanwc.c
r5338r5339
922922
923923GAME( 1985, tehkanwc,  0,        tehkanwc, tehkanwc, 0,        ROT0,  "Tehkan", "Tehkan World Cup (set 1)", 0 )
924924GAME( 1985, tehkanwcb, tehkanwc, tehkanwc, tehkanwc, 0,        ROT0,  "Tehkan", "Tehkan World Cup (set 2, bootleg?)", 0 )
925GAME( 1985, tehkanwcc, tehkanwc, tehkanwc, tehkanwc, 0,        ROT0,  "Tehkan", "Tehkan World Cup (set 3, bootleg)", GAME_NOT_WORKING ) // aka 'World Cup 85', different inputs?
925GAME( 1985, tehkanwcc, tehkanwc, tehkanwc, tehkanwc, 0,        ROT0,  "bootleg", "Tehkan World Cup (set 3, bootleg)", GAME_NOT_WORKING ) // aka 'World Cup 85', different inputs?
926926GAMEL(1985, gridiron,  0,        tehkanwc, gridiron, 0,        ROT0,  "Tehkan", "Gridiron Fight", 0, layout_gridiron )
927927GAME( 1986, teedoff,   0,        tehkanwc, teedoff,  teedoff,  ROT90, "Tecmo", "Tee'd Off (Japan)", 0 )
src/mame/drivers/photon.c
r0r5339
1/*
2    Photon System
3
4    Uses PK8000 emulation by Miodrag Milanovic
5    Imported to MAME by Mariusz Wojcieszek
6
7    Russian arcade system based on PK8000 home computer, created by unknown manufacturer
8    in late 1980s or early 1990s.
9
10    Following games were produced for this system:
11    - Tetris
12    - Python
13    - Treasure/Labyrinth
14
15    Dump was made using custom adaptor, hence it is marked as bad dump.
16    The real machine has following roms:
17    0000...07FFh - ROM1 (D41)
18    0800...0FFFh - ROM2 (D42)
19    1000...17FFh - ROM3 (D43)
20    1800...1FFFh - not chip sealed (D44)
21    2000...27FFh - ROM5 (D45)
22    2800...2FFFh - ROM6 (D46)
23    3000...37FFh - ROM7 (D47)
24    3000...37FFh - ROM8 (D48)
25
26*/
27
28#include "driver.h"
29#include "cpu/i8085/i8085.h"
30#include "includes/pk8000.h"
31#include "machine/i8255a.h"
32#include "sound/dac.h"
33
34static void pk8000_set_bank(running_machine *machine,UINT8 data)
35{
36   UINT8 *rom = memory_region(machine, "maincpu");
37   UINT8 *ram = memory_region(machine, "maincpu");
38   UINT8 block1 = data & 3;
39   UINT8 block2 = (data >> 2) & 3;
40   UINT8 block3 = (data >> 4) & 3;
41   UINT8 block4 = (data >> 6) & 3;
42
43   switch(block1) {
44      case 0:
45            memory_set_bankptr(machine, 1, rom + 0x10000);
46            memory_set_bankptr(machine, 5, ram);
47            break;
48      case 1: break;
49      case 2: break;
50      case 3:
51            memory_set_bankptr(machine, 1, ram);
52            memory_set_bankptr(machine, 5, ram);
53            break;
54   }
55
56   switch(block2) {
57      case 0:
58            memory_set_bankptr(machine, 2, rom + 0x14000);
59            memory_set_bankptr(machine, 6, ram + 0x4000);
60            break;
61      case 1: break;
62      case 2: break;
63      case 3:
64            memory_set_bankptr(machine, 2, ram + 0x4000);
65            memory_set_bankptr(machine, 6, ram + 0x4000);
66            break;
67   }
68   switch(block3) {
69      case 0:
70            memory_set_bankptr(machine, 3, rom + 0x18000);
71            memory_set_bankptr(machine, 7, ram + 0x8000);
72            break;
73      case 1: break;
74      case 2: break;
75      case 3:
76            memory_set_bankptr(machine, 3, ram + 0x8000);
77            memory_set_bankptr(machine, 7, ram + 0x8000);
78            break;
79   }
80   switch(block4) {
81      case 0:
82            memory_set_bankptr(machine, 4, rom + 0x1c000);
83            memory_set_bankptr(machine, 8, ram + 0xc000);
84            break;
85      case 1: break;
86      case 2: break;
87      case 3:
88            memory_set_bankptr(machine, 4, ram + 0xc000);
89            memory_set_bankptr(machine, 8, ram + 0xc000);
90            break;
91   }
92}
93static WRITE8_DEVICE_HANDLER(pk8000_80_porta_w)
94{
95   pk8000_set_bank(device->machine,data);
96}
97
98static READ8_DEVICE_HANDLER(pk8000_80_portb_r)
99{
100   return 0xff;
101}
102
103static WRITE8_DEVICE_HANDLER(pk8000_80_portc_w)
104{
105   dac_signed_data_w (devtag_get_device(device->machine, "dac"), (BIT(data,7) ? 0 : 0x7f));
106}
107
108static I8255A_INTERFACE( pk8000_ppi8255_interface_1 )
109{
110   DEVCB_NULL,
111   DEVCB_HANDLER(pk8000_80_portb_r),
112   DEVCB_NULL,
113   DEVCB_HANDLER(pk8000_80_porta_w),
114   DEVCB_NULL,
115   DEVCB_HANDLER(pk8000_80_portc_w)
116};
117
118static READ8_DEVICE_HANDLER(pk8000_84_porta_r)
119{
120   return pk8000_video_mode;
121}
122
123static WRITE8_DEVICE_HANDLER(pk8000_84_porta_w)
124{
125   pk8000_video_mode = data;
126}
127
128static WRITE8_DEVICE_HANDLER(pk8000_84_portc_w)
129{
130   pk8000_video_enable = BIT(data,4);
131}
132static I8255A_INTERFACE( pk8000_ppi8255_interface_2 )
133{
134   DEVCB_HANDLER(pk8000_84_porta_r),
135   DEVCB_NULL,
136   DEVCB_NULL,
137   DEVCB_HANDLER(pk8000_84_porta_w),
138   DEVCB_NULL,
139   DEVCB_HANDLER(pk8000_84_portc_w)
140};
141
142static ADDRESS_MAP_START(pk8000_mem, ADDRESS_SPACE_PROGRAM, 8)
143   ADDRESS_MAP_UNMAP_HIGH
144   AM_RANGE( 0x0000, 0x3fff ) AM_READWRITE(SMH_BANK(1), SMH_BANK(5))
145   AM_RANGE( 0x4000, 0x7fff ) AM_READWRITE(SMH_BANK(2), SMH_BANK(6))
146   AM_RANGE( 0x8000, 0xbfff ) AM_READWRITE(SMH_BANK(3), SMH_BANK(7))
147   AM_RANGE( 0xc000, 0xffff ) AM_READWRITE(SMH_BANK(4), SMH_BANK(8))
148ADDRESS_MAP_END
149
150static ADDRESS_MAP_START( pk8000_io , ADDRESS_SPACE_IO, 8)
151   ADDRESS_MAP_UNMAP_HIGH
152   AM_RANGE(0x80, 0x83) AM_DEVREADWRITE("ppi8255_1", i8255a_r, i8255a_w)
153   AM_RANGE(0x84, 0x87) AM_DEVREADWRITE("ppi8255_2", i8255a_r, i8255a_w)
154   AM_RANGE(0x88, 0x88) AM_READWRITE(pk8000_video_color_r,pk8000_video_color_w)
155   AM_RANGE(0x8c, 0x8c) AM_READ_PORT("JOY1")
156   AM_RANGE(0x8d, 0x8d) AM_READ_PORT("JOY2")
157   AM_RANGE(0x90, 0x90) AM_READWRITE(pk8000_text_start_r,pk8000_text_start_w)
158   AM_RANGE(0x91, 0x91) AM_READWRITE(pk8000_chargen_start_r,pk8000_chargen_start_w)
159   AM_RANGE(0x92, 0x92) AM_READWRITE(pk8000_video_start_r,pk8000_video_start_w)
160   AM_RANGE(0x93, 0x93) AM_READWRITE(pk8000_color_start_r,pk8000_color_start_w)
161   AM_RANGE(0xa0, 0xbf) AM_READWRITE(pk8000_color_r,pk8000_color_w)
162ADDRESS_MAP_END
163
164static INPUT_PORTS_START( photon )
165   PORT_START("JOY1")
166   PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP) PORT_PLAYER(1)
167   PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN) PORT_PLAYER(1)
168   PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT) PORT_PLAYER(1)
169   PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT) PORT_PLAYER(1)
170   PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_COIN1)
171   PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_UNUSED)
172   PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_UNUSED)
173   PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_UNUSED)
174
175   PORT_START("JOY2")
176   PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP) PORT_PLAYER(2)
177   PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN) PORT_PLAYER(2)
178   PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT) PORT_PLAYER(2)
179   PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT) PORT_PLAYER(2)
180   PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_COIN2)
181   PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_UNUSED)
182   PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_UNUSED)
183   PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_UNUSED)
184INPUT_PORTS_END
185
186
187INTERRUPT_GEN( pk8000_interrupt )
188{
189   cpu_set_input_line(device, 0, HOLD_LINE);
190}
191
192static IRQ_CALLBACK(pk8000_irq_callback)
193{
194   return 0xff;
195}
196
197
198static MACHINE_RESET(pk8000)
199{
200   pk8000_set_bank(machine,0);
201   cpu_set_irq_callback(cputag_get_cpu(machine, "maincpu"), pk8000_irq_callback);
202}
203
204static VIDEO_START( photon )
205{
206}
207
208static VIDEO_UPDATE( photon )
209{
210   return pk8000_video_update(screen, bitmap, cliprect, memory_region(screen->machine, "maincpu"));
211}
212
213static MACHINE_DRIVER_START( photon )
214
215    /* basic machine hardware */
216    MDRV_CPU_ADD("maincpu",8080, 1780000)
217    MDRV_CPU_PROGRAM_MAP(pk8000_mem)
218    MDRV_CPU_IO_MAP(pk8000_io)
219    MDRV_CPU_VBLANK_INT("screen", pk8000_interrupt)
220
221    MDRV_MACHINE_RESET(pk8000)
222
223    /* video hardware */
224    MDRV_SCREEN_ADD("screen", RASTER)
225    MDRV_SCREEN_REFRESH_RATE(50)
226    MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
227    MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
228    MDRV_SCREEN_SIZE(256+32, 192+32)
229    MDRV_SCREEN_VISIBLE_AREA(0, 256+32-1, 0, 192+32-1)
230    MDRV_PALETTE_LENGTH(16)
231    MDRV_PALETTE_INIT(pk8000)
232
233    MDRV_VIDEO_START(photon)
234    MDRV_VIDEO_UPDATE(photon)
235
236    MDRV_I8255A_ADD( "ppi8255_1", pk8000_ppi8255_interface_1 )
237    MDRV_I8255A_ADD( "ppi8255_2", pk8000_ppi8255_interface_2 )
238
239    /* audio hardware */
240   MDRV_SPEAKER_STANDARD_MONO("mono")
241   MDRV_SOUND_ADD("dac", DAC, 0)
242   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
243MACHINE_DRIVER_END
244
245
246ROM_START( phtetris )
247   ROM_REGION( 0x20000, "maincpu", 0 )
248   ROM_LOAD( "foton_tetris.bin", 0x10000, 0x4000, BAD_DUMP CRC(a8af10bb) SHA1(5e2ea9a5d38399cbe156638eea73a3d25c442f77) )
249ROM_END
250
251GAME( 19??, phtetris, 0,      photon, photon, 0, ROT0, "<unknown>", "Tetris (Photon System)", 0 )
src/mame/drivers/citycon.c
r5338r5339
11/***************************************************************************
22
3City Connection (c) 1985 Jaleco
34
452008-07
56Dip locations added from dip listing at crazykong.com
r5338r5339
2829   return input_port_read(space->machine, flip_screen_get(space->machine) ? "P2" : "P1");
2930}
3031
32static READ8_HANDLER( citycon_irq_ack_r )
33{
34   cputag_set_input_line(space->machine, "maincpu", 0, CLEAR_LINE);
3135
36   return 0;
37}
3238
3339static ADDRESS_MAP_START( citycon_map, ADDRESS_SPACE_PROGRAM, 8 )
3440   AM_RANGE(0x0000, 0x0fff) AM_RAM
3541   AM_RANGE(0x1000, 0x1fff) AM_RAM_WRITE(citycon_videoram_w) AM_BASE(&citycon_videoram)
36   AM_RANGE(0x2000, 0x20ff) AM_WRITE(citycon_linecolor_w) AM_BASE(&citycon_linecolor)
37   AM_RANGE(0x2800, 0x28ff) AM_WRITE(SMH_RAM) AM_BASE(&spriteram) AM_SIZE(&spriteram_size)
42   AM_RANGE(0x2000, 0x20ff) AM_RAM_WRITE(citycon_linecolor_w) AM_BASE(&citycon_linecolor)
43   AM_RANGE(0x2800, 0x28ff) AM_RAM AM_BASE(&spriteram) AM_SIZE(&spriteram_size)
44   AM_RANGE(0x2800, 0x2fff) AM_NOP //0x2900-0x2fff cleared at post but unused
3845   AM_RANGE(0x3000, 0x3000) AM_READWRITE(citycon_in_r, citycon_background_w)   /* player 1 & 2 inputs multiplexed */
3946   AM_RANGE(0x3001, 0x3001) AM_READ_PORT("DSW1") AM_WRITE(soundlatch_w)
4047   AM_RANGE(0x3002, 0x3002) AM_READ_PORT("DSW2") AM_WRITE(soundlatch2_w)
41   AM_RANGE(0x3004, 0x3005) AM_WRITE(SMH_RAM) AM_BASE(&citycon_scroll)
42   AM_RANGE(0x3007, 0x3007) AM_READ(watchdog_reset_r)   /* ? */
43   AM_RANGE(0x3800, 0x3cff) AM_WRITE(paletteram_RRRRGGGGBBBBxxxx_be_w) AM_BASE(&paletteram)
48   AM_RANGE(0x3004, 0x3005) AM_READNOP AM_WRITEONLY AM_BASE(&citycon_scroll)
49   AM_RANGE(0x3007, 0x3007) AM_READ(citycon_irq_ack_r)
50   AM_RANGE(0x3800, 0x3cff) AM_RAM_WRITE(paletteram_RRRRGGGGBBBBxxxx_be_w) AM_BASE(&paletteram)
4451   AM_RANGE(0x4000, 0xffff) AM_ROM
4552ADDRESS_MAP_END
4653
r5338r5339
194201   /* basic machine hardware */
195202   MDRV_CPU_ADD("maincpu", M6809, 2048000)        /* 2.048 MHz ??? */
196203   MDRV_CPU_PROGRAM_MAP(citycon_map)
197   MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
204   MDRV_CPU_VBLANK_INT("screen", irq0_line_assert)
198205
199206   MDRV_CPU_ADD("audiocpu", M6809, 640000)       /* 0.640 MHz ??? */
200207   MDRV_CPU_PROGRAM_MAP(sound_map)
201   MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
208//  MDRV_CPU_VBLANK_INT("screen", irq0_line_hold) //actually unused, probably it was during development
202209
203210   /* video hardware */
204211   MDRV_SCREEN_ADD("screen", RASTER)
r5338r5339
210217
211218   MDRV_GFXDECODE(citycon)
212219   MDRV_PALETTE_LENGTH(640+1024)   /* 640 real palette + 1024 virtual palette */
220   MDRV_PALETTE_INIT(all_black) /* guess */
213221
214222   MDRV_VIDEO_START(citycon)
215223   MDRV_VIDEO_UPDATE(citycon)
src/mame/drivers/ampoker2.c
r5338r5339
613613   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
614614   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
615615   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
616   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Hopper 1") PORT_CODE(KEYCODE_Y)
617   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2)
616   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hopper 1") PORT_CODE(KEYCODE_Y)
617   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)
618618   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
619619   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
620620   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
621   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN3 )   PORT_IMPULSE(2)
621   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)
622622
623623   PORT_START("IN1")
624624   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
625625   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
626626   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
627   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
628   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Operator Key") PORT_TOGGLE PORT_CODE(KEYCODE_9)
627   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
628   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Operator Key") PORT_TOGGLE
629629   PORT_DIPNAME( 0x08, 0x08, "Remote Mode" )
630630   PORT_DIPSETTING(    0x08, "Mode 1" )
631631   PORT_DIPSETTING(    0x00, "Mode 2" )
632   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
632   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
633633
634634   PORT_START("IN2")
635635   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
636636   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
637637   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
638   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("RTS") PORT_CODE(KEYCODE_U)
639   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Door Switch") PORT_CODE(KEYCODE_W)
638   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("RTS") PORT_CODE(KEYCODE_U)
639   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_DOOR ) PORT_NAME("Door Switch")
640640   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
641641   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
642642   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
643   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_Q)
643   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
644644
645645   PORT_START("IN3")
646   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Hopper Out") PORT_CODE(KEYCODE_I)
647   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Supervisor Key") PORT_TOGGLE PORT_CODE(KEYCODE_0)
646   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hopper Out") PORT_CODE(KEYCODE_G)
647   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Supervisor Key") PORT_TOGGLE PORT_CODE(KEYCODE_0)
648648   PORT_DIPNAME( 0x08, 0x08, "Remote Credits" ) PORT_DIPLOCATION("SW1:1") /* DSW1 */
649   PORT_DIPSETTING(    0x08, "Cred x 100" ) PORT_CONDITION("IN1",0x08,PORTCOND_EQUALS,0x08)
650   PORT_DIPSETTING(    0x00, "Cred x  50" ) PORT_CONDITION("IN1",0x08,PORTCOND_EQUALS,0x08)
651   PORT_DIPSETTING(    0x08, "Cred x  20" ) PORT_CONDITION("IN1",0x08,PORTCOND_EQUALS,0x00) /* x100 in ampkr95 */
652   PORT_DIPSETTING(    0x00, "Remote Off" ) PORT_CONDITION("IN1",0x08,PORTCOND_EQUALS,0x00)
653   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Black Card") PORT_CODE(KEYCODE_S)
649   PORT_DIPSETTING(    0x08, "Cred x 100" ) PORT_CONDITION("IN1", 0x08, PORTCOND_EQUALS,0x08)
650   PORT_DIPSETTING(    0x00, "Cred x  50" ) PORT_CONDITION("IN1", 0x08, PORTCOND_EQUALS,0x08)
651   PORT_DIPSETTING(    0x08, "Cred x  20" ) PORT_CONDITION("IN1", 0x08, PORTCOND_EQUALS,0x00) /* x100 in ampkr95 */
652   PORT_DIPSETTING(    0x00, "Remote Off" ) PORT_CONDITION("IN1", 0x08, PORTCOND_EQUALS,0x00)
653   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Black Card")
654654
655655   PORT_START("IN4")
656   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) /* not used */
657   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Hopper Low") PORT_CODE(KEYCODE_H)
658   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
656   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* not used */
657   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hopper Low") PORT_CODE(KEYCODE_H)
658   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
659659   PORT_DIPNAME( 0x08, 0x08, "Auto Hold" )      PORT_DIPLOCATION("SW1:2") /* DSW2 */
660660   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
661661   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
662   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Deal / Take") PORT_CODE(KEYCODE_1)
662   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Take")
663663
664664   PORT_START("IN5")
665665   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
666666   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
667667   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
668   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Return Line") PORT_CODE(KEYCODE_J)
669   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("TILT") PORT_CODE(KEYCODE_K)
668   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Return Line") PORT_CODE(KEYCODE_J)
669   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("TILT") PORT_CODE(KEYCODE_K)
670670   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
671671   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
672672   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
673   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
673   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
674674
675675   PORT_START("IN6")
676676   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
677677   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
678678   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
679   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Bet / Red Card") PORT_CODE(KEYCODE_A)
680   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
679   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Red Card / Bet")
680   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
681681   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
682682   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
683683   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
684   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)
684   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)
685685
686686   PORT_START("IN7")
687   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE ) /* not used */
688   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Remote Credits") PORT_IMPULSE(12) PORT_CODE(KEYCODE_3)
689   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN4 )   PORT_IMPULSE(2)
687   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* not used */
688   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Remote Credits") PORT_IMPULSE(12) PORT_CODE(KEYCODE_3)
689   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)
690690   PORT_DIPNAME( 0x08, 0x08, "Jackpot" )        PORT_DIPLOCATION("SW1:8") /* DSW8 */
691691   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
692692   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
693   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Clear Credits") PORT_CODE(KEYCODE_4)
693   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Clear Credits") PORT_CODE(KEYCODE_4)
694694INPUT_PORTS_END
695695
696696static INPUT_PORTS_START( ampkr95 )
r5338r5339
698698   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
699699   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
700700   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
701   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Hopper 1") PORT_CODE(KEYCODE_Y)
702   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2)
701   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hopper 1") PORT_CODE(KEYCODE_Y)
702   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)
703703   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
704704   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
705705   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
706   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN3 )   PORT_IMPULSE(2)
706   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)
707707
708708   PORT_START("IN1")
709709   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
710710   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
711711   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
712   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
713   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Operator Key") PORT_TOGGLE PORT_CODE(KEYCODE_9)
712   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
713   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Operator Key") PORT_TOGGLE
714714   PORT_DIPNAME( 0x08, 0x08, "Remote Mode" )
715715   PORT_DIPSETTING(    0x08, "Mode 1" )
716716   PORT_DIPSETTING(    0x00, "Mode 2" )
717   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
717   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
718718
719719   PORT_START("IN2")
720720   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
721721   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
722722   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
723   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("RTS") PORT_CODE(KEYCODE_U)
724   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Door Switch") PORT_CODE(KEYCODE_W)
723   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("RTS") PORT_CODE(KEYCODE_U)
724   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_DOOR ) PORT_NAME("Door Switch")
725725   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
726726   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
727727   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
728728   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_Q)
729729
730730   PORT_START("IN3")
731   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Hopper Out") PORT_CODE(KEYCODE_I)
732   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Supervisor Key") PORT_TOGGLE PORT_CODE(KEYCODE_0)
731   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hopper Out") PORT_CODE(KEYCODE_G)
732   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Supervisor Key") PORT_TOGGLE PORT_CODE(KEYCODE_0)
733733   PORT_DIPNAME( 0x08, 0x08, "Remote Credits" ) PORT_DIPLOCATION("SW1:1") /* DSW1 */
734734   PORT_DIPSETTING(    0x08, "Cred x 100" ) PORT_CONDITION("IN1",0x08,PORTCOND_EQUALS,0x08)
735735   PORT_DIPSETTING(    0x00, "Cred x  50" ) PORT_CONDITION("IN1",0x08,PORTCOND_EQUALS,0x08)
736736   PORT_DIPSETTING(    0x08, "Cred x 100" ) PORT_CONDITION("IN1",0x08,PORTCOND_EQUALS,0x00) /* x100 in ampkr95 */
737737   PORT_DIPSETTING(    0x00, "Remote Off" ) PORT_CONDITION("IN1",0x08,PORTCOND_EQUALS,0x00)
738   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Black Card") PORT_CODE(KEYCODE_S)
738   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Black Card")
739739
740740   PORT_START("IN4")
741   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) /* not used */
742   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Hopper Low") PORT_CODE(KEYCODE_H)
743   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
741   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* not used */
742   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hopper Low") PORT_CODE(KEYCODE_H)
743   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
744744   PORT_DIPNAME( 0x08, 0x08, "Auto Hold" )      PORT_DIPLOCATION("SW1:2") /* DSW2 */
745745   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
746746   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
747   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Deal / Take") PORT_CODE(KEYCODE_1)
747   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Take")
748748
749749   PORT_START("IN5")
750750   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
751751   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
752752   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
753   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Return Line") PORT_CODE(KEYCODE_J)
754   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("TILT") PORT_CODE(KEYCODE_K)
753   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Return Line") PORT_CODE(KEYCODE_J)
754   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("TILT") PORT_CODE(KEYCODE_K)
755755   PORT_DIPNAME( 0x08, 0x08, "Rate Table SW1" ) PORT_DIPLOCATION("SW1:3") /* DSW3 (should be arranged with DSW4) */
756756   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
757757   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
758   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
758   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
759759
760760   PORT_START("IN6")
761761   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
762762   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
763763   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
764   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Bet / Red") PORT_CODE(KEYCODE_A)
765   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
764   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Bet / Red")
765   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
766766   PORT_DIPNAME( 0x08, 0x08, "Rate Table SW2" ) PORT_DIPLOCATION("SW1:4") /* DSW4 (should be arranged with DSW3) */
767767   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
768768   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
769   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)
769   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)
770770
771771   PORT_START("IN7")
772   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE ) /* not used */
773   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Remote Credits") PORT_IMPULSE(12) PORT_CODE(KEYCODE_3)
774   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN4 )   PORT_IMPULSE(2)
772   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* not used */
773   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Remote Credits") PORT_IMPULSE(12) PORT_CODE(KEYCODE_3)
774   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)
775775   PORT_DIPNAME( 0x08, 0x08, "Jackpot" )        PORT_DIPLOCATION("SW1:8") /* DSW8 */
776776   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
777777   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
778   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Clear Credits") PORT_CODE(KEYCODE_4)
778   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Clear Credits") PORT_CODE(KEYCODE_4)
779779INPUT_PORTS_END
780780
781781static INPUT_PORTS_START( sigmapkr )
r5338r5339
783783   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
784784   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
785785   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
786   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Hopper 1") PORT_CODE(KEYCODE_Y)
787   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2)
786   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hopper 1") PORT_CODE(KEYCODE_Y)
787   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)
788788   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
789789   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
790790   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
791   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN3 )   PORT_IMPULSE(2)
791   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)
792792
793793   PORT_START("IN1")
794794   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
795795   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
796796   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
797   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
798   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Operator Key") PORT_TOGGLE PORT_CODE(KEYCODE_9)
797   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
798   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Operator Key") PORT_TOGGLE
799799   PORT_DIPNAME( 0x08, 0x08, "Remote Mode" )
800800   PORT_DIPSETTING(    0x08, "Mode 1" )
801801   PORT_DIPSETTING(    0x00, "Mode 2" )
802   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
802   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
803803
804804   PORT_START("IN2")
805805   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
806806   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
807807   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
808   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("RTS") PORT_CODE(KEYCODE_U)
809   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Door Switch") PORT_CODE(KEYCODE_W)
808   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("RTS") PORT_CODE(KEYCODE_U)
809   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_DOOR ) PORT_NAME("Door Switch")
810810   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
811811   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
812812   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
813813   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_Q)
814814
815815   PORT_START("IN3")
816   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Hopper Out") PORT_CODE(KEYCODE_I)
817   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Supervisor Key") PORT_TOGGLE PORT_CODE(KEYCODE_0)
816   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hopper Out") PORT_CODE(KEYCODE_G)
817   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Supervisor Key") PORT_TOGGLE PORT_CODE(KEYCODE_0)
818818   PORT_DIPNAME( 0x08, 0x08, "Remote Credits" ) PORT_DIPLOCATION("SW1:1") /* DSW1 */
819819   PORT_DIPSETTING(    0x08, "Cred x 100" ) PORT_CONDITION("IN1",0x08,PORTCOND_EQUALS,0x08)
820820   PORT_DIPSETTING(    0x00, "Cred x  50" ) PORT_CONDITION("IN1",0x08,PORTCOND_EQUALS,0x08)
r5338r5339
823823   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Double") PORT_CODE(KEYCODE_S)
824824
825825   PORT_START("IN4")
826   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) /* not used */
827   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Hopper Low") PORT_CODE(KEYCODE_H)
828   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
826   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* not used */
827   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hopper Low") PORT_CODE(KEYCODE_H)
828   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
829829   PORT_DIPNAME( 0x08, 0x08, "Auto Hold" )      PORT_DIPLOCATION("SW1:2") /* DSW2 */
830830   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
831831   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
832   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Deal / Take") PORT_CODE(KEYCODE_1)
832   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Take")
833833
834834   PORT_START("IN5")
835835   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
836836   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
837837   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
838   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Return Line") PORT_CODE(KEYCODE_J)
839   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("TILT") PORT_CODE(KEYCODE_K)
838   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Return Line") PORT_CODE(KEYCODE_J)
839   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("TILT") PORT_CODE(KEYCODE_K)
840840   PORT_DIPNAME( 0x08, 0x08, "Rate Table SW1" ) PORT_DIPLOCATION("SW1:3") /* DSW3 (should be arranged with DSW4) */
841841   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
842842   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
843   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
843   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
844844
845845   PORT_START("IN6")
846846   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
847847   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
848848   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
849   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_A)
850   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
849   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
850   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
851851   PORT_DIPNAME( 0x08, 0x08, "Rate Table SW2" ) PORT_DIPLOCATION("SW1:4") /* DSW4 (should be arranged with DSW3) */
852852   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
853853   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
854   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)
854   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)
855855
856856   PORT_START("IN7")
857   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE ) /* not used */
858   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Remote Credits") PORT_IMPULSE(12) PORT_CODE(KEYCODE_3)
859   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN4 )   PORT_IMPULSE(2)
857   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* not used */
858   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Remote Credits") PORT_IMPULSE(12) PORT_CODE(KEYCODE_3)
859   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)
860860   PORT_DIPNAME( 0x08, 0x08, "Jackpot" )        PORT_DIPLOCATION("SW1:8") /* DSW8 */
861861   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
862862   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
863   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Clear Credits") PORT_CODE(KEYCODE_4)
863   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Clear Credits") PORT_CODE(KEYCODE_4)
864864INPUT_PORTS_END
865865
866866static INPUT_PORTS_START( sigma2k )
r5338r5339
878878
879879   PORT_START("IN1")
880880   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
881   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
882   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Operator Key") PORT_TOGGLE PORT_CODE(KEYCODE_9)
881   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
882   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Operator Key") PORT_TOGGLE
883883   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
884884   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
885885   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
886   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
886   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
887887   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
888888   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
889889   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
r5338r5339
903903   PORT_START("IN3")
904904   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
905905   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
906   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Supervisor Key") PORT_TOGGLE PORT_CODE(KEYCODE_0)
906   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Supervisor Key") PORT_TOGGLE PORT_CODE(KEYCODE_0)
907907   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
908908   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
909909   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
910   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Half Gamble") PORT_CODE(KEYCODE_S)
910   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_HALF ) PORT_NAME("Half Gamble")
911911   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
912912   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
913913   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
r5338r5339
915915   PORT_START("IN4")
916916   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
917917   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
918   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
918   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
919919   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
920920   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
921921   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
922   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Deal / Take") PORT_CODE(KEYCODE_1)
922   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Take")
923923   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
924924   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
925925   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
r5338r5339
931931   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
932932   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
933933   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
934   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
934   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
935935   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
936936   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
937937   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
938938
939939   PORT_START("IN6")
940940   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
941   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_A)
942   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
941   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
942   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
943943   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
944944   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
945945   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
r5338r5339
950950
951951   PORT_START("IN7")
952952   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
953   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Credits IN") PORT_CODE(KEYCODE_5)
953   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_NAME("Credits In")
954954   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
955955   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
956956   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
957957   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
958   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Clear Credits") PORT_CODE(KEYCODE_M)
958   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Clear Credits") PORT_CODE(KEYCODE_4)
959959   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
960960   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
961961   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
r5338r5339
12151215
12161216/*     YEAR  NAME      PARENT    MACHINE   INPUT     INIT  ROT    COMPANY       FULLNAME                             FLAGS  LAYOUT      */
12171217GAMEL( 1990, ampoker2, 0,        ampoker2, ampoker2, 0,    ROT0, "Novomatic",  "American Poker II",                  GAME_SUPPORTS_SAVE,     layout_ampoker2 )
1218GAMEL( 1990, ampkr2b1, ampoker2, ampoker2, ampoker2, 0,    ROT0, "Bootleg",    "American Poker II (bootleg, set 1)", GAME_SUPPORTS_SAVE,     layout_ampoker2 )
1219GAMEL( 1990, ampkr2b2, ampoker2, ampoker2, ampoker2, 0,    ROT0, "Bootleg",    "American Poker II (bootleg, set 2)", GAME_SUPPORTS_SAVE,     layout_ampoker2 )
1220GAMEL( 1994, ampkr2b3, ampoker2, ampoker2, ampoker2, 0,    ROT0, "Bootleg",    "American Poker II (bootleg, set 3)", GAME_SUPPORTS_SAVE,     layout_ampoker2 )
1221GAMEL( 1994, ampkr2b4, ampoker2, ampoker2, ampoker2, 0,    ROT0, "Bootleg",    "American Poker II (bootleg, set 4)", GAME_SUPPORTS_SAVE,     layout_ampoker2 )
1222GAMEL( 1994, ampkr228, ampoker2, ampoker2, ampoker2, 0,    ROT0, "Bootleg?",   "American Poker II (iamp2 v28)",      GAME_SUPPORTS_SAVE,     layout_ampoker2 )
1223GAMEL( 1995, ampkr95,  ampoker2, ampoker2, ampkr95,  0,    ROT0, "Bootleg",    "American Poker 95",                  GAME_SUPPORTS_SAVE,     layout_ampoker2 )
1224GAMEL( 1990, pkrdewin, ampoker2, ampoker2, ampoker2, 0,    ROT0, "Bootleg",    "Poker De Win",                       GAME_SUPPORTS_SAVE,     layout_ampoker2 )
1225GAMEL( 1990, videomat, ampoker2, ampoker2, ampoker2, 0,    ROT0, "Bootleg",    "Videomat (polish bootleg)",          GAME_SUPPORTS_SAVE,     layout_ampoker2 )
1218GAMEL( 1990, ampkr2b1, ampoker2, ampoker2, ampoker2, 0,    ROT0, "bootleg",    "American Poker II (bootleg, set 1)", GAME_SUPPORTS_SAVE,     layout_ampoker2 )
1219GAMEL( 1990, ampkr2b2, ampoker2, ampoker2, ampoker2, 0,    ROT0, "bootleg",    "American Poker II (bootleg, set 2)", GAME_SUPPORTS_SAVE,     layout_ampoker2 )
1220GAMEL( 1994, ampkr2b3, ampoker2, ampoker2, ampoker2, 0,    ROT0, "bootleg",    "American Poker II (bootleg, set 3)", GAME_SUPPORTS_SAVE,     layout_ampoker2 )
1221GAMEL( 1994, ampkr2b4, ampoker2, ampoker2, ampoker2, 0,    ROT0, "bootleg",    "American Poker II (bootleg, set 4)", GAME_SUPPORTS_SAVE,     layout_ampoker2 )
1222GAMEL( 1994, ampkr228, ampoker2, ampoker2, ampoker2, 0,    ROT0, "bootleg?",   "American Poker II (iamp2 v28)",      GAME_SUPPORTS_SAVE,     layout_ampoker2 )
1223GAMEL( 1995, ampkr95,  ampoker2, ampoker2, ampkr95,  0,    ROT0, "bootleg",    "American Poker 95",                  GAME_SUPPORTS_SAVE,     layout_ampoker2 )
1224GAMEL( 1990, pkrdewin, ampoker2, ampoker2, ampoker2, 0,    ROT0, "bootleg",    "Poker De Win",                       GAME_SUPPORTS_SAVE,     layout_ampoker2 )
1225GAMEL( 1990, videomat, ampoker2, ampoker2, ampoker2, 0,    ROT0, "bootleg",    "Videomat (polish bootleg)",          GAME_SUPPORTS_SAVE,     layout_ampoker2 )
12261226GAMEL( 1995, sigmapkr, 0,        ampoker2, sigmapkr, 0,    ROT0, "Sigma Inc.", "Sigma Poker",                        GAME_SUPPORTS_SAVE,     layout_sigmapkr )
12271227GAMEL( 1998, sigma2k,  0,        sigma2k,  sigma2k,  0,    ROT0, "Sigma Inc.", "Sigma Poker 2000",                   GAME_SUPPORTS_SAVE,     layout_sigmapkr )
src/mame/drivers/playmark.c
r5338r5339
11651165   ROM_COPY( "user2", 0x0e0000, 0x1a0000, 0x020000)
11661166ROM_END
11671167
1168ROM_START( wbeachv2 )
1168ROM_START( wbeachvl2 )
11691169   ROM_REGION( 0x80000, "maincpu", 0 )   /* 68000 code */
11701170   ROM_LOAD16_BYTE( "2.bin",   0x000000, 0x40000, CRC(8993487e) SHA1(c927ae655807f9046f66ff96a30bd2c6fa671566) )
11711171   ROM_LOAD16_BYTE( "3.bin",   0x000001, 0x40000, CRC(15904789) SHA1(640c80bbf7302529e1a39c2ae60e018ecb176478) )
r5338r5339
13611361
13621362/* Different revision of the PCB, uses larger gfx ROMs, however the content is the same */
13631363
1364ROM_START( hrdtimea )
1364ROM_START( hrdtimesa )
13651365   ROM_REGION( 0x100000, "maincpu", 0 )   /* 68000 code */
13661366   ROM_LOAD16_BYTE( "u67.bin",       0x00000, 0x80000, CRC(3e1334cb) SHA1(9523c04f92371a35c297280b42b1604e23790a1e) )
13671367   ROM_LOAD16_BYTE( "u66.bin",       0x00001, 0x80000, CRC(041ec30a) SHA1(00476ebd0a64cbd027be159cae7666d2df6d11ba) )
r5338r5339
14701470
14711471GAME( 1995, bigtwin,  0,        bigtwin,  bigtwin,  bigtwin, ROT0, "Playmark", "Big Twin", GAME_NO_COCKTAIL )
14721472GAME( 1995, wbeachvl, 0,        wbeachvl, wbeachvl, 0,       ROT0, "Playmark", "World Beach Volley (set 1)", GAME_NO_COCKTAIL | GAME_NO_SOUND )
1473GAME( 1995, wbeachv2, wbeachvl, wbeachvl, wbeachvl, 0,       ROT0, "Playmark", "World Beach Volley (set 2)",  GAME_NO_COCKTAIL | GAME_NO_SOUND )
1473GAME( 1995, wbeachvl2,wbeachvl, wbeachvl, wbeachvl, 0,       ROT0, "Playmark", "World Beach Volley (set 2)",  GAME_NO_COCKTAIL | GAME_NO_SOUND )
14741474GAME( 1996, excelsr,  0,        excelsr,  excelsr,  bigtwin, ROT0, "Playmark", "Excelsior", 0 )
14751475GAME( 1995, hotmind,  0,        hotmind,  hotmind,  bigtwin, ROT0, "Playmark", "Hot Mind", 0 )
14761476GAME( 1994, hrdtimes, 0,        hrdtimes, hrdtimes, 0,       ROT0, "Playmark", "Hard Times (set 1)", GAME_NO_SOUND )
1477GAME( 1994, hrdtimea, hrdtimes, hrdtimes, hrdtimes, 0,       ROT0, "Playmark", "Hard Times (set 2)", GAME_NO_SOUND )
1477GAME( 1994, hrdtimesa,hrdtimes, hrdtimes, hrdtimes, 0,       ROT0, "Playmark", "Hard Times (set 2)", GAME_NO_SOUND )
src/mame/drivers/pgm.c
r5338r5339
21362136   ROM_LOAD( "m0100.rom",    0x400000, 0x200000, CRC(e5c36c83) SHA1(50c6f66770e8faa3df349f7d68c407a7ad021716) )
21372137ROM_END
21382138
2139ROM_START( orlegnde )
2139ROM_START( orlegende )
21402140   ROM_REGION( 0x600000, "maincpu", 0 ) /* 68000 Code  */
21412141   ROM_LOAD16_WORD_SWAP( "pgm_p01s.rom", 0x000000, 0x020000, CRC(e42b166e) SHA1(2a9df9ec746b14b74fae48b1a438da14973702ea) )// (BIOS)
21422142   ROM_LOAD16_WORD_SWAP( "p0102.rom",    0x100000, 0x200000, CRC(4d0f6cc5) SHA1(8d41f0a712fb11a1da865f5159e5e27447b4388a) )
r5338r5339
21682168   ROM_LOAD( "m0100.rom",    0x400000, 0x200000, CRC(e5c36c83) SHA1(50c6f66770e8faa3df349f7d68c407a7ad021716) )
21692169ROM_END
21702170
2171ROM_START( orlegndc )
2171ROM_START( orlegendc )
21722172   ROM_REGION( 0x600000, "maincpu", 0 ) /* 68000 Code  */
21732173   ROM_LOAD16_WORD_SWAP( "pgm_p01s.rom", 0x000000, 0x020000, CRC(e42b166e) SHA1(2a9df9ec746b14b74fae48b1a438da14973702ea) )// (BIOS)
21742174   ROM_LOAD16_WORD_SWAP( "p0101.160",    0x100000, 0x200000, CRC(b24f0c1e) SHA1(a2cf75d739681f091c24ef78ed6fc13aa8cfe0c6) )
r5338r5339
22332233
22342234*/
22352235
2236ROM_START( orld111c )
2236ROM_START( orlegend111c )
22372237   ROM_REGION( 0x600000, "maincpu", 0 ) /* 68000 Code  */
22382238   ROM_LOAD16_WORD_SWAP( "pgm_p01s.rom", 0x000000, 0x020000, CRC(e42b166e) SHA1(2a9df9ec746b14b74fae48b1a438da14973702ea) )// (BIOS)
22392239   ROM_LOAD16_BYTE( "olv111ch.u6",     0x100001, 0x080000, CRC(5fb86373) SHA1(2fc58eff1f38754c75819fde666244b867ca4f05) )
r5338r5339
23012301
23022302*/
23032303
2304ROM_START( orld105k )
2304ROM_START( orlegend105k )
23052305   ROM_REGION( 0x600000, "maincpu", 0 ) /* 68000 Code  */
23062306   ROM_LOAD16_WORD_SWAP( "pgm_p01s.rom", 0x000000, 0x020000, CRC(e42b166e) SHA1(2a9df9ec746b14b74fae48b1a438da14973702ea) )// (BIOS)
23072307   ROM_LOAD16_BYTE( "olv105ko.u6",     0x100001, 0x080000, CRC(b86703fe) SHA1(a3529b45efd400ecd5e76f764b528ebce46e24ab) )
r5338r5339
37773777   ROM_LOAD( "m1001.u7",    0xc00000, 0x400000, CRC(662d2d48) SHA1(2fcc3099d9c04456cae3b13035fb28eaf709e7d8) )
37783778ROM_END
37793779
3780ROM_START( martmasc )
3780ROM_START( martmastc )
37813781   ROM_REGION( 0x600000, "maincpu", 0 ) /* 68000 Code */
37823782   ROM_LOAD16_WORD_SWAP( "pgm_p01s.rom", 0x000000, 0x020000, CRC(e42b166e) SHA1(2a9df9ec746b14b74fae48b1a438da14973702ea) )  // (BIOS)
37833783   ROM_LOAD16_WORD_SWAP( "v104_32m.u9",    0x100000, 0x400000, CRC(cfd9dff4) SHA1(328eaf6ac49a73265ee4e0f992b1b1312f49877b) )
r5338r5339
41424142GAME( 1997, pgm,      0,          pgm, pgm,      pgm,        ROT0,   "IGS", "PGM (Polygame Master) System BIOS", GAME_IS_BIOS_ROOT )
41434143
41444144GAME( 1997, orlegend, pgm,        pgm, pgm,      orlegend,   ROT0,   "IGS", "Oriental Legend / Xi You Shi E Zhuan (ver. 126)", GAME_IMPERFECT_SOUND  )
4145GAME( 1997, orlegnde, orlegend,   pgm, pgm,      orlegend,   ROT0,   "IGS", "Oriental Legend / Xi You Shi E Zhuan (ver. 112)", GAME_IMPERFECT_SOUND  )
4146GAME( 1997, orlegndc, orlegend,   pgm, pgm,      orlegend,   ROT0,   "IGS", "Oriental Legend / Xi You Shi E Zhuan (ver. 112, Chinese Board)", GAME_IMPERFECT_SOUND  )
4147GAME( 1997, orld111c, orlegend,   pgm, pgm,      orlegend,   ROT0,   "IGS", "Oriental Legend / Xi You Shi E Zhuan (ver. 111, Chinese Board)", GAME_IMPERFECT_SOUND  )
4148GAME( 1997, orld105k, orlegend,   pgm, orld105k, orlegend,   ROT0,   "IGS", "Oriental Legend / Xi You Shi E Zhuan (ver. 105, Korean Board)", GAME_IMPERFECT_SOUND  )
4145GAME( 1997, orlegende, orlegend,   pgm, pgm,      orlegend,   ROT0,   "IGS", "Oriental Legend / Xi You Shi E Zhuan (ver. 112)", GAME_IMPERFECT_SOUND  )
4146GAME( 1997, orlegendc, orlegend,   pgm, pgm,      orlegend,   ROT0,   "IGS", "Oriental Legend / Xi You Shi E Zhuan (ver. 112, Chinese Board)", GAME_IMPERFECT_SOUND  )
4147GAME( 1997, orlegend111c, orlegend,   pgm, pgm,      orlegend,   ROT0,   "IGS", "Oriental Legend / Xi You Shi E Zhuan (ver. 111, Chinese Board)", GAME_IMPERFECT_SOUND  )
4148GAME( 1997, orlegend105k, orlegend,   pgm, orld105k, orlegend,   ROT0,   "IGS", "Oriental Legend / Xi You Shi E Zhuan (ver. 105, Korean Board)", GAME_IMPERFECT_SOUND  )
41494149GAME( 1997, drgw2c,   drgw2,    drgw2, pgm,      drgw2c,     ROT0,   "IGS", "Zhong Guo Long II (ver. 100C, China)", GAME_IMPERFECT_SOUND )
41504150GAME( 1999, photoy2k, pgm,        kov, photoy2k, djlzz,      ROT0,   "IGS", "Photo Y2K (ver. 104)", GAME_IMPERFECT_SOUND ) /* region provided by protection device */
41514151GAME( 1999, raf102j,  photoy2k,   kov, photoy2k, djlzz,      ROT0,   "IGS", "Real and Fake / Photo Y2K (ver. 102, Japanese Board)", GAME_IMPERFECT_SOUND ) /* region provided by protection device */
r5338r5339
41534153GAME( 2000, kov2,     pgm,       kov2, sango,    kov2,       ROT0,   "IGS", "Knights of Valour 2 / Sangoku Senki 2 (ver. 100)", GAME_IMPERFECT_SOUND )
41544154GAME( 2000, kov2106,  kov2,      kov2, sango,    kov2,       ROT0,   "IGS", "Knights of Valour 2 / Sangoku Senki 2 (ver. 106)", GAME_IMPERFECT_SOUND )
41554155GAME( 2001, martmast, pgm,       kov2, sango,    martmast,   ROT0,   "IGS", "Martial Masters (ver. 102)", GAME_IMPERFECT_SOUND )
4156GAME( 2001, martmasc, martmast,  kov2, sango,    martmast,   ROT0,   "IGS", "Martial Masters (ver. 101, Chinese Board)", GAME_IMPERFECT_SOUND )
4156GAME( 2001, martmastc,martmast,  kov2, sango,    martmast,   ROT0,   "IGS", "Martial Masters (ver. 101, Chinese Board)", GAME_IMPERFECT_SOUND )
41574157
41584158/* Playable but maybe imperfect protection emulation */
41594159GAME( 1997, drgw2,    pgm,       drgw2, pgm,     drgw2,      ROT0,   "IGS", "Dragon World II (ver. 110X, Export)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
src/mame/drivers/mpoker.c
r5338r5339
160160    These writes sounds like a BCD valueset.
161161    Maybe were intended formerly to send some data to 7seg display unit.
162162
163  - Color system (no bipolar PROMs in the system)
163  - Color system (no bipolar PROMs in the system), needs a reference
164164
165165
166166**********************************************************************************/
r5338r5339
194194      for (x=0;x<32;x++)
195195      {
196196         UINT16 dat = mpoker_video[count];
197         UINT16 col = mpoker_video[count+0x400];
197         UINT16 col = mpoker_video[count+0x400] & 0x7f;
198198         drawgfx_opaque(bitmap,cliprect,gfx,dat,col,0,0,x*16,y*16);
199199         count++;
200200      }
r5338r5339
203203   return 0;
204204}
205205
206static PALETTE_INIT( mpoker )   // WRONG... FIXME
206static PALETTE_INIT(mpoker)
207207{
208208   int i;
209209
210   for (i = 0; i < 64; i++)
210   for (i = 0; i < 0x100; i++)
211211   {
212      palette_set_color_rgb(machine, 2*i+0, pal1bit(i >> 2), pal1bit(i >> 0), pal1bit(i >> 1));
213      palette_set_color_rgb(machine, 2*i+1, pal1bit(i >> 5), pal1bit(i >> 3), pal1bit(i >> 4));
212      rgb_t color;
213
214      if (i & 0x01)
215         color = MAKE_RGB(pal2bit((i & 0x6) >> 1),pal2bit((i & 0x18) >> 3),pal2bit((i & 0x60) >> 5));
216      else
217         color = RGB_BLACK;
218
219      palette_set_color(machine, i, color);
214220   }
215221}
216222
r5338r5339
465471ADDRESS_MAP_END
466472
467473static INPUT_PORTS_START( mpoker )
468
469474   PORT_START("IN1")
470   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_1) PORT_NAME("Bet")
471   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_2) PORT_NAME("Deal/Draw")
472   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_N) PORT_NAME("Cancel Discards")
473   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_M) PORT_NAME("Stand (Hold all Cards)")
474   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Discard 1")
475   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_X) PORT_NAME("Discard 2")
476   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_CODE(KEYCODE_C) PORT_NAME("Discard 3")
477   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_CODE(KEYCODE_V) PORT_NAME("Discard 4")
475   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
476   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL )
477   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) PORT_NAME("Cancel Discards")
478   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Stand (Hold all Cards)")
479   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Discard 1")
480   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Discard 2")
481   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Discard 3")
482   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Discard 4")
478483
479484   PORT_START("IN2")
480   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_CODE(KEYCODE_B) PORT_NAME("Discard 5")
481   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Stats")
482   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Payout")
483   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)
484   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2)
485   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Settings")
485   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Discard 5")
486   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
487   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
488   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)
489   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)
490   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
486491   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
487492   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
488493
r5338r5339
520525   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
521526   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
522527   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER )      /* bit1 connected to a signal heartbeat */
523   PORT_DIPNAME( 0x1c, 0x1c, "Main Percentage" )
528   PORT_DIPNAME( 0x1c, 0x0c, "Main Percentage" )
524529   PORT_DIPSETTING(    0x18, "75%" )
525530   PORT_DIPSETTING(    0x14, "80%" )
526531   PORT_DIPSETTING(    0x00, "85%" )
r5338r5339
551556};
552557
553558static GFXDECODE_START( mpoker )
554   GFXDECODE_ENTRY( "gfx1", 0, tiles16x16_layout, 0, 16 )
559   GFXDECODE_ENTRY( "gfx1", 0, tiles16x16_layout, 0, 0x100 )
555560GFXDECODE_END
556561
557562static MACHINE_DRIVER_START( mpoker )
r5338r5339
571576   MDRV_SCREEN_VISIBLE_AREA(0, 512-1, 0, 256-1)
572577
573578   MDRV_GFXDECODE(mpoker)
574   MDRV_PALETTE_LENGTH(2*64)
579   MDRV_PALETTE_LENGTH(0x200)
575580
576581   MDRV_PALETTE_INIT(mpoker)
577582   MDRV_VIDEO_START(mpoker)
src/mame/drivers/qix.c
r5338r5339
779779ROM_END
780780
781781
782ROM_START( elecyoy2 )
782ROM_START( elecyoyo2 )
783783   ROM_REGION( 0x10000, "maincpu", 0 )
784784   ROM_LOAD( "yy14",  0xa000, 0x1000, CRC(0d2edcb9) SHA1(36e1a1aa81111f38e1c06a8174e7de406478cc67) )
785785   ROM_LOAD( "yy15",  0xb000, 0x1000, CRC(a91f01e3) SHA1(7818299d25a0816b856e83fae02d8019e5e8b4a3) )
r5338r5339
13111311GAME( 1981, qix2,     qix,      qix,      qix,      0,       ROT270, "Taito America Corporation", "Qix II (Tournament)", GAME_SUPPORTS_SAVE )
13121312GAME( 1981, sdungeon, 0,        mcu,      sdungeon, 0,       ROT270, "Taito America Corporation", "Space Dungeon", GAME_SUPPORTS_SAVE )
13131313GAMEL(1982, elecyoyo, 0,        mcu,      elecyoyo, 0,       ROT270, "Taito America Corporation", "The Electric Yo-Yo (set 1)", GAME_SUPPORTS_SAVE, layout_elecyoyo )
1314GAMEL(1982, elecyoy2, elecyoyo, mcu,      elecyoyo, 0,       ROT270, "Taito America Corporation", "The Electric Yo-Yo (set 2)", GAME_SUPPORTS_SAVE, layout_elecyoyo )
1314GAMEL(1982, elecyoyo2,elecyoyo, mcu,      elecyoyo, 0,       ROT270, "Taito America Corporation", "The Electric Yo-Yo (set 2)", GAME_SUPPORTS_SAVE, layout_elecyoyo )
13151315GAME( 1982, kram,     0,        mcu,      kram,     0,       ROT0,   "Taito America Corporation", "Kram (set 1)", GAME_SUPPORTS_SAVE )
13161316GAME( 1982, kram2,    kram,     mcu,      kram,     0,       ROT0,   "Taito America Corporation", "Kram (set 2)", GAME_SUPPORTS_SAVE )
13171317GAME( 1982, kram3,    kram,     qix,      kram,     kram3,   ROT0,   "Taito America Corporation", "Kram (encrypted)", GAME_SUPPORTS_SAVE )
src/mame/drivers/3super8.c
r5338r5339
119119   ROM_LOAD( "sound.bin", 0x00000, 0x40000, BAD_DUMP CRC(230b31c3) SHA1(38c107325d3a4e9781912078b1317dc9ba3e1ced) )
120120ROM_END
121121
122GAME( 199?, 3super8,  0,    3super8, 3super8,  0, ROT0, "unknown", "3 Super 8 (Italy)", GAME_NOT_WORKING|GAME_NO_SOUND )
122GAME( 199?, 3super8,  0,    3super8, 3super8,  0, ROT0, "<unknown>", "3 Super 8 (Italy)", GAME_NOT_WORKING|GAME_NO_SOUND )
src/mame/drivers/mcatadv.c
r5338r5339
273273
274274   PORT_START("DSW1")
275275   PORT_BIT( 0x00ff, IP_ACTIVE_LOW, IPT_UNKNOWN )
276   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Demo_Sounds ) )
276   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Demo_Sounds ) )      PORT_DIPLOCATION("SW1:1")
277277   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
278278   PORT_DIPSETTING(      0x0100, DEF_STR( On ) )
279   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Flip_Screen ) )
279   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Flip_Screen ) )      PORT_DIPLOCATION("SW1:2")
280280   PORT_DIPSETTING(      0x0200, DEF_STR( Off ) )
281281   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
282   PORT_SERVICE( 0x0400, IP_ACTIVE_LOW )
283   PORT_DIPNAME( 0x0800, 0x0800, "Coin Mode" )
282   PORT_SERVICE_DIPLOC(   0x0400, IP_ACTIVE_LOW, "SW1:3" )
283   PORT_DIPNAME( 0x0800, 0x0800, "Coin Mode" )         PORT_DIPLOCATION("SW1:4")
284284   PORT_DIPSETTING(      0x0800, "Mode 1" )
285285   PORT_DIPSETTING(      0x0000, "Mode 2" )
286   PORT_DIPNAME( 0x3000, 0x3000, DEF_STR( Coin_A ) )
286   PORT_DIPNAME( 0x3000, 0x3000, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW1:5,6")
287287   PORT_DIPSETTING(      0x0000, DEF_STR( 4C_1C ) )   PORT_CONDITION("DSW1", 0x0800, PORTCOND_EQUALS, 0x0000)
288288   PORT_DIPSETTING(      0x1000, DEF_STR( 3C_1C ) )   PORT_CONDITION("DSW1", 0x0800, PORTCOND_EQUALS, 0x0000)
289289   PORT_DIPSETTING(      0x1000, DEF_STR( 2C_1C ) )   PORT_CONDITION("DSW1", 0x0800, PORTCOND_EQUALS, 0x0800)
r5338r5339
291291   PORT_DIPSETTING(      0x0000, DEF_STR( 2C_3C ) )   PORT_CONDITION("DSW1", 0x0800, PORTCOND_EQUALS, 0x0800)
292292   PORT_DIPSETTING(      0x2000, DEF_STR( 1C_2C ) )   PORT_CONDITION("DSW1", 0x0800, PORTCOND_EQUALS, 0x0800)
293293   PORT_DIPSETTING(      0x2000, DEF_STR( 1C_4C ) )   PORT_CONDITION("DSW1", 0x0800, PORTCOND_EQUALS, 0x0000)
294   PORT_DIPNAME( 0xc000, 0xc000, DEF_STR( Coin_B ) )
294   PORT_DIPNAME( 0xc000, 0xc000, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW1:7,8")
295295   PORT_DIPSETTING(      0x0000, DEF_STR( 4C_1C ) )   PORT_CONDITION("DSW1", 0x0800, PORTCOND_EQUALS, 0x0000)
296296   PORT_DIPSETTING(      0x4000, DEF_STR( 3C_1C ) )   PORT_CONDITION("DSW1", 0x0800, PORTCOND_EQUALS, 0x0000)
297297   PORT_DIPSETTING(      0x4000, DEF_STR( 2C_1C ) )   PORT_CONDITION("DSW1", 0x0800, PORTCOND_EQUALS, 0x0800)
r5338r5339
302302
303303   PORT_START("DSW2")
304304   PORT_BIT( 0x00ff, IP_ACTIVE_LOW, IPT_UNKNOWN )
305   PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Difficulty ) )
305   PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW2:1,2")
306306   PORT_DIPSETTING(      0x0200, DEF_STR( Easy ) )
307307   PORT_DIPSETTING(      0x0300, DEF_STR( Normal ) )
308308   PORT_DIPSETTING(      0x0100, DEF_STR( Hard ) )
309309   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
310   PORT_DIPNAME( 0x0c00, 0x0c00, DEF_STR( Lives ) )
310   PORT_DIPNAME( 0x0c00, 0x0c00, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:3,4")
311311   PORT_DIPSETTING(      0x0400, "2" )
312312   PORT_DIPSETTING(      0x0c00, "3" )
313313   PORT_DIPSETTING(      0x0800, "4" )
314314   PORT_DIPSETTING(      0x0000, "5" )
315   PORT_DIPNAME( 0x3000, 0x3000, "Energy" )
315   PORT_DIPNAME( 0x3000, 0x3000, "Energy" )         PORT_DIPLOCATION("SW2:5,6")
316316   PORT_DIPSETTING(      0x3000, "3" )
317317   PORT_DIPSETTING(      0x2000, "4" )
318318   PORT_DIPSETTING(      0x1000, "5" )
319319   PORT_DIPSETTING(      0x0000, "8" )
320   PORT_DIPNAME( 0xc000, 0xc000, DEF_STR( Cabinet ) )
320   PORT_DIPNAME( 0xc000, 0xc000, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:7,8")
321321   PORT_DIPSETTING(      0x4000, "Upright 1 Player" )
322322   PORT_DIPSETTING(      0xc000, "Upright 2 Players" )
323323   PORT_DIPSETTING(      0x8000, DEF_STR( Cocktail ) )
r5338r5339
353353   PORT_BIT( 0xfc00, IP_ACTIVE_LOW, IPT_UNKNOWN )
354354
355355   PORT_START("DSW1")
356   PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Lives ) )
356   PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:1,2")
357357   PORT_DIPSETTING(      0x0200, "2" )
358358   PORT_DIPSETTING(      0x0300, "3" )
359359   PORT_DIPSETTING(      0x0100, "4" )
360360   PORT_DIPSETTING(      0x0000, "5" )
361   PORT_DIPNAME( 0x0c00, 0x0c00, DEF_STR( Difficulty ) )
361   PORT_DIPNAME( 0x0c00, 0x0c00, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW1:3,4")
362362   PORT_DIPSETTING(      0x0800, DEF_STR( Easy ) )
363363   PORT_DIPSETTING(      0x0c00, DEF_STR( Normal ) )
364364   PORT_DIPSETTING(      0x0400, DEF_STR( Hard ) )
365365   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
366   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Flip_Screen ) )
366   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Flip_Screen ) )      PORT_DIPLOCATION("SW1:5")
367367   PORT_DIPSETTING(      0x1000, DEF_STR( Off ) )
368368   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
369   PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Demo_Sounds ) )
369   PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Demo_Sounds ) )      PORT_DIPLOCATION("SW1:6")
370370   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
371371   PORT_DIPSETTING(      0x2000, DEF_STR( On ) )
372   PORT_DIPNAME( 0xc000, 0xc000, DEF_STR( Bonus_Life ) )
372   PORT_DIPNAME( 0xc000, 0xc000, DEF_STR( Bonus_Life ) )      PORT_DIPLOCATION("SW1:7,8")
373373   PORT_DIPSETTING(      0x8000, "500k 1000k" )
374374   PORT_DIPSETTING(      0xc000, "800k 1500k" )
375375   PORT_DIPSETTING(      0x4000, "1000k 2000k" )
376376   PORT_DIPSETTING(      0x0000, DEF_STR( None ) )
377377
378378   PORT_START("DSW2")
379   PORT_DIPNAME( 0x0700, 0x0700, DEF_STR( Coin_A ) )
379   PORT_DIPNAME( 0x0700, 0x0700, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW2:1,2,3")
380380   PORT_DIPSETTING(      0x0200, DEF_STR( 3C_1C ) )
381381   PORT_DIPSETTING(      0x0400, DEF_STR( 2C_1C ) )
382382   PORT_DIPSETTING(      0x0100, DEF_STR( 3C_2C ) )
r5338r5339
385385   PORT_DIPSETTING(      0x0600, DEF_STR( 1C_2C ) )
386386   PORT_DIPSETTING(      0x0500, DEF_STR( 1C_3C ) )
387387   PORT_DIPSETTING(      0x0000, DEF_STR( Free_Play ) )
388   PORT_DIPNAME( 0x3800, 0x3800, DEF_STR( Coin_B ) )
388   PORT_DIPNAME( 0x3800, 0x3800, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW2:4,5,6")
389389   PORT_DIPSETTING(      0x0000, DEF_STR( 4C_1C ) )
390390   PORT_DIPSETTING(      0x1000, DEF_STR( 3C_1C ) )
391391   PORT_DIPSETTING(      0x2000, DEF_STR( 2C_1C ) )
r5338r5339
394394   PORT_DIPSETTING(      0x1800, DEF_STR( 2C_3C ) )
395395   PORT_DIPSETTING(      0x3000, DEF_STR( 1C_2C ) )
396396   PORT_DIPSETTING(      0x2800, DEF_STR( 1C_3C ) )
397   PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Unused ) )
398   PORT_DIPSETTING(      0x4000, DEF_STR( Off ) )
399   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
400   PORT_SERVICE( 0x8000, IP_ACTIVE_LOW )
397   PORT_DIPUNUSED_DIPLOC( 0x4000, 0x4000, "SW2:7" )      /* Listed as "Unused" */
398   PORT_SERVICE_DIPLOC(   0x8000, IP_ACTIVE_LOW, "SW2:8" )
401399INPUT_PORTS_END
402400
403401/*** GFX Decode ***/
src/mame/drivers/toaplan2.c
r5338r5339
228228    See Input Port definition header below, for instructions
229229      on how to enter pause/slow motion modes.
230230    Code at $20A26 forces territory to Japan in V-Five. Some stuff
231      NOP'd at reset vector, and NEC V25+ CPU post test is skipped (bootleg ?)
231      NOP'd at reset vector, and NEC V25+ CPU post test is skipped (bootleg?)
232232
233233To Do / Unknowns:
234234    - Whoopee/Teki Paki sometimes tests bit 5 of the territory port
r5338r5339
44684468*/
44694469
44704470
4471ROM_START( fixeighb )
4471ROM_START( fixeightb )
44724472   ROM_REGION( 0x100000, "maincpu", 0 )         /* Main 68K code */
44734473   ROM_LOAD16_BYTE( "3.bin", 0x000000, 0x80000, CRC(cc77d4b4) SHA1(4d3376cbae13d90c6314d8bb9236c2183fc6253c) )
44744474   ROM_LOAD16_BYTE( "2.bin", 0x000001, 0x80000, CRC(ed715488) SHA1(37be9bc8ff6b54a1f660d89469c6c2da6301e9cd) )
r5338r5339
45064506ROM_END
45074507
45084508
4509ROM_START( grindsta )
4509ROM_START( grindstma )
45104510   ROM_REGION( 0x080000, "maincpu", 0 )         /* Main 68K code */
45114511   ROM_LOAD16_WORD_SWAP( "tp027-01.rom", 0x000000, 0x080000, CRC(8d8c0392) SHA1(824dde274c8bef8a87c54d8ccdda7f0feb8d11e1) )
45124512
r5338r5339
45664566ROM_END
45674567
45684568
4569ROM_START( batsugna )
4569ROM_START( batsuguna )
45704570   ROM_REGION( 0x080000, "maincpu", 0 )         /* Main 68K code */
45714571   ROM_LOAD16_WORD_SWAP( "tp030_1a.bin", 0x000000, 0x080000,  CRC(cb1d4554) SHA1(ef31f24d77e1c13bdf5558a04a6253e2e3e6a790) )
45724572
r5338r5339
45924592ROM_END
45934593
45944594
4595ROM_START( batugnsp )
4595ROM_START( batsugunsp )
45964596   ROM_REGION( 0x080000, "maincpu", 0 )         /* Main 68K code */
45974597   ROM_LOAD16_WORD_SWAP( "tp030-sp.u69", 0x000000, 0x080000, CRC(8072a0cd) SHA1(3a0a9cdf894926a16800c4882a2b00383d981367) )
45984598
r5338r5339
46804680ROM_END
46814681
46824682
4683ROM_START( sstrikra )
4683ROM_START( sstrikera )
46844684   ROM_REGION( 0x080000, "maincpu", 0 )         /* Main 68K code */
46854685   ROM_LOAD16_WORD_SWAP( "ra-ma_01_01.u65", 0x000000, 0x080000, CRC(708fd51d) SHA1(167186d4cf13af37ec0fa6a59c738c54dbbf3c7c) )
46864686
r5338r5339
47814781ROM_END
47824782
47834783
4784ROM_START( bgareghk )
4784ROM_START( bgareggahk )
47854785   ROM_REGION( 0x100000, "maincpu", 0 )         /* Main 68K code */
47864786   ROM_LOAD16_BYTE( "prg_0.rom", 0x000000, 0x080000, CRC(26e0019e) SHA1(5197001f5d59246b137e19ed1952a8207b25d4c0) )
47874787   ROM_LOAD16_BYTE( "prg_1.rom", 0x000001, 0x080000, CRC(2ccfdd1e) SHA1(7a9f11f851854f3f8389b9c3c0906ebb8dc28712) )
r5338r5339
48044804ROM_END
48054805
48064806
4807ROM_START( bgaregnv )
4807ROM_START( bgaregganv )
48084808   ROM_REGION( 0x100000, "maincpu", 0 )         /* Main 68K code */
48094809   ROM_LOAD16_BYTE( "prg_0.bin", 0x000000, 0x080000, CRC(951ecc07) SHA1(a82e4b59e4a974566e59f3ab2fbae1aec7d88a2b) )
48104810   ROM_LOAD16_BYTE( "prg_1.bin", 0x000001, 0x080000, CRC(729a60c6) SHA1(cb6f5d138bb82c32910f42d8ee16fa573a23cef3) )
r5338r5339
48274827ROM_END
48284828
48294829
4830ROM_START( bgaregt2 )
4830ROM_START( bgareggat2 )
48314831   ROM_REGION( 0x100000, "maincpu", 0 )         /* Main 68K code */
48324832   ROM_LOAD16_BYTE( "prg0", 0x000000, 0x080000, CRC(84094099) SHA1(49fc68a8bcdae4477e20eade9dd569de88b0b798) )
48334833   ROM_LOAD16_BYTE( "prg1", 0x000001, 0x080000, CRC(46f92fe4) SHA1(62a02cc1dbdc3ac362339aebb62368eb89b06bad) )
r5338r5339
48504850ROM_END
48514851
48524852
4853ROM_START( bgaregcn )
4853ROM_START( bgareggacn )
48544854   ROM_REGION( 0x100000, "maincpu", 0 )         /* Main 68K code */
48554855   ROM_LOAD16_BYTE( "u123", 0x000000, 0x080000, CRC(88a4e66a) SHA1(ca97e564eed0c5e028b937312e55da56400d5c8c) )
48564856   ROM_LOAD16_BYTE( "u65",  0x000001, 0x080000, CRC(5dea32a3) SHA1(59df6689e3eb5ea9e49a758604d21a64c65ca14d) )
r5338r5339
52335233
52345234GAME( 1991, pipibibs, 0,        pipibibs, pipibibs, T2_Z80,   ROT0,   "Toaplan", "Pipi & Bibis / Whoopee!! (Z80 sound cpu)", GAME_SUPPORTS_SAVE )
52355235GAME( 1991, whoopee,  pipibibs, whoopee,  whoopee,  T2_Z80,   ROT0,   "Toaplan", "Whoopee!! / Pipi & Bibis", GAME_SUPPORTS_SAVE )
5236GAME( 1991, pipibibi, pipibibs, pipibibi, pipibibi, pipibibi, ROT0,   "[Toaplan] Ryouta Kikaku", "Pipi & Bibis / Whoopee!! (bootleg ?)", GAME_SUPPORTS_SAVE )
5236GAME( 1991, pipibibi, pipibibs, pipibibi, pipibibi, pipibibi, ROT0,   "[Toaplan] Ryouta Kikaku", "Pipi & Bibis / Whoopee!! (bootleg?)", GAME_SUPPORTS_SAVE )
52375237
52385238GAME( 1992, fixeight, 0,        fixeight, fixeight, fixeight, ROT270, "Toaplan", "FixEight", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
5239GAME( 1992, fixeighb, fixeight, fixeighb, fixeighb, fixeighb, ROT270, "bootleg", "FixEight (bootleg)", GAME_SUPPORTS_SAVE )
5239GAME( 1992, fixeightb,fixeight, fixeighb, fixeighb, fixeighb, ROT270, "bootleg", "FixEight (bootleg)", GAME_SUPPORTS_SAVE )
52405240
52415241GAME( 1992, grindstm, vfive,    vfive,    grindstm, T2_V25,   ROT270, "Toaplan", "Grind Stormer", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
5242GAME( 1992, grindsta, vfive,    vfive,    grindstm, T2_V25,   ROT270, "Toaplan", "Grind Stormer (older set)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
5242GAME( 1992, grindstma,vfive,    vfive,    grindstm, T2_V25,   ROT270, "Toaplan", "Grind Stormer (older set)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
52435243GAME( 1993, vfive,    0,        vfive,    vfive,    T2_V25,   ROT270, "Toaplan", "V-Five (Japan)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
52445244
5245GAME( 1993, batsugun, 0,        batsugun, batsugun, T2_V25,   ROT270, "Toaplan", "Batsugun (set 1)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE )
5246GAME( 1993, batsugna, batsugun, batsugun, batsugun, T2_V25,   ROT270, "Toaplan", "Batsugun (set 2)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE )
5247GAME( 1993, batugnsp, batsugun, batsugun, batsugun, T2_V25,   ROT270, "Toaplan", "Batsugun (Special Ver.)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE )
5245GAME( 1993, batsugun,  0,        batsugun, batsugun, T2_V25,   ROT270, "Toaplan", "Batsugun (set 1)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE )
5246GAME( 1993, batsuguna, batsugun, batsugun, batsugun, T2_V25,   ROT270, "Toaplan", "Batsugun (set 2)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE )
5247GAME( 1993, batsugunsp,batsugun, batsugun, batsugun, T2_V25,   ROT270, "Toaplan", "Batsugun (Special Ver.)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE )
52485248
52495249GAME( 1994, snowbro2, 0,        snowbro2, snowbro2, T2_noZ80, ROT0,   "[Toaplan] Hanafram", "Snow Bros. 2 - With New Elves / Otenki Paradise", GAME_SUPPORTS_SAVE )
52505250
52515251GAME( 1993, mahoudai, 0,        mahoudai, mahoudai, T2_Z80,   ROT270, "Raizing (Able license)", "Mahou Daisakusen (Japan)", GAME_SUPPORTS_SAVE )
52525252GAME( 1993, sstriker, mahoudai, mahoudai, sstriker, T2_Z80,   ROT270, "Raizing", "Sorcer Striker (World)" , GAME_SUPPORTS_SAVE ) // from korean board
5253GAME( 1993, sstrikra, mahoudai, mahoudai, sstriker, T2_Z80,   ROT270, "Raizing", "Sorcer Striker (World, alt)" , GAME_SUPPORTS_SAVE ) // verified on two different PCBs
5253GAME( 1993, sstrikera,mahoudai, mahoudai, sstriker, T2_Z80,   ROT270, "Raizing", "Sorcer Striker (World, alt)" , GAME_SUPPORTS_SAVE ) // verified on two different PCBs
52545254
52555255GAME( 1994, shippumd, 0,        shippumd, shippumd, T2_Z80,   ROT270, "Raizing / Eighting", "Shippu Mahou Daisakusen (Japan)", GAME_SUPPORTS_SAVE )
52565256GAME( 1994, kingdmgp, shippumd, shippumd, kingdmgp, T2_Z80,   ROT270, "Raizing / Eighting", "Kingdom Grandprix (World)" , GAME_SUPPORTS_SAVE ) // from korean board, missing letters on credits screen but this is correct
52575257
5258GAME( 1996, bgaregga, 0,        bgaregga, bgaregga, T2_Z80,   ROT270, "Raizing / Eighting", "Battle Garegga (Europe / USA / Japan / Asia) (Sat Feb 3 1996)", GAME_SUPPORTS_SAVE )
5259GAME( 1996, bgareghk, bgaregga, bgaregga, bgareghk, T2_Z80,   ROT270, "Raizing / Eighting", "Battle Garegga (Austria / Hong Kong) (Sat Feb 3 1996)", GAME_SUPPORTS_SAVE )
5260GAME( 1996, bgaregnv, bgaregga, bgaregga, bgareghk, T2_Z80,   ROT270, "Raizing / Eighting", "Battle Garegga - New Version (Austria / Hong Kong) (Sat Mar 2 1996)" , GAME_SUPPORTS_SAVE ) // displays New Version only when set to HK
5261GAME( 1996, bgaregt2, bgaregga, bgaregga, bgaregga, T2_Z80,   ROT270, "Raizing / Eighting", "Battle Garegga - Type 2 (Europe / USA / Japan / Asia) (Sat Mar 2 1996)" , GAME_SUPPORTS_SAVE ) // displays Type 2 only when set to Europe
5262GAME( 1996, bgaregcn, bgaregga, bgaregga, bgaregcn, T2_Z80,   ROT270, "Raizing / Eighting", "Battle Garegga - Type 2 (Denmark / China) (Tue Apr 2 1996)", GAME_SUPPORTS_SAVE ) // displays Type 2 only when set to Denmark
5258GAME( 1996, bgaregga,   0,        bgaregga, bgaregga, T2_Z80,   ROT270, "Raizing / Eighting", "Battle Garegga (Europe / USA / Japan / Asia) (Sat Feb 3 1996)", GAME_SUPPORTS_SAVE )
5259GAME( 1996, bgareggahk, bgaregga, bgaregga, bgareghk, T2_Z80,   ROT270, "Raizing / Eighting", "Battle Garegga (Austria / Hong Kong) (Sat Feb 3 1996)", GAME_SUPPORTS_SAVE )
5260GAME( 1996, bgaregganv, bgaregga, bgaregga, bgareghk, T2_Z80,   ROT270, "Raizing / Eighting", "Battle Garegga - New Version (Austria / Hong Kong) (Sat Mar 2 1996)" , GAME_SUPPORTS_SAVE ) // displays New Version only when set to HK
5261GAME( 1996, bgareggat2, bgaregga, bgaregga, bgaregga, T2_Z80,   ROT270, "Raizing / Eighting", "Battle Garegga - Type 2 (Europe / USA / Japan / Asia) (Sat Mar 2 1996)" , GAME_SUPPORTS_SAVE ) // displays Type 2 only when set to Europe
5262GAME( 1996, bgareggacn, bgaregga, bgaregga, bgaregcn, T2_Z80,   ROT270, "Raizing / Eighting", "Battle Garegga - Type 2 (Denmark / China) (Tue Apr 2 1996)", GAME_SUPPORTS_SAVE ) // displays Type 2 only when set to Denmark
52635263
52645264// these are all based on Version B, even if only the Japan version states 'version B'
52655265GAME( 1998, batrid,   0,        batrider, batrider, batrider, ROT270, "Raizing / Eighting", "Armed Police Batrider (Europe) (Fri Feb 13 1998)", GAME_SUPPORTS_SAVE )
src/mame/drivers/jailbrek.c
r5338r5339
378378                                    0  1  2  3  4
379379*/
380380
381ROM_START( jailbrkb )
381ROM_START( jailbrekb )
382382    ROM_REGION( 0x10000, "maincpu", 0 )
383383   ROM_LOAD( "1.k6",    0x8000, 0x8000, CRC(df0e8fc7) SHA1(62e59dbb3941ed8af365e96906315318d9aee060) )
384384
r5338r5339
431431}
432432
433433GAME( 1986, jailbrek, 0,        jailbrek, jailbrek, jailbrek, ROT0, "Konami", "Jail Break", GAME_SUPPORTS_SAVE )
434GAME( 1986, jailbrkb, jailbrek, jailbrek, jailbrek, jailbrek, ROT0, "Konami", "Jail Break (Bootleg)", GAME_SUPPORTS_SAVE )
434GAME( 1986, jailbrekb,jailbrek, jailbrek, jailbrek, jailbrek, ROT0, "Konami", "Jail Break (Bootleg)", GAME_SUPPORTS_SAVE )
435435GAME( 1986, manhatan, jailbrek, jailbrek, jailbrek, jailbrek, ROT0, "Konami", "Manhattan 24 Bunsyo (Japan)", GAME_SUPPORTS_SAVE )
src/mame/drivers/gaelco.c
r5338r5339
5656
5757static INPUT_PORTS_START( gaelco )
5858   PORT_START("DSW1")
59   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_A ) )
59   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW1:8,7,6,5")
6060   PORT_DIPSETTING(    0x07, DEF_STR( 4C_1C ) )
6161   PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
6262   PORT_DIPSETTING(    0x09, DEF_STR( 2C_1C ) )
r5338r5339
6868   PORT_DIPSETTING(    0x0b, DEF_STR( 1C_5C ) )
6969   PORT_DIPSETTING(    0x0a, DEF_STR( 1C_6C ) )
7070   PORT_DIPSETTING(    0x00, "Free Play (if Coin B too)" )
71   PORT_DIPNAME( 0xf0, 0xf0, DEF_STR( Coin_B ) )
71   PORT_DIPNAME( 0xf0, 0xf0, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW1:4,3,2,1")
7272   PORT_DIPSETTING(    0x70, DEF_STR( 4C_1C ) )
7373   PORT_DIPSETTING(    0x80, DEF_STR( 3C_1C ) )
7474   PORT_DIPSETTING(    0x90, DEF_STR( 2C_1C ) )
r5338r5339
170170   PORT_INCLUDE( gaelco )
171171
172172   PORT_START("DSW2")
173   PORT_DIPNAME( 0x07, 0x06, DEF_STR( Difficulty ) )
173   PORT_DIPNAME( 0x07, 0x06, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:8,7,6")
174174   PORT_DIPSETTING(    0x07, "0" )
175175   PORT_DIPSETTING(    0x06, "1" )
176176   PORT_DIPSETTING(    0x05, "2" )
r5338r5339
179179   PORT_DIPSETTING(    0x02, "5" )
180180   PORT_DIPSETTING(    0x01, "6" )
181181   PORT_DIPSETTING(    0x00, "7" )
182   PORT_DIPNAME( 0x18, 0x08, DEF_STR( Lives ) )
182   PORT_DIPNAME( 0x18, 0x08, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:5,4")
183183   PORT_DIPSETTING(    0x18, "1" )
184184   PORT_DIPSETTING(    0x10, "2" )
185185   PORT_DIPSETTING(    0x08, "3" )
186186   PORT_DIPSETTING(    0x00, "4" )
187   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) )
187   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:3")
188188   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
189189   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
190   PORT_DIPNAME( 0x40, 0x40, "Impact" )
190   PORT_DIPNAME( 0x40, 0x40, "Impact" ) PORT_DIPLOCATION("SW2:2")
191191   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
192192   PORT_DIPSETTING(    0x40, DEF_STR( On ) )
193   PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
193   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW2:1" )
194194
195195   PORT_START("SERVICE")
196196   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE1 )
r5338r5339
308308   PORT_INCLUDE( gaelco )
309309
310310   PORT_START("DSW2")
311   PORT_SERVICE( 0x01, IP_ACTIVE_LOW )
312   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
311   PORT_SERVICE_DIPLOC(  0x01, IP_ACTIVE_LOW, "SW2:8" )
312   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:7")
313313   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
314314   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
315   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Demo_Sounds ) )
315   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:6")
316316   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
317317   PORT_DIPSETTING(    0x04, DEF_STR( On ) )
318   PORT_DIPNAME( 0x08, 0x00, "Sound Type" )
318   PORT_DIPNAME( 0x08, 0x00, "Sound Type" ) PORT_DIPLOCATION("SW2:5")
319319   PORT_DIPSETTING(    0x00, DEF_STR( Stereo ) )
320320   PORT_DIPSETTING(    0x08, DEF_STR( Mono ) )
321   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
321   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:4")
322322   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
323323   PORT_DIPSETTING(    0x10, DEF_STR( On ) )
324   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
324   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:3")
325325   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
326326   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
327   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Difficulty ) )
327   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:2,1")
328328   PORT_DIPSETTING(    0x40, DEF_STR( Easy ) )
329329   PORT_DIPSETTING(    0xc0, DEF_STR( Normal ) )
330330   PORT_DIPSETTING(    0x80, DEF_STR( Hard ) )
r5338r5339
336336   PORT_INCLUDE( gaelco )
337337
338338   PORT_START("DSW2")
339   PORT_SERVICE( 0x01, IP_ACTIVE_LOW )
340   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) /* Not Listed/shown in test mode */
339   PORT_SERVICE_DIPLOC(  0x01, IP_ACTIVE_LOW, "SW2:8" )
340   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:7") /* Not Listed/shown in test mode */
341341   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
342342   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
343   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) ) /* Not Listed/shown in test mode */
343   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:6") /* Not Listed/shown in test mode */
344344   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
345345   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
346   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) )
346   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:5")
347347   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
348348   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
349   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
349   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:4,3")
350350   PORT_DIPSETTING(    0x20, "0" )
351351   PORT_DIPSETTING(    0x10, "1" )
352352   PORT_DIPSETTING(    0x30, "2" )
353353   PORT_DIPSETTING(    0x00, "3" )
354   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Difficulty ) )
354   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:2,1")
355355   PORT_DIPSETTING(    0x40, DEF_STR( Easy ) )
356356   PORT_DIPSETTING(    0xc0, DEF_STR( Normal ) )
357357   PORT_DIPSETTING(    0x80, DEF_STR( Hard ) )
r5338r5339
447447   ROM_LOAD( "c3",   0x0c0000, 0x080000, CRC(914e4bbc) SHA1(ca82b7481621a119f05992ed093b963da70d748a) )
448448ROM_END
449449
450/*********** Squash Encryption Related Code ******************/
451
452450static INPUT_PORTS_START( squash )
453451   PORT_INCLUDE( gaelco )
454452
455453   PORT_MODIFY("DSW1")
456   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coin_A ) )
454   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW1:8,7,6")
457455   PORT_DIPSETTING(    0x02, DEF_STR( 6C_1C ) )
458456   PORT_DIPSETTING(    0x03, DEF_STR( 5C_1C ) )
459457   PORT_DIPSETTING(    0x04, DEF_STR( 4C_1C ) )
r5338r5339
462460   PORT_DIPSETTING(    0x01, DEF_STR( 3C_2C ) )
463461   PORT_DIPSETTING(    0x00, DEF_STR( 4C_3C ) )
464462   PORT_DIPSETTING(    0x07, DEF_STR( 1C_1C ) )
465   PORT_DIPNAME( 0x38, 0x38, DEF_STR( Coin_B ) )
463   PORT_DIPNAME( 0x38, 0x38, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW1:5,4,3")
466464   PORT_DIPSETTING(    0x38, DEF_STR( 1C_1C ) )
467465   PORT_DIPSETTING(    0x00, DEF_STR( 3C_4C ) )
468466   PORT_DIPSETTING(    0x08, DEF_STR( 2C_3C ) )
r5338r5339
471469   PORT_DIPSETTING(    0x20, DEF_STR( 1C_4C ) )
472470   PORT_DIPSETTING(    0x18, DEF_STR( 1C_5C ) )
473471   PORT_DIPSETTING(    0x10, DEF_STR( 1C_6C ) )
474   PORT_DIPNAME( 0x40, 0x40, "2 Player Continue" )
472   PORT_DIPNAME( 0x40, 0x40, "2 Player Continue" ) PORT_DIPLOCATION("SW1:2")
475473   PORT_DIPSETTING(    0x40, "2 Credits / 5 Games" )
476474   PORT_DIPSETTING(    0x00, "1 Credit / 3 Games" )
477   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Free_Play ) )
475   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("SW1:1")
478476   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
479477   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
480478
481479   PORT_START("DSW2")
482   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) )
480   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:8,7")
483481   PORT_DIPSETTING(    0x02, DEF_STR( Easy ) )
484482   PORT_DIPSETTING(    0x03, DEF_STR( Normal ) )
485483   PORT_DIPSETTING(    0x01, DEF_STR( Hard ) )
486484   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
487   PORT_DIPNAME( 0x0c, 0x0c, "Number of Faults" )
485   PORT_DIPNAME( 0x0c, 0x0c, "Number of Faults" ) PORT_DIPLOCATION("SW2:6,5")
488486   PORT_DIPSETTING(    0x08, "4" )
489487   PORT_DIPSETTING(    0x0c, "5" )
490488   PORT_DIPSETTING(    0x04, "6" )
491489   PORT_DIPSETTING(    0x00, "7" )
492   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) ) /* Not Listed/shown in test mode */
490   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:4") /* Not Listed/shown in test mode */
493491   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
494492   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
495   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) )
493   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:3")
496494   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
497495   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
498   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) ) /* Listed as "Unused" in test mode */
496   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) ) PORT_DIPLOCATION("SW2:2") /* Listed as "Unused" in test mode */
499497   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
500498   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
501   PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
499   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW2:1" )
502500
503501   PORT_START("UNK")
504502   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
r5338r5339
527525   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
528526INPUT_PORTS_END
529527
528/*********** Squash Encryption Related Code ******************/
530529
531
532530static WRITE16_HANDLER( gaelco_vram_encrypted_w )
533531{
534532//  mame_printf_debug("gaelco_vram_encrypted_w!!\n");
r5338r5339
548546   COMBINE_DATA(&gaelco_screen[offset]);
549547}
550548
549/*********** Thunder Hoop Encryption Related Code ******************/
550
551551static WRITE16_HANDLER( thoop_vram_encrypted_w )
552552{
553553//  mame_printf_debug("gaelco_vram_encrypted_w!!\n");
r5338r5339
687687   ROM_RELOAD(      0x0c0000, 0x080000 )
688688ROM_END
689689
690/*********** Thunder Hoop Encryption Related Code ******************/
691
692690static INPUT_PORTS_START( thoop )
693691   PORT_INCLUDE( squash )
694692
695693   PORT_MODIFY("DSW1")
696   PORT_DIPNAME( 0x40, 0x40, "2 Credits to Start, 1 to Continue" )
694   PORT_DIPNAME( 0x40, 0x40, "2 Credits to Start, 1 to Continue" ) PORT_DIPLOCATION("SW1:2")
697695   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
698696   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
699697
700698   PORT_MODIFY("DSW2")
701   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) )
699   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:8,7")
702700   PORT_DIPSETTING(    0x03, DEF_STR( Easy ) )
703701   PORT_DIPSETTING(    0x02, DEF_STR( Normal ) )
704702   PORT_DIPSETTING(    0x01, DEF_STR( Hard ) )
705703   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
706   PORT_DIPNAME( 0x04, 0x04, "Player Controls" )
704   PORT_DIPNAME( 0x04, 0x04, "Player Controls" ) PORT_DIPLOCATION("SW2:6")
707705   PORT_DIPSETTING(    0x04, "2 Joysticks" )
708706   PORT_DIPSETTING(    0x00, "1 Joystick" )
709   PORT_DIPNAME( 0x18, 0x08, DEF_STR( Lives ) )
707   PORT_DIPNAME( 0x18, 0x08, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:5,4")
710708   PORT_DIPSETTING(    0x00, "4" )
711709   PORT_DIPSETTING(    0x08, "3" )
712710   PORT_DIPSETTING(    0x10, "2" )
713711   PORT_DIPSETTING(    0x18, "1" )
714   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) )
712   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:3")
715713   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
716714   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
717   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) )
715   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW2:2")
718716   PORT_DIPSETTING(    0x40, DEF_STR( Upright ) )
719717   PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
720   PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
718   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW2:1" )
721719INPUT_PORTS_END
722720
723721
src/mame/drivers/crbaloon.c
r5338r5339
414414ROM_END
415415
416416
417ROM_START( crbalon2 )
417ROM_START( crbaloon2 )
418418   ROM_REGION( 0x10000, "maincpu", 0 )
419419   ROM_LOAD( "cl01.bin",     0x0000, 0x0800, CRC(9d4eef0b) SHA1(a8dd814ac2612073982123c91fa62deaf5bee242) )
420420   ROM_LOAD( "crazybal.ep2", 0x0800, 0x0800, CRC(87572086) SHA1(dba842c7c4cb16154ae0da43d71f8f03a56441c3) )
r5338r5339
439439 *************************************/
440440
441441GAME( 1980, crbaloon, 0,      crbaloon, crbaloon, 0, ROT90, "Taito Corporation", "Crazy Balloon (set 1)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
442GAME( 1980, crbalon2, crbaloon, crbaloon, crbaloon, 0, ROT90, "Taito Corporation", "Crazy Balloon (set 2)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
442GAME( 1980, crbaloon2,crbaloon, crbaloon, crbaloon, 0, ROT90, "Taito Corporation", "Crazy Balloon (set 2)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
src/mame/drivers/portrait.c
r5338r5339
317317   ROM_LOAD( "port_pr2.n4",  0x0820, 0x0020, CRC(008634f3) SHA1(7cde6b09ede672d562569866d944428198f2ba9c) )
318318ROM_END
319319
320ROM_START( portrata )
320ROM_START( portraita )
321321   ROM_REGION( 0x10000, "maincpu", 0 )     /* 64k for the cpu */
322322   ROM_LOAD( "portp0f.m1",   0x0000, 0x2000, CRC(333eace3) SHA1(8f02df09d8b50d7e37d5abf7d539624c59a7201e) )
323323   ROM_LOAD( "portp0f.p1",   0x2000, 0x2000, CRC(fe258052) SHA1(f453eb05c68d61dfd644688732ff5c07366c68c0) )
r5338r5339
354354ROM_END
355355
356356GAME( 1983, portrait, 0,        portrait, portrait,  0, ROT270, "Olympia", "Portraits (set 1)", GAME_NO_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_WRONG_COLORS )
357GAME( 1983, portrata, portrait, portrait, portrait,  0, ROT270, "Olympia", "Portraits (set 2)", GAME_NO_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_WRONG_COLORS )
357GAME( 1983, portraita,portrait, portrait, portrait,  0, ROT270, "Olympia", "Portraits (set 2)", GAME_NO_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_WRONG_COLORS )
src/mame/drivers/funkybee.c
r5338r5339
346346/* This is a bootleg of "Funky Bee", where ORCA copyright has been removed and difficulty is harder,
347347   there are 2 lives less then in the original game
348348   TODO: insert correct DIPSWITCH, where lives is "1,2,3,4" instead of "3,4,5,6" */
349ROM_START( funkbeeb )
349ROM_START( funkybeeb )
350350   ROM_REGION( 0x10000, "maincpu", 0 )
351351   ROM_LOAD( "senza_orca.fb1", 0x0000, 0x1000, CRC(7f2e7f85) SHA1(d4b63add3a97fc80aeafcd72a261302ab52d60a7) )
352352   ROM_LOAD( "funkybee.3",     0x1000, 0x1000, CRC(7bf7c62f) SHA1(f8e5514c17fddb8ed95e5e18aab81ad0ebcc41af) )
r5338r5339
409409   ROM_LOAD( "18s030.1a",     0x0000, 0x0020, CRC(e645bacb) SHA1(5f4c299c4cf165fd229731c0e5799a34892bf28e) )
410410ROM_END
411411
412ROM_START( skylance )
412ROM_START( skylancre )
413413   ROM_REGION( 0x10000, "maincpu", 0 )
414414   ROM_LOAD( "1.5a",          0x0000, 0x2000, CRC(82d55824) SHA1(5c457e720ac8611bea4bc7e63ba4ee1c11200471) )
415415   ROM_LOAD( "2.5c",          0x2000, 0x2000, CRC(dff3a682) SHA1(e3197e106c2c6d198d2769b63701222d48a196d1) )
r5338r5339
426426ROM_END
427427
428428GAME( 1982, funkybee, 0,        funkybee, funkybee, 0, ROT90, "Orca",                           "Funky Bee",                            0 )
429GAME( 1982, funkbeeb, funkybee, funkybee, funkbeeb, 0, ROT90, "bootleg",                        "Funky Bee (bootleg, harder)",          0 )
429GAME( 1982, funkybeeb,funkybee, funkybee, funkbeeb, 0, ROT90, "bootleg",                        "Funky Bee (bootleg, harder)",          0 )
430430GAME( 1983, skylancr, 0,        funkybee, skylancr, 0, ROT90, "Orca",                           "Sky Lancer",                           0 )
431GAME( 1983, skylance, skylancr, funkybee, skylance, 0, ROT90, "Orca (Esco Trading Co license)", "Sky Lancer (Esco Trading Co license)", 0 )
431GAME( 1983, skylancre,skylancr, funkybee, skylance, 0, ROT90, "Orca (Esco Trading Co license)", "Sky Lancer (Esco Trading Co license)", 0 )
432432
src/mame/drivers/lastduel.c
r5338r5339
791791   ROM_LOAD( "29.14k",   0x0000, 0x0100, CRC(7f862e1e) SHA1(7134c4f741463007a177d55922e1284d132f60e3) ) /* priority (not used) BPROM type 63S141 or compatible like 82S129A */
792792ROM_END
793793
794ROM_START( ledstrm2 )
794ROM_START( ledstorm2 )
795795   ROM_REGION( 0x80000, "maincpu", 0 )   /* 256K for 68000 code */
796796   ROM_LOAD16_BYTE( "lsu-04.8b", 0x00000, 0x20000, CRC(56a2f079) SHA1(da581c117d92ac5c1e8e44324f1aed2858a3cdc8) )
797797   ROM_LOAD16_BYTE( "lsu-03.7b", 0x00001, 0x20000, CRC(9b6408c0) SHA1(8ef8349f58c62a2d626b1053eae2032d168d602c) )
r5338r5339
803803   ROM_CONTINUE(             0x10000,  0x08000 )
804804
805805   ROM_REGION( 0x80000, "gfx1", 0 )
806   ROM_LOAD( "ls-09.5a",     0x000000, 0x40000, CRC(80875e1d) SHA1(6f53694a0617bf3b4f65a0cf71750b0e65e49b46) )   /* NEC 23C2000 256kx8 mask ROM (QFP52) */
807   ROM_LOAD( "ls-10.13a",    0x040000, 0x40000, CRC(c5993f93) SHA1(29c565c112edb003c7d4adc5ac52e98e034bd1a1) )   /* NEC 23C2000 256kx8 mask ROM (QFP52) */
806   ROM_LOAD( "ls-09.5a",     0x000000, 0x40000, BAD_DUMP CRC(80875e1d) SHA1(6f53694a0617bf3b4f65a0cf71750b0e65e49b46) )   /* NEC 23C2000 256kx8 mask ROM (QFP52) */
807   ROM_LOAD( "ls-10.13a",    0x040000, 0x40000, BAD_DUMP CRC(c5993f93) SHA1(29c565c112edb003c7d4adc5ac52e98e034bd1a1) )   /* NEC 23C2000 256kx8 mask ROM (QFP52) */
808808
809809   ROM_REGION( 0x08000, "gfx2", 0 )
810810   ROM_LOAD( "ls-08.10k",    0x000000, 0x08000, CRC(8803cf49) SHA1(7a01a05f760d8e2472fdbc1d10b53094babe295e) )   /* 8x8 text */
r5338r5339
831831GAME( 1989, madgear,   0,        madgear,  madgear,  0, ROT270, "Capcom", "Mad Gear (US)", 0 )
832832GAME( 1989, madgearj,  madgear,  madgear,  madgear,  0, ROT270, "Capcom", "Mad Gear (Japan)", 0 )
833833GAME( 1988, ledstorm,  madgear,  madgear,  madgear,  0, ROT270, "Capcom", "Led Storm (US)", 0 )
834GAME( 1988, ledstrm2, madgear,  madgear,  madgear,  0, ROT270, "Capcom", "Led Storm Rally 2011 (US)", GAME_IMPERFECT_GRAPHICS ) /* game still has wrong sprite issues */
834GAME( 1988, ledstorm2, madgear,  madgear,  madgear,  0, ROT270, "Capcom", "Led Storm Rally 2011 (US)", GAME_IMPERFECT_GRAPHICS ) /* game still has wrong sprite issues */
src/mame/drivers/drgnmst.c
r5338r5339
262262   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNKNOWN )
263263   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN )
264264
265   PORT_START("DSW1")
266   PORT_DIPNAME( 0x0700, 0x0700, DEF_STR( Coinage ) )
265   PORT_START("DSW1") /* Test mode screen shows 3 sets of dipswitches */
266   PORT_DIPNAME( 0x0700, 0x0700, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:1,2,3")
267267/*  PORT_DIPSETTING(      0x0300, DEF_STR( Off ) ) */
268268   PORT_DIPSETTING(      0x0000, DEF_STR( 4C_1C ) )
269269   PORT_DIPSETTING(      0x0100, DEF_STR( 3C_1C ) )
r5338r5339
272272   PORT_DIPSETTING(      0x0600, DEF_STR( 1C_2C ) )
273273   PORT_DIPSETTING(      0x0500, DEF_STR( 1C_3C ) )
274274   PORT_DIPSETTING(      0x0400, DEF_STR( 1C_4C ) )
275   PORT_DIPNAME( 0x0800, 0x0000, "Continue" )
275   PORT_DIPNAME( 0x0800, 0x0000, DEF_STR( Allow_Continue ) )   PORT_DIPLOCATION("SW1:4")
276276   PORT_DIPSETTING(      0x0800, DEF_STR( Off ) )
277277   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
278   PORT_DIPNAME( 0x1000, 0x0000, DEF_STR( Demo_Sounds ) )
278   PORT_DIPNAME( 0x1000, 0x0000, DEF_STR( Demo_Sounds ) )      PORT_DIPLOCATION("SW1:5")
279279   PORT_DIPSETTING(      0x1000, DEF_STR( Off ) )
280280   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
281   PORT_DIPNAME( 0x2000, 0x2000, "Two credits to start" )
281   PORT_DIPNAME( 0x2000, 0x2000, "Two credits to start" )      PORT_DIPLOCATION("SW1:6")
282282   PORT_DIPSETTING(      0x2000, DEF_STR( Off ) )
283283   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
284   PORT_DIPNAME( 0x4000, 0x4000, DEF_STR ( Free_Play ) )
284   PORT_DIPNAME( 0x4000, 0x4000, DEF_STR ( Free_Play ) )      PORT_DIPLOCATION("SW1:7")
285285   PORT_DIPSETTING(      0x4000, DEF_STR( Off ) )
286286   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
287   PORT_DIPNAME( 0x8000, 0x8000, "Game Pause" )
287   PORT_DIPNAME( 0x8000, 0x8000, "Game Pause" )         PORT_DIPLOCATION("SW1:8")
288288   PORT_DIPSETTING(      0x8000, DEF_STR( Off ) )
289289   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
290290
291291   PORT_START("DSW2")
292   PORT_DIPNAME( 0x0700, 0x0400, DEF_STR( Difficulty ) )
292   PORT_DIPNAME( 0x0700, 0x0400, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW2:1,2,3")
293293   PORT_DIPSETTING(      0x0700, DEF_STR( Easiest ) )
294294   PORT_DIPSETTING(      0x0600, DEF_STR( Easier ) )
295295   PORT_DIPSETTING(      0x0500, DEF_STR( Easy ) )
r5338r5339
298298   PORT_DIPSETTING(      0x0200, DEF_STR( Hard ) )
299299   PORT_DIPSETTING(      0x0100, DEF_STR( Harder ) )
300300   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
301   PORT_DIPNAME( 0x0800, 0x0800, DEF_STR( Language ) )
301   PORT_DIPNAME( 0x0800, 0x0800, DEF_STR( Language ) )      PORT_DIPLOCATION("SW2:4")
302302   PORT_DIPSETTING(      0x0800, DEF_STR( English ) )
303303   PORT_DIPSETTING(      0x0000, "Korean" )
304   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Game_Time ) )
304   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Game_Time ) )      PORT_DIPLOCATION("SW2:5")
305305   PORT_DIPSETTING(      0x1000, DEF_STR( Normal ) )
306306   PORT_DIPSETTING(      0x0000, "Short" )
307   PORT_DIPNAME( 0x2000, 0x2000, "Stage Skip" )
307   PORT_DIPNAME( 0x2000, 0x2000, "Stage Skip" )         PORT_DIPLOCATION("SW2:6")
308308   PORT_DIPSETTING(      0x2000, DEF_STR( Off ) )
309309   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
310   PORT_DIPNAME( 0x4000, 0x4000, "Spit Color" )
310   PORT_DIPNAME( 0x4000, 0x4000, "Spit Color" )         PORT_DIPLOCATION("SW2:7")
311311   PORT_DIPSETTING(      0x4000, "Grey" )
312312   PORT_DIPSETTING(      0x0000, "Red" )
313   PORT_SERVICE( 0x8000, IP_ACTIVE_LOW )
313   PORT_SERVICE_DIPLOC( 0x8000, IP_ACTIVE_LOW, "SW2:8" )
314314
315315   PORT_START("EXTRA")
316316   PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_PLAYER(1)
src/mame/drivers/starfire.c
r5338r5339
302302   ROM_LOAD( "sfire.1f",     0x5000, 0x0800, CRC(af31dc39) SHA1(0dfeff6973fd03e85b08e70c77d212f0bb60121d) )
303303ROM_END
304304
305ROM_START( starfira )
305ROM_START( starfirea )
306306   ROM_REGION( 0x10000, "maincpu", 0 )
307307   ROM_LOAD( "starfire.1a",  0x0000, 0x0800, CRC(6adcd7e7) SHA1(a931fb80e48db3050ce3bc39f455961c0c7c56ce) )
308308   ROM_LOAD( "starfire.2a",  0x0800, 0x0800, CRC(835c70ea) SHA1(36828735aa48de5e3e973ca1f42ef08537e1c6ce) )
r5338r5339
380380 *************************************/
381381
382382GAME( 1979, starfire, 0,        starfire, starfire, starfire, ROT0, "Exidy", "Star Fire (set 1)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
383GAME( 1979, starfira, starfire, starfire, starfire, starfire, ROT0, "Exidy", "Star Fire (set 2)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
383GAME( 1979, starfirea,starfire, starfire, starfire, starfire, ROT0, "Exidy", "Star Fire (set 2)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
384384GAME( 1979, fireone,  0,        starfire, fireone,  fireone,  ROT0, "Exidy", "Fire One", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
385385GAME( 1979, starfir2, 0,        starfire, starfire, starfire, ROT0, "Exidy", "Star Fire 2", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
src/mame/drivers/cischeat.c
r5338r5339
447447
448448READ16_HANDLER( scudhamm_motor_status_r )
449449{
450//  return 1 << (mame_rand(space->machine)&1);         // Motor Status
451450   return scudhamm_motor_command;   // Motor Status
452451}
453452
r5338r5339
474473
475474READ16_HANDLER( scudhamm_analog_r )
476475{
477   return input_port_read(space->machine, "IN1");
476   static int prev=0;
477   int i=input_port_read(space->machine, "IN1"),j;
478
479   if ((i^prev)&0x4000) {
480      if (i<prev) prev-=0x8000;
481      else prev+=0x8000;
482   }
483
484   j=i-prev;
485   prev=i;
486
487   /* effect of hammer collision 'accelerometer':
488    $00 - $09 - no hit
489    $0A - $3F - soft hit
490    $40 - $FF - hard hit */
491   if (j<0) return 0;
492   else if (j>0xff) return 0xff;
493   return j;
478494}
479495
480496/*
r5338r5339
530546   AM_RANGE(0x100018, 0x100019) AM_DEVREADWRITE8("oki2", okim6295_r, okim6295_w, 0x00ff)            //
531547   AM_RANGE(0x10001c, 0x10001d) AM_WRITE(scudhamm_enable_w)                                 // ?
532548   AM_RANGE(0x100040, 0x100041) AM_READ(scudhamm_analog_r) AM_WRITE(SMH_NOP)                     // A / D
533   AM_RANGE(0x100044, 0x100045) AM_READ(scudhamm_motor_pos_r      )                           // Motor Position
549   AM_RANGE(0x100044, 0x100045) AM_READ(scudhamm_motor_pos_r)                           // Motor Position
534550   AM_RANGE(0x100050, 0x100051) AM_READWRITE(scudhamm_motor_status_r, scudhamm_motor_command_w)      // Motor Limit Switches
535551   AM_RANGE(0x10005c, 0x10005d) AM_READ_PORT("IN2")                                       // 2 x DSW
536552ADDRESS_MAP_END
r5338r5339
13021318   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNKNOWN )
13031319   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN )
13041320
1305   PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_BUTTON1 ) // Gu
1306   PORT_BIT( 0x0200, IP_ACTIVE_HIGH, IPT_BUTTON2 ) // Choki
1307   PORT_BIT( 0x0400, IP_ACTIVE_HIGH, IPT_BUTTON3 ) // Pa
1321   PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_BUTTON1 ) // Gu (rock)
1322   PORT_BIT( 0x0200, IP_ACTIVE_HIGH, IPT_BUTTON2 ) // Choki (scissors)
1323   PORT_BIT( 0x0400, IP_ACTIVE_HIGH, IPT_BUTTON3 ) // Pa (paper)
13081324   PORT_BIT( 0x0800, IP_ACTIVE_LOW,  IPT_UNKNOWN )
13091325   PORT_BIT( 0x1000, IP_ACTIVE_LOW,  IPT_UNKNOWN )
13101326   PORT_BIT( 0x2000, IP_ACTIVE_LOW,  IPT_UNKNOWN )
r5338r5339
13121328   PORT_BIT( 0x8000, IP_ACTIVE_LOW,  IPT_UNKNOWN )
13131329
13141330   PORT_START("IN1")   // A/D
1315   PORT_BIT( 0x00ff, 0x0000, IPT_PADDLE ) PORT_MINMAX(0x0000,0x00ff) PORT_SENSITIVITY(1) PORT_KEYDELTA(0)
1331   PORT_BIT( 0x7fff, 0x0000, IPT_DIAL_V ) PORT_SENSITIVITY(50) PORT_KEYDELTA(50)
13161332
13171333   PORT_START("IN2")   // DSW
13181334   PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW3:1,2")
r5338r5339
29893005   ROM_LOAD( "pr91042_5.ic91", 0x000000, 0x000100, CRC(e71de4aa) SHA1(d06e5a35ad2127df2d6328cce153073380ee7819) )
29903006ROM_END
29913007
2992ROM_START( armchm2o )
3008ROM_START( armchmp2o )
29933009   ROM_REGION( 0x080000, "maincpu", 0 )      /* Main CPU Code */
29943010   ROM_LOAD16_BYTE( "ac91106_ver1.7_4.ic63", 0x000000, 0x020000, CRC(aaa11bc7) SHA1(ac6186f45a006074d3a86d7437c5a3411bf27188) )
29953011   ROM_LOAD16_BYTE( "ac91106_ver1.7_3.ic62", 0x000001, 0x020000, CRC(a7965879) SHA1(556fecd6ea0f977b718d132c4180bb2160b9da7e) )
r5338r5339
30463062GAME( 1990, cischeat, 0,        cischeat, cischeat, cischeat, ROT0,   "Jaleco", "Cisco Heat",                    GAME_IMPERFECT_GRAPHICS )
30473063GAME( 1991, f1gpstar, 0,        f1gpstar, f1gpstar, f1gpstar, ROT0,   "Jaleco", "Grand Prix Star",               GAME_IMPERFECT_GRAPHICS )
30483064GAME( 1992, armchmp2, 0,        armchmp2, armchmp2, 0,        ROT270, "Jaleco", "Arm Champs II v2.6",            GAME_IMPERFECT_GRAPHICS )
3049GAME( 1992, armchm2o, armchmp2, armchmp2, armchmp2, 0,        ROT270, "Jaleco", "Arm Champs II v1.7",            GAME_IMPERFECT_GRAPHICS )
3065GAME( 1992, armchmp2o,armchmp2, armchmp2, armchmp2, 0,        ROT270, "Jaleco", "Arm Champs II v1.7",            GAME_IMPERFECT_GRAPHICS )
30503066GAME( 1992, wildplt,  0,        f1gpstr2, wildplt,  wildplt,  ROT0,   "Jaleco", "Wild Pilot",                    GAME_IMPERFECT_GRAPHICS )
30513067GAME( 1993, f1gpstr2, 0,        f1gpstr2, f1gpstar, f1gpstar, ROT0,   "Jaleco", "F-1 Grand Prix Star II",        GAME_IMPERFECT_GRAPHICS )
30523068GAME( 1994, scudhamm, 0,        scudhamm, scudhamm, 0,        ROT270, "Jaleco", "Scud Hammer",                   GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/redclash.c
r5338r5339
443443   ROM_LOAD( "3.11e",        0x0040, 0x0020, CRC(27fa3a50) SHA1(7cf59b7a37c156640d6ea91554d1c4276c1780e0) ) /* ?? */
444444ROM_END
445445
446ROM_START( redclsha )
446ROM_START( redclasha )
447447   ROM_REGION(0x10000, "maincpu", 0 )
448448   ROM_LOAD( "rc1.11c",      0x0000, 0x1000, CRC(5b62ff5a) SHA1(981d3c72f28b7d136a0bad9243d39fd1ba3abc97) )
449449   ROM_LOAD( "rc3.7c",       0x1000, 0x1000, CRC(409c4ee7) SHA1(15c03a4093d7695751a143aa749229fcb7721f46) )
r5338r5339
467467   ROM_LOAD( "3.11e",        0x0040, 0x0020, CRC(27fa3a50) SHA1(7cf59b7a37c156640d6ea91554d1c4276c1780e0) ) /* ?? */
468468ROM_END
469469
470ROM_START( redclask )
470ROM_START( redclashk )
471471   ROM_REGION(0x10000, "maincpu", 0 )
472472   ROM_LOAD( "rc1.8c",       0x0000, 0x0800, CRC(fd90622a) SHA1(a65a32d519e7fee89b160f8152322df20b6af4ea) )
473473   ROM_LOAD( "rc2.7c",       0x0800, 0x0800, CRC(c8f33440) SHA1(60d1faee415faa13102b8e744f444f1480b8bd73) )
r5338r5339
511511
512512
513513
514GAME( 1980, zerohour, 0,        zerohour, zerohour, redclash, ROT270, "Universal", "Zero Hour",          GAME_NO_SOUND | GAME_WRONG_COLORS | GAME_IMPERFECT_GRAPHICS )
515GAME( 1981, redclash, 0,        redclash, redclash, redclash, ROT270, "Tehkan",    "Red Clash (set 1)",  GAME_NO_SOUND | GAME_WRONG_COLORS | GAME_IMPERFECT_GRAPHICS )
516GAME( 1981, redclsha, redclash, redclash, redclash, redclash, ROT270, "Tehkan",    "Red Clash (set 2)",  GAME_NO_SOUND | GAME_WRONG_COLORS | GAME_IMPERFECT_GRAPHICS )
517GAME( 1981, redclask, redclash, redclash, redclash, redclash, ROT270, "Kaneko",    "Red Clash (Kaneko)", GAME_NO_SOUND | GAME_WRONG_COLORS | GAME_IMPERFECT_GRAPHICS )
514GAME( 1980, zerohour,  0,        zerohour, zerohour, redclash, ROT270, "Universal", "Zero Hour",          GAME_NO_SOUND | GAME_WRONG_COLORS | GAME_IMPERFECT_GRAPHICS )
515GAME( 1981, redclash,  0,        redclash, redclash, redclash, ROT270, "Tehkan",    "Red Clash (set 1)",  GAME_NO_SOUND | GAME_WRONG_COLORS | GAME_IMPERFECT_GRAPHICS )
516GAME( 1981, redclasha, redclash, redclash, redclash, redclash, ROT270, "Tehkan",    "Red Clash (set 2)",  GAME_NO_SOUND | GAME_WRONG_COLORS | GAME_IMPERFECT_GRAPHICS )
517GAME( 1981, redclashk, redclash, redclash, redclash, redclash, ROT270, "Kaneko",    "Red Clash (Kaneko)", GAME_NO_SOUND | GAME_WRONG_COLORS | GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/vicdual.c
r5338r5339
23062306   ROM_LOAD( "316-0042.u88", 0x0020, 0x0020, CRC(a1506b9d) SHA1(037c3db2ea40eca459e8acba9d1506dd28d72d10) )   /* sequence PROM */
23072307ROM_END
23082308
2309ROM_START( depthv1 )
2309ROM_START( depthcho )
23102310   ROM_REGION( 0x10000, "maincpu", 0 )
23112311   ROM_LOAD_NIB_LOW ( "316-0025.u63", 0x0000, 0x0400, CRC(bec75b9c) SHA1(8abe8b63be892e6abb7a886222b9eab40c5fcda0) )
23122312   ROM_LOAD_NIB_HIGH( "316-0022.u51", 0x0000, 0x0400, CRC(977b7889) SHA1(dc1e874c2fd44709117474c5b210d67130ac361f) )
r5338r5339
24492449   ROM_LOAD( "316-0042.u66", 0x0020, 0x0020, CRC(a1506b9d) SHA1(037c3db2ea40eca459e8acba9d1506dd28d72d10) )   /* sequence PROM */
24502450ROM_END
24512451
2452ROM_START( sspacat2 )
2452ROM_START( sspaceat2 )
24532453   ROM_REGION( 0x10000, "maincpu", 0 )
24542454   ROM_LOAD( "81.u48",       0x0000, 0x0400, CRC(3e4b29f6) SHA1(ec99b7e156bad1f9f900fdebb289f0c9abf08647) )
24552455   ROM_LOAD( "58.u47",       0x0400, 0x0400, CRC(176adb80) SHA1(9798d3b2d59fe4b7d26927b444746f135f0f0d8e) )
r5338r5339
24682468   ROM_LOAD( "316-0042.u66", 0x0020, 0x0020, CRC(a1506b9d) SHA1(037c3db2ea40eca459e8acba9d1506dd28d72d10) )   /* sequence PROM */
24692469ROM_END
24702470
2471ROM_START( sspacat3 )
2471ROM_START( sspaceat3 )
24722472   ROM_REGION( 0x10000, "maincpu", 0 )
24732473   ROM_LOAD( "epr115.u48",   0x0000, 0x0400, CRC(9bc36d80) SHA1(519b3f810b133ac82f066851626b73460956a807) )
24742474   ROM_LOAD( "epr116.u47",   0x0400, 0x0400, CRC(2c2750b3) SHA1(eab297678e6ee45d6f723d8ff7e6a29086ad4c78) )
r5338r5339
24872487   ROM_LOAD( "316-0042.u66", 0x0020, 0x0020, CRC(a1506b9d) SHA1(037c3db2ea40eca459e8acba9d1506dd28d72d10) )   /* sequence PROM */
24882488ROM_END
24892489
2490ROM_START( sspacatc )
2490ROM_START( sspaceatc )
24912491   ROM_REGION( 0x10000, "maincpu", 0 )
24922492   ROM_LOAD( "139.u27",      0x0000, 0x0400, CRC(9f2112fc) SHA1(89c129ef1a95c5934a7c775994aafc91911b0051) )
24932493   ROM_LOAD( "140.u26",      0x0400, 0x0400, CRC(ddbeed35) SHA1(48b33d7b35457675b545ca42c8afd79b86ce6035) )
r5338r5339
29062906   ROM_LOAD( "316-0042.u88", 0x0020, 0x0020, CRC(a1506b9d) SHA1(037c3db2ea40eca459e8acba9d1506dd28d72d10) )   /* sequence PROM */
29072907ROM_END
29082908
2909ROM_START( sptrekct )
2909ROM_START( spacetrkc )
29102910   ROM_REGION( 0x10000, "maincpu", 0 )
29112911   ROM_LOAD( "u33c.bin",     0x0000, 0x0400, CRC(b056b928) SHA1(1bbf5c30b226c5ca3c09fcff36a1b21132a524b6) )
29122912   ROM_LOAD( "u32c.bin",     0x0400, 0x0400, CRC(dffb11d9) SHA1(5c95b7e493ac9e8714d91d19b6f01967559ce55c) )
r5338r5339
29622962   ROM_LOAD( "316-0206.u14", 0x0000, 0x0020, CRC(9617d796) SHA1(7cff2741866095ff42eadd8022bea349ec8d2f39) )   /* control PROM */
29632963ROM_END
29642964
2965ROM_START( carnvckt )
2965ROM_START( carnivalc )
29662966   ROM_REGION( 0x10000, "maincpu", 0 )
29672967   ROM_LOAD( "epr501",       0x0000, 0x0400, CRC(688503d2) SHA1(a1fe03c23276d458ba74f7473524918eb9b7c7e5) )
29682968   ROM_LOAD( "652u32.cpu",   0x0400, 0x0400, CRC(a1f58beb) SHA1(e027beca7bf3ef5ef67e2195f909332fd194b5dc) )
r5338r5339
32193219 *************************************/
32203220
32213221GAME( 1977, depthch,  0,        depthch,  depthch,  0, ROT0,   "Gremlin", "Depthcharge", 0 )
3222GAME( 1977, depthv1, depthch,  depthch,  depthch,  0, ROT0,   "Gremlin", "Depthcharge (older)", 0 )
3222GAME( 1977, depthcho, depthch,  depthch,  depthch,  0, ROT0,   "Gremlin", "Depthcharge (older)", 0 )
32233223GAME( 1977, subhunt,  depthch,  depthch,  depthch,  0, ROT0,   "Taito", "Sub Hunter", 0 )
32243224GAME( 1977, safari,   0,        safari,   safari,   0, ROT0,   "Gremlin", "Safari", GAME_NO_SOUND )
32253225GAME( 1978, frogs,    0,        frogs,    frogs,    0, ROT0,   "Gremlin", "Frogs", 0 )
32263226GAME( 1979, sspaceat, 0,        sspaceat, sspaceat, 0, ROT270, "Sega", "Space Attack (upright set 1)", GAME_NO_SOUND )
3227GAME( 1979, sspacat2, sspaceat, sspaceat, sspaceat, 0, ROT270, "Sega", "Space Attack (upright set 2)", GAME_NO_SOUND )
3228GAME( 1979, sspacat3, sspaceat, sspaceat, sspaceat, 0, ROT270, "Sega", "Space Attack (upright set 3)", GAME_NO_SOUND )
3229GAME( 1979, sspacatc, sspaceat, sspaceat, sspaceat, 0, ROT270, "Sega", "Space Attack (cocktail)", GAME_NO_SOUND )
3227GAME( 1979, sspaceat2,sspaceat, sspaceat, sspaceat, 0, ROT270, "Sega", "Space Attack (upright set 2)", GAME_NO_SOUND )
3228GAME( 1979, sspaceat3,sspaceat, sspaceat, sspaceat, 0, ROT270, "Sega", "Space Attack (upright set 3)", GAME_NO_SOUND )
3229GAME( 1979, sspaceatc,sspaceat, sspaceat, sspaceat, 0, ROT270, "Sega", "Space Attack (cocktail)", GAME_NO_SOUND )
32303230GAME( 1979, sspacaho, 0,        sspacaho, sspacaho, 0, ROT270, "Sega", "Space Attack / Head On", GAME_NO_SOUND )
32313231GAME( 1979, headon,   0,        headon,   headon,   0, ROT0,   "Gremlin", "Head On (2 players)",  GAME_IMPERFECT_SOUND )
32323232GAME( 1979, headonb,  headon,   headon,   headon,   0, ROT0,   "Gremlin", "Head On (1 player)",  GAME_IMPERFECT_SOUND )
r5338r5339
32413241GAME( 1979, invds,    0,        invds,    invds,    0, ROT270, "Sega", "Invinco / Deep Scan", GAME_IMPERFECT_SOUND )
32423242GAME( 1980, tranqgun, 0,        tranqgun, tranqgun, 0, ROT270, "Sega", "Tranquillizer Gun", GAME_NO_SOUND )
32433243GAME( 1980, spacetrk, 0,        spacetrk, spacetrk, 0, ROT270, "Sega", "Space Trek (upright)", GAME_NO_SOUND )
3244GAME( 1980, sptrekct, spacetrk, spacetrk, sptrekct, 0, ROT270, "Sega", "Space Trek (cocktail)", GAME_NO_SOUND )
3244GAME( 1980, spacetrkc,spacetrk, spacetrk, sptrekct, 0, ROT270, "Sega", "Space Trek (cocktail)", GAME_NO_SOUND )
32453245GAME( 1980, carnival, 0,        carnival, carnival, 0, ROT270, "Sega", "Carnival (upright)", 0 )
3246GAME( 1980, carnvckt, carnival, carnival, carnvckt, 0, ROT270, "Sega", "Carnival (cocktail)", 0 )
3246GAME( 1980, carnivalc,carnival, carnival, carnvckt, 0, ROT270, "Sega", "Carnival (cocktail)", 0 )
32473247GAME( 1981, brdrline, 0,        brdrline, brdrline, 0, ROT270, "Sega", "Borderline", GAME_NO_SOUND )
32483248GAME( 1981, brdrlins, brdrline, brdrline, brdrline, 0, ROT270, "[Sega] (Sidam bootleg)", "Borderline (Sidam bootleg)", GAME_NO_SOUND )
32493249GAME( 1981, brdrlinb, brdrline, brdrline, brdrline, 0, ROT270, "[Sega] (Karateco bootleg)", "Borderline (Karateco bootleg)", GAME_NO_SOUND )
src/mame/drivers/magicfly.c
r5338r5339
834834
835835/*    YEAR  NAME      PARENT  MACHINE   INPUT     INIT   ROT    COMPANY      FULLNAME    FLAGS... */
836836GAME( 198?, magicfly, 0,      magicfly, magicfly, 0,     ROT0, "P&A Games", "Magic Fly", GAME_IMPERFECT_COLORS )
837GAME( 198?, 7mezzo,   0,      7mezzo,   7mezzo,   0,     ROT0, "Unknown",  "7 e Mezzo", GAME_IMPERFECT_COLORS )
837GAME( 198?, 7mezzo,   0,      7mezzo,   7mezzo,   0,     ROT0, "<unknown>", "7 e Mezzo", GAME_IMPERFECT_COLORS )
src/mame/drivers/centiped.c
r5338r5339
17851785ROM_END
17861786
17871787
1788ROM_START( centipd2 )
1788ROM_START( centiped2 )
17891789   ROM_REGION( 0x10000, "maincpu", 0 )
17901790   ROM_LOAD( "136001-207.d1",  0x2000, 0x0800, CRC(b2909e2f) SHA1(90ec90bd1e262861730afd5b113ec8dddd958ed8) )
17911791   ROM_LOAD( "136001-208.e1",  0x2800, 0x0800, CRC(110e04ff) SHA1(4cb481792411b6aefac561744cfbe107aba8bab3) )
r5338r5339
20062006 *************************************/
20072007
20082008GAME( 1980, centiped, 0,        centiped, centiped, 0,        ROT270, "Atari",   "Centipede (revision 3)", GAME_SUPPORTS_SAVE)
2009GAME( 1980, centipd2, centiped, centiped, centiped, 0,        ROT270, "Atari",   "Centipede (revision 2)", GAME_SUPPORTS_SAVE )
2009GAME( 1980, centiped2,centiped, centiped, centiped, 0,        ROT270, "Atari",   "Centipede (revision 2)", GAME_SUPPORTS_SAVE )
20102010GAME( 1980, centtime, centiped, centiped, centtime, 0,        ROT270, "Atari",   "Centipede (1 player, timed)", GAME_SUPPORTS_SAVE )
20112011GAME( 1980, centipdb, centiped, centipdb, centiped, 0,        ROT270, "bootleg", "Centipede (bootleg)", GAME_SUPPORTS_SAVE )
20122012GAME( 1980, centipdd, centiped, centiped, centiped, 0,        ROT270, "hack",    "Centipede Dux (hack)", GAME_SUPPORTS_SAVE )
src/mame/drivers/welltris.c
r5338r5339
788788   ROM_LOAD( "lh534j10.124", 0x80000, 0x80000, CRC(e3682221) SHA1(3e1cda07cf451955dc473eabe007854e5148ae27) )
789789ROM_END
790790
791ROM_START( welltrij )
791ROM_START( welltrisj )
792792   ROM_REGION( 0x180000, "maincpu", 0 )   /* 68000 code */
793793   ROM_LOAD16_BYTE( "j2.8", 0x000000, 0x20000, CRC(68ec5691) SHA1(8615415c5c98aa9caa0878a8251da7985f050f94) )
794794   ROM_LOAD16_BYTE( "j1.7", 0x000001, 0x20000, CRC(1598ea2c) SHA1(e9150c3ab9b5c0eb9a5fee3e071358f92a005078) )
r5338r5339
847847
848848
849849GAME( 1991, welltris, 0,        welltris, welltris, welltris, ROT0,   "Video System Co.", "Welltris (World?, 2 players)", GAME_NO_COCKTAIL )
850GAME( 1991, welltrij, welltris, welltris, welltris, welltris, ROT0,   "Video System Co.", "Welltris (Japan, 2 players)", GAME_NO_COCKTAIL )
850GAME( 1991, welltrisj,welltris, welltris, welltris, welltris, ROT0,   "Video System Co.", "Welltris (Japan, 2 players)", GAME_NO_COCKTAIL )
851851GAME( 1992, quiz18k,  0,        quiz18k,  quiz18k,  quiz18k,  ROT0,   "EIM", "Miyasu Nonki no Quiz 18-Kin", GAME_NO_COCKTAIL )
src/mame/drivers/aquarium.c
r5338r5339
174174
175175static INPUT_PORTS_START( aquarium )
176176   PORT_START("DSW")
177   PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Difficulty ) )
177   PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Difficulty ) )         PORT_DIPLOCATION("SW1:1,2")
178178   PORT_DIPSETTING(      0x0002, DEF_STR( Easy ) )
179179   PORT_DIPSETTING(      0x0003, DEF_STR( Normal ) )
180180   PORT_DIPSETTING(      0x0001, DEF_STR( Hard ) )
181181   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
182   PORT_DIPNAME( 0x000c, 0x000c, "Winning Rounds (Player VS CPU)" )
182   PORT_DIPNAME( 0x000c, 0x000c, "Winning Rounds (Player VS CPU)" )   PORT_DIPLOCATION("SW1:3,4")
183183   PORT_DIPSETTING(      0x000c, "1/1" )
184184   PORT_DIPSETTING(      0x0008, "2/3" )
185185   PORT_DIPSETTING(      0x0004, "3/5" )
186//  PORT_DIPSETTING(      0x0000, "1/1" )
187   PORT_DIPNAME( 0x0030, 0x0030, "Winning Rounds (Player VS Player)" )
186//  PORT_DIPSETTING(      0x0000, "1/1" )                   /* Not used or listed in manual */
187   PORT_DIPNAME( 0x0030, 0x0030, "Winning Rounds (Player VS Player)" )   PORT_DIPLOCATION("SW1:5,6")
188188   PORT_DIPSETTING(      0x0030, "1/1" )
189189   PORT_DIPSETTING(      0x0020, "2/3" )
190190   PORT_DIPSETTING(      0x0010, "3/5" )
191//  PORT_DIPSETTING(      0x0000, "1/1" )
192   PORT_DIPUNUSED( 0x0040, IP_ACTIVE_LOW )
193   PORT_DIPUNUSED( 0x0080, IP_ACTIVE_LOW )
194   PORT_DIPNAME( 0x0700, 0x0700, DEF_STR( Coinage ) )
191//  PORT_DIPSETTING(      0x0000, "1/1" )                   /* Not used or listed in manual */
192   PORT_DIPUNUSED_DIPLOC( 0x0040, 0x0040, "SW1:7" )         /* Listed in the manual as always OFF */
193   PORT_DIPUNUSED_DIPLOC( 0x0080, 0x0080, "SW1:8" )         /* Listed in the manual as always OFF */
194   PORT_DIPNAME( 0x0700, 0x0700, DEF_STR( Coinage ) )         PORT_DIPLOCATION("SW2:1,2,3")
195195   PORT_DIPSETTING(      0x0000, DEF_STR( 5C_1C ) )
196196   PORT_DIPSETTING(      0x0100, DEF_STR( 4C_1C ) )
197197   PORT_DIPSETTING(      0x0200, DEF_STR( 3C_1C ) )
r5338r5339
200200   PORT_DIPSETTING(      0x0600, DEF_STR( 1C_2C ) )
201201   PORT_DIPSETTING(      0x0500, DEF_STR( 1C_3C ) )
202202   PORT_DIPSETTING(      0x0400, DEF_STR( 1C_4C ) )
203   PORT_DIPUNUSED( 0x0800, IP_ACTIVE_LOW )
204   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Flip_Screen ) )   // to be confirmed - code at 0x01f82c
203   PORT_DIPUNUSED_DIPLOC( 0x0800, 0x0800, "SW2:4" )         /* Listed in the manual as always OFF */
204   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Flip_Screen ) )         PORT_DIPLOCATION("SW2:5")
205205   PORT_DIPSETTING(      0x1000, DEF_STR( Off ) )
206206   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
207   PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Demo_Sounds ) )
207   PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Demo_Sounds ) )         PORT_DIPLOCATION("SW2:6")
208208   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
209209   PORT_DIPSETTING(      0x2000, DEF_STR( On ) )
210   PORT_DIPUNUSED( 0x4000, IP_ACTIVE_LOW )
211   PORT_DIPUNUSED( 0x8000, IP_ACTIVE_LOW )
210   PORT_DIPUNUSED_DIPLOC( 0x4000, 0x4000, "SW2:7" )         /* Listed in the manual as always OFF */
211   PORT_DIPUNUSED_DIPLOC( 0x8000, 0x8000, "SW2:8" )         /* Listed in the manual as always OFF */
212212
213213   PORT_START("INPUTS")
214214   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2)
src/mame/drivers/metro.c
r5338r5339
51745174   ROM_LOAD( "tr_jb11", 0x000000, 0x020000, CRC(83786a09) SHA1(910cf0ccf4493f2a80062149f6364dbb6a1c2a5d) )
51755175ROM_END
51765176
5177ROM_START( lastfork )
5177ROM_START( lastfortk )
51785178   ROM_REGION( 0x040000, "maincpu", 0 )      /* 68000 Code */
51795179   ROM_LOAD16_BYTE( "7f-9",  0x000000, 0x020000, CRC(d2894c1f) SHA1(4f4ab6d8ce69999cd7c4a9ddabec8d1e8fefc6fc) )
51805180   ROM_LOAD16_BYTE( "8f-10", 0x000001, 0x020000, CRC(9696ea39) SHA1(27af0c6399cd7be40aa8a1c1b58e0db8408aff11) )
r5338r5339
51995199
52005200/* German version on PCB VG460-(A) */
52015201
5202ROM_START( lastforg )
5202ROM_START( lastfortg )
52035203   ROM_REGION( 0x080000, "maincpu", 0 )      /* 68000 Code */
52045204   ROM_LOAD16_BYTE( "trma02.bin",    0x000000, 0x020000, CRC(e6f40918) SHA1(c8c9369103530b2214c779c8a643ba9349b3eac5) )
52055205   ROM_LOAD16_BYTE( "trma03.bin",    0x000001, 0x020000, CRC(b00fb126) SHA1(7dd4b7a2d1c5401fde2275ef76fac1ccc586a0bd) )
r5338r5339
52325232
52335233***************************************************************************/
52345234
5235ROM_START( lastfero )
5235ROM_START( lastforte )
52365236   ROM_REGION( 0x040000, "maincpu", 0 )      /* 68000 Code */
52375237   ROM_LOAD16_BYTE( "tre_jc09", 0x000000, 0x020000, CRC(32f43390) SHA1(b5bad9d80f2155f277265fe487a59f0f4ec6575d) )
52385238   ROM_LOAD16_BYTE( "tre_jc10", 0x000001, 0x020000, CRC(9536369c) SHA1(39291e92c107be35d130ff29533b42581efc308b) )
r5338r5339
54795479   ROM_LOAD( "ppoms11.bin", 0x000000, 0x020000, CRC(e89bd565) SHA1(6c7c1ad67ba708dbbe9654c1d290af290207d2be) )
54805480ROM_END
54815481
5482ROM_START( pangpomm )
5482ROM_START( pangpomsm )
54835483   ROM_REGION( 0x040000, "maincpu", 0 )      /* 68000 Code */
54845484   ROM_LOAD16_BYTE( "pa.c09", 0x000000, 0x020000, CRC(e01a7a08) SHA1(1890b290dfb1521ab73b2392409aaf44b99d63bb) )
54855485   ROM_LOAD16_BYTE( "pa.c10", 0x000001, 0x020000, CRC(5e509cee) SHA1(821cfbf5f65cc3091eb8008310266f9f2c838072) )
r5338r5339
58215821   ROM_LOAD( "tr2aja-7.3g", 0x000000, 0x020000, CRC(630c6193) SHA1(ddb63724e0b0f7264cb02904e49b24b87beb35a9) )
58225822ROM_END
58235823
5824ROM_START( torid2gg )
5824ROM_START( toride2gg )
58255825   ROM_REGION( 0x080000, "maincpu", 0 )      /* 68000 Code */
58265826   ROM_LOAD16_BYTE( "trii_ge_5", 0x000000, 0x040000, CRC(5e0815a8) SHA1(574c1bf1149b7e98222876b402b20d824f207c79) )
58275827   ROM_LOAD16_BYTE( "trii_ge_6", 0x000001, 0x040000, CRC(55eba67d) SHA1(c12a11a98d49baf3643404a594d2b87b434acb01) )
r5338r5339
58695869
58705870GAME( 1992, karatour, 0,        karatour, karatour, karatour, ROT0,   "Mitchell",                               "The Karate Tournament",             GAME_IMPERFECT_GRAPHICS )
58715871GAME( 1992, pangpoms, 0,        pangpoms, pangpoms, metro,    ROT0,   "Metro",                                  "Pang Pom's",                        0 )
5872GAME( 1992, pangpomm, pangpoms, pangpoms, pangpoms, metro,    ROT0,   "Metro (Mitchell license)",               "Pang Pom's (Mitchell)",             0 )
5872GAME( 1992, pangpomsm,pangpoms, pangpoms, pangpoms, metro,    ROT0,   "Metro (Mitchell license)",               "Pang Pom's (Mitchell)",             0 )
58735873GAME( 1992, skyalert, 0,        skyalert, skyalert, metro,    ROT270, "Metro",                                  "Sky Alert",                         0 )
58745874GAME( 1993, ladykill, 0,        karatour, ladykill, karatour, ROT90,  "Yanyaka (Mitchell license)",             "Lady Killer",                       GAME_IMPERFECT_GRAPHICS )
58755875GAME( 1993, moegonta, ladykill, karatour, moegonta, karatour, ROT90,  "Yanyaka",                                "Moeyo Gonta!! (Japan)",             GAME_IMPERFECT_GRAPHICS )
r5338r5339
58785878GAME( 1994, dharma,   0,        dharma,   dharma,   metro,    ROT0,   "Metro",                                  "Dharma Doujou",                     0 )
58795879GAME( 1994, dharmak,  dharma,   dharma,   dharma,   dharmak,  ROT0,   "Metro",                                  "Dharma Doujou (Korea)",             0 )
58805880GAME( 1994, lastfort, 0,        lastfort, lastfort, metro,    ROT0,   "Metro",                                  "Last Fortress - Toride",            0 )
5881GAME( 1994, lastfero, lastfort, lastfort, lastfero, metro,    ROT0,   "Metro",                                  "Last Fortress - Toride (Erotic)",   0 )
5882GAME( 1994, lastfork, lastfort, lastfort, lastfero, metro,    ROT0,   "Metro",                                  "Last Fortress - Toride (Korea)",    0 )
5883GAME( 1994, lastforg, lastfort, lastforg, ladykill, metro,    ROT0,   "Metro",                                  "Last Fortress - Toride (German)",   0 )
5881GAME( 1994, lastforte,lastfort, lastfort, lastfero, metro,    ROT0,   "Metro",                                  "Last Fortress - Toride (Erotic)",   0 )
5882GAME( 1994, lastfortk,lastfort, lastfort, lastfero, metro,    ROT0,   "Metro",                                  "Last Fortress - Toride (Korea)",    0 )
5883GAME( 1994, lastfortg,lastfort, lastforg, ladykill, metro,    ROT0,   "Metro",                                  "Last Fortress - Toride (German)",   0 )
58845884GAME( 1994, toride2g, 0,        toride2g, toride2g, metro,    ROT0,   "Metro",                                  "Toride II Adauchi Gaiden",          GAME_IMPERFECT_GRAPHICS )
5885GAME( 1994, torid2gg, toride2g, toride2g, toride2g, metro,    ROT0,   "Metro",                                  "Toride II Adauchi Gaiden (German)", GAME_IMPERFECT_GRAPHICS )
5885GAME( 1994, toride2gg,toride2g, toride2g, toride2g, metro,    ROT0,   "Metro",                                  "Toride II Adauchi Gaiden (German)", GAME_IMPERFECT_GRAPHICS )
58865886GAME( 1994, toride2j, toride2g, toride2g, toride2g, metro,    ROT0,   "Metro",                                  "Toride II (Japan)",                 GAME_IMPERFECT_GRAPHICS )
58875887GAME( 1994, gunmast,  0,        pururun,  gunmast,  daitorid, ROT0,   "Metro",                                  "Gun Master",                        0 )
58885888GAME( 1995, daitorid, 0,        daitorid, daitorid, daitorid, ROT0,   "Metro",                                  "Daitoride",                         GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/zaccaria.c
r5338r5339
705705   ROM_LOAD( "jr-pal16l8.6k",   0x0200, 0x0104, NO_DUMP ) /* PAL is read protected */
706706ROM_END
707707
708ROM_START( jackrab2 )
708ROM_START( jackrabt2 )
709709   ROM_REGION( 0x10000, "maincpu", 0 )
710710   ROM_LOAD( "1cpu2.1a",     0x0000, 0x1000, CRC(f9374113) SHA1(521f293f1894bcaf21e44bc7841a20ae29232da3) )
711711   ROM_CONTINUE(             0x8000, 0x1000 )
r5338r5339
740740   ROM_LOAD( "jr-ic9f",      0x0200, 0x0200, CRC(085914d1) SHA1(3d6f9318f5a9f08ce89e4184e3efb9881f671fa7) )
741741ROM_END
742742
743ROM_START( jackrabs )
743ROM_START( jackrabts )
744744   ROM_REGION( 0x10000, "maincpu", 0 )
745745   ROM_LOAD( "1cpu.1a",      0x0000, 0x1000, CRC(6698dc65) SHA1(33e3518846e88dc34f4b6c4e9ca9f8999c0460c8) )
746746   ROM_CONTINUE(             0x8000, 0x1000 )
r5338r5339
777777
778778
779779
780GAME( 1983, monymony, 0,        zaccaria, monymony, 0, ROT90, "Zaccaria", "Money Money", GAME_IMPERFECT_SOUND )
781GAME( 1984, jackrabt, 0,        zaccaria, jackrabt, 0, ROT90, "Zaccaria", "Jack Rabbit (set 1)", GAME_IMPERFECT_SOUND )
782GAME( 1984, jackrab2, jackrabt, zaccaria, jackrabt, 0, ROT90, "Zaccaria", "Jack Rabbit (set 2)", GAME_IMPERFECT_SOUND )
783GAME( 1984, jackrabs, jackrabt, zaccaria, jackrabt, 0, ROT90, "Zaccaria", "Jack Rabbit (special)", GAME_IMPERFECT_SOUND )
780GAME( 1983, monymony,  0,        zaccaria, monymony, 0, ROT90, "Zaccaria", "Money Money", GAME_IMPERFECT_SOUND )
781GAME( 1984, jackrabt,  0,        zaccaria, jackrabt, 0, ROT90, "Zaccaria", "Jack Rabbit (set 1)", GAME_IMPERFECT_SOUND )
782GAME( 1984, jackrabt2, jackrabt, zaccaria, jackrabt, 0, ROT90, "Zaccaria", "Jack Rabbit (set 2)", GAME_IMPERFECT_SOUND )
783GAME( 1984, jackrabts, jackrabt, zaccaria, jackrabt, 0, ROT90, "Zaccaria", "Jack Rabbit (special)", GAME_IMPERFECT_SOUND )
src/mame/drivers/namcos23.c
r5338r5339
877877static VIDEO_UPDATE( ss23 )
878878{
879879   bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
880   bitmap_fill(priority_bitmap, cliprect, 0);
880   bitmap_fill(screen->machine->priority_bitmap, cliprect, 0);
881881
882882   tilemap_mark_all_tiles_dirty(bgtilemap);
883883   tilemap_draw( bitmap, cliprect, bgtilemap, 0/*flags*/, 0/*priority*/ ); /* opaque */
r5338r5339
16691669        ROM_LOAD( "tss1waveh.2a", 0x800000, 0x800000, CRC(5c8758b4) SHA1(b85c8f6869900224ef83a2340b17f5bbb2801af9) )
16701670ROM_END
16711671
1672ROM_START( timcrs2b )
1672ROM_START( timecrs2b )
16731673   ROM_REGION32_BE( 0x400000, "user1", 0 ) /* 4 megs for main R4650 code */
16741674        ROM_LOAD16_BYTE( "tss2verb.ic2", 0x000000, 0x200000, CRC(9f56a4df) SHA1(5ecb3cd93726ab6be02762853fd6a45266d6c0bc) )
16751675        ROM_LOAD16_BYTE( "tss2verb.ic1", 0x000001, 0x200000, CRC(aa147f71) SHA1(e00267d1a8286942c83dc35289ad65bd3cb6d8db) )
r5338r5339
17921792        ROM_LOAD( "ffs1waveh.2a", 0x800000, 0x800000, CRC(178e8bd3) SHA1(8ab1a97003914f70b09e96c5924f3a839fe634c7) )
17931793ROM_END
17941794
1795ROM_START( finfrl2j )
1795ROM_START( finfurl2j )
17961796   ROM_REGION32_BE( 0x400000, "user1", 0 ) /* 4 megs for main R4650 code */
17971797        ROM_LOAD16_BYTE( "29f016_jap1.ic2", 0x000000, 0x200000, CRC(0215125d) SHA1(a99f601441c152b0b00f4811e5752c71897b1ed4) )
17981798        ROM_LOAD16_BYTE( "29f016_jap1.ic1", 0x000001, 0x200000, CRC(38c9ae96) SHA1(b50afc7276662267ff6460f82d0e5e8b00b341ea) )
r5338r5339
18751875GAME( 1997, rapidrvr, 0,      gorgon, ss23, ss23, ROT0, "Namco", "Rapid River (RD3 Ver. C)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_SOUND )
18761876GAME( 1997, motoxgo,  0,         s23, ss23, ss23, ROT0, "Namco", "Motocross Go! (MG3 Ver. A)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_SOUND )
18771877GAME( 1997, timecrs2, 0,         s23, ss23, ss23, ROT0, "Namco", "Time Crisis 2 (TSS3 Ver. B)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_SOUND )
1878GAME( 1997, timcrs2b, timecrs2,  s23, ss23, ss23, ROT0, "Namco", "Time Crisis 2 (TSS2 Ver. B)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_SOUND )
1878GAME( 1997, timecrs2b,timecrs2,  s23, ss23, ss23, ROT0, "Namco", "Time Crisis 2 (TSS2 Ver. B)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_SOUND )
18791879GAME( 1998, panicprk, 0,        ss23, ss23, ss23, ROT0, "Namco", "Panic Park (PNP2 Ver. A)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_SOUND )
18801880GAME( 1999, 500gp,    0,        ss23, ss23, ss23, ROT0, "Namco", "500GP", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_SOUND )
18811881GAME( 1999, finfurl2, 0,        ss23, ss23, ss23, ROT0, "Namco", "Final Furlong 2 (World)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_SOUND )
1882GAME( 1999, finfrl2j, finfurl2, ss23, ss23, ss23, ROT0, "Namco", "Final Furlong 2 (Japan)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_SOUND )
1882GAME( 1999, finfurl2j,finfurl2, ss23, ss23, ss23, ROT0, "Namco", "Final Furlong 2 (Japan)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_SOUND )
src/mame/drivers/commando.c
r5338r5339
312312   ROM_LOAD( "vtb6.6e",  0x0500, 0x0100, CRC(0eaf5158) SHA1(bafd4108708f66cd7b280e47152b108f3e254fc9) )   /* video timing (not used) */
313313ROM_END
314314
315ROM_START( commandu )
315ROM_START( commandou )
316316   ROM_REGION( 2*0x10000, "maincpu", 0 )   /* 64k for code + 64k for decrypted opcodes */
317317   ROM_LOAD( "u4-f.9m",  0x0000, 0x8000, CRC(a6118935) SHA1(d5811968b23d61e344e151747bcc3c0ed2b9497b) )
318318   ROM_LOAD( "u3-f.8m",  0x8000, 0x4000, CRC(24f49684) SHA1(d38a7bd9f3b506747a03f6b94c3f8a2d9fc59166) )
r5338r5339
348348   ROM_LOAD( "vtb6.6e",  0x0500, 0x0100, CRC(0eaf5158) SHA1(bafd4108708f66cd7b280e47152b108f3e254fc9) )   /* video timing (not used) */
349349ROM_END
350350
351ROM_START( commandj )
351ROM_START( commandoj )
352352   ROM_REGION( 2*0x10000, "maincpu", 0 )   /* 64k for code + 64k for decrypted opcodes */
353353   ROM_LOAD( "so04.9m", 0x0000, 0x8000, CRC(d3f2bfb3) SHA1(738a5673ac6a907cb04cfb125e8aab3f7437b9d2) )
354354   ROM_LOAD( "so03.8m", 0x8000, 0x4000, CRC(ed01f472) SHA1(fa181293ae8f0fee78d412259eb81f6de1e1307a) )
r5338r5339
384384   ROM_LOAD( "vtb6.6e",  0x0500, 0x0100, CRC(0eaf5158) SHA1(bafd4108708f66cd7b280e47152b108f3e254fc9) )   /* video timing (not used) */
385385ROM_END
386386
387ROM_START( commandb )
387ROM_START( commandob )
388388   ROM_REGION( 2*0x10000, "maincpu", 0 )   /* 64k for code + 64k for decrypted opcodes */
389389   ROM_LOAD( "commandb_04_9m_27256.bin",  0x0000, 0x8000, CRC(348a7654) SHA1(f3668c47c154a9c7d7afeabb0259c9bc56e847ac) )
390390   ROM_LOAD( "cm03.8m",  0x8000, 0x4000, CRC(35486542) SHA1(531a85c9e03970ce037be84f2240c2df6f6e3ec1) )
r5338r5339
544544/* Game Drivers */
545545
546546GAME( 1985, commando, 0,        commando, commando, commando, ROT270, "Capcom", "Commando (World)", 0 )
547GAME( 1985, commandu, commando, commando, commandu, commando, ROT270, "Capcom (Data East USA license)", "Commando (US)", 0 )
548GAME( 1985, commandj, commando, commando, commando, commando, ROT270, "Capcom", "Senjou no Ookami", 0 )
549GAME( 1985, commandb, commando, commando, commando, spaceinv, ROT270, "bootleg", "Commando (bootleg)", 0 )
547GAME( 1985, commandou,commando, commando, commandu, commando, ROT270, "Capcom (Data East USA license)", "Commando (US)", 0 )
548GAME( 1985, commandoj,commando, commando, commando, commando, ROT270, "Capcom", "Senjou no Ookami", 0 )
549GAME( 1985, commandob,commando, commando, commando, spaceinv, ROT270, "bootleg", "Commando (bootleg)", 0 )
550550GAME( 1985, sinvasn,  commando, commando, commando, commando, ROT270, "Capcom", "Space Invasion (Europe)", 0 )
551551GAME( 1985, sinvasnb, commando, commando, commando, spaceinv, ROT270, "bootleg", "Space Invasion (bootleg)", 0 )
src/mame/drivers/atarisy2.c
r5338r5339
12441244ROM_END
12451245
12461246
1247ROM_START( paperbr2 )
1247ROM_START( paperboyr2 )
12481248   ROM_REGION( 0x90000, "maincpu", 0 )   /* 9*64k for T11 code */
12491249   ROM_LOAD16_BYTE( "cpu_l07.rv2", 0x008000, 0x004000, CRC(39d0a625) SHA1(c4f62cecbc8a122f58f98312517feccf9429f28b) )
12501250   ROM_LOAD16_BYTE( "cpu_n07.rv2", 0x008001, 0x004000, CRC(3c5de588) SHA1(faad02fee1528cd52af1fac315096a46a9eb9a85) )
r5338r5339
12831283ROM_END
12841284
12851285
1286ROM_START( paperbr1 )
1286ROM_START( paperboyr1 )
12871287   ROM_REGION( 0x90000, "maincpu", 0 )   /* 9*64k for T11 code */
12881288   ROM_LOAD16_BYTE( "cpu_l07.rv1", 0x008000, 0x004000, CRC(fd87a8ee) SHA1(f42fe59f62928bb36c00b6814e1af173d713fb2e) )
12891289   ROM_LOAD16_BYTE( "cpu_n07.rv1", 0x008001, 0x004000, CRC(a997e217) SHA1(85d97e62bb225f6302cdad18bf1299d364614ce4) )
r5338r5339
19331933ROM_END
19341934
19351935
1936ROM_START( sspring1 )
1936ROM_START( ssprintg1 )
19371937   ROM_REGION( 0x90000, "maincpu", 0 )   /* 9*64k for T11 code */
19381938   ROM_LOAD16_BYTE( "136042-230.7l",   0x008000, 0x004000, CRC(e5b2da29) SHA1(99150184a3f065e934ed6f60731fe534a75ba991) )
19391939   ROM_LOAD16_BYTE( "136042-231.7n",   0x008001, 0x004000, CRC(fac14b00) SHA1(6e5bf1e80f3d04f670b8290195609c0ac0cacea2) )
r5338r5339
21052105ROM_END
21062106
21072107
2108ROM_START( csprins1 )
2108ROM_START( csprints1 )
21092109   ROM_REGION( 0x90000, "maincpu", 0 )   /* 9*64k for T11 code */
21102110   ROM_LOAD16_BYTE( "136045-1326.7l",  0x008000, 0x004000, CRC(cfa673a6) SHA1(db630ce26b6b2cf9215a7810ab6b93a5485bd5ae) )
21112111   ROM_LOAD16_BYTE( "136045-1327.7n",  0x008001, 0x004000, CRC(16c1dcab) SHA1(deb3eaff35e7b3810133c7ce74a528d3a58babb2) )
r5338r5339
22732273ROM_END
22742274
22752275
2276ROM_START( cspring1 )
2276ROM_START( csprintg1 )
22772277   ROM_REGION( 0x90000, "maincpu", 0 )   /* 9*64k for T11 code */
22782278   ROM_LOAD16_BYTE( "136045-1226.7l",  0x008000, 0x004000, CRC(becfc276) SHA1(cc3a6ef91fb3a47426a347ba4f6df41582e6deba) )
22792279   ROM_LOAD16_BYTE( "136045-1227.7n",  0x008001, 0x004000, CRC(d1dce1cc) SHA1(2de07c4730e1b5e4b11466220bb350f3263d43e7) )
r5338r5339
32503250 *
32513251 *************************************/
32523252
3253GAME( 1984, paperboy, 0,        atarisy2, paperboy, paperboy, ROT0,   "Atari Games", "Paperboy (rev 3)", GAME_SUPPORTS_SAVE )
3254GAME( 1984, paperbr2, paperboy, atarisy2, paperboy, paperboy, ROT0,   "Atari Games", "Paperboy (rev 2)", GAME_SUPPORTS_SAVE )
3255GAME( 1984, paperbr1, paperboy, atarisy2, paperboy, paperboy, ROT0,   "Atari Games", "Paperboy (rev 1)", GAME_SUPPORTS_SAVE )
3253GAME( 1984, paperboy, 0,         atarisy2, paperboy, paperboy, ROT0,   "Atari Games", "Paperboy (rev 3)", GAME_SUPPORTS_SAVE )
3254GAME( 1984, paperboyr2,paperboy, atarisy2, paperboy, paperboy, ROT0,   "Atari Games", "Paperboy (rev 2)", GAME_SUPPORTS_SAVE )
3255GAME( 1984, paperboyr1,paperboy, atarisy2, paperboy, paperboy, ROT0,   "Atari Games", "Paperboy (rev 1)", GAME_SUPPORTS_SAVE )
32563256
32573257GAME( 1986, 720,      0,        atarisy2, 720,      720,      ROT0,   "Atari Games", "720 Degrees (rev 4)", GAME_SUPPORTS_SAVE )
32583258GAME( 1986, 720r3,    720,      atarisy2, 720,      720,      ROT0,   "Atari Games", "720 Degrees (rev 3)", GAME_SUPPORTS_SAVE )
r5338r5339
32653265GAME( 1986, ssprint3, ssprint,  sprint,   ssprint,  ssprint1, ROT0,   "Atari Games", "Super Sprint (rev 3)", GAME_SUPPORTS_SAVE )
32663266GAME( 1986, ssprint1, ssprint,  sprint,   ssprint,  ssprint1, ROT0,   "Atari Games", "Super Sprint (rev 1)", GAME_SUPPORTS_SAVE )
32673267GAME( 1986, ssprintg, ssprint,  sprint,   ssprint,  ssprint1, ROT0,   "Atari Games", "Super Sprint (German, rev 2)", GAME_SUPPORTS_SAVE )
3268GAME( 1986, sspring1, ssprint,  sprint,   ssprint,  ssprint1, ROT0,   "Atari Games", "Super Sprint (German, rev 1)", GAME_SUPPORTS_SAVE )
3268GAME( 1986, ssprintg1,ssprint,  sprint,   ssprint,  ssprint1, ROT0,   "Atari Games", "Super Sprint (German, rev 1)", GAME_SUPPORTS_SAVE )
32693269GAME( 1986, ssprintf, ssprint,  sprint,   ssprint,  ssprint1, ROT0,   "Atari Games", "Super Sprint (French)", GAME_SUPPORTS_SAVE )
32703270GAME( 1986, ssprints, ssprint,  sprint,   ssprint,  ssprint1, ROT0,   "Atari Games", "Super Sprint (Spanish)", GAME_SUPPORTS_SAVE )
32713271
r5338r5339
32733273GAME( 1986, csprint2, csprint,  sprint,   csprint,  csprint,  ROT0,   "Atari Games", "Championship Sprint (rev 2)", GAME_SUPPORTS_SAVE )
32743274GAME( 1986, csprint1, csprint,  sprint,   csprint,  csprint,  ROT0,   "Atari Games", "Championship Sprint (rev 1)", GAME_SUPPORTS_SAVE )
32753275GAME( 1986, csprintg, csprint,  sprint,   csprint,  csprint,  ROT0,   "Atari Games", "Championship Sprint (German, rev 2)", GAME_SUPPORTS_SAVE )
3276GAME( 1986, cspring1, csprint,  sprint,   csprint,  csprint,  ROT0,   "Atari Games", "Championship Sprint (German, rev 1)", GAME_SUPPORTS_SAVE )
3276GAME( 1986, csprintg1,csprint,  sprint,   csprint,  csprint,  ROT0,   "Atari Games", "Championship Sprint (German, rev 1)", GAME_SUPPORTS_SAVE )
32773277GAME( 1986, csprintf, csprint,  sprint,   csprint,  csprint,  ROT0,   "Atari Games", "Championship Sprint (French)", GAME_SUPPORTS_SAVE )
32783278GAME( 1986, csprints, csprint,  sprint,   csprint,  csprint,  ROT0,   "Atari Games", "Championship Sprint (Spanish, rev 2)", GAME_SUPPORTS_SAVE )
3279GAME( 1986, csprins1, csprint,  sprint,   csprint,  csprint,  ROT0,   "Atari Games", "Championship Sprint (Spanish, rev 1)", GAME_SUPPORTS_SAVE )
3279GAME( 1986, csprints1,csprint,  sprint,   csprint,  csprint,  ROT0,   "Atari Games", "Championship Sprint (Spanish, rev 1)", GAME_SUPPORTS_SAVE )
32803280
32813281GAME( 1987, apb,      0,        atarisy2, apb,      apb,      ROT270, "Atari Games", "APB - All Points Bulletin (rev 7)", GAME_SUPPORTS_SAVE )
32823282GAME( 1987, apb6,     apb,      atarisy2, apb,      apb,      ROT270, "Atari Games", "APB - All Points Bulletin (rev 6)", GAME_SUPPORTS_SAVE )
src/mame/drivers/ninjakd2.c
r5338r5339
924924
925925   /* video hardware */
926926   MDRV_SCREEN_ADD("screen", RASTER)
927   MDRV_SCREEN_REFRESH_RATE(60)
927   MDRV_SCREEN_REFRESH_RATE(59.61)    /* verified on pcb */
928928   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
929929   MDRV_SCREEN_SIZE(32*8, 32*8)
930930   MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 4*8, 28*8-1)
r5338r5339
10571057   ROM_LOAD( "nk2_09.rom",   0x0000, 0x10000, CRC(c1d2d170) SHA1(0f325815086fde90fd85360d3660042b0b68ba96) )   // unsigned 8-bit pcm samples
10581058ROM_END
10591059
1060ROM_START( ninjak2a )
1060ROM_START( ninjakd2a )
10611061   ROM_REGION( 0x30000, "maincpu", 0 )
10621062   ROM_LOAD( "nk2_01.bin",   0x00000, 0x8000, CRC(e6adca65) SHA1(33d483dde0853f37455cde32b461f4e919601b4b) )
10631063   ROM_LOAD( "nk2_02.bin",   0x10000, 0x8000, CRC(d9284bd1) SHA1(e790fb1a718a1f7997931f2f390fe053655f231d) )   // banked at 8000-bfff
r5338r5339
10841084   ROM_LOAD( "nk2_09.rom",   0x0000, 0x10000, CRC(c1d2d170) SHA1(0f325815086fde90fd85360d3660042b0b68ba96) )   // unsigned 8-bit pcm samples
10851085ROM_END
10861086
1087ROM_START( ninjak2b )
1087ROM_START( ninjakd2b )
10881088   ROM_REGION( 0x30000, "maincpu", 0 )
10891089   ROM_LOAD( "1.3s",         0x00000, 0x8000, CRC(cb4f4624) SHA1(4fc66641adc0a2c0eca332f27c5777df62fa507b) )
10901090   ROM_LOAD( "2.3q",         0x10000, 0x8000, CRC(0ad0c100) SHA1(c5bbc107ba07bd6950bb4d7377e827c084b8229b) )   // banked at 8000-bfff
r5338r5339
12861286   ROM_LOAD( "robokid.18a",  0x50000, 0x10000, CRC(fdff7441) SHA1(843b2c92bbc6f7319568677d50cbd9b03475b34a) )
12871287ROM_END
12881288
1289ROM_START( robokdj2 )
1289ROM_START( robokidj2 )
12901290   ROM_REGION( 0x48000, "maincpu", 0 )
12911291   ROM_LOAD( "1_rom29.18j",  0x00000, 0x08000, CRC(969fb951) SHA1(aa32f0cb33ba2ccbb933dab5444a7e0dbbb84b3d) )
12921292   ROM_CONTINUE(             0x10000, 0x08000 )                                                                 // banked at 8000-bfff
r5338r5339
14701470 *************************************/
14711471
14721472GAME( 1987, ninjakd2, 0,        ninjakd2, ninjakd2, ninjakd2, ROT0,   "UPL", "Ninja-Kid II / NinjaKun Ashura no Shou (set 1)", 0 )
1473GAME( 1987, ninjak2a, ninjakd2, ninjakd2, ninjakd2, bootleg,  ROT0,   "UPL", "Ninja-Kid II / NinjaKun Ashura no Shou (set 2, bootleg?)", 0 )
1474GAME( 1987, ninjak2b, ninjakd2, ninjakd2, rdaction, bootleg,  ROT0,   "UPL", "Ninja-Kid II / NinjaKun Ashura no Shou (set 3, bootleg?)", 0 )
1473GAME( 1987, ninjakd2a,ninjakd2, ninjakd2, ninjakd2, bootleg,  ROT0,   "UPL", "Ninja-Kid II / NinjaKun Ashura no Shou (set 2, bootleg?)", 0 )
1474GAME( 1987, ninjakd2b,ninjakd2, ninjakd2, rdaction, bootleg,  ROT0,   "UPL", "Ninja-Kid II / NinjaKun Ashura no Shou (set 3, bootleg?)", 0 )
14751475GAME( 1987, rdaction, ninjakd2, ninjakd2, rdaction, ninjakd2, ROT0,   "UPL (World Games license)", "Rad Action / NinjaKun Ashura no Shou", 0 )
14761476GAME( 1987, mnight,   0,        mnight,   mnight,   mnight,   ROT0,   "UPL (Kawakus license)", "Mutant Night", 0 )
14771477GAME( 1988, arkarea,  0,        arkarea,  arkarea,  mnight,   ROT0,   "UPL", "Ark Area", 0 )
14781478GAME( 1988, robokid,  0,        robokid,  robokid,  0,        ROT0,   "UPL", "Atomic Robo-kid", 0 )
14791479GAME( 1988, robokidj, robokid,  robokid,  robokidj, 0,        ROT0,   "UPL", "Atomic Robo-kid (Japan, set 1)", 0 )
1480GAME( 1988, robokdj2, robokid,  robokid,  robokidj, 0,        ROT0,   "UPL", "Atomic Robo-kid (Japan, set 2)", 0 )
1480GAME( 1988, robokidj2,robokid,  robokid,  robokidj, 0,        ROT0,   "UPL", "Atomic Robo-kid (Japan, set 2)", 0 )
14811481GAME( 1989, omegaf,   0,        omegaf,   omegaf,   0,        ROT270, "UPL", "Omega Fighter", 0 )
14821482GAME( 1989, omegafs,  omegaf,   omegaf,   omegaf,   0,        ROT270, "UPL", "Omega Fighter Special", 0 )
src/mame/drivers/yunsung8.c
r5338r5339
625625ROM_END
626626
627627
628ROM_START( cannbalv )
628ROM_START( cannballv )
629629
630630   ROM_REGION( 0x24000, "maincpu", 0 )      /* Main Z80 Code */
631631   ROM_LOAD( "yunsung1", 0x00000, 0x0c000, CRC(f7398b0d) SHA1(f2cdb9c4662cd325376d25ae9611f689605042db) )
r5338r5339
703703***************************************************************************/
704704
705705GAME( 1995,  cannball, 0,        yunsung8, cannball, 0, ROT0,   "Yun Sung / Soft Vision", "Cannon Ball (Yun Sung) (horizontal)",  GAME_IMPERFECT_SOUND )
706GAME( 1995,  cannbalv, cannball, yunsung8, cannbalv, 0, ROT270, "Yun Sung / T&K",         "Cannon Ball (Yun Sung) (vertical)",  GAME_IMPERFECT_SOUND )
706GAME( 1995,  cannballv,cannball, yunsung8, cannbalv, 0, ROT270, "Yun Sung / T&K",         "Cannon Ball (Yun Sung) (vertical)",  GAME_IMPERFECT_SOUND )
707707GAME( 1995,  magix,    0,        yunsung8, magix,    0, ROT0,   "Yun Sung",               "Magix / Rock", GAME_IMPERFECT_SOUND ) // Title: DSW
708708GAME( 1994?, rocktris, 0,        yunsung8, rocktris, 0, ROT0,   "Yun Sung",               "Rock Tris",    GAME_IMPERFECT_SOUND )
src/mame/drivers/warpwarp.c
r5338r5339
900900   ROM_LOAD( "g-9611n.4c",   0x0000, 0x0800, CRC(380994c8) SHA1(0cdf6a05db52c423365bff9c9df6d93ac885794e) )
901901ROM_END
902902
903ROM_START( warpwarr )
903ROM_START( warpwarpr )
904904   ROM_REGION( 0x10000, "maincpu", 0 )
905905   ROM_LOAD( "g-09601.2r",   0x0000, 0x1000, CRC(916ffa35) SHA1(bca2087f8b78a128cdffc55db9814854b72daab5) )
906906   ROM_LOAD( "g-09602.2m",   0x1000, 0x1000, CRC(398bb87b) SHA1(74373336288dc13d59e6f7e7c718aa51d857b087) )
r5338r5339
911911   ROM_LOAD( "g-9611.4c",    0x0000, 0x0800, CRC(00e6a326) SHA1(67b7ab5b7b2c9a97d4d690d88561da48b86bc66e) )
912912ROM_END
913913
914ROM_START( warpwar2 )
914ROM_START( warpwarpr2 )
915915   ROM_REGION( 0x10000, "maincpu", 0 )
916916   ROM_LOAD( "g-09601.2r",   0x0000, 0x1000, CRC(916ffa35) SHA1(bca2087f8b78a128cdffc55db9814854b72daab5) )
917917   ROM_LOAD( "g-09602.2m",   0x1000, 0x1000, CRC(398bb87b) SHA1(74373336288dc13d59e6f7e7c718aa51d857b087) )
r5338r5339
997997GAMEL(1978, geebeeb,  geebee,   geebee,   geebeeb,  geebee,   ROT90, "[Namco] (F.lli Bertolino license)", "Gee Bee (F.lli Bertolino license)", 0, layout_geebee )
998998GAMEL(1978, geebeeg,  geebee,   geebee,   geebee,   geebee,   ROT90, "[Namco] (Gremlin license)", "Gee Bee (Gremlin)", 0, layout_geebee )
999999GAME( 1980, navarone, 0,        navarone, navarone, navarone, ROT90, "Namco", "Navarone", GAME_IMPERFECT_SOUND )
1000GAME( 1980, kaitei,   0,        navarone, kaitei,   kaitei,   ROT90, "Namco", "Kaitei Takara Sagashi", 0 )
1000GAME( 1980, kaitei,   0,        navarone, kaitei,   kaitei,   ROT90, "[K.K. Tokki] (Namco license)", "Kaitei Takara Sagashi (Namco license)", 0 )
10011001GAME( 1980, kaiteik,  kaitei,   navarone, kaiteik,  kaiteik,  ROT90, "K.K. Tokki", "Kaitei Takara Sagashi (K'K-Tokki)", 0 )
10021002GAMEL(1980, sos,      0,        navarone, sos,      sos,      ROT90, "Namco", "SOS", GAME_IMPERFECT_SOUND, layout_sos )
10031003
10041004/* Color games */
1005GAME( 1979, bombbee,  0,        bombbee,  bombbee,  bombbee,  ROT90, "Namco", "Bomb Bee", 0 )
1006GAME( 1979, cutieq,   0,        bombbee,  cutieq,   bombbee,  ROT90, "Namco", "Cutie Q", 0 )
1007GAME( 1981, warpwarp, 0,        warpwarp, warpwarp, warpwarp, ROT90, "Namco", "Warp & Warp", 0 )
1008GAME( 1981, warpwarr, warpwarp, warpwarp, warpwarr, warpwarp, ROT90, "[Namco] (Rock-ola license)", "Warp Warp (Rock-ola set 1)", 0 )
1009GAME( 1981, warpwar2, warpwarp, warpwarp, warpwarr, warpwarp, ROT90, "[Namco] (Rock-ola license)", "Warp Warp (Rock-ola set 2)", 0 )
1005GAME( 1979, bombbee,    0,        bombbee,  bombbee,  bombbee,  ROT90, "Namco", "Bomb Bee", 0 )
1006GAME( 1979, cutieq,     0,        bombbee,  cutieq,   bombbee,  ROT90, "Namco", "Cutie Q", 0 )
1007GAME( 1981, warpwarp,   0,        warpwarp, warpwarp, warpwarp, ROT90, "Namco", "Warp & Warp", 0 )
1008GAME( 1981, warpwarpr,  warpwarp, warpwarp, warpwarr, warpwarp, ROT90, "[Namco] (Rock-ola license)", "Warp Warp (Rock-ola set 1)", 0 )
1009GAME( 1981, warpwarpr2, warpwarp, warpwarp, warpwarr, warpwarp, ROT90, "[Namco] (Rock-ola license)", "Warp Warp (Rock-ola set 2)", 0 )
src/mame/drivers/gng.c
r5338r5339
133133   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
134134
135135   PORT_START("DSW1")
136   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coinage ) )
137   PORT_DIPSETTING(   0x02, DEF_STR( 4C_1C ) )
138   PORT_DIPSETTING(   0x05, DEF_STR( 3C_1C ) )
139   PORT_DIPSETTING(   0x08, DEF_STR( 2C_1C ) )
140   PORT_DIPSETTING(   0x04, DEF_STR( 3C_2C ) )
141   PORT_DIPSETTING(   0x01, DEF_STR( 4C_3C ) )
142   PORT_DIPSETTING(   0x0f, DEF_STR( 1C_1C ) )
143   PORT_DIPSETTING(   0x03, DEF_STR( 3C_4C ) )
144   PORT_DIPSETTING(   0x07, DEF_STR( 2C_3C ) )
145   PORT_DIPSETTING(   0x0e, DEF_STR( 1C_2C ) )
146   PORT_DIPSETTING(   0x06, DEF_STR( 2C_5C ) )
147   PORT_DIPSETTING(   0x0d, DEF_STR( 1C_3C ) )
148   PORT_DIPSETTING(   0x0c, DEF_STR( 1C_4C ) )
149   PORT_DIPSETTING(   0x0b, DEF_STR( 1C_5C ) )
150   PORT_DIPSETTING(   0x0a, DEF_STR( 1C_6C ) )
151   PORT_DIPSETTING(   0x09, DEF_STR( 1C_7C ) )
152   PORT_DIPSETTING(   0x00, DEF_STR( Free_Play ) )
153   PORT_DIPNAME( 0x10, 0x10, "Coinage affects" )
154   PORT_DIPSETTING(   0x10, DEF_STR( Coin_A ) )
155   PORT_DIPSETTING(   0x00, DEF_STR( Coin_B ) )
156   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) )
157   PORT_DIPSETTING(   0x20, DEF_STR( Off ) )
158   PORT_DIPSETTING(   0x00, DEF_STR( On ) )
159   PORT_SERVICE( 0x40, IP_ACTIVE_LOW )
160   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen ) )
161   PORT_DIPSETTING(   0x80, DEF_STR( Off ) )
162   PORT_DIPSETTING(   0x00, DEF_STR( On ) )
136   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:8,7,6,5")
137   PORT_DIPSETTING( 0x02, DEF_STR( 4C_1C ) )
138   PORT_DIPSETTING( 0x05, DEF_STR( 3C_1C ) )
139   PORT_DIPSETTING( 0x08, DEF_STR( 2C_1C ) )
140   PORT_DIPSETTING( 0x04, DEF_STR( 3C_2C ) )
141   PORT_DIPSETTING( 0x01, DEF_STR( 4C_3C ) )
142   PORT_DIPSETTING( 0x0f, DEF_STR( 1C_1C ) )
143   PORT_DIPSETTING( 0x03, DEF_STR( 3C_4C ) )
144   PORT_DIPSETTING( 0x07, DEF_STR( 2C_3C ) )
145   PORT_DIPSETTING( 0x0e, DEF_STR( 1C_2C ) )
146   PORT_DIPSETTING( 0x06, DEF_STR( 2C_5C ) )
147   PORT_DIPSETTING( 0x0d, DEF_STR( 1C_3C ) )
148   PORT_DIPSETTING( 0x0c, DEF_STR( 1C_4C ) )
149   PORT_DIPSETTING( 0x0b, DEF_STR( 1C_5C ) )
150   PORT_DIPSETTING( 0x0a, DEF_STR( 1C_6C ) )
151   PORT_DIPSETTING( 0x09, DEF_STR( 1C_7C ) )
152   PORT_DIPSETTING( 0x00, DEF_STR( Free_Play ) )
153   PORT_DIPNAME( 0x10, 0x10, "Coinage affects" )      PORT_DIPLOCATION("SW1:4")
154   PORT_DIPSETTING( 0x10, DEF_STR( Coin_A ) )
155   PORT_DIPSETTING( 0x00, DEF_STR( Coin_B ) )
156   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:3")
157   PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
158   PORT_DIPSETTING(  0x00, DEF_STR( On ) )
159   PORT_SERVICE_DIPLOC(  0x40, IP_ACTIVE_LOW, "SW1:2" )
160   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:1")
161   PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
162   PORT_DIPSETTING( 0x00, DEF_STR( On ) )
163163
164164   PORT_START("DSW2")
165   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
166   PORT_DIPSETTING(   0x03, "3" )
167   PORT_DIPSETTING(   0x02, "4" )
168   PORT_DIPSETTING(   0x01, "5" )
169   PORT_DIPSETTING(   0x00, "7" )
170   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
171   PORT_DIPSETTING(   0x00, DEF_STR( Upright ) )
172   PORT_DIPSETTING(   0x04, DEF_STR( Cocktail ) )
173   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )
174   PORT_DIPSETTING(   0x18, "20000 70000 70000" )
175   PORT_DIPSETTING(   0x10, "30000 80000 80000" )
176   PORT_DIPSETTING(   0x08, "20000 80000" )
177   PORT_DIPSETTING(   0x00, "30000 80000" )
178   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) )
179   PORT_DIPSETTING(   0x40, DEF_STR( Easy ) )
180   PORT_DIPSETTING(   0x60, DEF_STR( Normal ) )
181   PORT_DIPSETTING(   0x20, DEF_STR( Difficult ) )
182   PORT_DIPSETTING(   0x00, DEF_STR( Very_Difficult ) )
183   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
184   PORT_DIPSETTING(   0x80, DEF_STR( Off ) )
185   PORT_DIPSETTING(   0x00, DEF_STR( On ) )
165   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:8,7")
166   PORT_DIPSETTING( 0x03, "3" )
167   PORT_DIPSETTING( 0x02, "4" )
168   PORT_DIPSETTING( 0x01, "5" )
169   PORT_DIPSETTING( 0x00, "7" )
170   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:6")
171   PORT_DIPSETTING( 0x00, DEF_STR( Upright ) )
172   PORT_DIPSETTING( 0x04, DEF_STR( Cocktail ) )
173   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:5,4")
174   PORT_DIPSETTING( 0x18, "20K 70K Every 70K" )
175   PORT_DIPSETTING( 0x10, "30K 80K Every 80K" )
176   PORT_DIPSETTING( 0x08, "20K and 80K Only" )
177   PORT_DIPSETTING( 0x00, "30K and 80K Only" )
178   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:3,2")
179   PORT_DIPSETTING( 0x40, DEF_STR( Easy ) )
180   PORT_DIPSETTING( 0x60, DEF_STR( Normal ) )
181   PORT_DIPSETTING( 0x20, DEF_STR( Difficult ) )
182   PORT_DIPSETTING( 0x00, DEF_STR( Very_Difficult ) )
183   PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW2:1" )      /* Listed as "Unused" */
186184INPUT_PORTS_END
187185
188186/* identical to gng, but the "unknown" dip switch is Invulnerability */
r5338r5339
190188   PORT_INCLUDE( gng )
191189
192190   PORT_MODIFY("DSW2")
193   PORT_DIPNAME( 0x80, 0x80, "Invulnerability (Cheat)")
191   PORT_DIPNAME( 0x80, 0x80, "Invulnerability (Cheat)")   PORT_DIPLOCATION("SW2:1")
194192   PORT_DIPSETTING(   0x80, DEF_STR( Off ) )
195193   PORT_DIPSETTING(   0x00, DEF_STR( On ) )
196194INPUT_PORTS_END
r5338r5339
331329static MACHINE_DRIVER_START( gng )
332330
333331   /* basic machine hardware */
334   MDRV_CPU_ADD("maincpu", M6809, 1500000)         /* 1.5 MHz ? */
332   MDRV_CPU_ADD("maincpu", M6809, XTAL_12MHz/8)      /* verified on pcb */
335333   MDRV_CPU_PROGRAM_MAP(gng_map)
336334   MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
337335
338   MDRV_CPU_ADD("audiocpu", Z80, 3000000)
336   MDRV_CPU_ADD("audiocpu", Z80, XTAL_12MHz/8)      /* verified on pcb */
339337   MDRV_CPU_PROGRAM_MAP(sound_map)
340338   MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,4)
341339
r5338r5339
345343   MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
346344
347345   MDRV_SCREEN_ADD("screen", RASTER)
348   MDRV_SCREEN_REFRESH_RATE(60)
346   MDRV_SCREEN_REFRESH_RATE(59.59)    /* verified on pcb */
349347   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
350348   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
351349   MDRV_SCREEN_SIZE(32*8, 32*8)
r5338r5339
361359   /* sound hardware */
362360   MDRV_SPEAKER_STANDARD_MONO("mono")
363361
364   MDRV_SOUND_ADD("ym1", YM2203, 1500000)
362   MDRV_SOUND_ADD("ym1", YM2203, XTAL_12MHz/8)      /* verified on pcb */
365363   MDRV_SOUND_ROUTE(0, "mono", 0.40)
366364   MDRV_SOUND_ROUTE(1, "mono", 0.40)
367365   MDRV_SOUND_ROUTE(2, "mono", 0.40)
368366   MDRV_SOUND_ROUTE(3, "mono", 0.20)
369367
370   MDRV_SOUND_ADD("ym2", YM2203, 1500000)
368   MDRV_SOUND_ADD("ym2", YM2203, XTAL_12MHz/8)      /* verified on pcb */
371369   MDRV_SOUND_ROUTE(0, "mono", 0.40)
372370   MDRV_SOUND_ROUTE(1, "mono", 0.40)
373371   MDRV_SOUND_ROUTE(2, "mono", 0.40)
r5338r5339
586584   ROM_LOAD( "63s141.2e",    0x0100, 0x0100, CRC(4a1285a4) SHA1(5018c3950b675af58db499e2883ecbc55419b491) )  /* priority (not used) */
587585ROM_END
588586
589ROM_START( makaimuc )
587ROM_START( makaimurc )
590588   ROM_REGION( 0x18000, "maincpu", 0 )
591589   ROM_LOAD( "mj04c.bin",      0x04000, 0x4000, CRC(1294edb1) SHA1(35d3b3ce4ee25d3cfa27097de0c9a2ab5e4892aa) )   /* 4000-5fff is page 4 */
592590   ROM_LOAD( "mj03c.bin",      0x08000, 0x8000, CRC(d343332d) SHA1(3edf47ff2bd49b4451b737b6d3eb54256b489c81) )
r5338r5339
619617   ROM_LOAD( "63s141.2e",    0x0100, 0x0100, CRC(4a1285a4) SHA1(5018c3950b675af58db499e2883ecbc55419b491) )  /* priority (not used) */
620618ROM_END
621619
622ROM_START( makaimug )
620ROM_START( makaimurg )
623621   ROM_REGION( 0x18000, "maincpu", 0 )
624622   ROM_LOAD( "mj04g.bin",      0x04000, 0x4000, CRC(757c94d3) SHA1(07f7cf788810a1425016e016ce3579adb3253ac7) )   /* 4000-5fff is page 4 */
625623   ROM_LOAD( "mj03g.bin",      0x08000, 0x8000, CRC(61b043bb) SHA1(23a0a17d0abc4b084ffeba90266ef455361771cc) )
r5338r5339
696694
697695
698696
699GAME( 1985, gng,     0,   gng, gng,     0,      ROT0, "Capcom", "Ghosts'n Goblins (World? set 1)", GAME_SUPPORTS_SAVE )
700GAME( 1985, gnga,     gng, gng, gng,     0,      ROT0, "Capcom", "Ghosts'n Goblins (World? set 2)", GAME_SUPPORTS_SAVE )
701GAME( 1985, gngbl,     gng, gng, gng,     0,      ROT0, "Capcom", "Ghosts'n Goblins (bootleg with Cross)", GAME_SUPPORTS_SAVE )
702GAME( 1985, gngblita,     gng, gng, gng,     0,      ROT0, "Capcom", "Ghosts'n Goblins (Italian bootleg, harder)", GAME_SUPPORTS_SAVE )
703GAME( 1985, gngt,     gng, gng, gng,     0,      ROT0, "Capcom (Taito America license)", "Ghosts'n Goblins (US)", GAME_SUPPORTS_SAVE )
704GAME( 1985, makaimur, gng, gng, makaimur, 0,      ROT0, "Capcom", "Makai-Mura (Japan)", GAME_SUPPORTS_SAVE )
705GAME( 1985, makaimuc, gng, gng, makaimur, 0,      ROT0, "Capcom", "Makai-Mura (Japan Revision C)", GAME_SUPPORTS_SAVE )
706GAME( 1985, makaimug, gng, gng, makaimur, 0,      ROT0, "Capcom", "Makai-Mura (Japan Revision G)", GAME_SUPPORTS_SAVE )
707GAME( 1989, diamond,  0,   gng, diamond,  diamond, ROT0, "KH Video", "Diamond Run", GAME_SUPPORTS_SAVE )
697GAME( 1985, gng,       0,   gng, gng,      0,       ROT0, "Capcom", "Ghosts'n Goblins (World? set 1)", GAME_SUPPORTS_SAVE )
698GAME( 1985, gnga,      gng, gng, gng,      0,       ROT0, "Capcom", "Ghosts'n Goblins (World? set 2)", GAME_SUPPORTS_SAVE )
699GAME( 1985, gngbl,     gng, gng, gng,      0,       ROT0, "Capcom", "Ghosts'n Goblins (bootleg with Cross)", GAME_SUPPORTS_SAVE )
700GAME( 1985, gngblita,  gng, gng, gng,      0,       ROT0, "Capcom", "Ghosts'n Goblins (Italian bootleg, harder)", GAME_SUPPORTS_SAVE )
701GAME( 1985, gngt,      gng, gng, gng,      0,       ROT0, "Capcom (Taito America license)", "Ghosts'n Goblins (US)", GAME_SUPPORTS_SAVE )
702GAME( 1985, makaimur,  gng, gng, makaimur, 0,       ROT0, "Capcom", "Makai-Mura (Japan)", GAME_SUPPORTS_SAVE )
703GAME( 1985, makaimurc, gng, gng, makaimur, 0,       ROT0, "Capcom", "Makai-Mura (Japan Revision C)", GAME_SUPPORTS_SAVE )
704GAME( 1985, makaimurg, gng, gng, makaimur, 0,       ROT0, "Capcom", "Makai-Mura (Japan Revision G)", GAME_SUPPORTS_SAVE )
705GAME( 1989, diamond,   0,   gng, diamond,  diamond, ROT0, "KH Video", "Diamond Run", GAME_SUPPORTS_SAVE )
src/mame/drivers/holeland.c
r5338r5339
450450   ROM_LOAD( "pal16r8a.1d",  0x0600, 0x0104, NO_DUMP ) /* PAL is read protected */
451451ROM_END
452452
453ROM_START( crzralla )
453ROM_START( crzrallya )
454454   ROM_REGION( 0x10000, "maincpu", 0 )
455455   ROM_LOAD( "crzralla_1.7g",        0x0000, 0x4000, CRC(8c6a70aa) SHA1(61b10cb16ddce813a768181483b03bead5b05702) )
456456   ROM_LOAD( "crzralla_2.7f",        0x4000, 0x4000, CRC(7fdd4a45) SHA1(194d504adfd83adc52df2df27a18116a3072ea9d) )
r5338r5339
481481   ROM_LOAD( "pal16r8a.1d",  0x0600, 0x0104, NO_DUMP ) /* PAL is read protected */
482482ROM_END
483483
484ROM_START( crzrallg )
484ROM_START( crzrallyg )
485485   ROM_REGION( 0x10000, "maincpu", 0 )
486486   ROM_LOAD( "12.7g",       0x0000, 0x4000, CRC(0cab3ef9) SHA1(6de4d4a7159e0a6ad13dbca3344759410618ea26) )
487487   ROM_LOAD( "13.7f",       0x4000, 0x4000, CRC(e19a8e13) SHA1(1462b21f16990eb9ae2f2d1cd5c097edf88bf614) )
r5338r5339
509509
510510GAME( 1984, holeland, 0,        holeland, holeland, 0, ROT0,   "Tecfri", "Hole Land", GAME_IMPERFECT_GRAPHICS )
511511GAME( 1985, crzrally, 0,        crzrally, crzrally, 0, ROT270, "Tecfri", "Crazy Rally (set 1)", GAME_IMPERFECT_GRAPHICS )
512GAME( 1985, crzralla, crzrally, crzrally, crzrally, 0, ROT270, "Tecfri", "Crazy Rally (set 2)", GAME_IMPERFECT_GRAPHICS )
513GAME( 1985, crzrallg, crzrally, crzrally, crzrally, 0, ROT270, "Tecfri (Gecas license)", "Crazy Rally (Gecas license)", GAME_IMPERFECT_GRAPHICS )
512GAME( 1985, crzrallya,crzrally, crzrally, crzrally, 0, ROT270, "Tecfri", "Crazy Rally (set 2)", GAME_IMPERFECT_GRAPHICS )
513GAME( 1985, crzrallyg,crzrally, crzrally, crzrally, 0, ROT270, "Tecfri (Gecas license)", "Crazy Rally (Gecas license)", GAME_IMPERFECT_GRAPHICS )
514514
src/mame/drivers/gunsmoke.c
r5338r5339
375375   ROM_LOAD( "01f_g-05.bin", 0x0900, 0x0100, CRC(25c90c2a) SHA1(42893572bab757ec01e181fc418cb911638d37e0) )   /* priority? (not used) */
376376ROM_END
377377
378ROM_START( gunsmokj )
378ROM_START( gunsmokej )
379379   ROM_REGION( 0x20000, "maincpu", 0 )
380380   ROM_LOAD( "gs03_9n.rom",  0x00000, 0x8000, CRC(b56b5df6) SHA1(0295a3ef491b6b8ee9c198fd08dddc29d88bbef6) ) /* Code 0000-7fff */
381381   ROM_LOAD( "10n_gs04.bin", 0x10000, 0x8000, CRC(8d4b423f) SHA1(149274c2ed1526ca1f419fdf8a24059ff138f7f2) ) /* Paged code */
r5338r5339
423423   ROM_LOAD( "01f_g-05.bin", 0x0900, 0x0100, CRC(25c90c2a) SHA1(42893572bab757ec01e181fc418cb911638d37e0) )   /* priority? (not used) */
424424ROM_END
425425
426ROM_START( gunsmoku )
426ROM_START( gunsmokeu )
427427   ROM_REGION( 0x20000, "maincpu", 0 )
428428   ROM_LOAD( "9n_gs03.bin",  0x00000, 0x8000, CRC(592f211b) SHA1(8de44b3cafa3d2ce9aba515cf3ec4bac0bcdeb5b) ) /* Code 0000-7fff */
429429   ROM_LOAD( "10n_gs04.bin", 0x10000, 0x8000, CRC(8d4b423f) SHA1(149274c2ed1526ca1f419fdf8a24059ff138f7f2) ) /* Paged code */
r5338r5339
471471   ROM_LOAD( "01f_g-05.bin", 0x0900, 0x0100, CRC(25c90c2a) SHA1(42893572bab757ec01e181fc418cb911638d37e0) )   /* priority? (not used) */
472472ROM_END
473473
474ROM_START( gunsmoka )
474ROM_START( gunsmokeua )
475475   ROM_REGION( 0x20000, "maincpu", 0 )
476476   ROM_LOAD( "gs03.9n",      0x00000, 0x8000, CRC(51dc3f76) SHA1(2a188fee73c3662b665b56a825eb908b7b42dcd0) ) /* Code 0000-7fff */
477477   ROM_LOAD( "gs04.10n",     0x10000, 0x8000, CRC(5ecf31b8) SHA1(34ec9727330821a45b497c78c970a1a4f14ff4ee) ) /* Paged code */
r5338r5339
522522/* Game Drivers */
523523
524524GAME( 1985, gunsmoke, 0,        gunsmoke, gunsmoke, 0, ROT270, "Capcom", "Gun.Smoke (World)", GAME_SUPPORTS_SAVE )
525GAME( 1985, gunsmokj, gunsmoke, gunsmoke, gunsmoke, 0, ROT270, "Capcom", "Gun.Smoke (Japan)", GAME_SUPPORTS_SAVE )
526GAME( 1985, gunsmoku, gunsmoke, gunsmoke, gunsmoke, 0, ROT270, "Capcom (Romstar license)", "Gun.Smoke (US set 1)", GAME_SUPPORTS_SAVE )
527GAME( 1986, gunsmoka, gunsmoke, gunsmoke, gunsmoka, 0, ROT270, "Capcom (Romstar license)", "Gun.Smoke (US set 2)", GAME_SUPPORTS_SAVE )
525GAME( 1985, gunsmokej, gunsmoke, gunsmoke, gunsmoke, 0, ROT270, "Capcom", "Gun.Smoke (Japan)", GAME_SUPPORTS_SAVE )
526GAME( 1985, gunsmokeu, gunsmoke, gunsmoke, gunsmoke, 0, ROT270, "Capcom (Romstar license)", "Gun.Smoke (US set 1)", GAME_SUPPORTS_SAVE )
527GAME( 1986, gunsmokeua, gunsmoke, gunsmoke, gunsmoka, 0, ROT270, "Capcom (Romstar license)", "Gun.Smoke (US set 2)", GAME_SUPPORTS_SAVE )
src/mame/drivers/seta.c
r5338r5339
19431943   AM_RANGE(0x800000, 0x803fff) AM_RAM_WRITE(seta_vram_0_w) AM_BASE(&seta_vram_0)   // VRAM 0
19441944   AM_RANGE(0x804000, 0x807fff) AM_RAM_WRITE(seta_vram_2_w) AM_BASE(&seta_vram_2)   // VRAM 2
19451945   AM_RANGE(0x884000, 0x88ffff) AM_RAM                        // (jjsquawk)
1946/**/AM_RANGE(0x900000, 0x900005) AM_RAM AM_BASE(&seta_vctrl_0)      // VRAM 0&1 Ctrl
1947/**/AM_RANGE(0x980000, 0x980005) AM_RAM AM_BASE(&seta_vctrl_2)      // VRAM 2&3 Ctrl
1948/**/AM_RANGE(0xa0a000, 0xa0a607) AM_RAM AM_BASE(&spriteram16)      // RZ: Sprites Y
1949/**/AM_RANGE(0xa80000, 0xa80001) AM_RAM                        // ? 0x4000
1946   AM_RANGE(0x908000, 0x908005) AM_RAM AM_BASE(&seta_vctrl_0)      // VRAM 0&1 Ctrl
1947   AM_RANGE(0x909000, 0x909005) AM_RAM AM_BASE(&seta_vctrl_2)      // VRAM 2&3 Ctrl
1948   AM_RANGE(0xa0a000, 0xa0a607) AM_RAM AM_BASE(&spriteram16)      // RZ: Sprites Y
1949// AM_RANGE(0xa80000, 0xa80001) AM_RAM                              // ? 0x4000
19501950   AM_RANGE(0xb0c000, 0xb0ffff) AM_RAM AM_BASE(&spriteram16_2)      // RZ: Sprites Code + X + Attr
19511951   AM_RANGE(0xc00000, 0xc03fff) AM_DEVREADWRITE("x1", seta_sound_word_r,seta_sound_word_w)   // Sound
19521952#if __uPD71054_TIMER
r5338r5339
80688068   ROM_LOAD( "ua0-9.u11",  0x1c0000, 0x040000, CRC(e812371c) SHA1(b0e1e0c143da743bf9f7b48d657594e76f4970ed) )
80698069ROM_END
80708070
8071ROM_START( tndrcadj )
8071ROM_START( tndrcadej )
80728072   ROM_REGION( 0x080000, "maincpu", 0 )      /* 68000 Code */
80738073   ROM_LOAD16_BYTE( "ua0-4.u19", 0x000000, 0x020000, CRC(73bd63eb) SHA1(5d410d2a77f1c3c4c37a9fe1e56019335891fe67) )
80748074   ROM_LOAD16_BYTE( "ua0-2.u17", 0x000001, 0x020000, CRC(e96194b1) SHA1(c5084d06a2e4f7ba3112be1ccc314f7d712bb45e) )
r5338r5339
81438143   ROM_LOAD( "ud2011.t07", 0x000000, 0x080000, CRC(9c9ff69f) SHA1(3840b654f4f709bc4c03dfe4ee79369d5c70dd62) )
81448144ROM_END
81458145
8146ROM_START( downtow2 )
8146ROM_START( downtown2 )
81478147   ROM_REGION( 0x0a0000, "maincpu", 0 )      /* 68000 Code */
81488148   ROM_LOAD16_BYTE( "ud2001.000", 0x000000, 0x040000, CRC(f1965260) SHA1(c0560342238d75f9b81ae9f3408cacfbcd331529) )
81498149   ROM_LOAD16_BYTE( "ud2001.003", 0x000001, 0x040000, CRC(e7d5fa5f) SHA1(48612514598711aa73bf75243c842f0aca72f3d0) )
r5338r5339
81688168   ROM_LOAD( "ud2011.t07", 0x000000, 0x080000, CRC(9c9ff69f) SHA1(3840b654f4f709bc4c03dfe4ee79369d5c70dd62) )
81698169ROM_END
81708170
8171ROM_START( downtowj )
8171ROM_START( downtownj )
81728172   ROM_REGION( 0x0a0000, "maincpu", 0 )      /* 68000 Code */
81738173   ROM_LOAD16_BYTE( "ud2001.000", 0x000000, 0x040000, CRC(f1965260) SHA1(c0560342238d75f9b81ae9f3408cacfbcd331529) )
81748174   ROM_LOAD16_BYTE( "ud2001.003", 0x000001, 0x040000, CRC(e7d5fa5f) SHA1(48612514598711aa73bf75243c842f0aca72f3d0) )
r5338r5339
81938193   ROM_LOAD( "ud2011.t07", 0x000000, 0x080000, CRC(9c9ff69f) SHA1(3840b654f4f709bc4c03dfe4ee79369d5c70dd62) )
81948194ROM_END
81958195
8196ROM_START( downtowp )
8196ROM_START( downtownp )
81978197   ROM_REGION( 0x0a0000, "maincpu", 0 )      /* 68000 Code */
81988198   ROM_LOAD16_BYTE( "ud2001.000",   0x000000, 0x040000, CRC(f1965260) SHA1(c0560342238d75f9b81ae9f3408cacfbcd331529) )
81998199   ROM_LOAD16_BYTE( "ud2001.003",   0x000001, 0x040000, CRC(e7d5fa5f) SHA1(48612514598711aa73bf75243c842f0aca72f3d0) )
r5338r5339
87008700   ROM_LOAD( "fa001004.u26",  0x000000, 0x100000, CRC(b965f07c) SHA1(ff7827cc80655465ffbb732d55ba81f21f51a5ca) )
87018701ROM_END
87028702
8703ROM_START( msgunda1 )
8703ROM_START( msgundam1 )
87048704   ROM_REGION( 0x200000, "maincpu", 0 )      /* 68000 Code */
87058705   ROM_LOAD16_WORD_SWAP( "fa002002.u25",  0x000000, 0x080000, CRC(dee3b083) SHA1(e2ad626aa0109906846dd9e9053ffc83b7bf4d2e) )
87068706   ROM_LOAD16_WORD_SWAP( "fa001001.u20",  0x100000, 0x100000, CRC(fca139d0) SHA1(b56282c69f7ec64c697a48e42d59a2565401c032) )
r5338r5339
88338833   ROM_LOAD( "jj-rom6.040", 0x080000, 0x080000, CRC(9df1e478) SHA1(f41b55821187b417ad09e4a1f439c01a107d2674) )
88348834ROM_END
88358835
8836ROM_START( jjsquawb )
8836ROM_START( jjsquawkb )
88378837   ROM_REGION( 0x200000, "maincpu", 0 )      /* 68000 Code */
88388838   ROM_LOAD16_WORD_SWAP( "3", 0x000000, 0x080000, CRC(afd5bd07) SHA1(eee231f596ce5cb9bbf41c7c9e18c11a399d7dfd) )
88398839   ROM_LOAD16_WORD_SWAP( "2", 0x100000, 0x080000, CRC(740a7366) SHA1(2539f9a9b4fed1a1e2c354d144b8d455ed4bc144) )
r5338r5339
95279527
95289528/* 68000 + 65C02 */
95299529GAME( 1987, tndrcade, 0,        tndrcade, tndrcade, 0,        ROT270, "[Seta] (Taito license)", "Thundercade / Twin Formation" , 0) // Title/License: DSW
9530GAME( 1987, tndrcadj, tndrcade, tndrcade, tndrcadj, 0,        ROT270, "[Seta] (Taito license)", "Tokusyu Butai U.A.G. (Japan)" , 0) // License: DSW
9530GAME( 1987, tndrcadej,tndrcade, tndrcade, tndrcadj, 0,        ROT270, "[Seta] (Taito license)", "Tokusyu Butai U.A.G. (Japan)" , 0) // License: DSW
95319531GAME( 1988, twineagl, 0,        twineagl, twineagl, twineagl, ROT270, "Seta (Taito license)",   "Twin Eagle - Revenge Joe's Brother" , 0) // Country/License: DSW
95329532GAME( 1989, downtown, 0,        downtown, downtown, downtown, ROT270, "Seta",                   "DownTown / Mokugeki (Set 1)" , 0) // Country/License: DSW
9533GAME( 1989, downtow2, downtown, downtown, downtown, downtown, ROT270, "Seta",                   "DownTown / Mokugeki (Set 2)" , 0) // Country/License: DSW
9534GAME( 1989, downtowj, downtown, downtown, downtown, downtown, ROT270, "Seta",                   "DownTown / Mokugeki (Joystick Hack)" , 0) // Country/License: DSW
9535GAME( 1989, downtowp, downtown, downtown, downtown, downtown, ROT270, "Seta",                   "DownTown / Mokugeki (prototype)" , 0) // Country/License: DSW
9533GAME( 1989, downtown2,downtown, downtown, downtown, downtown, ROT270, "Seta",                   "DownTown / Mokugeki (Set 2)" , 0) // Country/License: DSW
9534GAME( 1989, downtownj,downtown, downtown, downtown, downtown, ROT270, "Seta",                   "DownTown / Mokugeki (Joystick Hack)" , 0) // Country/License: DSW
9535GAME( 1989, downtownp,downtown, downtown, downtown, downtown, ROT270, "Seta",                   "DownTown / Mokugeki (prototype)" , 0) // Country/License: DSW
95369536GAME( 1989, usclssic, 0,        usclssic, usclssic, 0,        ROT270, "Seta",                   "U.S. Classic" , 0) // Country/License: DSW
95379537GAME( 1989, calibr50, 0,        calibr50, calibr50, 0,        ROT270, "Athena / Seta",          "Caliber 50" , 0) // Country/License: DSW
95389538GAME( 1989, arbalest, 0,        metafox,  arbalest, arbalest, ROT270, "Seta",                   "Arbalester" , 0) // Country/License: DSW
r5338r5339
95609560GAME( 1993, atehate,  0,        atehate,  atehate,  0,        ROT0,   "Athena",                 "Athena no Hatena ?", 0 )
95619561GAME( 1993, daioh,    0,        daioh,    daioh,    0,        ROT270, "Athena",                 "Daioh", 0 )
95629562GAME( 1993, jjsquawk, 0,        jjsquawk, jjsquawk, 0,        ROT0,   "Athena / Able",          "J. J. Squawkers", GAME_IMPERFECT_SOUND )
9563GAME( 1993, jjsquawb, jjsquawk, jjsquawb, jjsquawk, 0,        ROT0,   "bootleg",                "J. J. Squawkers (bootleg)", GAME_IMPERFECT_SOUND )
9563GAME( 1993, jjsquawkb,jjsquawk, jjsquawb, jjsquawk, 0,        ROT0,   "bootleg",                "J. J. Squawkers (bootleg)", GAME_IMPERFECT_SOUND )
95649564GAME( 1993, kamenrid, 0,        kamenrid, kamenrid, 0,        ROT0,   "Toei / Banpresto",       "Masked Riders Club Battle Race", 0 )
95659565GAME( 1993, madshark, 0,        madshark, madshark, 0,        ROT270, "Allumer",                "Mad Shark", 0 )
95669566GAME( 1993, msgundam, 0,        msgundam, msgundam, 0,        ROT0,   "Banpresto",              "Mobile Suit Gundam", 0 )
9567GAME( 1993, msgunda1, msgundam, msgundam, msgunda1, 0,        ROT0,   "Banpresto",              "Mobile Suit Gundam (Japan)", 0 )
9567GAME( 1993, msgundam1,msgundam, msgundam, msgunda1, 0,        ROT0,   "Banpresto",              "Mobile Suit Gundam (Japan)", 0 )
95689568GAME( 1993, oisipuzl, 0,        oisipuzl, oisipuzl, 0,        ROT0,   "Sunsoft + Atlus",        "Oishii Puzzle Ha Irimasenka", 0 )
95699569GAME( 1993, qzkklgy2, 0,        qzkklgy2, qzkklgy2, 0,        ROT0,   "Tecmo",                  "Quiz Kokology 2", 0 )
95709570GAME( 1993, triplfun, oisipuzl, triplfun, oisipuzl, 0,        ROT0,   "bootleg",                "Triple Fun", 0 )
src/mame/drivers/laserbat.c
r5338r5339
890890   ROM_LOAD( "82s100.13m",   0x0000, 0x00f5, CRC(6b724cdb) SHA1(8a0ca3b171b103661a3b2fffbca3d7162089e243) )
891891ROM_END
892892
893ROM_START( catmousa )
893ROM_START( catnmousa )
894894   ROM_REGION( 0x8000, "maincpu", 0 )
895895   ROM_LOAD( "catnmous.7c",  0x0000, 0x0400, CRC(0bf9fc06) SHA1(7d5857121fe51f43e4ae7db34df720198994afdd) )
896896   ROM_CONTINUE(           0x4000, 0x0400 )
r5338r5339
935935GAME( 1981, laserbat, 0,        laserbat, laserbat, 0, ROT0,  "Zaccaria", "Laser Battle",                    GAME_IMPERFECT_SOUND | GAME_WRONG_COLORS | GAME_NO_COCKTAIL )
936936GAME( 1981, lazarian, laserbat, laserbat, lazarian, 0, ROT0,  "Bally Midway (Zaccaria License)", "Lazarian", GAME_IMPERFECT_SOUND | GAME_WRONG_COLORS | GAME_NO_COCKTAIL )
937937GAME( 1982, catnmous, 0,        catnmous, catnmous, 0, ROT90, "Zaccaria", "Cat and Mouse (set 1)",           GAME_NO_SOUND | GAME_WRONG_COLORS | GAME_NO_COCKTAIL )
938GAME( 1982, catmousa, catnmous, catnmous, catnmous, 0, ROT90, "Zaccaria", "Cat and Mouse (set 2)",           GAME_NO_SOUND | GAME_WRONG_COLORS | GAME_NO_COCKTAIL | GAME_NOT_WORKING )
938GAME( 1982, catnmousa,catnmous, catnmous, catnmous, 0, ROT90, "Zaccaria", "Cat and Mouse (set 2)",           GAME_NO_SOUND | GAME_WRONG_COLORS | GAME_NO_COCKTAIL | GAME_NOT_WORKING )
src/mame/drivers/vball.c
r5338r5339
550550
551551GAME( 1988, vball,    0,     vball,    vball,    0, ROT0, "Technos Japan", "U.S. Championship V'ball (US)", 0 )
552552GAME( 1988, vball2pj, vball, vball,    vball2pj, 0, ROT0, "Technos Japan", "U.S. Championship V'ball (Japan)", 0 )
553GAME( 1988, vballb,   vball, vball,    vball,    0, ROT0, "Technos Japan", "U.S. Championship V'ball (bootleg)", 0 )
553GAME( 1988, vballb,   vball, vball,    vball,    0, ROT0, "bootleg", "U.S. Championship V'ball (bootleg)", 0 )
src/mame/drivers/naomi.c
r5338r5339
741741
742742
743743
744
745Atomiswave cart PCB layout and game usage
744Atomiswave cart PCB layout and game usage (revision 0.3 19/7/2009 5:55pm)
746745-----------------------------------------
747746
748747Type 1 ROM Board:
r5338r5339
787786               Fist Of The North Star                AX1901F01
788787               Victory Furlong : Horse Racing        AX2001F01
789788               King Of Fighters NEOWAVE              AX2201F01
789               Extreme Hunting                       AX2401F01
790790
791791        IC18 - Fujitsu 29DL640E 64M TSOP48 FlashROM. This ROM has no additional custom markings
792792               The name in the archive has been devised purely for convenience.
r5338r5339
796796               ROMs because the ROM on the main board is also a custom Macronix
797797               ROM and they have a history of producing custom ROMs for other
798798               companies that hide their ROM types like Nintendo etc.
799               They could also be Oki MR27V12800.
800799
801800               IC10 - Not Populated for 7 ROMs or less (ROM 01 if 8 ROMs are populated)
802801               IC11 - ROM 01 (or ROM 02 if 8 ROMs are populated)
r5338r5339
823822               Fist Of The North Star                AX1901M01 to AX1907M01    7
824823               Victory Furlong : Horse Racing        AX2001M01 to AX2007M01    7
825824               King Of Fighters NEOWAVE              AX2201M01 to AX2206M01    6
825               Extreme Hunting                       AX2401M01 to AX2406M01    6
826826
827827
828828Type 2 ROM Board:
r5338r5339
880880               Rumble Fish 2                         AX3401M01 to AX3405M01    5
881881
882882
883               Other games not dumped (some may have been cancelled)
883Type 3 ROM Board:
884
885This type is manufactured by Sega when Sammy merged with Sega.
886
887171-8355A
888PC BD A/W 128M FLASH
889837-14608 (sticker for Extreme Hunting 2 Tournament Edition)
890|----------------------------|
891| XC9536*         U16   U2*  |
892|                            |
893|J2                          |
894|                            |
895|                 U4*   U14  |
896|                            |
897|                            |
898||-|                         |
899|| |              U17   U1*  |
900|| |                         |
901|| |J1*                      |
902|| |                         |
903||-|              U3*   U15  |
904|----------------------------|
905Notes:
906           * - Denotes those parts are on the other side of the PCB
907          J1 - This connector plugs into the main board.
908          J2 - 6 pin connector for programming the XC9536 CPLD and/or the flash ROMs
909      XC9536 - Xilinx XC9536 in-system programmable CPLD (PLCC44), stamped with a
910               Sega 315-xxxx part number with a sticker over the top of it.
911
912               Game                                  Part#      Sticker
913               ---------------------------------------------------------
914               Extreme Hunting 2 Tournament Edition  315-6428P  315-6248
915
916          U* - Fujitsu MBM29PL12LM-10PCN 128M MirrorFlash TSOP56 flash ROM.
917               (configured as 16Mbytes x8bit or 8Mwords x16bit)
918               This ROM has no additional custom markings. The name in the archive has been devised
919               purely for convenience. The number of ROMs may vary between games. So far all 8
920               positions have been seen populated. It's also possible all positions are present
921               when manufactured, each board is programmed to requirements and depending on the total
922               data length, some ROMs may be empty.
923
924
925               Other games not dumped (some may have been cancelled, * = known to be released)
884926               ----------------------
885927               Chase 1929
886928               Dirty Pigskin
887               Extreme Hunting
888               Extreme Hunting 2: Tournament Edition
889               Faster Than Speed
929               Faster Than Speed *
890930               Force Five
891               Guilty Gear X Version 1.5
931               Guilty Gear X Version 1.5 *
892932               Kenju
893               Maximum Speed
894               Metal Slug 6
933               Maximum Speed *
934               Metal Slug 6 *
895935               Premier Eleven
896936               Sushi Bar
897               The King Of Fighters XI
937               The King Of Fighters XI *
938               Sega Clay Challenge *
939               Sega Bass Fishing Challenge *
898940
899941
942Network Board
943-------------
900944
945This board is required for Extreme Hunting 2 Tournament Edition, although it doesn't need to be connected
946to a network or another Atomiswave unit to boot up. However it must be plugged into the PCB in the
947communication slot or the game will not go in-game. It will boot but then displays NETWORK BOARD ERROR
948if not present. Externally there's a hole for an RJ45 network cable and a slot for a PIC16C621/PIC16C622
949PIC enclosed in a black plastic housing. This is the same type as used in NAOMI etc. This board probably acts
950like the NAOMI network DIMM board minus the on-board DIMM RAM storage.
901951
952837-14508R
953171-8324C
954(C) SEGA 2005
955|-----------------------------------|
956| RJ45    24LC0241* IC2       CN3   |
957|LLLL        K4S643232*       IC14  |
958|  RTL8201 LLLL                     |
959|25MHz                              |
960|       6417710          IC4S*      |
961|                        XC3S200    |
962|MAX3221        JP1     XCF01S*     |
963|CN5  33.333MHz JP2             CN2*|
964|-----------------------------------|
965Notes:
966      *        - Denotes those parts are on the other side of the PCB
967      L        - LED
968      RJ45     - RJ45 network connector
969      24LC0241 - EEPROM (SOIC8)
970      K4S643232- Samsung K4S643232 512k x 32bit x 4 banks synchronous DRAM (TSOPII-86)
971      RTL8201  - Realtek RTL8201 Single Port 10/100M Fast Ethernet IC (QFP48)
972      6417710  - Renesas HD6417710BPV SH3-DSP 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series (BGA256)
973      XC3S200  - Xilinx Spartan XC3S200 FPGA (QFP100)
974      XCF01S   - Xilinx XCF01S In-System Programmable 1Mbit PROM for Configuration of Xilinx FPGAs (TSSOP20)
975      MAX3221  - Maxim MAX3221 3.0V to 5.5V, 250kbps, RS-232 Transceivers with Auto Shutdown (TSSOP16)
976      JP1/2    - Jumpers, both set to 1-2
977      CN2      - This connector plugs into the main board
978      CN3      - 6 pin connector
979      CN5      - 3 position connector
980      IC2      - ST M29DW324DB 32M flash ROM (TSOP48)
981      IC4S     - Spartan S29GL128N10TFIO1 128M flash ROM (TSOP56)
982      IC14     - socket for PIC16C621 mounted in a plastic plug-in case
983                 PIC Usage:
984                           Game                                   Sega Part#
985                           ---------------------------------------------------
986                           Extreme Hunting 2 Tournament Edition   317-0445-COM
902987
988Gun Sub Board
989-------------
990
991AM3AGT-02 GUN SUB PCB
992|------------------|
993|CN5  CN4  CN3  CN2|
994|       74HC74     |
995|                  |
996| 74HC74    7CHC74 |
997|      74HC74      |
998|                  |
999|       CN1        |
1000|------------------|
1001Notes:
1002      CN1 - 8 pin connector joining to I/O Expansion Module (which is plugged into main board)
1003      CN2 - Gun connection for player 2 trigger and optical
1004      CN3 - Gun connection for player 2 pump switch
1005      CN4 - Gun connection for player 1 trigger and optical
1006      CN5 - Gun connection for player 1 pump switch
1007
1008
1009
9031010*/
9041011
9051012#include "driver.h"
r5338r5339
18601967
18611968*/
18621969
1970// ver 000904
18631971ROM_START( capsnk )
18641972   ROM_REGION( 0x200000, "maincpu", 0)
18651973   NAOMI_BIOS
18661974
18671975   ROM_REGION( 0x7000000, "user1", ROMREGION_ERASEFF)
1868   ROM_LOAD("epr-23511a.ic22", 0x00000, 0x400000,  CRC(fe00650f) SHA1(ca8e9e9178ed2b6598bdea83be1bf0dd7aa509f9) )
1869   ROM_LOAD("ic1", 0x0800000, 0x0800000, NO_DUMP )
1870   ROM_LOAD("ic2", 0x1000000, 0x0800000, NO_DUMP )
1871   ROM_LOAD("ic3", 0x1800000, 0x0800000, NO_DUMP )
1872   ROM_LOAD("ic4", 0x2000000, 0x0800000, NO_DUMP )
1873   ROM_LOAD("ic5", 0x2800000, 0x0800000, NO_DUMP )
1874   ROM_LOAD("ic6", 0x3000000, 0x0800000, NO_DUMP )
1875   ROM_LOAD("ic7", 0x3800000, 0x0800000, NO_DUMP )
1876   ROM_LOAD("ic8", 0x4000000, 0x0800000, NO_DUMP )
1877   ROM_LOAD("ic9", 0x4800000, 0x0800000, NO_DUMP )
1878   ROM_LOAD("ic10",0x5000000, 0x0800000, NO_DUMP )
1879   ROM_LOAD("ic11",0x5800000, 0x0800000, NO_DUMP )
1880   ROM_LOAD("ic12",0x6000000, 0x0800000, NO_DUMP )
1881   ROM_LOAD("ic13",0x6800000, 0x0800000, NO_DUMP )
1976   ROM_LOAD( "epr-23511.ic22", 0x000000, 0x400000, CRC(3dbf8eb2) SHA1(1f7b89ba99e018cc85022fa852d56d4e345e1bd2) )
1977        ROM_LOAD( "mpr-23498.ic1", 0x800000, 0x800000, CRC(ff7918b9) SHA1(5fa548939b83d307d6047931b0af405e20de04f6) )
1978        ROM_LOAD( "mpr-23499.ic2", 0x1000000, 0x800000, CRC(5d2d9439) SHA1(6fd24a3966f04a8175e1b1ec4560de6722b621d1) )
1979        ROM_LOAD( "mpr-23500.ic3", 0x1800000, 0x800000, CRC(bc58de9e) SHA1(8db2dfa4f1e0bbd7f5b3c8050d53533535750399) )
1980        ROM_LOAD( "mpr-23501.ic4", 0x2000000, 0x800000, CRC(f938123c) SHA1(058b35301e3ef81ac903f18f6a034e9b282223c3) )
1981        ROM_LOAD( "mpr-23502.ic5", 0x2800000, 0x800000, CRC(d58cbab2) SHA1(638a3fec531c200a909228477955de82d6352fcc) )
1982        ROM_LOAD( "mpr-23503.ic6", 0x3000000, 0x800000, CRC(66a6a80f) SHA1(f6d413f3631e43b3a5067fefc7252f2122773110) )
1983        ROM_LOAD( "mpr-23504.ic7", 0x3800000, 0x800000, CRC(29c1fe16) SHA1(af96d809f8160d45f061120dfe2df36d6c940cb9) )
1984        ROM_LOAD( "mpr-23505.ic8", 0x4000000, 0x800000, CRC(451816b2) SHA1(38af527ca7987019fa4727d2db715f6bd31f366d) )
1985        ROM_LOAD( "mpr-23506.ic9", 0x4800000, 0x800000, CRC(5031ef58) SHA1(a9cbe1ee05e729519175020d9560954a9253ba5b) )
1986        ROM_LOAD( "mpr-23507.ic10", 0x5000000, 0x800000, CRC(d77b0783) SHA1(2ac6584922754bfe85bff8554ddc83736b095c7a) )
1987        ROM_LOAD( "mpr-23508.ic11", 0x5800000, 0x800000, CRC(4c24c946) SHA1(f088d0f0e2ccf3d657ee68791397e3edaa0c79c0) )
1988        ROM_LOAD( "mpr-23509.ic12", 0x6000000, 0x800000, CRC(38379fc1) SHA1(82e3a12615709e974a6635d25d5f17ef7fe8ac78) )
1989        ROM_LOAD( "mpr-23510.ic13", 0x6800000, 0x800000, CRC(38523873) SHA1(5d25ada6cba8c9bbf5f9e90aa3599e796e4e1727) )
1990
1991   // trojaned protection data (filename is address read from)
1992   ROM_REGION( 0x200000, "naomibd_prot", ROMREGION_ERASE00 )
1993        ROM_LOAD( "a63a9260.bin", 0x000000, 0x008760, CRC(54efa963) SHA1(41874253567da56441d83de041f6e82111977fa4) )
1994        ROM_LOAD( "a63b19c0.bin", 0x010000, 0x008260, CRC(f0ca72ef) SHA1(87fc4654afaf763cdb3ea5b4501948bfe7b9e9dc) )
1995        ROM_LOAD( "a63b9c20.bin", 0x020000, 0x00a0c0, CRC(92eec22c) SHA1(c7267503a828e852edeb26f68f3f4b685b9b163e) )
1996        ROM_LOAD( "a63c3ce0.bin", 0x030000, 0x00d7e0, CRC(93201f32) SHA1(5aca43776306a5a5ecd68a7e8699a724703f329a) )
1997        ROM_LOAD( "a63d14c0.bin", 0x040000, 0x00a8e0, CRC(fb2e9f7b) SHA1(ae4fc9a82eafb5b511485eef1d65ee9d3adc27b6) )
1998        ROM_LOAD( "a63dbda0.bin", 0x050000, 0x008460, CRC(b4b74624) SHA1(6ae2f5d69e45d295a3d0dcf295b1fb76be201e8e) )
1999        ROM_LOAD( "a63e4200.bin", 0x060000, 0x00b500, CRC(69ee516d) SHA1(f358aff12b826d1685199a9d5950abd121b54192) )
2000        ROM_LOAD( "a63ef700.bin", 0x070000, 0x00cec0, CRC(b2f4df7e) SHA1(4aafcf65e3fc193ee191f06ffcce37e52fc12364) )
2001        ROM_LOAD( "a63fc5c0.bin", 0x080000, 0x004cfc, CRC(1d534f98) SHA1(32afbb1d1fd1abba9e49b7b4bcf310860e4e47dc) )
2002        ROM_LOAD( "a643a120.bin", 0x090000, 0x00d6e0, CRC(27a0deb7) SHA1(c8da2e212ca8f5985d9336e8200c3382d6d373a5) )
2003        ROM_LOAD( "a6447800.bin", 0x0a0000, 0x00c920, CRC(42c9e4b1) SHA1(d7ef0d23956b795fad888f49a4dc42d74899de71) )
2004        ROM_LOAD( "a6454120.bin", 0x0b0000, 0x00a540, CRC(69321860) SHA1(675767e9fd18a0d72de2decb68acd7d500b11de2) )
2005        ROM_LOAD( "a645e660.bin", 0x0c0000, 0x00ccc0, CRC(4919083d) SHA1(89dfc2837e5298dc691350ac470bc76557657736) )
2006        ROM_LOAD( "a646b320.bin", 0x0d0000, 0x00c120, CRC(a66da245) SHA1(48d543244cdc52887131e734e0643c69f9368681) )
2007        ROM_LOAD( "a6477440.bin", 0x0e0000, 0x0097a8, CRC(6289f812) SHA1(574459f7c79dd757ae94f8e06dbcefa5b203e510) )
2008        ROM_LOAD( "a6480c00.bin", 0x0f0000, 0x00eca0, CRC(a4128a65) SHA1(35625df0109a72cb508bb4a89641bcb86aa697fb) )
2009        ROM_LOAD( "a648f8a0.bin", 0x100000, 0x009520, CRC(45a06ed6) SHA1(e9ee99e329cf35a95440312b9d0bed40254481c2) )
2010        ROM_LOAD( "a6498dc0.bin", 0x110000, 0x009f40, CRC(2cea7b46) SHA1(5398b8f1ba01e21d5fee0b1c6a796ce396c9697f) )
2011        ROM_LOAD( "a64a2d00.bin", 0x120000, 0x00dbe0, CRC(9c75fc98) SHA1(aa1a630c77b29202a4045b1eade455f02f29b81a) )
2012        ROM_LOAD( "a64b08e0.bin", 0x130000, 0x00cb40, CRC(72ae0dd2) SHA1(f4e8face14dac9a5cc75c6ccdfb9911929e2d76e) )
2013        ROM_LOAD( "a64bd420.bin", 0x140000, 0x00e920, CRC(198e4aa9) SHA1(294b9c3f89b138898c3ef6db60ac5473516d74dc) )
2014        ROM_LOAD( "a64cbd40.bin", 0x150000, 0x005e94, CRC(cc4a4e58) SHA1(dce67374a8dc6d2c9b66c0cd7e68b4f9fdab3e27) )
2015        ROM_LOAD( "a6617be0.bin", 0x160000, 0x00e480, CRC(b7d6ce86) SHA1(c3d9a8cf6125c50a0129591d807bbb13a836a651) )
2016        ROM_LOAD( "a6626060.bin", 0x170000, 0x0078a8, CRC(8c258ad2) SHA1(51d4d227e037992905a7a7f2b5bb13646920670d) )
18822017ROM_END
18832018
2019// ver 000804
2020ROM_START( capsnka )
2021   ROM_REGION( 0x200000, "maincpu", 0)
2022   NAOMI_BIOS
2023
2024   ROM_REGION( 0x7000000, "user1", ROMREGION_ERASEFF)
2025        ROM_LOAD( "epr23511a.ic22", 0x000000, 0x400000, CRC(fe00650f) SHA1(ca8e9e9178ed2b6598bdea83be1bf0dd7aa509f9) )
2026        ROM_LOAD( "mpr-23498.ic1", 0x800000, 0x800000, CRC(ff7918b9) SHA1(5fa548939b83d307d6047931b0af405e20de04f6) )
2027        ROM_LOAD( "mpr-23499.ic2", 0x1000000, 0x800000, CRC(5d2d9439) SHA1(6fd24a3966f04a8175e1b1ec4560de6722b621d1) )
2028        ROM_LOAD( "mpr-23500.ic3", 0x1800000, 0x800000, CRC(bc58de9e) SHA1(8db2dfa4f1e0bbd7f5b3c8050d53533535750399) )
2029        ROM_LOAD( "mpr-23501.ic4", 0x2000000, 0x800000, CRC(f938123c) SHA1(058b35301e3ef81ac903f18f6a034e9b282223c3) )
2030        ROM_LOAD( "mpr-23502.ic5", 0x2800000, 0x800000, CRC(d58cbab2) SHA1(638a3fec531c200a909228477955de82d6352fcc) )
2031        ROM_LOAD( "mpr-23503.ic6", 0x3000000, 0x800000, CRC(66a6a80f) SHA1(f6d413f3631e43b3a5067fefc7252f2122773110) )
2032        ROM_LOAD( "mpr-23504.ic7", 0x3800000, 0x800000, CRC(29c1fe16) SHA1(af96d809f8160d45f061120dfe2df36d6c940cb9) )
2033        ROM_LOAD( "mpr-23505.ic8", 0x4000000, 0x800000, CRC(451816b2) SHA1(38af527ca7987019fa4727d2db715f6bd31f366d) )
2034        ROM_LOAD( "mpr-23506.ic9", 0x4800000, 0x800000, CRC(5031ef58) SHA1(a9cbe1ee05e729519175020d9560954a9253ba5b) )
2035        ROM_LOAD( "mpr-23507.ic10", 0x5000000, 0x800000, CRC(d77b0783) SHA1(2ac6584922754bfe85bff8554ddc83736b095c7a) )
2036        ROM_LOAD( "mpr-23508.ic11", 0x5800000, 0x800000, CRC(4c24c946) SHA1(f088d0f0e2ccf3d657ee68791397e3edaa0c79c0) )
2037        ROM_LOAD( "mpr-23509.ic12", 0x6000000, 0x800000, CRC(38379fc1) SHA1(82e3a12615709e974a6635d25d5f17ef7fe8ac78) )
2038        ROM_LOAD( "mpr-23510.ic13", 0x6800000, 0x800000, CRC(38523873) SHA1(5d25ada6cba8c9bbf5f9e90aa3599e796e4e1727) )
2039
2040   // trojaned protection data (filename is address read from)
2041   ROM_REGION( 0x200000, "naomibd_prot", ROMREGION_ERASE00 )
2042        ROM_LOAD( "a63a9260.bin", 0x000000, 0x008760, CRC(54efa963) SHA1(41874253567da56441d83de041f6e82111977fa4) )
2043        ROM_LOAD( "a63b19c0.bin", 0x010000, 0x008260, CRC(f0ca72ef) SHA1(87fc4654afaf763cdb3ea5b4501948bfe7b9e9dc) )
2044        ROM_LOAD( "a63b9c20.bin", 0x020000, 0x00a0c0, CRC(92eec22c) SHA1(c7267503a828e852edeb26f68f3f4b685b9b163e) )
2045        ROM_LOAD( "a63c3ce0.bin", 0x030000, 0x00d7e0, CRC(93201f32) SHA1(5aca43776306a5a5ecd68a7e8699a724703f329a) )
2046        ROM_LOAD( "a63d14c0.bin", 0x040000, 0x00a8e0, CRC(fb2e9f7b) SHA1(ae4fc9a82eafb5b511485eef1d65ee9d3adc27b6) )
2047        ROM_LOAD( "a63dbda0.bin", 0x050000, 0x008460, CRC(b4b74624) SHA1(6ae2f5d69e45d295a3d0dcf295b1fb76be201e8e) )
2048        ROM_LOAD( "a63e4200.bin", 0x060000, 0x00b500, CRC(69ee516d) SHA1(f358aff12b826d1685199a9d5950abd121b54192) )
2049        ROM_LOAD( "a63ef700.bin", 0x070000, 0x00cec0, CRC(b2f4df7e) SHA1(4aafcf65e3fc193ee191f06ffcce37e52fc12364) )
2050        ROM_LOAD( "a63fc5c0.bin", 0x080000, 0x004cfc, CRC(1d534f98) SHA1(32afbb1d1fd1abba9e49b7b4bcf310860e4e47dc) )
2051        ROM_LOAD( "a643a120.bin", 0x090000, 0x00d6e0, CRC(27a0deb7) SHA1(c8da2e212ca8f5985d9336e8200c3382d6d373a5) )
2052        ROM_LOAD( "a6447800.bin", 0x0a0000, 0x00c920, CRC(42c9e4b1) SHA1(d7ef0d23956b795fad888f49a4dc42d74899de71) )
2053        ROM_LOAD( "a6454120.bin", 0x0b0000, 0x00a540, CRC(69321860) SHA1(675767e9fd18a0d72de2decb68acd7d500b11de2) )
2054        ROM_LOAD( "a645e660.bin", 0x0c0000, 0x00ccc0, CRC(4919083d) SHA1(89dfc2837e5298dc691350ac470bc76557657736) )
2055        ROM_LOAD( "a646b320.bin", 0x0d0000, 0x00c120, CRC(a66da245) SHA1(48d543244cdc52887131e734e0643c69f9368681) )
2056        ROM_LOAD( "a6477440.bin", 0x0e0000, 0x0097a8, CRC(6289f812) SHA1(574459f7c79dd757ae94f8e06dbcefa5b203e510) )
2057        ROM_LOAD( "a6480c00.bin", 0x0f0000, 0x00eca0, CRC(a4128a65) SHA1(35625df0109a72cb508bb4a89641bcb86aa697fb) )
2058        ROM_LOAD( "a648f8a0.bin", 0x100000, 0x009520, CRC(45a06ed6) SHA1(e9ee99e329cf35a95440312b9d0bed40254481c2) )
2059        ROM_LOAD( "a6498dc0.bin", 0x110000, 0x009f40, CRC(2cea7b46) SHA1(5398b8f1ba01e21d5fee0b1c6a796ce396c9697f) )
2060        ROM_LOAD( "a64a2d00.bin", 0x120000, 0x00dbe0, CRC(9c75fc98) SHA1(aa1a630c77b29202a4045b1eade455f02f29b81a) )
2061        ROM_LOAD( "a64b08e0.bin", 0x130000, 0x00cb40, CRC(72ae0dd2) SHA1(f4e8face14dac9a5cc75c6ccdfb9911929e2d76e) )
2062        ROM_LOAD( "a64bd420.bin", 0x140000, 0x00e920, CRC(198e4aa9) SHA1(294b9c3f89b138898c3ef6db60ac5473516d74dc) )
2063        ROM_LOAD( "a64cbd40.bin", 0x150000, 0x005e94, CRC(cc4a4e58) SHA1(dce67374a8dc6d2c9b66c0cd7e68b4f9fdab3e27) )
2064        ROM_LOAD( "a6617be0.bin", 0x160000, 0x00e480, CRC(b7d6ce86) SHA1(c3d9a8cf6125c50a0129591d807bbb13a836a651) )
2065        ROM_LOAD( "a6626060.bin", 0x170000, 0x0078a8, CRC(8c258ad2) SHA1(51d4d227e037992905a7a7f2b5bb13646920670d) )
2066ROM_END
2067
18842068/*
18852069
18862070SYSTEMID: NAOMI
r5338r5339
19182102   ROM_LOAD("mpr-23425.ic6",   0x3000000, 0x0800000, CRC(47f51da2) SHA1(af5ecd460114caed3a00157ffd3a2df0fbf348c0) )
19192103   ROM_LOAD("mpr-23426.ic7",   0x3800000, 0x0800000, CRC(7f91b13f) SHA1(2d534f77291ebfedc011bf0e803a1b9243fb477f) )
19202104   ROM_LOAD("mpr-23427.ic8",   0x4000000, 0x0800000, CRC(5851d525) SHA1(1cb1073542d75a3bcc0d363ed31d49bcaf1fd494) )
2105
2106   ROM_REGION( 0x200000, "naomibd_prot", ROMREGION_ERASE00 )
2107   ROM_COPY("user1", 0, 0, 0x200000)
19212108ROM_END
19222109
19232110ROM_START( csmasho )
r5338r5339
19352122   ROM_LOAD("mpr-23425.ic6", 0x3000000, 0x0800000, CRC(47f51da2) SHA1(af5ecd460114caed3a00157ffd3a2df0fbf348c0) )
19362123   ROM_LOAD("mpr-23426.ic7", 0x3800000, 0x0800000, CRC(7f91b13f) SHA1(2d534f77291ebfedc011bf0e803a1b9243fb477f) )
19372124   ROM_LOAD("mpr-23427.ic8", 0x4000000, 0x0800000, CRC(5851d525) SHA1(1cb1073542d75a3bcc0d363ed31d49bcaf1fd494) )
2125
2126   ROM_REGION( 0x200000, "naomibd_prot", ROMREGION_ERASE00 )
2127   ROM_COPY("user1", 0, 0, 0x200000)
19382128ROM_END
19392129
19402130/*
r5338r5339
30253215   ROM_REGION( 0x200000, "maincpu", 0)
30263216   NAOMI_BIOS
30273217
3028   ROM_REGION( 0x9000000, "user1", ROMREGION_ERASEFF)
3218   ROM_REGION( 0x9000200, "user1", ROMREGION_ERASEFF)
30293219   ROM_LOAD("epr-23227.ic11", 0x0000000, 0x0400000, CRC(3f76087e) SHA1(664d28ef95394590b186e7badaf96ddaf781c104) ) //ic 22
30303220   ROM_RELOAD( 0x400000, 0x400000)
30313221   /*ic 1 empty */
r5338r5339
30453235   ROM_LOAD32_WORD("mpr-23224.ic30", 0x7000002, 0x0800000, CRC(bed270e1) SHA1(342199ac5903681f2bfdb9dfd57ce06202f14685) ) //ic 15
30463236   ROM_LOAD32_WORD("mpr-23225.ic31", 0x8000000, 0x0800000, CRC(ea558614) SHA1(b7dfe5598639a8e59e3cbbee38b1d9a1d8e022ea) ) //ic 16
30473237   ROM_LOAD32_WORD("mpr-23226.ic32", 0x8000002, 0x0800000, CRC(cd5da506) SHA1(2e76c8892c1d389b0f12a0046213f43d2ab07d78) ) //ic 17
3238
3239   // trojaned protection data (must be in the "user1" region because it's accessed via DMA)
3240   ROM_LOAD( "81452000_dma.bin", 0x9000000, 0x000120, CRC(96049488) SHA1(e2b98e8986f8cbf026db50a652300081a8e470b0) )
30483241ROM_END
30493242
30503243/*
r5338r5339
35593752#ifdef UNUSED_FUNCTION
35603753// rather crude function to write out a key file
35613754void naomi_write_keyfile(void)
3562{
3755q{
35633756   // default key structure
35643757   UINT8 response[10][8] = {
35653758   { ':', 0x70, 0x1f, 0x71, 0x1f, 0x00, 0x00, 0x00 }, // response to kayjyo!?
r5338r5339
36803873/* 0005C */ GAME( 1999, spawn,    naomi,    naomi,    naomi,    naomi,    ROT0, "Capcom",          "Spawn (JPN, USA, EUR, ASI, AUS)", GAME_UNEMULATED_PROTECTION|GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING )
36813874/* 0007C */ GAME( 2000, mvsc2,    naomi,    naomi,    naomi,    naomi,    ROT0, "Capcom",          "Marvel vs. Capcom 2 (JPN, USA, EUR, ASI, AUS)", GAME_UNEMULATED_PROTECTION|GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING )
36823875/* 0008C */ GAME( 2000, pstone2,  naomi,    naomi,    naomi,    naomi,    ROT0, "Capcom",          "Power Stone 2 (JPN, USA, EUR, ASI, AUS)", GAME_UNEMULATED_PROTECTION|GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING )
3876/* 841-0011C */ GAME( 2000, capsnk,   naomi,    naomi,    naomi,    naomi, ROT0, "Capcom / SNK",    "Capcom Vs. SNK Millennium Fight 2000 (000904 JPN, USA, EXP, KOR, AUS)", GAME_UNEMULATED_PROTECTION|GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING )
3877/* 841-0011C */ GAME( 2000, capsnka,  capsnk,    naomi,    naomi,    naomi, ROT0, "Capcom / SNK",    "Capcom Vs. SNK Millennium Fight 2000 (000804 JPN, USA, EXP, KOR, AUS)", GAME_UNEMULATED_PROTECTION|GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING )
36833878/* 0012C */ GAME( 2000, cspike,   naomi,    naomi,    naomi,    naomi,    ROT0, "Psikyo / Capcom", "Gun Spike (JPN) / Cannon Spike (USA, EXP, KOR, AUS)", GAME_UNEMULATED_PROTECTION|GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING )
36843879/* 0013C */ GAME( 2000, ggx,      naomi,    naomi,    naomi,    naomi,    ROT0, "Arc System Works","Guilty Gear X (JPN)", GAME_UNEMULATED_PROTECTION|GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING )
36853880/* 0016  */ GAME( 2000, deathcox, naomi,    naomi,    naomi,    naomi,    ROT0, "Ecole",           "Death Crimson OX (JPN, USA, EXP, KOR, AUS)", GAME_UNEMULATED_PROTECTION|GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING )
36863881/* xxxx  */ GAME( 2001, hmgeo,    naomi,    naomi,    naomi,    naomi,    ROT0, "Capcom",          "Heavy Metal Geomatrix (JPN, USA, EUR, ASI, AUS)", GAME_UNEMULATED_PROTECTION|GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING )
36873882
36883883/* Incomplete Dumps (just the program rom IC22) */
3689/* 841-0011C */ GAME( 2000, capsnk,   naomi,    naomi,    naomi,    naomi, ROT0, "Capcom / SNK",    "Capcom Vs. SNK Millennium Fight 2000 (JPN, USA, EXP, KOR, AUS)", GAME_UNEMULATED_PROTECTION|GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING )
36903884/* 840-0083C */ GAME( 1999, derbyoc2, naomi,    naomi,    naomi,    naomi, ROT0, "Sega",            "Derby Owners Club II (JPN, USA, EXP, KOR, AUS)", GAME_UNEMULATED_PROTECTION|GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING )
36913885/* 841-0014C */ GAME( 2000, gwing2,   naomi,    naomi,    naomi,    naomi, ROT0, "Takumi / Capcom", "Giga Wing 2 (JPN, USA, EXP, KOR, AUS)", GAME_UNEMULATED_PROTECTION|GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING )
36923886/* 841-0015C */ GAME( 2000, pjustic,  naomi,    naomi,    naomi,    naomi, ROT0, "Capcom",          "Moero Justice Gakuen (JPN) / Project Justice (USA, EXP, KOR, AUS) ", GAME_UNEMULATED_PROTECTION|GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING )
r5338r5339
49695163 *
49705164 *********************************************/
49715165
4972struct AtomiswaveKey
5166typedef struct _atomiswave_key atomiswave_key;
5167struct _atomiswave_key
49735168{
49745169    int P0[16];
4975    int P1[16];
49765170    int S0[32];
49775171    int S1[16];
49785172    int S2[16];
49795173    int S3[8];
49805174};
49815175
4982static const struct AtomiswaveKey fotns_key = {
4983    {0,2,7,11,12,1,5,6,15,4,8,9,14,3,10,13},
4984    {12,8,3,7,0,15,1,11,6,10,4,14,9,5,13,2},
4985    {4,1,10,16,9,25,26,31,13,0,14,15,24,6,30,18,7,20,5,12,22,17,27,3,8,11,21,29,19,23,28,2},
4986    {3,2,11,14,10,13,12,0,7,6,8,15,5,1,4,9},
4987    {10,3,6,12,7,11,4,14,0,2,8,1,15,13,5,9},
4988    {7,1,6,5,4,2,0,3}
5176static const atomiswave_key ssu_key = {
5177    {8,10,1,3,7,4,11,2,5,15,6,0,12,13,9,14},
5178    {4,12,8,14,16,30,31,0,23,29,24,21,11,22,27,5,3,20,18,26,10,7,17,1,28,6,15,13,2,9,25,19},
5179    {13,1,0,9,5,12,4,14,3,15,2,10,11,6,8,7},
5180    {7,13,4,6,5,9,3,2,0,15,12,10,8,11,1,14},
5181    {4,0,1,2,5,7,3,6}
49895182};
49905183
4991static const struct AtomiswaveKey df_key = {
4992    {1,4,5,6,9,7,10,11,13,0,8,12,14,2,3,15},
4993    {12,0,3,8,7,6,15,11,1,4,14,10,9,5,13,2},
4994    {9,27,15,6,28,30,7,12,21,0,1,25,22,3,16,29,13,4,24,20,2,5,23,19,18,10,8,14,17,11,31,26},
4995    {5,13,4,0,8,12,14,7,2,11,3,10,6,1,15,9},
4996    {11,6,2,9,12,1,7,4,10,0,13,3,8,14,15,5},
4997    {1,6,4,3,5,2,7,0}
5184static const atomiswave_key df_key = {
5185    {4,5,9,6,1,13,7,11,10,0,14,12,8,15,2,3},
5186    {9,15,28,7,13,24,2,23,21,1,22,16,18,8,17,31,27,6,30,12,4,20,5,19,0,25,3,29,10,14,11,26},
5187    {5,2,13,11,8,6,12,1,4,3,0,10,14,15,7,9},
5188    {11,6,10,0,12,1,8,14,2,9,13,3,7,4,15,5},
5189    {1,5,6,2,4,7,3,0}
49985190};
49995191
5000struct AtomiswaveKey ssu_key = {
5001    {1,3,7,8,10,2,4,5,11,0,6,12,15,9,13,14},
5002    {7,8,12,0,3,11,1,15,6,10,9,14,4,5,2,13},
5003    {4,16,23,11,3,10,28,2,12,30,29,22,20,7,6,9,8,31,24,27,18,17,15,25,14,0,21,5,26,1,13,19},
5004    {13,5,1,12,3,11,15,6,0,4,9,14,2,8,10,7},
5005    {7,5,4,3,0,8,12,1,13,9,6,2,15,11,10,14},
5006    {4,1,0,2,5,3,7,6}
5192static const atomiswave_key rm_key = {
5193    {4,5,9,6,1,13,7,11,10,0,14,12,8,15,2,3},
5194    {3,0,14,17,10,15,31,20,13,2,29,28,9,18,25,27,6,19,30,22,7,12,1,16,23,11,24,4,8,26,21,5},
5195    {2,10,6,9,11,13,4,5,3,15,7,14,12,1,0,8},
5196    {1,13,11,3,8,7,9,10,12,15,4,14,0,5,6,2},
5197    {6,5,0,3,7,1,4,2}
50075198};
50085199
5009struct AtomiswaveKey rm_key = {
5010    {1,4,5,6,9,7,10,11,13,0,8,12,14,2,3,15},
5011    {12,0,3,8,7,6,15,11,1,4,14,10,9,5,13,2},
5012    {3,6,0,19,14,30,17,22,13,23,2,11,29,24,28,4,10,7,15,12,31,1,20,16,9,8,18,26,25,21,27,5},
5013    {2,6,3,7,11,4,12,0,10,9,15,14,13,5,1,8},
5014    {1,13,12,15,8,7,0,5,11,3,4,14,9,10,6,2},
5015    {6,0,7,4,5,3,1,2}
5200static const atomiswave_key fotns_key = {
5201    {12,7,11,2,0,5,15,6,1,8,14,4,9,13,3,10},
5202    {4,7,9,22,13,8,24,19,10,5,26,27,14,21,30,28,1,20,25,17,0,11,6,23,16,12,31,3,15,29,18,2},
5203    {3,11,7,8,10,12,5,4,2,14,6,15,13,0,1,9},
5204    {10,6,0,8,3,12,2,1,7,4,15,5,11,14,13,9},
5205    {7,4,1,2,6,0,5,3}
50165206};
5017static UINT16 atomiswave_decrypt(UINT16 cipherText, int address, const struct AtomiswaveKey* key)
5207
5208static const atomiswave_key xh_key = {
5209    {12,7,11,2,0,5,15,6,1,8,14,4,9,13,3,10},
5210    {4,12,8,14,16,30,31,0,23,29,24,21,11,22,27,5,3,20,18,26,10,7,17,1,28,6,15,13,2,9,25,19},
5211    {13,1,0,9,5,12,4,14,3,15,2,10,11,6,8,7},
5212    {7,13,4,6,5,9,3,2,0,15,12,10,8,11,1,14},
5213    {4,0,1,2,5,7,3,6}
5214};
5215
5216static UINT16 atomiswave_decrypt(UINT16 cipherText, int address, const atomiswave_key* key)
50185217{
50195218    int b0,b1,b2,b3;
50205219    int aux;
r5338r5339
50225221    aux = BITSWAP16(cipherText,
50235222                    key->P0[15],key->P0[14],key->P0[13],key->P0[12],key->P0[11],key->P0[10],key->P0[9],key->P0[8],
50245223                    key->P0[7],key->P0[6],key->P0[5],key->P0[4],key->P0[3],key->P0[2],key->P0[1],key->P0[0]);
5025    aux = aux ^ BITSWAP16(address/2,
5026                          key->P1[15],key->P1[14],key->P1[13],key->P1[12],key->P1[11],key->P1[10],key->P1[9],key->P1[8],
5027                          key->P1[7],key->P1[6],key->P1[5],key->P1[4],key->P1[3],key->P1[2],key->P1[1],key->P1[0]);
5224    aux = aux ^ BITSWAP16(address/2, 13,5,2, 14,10,9,4, 15,11,6,1, 12,8,7,3,0);
50285225
50295226    b0 = aux&0x1f;
50305227    b1 = (aux>>5)&0xf;
r5338r5339
51265323   }
51275324}
51285325
5326static DRIVER_INIT(xtrmhunt)
5327{
5328     int i;
5329   UINT16 *src = (UINT16 *)(memory_region(machine, "user1"));
5330
5331   long rom_size = memory_region_length(machine, "user1");
5332
5333   for(i=0; i<rom_size/2; i++)
5334   {
5335      src[i] = atomiswave_decrypt(src[i], i*2, &xh_key);
5336   }
5337}
5338
51295339ROM_START( fotns )
51305340   ROM_REGION( 0x200000, "maincpu", 0)
51315341   AW_BIOS
r5338r5339
51745384   AW_BIOS
51755385
51765386   ROM_REGION( 0x8000000, "user1", ROMREGION_ERASE)
5177        ROM_LOAD( "ax0101p01.ic18", 0x0000000, 0x800000, CRC(b3642b5d) SHA1(85eabd9551aefb825ae8eb6422092fb5a58d60f6) )
5387        ROM_LOAD( "ax0101p01.ic18", 0x0000000, 0x0800000, CRC(b3642b5d) SHA1(85eabd9551aefb825ae8eb6422092fb5a58d60f6) )
51785388        ROM_LOAD( "ax0101m01.ic11", 0x1000000, 0x1000000, CRC(1e39184d) SHA1(663e0cb9f43a0f89d9841e04b3d009f6c5e88d5e) )
51795389        ROM_LOAD( "ax0102m01.ic12", 0x2000000, 0x1000000, CRC(700764d1) SHA1(310f1606f7bbed1012c119f1ef5d89d231d8489e) )
51805390        ROM_LOAD( "ax0103m01.ic13", 0x3000000, 0x1000000, CRC(6144e7a8) SHA1(4d4341082f008dfd93ef5bf32a44c80869ef02a8) )
51815391        ROM_LOAD( "ax0104m01.ic14", 0x4000000, 0x1000000, CRC(ccb72150) SHA1(a1032d321c27f9ff43da41f20b8687bf1958ddc9) )
51825392ROM_END
51835393
5394ROM_START( xtrmhunt )
5395   ROM_REGION( 0x200000, "maincpu", 0)
5396   AW_BIOS
51845397
5398   ROM_REGION( 0x8000000, "user1", ROMREGION_ERASE)
5399   ROM_LOAD("ax2401p01.ic18", 0x0000000, 0x0800000,  CRC(8e2a11f5) SHA1(b5106314fb8d4483254e83ac3982039bb60a78e8) )
5400   ROM_LOAD("ax2401m01.ic11", 0x1000000, 0x1000000,  CRC(76dbc286) SHA1(8f36ca94b8e67c76e0f90b21debc5ac7890f0da1) )
5401   ROM_LOAD("ax2402m01.ic12", 0x2000000, 0x1000000,  CRC(cd590ea2) SHA1(ee5e38bf68e95da665be478ebba9cc5ffed52bb7) )
5402   ROM_LOAD("ax2403m01.ic13", 0x3000000, 0x1000000,  CRC(06f62eb5) SHA1(f7e8d1dda6bb59ca2bc7cfa1105889b9e8e6d55d) )
5403   ROM_LOAD("ax2404m01.ic14", 0x4000000, 0x1000000,  CRC(759ef5cb) SHA1(27ac2d12c6fb358b3d631c017c7b693e5ad95fd7) )
5404   ROM_LOAD("ax2405m01.ic15", 0x5000000, 0x1000000,  CRC(940d77f1) SHA1(eefdfcb92873032dc7d9ff9310bf5ed715c8bf4f) )
5405   ROM_LOAD("ax2406m01.ic16", 0x6000000, 0x1000000,  CRC(cbcf2c5d) SHA1(61362fabcbb3bfc01c996748a7ca65f8a0e02f2f) )
5406ROM_END
5407
5408
51855409/* Atomiswave */
51865410GAME( 2001, awbios,   0,        naomi,    naomi,    0,        ROT0, "Sammy",                           "Atomiswave Bios", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING|GAME_IS_BIOS_ROOT )
51875411
r5338r5339
51895413GAME( 2003, demofist, awbios,   naomi,    naomi,    demofist, ROT0, "Polygon Magic / Dimps",           "Demolish Fist", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING )
51905414GAME( 2004, rangrmsn, awbios,   naomi,    naomi,    rangrmsn, ROT0, "Sammy",                           "Ranger Mission", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING )
51915415GAME( 2005, fotns,    awbios,   naomi,    naomi,    fotns,    ROT0, "Arc System Works",                "Fist Of The North Star", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING )
5416GAME( 2005, xtrmhunt, awbios,   naomi,    naomi,    xtrmhunt, ROT0, "Sammy",                           "Extreme Hunting", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING )
51925417
src/mame/drivers/asteroid.c
r5338r5339
3939 035144-02 --> 034144-04E
4040 035145-02 --> 034145-04E
4141
42There is not a rev 3 known, mentioned or dumped
42 A rom set was found labeled:
4343
44    035144-02-03
45    035145-02-03
46
47  However, when dumped they matched the rev 02 set.
48
49There is not a rev 03 known or dumped. An Asteroids rev 03 is not mentioned in any known Atari docs found to date.
50
4451    Asteroids-deluxe state-prom added by HIGHWAYMAN.
4552    The prom pcb location is:C8 and is 256x4
4653    (i need to update the dump, this one is read in 8bit-mode)
r5338r5339
700707   ROM_LOAD( "034602-01.c8",   0x0000, 0x0100, CRC(97953db8) SHA1(8cbded64d1dd35b18c4d5cece00f77e7b2cab2ad) )
701708ROM_END
702709
703ROM_START( asteroi2 )
710ROM_START( asteroid2 )
704711   ROM_REGION( 0x8000, "maincpu", 0 )
705712   ROM_LOAD( "035145-02.ef2",  0x6800, 0x0800, CRC(0cc75459) SHA1(2af85c9689b878155004da47fedbde5853a18723) )
706713   ROM_LOAD( "035144-02.h2",   0x7000, 0x0800, CRC(096ed35c) SHA1(064d680ded7f30c543f93ae5ca85f90d550f73e5) )
r5338r5339
713720   ROM_LOAD( "034602-01.c8",   0x0000, 0x0100, CRC(97953db8) SHA1(8cbded64d1dd35b18c4d5cece00f77e7b2cab2ad) )
714721ROM_END
715722
716ROM_START( asteroi1 )
723ROM_START( asteroid1 )
717724   ROM_REGION( 0x8000, "maincpu", 0 )
718725   ROM_LOAD( "035145-01.ef2",  0x6800, 0x0800, CRC(e9bfda64) SHA1(291dc567ebb31b35df83d9fb87f4080f251ff9c8) )
719726   ROM_LOAD( "035144-01.h2",   0x7000, 0x0800, CRC(e53c28a9) SHA1(d9f081e73511ec43377f0c6457747f15a470d4dc) )
r5338r5339
726733   ROM_LOAD( "034602-01.c8",   0x0000, 0x0100, CRC(97953db8) SHA1(8cbded64d1dd35b18c4d5cece00f77e7b2cab2ad) )
727734ROM_END
728735
729ROM_START( asteroib )
736ROM_START( asteroidb )
730737   ROM_REGION( 0x8000, "maincpu", 0 )
731738   ROM_LOAD( "035145ll.de1",  0x6800, 0x0800, CRC(605fc0f2) SHA1(8d897a3b75bd1f2537470f0a34a97a8c0853ee08) )
732739   ROM_LOAD( "035144ll.c1",   0x7000, 0x0800, CRC(e106de77) SHA1(003e99d095bd4df6fae243ea1dd5b12f3eb974f1) )
r5338r5339
802809   ROM_LOAD( "034602-01.c8",  0x0000, 0x0100, CRC(97953db8) SHA1(8cbded64d1dd35b18c4d5cece00f77e7b2cab2ad) )
803810ROM_END
804811
805ROM_START( astdelu2 )
812ROM_START( astdelux2 )
806813   ROM_REGION( 0x8000, "maincpu", 0 )
807814   ROM_LOAD( "036430-01.d1",  0x6000, 0x0800, CRC(8f5dabc6) SHA1(5d7543e19acab99ddb63c0ffd60f54d7a0f267f5) )
808815   ROM_LOAD( "036431-01.ef1", 0x6800, 0x0800, CRC(157a8516) SHA1(9041d8c2369d004f198681e02b59a923fa8f70c9) )
r5338r5339
855862by Andy Welburn
856863www.andys-arcade.com
857864*/
858ROM_START( astdelu1 )
865ROM_START( astdelux1 )
859866   ROM_REGION( 0x8000, "maincpu", 0 )
860867   ROM_LOAD( "036430-01.d1",  0x6000, 0x0800, CRC(8f5dabc6) SHA1(5d7543e19acab99ddb63c0ffd60f54d7a0f267f5) )
861868   ROM_LOAD( "036431-01.ef1", 0x6800, 0x0800, CRC(157a8516) SHA1(9041d8c2369d004f198681e02b59a923fa8f70c9) )
r5338r5339
934941 *************************************/
935942
936943GAME( 1979, asteroid, 0,        asteroid, asteroid, 0,        ROT0, "Atari",   "Asteroids (rev 4)",        GAME_SUPPORTS_SAVE )
937GAME( 1979, asteroi2, asteroid, asteroid, asteroid, 0,        ROT0, "Atari",   "Asteroids (rev 2)",        GAME_SUPPORTS_SAVE )
938GAME( 1979, asteroi1, asteroid, asteroid, asteroid, 0,        ROT0, "Atari",   "Asteroids (rev 1)",        GAME_SUPPORTS_SAVE )
939GAME( 1979, asteroib, asteroid, asteroid, asteroib, asteroib, ROT0, "bootleg", "Asteroids (bootleg on Lunar Lander hardware)", GAME_SUPPORTS_SAVE )
944GAME( 1979, asteroid2,asteroid, asteroid, asteroid, 0,        ROT0, "Atari",   "Asteroids (rev 2)",        GAME_SUPPORTS_SAVE )
945GAME( 1979, asteroid1,asteroid, asteroid, asteroid, 0,        ROT0, "Atari",   "Asteroids (rev 1)",        GAME_SUPPORTS_SAVE )
946GAME( 1979, asteroidb,asteroid, asteroid, asteroib, asteroib, ROT0, "bootleg", "Asteroids (bootleg on Lunar Lander hardware)", GAME_SUPPORTS_SAVE )
940947GAME( 1979, asterock, asteroid, asterock, asterock, asterock, ROT0, "Sidam",   "Asterock",                 GAME_SUPPORTS_SAVE )
941948GAME( 1979, meteorts, asteroid, asteroid, asteroid, 0,        ROT0, "VGG",     "Meteorites",               GAME_SUPPORTS_SAVE )
942949GAME( 1980, meteorho, asteroid, asteroid, asteroid, 0,        ROT0, "Hoei",    "Meteor",                   GAME_SUPPORTS_SAVE )
943950GAMEL(1980, astdelux, 0,        astdelux, astdelux, 0,        ROT0, "Atari",   "Asteroids Deluxe (rev 3)", GAME_SUPPORTS_SAVE, layout_ho88ffff )
944GAMEL(1980, astdelu2, astdelux, astdelux, astdelux, 0,        ROT0, "Atari",   "Asteroids Deluxe (rev 2)", GAME_SUPPORTS_SAVE, layout_ho88ffff )
945GAMEL(1980, astdelu1, astdelux, astdelux, astdelux, 0,        ROT0, "Atari",   "Asteroids Deluxe (rev 1)", GAME_SUPPORTS_SAVE, layout_ho88ffff )
951GAMEL(1980, astdelux2,astdelux, astdelux, astdelux, 0,        ROT0, "Atari",   "Asteroids Deluxe (rev 2)", GAME_SUPPORTS_SAVE, layout_ho88ffff )
952GAMEL(1980, astdelux1,astdelux, astdelux, astdelux, 0,        ROT0, "Atari",   "Asteroids Deluxe (rev 1)", GAME_SUPPORTS_SAVE, layout_ho88ffff )
946953GAME( 1979, llander,  0,        llander,  llander,  0,        ROT0, "Atari",   "Lunar Lander (rev 2)",     GAME_SUPPORTS_SAVE )
947954GAME( 1979, llander1, llander,  llander,  llander1, 0,        ROT0, "Atari",   "Lunar Lander (rev 1)",     GAME_SUPPORTS_SAVE )
src/mame/drivers/stv.c
r5338r5339
180180
181181#define MASTER_CLOCK_352 57272800
182182#define MASTER_CLOCK_320 53748200
183#define PIXEL_CLOCK 50160000/2/4 /*hand-tuned to match fps ~59.82*/
183184
184185/**************************************************************************************/
185186/*to be added into a stv Header file,remember to remove all the static...*/
r5338r5339
27522753   MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_AFTER_VBLANK)
27532754
27542755   MDRV_SCREEN_ADD("screen", RASTER)
2755   MDRV_SCREEN_REFRESH_RATE(60)
2756   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(192))   // guess, needed to force video update after V-Blank OUT interrupt
27572756   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB15)
2758   MDRV_SCREEN_SIZE(704*2, 512*2)
2759   MDRV_SCREEN_VISIBLE_AREA(0*8, 703, 0*8, 511) // we need to use a resolution as high as the max size it can change to
2757   MDRV_SCREEN_RAW_PARAMS(PIXEL_CLOCK, 400, 0, 320, 262, 0, 224)
27602758
27612759   MDRV_PALETTE_LENGTH(2048+(2048*2))//standard palette + extra memory for rgb brightness.
27622760   MDRV_GFXDECODE(stv)
r5338r5339
29502948   ROM_LOAD16_WORD_SWAP( "mpr18972.6",    0x1400000, 0x0400000, CRC(45c64fca) SHA1(ae2f678b9885426ce99b615b7f62a451f9ef83f9) ) // good (was .5)
29512949ROM_END
29522950
2953ROM_START( decathlo )
2951ROM_START( decathlto )
29542952   STV_BIOS
29552953
29562954   ROM_REGION32_BE( 0x3000000, "user1", ROMREGION_ERASE00 ) /* SH2 code */
r5338r5339
38613859GAME( 1995, vfremix,   stvbios, stv, stv,        vfremix,      ROT0,   "Sega",                       "Virtua Fighter Remix (JUETBKAL 950428 V1.000)", GAME_IMPERFECT_SOUND | GAME_NOT_WORKING )
38623860GAME( 1997, findlove,  stvbios, stv, stv,        stv,        ROT0,   "Daiki / FCF",                   "Find Love (J 971212 V1.000)", GAME_IMPERFECT_SOUND | GAME_NOT_WORKING )
38633861GAME( 1996, decathlt,  stvbios, stv, stv,        decathlt,     ROT0,   "Sega",                       "Decathlete (JUET 960709 V1.001)", GAME_NO_SOUND | GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION )
3864GAME( 1996, decathlo, decathlt,stv, stv,        decathlt,    ROT0,     "Sega",                       "Decathlete (JUET 960424 V1.000)", GAME_NO_SOUND | GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION )
3862GAME( 1996, decathlto, decathlt,stv, stv,        decathlt,    ROT0,     "Sega",                       "Decathlete (JUET 960424 V1.000)", GAME_NO_SOUND | GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION )
38653863
38663864/* Gives I/O errors */
38673865GAME( 1996, magzun,    stvbios, stv, stv,        stv,         ROT0,   "Sega",                       "Magical Zunou Power (J 961031 V1.000)", GAME_NOT_WORKING )
src/mame/drivers/vamphalf.c
r5338r5339
881881ROM_END
882882
883883
884ROM_START( vamphafk )
884ROM_START( vamphalfk )
885885   ROM_REGION16_BE( 0x100000, "user1", ROMREGION_ERASE00 ) /* Hyperstone CPU Code */
886886   /* 0 - 0x80000 empty */
887887   ROM_LOAD( "prom1", 0x80000, 0x80000, CRC(f05e8e96) SHA1(c860e65c811cbda2dc70300437430fb4239d3e2d) )
r5338r5339
17481748GAME( 1999, luplup29, suplup,   suplup,   common,   luplup29, ROT0,   "Omega System",      "Lup Lup Puzzle / Zhuan Zhuan Puzzle (version 2.9 / 990108)", 0 )
17491749GAME( 1999, puzlbang, suplup,   suplup,   common,   puzlbang, ROT0,   "Omega System",      "Puzzle Bang Bang (version 2.8 / 990106)", 0 )
17501750GAME( 1999, vamphalf, 0,        vamphalf, common,   vamphalf, ROT0,   "Danbi & F2 System", "Vamf x1/2 (Europe)", 0 )
1751GAME( 1999, vamphafk, vamphalf, vamphalf, common,   vamphafk, ROT0,   "Danbi & F2 System", "Vamp x1/2 (Korea)", 0 )
1751GAME( 1999, vamphalfk,vamphalf, vamphalf, common,   vamphafk, ROT0,   "Danbi & F2 System", "Vamp x1/2 (Korea)", 0 )
17521752GAME( 2000, dquizgo2, 0,        coolmini, common,   dquizgo2, ROT0,   "SemiCom",           "Date Quiz Go Go Episode 2" , 0)
17531753GAME( 2000, misncrft, 0,        misncrft, common,   misncrft, ROT90,  "Sun",               "Mission Craft (version 2.4)", GAME_NO_SOUND )
17541754GAME( 2001, finalgdr, 0,        finalgdr, finalgdr, finalgdr, ROT0,   "SemiCom",           "Final Godori (Korea, version 2.20.5915)", 0 )
src/mame/drivers/raiden.c
r5338r5339
253253   MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
254254
255255   MDRV_SCREEN_ADD("screen", RASTER)
256   MDRV_SCREEN_REFRESH_RATE(60)
256   MDRV_SCREEN_REFRESH_RATE(59.60)    /* verified on pcb */
257257   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
258258   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
259259   MDRV_SCREEN_SIZE(32*8, 32*8)
r5338r5339
292292   MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
293293
294294   MDRV_SCREEN_ADD("screen", RASTER)
295   MDRV_SCREEN_REFRESH_RATE(60)
295   MDRV_SCREEN_REFRESH_RATE(59.60)    /* verified on pcb */
296296   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
297297   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
298298   MDRV_SCREEN_SIZE(32*8, 32*8)
src/mame/drivers/bloodbro.c
r5338r5339
474474   // video hardware
475475
476476   MDRV_SCREEN_ADD("screen", RASTER)
477   MDRV_SCREEN_REFRESH_RATE(60)
478   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
477   MDRV_SCREEN_REFRESH_RATE(59.39)    /* verified on pcb */
478    MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
479479   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
480480   MDRV_SCREEN_SIZE(32*8, 32*8)
481481   MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
r5338r5339
540540   ROM_LOAD( "bb_08.bin",    0x00000, 0x20000, CRC(deb1b975) SHA1(08f2e9a0a23171201b71d381d091edcd3787c287) )
541541ROM_END
542542
543ROM_START( bloodbra )
543ROM_START( bloodbroa )
544544   ROM_REGION( 0x80000, "maincpu", 0 )
545545   ROM_LOAD16_BYTE( "2j.21",    0x00001, 0x20000, CRC(e8ca21b8) SHA1(65330368c29ec64ca03124d28a7f8b49d7a15566) )
546546   ROM_LOAD16_BYTE( "1j.22",    0x00000, 0x20000, CRC(6b28cfc7) SHA1(dedd06cab61381f3e27dc14315f283d707d06bcb) )
r5338r5339
654654/* Game Drivers */
655655
656656GAME( 1990, bloodbro, 0,        bloodbro, bloodbro, 0,        ROT0,   "Tad", "Blood Bros. (set 1)", GAME_NO_COCKTAIL )
657GAME( 1990, bloodbra, bloodbro, bloodbro, bloodbro, 0,        ROT0,   "Tad", "Blood Bros. (set 2)", GAME_NO_COCKTAIL )
657GAME( 1990, bloodbroa,bloodbro, bloodbro, bloodbro, 0,        ROT0,   "Tad", "Blood Bros. (set 2)", GAME_NO_COCKTAIL )
658658GAME( 1990, weststry, bloodbro, weststry, weststry, weststry, ROT0,   "bootleg", "West Story", GAME_NO_COCKTAIL | GAME_NO_SOUND )
659659GAME( 1990, skysmash, 0,        skysmash, skysmash, 0,        ROT270, "Nihon System", "Sky Smasher", 0 )
src/mame/drivers/rallyx.c
r5338r5339
11121112//  ROM_LOAD( "10a.bpr",      0x0140, 0x0020, CRC(b8861096) SHA1(26fad384ed7a1a1e0ba719b5578e2dbb09334a25) ) /* video timing (not used) */
11131113ROM_END
11141114
1115ROM_START( tactcan2 )
1115ROM_START( tactcian2 )
11161116   ROM_REGION( 0x10000, "maincpu", 0 )
11171117   ROM_LOAD( "tan1",         0x0000, 0x1000, CRC(ddf38b75) SHA1(bad66fd6ae0ab3b91989fca14a8696ed855dc852) )
11181118   ROM_LOAD( "tan2",         0x1000, 0x1000, CRC(f065ee2e) SHA1(f2362c471981af3348465f3c8a5ffb38058432a5) )
r5338r5339
12781278GAME( 1981, jungler,  0,        jungler,  jungler,  0, ROT90, "Konami", "Jungler", 0 )
12791279GAME( 1981, junglers, jungler,  jungler,  jungler,  0, ROT90, "[Konami] (Stern license)", "Jungler (Stern)", 0 )
12801280GAME( 1982, tactcian, 0,        tactcian, tactcian, 0, ROT90, "[Konami] (Sega license)", "Tactician (set 1)", 0 )
1281GAME( 1981, tactcan2, tactcian, tactcian, tactcian, 0, ROT90, "[Konami] (Sega license)", "Tactician (set 2)", 0 )
1281GAME( 1981, tactcian2,tactcian, tactcian, tactcian, 0, ROT90, "[Konami] (Sega license)", "Tactician (set 2)", 0 )
12821282GAME( 1982, locomotn, 0,        locomotn, locomotn, 0, ROT90, "Konami (Centuri license)", "Loco-Motion", 0 )
12831283GAME( 1982, gutangtn, locomotn, locomotn, locomotn, 0, ROT90, "Konami (Sega license)", "Guttang Gottong", 0 )
12841284GAME( 1982, cottong,  locomotn, locomotn, locomotn, 0, ROT90, "bootleg", "Cotocoto Cottong", 0 )
src/mame/drivers/bnstars.c
r5338r5339
448448            color,
449449            flipx, flipy,
450450            sx,sy,
451            xzoom, yzoom, priority_bitmap,pri_mask, 0);
451            xzoom, yzoom, machine->priority_bitmap,pri_mask, 0);
452452   }   /* end sprite loop */
453453}
454454
r5338r5339
489489   const device_config *left_screen  = devtag_get_device(screen->machine, "lscreen");
490490   const device_config *right_screen = devtag_get_device(screen->machine, "rscreen");
491491
492   bitmap_fill(priority_bitmap,cliprect,0);
492   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
493493
494494   if (screen==left_screen)
495495   {
src/mame/drivers/vmetal.c
r5338r5339
407407static VIDEO_UPDATE(varia)
408408{
409409   bitmap_fill(bitmap, cliprect, get_black_pen(screen->machine));
410   bitmap_fill(priority_bitmap,cliprect,0);
410   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
411411
412412   tilemap_set_scrollx(vmetal_mid2tilemap,0, vmetal_videoregs[0x06a/2]-64 /*+ vmetal_videoregs[0x066/2]*/);
413413   tilemap_set_scrollx(vmetal_mid1tilemap,0, vmetal_videoregs[0x07a/2]-64 /*+ vmetal_videoregs[0x076/2]*/);
src/mame/drivers/namcos1.c
r5338r5339
12531253ROM_END
12541254
12551255/* Youkai Douchuuki (Shadowland Japan old version) */
1256ROM_START( yokaidko )
1256ROM_START( youkaidko )
12571257   ROM_REGION( 0x2c000, "audiocpu", 0 )       /* 176k for the sound cpu */
12581258   ROM_LOAD( "yd1.sd0",            0x0c000, 0x10000, CRC(a9cb51fb) SHA1(c46345b36306d35f73e25d0c8b1af53936927f0b) )
12591259   ROM_LOAD( "yd1.sd1",            0x1c000, 0x10000, CRC(65d1dc0d) SHA1(e758fa5279c1a36c7dad941091694daed13f8b9a) )
r5338r5339
15411541ROM_END
15421542
15431543/* Pac-Mania (Japan) diff o1,s0,s1,p7,v0 */
1544ROM_START( pacmanij )
1544ROM_START( pacmaniaj )
15451545   ROM_REGION( 0x2c000, "audiocpu", 0 )       /* 176k for the sound cpu */
15461546   ROM_LOAD( "pn1_s0.bin",         0x0c000, 0x10000, CRC(d5ef5eee) SHA1(6f263955662defe7a03cc89368b70d5fcb06ee3e) )
15471547   ROM_LOAD( "pn1_s1.bin",         0x1c000, 0x10000, CRC(411bc134) SHA1(89960596def3580d19d9121d1efffbba2d1bdd94) )
r5338r5339
16181618ROM_END
16191619
16201620/* Galaga '88 (Japan) */
1621ROM_START( galag88j )
1621ROM_START( galaga88j )
16221622   ROM_REGION( 0x2c000, "audiocpu", 0 )       /* 176k for the sound cpu */
16231623   ROM_LOAD( "g81_s0.bin",         0x0c000, 0x10000, CRC(164a3fdc) SHA1(d7b026f6a617bb444e3bce80cec2cbb4772cb533) )
16241624   ROM_LOAD( "g81_s1.bin",         0x1c000, 0x10000, CRC(16a4b784) SHA1(a0d6f6ad4a68c9e10f2662e940ffaee691cafcac) )
r5338r5339
17421742   ROM_LOAD( "bm_obj-7.bin",       0xe0000, 0x20000, CRC(377c81ed) SHA1(85f4682c6079863793f5575d261a33309c221ba7) )
17431743ROM_END
17441744
1745ROM_START( beraboho )
1745ROM_START( berabohmo )
17461746   ROM_REGION( 0x2c000, "audiocpu", 0 )       /* 176k for the sound cpu */
17471747   ROM_LOAD( "bm1_s0.bin",         0x0c000, 0x10000, CRC(d5d53cb1) SHA1(af5db529550382dab61197eb46e02110efc4c21b) )
17481748
r5338r5339
20682068   ROM_LOAD( "sh_obj-7.bin",       0xe0000, 0x20000, CRC(08b1953a) SHA1(f84f97e8e14ed6fcf99565d2603651831101ed2f) )
20692069ROM_END
20702070
2071ROM_START( splatteo )
2071ROM_START( splattero )
20722072   ROM_REGION( 0x2c000, "audiocpu", 0 )       /* 176k for the sound cpu */
20732073   ROM_LOAD( "sh1_snd0.bin",       0x0c000, 0x10000, CRC(90abd4ad) SHA1(caeba5befcf57d90671786c7ef1ce49d54821949) )
20742074   ROM_LOAD( "sh1_snd1.bin",       0x1c000, 0x10000, CRC(8ece9e0a) SHA1(578da932a7684c6f633dde1d6412011c727c2380) )
r5338r5339
21122112   ROM_LOAD( "sh_obj-7.bin",       0xe0000, 0x20000, CRC(08b1953a) SHA1(f84f97e8e14ed6fcf99565d2603651831101ed2f) )
21132113ROM_END
21142114
2115ROM_START( splattej )
2115ROM_START( splatterj )
21162116   ROM_REGION( 0x2c000, "audiocpu", 0 )       /* 176k for the sound cpu */
21172117   ROM_LOAD( "sh1_snd0.bin",       0x0c000, 0x10000, CRC(90abd4ad) SHA1(caeba5befcf57d90671786c7ef1ce49d54821949) )
21182118   ROM_LOAD( "sh1_snd1.bin",       0x1c000, 0x10000, CRC(8ece9e0a) SHA1(578da932a7684c6f633dde1d6412011c727c2380) )
r5338r5339
26382638ROM_END
26392639
26402640/* Tank Force US 4 Player version*/
2641ROM_START( tankfrc4 )
2641ROM_START( tankfrce4 )
26422642   ROM_REGION( 0x2c000, "audiocpu", 0 )       /* 176k for the sound cpu */
26432643   ROM_LOAD( "tf1_snd0.bin",       0x0c000, 0x20000, CRC(4d9cf7aa) SHA1(de51b9b36e9a530a7f3c35672ec72c19b607af04) )
26442644
r5338r5339
26742674ROM_END
26752675
26762676/* Tank Force (Japan) */
2677ROM_START( tankfrcj )
2677ROM_START( tankfrcej )
26782678   ROM_REGION( 0x2c000, "audiocpu", 0 )       /* 176k for the sound cpu */
26792679   ROM_LOAD( "tf1_snd0.bin",       0x0c000, 0x20000, CRC(4d9cf7aa) SHA1(de51b9b36e9a530a7f3c35672ec72c19b607af04) )
26802680
r5338r5339
27132713
27142714GAME( 1987, shadowld, 0,        ns1,     shadowld, shadowld, ROT180, "Namco", "Shadowland", 0 )
27152715GAME( 1987, youkaidk, shadowld, ns1,     shadowld, shadowld, ROT180, "Namco", "Yokai Douchuuki (Japan new version)", 0 )
2716GAME( 1987, yokaidko, shadowld, ns1,     shadowld, shadowld, ROT180, "Namco", "Yokai Douchuuki (Japan old version)", 0 )
2716GAME( 1987, youkaidko,shadowld, ns1,     shadowld, shadowld, ROT180, "Namco", "Yokai Douchuuki (Japan old version)", 0 )
27172717GAME( 1987, dspirit,  0,        ns1,     dspirit,  dspirit,  ROT90,  "Namco", "Dragon Spirit (new version)", 0 )
27182718GAME( 1987, dspirito, dspirit,  ns1,     dspirit,  dspirit,  ROT90,  "Namco", "Dragon Spirit (old version)", 0 )
27192719GAME( 1987, dspirita, dspirit,  ns1,     dspirit,  dspirit,  ROT90,  "Namco", "Dragon Spirit (Atari license)", 0 )
27202720GAME( 1987, blazer,   0,        ns1,     ns1,      blazer,   ROT90,  "Namco", "Blazer (Japan)", 0 )
27212721GAME( 1987, quester,  0,        ns1,     quester,  quester,  ROT90,  "Namco", "Quester (Japan)", 0 )
27222722GAME( 1987, pacmania, 0,        ns1,     pacmania, pacmania, ROT270, "Namco", "Pac-Mania", 0 )
2723GAME( 1987, pacmanij, pacmania, ns1,     pacmania, pacmania, ROT90,  "Namco", "Pac-Mania (Japan)", 0 )
2723GAME( 1987, pacmaniaj,pacmania, ns1,     pacmania, pacmania, ROT90,  "Namco", "Pac-Mania (Japan)", 0 )
27242724GAME( 1987, galaga88, 0,        ns1,     galaga88, galaga88, ROT270, "Namco", "Galaga '88", 0 )
2725GAME( 1987, galag88j, galaga88, ns1,     galaga88, galaga88, ROT90,  "Namco", "Galaga '88 (Japan)", 0 )
2725GAME( 1987, galaga88j,galaga88, ns1,     galaga88, galaga88, ROT90,  "Namco", "Galaga '88 (Japan)", 0 )
27262726GAME( 1988, ws,       0,        ns1,     ns1,      ws,       ROT180, "Namco", "World Stadium (Japan)", 0 )
27272727GAME( 1988, berabohm, 0,        ns1,     berabohm, berabohm, ROT180, "Namco", "Beraboh Man (Japan version C)", 0 )
2728GAME( 1988, beraboho, berabohm, ns1,     berabohm, berabohm, ROT180, "Namco", "Beraboh Man (Japan version B)", 0 )
2728GAME( 1988, berabohmo,berabohm, ns1,     berabohm, berabohm, ROT180, "Namco", "Beraboh Man (Japan version B)", 0 )
27292729GAME( 1988, mmaze,    0,        ns1,     mmaze,    alice,    ROT180, "Namco", "Marchen Maze (Japan)", 0 )
27302730GAME( 1988, bakutotu, 0,        ns1,     bakutotu, bakutotu, ROT180, "Namco", "Bakutotsu Kijuutei", 0 )
27312731GAME( 1988, wldcourt, 0,        ns1,     wldcourt, wldcourt, ROT180, "Namco", "World Court (Japan)", 0 )
27322732GAME( 1988, splatter, 0,        ns1,     splatter, splatter, ROT180, "Namco", "Splatter House (World new version)", 0 )
2733GAME( 1988, splatteo, splatter, ns1,     splatter, splatter, ROT180, "Namco", "Splatter House (World old version)", 0 )
2734GAME( 1988, splattej, splatter, ns1,     splatter, splatter, ROT180, "Namco", "Splatter House (Japan)", 0 )
2733GAME( 1988, splattero,splatter, ns1,     splatter, splatter, ROT180, "Namco", "Splatter House (World old version)", 0 )
2734GAME( 1988, splatterj,splatter, ns1,     splatter, splatter, ROT180, "Namco", "Splatter House (Japan)", 0 )
27352735GAME( 1988, faceoff,  0,        ns1,     faceoff,  faceoff,  ROT180, "Namco", "Face Off (Japan)", 0 )
27362736GAME( 1989, rompers,  0,        ns1,     ns1,      rompers,  ROT90,  "Namco", "Rompers (Japan)", 0 )
27372737GAME( 1989, romperso, rompers,  ns1,     ns1,      rompers,  ROT90,  "Namco", "Rompers (Japan old version)", 0 )
r5338r5339
27442744GAME( 1990, soukobdx, boxyboy,  ns1,     boxyboy,  soukobdx, ROT0,   "Namco", "Souko Ban Deluxe (Japan)", 0 )
27452745GAME( 1990, puzlclub, 0,        ns1,     puzlclub, puzlclub, ROT90,  "Namco", "Puzzle Club (Japan prototype)", 0 )
27462746GAME( 1991, tankfrce, 0,        ns1,     ns1,      tankfrce, ROT0,   "Namco", "Tank Force (US, 2 Player)", 0 )
2747GAME( 1991, tankfrc4, tankfrce, ns1,     tankfrc4, tankfrc4, ROT0,   "Namco", "Tank Force (US, 4 Player)", 0 )
2748GAME( 1991, tankfrcj, tankfrce, ns1,     ns1,      tankfrce, ROT0,   "Namco", "Tank Force (Japan)", 0 )
2747GAME( 1991, tankfrce4,tankfrce, ns1,     tankfrc4, tankfrc4, ROT0,   "Namco", "Tank Force (US, 4 Player)", 0 )
2748GAME( 1991, tankfrcej,tankfrce, ns1,     ns1,      tankfrce, ROT0,   "Namco", "Tank Force (Japan)", 0 )
src/mame/drivers/galdrvr.c
r5338r5339
23382338   ROM_LOAD( "6l.bpr",       0x0000, 0x0020, CRC(c3ac9467) SHA1(f382ad5a34d282056c78a5ec00c30ec43772bae2) )
23392339ROM_END
23402340
2341ROM_START( galaxiaj )
2341ROM_START( galaxiana )
23422342   ROM_REGION( 0x4000, "maincpu", 0 )
23432343   ROM_LOAD( "7f.bin",       0x0000, 0x1000, CRC(4335b1de) SHA1(e41e3d90dac738cf71377f3b476ec67b14dee27a) )
23442344   ROM_LOAD( "7j.bin",       0x1000, 0x1000, CRC(4e6f66a1) SHA1(ee2a675ab34485c0f58c51be7630a51e27a7a8f3) )
r5338r5339
23522352   ROM_LOAD( "6l.bpr",       0x0000, 0x0020, CRC(c3ac9467) SHA1(f382ad5a34d282056c78a5ec00c30ec43772bae2) )
23532353ROM_END
23542354
2355ROM_START( galmidw )
2355ROM_START( galaxianm )
23562356   ROM_REGION( 0x4000, "maincpu", 0 )
23572357   ROM_LOAD( "galmidw.u",    0x0000, 0x0800, CRC(745e2d61) SHA1(e65f74e35b1bfaccd407e168ea55678ae9b68edf) )
23582358   ROM_LOAD( "galmidw.v",    0x0800, 0x0800, CRC(9c999a40) SHA1(02fdcd95d8511e64c0d2b007b874112d53e41045) )
r5338r5339
23682368   ROM_LOAD( "6l.bpr",       0x0000, 0x0020, CRC(c3ac9467) SHA1(f382ad5a34d282056c78a5ec00c30ec43772bae2) )
23692369ROM_END
23702370
2371ROM_START( galmidwo )
2371ROM_START( galaxianmo )
23722372   ROM_REGION( 0x4000, "maincpu", 0 )
23732373   ROM_LOAD( "galaxian.u",   0x0000, 0x0800, CRC(fac42d34) SHA1(0b96d9f1c6bf0e0b7f757dcbaeacfbfafefc54d1) )
23742374   ROM_LOAD( "galaxian.v",   0x0800, 0x0800, CRC(f58283e3) SHA1(edc6e72516c50fd3402281d9936574d276581ce9) )
r5338r5339
23842384   ROM_LOAD( "6l.bpr",       0x0000, 0x0020, CRC(c3ac9467) SHA1(f382ad5a34d282056c78a5ec00c30ec43772bae2) )
23852385ROM_END
23862386
2387ROM_START( galtaito )
2387ROM_START( galaxiant )
23882388   ROM_REGION( 0x4000, "maincpu", 0 )
23892389   ROM_LOAD( "gl-03.8g",  0x0000, 0x0800, CRC(e8f3aa67) SHA1(a0e9576784dbe602dd9780e667f01f31defd7c00) ) /* All eprom are HN462716 eproms */
23902390   ROM_LOAD( "gl-04.8f",  0x0800, 0x0800, CRC(f58283e3) SHA1(edc6e72516c50fd3402281d9936574d276581ce9) )
r5338r5339
25702570   ROM_LOAD( "6l.bpr",       0x0000, 0x0020, CRC(c3ac9467) SHA1(f382ad5a34d282056c78a5ec00c30ec43772bae2) )
25712571ROM_END
25722572
2573ROM_START( kamakazi3 ) /* Hack of Video Games (UK) Ltd. version???? flyer spells it Kamakaze III, also no year or (c) */
2574   ROM_REGION( 0x4000, "maincpu", 0 )
2575   ROM_LOAD( "f_r_a.bin",    0x0000, 0x0800, CRC(e8f3aa67) SHA1(a0e9576784dbe602dd9780e667f01f31defd7c00) )
2576   ROM_LOAD( "f_a.bin",      0x0800, 0x0800, CRC(f58283e3) SHA1(edc6e72516c50fd3402281d9936574d276581ce9) )
2577   ROM_LOAD( "f_b.bin",      0x1000, 0x0800, CRC(ddeabdae) SHA1(daa5109a32c7c9a80bdb212dc3e4e3e3c104a731) )
2578   ROM_LOAD( "f_r_c.bin",    0x1800, 0x0800, CRC(c8530a88) SHA1(b8856af80cdae7430c05239875bffdc5d67aab98) )
2579   ROM_LOAD( "f_r_d.bin",    0x2000, 0x0800, CRC(da2d77e0) SHA1(aa96fb8c6401c443b7e767f6d08713bf9e1af103) )
2580
2581   ROM_REGION( 0x1000, "gfx1", 0 )
2582   ROM_LOAD( "r_b.bin",      0x0000, 0x0800, CRC(977e37cf) SHA1(88ff1e4edadf5cfc83413a1fe999aecf4ba72232) )
2583   ROM_LOAD( "r_a.bin",      0x0800, 0x0800, CRC(d0ba22c9) SHA1(678b22d10e1ae7dcea068da838bf6bd648e9ee28) )
2584
2585   ROM_REGION( 0x0020, "proms", 0 )
2586   ROM_LOAD( "6l.bpr",       0x0000, 0x0020, CRC(c3ac9467) SHA1(f382ad5a34d282056c78a5ec00c30ec43772bae2) )
2587ROM_END
2588
25732589ROM_START( supergx )
25742590   ROM_REGION( 0x10000, "maincpu", 0 )
25752591   ROM_LOAD( "sg1",          0x0000, 0x0800, CRC(b83f4578) SHA1(9a5d5fc291839f7f1e0a52cca7bea29e99c13315) )
r5338r5339
25912607
25922608ROM_START( tst_galx )
25932609   ROM_REGION( 0x4000, "maincpu", 0 )
2594   ROM_LOAD( "test.u",    0x0000, 0x0800, CRC(0614cd7f) SHA1(12440678be8a27a6c3032b6e43c45e27905ffa83) )   /*  The Test ROM */
2610   ROM_LOAD( "test.u",       0x0000, 0x0800, CRC(0614cd7f) SHA1(12440678be8a27a6c3032b6e43c45e27905ffa83) )   /*  The Test ROM */
25952611   ROM_LOAD( "galmidw.v",    0x0800, 0x0800, CRC(9c999a40) SHA1(02fdcd95d8511e64c0d2b007b874112d53e41045) )
25962612   ROM_LOAD( "galmidw.w",    0x1000, 0x0800, CRC(b5894925) SHA1(0046b9ed697a34d088de1aead8bd7cbe526a2396) )
25972613   ROM_LOAD( "galmidw.y",    0x1800, 0x0800, CRC(6b3ca10b) SHA1(18d8714e5ef52f63ba8888ecc5a25b17b3bf17d1) )
r5338r5339
31813197   ROM_LOAD( "mmi6331.6l", 0x0000, 0x0020, CRC(6a0c7d87) SHA1(140335d85c67c75b65689d4e76d29863c209cf32) ) /* Compatible with 82s123 prom */
31823198ROM_END
31833199
3184ROM_START( mooncrsu )
3200ROM_START( mooncrstu )
31853201   ROM_REGION( 0x8000, "maincpu", 0 )
31863202   ROM_LOAD( "smc1f",        0x0000, 0x0800, CRC(389ca0d6) SHA1(51cf6d190a0ebf23b70c2bcf1ccaa4705e29cd09) )
31873203   ROM_LOAD( "smc2f",        0x0800, 0x0800, CRC(410ab430) SHA1(d89abff6ac4afbf69377a1d63043d629a634aab7) )
r5338r5339
32023218   ROM_LOAD( "mmi6331.6l", 0x0000, 0x0020, CRC(6a0c7d87) SHA1(140335d85c67c75b65689d4e76d29863c209cf32) ) /* Compatible with 82s123 prom */
32033219ROM_END
32043220
3205ROM_START( mooncrsa )
3221ROM_START( mooncrsto )
32063222   ROM_REGION( 0x8000, "maincpu", 0 )
32073223   ROM_LOAD( "mc1.7d",       0x0000, 0x0800, CRC(92a86aac) SHA1(f5818ac97d8b779e1fb29bf903f74185d24afb0d) )
32083224   ROM_LOAD( "mc2.7e",       0x0800, 0x0800, CRC(438c2b4b) SHA1(11f56b489b5489999952e91919c5e1f622c59c36) )
r5338r5339
32233239   ROM_LOAD( "mmi6331.6l", 0x0000, 0x0020, CRC(6a0c7d87) SHA1(140335d85c67c75b65689d4e76d29863c209cf32) ) /* Compatible with 82s123 prom */
32243240ROM_END
32253241
3226ROM_START( mooncrsg )
3242ROM_START( mooncrstg )
32273243   ROM_REGION( 0x8000, "maincpu", 0 )
32283244   ROM_LOAD( "epr194",       0x0000, 0x0800, CRC(0e5582b1) SHA1(946ad4aeb10c0b7b3f93fd24925cc9bcb49e443c) )
32293245   ROM_LOAD( "epr195",       0x0800, 0x0800, CRC(12cb201b) SHA1(ebb01ec646b9e015cbcb93f70dfdaf448afefc12) )
r5338r5339
37303746   ROM_LOAD( "checkman.clr", 0x0000, 0x0020, CRC(57a45057) SHA1(d4ec6a54f72640e5b485aa59e206c090e67ff640) )
37313747ROM_END
37323748
3733ROM_START( checkmaj )
3749ROM_START( checkmanj )
37343750   ROM_REGION( 0x10000, "maincpu", 0 )
37353751   ROM_LOAD( "cm_1.bin",     0x0000, 0x1000, CRC(456a118f) SHA1(7c2e8343360f446af4391012784a1ccfecae3299) )
37363752   ROM_LOAD( "cm_2.bin",     0x1000, 0x1000, CRC(146b2c44) SHA1(80455396a9b1802fcefaec1340b76461c0601bf9) )
r5338r5339
38053821   ROM_LOAD( "my06",         0x1000, 0x1000, CRC(466415f2) SHA1(a05f8238cdcebe926a564ef6268b3cd677987fa2) )
38063822ROM_END
38073823
3808ROM_START( mshuttlj )
3824ROM_START( mshuttlej )
38093825   ROM_REGION( 2*0x10000, "maincpu", 0 )   /* 64k for code + 64k for decrypted opcodes */
38103826   ROM_LOAD( "mcs.5",        0x0000, 0x1000, CRC(a5a292b4) SHA1(b4e9d969c762f4114eba88051917df122fc7181f) )
38113827   ROM_LOAD( "mcs.4",        0x1000, 0x1000, CRC(acdc0f9e) SHA1(8cd6d6566fe3f4090ccb625c3c1e5850a371826f) )
r5338r5339
38283844   ROM_LOAD( "my06.4r",      0x1000, 0x1000, CRC(4162be4d) SHA1(84fa8651796e498a37893ea90ef51b274c70e568) )
38293845ROM_END
38303846
3831ROM_START( mshutlj2 )
3847ROM_START( mshuttlej2 )
38323848   ROM_REGION( 2*0x10000, "maincpu", 0 )   /* 64k for code + 64k for decrypted opcodes */
38333849   ROM_LOAD( "ali5.bin",     0x0000, 0x1000, CRC(320fe630) SHA1(df4fe25989783c8851f41c9b4b63dedfa365c1e9) )
38343850   ROM_LOAD( "mcs.4",        0x1000, 0x1000, CRC(acdc0f9e) SHA1(8cd6d6566fe3f4090ccb625c3c1e5850a371826f) )
r5338r5339
38743890   ROM_LOAD( "kb2-1",        0x0000, 0x0020, CRC(15dd5b16) SHA1(3d2ca2b42bf508a9e5198e970abcbbedf5729164) )
38753891ROM_END
38763892
3877ROM_START( kingbalj )
3893ROM_START( kingballj )
38783894   ROM_REGION( 0x10000, "maincpu", 0 )
38793895   ROM_LOAD( "prg1.7f",      0x0000, 0x1000, CRC(6cb49046) SHA1(a0891605dff7f9ff51bc7ad85f831a749f2f61e9) )
38803896   ROM_LOAD( "prg2.7j",      0x1000, 0x1000, CRC(c223b416) SHA1(ca2d9f6b8ef6db4f382089161f4147d9828c3554) )
r5338r5339
39243940   ROM_LOAD( "pr-91.6l",     0x0000, 0x0020, CRC(413703bf) SHA1(66648b2b28d3dcbda5bdb2605d1977428939dd3c) )
39253941ROM_END
39263942
3927ROM_START( frogseg1 )
3943ROM_START( froggers1 )
39283944   ROM_REGION( 0x10000, "maincpu", 0 )
39293945   ROM_LOAD( "frogger.26",   0x0000, 0x1000, CRC(597696d6) SHA1(e7e021776cad00f095a1ebbef407b7c0a8f5d835) )
39303946   ROM_LOAD( "frogger.27",   0x1000, 0x1000, CRC(b6e6fcc3) SHA1(5e8692f2b0c7f4b3642b3ee6670e1c3b20029cdc) )
r5338r5339
39433959   ROM_LOAD( "pr-91.6l",     0x0000, 0x0020, CRC(413703bf) SHA1(66648b2b28d3dcbda5bdb2605d1977428939dd3c) )
39443960ROM_END
39453961
3946ROM_START( frogseg2 )
3962ROM_START( froggers2 )
39473963   ROM_REGION( 0x10000, "maincpu", 0 )
39483964   ROM_LOAD( "frogger.ic5",  0x0000, 0x1000, CRC(efab0c79) SHA1(68c99b6cdcb9396bb473739a62ffc009b4bf57d5) )
39493965   ROM_LOAD( "frogger.ic6",  0x1000, 0x1000, CRC(aeca9c13) SHA1(cdf560adbd7f2813e86e378da7781cccf7928a44) )
r5338r5339
39633979   ROM_LOAD( "pr-91.6l",     0x0000, 0x0020, CRC(413703bf) SHA1(66648b2b28d3dcbda5bdb2605d1977428939dd3c) )
39643980ROM_END
39653981
3966ROM_START( froggrmc )
3982ROM_START( froggermc )
39673983   ROM_REGION( 0x10000, "maincpu", 0 )
39683984   ROM_LOAD( "epr-1031.15",  0x0000, 0x1000, CRC(4b7c8d11) SHA1(9200b33cac0ef5a6647c95ebd25237fa62fcdf30) )
39693985   ROM_LOAD( "epr-1032.16",  0x1000, 0x1000, CRC(ac00b9d9) SHA1(6414d2aa2c0ccb8cb567ffde3acdb693cfd28dbb) )
r5338r5339
42914307   ROM_LOAD( "c01s.6e",    0x0000, 0x0020, CRC(4e3caeab) SHA1(a25083c3e36d28afdefe4af6e6d4f3155e303625) )
42924308ROM_END
42934309
4294ROM_START( scrambls )
4310ROM_START( scrambles )
42954311   ROM_REGION( 0x10000, "maincpu", 0 )
42964312   ROM_LOAD( "2d",           0x0000, 0x0800, CRC(b89207a1) SHA1(5422df979e82bcc73df49f50515fe76c126c037b) )
42974313   ROM_LOAD( "2e",           0x0800, 0x0800, CRC(e9b4b9eb) SHA1(a8ee9ddfadf5e9accedfaf81da757a88a2e55a0a) )
r5338r5339
43814397   ROM_LOAD( "c01s.6e",    0x0000, 0x0020, CRC(4e3caeab) SHA1(a25083c3e36d28afdefe4af6e6d4f3155e303625) )
43824398ROM_END
43834399
4384ROM_START( atlants2 )
4400ROM_START( atlantis2 )
43854401   ROM_REGION( 0x10000, "maincpu", 0 )
43864402   ROM_LOAD( "rom1",         0x0000, 0x0800, CRC(ad348089) SHA1(3548b94192c451c0126e7aaecefa7137ae074cd3) )
43874403   ROM_LOAD( "rom2",         0x0800, 0x0800, CRC(caa705d1) SHA1(b4aefbea21fa9608e1dae2a09ae0d31270eb8c78) )
r5338r5339
44324448   ROM_LOAD( "prom.6e",      0x0000, 0x0020, CRC(4e3caeab) SHA1(a25083c3e36d28afdefe4af6e6d4f3155e303625) )
44334449ROM_END
44344450
4435ROM_START( scrpiona )
4451ROM_START( scorpiona )
44364452   /* this dump is bad (at least one rom) */
44374453   ROM_REGION( 0x10000, "maincpu", 0 )
44384454   ROM_LOAD( "scor_d2.bin",  0x0000, 0x1000, BAD_DUMP CRC(c5b9daeb) SHA1(faf7a22013dd5f063eb8f506f3722cfd5522539a) )
r5338r5339
44594475   ROM_LOAD( "prom.6e",      0x0000, 0x0020, CRC(4e3caeab) SHA1(a25083c3e36d28afdefe4af6e6d4f3155e303625) )
44604476ROM_END
44614477
4462ROM_START( scrpionb )
4478ROM_START( scorpionb )
44634479   ROM_REGION( 0x10000, "maincpu", 0 )
44644480   ROM_LOAD( "ic109.2d",         0x0000, 0x1000, CRC(f54688c9) SHA1(2881d5238733353b9c277a2829d157688a87601b) )
44654481   ROM_LOAD( "ic110.2e",         0x1000, 0x1000, CRC(91aaaa12) SHA1(2a5e5eb5aeec5637ee4675930f67158a969e0d5d) )
r5338r5339
44854501   ROM_LOAD( "prom.6e",      0x0000, 0x0020, CRC(4e3caeab) SHA1(a25083c3e36d28afdefe4af6e6d4f3155e303625) )
44864502ROM_END
44874503
4488ROM_START( scorpnmc )
4504ROM_START( scorpionmc )
44894505   ROM_REGION( 0x10000, "maincpu", 0 )
44904506   ROM_LOAD( "p1.bin",       0x0000, 0x0800, CRC(58818d88) SHA1(d9fbfb6fff9ba1d078c3735889b8878ab0442ded) )
44914507   ROM_LOAD( "p2.bin",       0x0800, 0x0800, CRC(8bec5f9f) SHA1(78642124edbf946140f62985bafe2dca314cb257) )
r5338r5339
47554771   ROM_LOAD( "ltprom",       0x0000, 0x0020, CRC(1108b816) SHA1(49fdb08f8f31fefa2f3dca3d3455318cb21847a3) )
47564772ROM_END
47574773
4758ROM_START( losttmbh )
4774ROM_START( losttombh )
47594775   ROM_REGION( 0x10000, "maincpu", 0 )
47604776   ROM_LOAD( "2c",           0x0000, 0x1000, CRC(d6176d2c) SHA1(bc2bf63ee8d3e376f155d218704ceb5adcdf8e54) )
47614777   ROM_LOAD( "2e",           0x1000, 0x1000, CRC(a5f55f4a) SHA1(3609fc2b15b6856e81738bbd370250735dba694d) )
r5338r5339
47984814   ROM_LOAD( "82s123.6e",    0x0000, 0x0020, CRC(9b87f90d) SHA1(d11ac5e4a6057301ea2a9cbb404c2b978eb4c1dc) )
47994815ROM_END
48004816
4801ROM_START( armorca2 )
4817ROM_START( armorcar2 )
48024818   ROM_REGION( 0x10000, "maincpu", 0 )
48034819   ROM_LOAD( "2c",           0x0000, 0x1000, CRC(e393bd2f) SHA1(6a5079d1f5d724e5f643cbc5352fc43d0b652e05) )
48044820   ROM_LOAD( "2e",           0x1000, 0x1000, CRC(b7d443af) SHA1(1ce41e11a7fcfd039fbff03c4382ae29b601ed50) )
r5338r5339
49754991 *************************************/
49764992
49774993/* basic galaxian hardware */
4978GAME( 1979, galaxian, 0,        galaxian, galaxian, galaxian, ROT90,  "Namco", "Galaxian (Namco set 1)", GAME_SUPPORTS_SAVE )
4979GAME( 1979, galaxiaj, galaxian, galaxian, superg,   galaxian, ROT90,  "Namco", "Galaxian (Namco set 2)", GAME_SUPPORTS_SAVE )
4980GAME( 1979, galmidw,  galaxian, galaxian, galaxian, galaxian, ROT90,  "[Namco] (Midway license)", "Galaxian (Midway set 1)", GAME_SUPPORTS_SAVE )
4981GAME( 1979, galmidwo, galaxian, galaxian, galaxian, galaxian, ROT90,  "[Namco] (Midway license)", "Galaxian (Midway set 2)", GAME_SUPPORTS_SAVE )
4982GAME( 1979, galtaito, galaxian, galaxian, galtaito, galaxian, ROT90,  "[Namco] (Taito license)", "Galaxian (Taito)", GAME_SUPPORTS_SAVE )
4994GAME( 1979, galaxian,   0,        galaxian, galaxian, galaxian, ROT90,  "Namco", "Galaxian (Namco set 1)", GAME_SUPPORTS_SAVE )
4995GAME( 1979, galaxiana,  galaxian, galaxian, superg,   galaxian, ROT90,  "Namco", "Galaxian (Namco set 2)", GAME_SUPPORTS_SAVE )
4996GAME( 1979, galaxianm,  galaxian, galaxian, galaxian, galaxian, ROT90,  "[Namco] (Midway license)", "Galaxian (Midway set 1)", GAME_SUPPORTS_SAVE )
4997GAME( 1979, galaxianmo, galaxian, galaxian, galaxian, galaxian, ROT90,  "[Namco] (Midway license)", "Galaxian (Midway set 2)", GAME_SUPPORTS_SAVE )
4998GAME( 1979, galaxiant,  galaxian, galaxian, galtaito, galaxian, ROT90,  "[Namco] (Taito license)", "Galaxian (Taito)", GAME_SUPPORTS_SAVE )
49834999
49845000/* straight Galaxian ripoffs on basic galaxian hardware */
49855001GAME( 1979, moonaln,  galaxian, galaxian, superg,   galaxian, ROT90,  "[Nichibutsu] (Karateco license)", "Moon Alien", GAME_SUPPORTS_SAVE )
r5338r5339
49925008GAME( 1979, zerotime, galaxian, galaxian, zerotime, galaxian, ROT90,  "Petaco S.A.", "Zero Time", GAME_SUPPORTS_SAVE )
49935009GAME( 1979, starfght, galaxian, galaxian, swarm,    galaxian, ROT90,  "Jeutel", "Star Fighter", GAME_SUPPORTS_SAVE )
49945010GAME( 1979, galaxbsf, galaxian, galaxian, galaxian, galaxian, ROT90,  "bootleg", "Galaxian (bootleg)", GAME_SUPPORTS_SAVE )
5011GAME( 1979, kamakazi3,galaxian, galaxian, galaxian, galaxian, ROT90,  "Video Games (UK) Ltd.", "Kamakazi III", GAME_SUPPORTS_SAVE )
49955012GAME( 1980, supergx,  galaxian, galaxian, superg,   galaxian, ROT90,  "Nichibutsu", "Super GX", GAME_NOT_WORKING | GAME_WRONG_COLORS | GAME_SUPPORTS_SAVE )
49965013GAME( 19??, tst_galx, galaxian, galaxian, galaxian, galaxian, ROT90,  "Test ROM", "Galaxian Test ROM", GAME_SUPPORTS_SAVE )
49975014
r5338r5339
49995016GAME( 1981, blkhole,  0,        galaxian, blkhole,  galaxian, ROT90,  "TDS", "Black Hole", GAME_SUPPORTS_SAVE )
50005017GAME( 1982, orbitron, 0,        galaxian, orbitron, galaxian, ROT270, "Signatron USA", "Orbitron", GAME_SUPPORTS_SAVE )
50015018GAME( 1980, luctoday, 0,        galaxian, luctoday, galaxian, ROT270, "Sigma", "Lucky Today",GAME_WRONG_COLORS | GAME_SUPPORTS_SAVE )
5002GAME( 19??, chewing,  luctoday, galaxian, luctoday, galaxian, ROT90,  "unknown", "Chewing Gum", GAME_SUPPORTS_SAVE )
5019GAME( 19??, chewing,  luctoday, galaxian, luctoday, galaxian, ROT90,  "<unknown>", "Chewing Gum", GAME_SUPPORTS_SAVE )
50035020GAME( 1982, catacomb, 0,        galaxian, catacomb, galaxian, ROT90,  "MTM Games", "Catacomb", GAME_WRONG_COLORS | GAME_SUPPORTS_SAVE )
50045021GAME( 19??, omega,    theend,   galaxian, omega,    galaxian, ROT270, "bootleg?", "Omega", GAME_SUPPORTS_SAVE )
50055022
r5338r5339
50505067 *************************************/
50515068
50525069/* based on Galaxian, but with altered address map for more ROM */
5053GAME( 1980, mooncrst, 0,        mooncrst, mooncrst, mooncrst, ROT90,  "Nichibutsu", "Moon Cresta (Nichibutsu)", GAME_SUPPORTS_SAVE )
5054GAME( 1980, mooncrsu, mooncrst, mooncrst, mooncrst, mooncrsu, ROT90,  "Nichibutsu USA", "Moon Cresta (Nichibutsu, unencrypted)", GAME_SUPPORTS_SAVE )
5055GAME( 1980, mooncrsa, mooncrst, mooncrst, mooncrsa, mooncrst, ROT90,  "Nichibutsu", "Moon Cresta (Nichibutsu, old rev)", GAME_SUPPORTS_SAVE )
5056GAME( 1980, mooncrsg, mooncrst, mooncrst, mooncrsg, mooncrsu, ROT90,  "Gremlin", "Moon Cresta (Gremlin)", GAME_SUPPORTS_SAVE )
5070GAME( 1980, mooncrst,  0,        mooncrst, mooncrst, mooncrst, ROT90,  "Nichibutsu", "Moon Cresta (Nichibutsu)", GAME_SUPPORTS_SAVE )
5071GAME( 1980, mooncrstu, mooncrst, mooncrst, mooncrst, mooncrsu, ROT90,  "Nichibutsu USA", "Moon Cresta (Nichibutsu, unencrypted)", GAME_SUPPORTS_SAVE )
5072GAME( 1980, mooncrsto, mooncrst, mooncrst, mooncrsa, mooncrst, ROT90,  "Nichibutsu", "Moon Cresta (Nichibutsu, old rev)", GAME_SUPPORTS_SAVE )
5073GAME( 1980, mooncrstg, mooncrst, mooncrst, mooncrsg, mooncrsu, ROT90,  "Gremlin", "Moon Cresta (Gremlin)", GAME_SUPPORTS_SAVE )
50575074
50585075/* straight Moon Cresta ripoffs on basic mooncrst hardware */
50595076GAME( 1980, mooncrsb, mooncrst, mooncrst, mooncrsa, mooncrsu, ROT90,  "bootleg", "Moon Cresta (bootleg set 1)", GAME_SUPPORTS_SAVE )
5060GAME( 1980, mooncrs2, mooncrst, mooncrst, mooncrsa, mooncrsu, ROT90,  "Nichibutsu", "Moon Cresta (bootleg set 2)", GAME_SUPPORTS_SAVE )
5077GAME( 1980, mooncrs2, mooncrst, mooncrst, mooncrsa, mooncrsu, ROT90,  "bootleg", "Moon Cresta (bootleg set 2)", GAME_SUPPORTS_SAVE )
50615078GAME( 1980, mooncrs3, mooncrst, mooncrst, mooncrst, mooncrsu, ROT90,  "bootleg", "Moon Cresta (bootleg set 3)", GAME_SUPPORTS_SAVE ) /* Jeutel bootleg, similar to bootleg set 2 */
50625079GAME( 1980, fantazia, mooncrst, mooncrst, fantazia, mooncrsu, ROT90,  "Subelectro", "Fantazia (bootleg?)", GAME_SUPPORTS_SAVE )
50635080GAME( 1980, eagle,    mooncrst, mooncrst, mooncrsa, mooncrsu, ROT90,  "Centuri", "Eagle (set 1)", GAME_SUPPORTS_SAVE )
r5338r5339
50785095GAME( 1982, skybase,  0,        mooncrst, skybase,  skybase,  ROT90,  "Omori Electric Co., Ltd.", "Sky Base", GAME_SUPPORTS_SAVE )
50795096
50805097/* extra ROMs, protection, and sound hardware replaced with AY8910 */
5081GAME( 1981, jumpbug,  0,        jumpbug,  jumpbug,  jumpbug,  ROT90,  "Rock-ola", "Jump Bug", GAME_SUPPORTS_SAVE )
5098GAME( 1981, jumpbug,  0,        jumpbug,  jumpbug,  jumpbug,  ROT90,  "[Sega] (Rock-ola license)", "Jump Bug", GAME_SUPPORTS_SAVE )
50825099GAME( 1981, jumpbugb, jumpbug,  jumpbug,  jumpbug,  jumpbug,  ROT90,  "bootleg", "Jump Bug (bootleg)", GAME_SUPPORTS_SAVE )
50835100GAME( 1983, levers,   0,        jumpbug,  levers,   jumpbug,  ROT90,  "Rock-ola", "Levers", GAME_SUPPORTS_SAVE )
50845101
50855102/* 2nd CPU driving AY8910 for sound */
50865103GAME( 1982, checkman, 0,        checkman, checkman, checkman, ROT90,  "Zilec-Zenitone", "Check Man", GAME_SUPPORTS_SAVE )
5087GAME( 1982, checkmaj, checkman, checkmaj, checkmaj, checkmaj, ROT90,  "Jaleco", "Check Man (Japan)", GAME_SUPPORTS_SAVE )
5104GAME( 1982, checkmanj,checkman, checkmaj, checkmaj, checkmaj, ROT90,  "Jaleco", "Check Man (Japan)", GAME_SUPPORTS_SAVE )
50885105GAME( 1983, dingo,    0,        checkmaj, dingo,    dingo,    ROT90,  "Ashby Computers and Graphics LTD. (Jaleco license)", "Dingo", GAME_SUPPORTS_SAVE )
50895106GAME( 1983, dingoe,   dingo,    checkman, dingo,    dingoe,   ROT90,  "Ashby Computers and Graphics LTD.", "Dingo (encrypted)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
50905107
50915108/* Crazy Climber sound plus AY8910 instead of galaxian sound, plus INT instead of NMI */
5092GAME( 1981, mshuttle, 0,        mshuttle, mshuttle, mshuttle, ROT0,   "Nichibutsu", "Moon Shuttle (US?)", GAME_SUPPORTS_SAVE )
5093GAME( 1981, mshuttlj, mshuttle, mshuttle, mshuttle, mshuttlj, ROT0,   "Nichibutsu", "Moon Shuttle (Japan)", GAME_SUPPORTS_SAVE )
5094GAME( 1981, mshutlj2, mshuttle, mshuttle, mshuttle, mshuttlj, ROT0,   "Nichibutsu", "Moon Shuttle (Japan set 2)", GAME_SUPPORTS_SAVE )
5109GAME( 1981, mshuttle,  0,        mshuttle, mshuttle, mshuttle, ROT0,   "Nichibutsu", "Moon Shuttle (US?)", GAME_SUPPORTS_SAVE )
5110GAME( 1981, mshuttlej, mshuttle, mshuttle, mshuttle, mshuttlj, ROT0,   "Nichibutsu", "Moon Shuttle (Japan)", GAME_SUPPORTS_SAVE )
5111GAME( 1981, mshuttlej2,mshuttle, mshuttle, mshuttle, mshuttlj, ROT0,   "Nichibutsu", "Moon Shuttle (Japan set 2)", GAME_SUPPORTS_SAVE )
50955112
50965113/* 2nd CPU driving DAC for sound */
50975114GAME( 1980, kingball, 0,        kingball, kingball, kingball, ROT90,  "Namco", "King & Balloon (US)", GAME_SUPPORTS_SAVE )
5098GAME( 1980, kingbalj, kingball, kingball, kingball, kingball, ROT90,  "Namco", "King & Balloon (Japan)", GAME_SUPPORTS_SAVE )
5115GAME( 1980, kingballj,kingball, kingball, kingball, kingball, ROT90,  "Namco", "King & Balloon (Japan)", GAME_SUPPORTS_SAVE )
50995116
51005117
51015118
r5338r5339
51085125
51095126/* Frogger based hardware: 2nd Z80, AY-8910A, 2 8255 PPI for I/O, custom background */
51105127GAME( 1981, frogger,  0,        frogger,  frogger,  frogger,  ROT90,  "Konami", "Frogger", GAME_SUPPORTS_SAVE )
5111GAME( 1981, frogseg1, frogger,  frogger,  frogger,  frogger,  ROT90,  "[Konami] (Sega license)", "Frogger (Sega set 1)", GAME_SUPPORTS_SAVE )
5112GAME( 1981, frogseg2, frogger,  frogger,  frogger,  frogger,  ROT90,  "[Konami] (Sega license)", "Frogger (Sega set 2)", GAME_SUPPORTS_SAVE )
5113GAME( 1981, froggrmc, frogger,  froggrmc, froggrmc, froggrmc, ROT90,  "[Konami] (Sega license)", "Frogger (Moon Cresta hardware)", GAME_SUPPORTS_SAVE )
5128GAME( 1981, froggers1, frogger, frogger,  frogger,  frogger,  ROT90,  "[Konami] (Sega license)", "Frogger (Sega set 1)", GAME_SUPPORTS_SAVE )
5129GAME( 1981, froggers2, frogger, frogger,  frogger,  frogger,  ROT90,  "[Konami] (Sega license)", "Frogger (Sega set 2)", GAME_SUPPORTS_SAVE )
5130GAME( 1981, froggermc, frogger, froggrmc, froggrmc, froggrmc, ROT90,  "[Konami] (Sega license)", "Frogger (Moon Cresta hardware)", GAME_SUPPORTS_SAVE )
51145131GAME( 1981, froggers, frogger,  froggers, frogger,  froggers, ROT90,  "bootleg", "Frog", GAME_SUPPORTS_SAVE )
51155132GAME( 1981, frogf,    frogger,  frogf,    frogger,  froggers, ROT90,  "Falcon", "Frog (Falcon bootleg)", GAME_SUPPORTS_SAVE )
51165133GAME( 1981, frogg,    frogger,  galaxian, frogg,    frogg,    ROT90,  "bootleg", "Frog (Galaxian hardware)", GAME_SUPPORTS_SAVE )
r5338r5339
51395156GAME( 1980, theends,  theend,   theend,   theend,   theend,   ROT90,  "[Konami] (Stern license)", "The End (Stern)", GAME_SUPPORTS_SAVE )
51405157
51415158GAME( 1981, scramble, 0,        scramble, scramble, scramble, ROT90,  "Konami", "Scramble", GAME_SUPPORTS_SAVE )
5142GAME( 1981, scrambls, scramble, scramble, scramble, scramble, ROT90,  "[Konami] (Stern license)", "Scramble (Stern)", GAME_SUPPORTS_SAVE )
5159GAME( 1981, scrambles,scramble, scramble, scramble, scramble, ROT90,  "[Konami] (Stern license)", "Scramble (Stern)", GAME_SUPPORTS_SAVE )
51435160GAME( 1981, strfbomb, scramble, scramble, strfbomb, scramble, ROT90,  "Omni", "Strafe Bomb", GAME_SUPPORTS_SAVE )
51445161GAME( 1981, explorer, scramble, explorer, explorer, explorer, ROT90,  "bootleg", "Explorer", GAME_SUPPORTS_SAVE )
51455162
51465163GAME( 1981, atlantis, 0,        theend,   atlantis, atlantis, ROT90,  "Comsoft", "Battle of Atlantis (set 1)", GAME_SUPPORTS_SAVE )
5147GAME( 1981, atlants2, atlantis, theend,   atlantis, atlantis, ROT90,  "Comsoft", "Battle of Atlantis (set 2)", GAME_SUPPORTS_SAVE )
5164GAME( 1981, atlantis2,atlantis, theend,   atlantis, atlantis, ROT90,  "Comsoft", "Battle of Atlantis (set 2)", GAME_SUPPORTS_SAVE )
51485165
51495166/* Scorpion hardware; based on Scramble but with a 3rd AY-8910 and a speech chip */
51505167GAME( 1982, scorpion, 0,      scorpion, scorpion, scorpion, ROT90,  "Zaccaria", "Scorpion (set 1)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE)
5151GAME( 1982, scrpiona, scorpion, scorpion, scorpion, scorpion, ROT90,  "Zaccaria", "Scorpion (set 2)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE)
5152GAME( 1982, scrpionb, scorpion, scorpion, scorpion, scorpion, ROT90,  "Zaccaria", "Scorpion (set 3)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE)
5153GAME( 19??, scorpnmc, scorpion, mooncrst, scorpnmc, scorpnmc, ROT90,  "Dorneer",  "Scorpion (Moon Cresta hardware)", GAME_SUPPORTS_SAVE )
5168GAME( 1982, scorpiona,scorpion, scorpion, scorpion, scorpion, ROT90,  "Zaccaria", "Scorpion (set 2)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE)
5169GAME( 1982, scorpionb,scorpion, scorpion, scorpion, scorpion, ROT90,  "Zaccaria", "Scorpion (set 3)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE)
5170GAME( 19??, scorpionmc,scorpion, mooncrst, scorpnmc, scorpnmc, ROT90,  "Dorneer",  "Scorpion (Moon Cresta hardware)", GAME_SUPPORTS_SAVE )
51545171
51555172/* SF-X hardware; based on Scramble with extra Z80 and 8255 driving a DAC-based sample player */
51565173GAME( 1983, sfx,      0,        sfx,      sfx,      sfx,      ORIENTATION_FLIP_X, "Nichibutsu", "SF-X", GAME_SUPPORTS_SAVE )
r5338r5339
51665183GAME( 1981, suprheli, scobra,   scobra,   scobras,  scobra,   ROT90,  "bootleg", "Super Heli (Super Cobra bootleg)", GAME_SUPPORTS_SAVE )
51675184
51685185GAME( 1982, losttomb, 0,        scobra,   losttomb, losttomb, ROT90,  "Stern", "Lost Tomb (easy)", GAME_SUPPORTS_SAVE )
5169GAME( 1982, losttmbh, losttomb, scobra,   losttomb, losttomb, ROT90,  "Stern", "Lost Tomb (hard)", GAME_SUPPORTS_SAVE )
5186GAME( 1982, losttombh,losttomb, scobra,   losttomb, losttomb, ROT90,  "Stern", "Lost Tomb (hard)", GAME_SUPPORTS_SAVE )
51705187
51715188GAME( 1981, armorcar, 0,        scobra,   armorcar, scobra,   ROT90,  "Stern", "Armored Car (set 1)", GAME_SUPPORTS_SAVE )
5172GAME( 1981, armorca2, armorcar, scobra,   armorcar, scobra,   ROT90,  "Stern", "Armored Car (set 2)", GAME_SUPPORTS_SAVE )
5189GAME( 1981, armorcar2,armorcar, scobra,   armorcar, scobra,   ROT90,  "Stern", "Armored Car (set 2)", GAME_SUPPORTS_SAVE )
51735190
51745191GAME( 1982, tazmania, 0,        scobra,   tazmania, scobra,   ROT90,  "Stern", "Tazz-Mania (set 1)", GAME_SUPPORTS_SAVE )
51755192
src/mame/drivers/gundealr.c
r5338r5339
183183
184184static INPUT_PORTS_START( gundealr )
185185   PORT_START("DSW0")   /* DSW0 */
186   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
186   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:8") /* Listed in the manual as always OFF */
187187   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
188188   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
189   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
189   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:7") /* Listed in the manual as always OFF */
190190   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
191191   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
192   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )
192   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:6,5")
193193   PORT_DIPSETTING(    0x0c, DEF_STR( Easy ) )
194194   PORT_DIPSETTING(    0x08, DEF_STR( Medium ) )
195195   PORT_DIPSETTING(    0x04, DEF_STR( Hard ) )
196196   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
197   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )
197   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:4") /* Listed in the manual as always OFF */
198198   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
199199   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
200   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
200   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:3") /* Listed in the manual as always OFF */
201201   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
202202   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
203   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Cabinet ) )
203   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW1:2")
204204   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
205205   PORT_DIPSETTING(    0x40, DEF_STR( Cocktail ) )
206   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Flip_Screen ) )
206   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:1")
207207   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
208208   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
209209
210210   PORT_START("DSW1")   /* DSW1 */
211   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coin_A ) )
211   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW2:8,7,6")
212212   PORT_DIPSETTING(    0x00, DEF_STR( 5C_1C ) )
213213   PORT_DIPSETTING(    0x01, DEF_STR( 4C_1C ) )
214214   PORT_DIPSETTING(    0x02, DEF_STR( 3C_1C ) )
r5338r5339
217217   PORT_DIPSETTING(    0x06, DEF_STR( 1C_2C ) )
218218   PORT_DIPSETTING(    0x05, DEF_STR( 1C_3C ) )
219219   PORT_DIPSETTING(    0x04, DEF_STR( 1C_4C ) )
220   PORT_DIPNAME( 0x38, 0x38, DEF_STR( Coin_B ) )
220   PORT_DIPNAME( 0x38, 0x38, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW2:5,4,3")
221221   PORT_DIPSETTING(    0x00, DEF_STR( 5C_1C ) )
222222   PORT_DIPSETTING(    0x08, DEF_STR( 4C_1C ) )
223223   PORT_DIPSETTING(    0x10, DEF_STR( 3C_1C ) )
r5338r5339
226226   PORT_DIPSETTING(    0x30, DEF_STR( 1C_2C ) )
227227   PORT_DIPSETTING(    0x28, DEF_STR( 1C_3C ) )
228228   PORT_DIPSETTING(    0x20, DEF_STR( 1C_4C ) )
229   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Unknown ) )
229   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:2,1") /* Both switch 1 & 2 are listed in the manual as always OFF */
230230   PORT_DIPSETTING(    0x00, "0" )
231231   PORT_DIPSETTING(    0x40, "1" )
232232   PORT_DIPSETTING(    0x80, "2" )
r5338r5339
347347
348348static INPUT_PORTS_START( yamyam )
349349   PORT_START("DSW0")   /* DSW0 */
350   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
350   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:1,2")
351351   PORT_DIPSETTING(    0x00, "3" )
352352   PORT_DIPSETTING(    0x01, "4" )
353353   PORT_DIPSETTING(    0x02, "5" )
354354   PORT_DIPSETTING(    0x03, "6" )
355   PORT_DIPNAME( 0x0c, 0x00, "Difficulty?" )
355   PORT_DIPNAME( 0x0c, 0x00, "Difficulty?" )      PORT_DIPLOCATION("SW1:3,4")
356356   PORT_DIPSETTING(    0x00, "Easy?" )
357357   PORT_DIPSETTING(    0x04, "Medium?" )
358358   PORT_DIPSETTING(    0x08, "Hard?" )
359359   PORT_DIPSETTING(    0x0c, "Hardest?" )
360   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )
360   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:5")
361361   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
362362   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
363   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
363   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:6")
364364   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
365365   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
366   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) )
366   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW1:7")
367367   PORT_DIPSETTING(    0x40, DEF_STR( Upright ) )
368368   PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
369   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Flip_Screen ) )
369   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:8")
370370   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
371371   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
372372
373373   PORT_START("DSW1")   /* DSW1 */
374   PORT_DIPNAME( 0x07, 0x00, DEF_STR( Coin_A ) )
374   PORT_DIPNAME( 0x07, 0x00, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW2:1,2,3")
375375   PORT_DIPSETTING(    0x07, DEF_STR( 5C_1C ) )
376376   PORT_DIPSETTING(    0x06, DEF_STR( 4C_1C ) )
377377   PORT_DIPSETTING(    0x05, DEF_STR( 3C_1C ) )
r5338r5339
380380/*  PORT_DIPSETTING(    0x02, DEF_STR( 1C_1C ) ) */
381381/*  PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) ) */
382382   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
383   PORT_DIPNAME( 0x38, 0x00, DEF_STR( Coin_B ) )
383   PORT_DIPNAME( 0x38, 0x00, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW2:4,5,6")
384384   PORT_DIPSETTING(    0x38, DEF_STR( 5C_1C ) )
385385   PORT_DIPSETTING(    0x30, DEF_STR( 4C_1C ) )
386386   PORT_DIPSETTING(    0x28, DEF_STR( 3C_1C ) )
r5338r5339
389389/*  PORT_DIPSETTING(    0x10, DEF_STR( 1C_1C ) ) */
390390/*  PORT_DIPSETTING(    0x08, DEF_STR( 1C_1C ) ) */
391391   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
392   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Free_Play ) )
392   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Free_Play ) )   PORT_DIPLOCATION("SW2:7")
393393   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
394394   PORT_DIPSETTING(    0x40, DEF_STR( On ) )
395   PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
395   PORT_SERVICE_DIPLOC(   0x80, IP_ACTIVE_LOW, "SW2:8" )
396396
397397   PORT_START("IN0")   /* COIN */
398398   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
r5338r5339
508508   ROM_LOAD( "gundealr.2",   0x00000, 0x20000, CRC(7874ec41) SHA1(2d2ff013cc37ce5966aa4b6c6724234655196102) )
509509ROM_END
510510
511ROM_START( gundeala )
511ROM_START( gundealra )
512512   ROM_REGION( 0x30000, "maincpu", 0 )   /* 64k for code + 128k for banks */
513513   ROM_LOAD( "gundeala.1",   0x00000, 0x10000, CRC(d87e24f1) SHA1(5ac3e20e5848b9cab2a23e083d2566bfd54502d4) )
514514   ROM_RELOAD(               0x10000, 0x10000 )   /* banked at 0x8000-0xbfff */
r5338r5339
520520   ROM_LOAD( "gundeala.2",   0x00000, 0x20000, CRC(4b5fb53c) SHA1(3b73d9aeed334aece75f551f5b7f3cec0aedbfaa) )
521521ROM_END
522522
523ROM_START( gundealt )
523ROM_START( gundealrt )
524524   ROM_REGION( 0x30000, "maincpu", 0 )   /* 64k for code + 128k for banks */
525525   ROM_LOAD( "1.3j",         0x00000, 0x10000, CRC(1d951292) SHA1(a8bd34dfaf31c7dc4f9e0ec1fd7d4e10c5b29a85) )
526526   ROM_RELOAD(               0x10000, 0x10000 )   /* banked at 0x8000-0xbfff */
r5338r5339
572572
573573
574574
575GAME( 1990, gundealr, 0,        gundealr, gundealr, gundealr, ROT270, "Dooyong", "Gun Dealer (set 1)", 0 )
576GAME( 19??, gundeala, gundealr, gundealr, gundealr, gundealr, ROT270, "Dooyong", "Gun Dealer (set 2)", 0 )
577GAME( 1990, gundealt, gundealr, gundealr, gundealt, gundealr, ROT270, "Tecmo", "Gun Dealer (Tecmo)", 0 )
575GAME( 1990, gundealr, 0,        gundealr, gundealr, gundealr, ROT270, "Dooyong", "Gun Dealer", 0 )
576GAME( 19??, gundealra,gundealr, gundealr, gundealr, gundealr, ROT270, "Dooyong", "Gun Dealer (Alt Card Set)", 0 )
577GAME( 1990, gundealrt,gundealr, gundealr, gundealt, gundealr, ROT270, "Tecmo",   "Gun Dealer (Korea)", 0 )
578578GAME( 1990, yamyam,   0,        gundealr, yamyam,   yamyam,   ROT0,   "Dooyong", "Yam! Yam!?", 0 )
579579GAME( 1990, wiseguy,  yamyam,   gundealr, yamyam,   yamyam,   ROT0,   "Dooyong", "Wise Guy", 0 )
src/mame/drivers/mainevt.c
r5338r5339
237237   KONAMI8_B21_UNK(4)
238238
239239   PORT_START("DSW1")
240   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coinage ) )
240   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:1,2,3,4")
241241   PORT_DIPSETTING(    0x02, DEF_STR( 4C_1C ) )
242242   PORT_DIPSETTING(    0x05, DEF_STR( 3C_1C ) )
243243   PORT_DIPSETTING(    0x08, DEF_STR( 2C_1C ) )
r5338r5339
254254   PORT_DIPSETTING(    0x0b, DEF_STR( 1C_5C ) )
255255   PORT_DIPSETTING(    0x0a, DEF_STR( 1C_6C ) )
256256   PORT_DIPSETTING(    0x09, DEF_STR( 1C_7C ) )
257   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
258   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
259   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
260   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
261   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
262   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
263   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
264   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
265   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
266   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
267   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
268   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
257   PORT_DIPUNUSED_DIPLOC( 0x10, 0x10, "SW1:5" )      /* Listed as "Unused" */
258   PORT_DIPUNUSED_DIPLOC( 0x20, 0x20, "SW1:6" )      /* Listed as "Unused" */
259   PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW1:7" )      /* Listed as "Unused" */
260   PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW1:8" )      /* Listed as "Unused" */
269261
270262    PORT_START("DSW2")
271   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
272   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
273   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
274   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
275   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
276   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
277   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
278   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
279   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
280   PORT_DIPNAME( 0x18, 0x10, "Bonus Energy" )
263   PORT_DIPUNUSED_DIPLOC( 0x01, 0x01, "SW2:1" )      /* Listed as "Unused" */
264   PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW2:2" )      /* Listed as "Unused" */
265   PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "SW2:3" )      /* Listed as "Unused" */
266   PORT_DIPNAME( 0x18, 0x10, "Bonus Energy" )      PORT_DIPLOCATION("SW2:4,5")
281267   PORT_DIPSETTING(    0x00, "60" )
282268   PORT_DIPSETTING(    0x08, "70" )
283269   PORT_DIPSETTING(    0x10, "80" )
284270   PORT_DIPSETTING(    0x18, "90" )
285   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )
271   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
286272   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
287273   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
288274   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
289275   PORT_DIPSETTING(    0x00, DEF_STR( Very_Hard ) )
290   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
276   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
291277   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
292278   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
293279
294280   PORT_START("DSW3")
295   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )
281   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
296282   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
297283   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
298   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
299   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
300   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
301   PORT_SERVICE( 0x04, IP_ACTIVE_LOW )
302   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
303   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
304   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
284   PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW3:2" )      /* Listed as "Unused" */
285   PORT_SERVICE_DIPLOC(  0x04, IP_ACTIVE_LOW, "SW3:3" )
286   PORT_DIPUNUSED_DIPLOC( 0x08, 0x08, "SW3:4" )      /* Listed as "Unused" */
305287   PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
306288INPUT_PORTS_END
307289
r5338r5339
351333   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
352334
353335   PORT_MODIFY("DSW1")      /* like mainevt, but different 0x00 settings */
354   KONAMI_COINAGE(DEF_STR( Free_Play ), "Invalid")
336   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "Invalid", SW1)
355337   /* "Invalid" = both coin slots disabled */
356338
357339   PORT_MODIFY("DSW2")
358   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )
340   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
359341   PORT_DIPSETTING(    0x03, "2" )
360342   PORT_DIPSETTING(    0x02, "3" )
361343   PORT_DIPSETTING(    0x01, "5" )
362344   PORT_DIPSETTING(    0x00, "7" )
363   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
364   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
365   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
366   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )
345   PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "SW2:3" )      /* Listed as "Unused" */
346   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
367347   PORT_DIPSETTING(    0x18, "150 and every 200" )
368348   PORT_DIPSETTING(    0x10, "150 and every 250" )
369349   PORT_DIPSETTING(    0x08, "150 Only" )
r5338r5339
375355   PORT_INCLUDE( devstors )
376356
377357    PORT_MODIFY("DSW2")
378   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
358   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:3")
379359   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
380360   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
381361INPUT_PORTS_END
r5338r5339
543523
544524/* 2 players - English title screen - "Warning" message in the ROM (not displayed) */
545525
546ROM_START( mainev2p )
526ROM_START( mainevt2p )
547527   ROM_REGION( 0x40000, "maincpu", 0 )
548528   ROM_LOAD( "799x02.k11",   0x10000, 0x08000, CRC(42cfc650) SHA1(2d1918ebc0d93a2356ad995a6854dbde7c3b8daf) )
549529   ROM_CONTINUE(             0x08000, 0x08000 )
r5338r5339
627607    ROM_LOAD( "890f03.d4",  0x00000, 0x80000, CRC(19065031) SHA1(12c47fbe28f85fa2f901fe52601188a5e9633f22) )
628608ROM_END
629609
630ROM_START( devstor2 )
610ROM_START( devstors2 )
631611   ROM_REGION( 0x40000, "maincpu", 0 )
632612   ROM_LOAD( "890x02.k11",  0x10000, 0x08000, CRC(e58ebb35) SHA1(4253b6a7128534cc0866bc910a271d91ac8b40fd) )
633613   ROM_CONTINUE(            0x08000, 0x08000 )
r5338r5339
652632    ROM_LOAD( "890f03.d4",  0x00000, 0x80000, CRC(19065031) SHA1(12c47fbe28f85fa2f901fe52601188a5e9633f22) )
653633ROM_END
654634
655ROM_START( devstor3 )
635ROM_START( devstors3 )
656636   ROM_REGION( 0x40000, "maincpu", 0 )
657637   ROM_LOAD( "890k02.k11",   0x10000, 0x08000, CRC(52f4ccdd) SHA1(074e526ed170a5f2083c8c0808734291a2ea7403) )
658638   ROM_CONTINUE(             0x08000, 0x08000 )
r5338r5339
714694
715695GAME( 1988, mainevt,  0,        mainevt,  mainevt,  mainevt, ROT0,  "Konami", "The Main Event (4 Players ver. Y)", 0 )
716696GAME( 1988, mainevto, mainevt,  mainevt,  mainevt,  mainevt, ROT0,  "Konami", "The Main Event (4 Players ver. F)", 0 )
717GAME( 1988, mainev2p, mainevt,  mainevt,  mainev2p, mainevt, ROT0,  "Konami", "The Main Event (2 Players ver. X)", 0 )
697GAME( 1988, mainevt2p,mainevt,  mainevt,  mainev2p, mainevt, ROT0,  "Konami", "The Main Event (2 Players ver. X)", 0 )
718698GAME( 1988, ringohja, mainevt,  mainevt,  mainev2p, mainevt, ROT0,  "Konami", "Ring no Ohja (Japan 2 Players ver. N)", 0 )
719699GAME( 1988, devstors, 0,        devstors, devstors, mainevt, ROT90, "Konami", "Devastators (ver. Z)", 0 )
720GAME( 1988, devstor2, devstors, devstors, devstor2, mainevt, ROT90, "Konami", "Devastators (ver. X)", 0 )
721GAME( 1988, devstor3, devstors, devstors, devstors, mainevt, ROT90, "Konami", "Devastators (ver. V)", 0 )
700GAME( 1988, devstors2,devstors, devstors, devstor2, mainevt, ROT90, "Konami", "Devastators (ver. X)", 0 )
701GAME( 1988, devstors3,devstors, devstors, devstors, mainevt, ROT90, "Konami", "Devastators (ver. V)", 0 )
722702GAME( 1988, garuka,   devstors, devstors, devstor2, mainevt, ROT90, "Konami", "Garuka (Japan ver. W)", 0 )
src/mame/drivers/toki.c
r5338r5339
445445   MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
446446
447447   MDRV_SCREEN_ADD("screen", RASTER)
448   MDRV_SCREEN_REFRESH_RATE(60)
448   MDRV_SCREEN_REFRESH_RATE(59.61)    /* verified on pcb */
449449   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
450450   MDRV_SCREEN_SIZE(32*8, 32*8)
451451   MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)   /* verified */
src/mame/drivers/deco156.c
r5338r5339
124124               colour,
125125               fx,fy,
126126               x,y + mult * multi,
127               priority_bitmap,pri,0);
127               machine->priority_bitmap,pri,0);
128128
129129         multi--;
130130      }
r5338r5339
135135
136136static VIDEO_UPDATE( wcvol95 )
137137{
138   bitmap_fill(priority_bitmap,NULL,0);
138   bitmap_fill(screen->machine->priority_bitmap,NULL,0);
139139   bitmap_fill(bitmap,NULL,0);
140140
141141   deco16_pf12_update(deco16_pf1_rowscroll,deco16_pf2_rowscroll);
src/mame/drivers/dwarfd.c
r5338r5339
432432   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
433433
434434   PORT_START("IN1")
435   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Zap 1") PORT_CODE(KEYCODE_Z) //z1 zap 1
436   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Zap 2") PORT_CODE(KEYCODE_X) //z2 zap 2
437   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Zap 3") PORT_CODE(KEYCODE_C) //z3 zap 3
438   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Zap 4") PORT_CODE(KEYCODE_V) //z4 zap 4
439   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Zap 5") PORT_CODE(KEYCODE_B) //z5 zap 5
440
441   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Bet x1") PORT_CODE(KEYCODE_S) //x1 bet x1
435   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_POKER_HOLD1 ) PORT_NAME("Zap 1") //z1 zap 1
436   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_POKER_HOLD2 ) PORT_NAME("Zap 2") //z2 zap 2
437   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_POKER_HOLD3 ) PORT_NAME("Zap 3") //z3 zap 3
438   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_POKER_HOLD4 ) PORT_NAME("Zap 4") //z4 zap 4
439   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_POKER_HOLD5 ) PORT_NAME("Zap 5") //z5 zap 5
440   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_GAMBLE_BET ) PORT_NAME("Bet x1") //x1 bet x1
442441   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_SERVICE1 )
443   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Bet x2") PORT_CODE(KEYCODE_D) //x2 bet x2
442   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_GAMBLE_D_UP ) PORT_NAME("Bet x2") //x2 bet x2
444443
445444   PORT_START("IN2")
446445   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
447446   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_COIN2 )
448447   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN3 )
449   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("PP ?") PORT_CODE(KEYCODE_A) //pp
448   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("PP ?") PORT_CODE(KEYCODE_A) //pp
450449   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_START1 )
451   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Replace") PORT_CODE(KEYCODE_F) //rp replace
452   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Take") PORT_CODE(KEYCODE_G) //tk take
453   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Unzap") PORT_CODE(KEYCODE_N) //uz unzap
450   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Replace") PORT_CODE(KEYCODE_F) //rp replace
451   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_GAMBLE_TAKE ) //tk take
452   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_POKER_CANCEL ) PORT_NAME("Unzap") //uz unzap
454453INPUT_PORTS_END
455454
456455
457
458
459456static VIDEO_START(dwarfd)
460457{
461458}
src/mame/drivers/renegade.c
r5338r5339
903903   ROM_LOAD( "ta18-09.bin",  0x18000, 0x8000, CRC(07ed4705) SHA1(6fd4b78ca846fa602504f06f3105b2da03bcd00c) )
904904ROM_END
905905
906ROM_START( kuniokub )
906ROM_START( kuniokunb )
907907   ROM_REGION( 0x14000, "maincpu", 0 )   /* 64k for code + bank switched ROM */
908908   ROM_LOAD( "ta18-10.bin",  0x08000, 0x8000, CRC(a90cf44a) SHA1(6d63d9c29da7b8c5bc391e074b6b8fe6ae3892ae) ) // bootleg
909909   ROM_LOAD( "ta18-11.bin",  0x04000, 0x4000, CRC(f240f5cd) SHA1(ed6875e8ad2988e88389d4f63ff448d0823c195f) )
r5338r5339
947947
948948GAME( 1986, renegade, 0,        renegade, renegade, renegade, ROT0, "Technos Japan (Taito America license)", "Renegade (US)", 0 )
949949GAME( 1986, kuniokun, renegade, renegade, renegade, kuniokun, ROT0, "Technos Japan", "Nekketsu Kouha Kunio-kun (Japan)", 0 )
950GAME( 1986, kuniokub, renegade, renegade, renegade, 0,        ROT0, "bootleg", "Nekketsu Kouha Kunio-kun (Japan bootleg)", 0 )
950GAME( 1986, kuniokunb,renegade, renegade, renegade, 0,        ROT0, "bootleg", "Nekketsu Kouha Kunio-kun (Japan bootleg)", 0 )
src/mame/drivers/junofrst.c
r5338r5339
347347   ROM_LOAD( "jfs5_e7.bin",  0x04000, 0x2000, CRC(1eb87a6e) SHA1(f5471b9f6f1fa6d6e5d76300d89f71da3129516a) )
348348ROM_END
349349
350ROM_START( junofstg )
350ROM_START( junofrstg )
351351   ROM_REGION( 0x1c000, "maincpu", 0 )   /* code + space for decrypted opcodes */
352352   ROM_LOAD( "jfg_a.9b",     0x0a000, 0x2000, CRC(8f77d1c5) SHA1(d47fcdbc47673c228661a3528fff0c691c76df9e) ) /* program ROMs */
353353   ROM_LOAD( "jfg_b.10b",    0x0c000, 0x2000, CRC(cd645673) SHA1(25994210a8a424bdf2eca3efa19e7eeffc097cec) )
r5338r5339
384384
385385
386386GAME( 1983, junofrst, 0,        junofrst, junofrst, junofrst, ROT90, "Konami", "Juno First", 0 )
387GAME( 1983, junofstg, junofrst, junofrst, junofrst, junofrst, ROT90, "Konami (Gottlieb license)", "Juno First (Gottlieb)", 0 )
387GAME( 1983, junofrstg,junofrst, junofrst, junofrst, junofrst, ROT90, "Konami (Gottlieb license)", "Juno First (Gottlieb)", 0 )
src/mame/drivers/nbmj8688.c
r5338r5339
13011301   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )      // SERVICE
13021302
13031303   PORT_START("KEY0")
1304   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("1P Stop 1") PORT_CODE(KEYCODE_Z)
1305   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("1P Stop 2") PORT_CODE(KEYCODE_X)
1306   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("1P Stop 3") PORT_CODE(KEYCODE_C)
1307   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("1P Stop 4") PORT_CODE(KEYCODE_V)
1304   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SLOT_STOP1 )
1305   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SLOT_STOP2 )
1306   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP3 )
1307   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Stop Reel 4") PORT_CODE(KEYCODE_V)
13081308   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("1P Start") PORT_CODE(KEYCODE_N)
1309   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_MAHJONG_BET ) PORT_NAME("1P Bet") PORT_CODE(KEYCODE_B)
1309   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
13101310   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
13111311
13121312   PORT_START("KEY1")
1313   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_FLIP_FLOP ) PORT_NAME("1P Flip Flop") PORT_CODE(KEYCODE_Q)
1313   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Flip Flop") PORT_CODE(KEYCODE_F)
13141314   PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
13151315
13161316   PORT_START("KEY2")
r5338r5339
13231323   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
13241324
13251325   PORT_START("KEY5")
1326   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_DOUBLE_UP ) PORT_NAME("Double Up") PORT_CODE(KEYCODE_A)
1327   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_BIG ) PORT_NAME("Big") PORT_CODE(KEYCODE_S)
1328   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_SMALL ) PORT_NAME("Small") PORT_CODE(KEYCODE_D)
1329   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_SCORE ) PORT_NAME("Take Score") PORT_CODE(KEYCODE_F)
1330   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start/Stop")
1331   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 ) PORT_NAME("Push Bet")
1326   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP )
1327   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big")
1328   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small")
1329   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Take Score")
1330   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start / Stop")
1331   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Push Bet")
13321332   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
13331333
13341334   PORT_START("KEY6")
src/mame/drivers/caswin.c
r5338r5339
155155
156156static INPUT_PORTS_START( vvillage )
157157   PORT_START("IN0")
158   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
159   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
160   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
161   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
162   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
158   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
159   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
160   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
161   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
162   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
163163   PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED )
164164
165165   PORT_START("IN1")
166166   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
167167   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_NAME("Note Acceptor")// Note
168   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hopper Payout") PORT_CODE(KEYCODE_7)
168   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT ) PORT_NAME("Hopper Payout")
169169   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )                        // Hopper Micro
170170   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 )                          // 1P FlipFlop
171171   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )                          // 2P FlipFlop
r5338r5339
196196   PORT_DIPNAME( 0x80, 0x80, "Poker, Jack or Better Rule") PORT_DIPLOCATION("SW1:8")
197197   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
198198   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
199
199200   PORT_START("DSW2")
200201   PORT_DIPNAME( 0x01, 0x00, "Enable Hopper Payout" ) PORT_DIPLOCATION("SW2:1")
201202   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
src/mame/drivers/ginganin.c
r5338r5339
401401
402402ROM_END
403403
404ROM_START( gingania )
404ROM_START( ginganina )
405405   ROM_REGION( 0x20000, "maincpu", 0 )   /* main cpu */
406406   ROM_LOAD16_BYTE( "2.bin", 0x00000, 0x10000, CRC(6da1d8a3) SHA1(ea81f2934fa7901563e886f3d600edd08ec0ea24) )
407407   ROM_LOAD16_BYTE( "1.bin", 0x00001, 0x10000, CRC(0bd32d59) SHA1(5ab2c0e4a1d9cafbd3448d981103508debd7ed96) )
r5338r5339
455455
456456
457457GAME( 1987, ginganin, 0,        ginganin, ginganin, ginganin, ROT0, "Jaleco", "Ginga NinkyouDen (set 1)", 0 )
458GAME( 1987, gingania, ginganin, ginganin, ginganin, ginganin, ROT0, "Jaleco", "Ginga NinkyouDen (set 2)", 0 )
458GAME( 1987, ginganina,ginganin, ginganin, ginganin, ginganin, ROT0, "Jaleco", "Ginga NinkyouDen (set 2)", 0 )
src/mame/drivers/cninja.c
r5338r5339
13771377   ROM_LOAD( "go-12.v7", 0x00000,  0x400,  CRC(278f674f) SHA1(d4f5b9770d6d2ddebf1b999e291c80a3e274d492) )   /* Priority  Unused */
13781378ROM_END
13791379
1380ROM_START( robocp2u )
1380ROM_START( robocop2u )
13811381   ROM_REGION( 0x100000, "maincpu", 0 ) /* 68000 code */
13821382   ROM_LOAD16_BYTE( "robo03.k1",  0x00000, 0x20000, CRC(f4c96cc9) SHA1(2eb58aca1134c33f2084267e65a565f9adc6ba49) )
13831383   ROM_LOAD16_BYTE( "robo07.k3",  0x00001, 0x20000, CRC(11e53a7c) SHA1(cdeb7f1983a771238d9d2000f99aed35ae4a06ee) )
r5338r5339
14271427   ROM_LOAD( "go-12.v7", 0x00000,  0x400,  CRC(278f674f) SHA1(d4f5b9770d6d2ddebf1b999e291c80a3e274d492) )   /* Priority  Unused */
14281428ROM_END
14291429
1430ROM_START( robocp2j )
1430ROM_START( robocop2j )
14311431   ROM_REGION( 0x100000, "maincpu", 0 ) /* 68000 code */
14321432   ROM_LOAD16_BYTE( "go-03-1.k1", 0x00000, 0x20000, CRC(52506608) SHA1(a0e738fe1083a17cb40f28ad95b695b6caebf3b1) )
14331433   ROM_LOAD16_BYTE( "go-07-1.k3", 0x00001, 0x20000, CRC(739cda17) SHA1(5a69873d79beabace4739ad313e8c090919206ba) )
r5338r5339
17171717GAME( 1991, joemac,   cninja,  cninja,   cninja,  cninja,   ROT0, "Data East Corporation", "Tatakae Genshizin Joe & Mac (Japan ver 1)", 0 )
17181718GAME( 1991, stoneage, cninja,  stoneage, cninja,  stoneage, ROT0, "bootleg", "Stoneage", 0 )
17191719GAME( 1991, robocop2, 0,       robocop2, robocop2,0,        ROT0, "Data East Corporation", "Robocop 2 (Euro/Asia v0.10)", 0 )
1720GAME( 1991, robocp2u, robocop2,robocop2, robocop2,0,        ROT0, "Data East Corporation", "Robocop 2 (US v0.05)", 0 )
1721GAME( 1991, robocp2j, robocop2,robocop2, robocop2,0,        ROT0, "Data East Corporation", "Robocop 2 (Japan v0.11)", 0 )
1720GAME( 1991, robocop2u,robocop2,robocop2, robocop2,0,        ROT0, "Data East Corporation", "Robocop 2 (US v0.05)", 0 )
1721GAME( 1991, robocop2j,robocop2,robocop2, robocop2,0,        ROT0, "Data East Corporation", "Robocop 2 (Japan v0.11)", 0 )
17221722GAME( 1992, mutantf,  0,       mutantf,  mutantf, mutantf,  ROT0, "Data East Corporation", "Mutant Fighter (World ver EM-5)", 0 )
17231723GAME( 1992, mutantf4, mutantf, mutantf,  mutantf, mutantf,  ROT0, "Data East Corporation", "Mutant Fighter (World ver EM-4)", 0 )
17241724GAME( 1992, mutantf3, mutantf, mutantf,  mutantf, mutantf,  ROT0, "Data East Corporation", "Mutant Fighter (World ver EM-3)", 0 )
src/mame/drivers/lucky74.c
r5338r5339
909909    Test mode shows them as dupes. Maybe are multiplexed?
910910*/
911911   PORT_START("IN0")
912   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1")      PORT_CODE(KEYCODE_Z)  /* 'A' in test mode */
913   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2")      PORT_CODE(KEYCODE_X)  /* 'B' in test mode */
914   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3")      PORT_CODE(KEYCODE_C)  /* 'C' in test mode */
915   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4")      PORT_CODE(KEYCODE_V)  /* 'D' in test mode */
916   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5")      PORT_CODE(KEYCODE_B)  /* 'E' in test mode */
917   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Small")       PORT_CODE(KEYCODE_S)  /* 'F' in test mode */
918   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Flip SC Off") PORT_CODE(KEYCODE_O)  /* 'G' in test mode (normal screen) */
919   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Input H")       PORT_CODE(KEYCODE_K)  /* 'H' in test mode */
912   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )   /* 'A' in test mode */
913   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )   /* 'B' in test mode */
914   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )   /* 'C' in test mode */
915   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )   /* 'D' in test mode */
916   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )   /* 'E' in test mode */
917   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_LOW )   PORT_NAME("Small")   /* 'F' in test mode */
918   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Flip SC Off") PORT_CODE(KEYCODE_O)  /* 'G' in test mode (normal screen) */
919   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER )      PORT_NAME("Input H") PORT_CODE(KEYCODE_K)  /* 'H' in test mode */
920920
921921   PORT_START("IN1")
922   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Bet")         PORT_CODE(KEYCODE_2)  /* 'I' in test mode */
923   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Start")       PORT_CODE(KEYCODE_1)  /* 'J' in test mode */
924   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Cancel")      PORT_CODE(KEYCODE_N)  /* 'K' in test mode */
925   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Double-Up")  PORT_CODE(KEYCODE_3)  /* 'L' in test mode */
926   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Take Score") PORT_CODE(KEYCODE_4)  /* 'M' & 'Q' in test mode */
927   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Big")        PORT_CODE(KEYCODE_A)  /* 'N' & 'P' in test mode */
928   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Flip SC On")  PORT_CODE(KEYCODE_I)  /* 'O' in test mode (inverted screen) */
929   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )   /* not in test mode */
922   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_BET )      /* 'I' in test mode */
923   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START1 )      PORT_NAME("Start")  /* 'J' in test mode */
924   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )   /* 'K' in test mode */
925   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP )      /* 'L' in test mode */
926   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE )      /* 'M' & 'Q' in test mode */
927   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big")   /* 'N' & 'P' in test mode */
928   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Flip SC On")  PORT_CODE(KEYCODE_I)  /* 'O' in test mode (inverted screen) */
929   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )      /* not in test mode */
930930
931931   PORT_START("IN2")
932932   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
933933   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
934   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Books")      PORT_CODE(KEYCODE_0)
935   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Test Mode") PORT_CODE(KEYCODE_F2) PORT_TOGGLE
936   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Pay Out")   PORT_CODE(KEYCODE_E)
937   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Key Out")   PORT_CODE(KEYCODE_W)
934   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK )
935   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Test Mode") PORT_CODE(KEYCODE_F2) PORT_TOGGLE
936   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
937   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )
938938   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
939939   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
940940
941941   PORT_START("IN3")   /* YM2149, port A */
942942   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )    PORT_IMPULSE(2)   /* Coin A */
943   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE )  PORT_NAME("Key In")   PORT_CODE(KEYCODE_Q)
943   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
944944   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )    PORT_IMPULSE(2)   /* Coin B */
945945   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN3 )    PORT_IMPULSE(2)   /* Coin C */
946   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE )  PORT_NAME("Service")   PORT_CODE(KEYCODE_9)
946   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE )  PORT_NAME("Service")
947947   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
948948   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
949949   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
950950
951951   PORT_START("IN4")
952   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Memory Reset Switch")   PORT_CODE(KEYCODE_R)
952   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Memory Reset Switch") PORT_CODE(KEYCODE_R)
953953   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
954954   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
955955   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
src/mame/drivers/missile.c
r5338r5339
10531053ROM_END
10541054
10551055
1056ROM_START( sprmatkd )
1056ROM_START( suprmatkd )
10571057   ROM_REGION( 0x8000, "maincpu", 0 )
10581058   ROM_LOAD( "035820.sma",   0x5000, 0x0800, CRC(75f01b87) SHA1(32ed71b6a869d7b361f244c384bbe6f407f6c6d7) )
10591059   ROM_LOAD( "035821.sma",   0x5800, 0x0800, CRC(3320d67e) SHA1(5bb04b985421af6309818b94676298f4b90495cf) )
r5338r5339
11961196GAME( 1980, missile,  0,       missile, missile,         0, ROT0, "Atari", "Missile Command (set 1)", GAME_SUPPORTS_SAVE )
11971197GAME( 1980, missile2, missile, missile, missile,         0, ROT0, "Atari", "Missile Command (set 2)", GAME_SUPPORTS_SAVE )
11981198GAME( 1981, suprmatk, missile, missile, suprmatk, suprmatk, ROT0, "Atari + Gencomp", "Super Missile Attack (for set 2)", GAME_SUPPORTS_SAVE )
1199GAME( 1981, sprmatkd, missile, missile, suprmatk,        0, ROT0, "Atari + Gencomp", "Super Missile Attack (not encrypted)", GAME_SUPPORTS_SAVE )
1199GAME( 1981, suprmatkd,missile, missile, suprmatk,        0, ROT0, "Atari + Gencomp", "Super Missile Attack (not encrypted)", GAME_SUPPORTS_SAVE )
12001200
12011201/* the bootlegs are on different hardware and don't work */
12021202GAME( 198?, mcombat,  missile, missile, missile,         0, ROT0, "[Atari] (Videotron bootleg)", "Missile Combat (Videotron bootleg, set 1)", GAME_NOT_WORKING )
src/mame/drivers/jack.c
r5338r5339
10401040   ROM_LOAD( "l.1a",         0x3000, 0x1000, CRC(ab421a83) SHA1(1cc3e1bcf9e90ffbf7bfeeb0caa8a4f63b34146a) )
10411041ROM_END
10421042
1043ROM_START( zzyzzyx2 )
1043ROM_START( zzyzzyxx2 )
10441044   ROM_REGION( 0x10000, "maincpu", 0 )
10451045   ROM_LOAD( "a.2f",         0x0000, 0x1000, CRC(a9102e34) SHA1(80d71df7d235980603f35aa3f474aaf58fb39946) )
10461046   ROM_LOAD( "b.3f",         0x1000, 0x1000, CRC(4277beab) SHA1(269338a165286ed44b0fad1873e409f847b8d476) )
r5338r5339
14351435GAME( 1982, jack3,    jack,     jack,    jack3,    jack,     ROT90, "Cinematronics", "Jack the Giantkiller (set 3)", 0 )
14361436GAME( 1982, treahunt, jack,     jack,    treahunt, treahunt, ROT90, "Hara Industries", "Treasure Hunt (bootleg?)", 0 )
14371437GAME( 1982, zzyzzyxx, 0,        jack,    zzyzzyxx, zzyzzyxx, ROT90, "Cinematronics + Advanced Microcomputer Systems", "Zzyzzyxx (set 1)", 0 )
1438GAME( 1982, zzyzzyx2, zzyzzyxx, jack,    zzyzzyxx, zzyzzyxx, ROT90, "Cinematronics + Advanced Microcomputer Systems", "Zzyzzyxx (set 2)", 0 )
1438GAME( 1982, zzyzzyxx2,zzyzzyxx, jack,    zzyzzyxx, zzyzzyxx, ROT90, "Cinematronics + Advanced Microcomputer Systems", "Zzyzzyxx (set 2)", 0 )
14391439GAME( 1982, brix,     zzyzzyxx, jack,    zzyzzyxx, zzyzzyxx, ROT90, "Cinematronics + Advanced Microcomputer Systems", "Brix", 0 )
14401440GAME( 1984, freeze,   0,        jack,    freeze,   jack,     ROT90, "Cinematronics", "Freeze", 0 )
14411441GAME( 1984, sucasino, 0,        jack,    sucasino, jack,     ROT90, "Data Amusement", "Super Casino", 0 )
src/mame/drivers/vigilant.c
r5338r5339
714714   ROM_LOAD( "pal16l8.1b", 0x0400, 0x0104, NO_DUMP ) /* PAL is read protected */
715715ROM_END
716716
717ROM_START( vigilntu )
717ROM_START( vigilantu )
718718   ROM_REGION( 0x30000, "maincpu", 0 ) /* 64k for code + 128k for bankswitching */
719719   ROM_LOAD( "a-8h",  0x00000, 0x08000, CRC(8d15109e) SHA1(9ef57047a0b53cd0143a260193b33e3d5680ca71) )
720720   ROM_LOAD( "a-8l",  0x10000, 0x10000, CRC(7f95799b) SHA1(a371671c3c26976314aaac4e410bff0f13a8a085) )
r5338r5339
751751   ROM_LOAD( "pal16l8.1b", 0x0400, 0x0104, NO_DUMP ) /* PAL is read protected */
752752ROM_END
753753
754ROM_START( vigilntj )
754ROM_START( vigilantj )
755755   ROM_REGION( 0x30000, "maincpu", 0 ) /* 64k for code + 128k for bankswitching */
756756   ROM_LOAD( "vg_a-8h.rom",  0x00000, 0x08000, CRC(ba848713) SHA1(b357cbf404fb1874d555797ed9fb37f946cc4340) )
757757   ROM_LOAD( "vg_a-8l.rom",  0x10000, 0x10000, CRC(3b12b1d8) SHA1(2f9207f8d8ec41ea1b8f5bf3c69a97d1d09f6c3f) )
r5338r5339
814814   ROM_LOAD( "7s",           0x0120, 0x0020, CRC(face0cbb) SHA1(c56aea3b7aaabbd4ff1b4546fcad94f51b473cde) )   /* unknown (bad read?) */
815815ROM_END
816816
817ROM_START( kikcubib )
817ROM_START( kikcubicb )
818818   ROM_REGION( 0x30000, "maincpu", 0 ) /* 64k for code + 128k for bankswitching */
819819   ROM_LOAD( "1.bin",        0x00000, 0x08000, CRC(d3a589ba) SHA1(be2fa4515ed3510fec2b182a3ffcf5ddb9d7256d) )
820820   ROM_LOAD( "4.bin",        0x10000, 0x10000, CRC(9ae1e1a6) SHA1(7f3099206300eaa275b003e829dff0b7b91d8cc8) )
r5338r5339
886886   ROM_LOAD( "pal16l8.u42",  0x0400, 0x0104, NO_DUMP ) /* PAL is read protected */
887887ROM_END
888888
889ROM_START( buccanra )
889ROM_START( buccanrsa )
890890   ROM_REGION( 0x30000, "maincpu", 0 ) /* 64k for code + 128k for bankswitching */
891891   ROM_LOAD( "bc-011",  0x00000, 0x08000, CRC(6b657ef1) SHA1(a3356654d4b04177af23b39e924cc5ad64930bb6) )
892892   ROM_LOAD( "12.u25",  0x10000, 0x10000, CRC(87303ba8) SHA1(49a25393e853b9adf7df00a6f9c38a526a02ea4e) ) // not from this set, hopefully its only a data rom
r5338r5339
921921ROM_END
922922
923923GAME( 1988, vigilant, 0,        vigilant, vigilant, 0, ROT0, "Irem", "Vigilante (World)", GAME_NO_COCKTAIL )
924GAME( 1988, vigilntu, vigilant, vigilant, vigilant, 0, ROT0, "Irem (Data East USA license)", "Vigilante (US)", GAME_NO_COCKTAIL )
925GAME( 1988, vigilntj, vigilant, vigilant, vigilant, 0, ROT0, "Irem", "Vigilante (Japan)", GAME_NO_COCKTAIL )
924GAME( 1988, vigilantu,vigilant, vigilant, vigilant, 0, ROT0, "Irem (Data East USA license)", "Vigilante (US)", GAME_NO_COCKTAIL )
925GAME( 1988, vigilantj,vigilant, vigilant, vigilant, 0, ROT0, "Irem", "Vigilante (Japan)", GAME_NO_COCKTAIL )
926926GAME( 1988, kikcubic, 0,        kikcubic, kikcubic, 0, ROT0, "Irem", "Meikyu Jima (Japan)", GAME_NO_COCKTAIL )   /* English title is Kickle Cubicle */
927GAME( 1988, kikcubib, kikcubic, kikcubic, kikcubic, 0, ROT0, "bootleg", "Kickle Cubele", GAME_NO_COCKTAIL )
927GAME( 1988, kikcubicb,kikcubic, kikcubic, kikcubic, 0, ROT0, "bootleg", "Kickle Cubele", GAME_NO_COCKTAIL )
928928GAME( 1989, buccanrs, 0,        buccanrs, buccanrs, 0, ROT0, "Duintronic", "Buccaneers (set 1)", GAME_NO_COCKTAIL )
929GAME( 1989, buccanra, buccanrs, buccanrs, buccanra, 0, ROT0, "Duintronic", "Buccaneers (set 2)", GAME_NO_COCKTAIL )
929GAME( 1989, buccanrsa,buccanrs, buccanrs, buccanra, 0, ROT0, "Duintronic", "Buccaneers (set 2)", GAME_NO_COCKTAIL )
src/mame/drivers/taitosj.c
r5338r5339
19691969    ROM_LOAD( "eb16.22",      0x0000, 0x0100, CRC(b833b5ea) SHA1(d233f1bf8a3e6cd876853ffd721b9b64c61c9047) )
19701970ROM_END
19711971
1972ROM_START( junglkj2 )
1972ROM_START( junglekj2 )
19731973   ROM_REGION( 0x12000, "maincpu", 0 )
19741974   ROM_LOAD( "kn41.bin",     0x00000, 0x1000, CRC(7e4cd631) SHA1(512c08795d7946500b22d6f63a482c5156e6764b) )
19751975   ROM_LOAD( "kn42.bin",     0x01000, 0x1000, CRC(bade53af) SHA1(c3d2cf776598cb2d8684fa0b3ea7af90af9e8dae) )
r5338r5339
20332033   ROM_LOAD( "eb16.22",      0x0000, 0x0100, CRC(b833b5ea) SHA1(d233f1bf8a3e6cd876853ffd721b9b64c61c9047) )
20342034ROM_END
20352035
2036ROM_START( junglhbr )
2036ROM_START( junglehbr )
20372037   ROM_REGION( 0x12000, "maincpu", 0 )
20382038   ROM_LOAD( "ic1.bin",      0x00000, 0x2000, CRC(3255a10e) SHA1(846448151e7db84b66ab6778c86c0b1bf8c3fec7) )
20392039   ROM_LOAD( "ic2.bin",      0x02000, 0x2000, CRC(8482bc63) SHA1(56ddfc4df4867d81ad78c23fc80f53ff711dffd6) )
r5338r5339
21992199   ROM_LOAD( "ww17",         0x0000, 0x0100, CRC(93447d2b) SHA1(d29f4a56a06ac809b4b9efa8aa9d1f246250e3a2) )
22002200ROM_END
22012201
2202ROM_START( wwester1 )
2202ROM_START( wwestern1 )
22032203   ROM_REGION( 0x12000, "maincpu", 0 )
22042204   ROM_LOAD( "ww01.bin",     0x0000, 0x1000, CRC(bfe10753) SHA1(468cf5a2f7232b5faf4a371aee2c83196fc486a5) )
22052205   ROM_LOAD( "ww02",         0x1000, 0x1000, CRC(f011103a) SHA1(4d94140fb121abb366933bb56d216bdcf2b0a9f4) )
r5338r5339
24252425   ROM_LOAD( "eb16.22",      0x0000, 0x0100, CRC(b833b5ea) SHA1(d233f1bf8a3e6cd876853ffd721b9b64c61c9047) )
24262426ROM_END
24272427
2428ROM_START( elevatob )
2428ROM_START( elevatorb )
24292429   ROM_REGION( 0x12000, "maincpu", 0 )
24302430   ROM_LOAD( "ea69.bin",     0x0000, 0x1000, CRC(66baa214) SHA1(fad660d2983daad478085be3b1a951b0864485dd) )
24312431   ROM_LOAD( "ea-ic68.bin",  0x1000, 0x1000, CRC(13702e39) SHA1(b72fea84f8322463ff224e3b06698a1ed7e305b7) )
r5338r5339
27362736GAME( 1981, spaceskr, 0,        nomcu,    spaceskr,   taitosj, ROT0,   "Taito Corporation", "Space Seeker", GAME_SUPPORTS_SAVE )
27372737GAME( 1981, spacecr,  0,        nomcu,    spacecr,    spacecr, ROT90,  "Taito Corporation", "Space Cruiser", GAME_SUPPORTS_SAVE )
27382738GAME( 1982, junglek,  0,        nomcu,    junglek,    taitosj, ROT180, "Taito Corporation", "Jungle King (Japan)", GAME_SUPPORTS_SAVE )
2739GAME( 1982, junglkj2, junglek,  nomcu,    junglek,    taitosj, ROT180, "Taito Corporation", "Jungle King (Japan, earlier)", GAME_SUPPORTS_SAVE )
2739GAME( 1982, junglekj2,junglek,  nomcu,    junglek,    taitosj, ROT180, "Taito Corporation", "Jungle King (Japan, earlier)", GAME_SUPPORTS_SAVE )
27402740GAME( 1982, jungleh,  junglek,  nomcu,    junglek,    taitosj, ROT180, "Taito America Corporation", "Jungle Hunt (US)", GAME_SUPPORTS_SAVE )
2741GAME( 1983, junglhbr, junglek,  nomcu,    junglek,    junglhbr,ROT180, "Taito do Brasil",   "Jungle Hunt (Brazil)", GAME_SUPPORTS_SAVE )
2741GAME( 1983, junglehbr,junglek,  nomcu,    junglek,    junglhbr,ROT180, "Taito do Brasil",   "Jungle Hunt (Brazil)", GAME_SUPPORTS_SAVE )
27422742GAME( 1982, piratpet, junglek,  nomcu,    piratpet,   taitosj, ROT180, "Taito America Corporation", "Pirate Pete", GAME_SUPPORTS_SAVE )
27432743GAME( 1982, alpine,   0,        nomcu,    alpine,     alpine,  ROT270, "Taito Corporation", "Alpine Ski (set 1)", GAME_SUPPORTS_SAVE )
27442744GAME( 1982, alpinea,  alpine,   nomcu,    alpinea,    alpinea, ROT270, "Taito Corporation", "Alpine Ski (set 2)", GAME_SUPPORTS_SAVE )
27452745GAME( 1982, timetunl, 0,        nomcu,    timetunl,   taitosj, ROT0,   "Taito Corporation", "Time Tunnel", GAME_SUPPORTS_SAVE )
27462746GAME( 1982, wwestern, 0,        nomcu,    wwestern,   taitosj, ROT270, "Taito Corporation", "Wild Western (set 1)", GAME_SUPPORTS_SAVE )
2747GAME( 1982, wwester1, wwestern, nomcu,    wwestern,   taitosj, ROT270, "Taito Corporation", "Wild Western (set 2)", GAME_SUPPORTS_SAVE )
2747GAME( 1982, wwestern1,wwestern, nomcu,    wwestern,   taitosj, ROT270, "Taito Corporation", "Wild Western (set 2)", GAME_SUPPORTS_SAVE )
27482748GAME( 1982, frontlin, 0,        mcu,      frontlin,   taitosj, ROT270, "Taito Corporation", "Front Line", GAME_SUPPORTS_SAVE )
27492749GAME( 1983, elevator, 0,        mcu,      elevator,   taitosj, ROT0,   "Taito Corporation", "Elevator Action", GAME_SUPPORTS_SAVE )
2750GAME( 1983, elevatob, elevator, nomcu,    elevator,   taitosj, ROT0,   "bootleg", "Elevator Action (bootleg)", GAME_SUPPORTS_SAVE )
2750GAME( 1983, elevatorb,elevator, nomcu,    elevator,   taitosj, ROT0,   "bootleg", "Elevator Action (bootleg)", GAME_SUPPORTS_SAVE )
27512751GAME( 1983, tinstar,  0,        mcu,      tinstar,    taitosj, ROT0,   "Taito Corporation", "The Tin Star (set 1)", GAME_SUPPORTS_SAVE )
27522752GAME( 1983, tinstar2, tinstar,  mcu,      tinstar,    taitosj, ROT0,   "Taito Corporation", "The Tin Star (set 2)", GAME_SUPPORTS_SAVE )
27532753GAME( 1983, waterski, 0,        nomcu,    waterski,   taitosj, ROT270, "Taito Corporation", "Water Ski", GAME_SUPPORTS_SAVE )
src/mame/drivers/splash.c
r5338r5339
590590   ROM_LOAD( "roldfrog.013",       0x60000, 0x20000, CRC(fad3e8be) SHA1(eccd7b1440d3a0d433c92ff33213326e0d57422a) )
591591ROM_END
592592
593ROM_START( roldfrga )
593ROM_START( roldfroga )
594594   ROM_REGION( 0x408000, "maincpu", 0 )   /* 68000 code */
595595   ROM_LOAD16_BYTE( "roldfrog.002",   0x000000, 0x080000, CRC(724cf022) SHA1(f8cddfb785ae7900cb95b854811ec3fb250fa7fe) )
596596   ROM_LOAD16_BYTE( "roldfrog.006",   0x000001, 0x080000, CRC(e52a7ae2) SHA1(5c6ecbc2711376afdd7b8da11f84d36ffc464c8a) )
r5338r5339
913913GAME( 1992, paintlad, splash,   splash,   splash,   splash,   ROT0, "Gaelco",    "Painted Lady (Splash) (Ver. 1.3 US)", 0 )
914914
915915GAME( 1993, roldfrog, 0,        roldfrog, splash,   roldfrog, ROT0, "Microhard", "The Return of Lady Frog (set 1)", GAME_NO_SOUND )
916GAME( 1993, roldfrga, roldfrog, roldfrog, splash,   roldfrog, ROT0, "Microhard", "The Return of Lady Frog (set 2)", GAME_NO_SOUND )
916GAME( 1993, roldfroga,roldfrog, roldfrog, splash,   roldfrog, ROT0, "Microhard", "The Return of Lady Frog (set 2)", GAME_NO_SOUND )
917917GAME( 1995, rebus,    0,        roldfrog, splash,   rebus,    ROT0, "Microhard", "Rebus", GAME_NOT_WORKING|GAME_UNEMULATED_PROTECTION|GAME_NO_SOUND )
918918GAME( 199?, funystrp, 0,        funystrp, funystrp, funystrp, ROT0, "Microhard / MagicGames", "Funny Strip", GAME_NOT_WORKING|GAME_UNEMULATED_PROTECTION|GAME_NO_SOUND )
919919GAME( 199?, puckpepl, funystrp, funystrp, funystrp, funystrp, ROT0, "Microhard", "Puck People", GAME_NOT_WORKING|GAME_UNEMULATED_PROTECTION|GAME_NO_SOUND )
src/mame/drivers/midwunit.c
r5338r5339
11861186ROM_END
11871187
11881188
1189ROM_START( wwfmanib )
1189ROM_START( wwfmaniab )
11901190   ROM_REGION16_LE( 0x800000, "dcs", ROMREGION_ERASEFF )   /* sound data */
11911191   ROM_LOAD16_BYTE( "wwf.2",  0x000000, 0x100000, CRC(a9acb250) SHA1(c1a7773ffdb86dc2c1c90c220482ed6330fcbb55) )
11921192   ROM_LOAD16_BYTE( "wwf.3",  0x200000, 0x100000, CRC(9442b6c9) SHA1(1f887c05ab9ca99078be584d7e9e6c59c8ec1818) )
r5338r5339
12361236GAME( 1994, umk3r10,  umk3,      wunit, mk3,      umk3r11,  ROT0, "Midway", "Ultimate Mortal Kombat 3 (rev 1.0)", GAME_SUPPORTS_SAVE )
12371237
12381238GAME( 1995, wwfmania, 0,         wunit, wwfmania, wwfmania, ROT0, "Midway", "WWF: Wrestlemania (rev 1.30 08/10/95)", GAME_SUPPORTS_SAVE )
1239GAME( 1995, wwfmanib, wwfmania,  wunit, wwfmania, wwfmania, ROT0, "Midway", "WWF: Wrestlemania (rev 1.20 08/02/95)", GAME_SUPPORTS_SAVE )
1239GAME( 1995, wwfmaniab,wwfmania,  wunit, wwfmania, wwfmania, ROT0, "Midway", "WWF: Wrestlemania (rev 1.20 08/02/95)", GAME_SUPPORTS_SAVE )
12401240GAME( 1995, openice,  0,         wunit, openice,  openice,  ROT0, "Midway", "2 On 2 Open Ice Challenge (rev 1.21)", GAME_SUPPORTS_SAVE )
12411241GAME( 1996, nbahangt, 0,         wunit, nbahangt, nbahangt, ROT0, "Midway", "NBA Hangtime (rev L1.1 04/16/96)", GAME_SUPPORTS_SAVE )
12421242GAME( 1996, nbamht,   nbahangt,  wunit, nbahangt, nbahangt, ROT0, "Midway", "NBA Maximum Hangtime (rev 1.03 06/09/97)", GAME_SUPPORTS_SAVE )
src/mame/drivers/route16.c
r5338r5339
831831   ROM_LOAD( "im5623.f12", 0x0100, 0x0100, CRC(08793ef7) SHA1(bfc27aaf25d642cd57c0fbe73ab575853bd5f3ca) ) /* bottom bitmap */
832832ROM_END
833833
834ROM_START( stratvob )
834ROM_START( stratvoxb )
835835   ROM_REGION( 0x10000, "cpu1", 0 )
836836   ROM_LOAD( "j0-1",       0x0000, 0x0800, CRC(93c78274) SHA1(d7c8b5a064eaf96bcfd261b9857f06249477f6b8) )
837837   ROM_LOAD( "j0-2",       0x0800, 0x0800, CRC(93b2b02d) SHA1(f08772d581f9825976199f39cb6d85fb3aa83db0) )
r5338r5339
893893So... spacech2 is avoiding to enter the sub at $2929.
894894
895895*/
896ROM_START( spacech2 )
896ROM_START( spacecho2 )
897897   ROM_REGION( 0x10000, "cpu1", 0 )
898898   ROM_LOAD( "c11.5.6t",    0x0000, 0x0800, CRC(90637f25) SHA1(820d2f326a5d8d0a04a0fca46b035624dfd7222c) )   // 3 bytes different at 0x8e
899899   ROM_LOAD( "c2.5t",       0x0800, 0x0800, CRC(a5f0a34f) SHA1(359e7a9954dedb464f7456cd071db77b2219ab2c) )
r5338r5339
10051005GAME( 1981, routex,   route16,  routex,   route16,  0,        ROT270, "bootleg", "Route X (bootleg)", 0 )
10061006GAME( 1980, speakres, 0,        speakres, speakres, 0,        ROT270, "Sun Electronics", "Speak & Rescue", 0 )
10071007GAME( 1980, stratvox, speakres, stratvox, stratvox, 0,        ROT270, "[Sun Electronics] (Taito license)", "Stratovox", 0 )
1008GAME( 1980, stratvob, speakres, stratvox, stratvox, 0,        ROT270, "bootleg", "Stratovox (bootleg)", 0 )
1008GAME( 1980, stratvoxb,speakres, stratvox, stratvox, 0,        ROT270, "bootleg", "Stratovox (bootleg)", 0 )
10091009GAME( 1980, spacecho, speakres, spacecho, spacecho, 0,        ROT270, "bootleg", "Space Echo (set 1)", 0 )
1010GAME( 1980, spacech2, speakres, spacecho, spacecho, 0,        ROT270, "bootleg", "Space Echo (set 2)", 0 )
1010GAME( 1980, spacecho2,speakres, spacecho, spacecho, 0,        ROT270, "bootleg", "Space Echo (set 2)", 0 )
10111011GAME( 1981, ttmahjng, 0,        ttmahjng, ttmahjng, 0,        ROT0,   "Taito", "T.T Mahjong", 0 )
src/mame/drivers/tecmosys.c
r5338r5339
10141014   ROM_LOAD( "ae500w07.ad1", 0x080000, 0x080000, CRC(3734f92c) SHA1(048555b5aa89eaf983305c439ba08d32b4a1bb80) )
10151015ROM_END
10161016
1017ROM_START( tkdensha )
1017ROM_START( tkdenshoa )
10181018   ROM_REGION( 0x600000, "maincpu", 0 )
10191019   ROM_LOAD16_BYTE( "aeprge.pal", 0x00000, 0x80000, CRC(17a209ff) SHA1(b5dbea9868cbb89d4e27bf19fdb616ac256985b4) )
10201020   ROM_LOAD16_BYTE( "aeprgo.pau", 0x00001, 0x80000, CRC(d265e6a1) SHA1(f39d8ce115f197a660f5210b2483108854eb12a9) )
r5338r5339
11051105   tecmosys_decramble(machine);
11061106   device_data = &tkdensha_data;
11071107}
1108GAME( 1995, deroon,      0, deroon, deroon, deroon,     ROT0, "Tecmo", "Deroon DeroDero", 0 )
1109GAME( 1996, tkdensho,    0, deroon, deroon, tkdensho,   ROT0, "Tecmo", "Touki Denshou -Angel Eyes- (VER. 960614)", 0 )
1110GAME( 1996, tkdensha,    tkdensho, deroon, deroon, tkdensha,   ROT0, "Tecmo", "Touki Denshou -Angel Eyes- (VER. 960427)", 0 )
1108GAME( 1995, deroon,           0, deroon, deroon, deroon,     ROT0, "Tecmo", "Deroon DeroDero", 0 )
1109GAME( 1996, tkdensho,         0, deroon, deroon, tkdensho,   ROT0, "Tecmo", "Touki Denshou -Angel Eyes- (VER. 960614)", 0 )
1110GAME( 1996, tkdenshoa, tkdensho, deroon, deroon, tkdensha,   ROT0, "Tecmo", "Touki Denshou -Angel Eyes- (VER. 960427)", 0 )
src/mame/drivers/snk6502.c
r5338r5339
10421042   ROM_LOAD( "zarz134.54",   0x0800, 0x0800, CRC(580934d2) SHA1(c1c7eba56bca2a0ea6a68c0245b071a3308f92bd) )
10431043ROM_END
10441044
1045ROM_START( satansaa )
1045ROM_START( satansata )
10461046   ROM_REGION( 0x10000, "maincpu", 0 )
10471047   ROM_LOAD( "ic7.bin",   0x4000, 0x0800, CRC(549dd13a) SHA1(06b55d0b1da84bef30857faa398aabfd04365eb6) )
10481048   ROM_LOAD( "ic8.bin",   0x4800, 0x0800, CRC(04972fa8) SHA1(89833a7c893168acd5599ca7ad4b33a8f3df40c5) )
r5338r5339
11271127   ROM_LOAD( "sk6_ic11.bin", 0x5000, 0x0800, CRC(c36df041) SHA1(8b51934229b961180d1edb99be3a4d337d37f66f) )
11281128ROM_END
11291129
1130ROM_START( vangrdce )
1130ROM_START( vanguardc )
11311131   ROM_REGION( 0x10000, "maincpu", 0 )
11321132   ROM_LOAD( "sk4_ic07.bin", 0x4000, 0x1000, CRC(6a29e354) SHA1(ff953962ebc14a28cfc96f8e269cb1e1c188ed8a) )
11331133   ROM_LOAD( "sk4_ic08.bin", 0x5000, 0x1000, CRC(302bba54) SHA1(1944f229481328a0635fafda65054106f42a532a) )
r5338r5339
11581158   ROM_LOAD( "sk6_ic11.bin", 0x5000, 0x0800, CRC(c36df041) SHA1(8b51934229b961180d1edb99be3a4d337d37f66f) )
11591159ROM_END
11601160
1161ROM_START( vanguarj )
1161ROM_START( vanguardj )
11621162   ROM_REGION( 0x10000, "maincpu", 0 )
11631163   ROM_LOAD( "sk4_ic07.bin", 0x4000, 0x1000, CRC(6a29e354) SHA1(ff953962ebc14a28cfc96f8e269cb1e1c188ed8a) )
11641164   ROM_LOAD( "sk4_ic08.bin", 0x5000, 0x1000, CRC(302bba54) SHA1(1944f229481328a0635fafda65054106f42a532a) )
r5338r5339
14301430
14311431GAME( 1980, sasuke,   0,        sasuke,   sasuke,   0, ROT90, "SNK", "Sasuke vs. Commander", 0 )
14321432GAME( 1981, satansat, 0,        satansat, satansat, 0, ROT90, "SNK", "Satan of Saturn (set 1)", GAME_IMPERFECT_SOUND )
1433GAME( 1981, satansaa, satansat, satansat, satansat, 0, ROT90, "SNK", "Satan of Saturn (set 2)", GAME_IMPERFECT_SOUND )
1433GAME( 1981, satansata,satansat, satansat, satansat, 0, ROT90, "SNK", "Satan of Saturn (set 2)", GAME_IMPERFECT_SOUND )
14341434GAME( 1981, zarzon,   satansat, satansat, satansat, 0, ROT90, "[SNK] (Taito America license)", "Zarzon", GAME_IMPERFECT_SOUND )
14351435GAME( 1981, vanguard, 0,        vanguard, vanguard, 0, ROT90, "SNK", "Vanguard (SNK)", 0 )
1436GAME( 1981, vangrdce, vanguard, vanguard, vanguard, 0, ROT90, "SNK (Centuri license)", "Vanguard (Centuri)", 0 )
1437GAME( 1981, vanguarj, vanguard, vanguard, vanguard, 0, ROT90, "SNK", "Vanguard (Japan)", 0 )
1436GAME( 1981, vanguardc,vanguard, vanguard, vanguard, 0, ROT90, "SNK (Centuri license)", "Vanguard (Centuri)", 0 )
1437GAME( 1981, vanguardj,vanguard, vanguard, vanguard, 0, ROT90, "SNK", "Vanguard (Japan)", 0 )
14381438GAME( 1981, fantasy,  0,        fantasy,  fantasy,  0, ROT90, "SNK", "Fantasy (World)", 0 )
14391439GAME( 1981, fantasyu, fantasy,  fantasy,  fantasyu, 0, ROT90, "[SNK] (Rock-Ola license)", "Fantasy (US)", 0 )
14401440GAME( 1981, fantasyj, fantasy,  fantasy,  fantasyu, 0, ROT90, "SNK", "Fantasy (Japan)", 0 )
src/mame/drivers/exidy440.c
r5338r5339
15951595ROM_END
15961596
15971597
1598ROM_START( hitnmis2 )
1598ROM_START( hitnmiss2 )
15991599   ROM_REGION( 0x50000, "maincpu", 0 )     /* 64k for code for the first CPU, plus lots of banked ROMs */
16001600   ROM_LOAD( "hml2.a1",   0x08000, 0x2000, CRC(322f7e83) SHA1(e80e51c943402d0b644b1788e6a278130610d0e6) )
16011601   ROM_LOAD( "hml2.a3",   0x0a000, 0x2000, CRC(0e12a721) SHA1(22ee013d68c1afc218672cbb40c99fc9de607328) )
r5338r5339
20162016GAME( 1986, chiller,  0,        exidy440, chiller,  exidy440, ROT0, "Exidy", "Chiller (version 3.0)", 0 )
20172017GAME( 1986, topsecex, 0,        topsecex, topsecex, topsecex, ROT0, "Exidy", "Top Secret (Exidy) (version 1.0)", 0 )
20182018GAME( 1987, hitnmiss, 0,        exidy440, hitnmiss, exidy440, ROT0, "Exidy", "Hit 'n Miss (version 3.0)", 0 )
2019GAME( 1987, hitnmis2, hitnmiss, exidy440, hitnmiss, exidy440, ROT0, "Exidy", "Hit 'n Miss (version 2.0)", 0 )
2019GAME( 1987, hitnmiss2,hitnmiss, exidy440, hitnmiss, exidy440, ROT0, "Exidy", "Hit 'n Miss (version 2.0)", 0 )
20202020GAME( 1988, whodunit, 0,        exidy440, whodunit, exidy440, ROT0, "Exidy", "Who Dunit (version 8.0)", 0 )
20212021GAME( 1988, showdown, 0,        exidy440, showdown, showdown, ROT0, "Exidy", "Showdown (version 5.0)", 0 )
20222022GAME( 1989, yukon,    0,        exidy440, showdown, yukon,    ROT0, "Exidy", "Yukon (version 2.0)", 0 )
src/mame/drivers/dassault.c
r5338r5339
650650   ROM_LOAD( "pal16l8b.10c", 0x0e00, 0x0104, NO_DUMP ) /* PAL is read protected */
651651ROM_END
652652
653ROM_START( dassaul4 )
653ROM_START( dassault4 )
654654   ROM_REGION(0x80000, "maincpu", 0 ) /* 68000 code */
655655   ROM_LOAD16_BYTE("gs01", 0x00000, 0x20000, CRC(8613634d) SHA1(69b64e54fde3b5f1ee3435d7327b84e7a7d43f6d) )
656656   ROM_LOAD16_BYTE("gs03", 0x00001, 0x20000, CRC(ea860bd4) SHA1(6e4e2d004433ad5842b4bc895eaa8f55bd1ee168) )
r5338r5339
848848
849849GAME( 1991, thndzone, 0,        dassault, thndzone, thndzone, ROT0, "Data East Corporation", "Thunder Zone (World)", 0 )
850850GAME( 1991, dassault, thndzone, dassault, dassault, dassault, ROT0, "Data East Corporation", "Desert Assault (US)", 0 )
851GAME( 1991, dassaul4, thndzone, dassault, dassaul4, dassault, ROT0, "Data East Corporation", "Desert Assault (US 4 Players)", 0 )
851GAME( 1991, dassault4,thndzone, dassault, dassaul4, dassault, ROT0, "Data East Corporation", "Desert Assault (US 4 Players)", 0 )
src/mame/drivers/dambustr.c
r5338r5339
240240ROM_END
241241
242242
243ROM_START( dambusta )
243ROM_START( dambustra )
244244   ROM_REGION( 0x10000, "maincpu", 0 )
245245   ROM_LOAD( "db8a.pr8",   0x4000, 0x1000, CRC(fd041ff4) SHA1(8d27da7bf0c655633711b960cbc23950c8a371ae) )
246246   ROM_LOAD( "db6.pr6",    0x5000, 0x1000, CRC(56d301a9) SHA1(a0839767af822ab1b8df1a7d0767e72b494974c6) ) /* This single rom had a yellow label, while all the rest were white */
r5338r5339
267267ROM_END
268268
269269
270ROM_START( dambust )
270ROM_START( dambustruk )
271271   ROM_REGION( 0x10000, "maincpu", 0 )
272272   ROM_LOAD( "db8.pr8",    0x4000, 0x1000, CRC(fd041ff4) SHA1(8d27da7bf0c655633711b960cbc23950c8a371ae) )
273273   ROM_LOAD( "db6p.bin",   0x5000, 0x1000, CRC(35dcee01) SHA1(2c23c727d9b38322a6d0548dfe6a2a254f3530af) )
r5338r5339
294294ROM_END
295295
296296
297GAME( 1981, dambustr, 0,        dambustr, dambustr, dambustr, ROT90, "South West Research", "Dambusters (US, set 1)", 0 )
298GAME( 1981, dambusta, dambustr, dambustr, dambustr, dambustr, ROT90, "South West Research", "Dambusters (US, set 2)", 0 )
299GAME( 1981, dambust,  dambustr, dambustr, dambustr, dambustr, ROT90, "South West Research", "Dambusters (UK)", 0 )
297GAME( 1981, dambustr,  0,        dambustr, dambustr, dambustr, ROT90, "South West Research", "Dambusters (US, set 1)", 0 )
298GAME( 1981, dambustra, dambustr, dambustr, dambustr, dambustr, ROT90, "South West Research", "Dambusters (US, set 2)", 0 )
299GAME( 1981, dambustruk,dambustr, dambustr, dambustr, dambustr, ROT90, "South West Research", "Dambusters (UK)", 0 )
src/mame/drivers/supbtime.c
r5338r5339
420420ROM_END
421421
422422/* is this actually a good dump?, there are no backgrounds ingame! */
423ROM_START( supbtima )
423ROM_START( supbtimea )
424424   ROM_REGION( 0x40000, "maincpu", 0 ) /* 68000 code */
425425   ROM_LOAD16_BYTE( "3.11f", 0x00000, 0x20000, CRC(98b5f263) SHA1(ee4b0d2fcdc95aba0e78d066bd6c4d553a902848) )
426426   ROM_LOAD16_BYTE( "4.12f", 0x00001, 0x20000, CRC(937e68b9) SHA1(4779e150518b9014c2154f33d38767c6a7447334) )
r5338r5339
439439     ROM_LOAD( "gc05.bin",    0x00000, 0x20000, CRC(2f2246ff) SHA1(3fcceb6f5aa5f33187bcf4c59d88327f396fa80d) )
440440ROM_END
441441
442ROM_START( supbtimj )
442ROM_START( supbtimej )
443443   ROM_REGION( 0x40000, "maincpu", 0 ) /* 68000 code */
444444   ROM_LOAD16_BYTE( "gc03.bin", 0x00000, 0x20000, CRC(b5621f6a) SHA1(2dfd361e81dc4805bc248cc293d94131162df2d2) )
445445   ROM_LOAD16_BYTE( "gc04.bin", 0x00001, 0x20000, CRC(551b2a0c) SHA1(8a6dde2d64029b8e7f7c9b88bd05633b69417dc1) )
r5338r5339
480480/******************************************************************************/
481481
482482GAME( 1990, supbtime, 0,        supbtime, supbtime, 0, ROT0, "Data East Corporation", "Super Burger Time (World, set 1)", 0 )
483GAME( 1990, supbtima, supbtime, supbtime, supbtime, 0, ROT0, "Data East Corporation", "Super Burger Time (World, set 2)", 0 )
484GAME( 1990, supbtimj, supbtime, supbtime, supbtime, 0, ROT0, "Data East Corporation", "Super Burger Time (Japan)", 0 )
483GAME( 1990, supbtimea,supbtime, supbtime, supbtime, 0, ROT0, "Data East Corporation", "Super Burger Time (World, set 2)", 0 )
484GAME( 1990, supbtimej,supbtime, supbtime, supbtime, 0, ROT0, "Data East Corporation", "Super Burger Time (Japan)", 0 )
485485GAME( 1991, chinatwn, 0,        chinatwn, chinatwn, 0, ROT0, "Data East Corporation", "China Town (Japan)", 0 )
src/mame/drivers/blmbycar.c
r5338r5339
452452   ROM_COPY( "oki", 0x040000, 0x000000,   0x040000 )
453453ROM_END
454454
455ROM_START( blmbycau )
455ROM_START( blmbycaru )
456456   ROM_REGION( 0x100000, "maincpu", 0 )      /* 68000 Code */
457457   ROM_LOAD16_BYTE( "bc_rom4", 0x000000, 0x080000, CRC(76f054a2) SHA1(198efd152b13033e5249119ca48b9e0f6351b0b9) )
458458   ROM_LOAD16_BYTE( "bc_rom6", 0x000001, 0x080000, CRC(2570b4c5) SHA1(706465950023a6ef7c85ceb9c76246d7556b3859) )
r5338r5339
526526***************************************************************************/
527527
528528GAME( 1994, blmbycar, 0,        blmbycar, blmbycar, blmbycar, ROT0, "ABM & Gecas", "Blomby Car", 0 )
529GAME( 1994, blmbycau, blmbycar, blmbycar, blmbycar, 0,        ROT0, "ABM & Gecas", "Blomby Car (not encrypted)", 0 )
529GAME( 1994, blmbycaru,blmbycar, blmbycar, blmbycar, 0,        ROT0, "ABM & Gecas", "Blomby Car (not encrypted)", 0 )
530530GAME( 1996, watrball, 0,        watrball, watrball, 0,        ROT0, "ABM", "Water Balls", 0 )
src/mame/drivers/gbusters.c
r5338r5339
160160
161161static INPUT_PORTS_START( gbusters )
162162   PORT_START("DSW1")
163   KONAMI_COINAGE(DEF_STR( Free_Play ), "No Coin B")
163   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SW1)
164164   /* "No Coin B" = coins produce sound, but no effect on coin counter */
165165
166166   PORT_START("DSW2")
167   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )
167   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
168168   PORT_DIPSETTING(    0x03, "2" )
169169   PORT_DIPSETTING(    0x02, "3" )
170170   PORT_DIPSETTING(    0x01, "5" )
171171   PORT_DIPSETTING(    0x00, "7" )
172   PORT_DIPNAME( 0x04, 0x04, "Bullets" )
172   PORT_DIPNAME( 0x04, 0x04, "Bullets" )         PORT_DIPLOCATION("SW2:3")
173173   PORT_DIPSETTING(    0x04, "50" )
174174   PORT_DIPSETTING(    0x00, "60" )
175   PORT_DIPNAME( 0x18, 0x10, DEF_STR( Bonus_Life ) )
176   PORT_DIPSETTING(    0x18, "50k, 200k & 400k" )
177   PORT_DIPSETTING(    0x10, "70k, 250k & 500k" )
178   PORT_DIPSETTING(    0x08, "50k" )
179   PORT_DIPSETTING(    0x00, "70k" )
180   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )
175   PORT_DIPNAME( 0x18, 0x10, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
176   PORT_DIPSETTING(    0x18, "50k, 200k, Every 400k" )
177   PORT_DIPSETTING(    0x10, "70k, 250k, Every 500k" )
178   PORT_DIPSETTING(    0x08, "50k Only" )
179   PORT_DIPSETTING(    0x00, "70k Only" )
180   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
181181   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
182182   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
183183   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
184184   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
185   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
185   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
186186   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
187187   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
188188
189189   PORT_START("DSW3")
190   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )
190   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
191191   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
192192   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
193   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
194   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
195   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
196   PORT_SERVICE( 0x04, IP_ACTIVE_LOW )
197   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
198   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
199   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
193   PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW3:2" ) /* Listed as "Unused" */
194   PORT_SERVICE_DIPLOC(  0x04, IP_ACTIVE_LOW, "SW3:3" )
195   PORT_DIPUNUSED_DIPLOC( 0x08, 0x08, "SW3:4" ) /* Listed as "Unused" */
200196   PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
201197
202198   PORT_START("SYSTEM")
r5338r5339
298294   ROM_LOAD( "878c04.d5",  0x00000, 0x40000, CRC(9e982d1c) SHA1(a5b611c67b0f2ac50c679707931ee12ebbf72ebe) )
299295ROM_END
300296
301ROM_START( gbustera )
297ROM_START( gbustersa )
302298   ROM_REGION( 0x30800, "maincpu", 0 ) /* code + banked roms + space for banked RAM */
303299   ROM_LOAD( "878_02.k13", 0x10000, 0x08000, CRC(57178414) SHA1(89b1403158f6ce18706c8a941109554d03cf77d9) ) /* unknown region/version leter */
304300   ROM_CONTINUE(           0x08000, 0x08000 )
r5338r5339
386382
387383
388384GAME( 1988, gbusters, 0,        gbusters, gbusters, gbusters, ROT90, "Konami", "Gang Busters (set 1)", 0 ) /* N02 & J03 program roms */
389GAME( 1988, gbustera, gbusters, gbusters, gbusters, gbusters, ROT90, "Konami", "Gang Busters (set 2)", 0 ) /* unknown region program roms */
385GAME( 1988, gbustersa,gbusters, gbusters, gbusters, gbusters, ROT90, "Konami", "Gang Busters (set 2)", 0 ) /* unknown region program roms */
390386GAME( 1988, crazycop, gbusters, gbusters, gbusters, gbusters, ROT90, "Konami", "Crazy Cop (Japan)", 0 )    /* M02 & J03 program roms */
src/mame/drivers/m72.c
r5338r5339
26782678   ROM_LOAD( "if-c-v1.bin",  0x10000, 0x10000, CRC(45b68bf5) SHA1(2fb28793019ca85b3b6d7c4c31eedff1d71f2d83) )
26792679ROM_END
26802680
2681ROM_START( imgfigho )
2681ROM_START( imgfighto )
26822682   ROM_REGION( 0x100000, "maincpu", 0 )
26832683   ROM_LOAD16_BYTE( "if-c-h0.bin",  0x00001, 0x10000, CRC(592d2d80) SHA1(d54916a9bfe4b65a972b62202af706135e73518d) )
26842684   ROM_LOAD16_BYTE( "if-c-l0.bin",  0x00000, 0x10000, CRC(61f89056) SHA1(3e0724dbc2b00a30193ea6cfac8b4331055d4fd4) )
r5338r5339
30003000   ROM_LOAD( "db_a-v0.rom", 0x00000, 0x20000, CRC(312f7282) SHA1(742d56980b4618180e9a0e02051c5aec4d5cdae4) )
30013001ROM_END
30023002
3003ROM_START( dbreed72 )
3003ROM_START( dbreedm72 )
30043004   ROM_REGION( 0x100000, "maincpu", 0 )
30053005   ROM_LOAD16_BYTE( "db_c-h3.rom",  0x00001, 0x20000, CRC(4bf3063c) SHA1(3f970c9ece2ac700738e217e0b31b3aba2848ab2) )
30063006   ROM_LOAD16_BYTE( "db_c-l3.rom",  0x00000, 0x20000, CRC(e4b89b79) SHA1(c312925940633e60fb5d0f05044c6e73e4f7fd54) )
r5338r5339
31323132   ROM_LOAD( "mt_vo.bin",    0x00000, 0x20000, CRC(eb24bb2c) SHA1(9fca04fba0249e8213dd164eb6829e1a5acbee65) )
31333133ROM_END
31343134
3135ROM_START( majtitlj )
3135ROM_START( majtitlej )
31363136   ROM_REGION( 0x100000, "maincpu", 0 )
31373137   ROM_LOAD16_BYTE( "mt_h0.bin",    0x00001, 0x20000, CRC(b9682c70) SHA1(b979c0a630397f2a2eb73709cf12c5262c973782) )
31383138   ROM_LOAD16_BYTE( "mt_l0.bin",    0x00000, 0x20000, CRC(702c9fd6) SHA1(84a5e9e64f4bf235d115f5648b4a108f710ade1d) )
r5338r5339
32503250   ROM_LOAD( "gen-vo.bin",   0x00000, 0x20000, CRC(d8595c66) SHA1(97920c9947fbac609fb901415e5471c6e4ca066c) )
32513251ROM_END
32523252
3253ROM_START( dkgenm72 )
3253ROM_START( dkgensanm72 )
32543254   ROM_REGION( 0x100000, "maincpu", 0 )
32553255   ROM_LOAD16_BYTE( "ge72-h0.bin",  0x00001, 0x20000, CRC(a0ad992c) SHA1(6de4105d8454c4e4e62762fdd7e22829acc2442b) )
32563256   ROM_LOAD16_BYTE( "ge72-l0.bin",  0x00000, 0x20000, CRC(996396f0) SHA1(1a2501ba46bcbc607f772765e8614bc442154a18) )
r5338r5339
33123312   ROM_LOAD( "ppa-v0.bin",   0x00000, 0x40000, CRC(03321664) SHA1(51f2b2b712385c1cd55fd069829efac01838d603) )
33133313ROM_END
33143314
3315ROM_START( poundfoj )
3315ROM_START( poundforj )
33163316   ROM_REGION( 0x100000, "maincpu", 0 )
33173317   ROM_LOAD16_BYTE( "ppa-h0-.9e",  0x00001, 0x20000, CRC(f0165e3b) SHA1(a0482b34c0d05d8f48d1b16f2bc2d5d9ec465dc8) )
33183318   ROM_LOAD16_BYTE( "ppa-l0-.9d",  0x00000, 0x20000, CRC(f954f99f) SHA1(6e7a9718dc63e595403bfc0f1ceae4a71dc75133) )
r5338r5339
33403340   ROM_LOAD( "ppa-v0.bin",   0x00000, 0x40000, CRC(03321664) SHA1(51f2b2b712385c1cd55fd069829efac01838d603) )
33413341ROM_END
33423342
3343ROM_START( poundfou )
3343ROM_START( poundforu )
33443344   ROM_REGION( 0x100000, "maincpu", 0 )
33453345   ROM_LOAD16_BYTE( "ppa-ho-a.9e",  0x00001, 0x20000, CRC(ff4c83a4) SHA1(1b7791c784bf7c4774e3200b76d65ab0bf0ff93b) )
33463346   ROM_LOAD16_BYTE( "ppa-lo-a.9d",  0x00000, 0x20000, CRC(3374ce8f) SHA1(7455f8339aeed0ef3d0567baa804b62ca3615283) )
r5338r5339
34883488
34893489
34903490
3491GAME( 1987, rtype,    0,        rtype,    rtype,    0,        ROT0,   "Irem", "R-Type (World)", GAME_NO_COCKTAIL )
3492GAME( 1987, rtypej,   rtype,    rtype,    rtype,    0,        ROT0,   "Irem", "R-Type (Japan)", GAME_NO_COCKTAIL )
3493GAME( 1987, rtypejp,  rtype,    rtype,    rtypep,   0,        ROT0,   "Irem", "R-Type (Japan prototype)", GAME_NO_COCKTAIL )
3494GAME( 1987, rtypeu,   rtype,    rtype,    rtype,    0,        ROT0,   "Irem (Nintendo of America license)", "R-Type (US)", GAME_NO_COCKTAIL )
3495GAME( 1987, rtypeb,   rtype,    rtype,    rtype,    0,        ROT0,   "bootleg", "R-Type (World bootleg)", GAME_NO_COCKTAIL )
3496GAME( 1987, bchopper, 0,        m72,      bchopper, bchopper, ROT0,   "Irem", "Battle Chopper", GAME_NO_COCKTAIL )
3497GAME( 1987, mrheli,   bchopper, m72,      bchopper, mrheli,   ROT0,   "Irem", "Mr. HELI no Dai-Bouken", GAME_NO_COCKTAIL )
3498GAME( 1988, nspirit,  0,        m72,      nspirit,  nspirit,  ROT0,   "Irem", "Ninja Spirit", GAME_NO_COCKTAIL )
3499GAME( 1988, nspiritj, nspirit,  m72,      nspirit,  nspiritj, ROT0,   "Irem", "Saigo no Nindou (Japan)", GAME_NO_COCKTAIL )
3500GAME( 1988, imgfight, 0,        m72,      imgfight, imgfight, ROT270, "Irem", "Image Fight (revision A, Japan)", 0 )
3501GAME( 1988, imgfigho, imgfight, m72,      imgfight, imgfight, ROT270, "Irem", "Image Fight (Japan)", 0 )
3502GAME( 1989, loht,     0,        m72,      loht,     loht,     ROT0,   "Irem", "Legend of Hero Tonma", GAME_NO_COCKTAIL )
3503GAME( 1989, lohtj,    loht,     m72,      loht,     loht,     ROT0,   "Irem", "Legend of Hero Tonma (Japan)", GAME_NO_COCKTAIL )
3504GAME( 1989, lohtb,    loht,     m72,      loht,     0,        ROT0,   "Irem", "Legend of Hero Tonma (bootleg, set 1)", GAME_NOT_WORKING| GAME_NO_COCKTAIL )
3505GAME( 1989, lohtb2,   loht,     m72_8751, loht,     loht_mcu, ROT0,   "Irem", "Legend of Hero Tonma (bootleg, set 2)", GAME_NO_COCKTAIL )
3506GAME( 1989, xmultipl, 0,        xmultipl, xmultipl, xmultipl, ROT0,   "Irem", "X Multiply (Japan)", GAME_NO_COCKTAIL )
3507GAME( 1989, dbreed,   0,        dbreed,   dbreed,   0,        ROT0,   "Irem", "Dragon Breed (M81 pcb version)", GAME_NO_COCKTAIL )
3508GAME( 1989, dbreed72, dbreed,   dbreed72, dbreed,   dbreed72, ROT0,   "Irem", "Dragon Breed (M72 pcb version)", GAME_NO_COCKTAIL )
3509GAME( 1989, rtype2,   0,        rtype2,   rtype2,   0,        ROT0,   "Irem", "R-Type II", GAME_NO_COCKTAIL )
3510GAME( 1989, rtype2j,  rtype2,   rtype2,   rtype2,   0,        ROT0,   "Irem", "R-Type II (Japan)", GAME_NO_COCKTAIL )
3511GAME( 1990, majtitle, 0,        majtitle, rtype2,   0,        ROT0,   "Irem", "Major Title (World)", GAME_NO_COCKTAIL )
3512GAME( 1990, majtitlj, majtitle, majtitle, rtype2,   0,        ROT0,   "Irem", "Major Title (Japan)", GAME_NO_COCKTAIL )
3513GAME( 1990, hharry,   0,        hharry,   hharry,   0,        ROT0,   "Irem", "Hammerin' Harry (World)", GAME_NO_COCKTAIL )
3514GAME( 1990, hharryu,  hharry,   hharryu,  hharry,   0,        ROT0,   "Irem America", "Hammerin' Harry (US)", GAME_NO_COCKTAIL )
3515GAME( 1990, dkgensan, hharry,   hharryu,  hharry,   0,        ROT0,   "Irem", "Daiku no Gensan (Japan)", GAME_NO_COCKTAIL )
3516GAME( 1990, dkgenm72, hharry,   dkgenm72, hharry,   dkgenm72, ROT0,   "Irem", "Daiku no Gensan (Japan, M72)", GAME_NO_COCKTAIL )
3517GAME( 1990, poundfor, 0,        poundfor, poundfor, 0,        ROT270, "Irem", "Pound for Pound (World)", GAME_NO_COCKTAIL )
3518GAME( 1990, poundfoj, poundfor, poundfor, poundfor, 0,        ROT270, "Irem", "Pound for Pound (Japan)", GAME_NO_COCKTAIL )
3519GAME( 1990, poundfou, poundfor, poundfor, poundfor, 0,        ROT270, "Irem America", "Pound for Pound (US)", GAME_NO_COCKTAIL )
3520GAME( 1990, airduel,  0,        m72,      airduel,  airduel,  ROT270, "Irem", "Air Duel (Japan)", 0 )
3521GAME( 1991, cosmccop, 0,        cosmccop, gallop,   0,        ROT0,   "Irem", "Cosmic Cop (World)", GAME_NO_COCKTAIL )
3522GAME( 1991, gallop,   cosmccop, m72,      gallop,   gallop,   ROT0,   "Irem", "Gallop - Armed police Unit (Japan)", GAME_NO_COCKTAIL )
3523GAME( 1991, kengo,    0,        kengo,    kengo,    0,        ROT0,   "Irem", "Ken-Go", GAME_NO_COCKTAIL )
3491GAME( 1987, rtype,       0,        rtype,    rtype,    0,        ROT0,   "Irem", "R-Type (World)", GAME_NO_COCKTAIL )
3492GAME( 1987, rtypej,      rtype,    rtype,    rtype,    0,        ROT0,   "Irem", "R-Type (Japan)", GAME_NO_COCKTAIL )
3493GAME( 1987, rtypejp,     rtype,    rtype,    rtypep,   0,        ROT0,   "Irem", "R-Type (Japan prototype)", GAME_NO_COCKTAIL )
3494GAME( 1987, rtypeu,      rtype,    rtype,    rtype,    0,        ROT0,   "Irem (Nintendo of America license)", "R-Type (US)", GAME_NO_COCKTAIL )
3495GAME( 1987, rtypeb,      rtype,    rtype,    rtype,    0,        ROT0,   "bootleg", "R-Type (World bootleg)", GAME_NO_COCKTAIL )
3496GAME( 1987, bchopper,    0,        m72,      bchopper, bchopper, ROT0,   "Irem", "Battle Chopper", GAME_NO_COCKTAIL )
3497GAME( 1987, mrheli,      bchopper, m72,      bchopper, mrheli,   ROT0,   "Irem", "Mr. HELI no Dai-Bouken", GAME_NO_COCKTAIL )
3498GAME( 1988, nspirit,     0,        m72,      nspirit,  nspirit,  ROT0,   "Irem", "Ninja Spirit", GAME_NO_COCKTAIL )
3499GAME( 1988, nspiritj,    nspirit,  m72,      nspirit,  nspiritj, ROT0,   "Irem", "Saigo no Nindou (Japan)", GAME_NO_COCKTAIL )
3500GAME( 1988, imgfight,    0,        m72,      imgfight, imgfight, ROT270, "Irem", "Image Fight (revision A, Japan)", 0 )
3501GAME( 1988, imgfighto,   imgfight, m72,      imgfight, imgfight, ROT270, "Irem", "Image Fight (Japan)", 0 )
3502GAME( 1989, loht,        0,        m72,      loht,     loht,     ROT0,   "Irem", "Legend of Hero Tonma", GAME_NO_COCKTAIL )
3503GAME( 1989, lohtj,       loht,     m72,      loht,     loht,     ROT0,   "Irem", "Legend of Hero Tonma (Japan)", GAME_NO_COCKTAIL )
3504GAME( 1989, lohtb,       loht,     m72,      loht,     0,        ROT0,   "Irem", "Legend of Hero Tonma (bootleg, set 1)", GAME_NOT_WORKING| GAME_NO_COCKTAIL )
3505GAME( 1989, lohtb2,      loht,     m72_8751, loht,     loht_mcu, ROT0,   "Irem", "Legend of Hero Tonma (bootleg, set 2)", GAME_NO_COCKTAIL )
3506GAME( 1989, xmultipl,    0,        xmultipl, xmultipl, xmultipl, ROT0,   "Irem", "X Multiply (Japan)", GAME_NO_COCKTAIL )
3507GAME( 1989, dbreed,      0,        dbreed,   dbreed,   0,        ROT0,   "Irem", "Dragon Breed (M81 pcb version)", GAME_NO_COCKTAIL )
3508GAME( 1989, dbreedm72,   dbreed,   dbreed72, dbreed,   dbreed72, ROT0,   "Irem", "Dragon Breed (M72 pcb version)", GAME_NO_COCKTAIL )
3509GAME( 1989, rtype2,      0,        rtype2,   rtype2,   0,        ROT0,   "Irem", "R-Type II", GAME_NO_COCKTAIL )
3510GAME( 1989, rtype2j,     rtype2,   rtype2,   rtype2,   0,        ROT0,   "Irem", "R-Type II (Japan)", GAME_NO_COCKTAIL )
3511GAME( 1990, majtitle,    0,        majtitle, rtype2,   0,        ROT0,   "Irem", "Major Title (World)", GAME_NO_COCKTAIL )
3512GAME( 1990, majtitlej,   majtitle, majtitle, rtype2,   0,        ROT0,   "Irem", "Major Title (Japan)", GAME_NO_COCKTAIL )
3513GAME( 1990, hharry,      0,        hharry,   hharry,   0,        ROT0,   "Irem", "Hammerin' Harry (World)", GAME_NO_COCKTAIL )
3514GAME( 1990, hharryu,     hharry,   hharryu,  hharry,   0,        ROT0,   "Irem America", "Hammerin' Harry (US)", GAME_NO_COCKTAIL )
3515GAME( 1990, dkgensan,    hharry,   hharryu,  hharry,   0,        ROT0,   "Irem", "Daiku no Gensan (Japan)", GAME_NO_COCKTAIL )
3516GAME( 1990, dkgensanm72, hharry,   dkgenm72, hharry,   dkgenm72, ROT0,   "Irem", "Daiku no Gensan (Japan, M72)", GAME_NO_COCKTAIL )
3517GAME( 1990, poundfor,    0,        poundfor, poundfor, 0,        ROT270, "Irem", "Pound for Pound (World)", GAME_NO_COCKTAIL )
3518GAME( 1990, poundforj,   poundfor, poundfor, poundfor, 0,        ROT270, "Irem", "Pound for Pound (Japan)", GAME_NO_COCKTAIL )
3519GAME( 1990, poundforu,   poundfor, poundfor, poundfor, 0,        ROT270, "Irem America", "Pound for Pound (US)", GAME_NO_COCKTAIL )
3520GAME( 1990, airduel,     0,        m72,      airduel,  airduel,  ROT270, "Irem", "Air Duel (Japan)", 0 )
3521GAME( 1991, cosmccop,    0,        cosmccop, gallop,   0,        ROT0,   "Irem", "Cosmic Cop (World)", GAME_NO_COCKTAIL )
3522GAME( 1991, gallop,      cosmccop, m72,      gallop,   gallop,   ROT0,   "Irem", "Gallop - Armed police Unit (Japan)", GAME_NO_COCKTAIL )
3523GAME( 1991, kengo,       0,        kengo,    kengo,    0,        ROT0,   "Irem", "Ken-Go", GAME_NO_COCKTAIL )
src/mame/drivers/crgolf.c
r5338r5339
596596GAME( 1984, crgolfa,  crgolf, crgolf,   crgolf,  0,        ROT0, "Nasco Japan", "Crowns Golf (834-5419-03)", GAME_SUPPORTS_SAVE )
597597GAME( 1984, crgolfb,  crgolf, crgolf,   crgolf,  0,        ROT0, "Nasco Japan", "Crowns Golf (set 3)", GAME_SUPPORTS_SAVE )
598598GAME( 1984, crgolfc,  crgolf, crgolf,   crgolf,  0,        ROT0, "Nasco Japan", "Champion Golf", GAME_SUPPORTS_SAVE )
599GAME( 1984, crgolfbt, crgolf, crgolf,   crgolf,  0,        ROT0, "Nasco Japan", "Champion Golf (bootleg)", GAME_SUPPORTS_SAVE )
599GAME( 1984, crgolfbt, crgolf, crgolf,   crgolf,  0,        ROT0, "bootleg", "Champion Golf (bootleg)", GAME_SUPPORTS_SAVE )
600600GAME( 1985, crgolfhi, 0,      crgolfhi, crgolf,  crgolfhi, ROT0, "Nasco Japan", "Crowns Golf in Hawaii" , GAME_SUPPORTS_SAVE )
src/mame/drivers/topspeed.c
r5338r5339
777777   ROM_LOAD( "b14-29.109",  0x10000, 0x10000, CRC(7ad983e7) SHA1(a3515caf93d6dab86de06ee52d6a13a456507dbe) )
778778ROM_END
779779
780ROM_START( topspedu )
780ROM_START( topspeedu )
781781   ROM_REGION( 0x100000, "maincpu", 0 )   /* 128K for 68000 code (CPU A) */
782782   ROM_LOAD16_BYTE     ( "b14-23", 0x00000, 0x10000, CRC(dd0307fd) SHA1(63218a707c78b3c785d1741dabdc511a76f12af1) )
783783   ROM_LOAD16_BYTE     ( "b14-24", 0x00001, 0x10000, CRC(acdf08d4) SHA1(506d48d27fc26684a3f884919665cf65a1b3062f) )
r5338r5339
856856}
857857
858858GAMEL( 1987, topspeed, 0,        topspeed, topspeed, topspeed, ROT0, "Taito Corporation Japan", "Top Speed (World)", 0, layout_topspeed )
859GAMEL( 1987, topspedu, topspeed, topspeed, fullthrl, topspeed, ROT0, "Taito America Corporation (Romstar license)", "Top Speed (US)", 0, layout_topspeed )
859GAMEL( 1987, topspeedu,topspeed, topspeed, fullthrl, topspeed, ROT0, "Taito America Corporation (Romstar license)", "Top Speed (US)", 0, layout_topspeed )
860860GAMEL( 1987, fullthrl, topspeed, topspeed, fullthrl, topspeed, ROT0, "Taito Corporation", "Full Throttle (Japan)", 0, layout_topspeed )
861861
src/mame/drivers/fantland.c
r5338r5339
10771077ROM_END
10781078
10791079/* this dump had several roms half size however they all appear to be data & gfx roms, the main program looks ok */
1080ROM_START( fantlnda )
1080ROM_START( fantlanda )
10811081   ROM_REGION( 0x100000, "maincpu", 0 )               // Main CPU
10821082   ROM_LOAD16_BYTE( "fantasyl.ev2", 0x00000, 0x20000, CRC(f5bdca0e) SHA1(d05cf6f68d4d1a3dcc0171f7cf220c4920bd47bb) ) // 04.bin (was first half only)
10831083   ROM_LOAD16_BYTE( "fantasyl.od2", 0x00001, 0x20000, CRC(9db35023) SHA1(81e2accd67dcf8563a68b2c4e35526f23a40150c) ) // 03.bin (was first half only)
r5338r5339
13731373
13741374GAME( 19??, borntofi, 0,        borntofi, borntofi, 0, ROT0,  "International Games",       "Born To Fight",        0 )
13751375GAME( 19??, fantland, 0,        fantland, fantland, 0, ROT0,  "Electronic Devices Italy",  "Fantasy Land (set 1)", 0 )
1376GAME( 19??, fantlnda, fantland, fantland, fantland, 0, ROT0,  "Electronic Devices Italy",  "Fantasy Land (set 2)", 0 )
1376GAME( 19??, fantlanda,fantland, fantland, fantland, 0, ROT0,  "Electronic Devices Italy",  "Fantasy Land (set 2)", 0 )
13771377GAME( 19??, wheelrun, 0,        wheelrun, wheelrun, 0, ROT0,  "International Games",       "Wheels Runner",        0 )
13781378GAME( 1989, galaxygn, 0,        galaxygn, galaxygn, 0, ROT90, "Electronics Devices Italy", "Galaxy Gunners",       GAME_IMPERFECT_SOUND )
src/mame/drivers/atarig1.c
r5338r5339
724724ROM_END
725725
726726
727ROM_START( pitfigh6 )
727ROM_START( pitfight6 )
728728   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
729729   ROM_LOAD16_BYTE( "136081-6028.05d", 0x00000, 0x10000, CRC(dae1d895) SHA1(d3852b932e318e3f6ab034aba8210d896f9f08da) )
730730   ROM_LOAD16_BYTE( "136081-6029.05b", 0x00001, 0x10000, CRC(4df13418) SHA1(e5469fbdd7263ca651d5cb7518576e4f9c4892e7) )
r5338r5339
775775ROM_END
776776
777777
778ROM_START( pitfigh5 )
778ROM_START( pitfight5 )
779779   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
780780   ROM_LOAD16_BYTE( "136081-5028.05d", 0x00000, 0x10000, CRC(dd34b528) SHA1(806e01f3fd6a1335cdcfd2e41f04e9046fe433b5) )
781781   ROM_LOAD16_BYTE( "136081-5029.05b", 0x00001, 0x10000, CRC(b0ee9a09) SHA1(df85aeae2c497fbb22732704c2d581a3c195fcfb) )
r5338r5339
826826ROM_END
827827
828828
829ROM_START( pitfigh4 )
829ROM_START( pitfight4 )
830830   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
831831   ROM_LOAD16_BYTE( "136081-4028.05d", 0x00000, 0x10000, CRC(f7cb1a4b) SHA1(024eb80d822559d9f3756710d1988f592639cd5e) )
832832   ROM_LOAD16_BYTE( "136081-4029.05b", 0x00001, 0x10000, CRC(13ae0d4f) SHA1(1816f40f7e3fee2427e11623c9f1d1b3515cbf72) )
r5338r5339
889889ROM_END
890890
891891
892ROM_START( pitfigh3 )
892ROM_START( pitfight3 )
893893   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
894894   ROM_LOAD16_BYTE( "136081-3028.05d", 0x00000, 0x10000, CRC(99530da4) SHA1(b542910127553d285f699d2b75e5d6fb071ff046) )
895895   ROM_LOAD16_BYTE( "136081-3029.05b", 0x00001, 0x10000, CRC(78c7afbf) SHA1(7588dfee1e120b69591499ddf2860490b1c66885) )
r5338r5339
952952ROM_END
953953
954954
955ROM_START( pitfighj )
955ROM_START( pitfightj )
956956   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
957957   ROM_LOAD16_BYTE( "136081-3428.05d", 0x00000, 0x10000, CRC(39be5484) SHA1(683ab8cf21f2b82aee11ce21b9dfbdb82083d6b6) )
958958   ROM_LOAD16_BYTE( "136081-3429.05b", 0x00001, 0x10000, CRC(2cb14a58) SHA1(004178b4869766c11904d1fdf72725ba481bc8cc) )
r5338r5339
10151015ROM_END
10161016
10171017
1018ROM_START( pitfighb )
1018ROM_START( pitfightb )
10191019   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
10201020   ROM_LOAD16_BYTE( "pit9.bin", 0x00000, 0x10000, CRC(946fb15b) SHA1(dbde8daf60a6bda242ea0d627c1fe5034de18090) )
10211021   ROM_LOAD16_BYTE( "pit7.bin", 0x00001, 0x10000, CRC(a9e7163a) SHA1(d1536bde0df20fb5f78e5ce55d453cb0c2c0b663) )
r5338r5339
11101110GAME( 1990, hydrap,   hydra,    atarig1, hydra,    hydrap,   ROT0, "Atari Games", "Hydra (prototype 5/14/90)", GAME_SUPPORTS_SAVE )
11111111GAME( 1990, hydrap2,  hydra,    atarig1, hydra,    hydrap,   ROT0, "Atari Games", "Hydra (prototype 5/25/90)", GAME_SUPPORTS_SAVE )
11121112
1113GAME( 1990, pitfight, 0,        atarig1, pitfight, pitfigh7, ROT0, "Atari Games", "Pit Fighter (rev 7)", GAME_SUPPORTS_SAVE )
1114GAME( 1990, pitfigh6, pitfight, atarig1, pitfight, pitfighj, ROT0, "Atari Games", "Pit Fighter (rev 6)", GAME_SUPPORTS_SAVE )
1115GAME( 1990, pitfigh5, pitfight, atarig1, pitfight, pitfigh7, ROT0, "Atari Games", "Pit Fighter (rev 5)", GAME_SUPPORTS_SAVE )
1116GAME( 1990, pitfigh4, pitfight, atarig1, pitfight, pitfight, ROT0, "Atari Games", "Pit Fighter (rev 4)", GAME_SUPPORTS_SAVE )
1117GAME( 1990, pitfigh3, pitfight, atarig1, pitfight, pitfight, ROT0, "Atari Games", "Pit Fighter (rev 3)", GAME_SUPPORTS_SAVE )
1118GAME( 1990, pitfighj, pitfight, atarig1, pitfighj, pitfighj, ROT0, "Atari Games", "Pit Fighter (Japan, 2 players)", GAME_SUPPORTS_SAVE )
1119GAME( 1990, pitfighb, pitfight, atarig1, pitfight, pitfighb, ROT0, "Atari Games", "Pit Fighter (bootleg)", GAME_SUPPORTS_SAVE )
1113GAME( 1990, pitfight,  0,        atarig1, pitfight, pitfigh7, ROT0, "Atari Games", "Pit Fighter (rev 7)", GAME_SUPPORTS_SAVE )
1114GAME( 1990, pitfight6, pitfight, atarig1, pitfight, pitfighj, ROT0, "Atari Games", "Pit Fighter (rev 6)", GAME_SUPPORTS_SAVE )
1115GAME( 1990, pitfight5, pitfight, atarig1, pitfight, pitfigh7, ROT0, "Atari Games", "Pit Fighter (rev 5)", GAME_SUPPORTS_SAVE )
1116GAME( 1990, pitfight4, pitfight, atarig1, pitfight, pitfight, ROT0, "Atari Games", "Pit Fighter (rev 4)", GAME_SUPPORTS_SAVE )
1117GAME( 1990, pitfight3, pitfight, atarig1, pitfight, pitfight, ROT0, "Atari Games", "Pit Fighter (rev 3)", GAME_SUPPORTS_SAVE )
1118GAME( 1990, pitfightj, pitfight, atarig1, pitfighj, pitfighj, ROT0, "Atari Games", "Pit Fighter (Japan, 2 players)", GAME_SUPPORTS_SAVE )
1119GAME( 1990, pitfightb, pitfight, atarig1, pitfight, pitfighb, ROT0, "Atari Games", "Pit Fighter (bootleg)", GAME_SUPPORTS_SAVE )
src/mame/drivers/legionna.c
r5338r5339
13151315   ROM_LOAD( "5",   0x00000, 0x20000, CRC(21d09bde) SHA1(8dce5011e083706ac7b57c5aee4b79d30fa8d4cb) )
13161316ROM_END
13171317
1318ROM_START( legionnu )
1318ROM_START( legionnau )
13191319   ROM_REGION( 0x80000, "maincpu", 0 )   /* 68000 code */
13201320   ROM_LOAD32_BYTE( "1",   0x00000, 0x20000, CRC(9e2d3ec8) SHA1(8af9ca349389cbbd2b541aafa09de57f87f6fd72) )
13211321   ROM_LOAD32_BYTE( "2",   0x00001, 0x20000, CRC(35c8a28f) SHA1(31a1f2f9e04dfcab4b3357d6d27c24b434a8c14b) )
r5338r5339
21082108
21092109
21102110GAME( 1992, legionna, 0,        legionna, legionna, legiongfx, ROT0, "Tad", "Legionnaire (World)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2111GAME( 1992, legionnu, legionna, legionna, legionna, legiongfx, ROT0, "Tad (Fabtek license)", "Legionnaire (US)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2111GAME( 1992, legionnau,legionna, legionna, legionna, legiongfx, ROT0, "Tad (Fabtek license)", "Legionnaire (US)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
21122112
21132113GAME( 1992, heatbrl,  0,        heatbrl,  heatbrl,  0,   ROT0, "Tad", "Heated Barrel (World version 3)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
21142114GAME( 1992, heatbrl2, heatbrl,  heatbrl,  heatbrl,  0,   ROT0, "Tad", "Heated Barrel (World version 2)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
src/mame/drivers/aristmk4.c
r5338r5339
498498
499499MACHINE_DRIVER_END
500500
501ROM_START( 3bagflnz )
501502
503   ROM_REGION(0x10000, "maincpu", 0 )
504    /* VIDEO AND SOUND EPROM */
505   ROM_LOAD("u59.bin", 0x02000, 0x2000, CRC(84226547) SHA1(df9c2c01a7ac4d930c06a8c4863853ddb1a2adbe)) // sound and video rom
506
507    /* GAME EPROMS */
508   ROM_LOAD("u87.bin", 0x06000, 0x2000, CRC(ba97a469) SHA1(fee56fe7116d1f1aab2b0f2526101d4eb87f0bf1)) // game code
509   ROM_LOAD("u86.bin", 0x08000, 0x8000, CRC(c632c7c7) SHA1(f3090d037f71a0cf099bb55abbc509cf95f0cbba)) // game code
510
511   /* SHAPE EPROMS */
512   ROM_REGION(0xc000, "tile_gfx", 0 )
513   ROM_LOAD("u20.bin", 0x00000, 0x2000, BAD_DUMP CRC(44babe95) SHA1(047c00ebb21030563921108b8e24f62e9ef44a10)) // gfx
514   ROM_LOAD("u21.bin", 0x02000, 0x2000, BAD_DUMP CRC(06218c95) SHA1(cbda8e50fd4e9c8a3c51a006921a85d4bfaa6f78))
515      ROM_LOAD("u22.bin", 0x04000, 0x2000, BAD_DUMP CRC(191e73f1) SHA1(e6d510b155f9cd3427a70346e5ff28969309be4e))
516   ROM_LOAD("u45.bin", 0x06000, 0x2000, BAD_DUMP CRC(054c55cb) SHA1(3df1893095f867220f3d6a52a40bcdffbfc8b529))
517   ROM_LOAD("u46.bin", 0x08000, 0x2000, BAD_DUMP CRC(7a4e8b80) SHA1(35711d6a8f5675ad6c6496bf8e7e5a73504f2409))
518   ROM_LOAD("u47.bin", 0x0a000, 0x2000, BAD_DUMP CRC(609ecf9e) SHA1(9d819bb71f62eb4dd1b3d71748e87c7d77e2afe6))
519
520    /* COLOR PROM */
521   ROM_REGION(0x200, "proms", 0 )
522   ROM_LOAD("u71.bin", 0x0000, 0x0200,  CRC(75814247) SHA1(9d123dadba3b5a1fd1c7f0100b255c4dd4f7e04f))
523ROM_END
524
525ROM_START( blkrhino )
526
527   ROM_REGION(0x10000, "maincpu", 0 )
528    /* VIDEO AND SOUND EPROM */
529   ROM_LOAD("u59.bin", 0x02000, 0x2000, CRC(84226547) SHA1(df9c2c01a7ac4d930c06a8c4863853ddb1a2adbe)) // sound and video rom
530
531    /* GAME EPROMS */
532   ROM_LOAD("u87.bin", 0x06000, 0x2000, CRC(7aed16f5) SHA1(0229387e352da8e7278e5bc5c61079742d05d900)) // game code
533   ROM_LOAD("u86.bin", 0x08000, 0x8000, CRC(4739f0f0) SHA1(231b6ad26b6b5d413dbd0a23257e86814978449b)) // game code
534
535   /* SHAPE EPROMS */
536   ROM_REGION(0xc000, "tile_gfx", 0 )
537   ROM_LOAD("u20.bin", 0x00000, 0x2000, CRC(0559fe98) SHA1(2ffb7b3ce3b7ba3bd846cae514b66b1c1a3be91f)) // gfx
538   ROM_LOAD("u21.bin", 0x02000, 0x2000, CRC(c0b94f7b) SHA1(8fc3bc53c532407b77682e5e9ac6a625081d22a3))
539      ROM_LOAD("u22.bin", 0x04000, 0x2000, CRC(2f4f0fe5) SHA1(b6c75bd3b6281a2de7bfea8162c39d58b0e8fa32))
540   ROM_LOAD("u45.bin", 0x06000, 0x2000, CRC(e483b4cd) SHA1(1cb3f77e7d470d7dcd8e50a0f59298d5546e8b58))
541   ROM_LOAD("u46.bin", 0x08000, 0x2000, CRC(4a0ce91d) SHA1(e2f853c69fb256870c9809cdfbba2b40b47a0004))
542   ROM_LOAD("u47.bin", 0x0a000, 0x2000, CRC(b265276e) SHA1(8fc0b7a0c12549b4138c51eb91b74f13282909dd))
543
544    /* COLOR PROM */
545   ROM_REGION(0x200, "proms", 0 )
546   ROM_LOAD("u71.bin", 0x0000, 0x0200,  CRC(75814247) SHA1(9d123dadba3b5a1fd1c7f0100b255c4dd4f7e04f))
547ROM_END
548
549ROM_START( coralr2 )
550
551   ROM_REGION(0x10000, "maincpu", 0 )
552    /* VIDEO AND SOUND EPROM */
553   ROM_LOAD("u59.bin", 0x02000, 0x2000, CRC(84226547) SHA1(df9c2c01a7ac4d930c06a8c4863853ddb1a2adbe)) // sound and video rom
554
555    /* GAME EPROMS */
556   ROM_LOAD("u87.bin", 0x06000, 0x2000, CRC(f51e541b) SHA1(00f5b9019cdae77d4b5745156b92343d22ad3a6e)) // game code
557   ROM_LOAD("u86.bin", 0x08000, 0x8000, CRC(d8d27f65) SHA1(19aec2a29e9d3ecbd8ecfd74ae60cfbf197d2faa)) // game code
558
559   /* SHAPE EPROMS */
560   ROM_REGION(0xc000, "tile_gfx", 0 )
561   ROM_LOAD("u20.bin", 0x00000, 0x2000, CRC(5156f5ec) SHA1(8b4d0699b4477531d513e21f549fcc0ee6ea82ee)) // gfx
562   ROM_LOAD("u21.bin", 0x02000, 0x2000, CRC(bf27732a) SHA1(9383dfc37c5c3ad0d628f2134f010e977e25ef39))
563      ROM_LOAD("u22.bin", 0x04000, 0x2000, CRC(a563c2fa) SHA1(10dab35515e2d8332d114a5f103343403334a65f))
564   ROM_LOAD("u45.bin", 0x06000, 0x2000, CRC(73814767) SHA1(91c77d7b634bd8a5c32e0ceeb54a8bbeedfe8130))
565   ROM_LOAD("u46.bin", 0x08000, 0x2000, CRC(e13ec0ed) SHA1(80d5ef2d980a8fe1f2bb28b512022518ffc82de1))
566   ROM_LOAD("u47.bin", 0x0a000, 0x2000, CRC(30e88bb4) SHA1(dfcd21c6fc50123dfcc0e60429948c650a6de625))
567
568    /* COLOR PROM */
569   ROM_REGION(0x200, "proms", 0 )
570   ROM_LOAD("u71.bin", 0x0000, 0x0200,  CRC(75814247) SHA1(9d123dadba3b5a1fd1c7f0100b255c4dd4f7e04f))
571ROM_END
572
502573ROM_START( eforest )
503574
504575   ROM_REGION(0x10000, "maincpu", 0 )
r5338r5339
523594   ROM_LOAD("u71.bin", 0x0000, 0x0200,  CRC(75814247) SHA1(9d123dadba3b5a1fd1c7f0100b255c4dd4f7e04f))
524595ROM_END
525596
597ROM_START( eforesta )
598
599   ROM_REGION(0x10000, "maincpu", 0 )
600    /* VIDEO AND SOUND EPROM */
601   ROM_LOAD("u59.bin", 0x02000, 0x2000, CRC(84226547) SHA1(df9c2c01a7ac4d930c06a8c4863853ddb1a2adbe)) // sound and video rom
602
603    /* GAME EPROMS */
604   ROM_LOAD("u87.bin", 0x06000, 0x2000, CRC(03c2890f) SHA1(10d479b7ccece813676ad815a96169bbf259c49d)) // game code
605   ROM_LOAD("u86.bin", 0x08000, 0x8000, CRC(36125194) SHA1(dc681dc60b25893ca3ee101f6813c22b914771f5)) // game code
606
607   /* SHAPE EPROMS */
608   ROM_REGION(0xc000, "tile_gfx", 0 )
609   ROM_LOAD("u20.bin", 0x00000, 0x2000, CRC(00446ff1) SHA1(e37e2782669667efab07ab3cd4e2c9f87770add5)) // gfx
610   ROM_LOAD("u21.bin", 0x02000, 0x2000, CRC(75670af6) SHA1(c6ce3dcc9e46ebdee65220cc0e0c8b43ee786ec0))
611      ROM_LOAD("u22.bin", 0x04000, 0x2000, CRC(531378f3) SHA1(7ce52ccfb38c8078eeb77e43cff8e426bd8d4d0f))
612   ROM_LOAD("u45.bin", 0x06000, 0x2000, CRC(e4dd4c72) SHA1(caeb1f754bcb7304b9a61786fb818eea7714808f))
613   ROM_LOAD("u46.bin", 0x08000, 0x2000, CRC(75ad8e3f) SHA1(87812850f08f8ad3057d0e5a2a20ad8acba01a26))
614   ROM_LOAD("u47.bin", 0x0a000, 0x2000, CRC(af9f9869) SHA1(1dac81470889a5fc5b58f3ad0c8dfa1369a800e8))
615
616    /* COLOR PROM */
617   ROM_REGION(0x200, "proms", 0 )
618   ROM_LOAD("u71.bin", 0x0000, 0x0200,  CRC(75814247) SHA1(9d123dadba3b5a1fd1c7f0100b255c4dd4f7e04f))
619ROM_END
620
621ROM_START( eforestb )
622
623   ROM_REGION(0x10000, "maincpu", 0 )
624    /* VIDEO AND SOUND EPROM */
625   ROM_LOAD("u59.bin", 0x02000, 0x2000, CRC(84226547) SHA1(df9c2c01a7ac4d930c06a8c4863853ddb1a2adbe)) // sound and video rom
626
627    /* GAME EPROMS */
628   ROM_LOAD("u87.bin", 0x06000, 0x2000, CRC(49b9c5ef) SHA1(bd1761f41ddb3f19b6b923de77743a2b5ec078e1)) // game code
629   ROM_LOAD("u86.bin", 0x08000, 0x8000, CRC(a3eb0c09) SHA1(5a0947f2f36a87dffe4041fbaebaabb1c694bafe)) // game code
630
631   /* SHAPE EPROMS */
632   ROM_REGION(0xc000, "tile_gfx", 0 )
633   ROM_LOAD("u20.bin", 0x00000, 0x2000, CRC(bf3a23b0) SHA1(00405e0c0ac03ecffba1077bacf61265cca72130)) // gfx
634   ROM_LOAD("u21.bin", 0x02000, 0x2000, CRC(ba171964) SHA1(7d43559965f467f07419f77d07d7d34ae60d2e90))
635      ROM_LOAD("u22.bin", 0x04000, 0x2000, CRC(531378f3) SHA1(7ce52ccfb38c8078eeb77e43cff8e426bd8d4d0f))
636   ROM_LOAD("u45.bin", 0x06000, 0x2000, CRC(e4dd4c72) SHA1(caeb1f754bcb7304b9a61786fb818eea7714808f))
637   ROM_LOAD("u46.bin", 0x08000, 0x2000, CRC(a3ca69b0) SHA1(c4bdd8afbb4d076f07d4a14a7e7ac8907a0cb7ec))
638   ROM_LOAD("u47.bin", 0x0a000, 0x2000, CRC(af9f9869) SHA1(1dac81470889a5fc5b58f3ad0c8dfa1369a800e8))
639
640    /* COLOR PROM */
641   ROM_REGION(0x200, "proms", 0 )
642   ROM_LOAD("u71.bin", 0x0000, 0x0200,  CRC(75814247) SHA1(9d123dadba3b5a1fd1c7f0100b255c4dd4f7e04f))
643ROM_END
644
645ROM_START( goldenc )
646
647   ROM_REGION(0x10000, "maincpu", 0 )
648    /* VIDEO AND SOUND EPROM */
649   ROM_LOAD("u59.bin", 0x02000, 0x2000, CRC(84226547) SHA1(df9c2c01a7ac4d930c06a8c4863853ddb1a2adbe)) // sound and video rom
650
651    /* GAME EPROMS */
652   ROM_LOAD("u87.bin", 0x06000, 0x2000, CRC(49b9c5ef) SHA1(bd1761f41ddb3f19b6b923de77743a2b5ec078e1)) // game code
653   ROM_LOAD("u86.bin", 0x08000, 0x8000, CRC(a3eb0c09) SHA1(5a0947f2f36a87dffe4041fbaebaabb1c694bafe)) // game code
654
655   /* SHAPE EPROMS */
656   ROM_REGION(0xc000, "tile_gfx", 0 )
657   ROM_LOAD("u20.bin", 0x00000, 0x2000, CRC(d4b18412) SHA1(a42a06dbfc55730b27b3857646bfa34ae0e3cb32)) // gfx
658   ROM_LOAD("u21.bin", 0x02000, 0x2000, CRC(80e22d51) SHA1(5e187070d300209e31f603aa561011e17d4305d2))
659      ROM_LOAD("u22.bin", 0x04000, 0x2000, CRC(1f84ed74) SHA1(df2af247972d6540fd4aac31b51f3aa44248061c))
660   ROM_LOAD("u45.bin", 0x06000, 0x2000, CRC(9d267ef1) SHA1(3781e63552036dc7613b21704a4456ddfb67433f))
661   ROM_LOAD("u46.bin", 0x08000, 0x2000, CRC(a3ca369e) SHA1(e3076c9f3017991b93214bebf7f5227d995eeda1))
662   ROM_LOAD("u47.bin", 0x0a000, 0x2000, CRC(844fa43b) SHA1(b8ef6cc2aca955f41b15cd8e3c281eee4b611e80))
663
664    /* COLOR PROM */
665   ROM_REGION(0x200, "proms", 0 )
666   ROM_LOAD("u71.bin", 0x0000, 0x0200,  CRC(75814247) SHA1(9d123dadba3b5a1fd1c7f0100b255c4dd4f7e04f))
667ROM_END
668
669ROM_START( swtht2nz )
670
671   ROM_REGION(0x10000, "maincpu", 0 )
672    /* VIDEO AND SOUND EPROM */
673   ROM_LOAD("u59.bin", 0x02000, 0x2000, CRC(84226547) SHA1(df9c2c01a7ac4d930c06a8c4863853ddb1a2adbe)) // sound and video rom
674
675    /* GAME EPROMS */
676   ROM_LOAD("u87.bin", 0x06000, 0x2000, CRC(ae10c63f) SHA1(80e5aca4dec7d2503bf7be81ed8b761ebbe4c174)) // game code
677   ROM_LOAD("u86.bin", 0x08000, 0x8000, CRC(053e71f0) SHA1(4a45bd11b53347be90402cea7bd94a648d6b8129)) // game code
678
679   /* SHAPE EPROMS */
680   ROM_REGION(0xc000, "tile_gfx", 0 )
681   ROM_LOAD("u20.bin", 0x00000, 0x2000, CRC(1e38dfc3) SHA1(40a75fc35ebd49ea9c21cb42c30a2aba988c3139)) // gfx
682   ROM_LOAD("u21.bin", 0x02000, 0x2000, CRC(77caf3fa) SHA1(559898ccffffd8f59c555722dea75600c823997f))
683      ROM_LOAD("u22.bin", 0x04000, 0x2000, CRC(76babc55) SHA1(0902497ad2222490a690fe77feacc350d2997403))
684   ROM_LOAD("u45.bin", 0x06000, 0x2000, CRC(da9514b5) SHA1(d63562095cec463864dfd2c580aa93f45adef853))
685   ROM_LOAD("u46.bin", 0x08000, 0x2000, CRC(4d03c73f) SHA1(7ae629a90feb87019cc01ecef804c5ba28861f00))
686   ROM_LOAD("u47.bin", 0x0a000, 0x2000, CRC(c51e37bb) SHA1(8f3d9b61926fe21089559736b3458fe3b84618f2))
687
688    /* COLOR PROM */
689   ROM_REGION(0x200, "proms", 0 )
690   ROM_LOAD("u71.bin", 0x0000, 0x0200,  CRC(75814247) SHA1(9d123dadba3b5a1fd1c7f0100b255c4dd4f7e04f))
691ROM_END
692
693ROM_START( kgbird )
694
695   ROM_REGION(0x10000, "maincpu", 0 )
696    /* VIDEO AND SOUND EPROM */
697   ROM_LOAD("u59.bin", 0x02000, 0x2000, CRC(84226547) SHA1(df9c2c01a7ac4d930c06a8c4863853ddb1a2adbe)) // sound and video rom
698
699    /* GAME EPROMS */
700   ROM_LOAD("u87.bin", 0x06000, 0x2000, CRC(5e7c1762) SHA1(2e80be06c7737aca304d46f3c3f1efd24c570cfd)) // game code
701   ROM_LOAD("u86.bin", 0x08000, 0x8000, CRC(3450c544) SHA1(f8883ce3b4bd9073ec6bc985f4666b46f17de092)) // game code
702
703   /* SHAPE EPROMS */
704   ROM_REGION(0xc000, "tile_gfx", 0 )
705   ROM_LOAD("u20.bin", 0x00000, 0x2000, CRC(df737d57) SHA1(2ec7efe55938ee11376d12d51516c4094ad3fc01)) // gfx
706   ROM_LOAD("u21.bin", 0x02000, 0x2000, CRC(8e9a65d9) SHA1(e305b8d75b9666377498abf3e2801033effb969b))
707      ROM_LOAD("u22.bin", 0x04000, 0x2000, CRC(5614ee55) SHA1(3eb3872aa8d2b8c2bd798fd46cc715c64bf35714))
708   ROM_LOAD("u45.bin", 0x06000, 0x2000, CRC(cf496cf2) SHA1(cf097835b5f3d5a656ff84063c54d6b1d40703cd))
709   ROM_LOAD("u46.bin", 0x08000, 0x2000, CRC(e155c8d4) SHA1(9c50152dd420d545a88eaea98c2dd2ef49cf056a))
710   ROM_LOAD("u47.bin", 0x0a000, 0x2000, CRC(f91b66ba) SHA1(4f5d0f0562c6a6029ad6d76507091a159983d6f4))
711
712    /* COLOR PROM */
713   ROM_REGION(0x200, "proms", 0 )
714   ROM_LOAD("u71.bin", 0x0000, 0x0200,  CRC(75814247) SHA1(9d123dadba3b5a1fd1c7f0100b255c4dd4f7e04f))
715ROM_END
716
717ROM_START( kgbirda )
718
719   ROM_REGION(0x10000, "maincpu", 0 )
720    /* VIDEO AND SOUND EPROM */
721   ROM_LOAD("u59.bin", 0x02000, 0x2000, CRC(84226547) SHA1(df9c2c01a7ac4d930c06a8c4863853ddb1a2adbe)) // sound and video rom
722
723    /* GAME EPROMS */
724   ROM_LOAD("u87.bin", 0x06000, 0x2000, CRC(21c05874) SHA1(9ddcd34817bc6f88cb2a94374e492d29dd56fb9a)) // game code
725   ROM_LOAD("u86.bin", 0x08000, 0x8000, CRC(3450c544) SHA1(f8883ce3b4bd9073ec6bc985f4666b46f17de092)) // game code
726
727   /* SHAPE EPROMS */
728   ROM_REGION(0xc000, "tile_gfx", 0 )
729   ROM_LOAD("u20.bin", 0x00000, 0x2000, CRC(df737d57) SHA1(2ec7efe55938ee11376d12d51516c4094ad3fc01)) // gfx
730   ROM_LOAD("u21.bin", 0x02000, 0x2000, CRC(8e9a65d9) SHA1(e305b8d75b9666377498abf3e2801033effb969b))
731      ROM_LOAD("u22.bin", 0x04000, 0x2000, CRC(5614ee55) SHA1(3eb3872aa8d2b8c2bd798fd46cc715c64bf35714))
732   ROM_LOAD("u45.bin", 0x06000, 0x2000, CRC(cf496cf2) SHA1(cf097835b5f3d5a656ff84063c54d6b1d40703cd))
733   ROM_LOAD("u46.bin", 0x08000, 0x2000, CRC(e155c8d4) SHA1(9c50152dd420d545a88eaea98c2dd2ef49cf056a))
734   ROM_LOAD("u47.bin", 0x0a000, 0x2000, CRC(f91b66ba) SHA1(4f5d0f0562c6a6029ad6d76507091a159983d6f4))
735
736    /* COLOR PROM */
737   ROM_REGION(0x200, "proms", 0 )
738   ROM_LOAD("u71.bin", 0x0000, 0x0200,  CRC(75814247) SHA1(9d123dadba3b5a1fd1c7f0100b255c4dd4f7e04f))
739ROM_END
740
741ROM_START( phantomp )
742
743   ROM_REGION(0x10000, "maincpu", 0 )
744    /* VIDEO AND SOUND EPROM */
745   ROM_LOAD("u59.bin", 0x02000, 0x2000, CRC(84226547) SHA1(df9c2c01a7ac4d930c06a8c4863853ddb1a2adbe)) // sound and video rom
746
747    /* GAME EPROMS */
748   ROM_LOAD("u87.bin", 0x06000, 0x2000, CRC(84e8eeb5) SHA1(95dcbae79b42463480fb3dd2594570070ba1a3ef)) // game code
749   ROM_LOAD("u86.bin", 0x08000, 0x8000, CRC(a6aa3d6f) SHA1(64d97c52355d5d0faebe1ee704f6ad46cc90f0f1)) // game code
750
751   /* SHAPE EPROMS */
752   ROM_REGION(0xc000, "tile_gfx", 0 )
753   ROM_LOAD("u20.bin", 0x00000, 0x2000, CRC(0f73cf57) SHA1(f99aa9671297d8cefeff86e642af5ea3e7f6f6fb)) // gfx
754   ROM_LOAD("u21.bin", 0x02000, 0x2000, CRC(2449d69e) SHA1(181d7d093dce1acc332255cab5d56a9043bcab47))
755      ROM_LOAD("u22.bin", 0x04000, 0x2000, CRC(5cb0f179) SHA1(041f7baa5a36f544a98832753ff54ca5238f12c5))
756   ROM_LOAD("u45.bin", 0x06000, 0x2000, CRC(75f94143) SHA1(aac2b0bee1a0d83b25c6fd21f00803209b621543))
757   ROM_LOAD("u46.bin", 0x08000, 0x2000, CRC(6ead5ffc) SHA1(1611d5e2dd5ea06525b6079577a45e713a8065d5))
758   ROM_LOAD("u47.bin", 0x0a000, 0x2000, CRC(c1fb4f23) SHA1(6c9a4e52bd0312c9b49f91a1f563fecd87e5bb82))
759
760    /* COLOR PROM */
761   ROM_REGION(0x200, "proms", 0 )
762   ROM_LOAD("u71.bin", 0x0000, 0x0200,  CRC(75814247) SHA1(9d123dadba3b5a1fd1c7f0100b255c4dd4f7e04f))
763ROM_END
764
765ROM_START( topgear )
766
767   ROM_REGION(0x10000, "maincpu", 0 )
768    /* VIDEO AND SOUND EPROM */
769   ROM_LOAD("u59.bin", 0x02000, 0x2000, CRC(84226547) SHA1(df9c2c01a7ac4d930c06a8c4863853ddb1a2adbe)) // sound and video rom
770
771    /* GAME EPROMS */
772   ROM_LOAD("u87.bin", 0x06000, 0x2000, CRC(5628f477) SHA1(8517905b4d4174fea79e2e3ed38c80fcc6506c6a)) // game code
773   ROM_LOAD("u86.bin", 0x08000, 0x8000, CRC(d5afa54e) SHA1(4268c0ddb9beab68348ba520d47bea64b875d8a7)) // game code
774
775   /* SHAPE EPROMS */
776   ROM_REGION(0xc000, "tile_gfx", 0 )
777   ROM_LOAD("u20.bin", 0x00000, 0x2000, CRC(e3163956) SHA1(b3b55be33fad96858dc683860d72c81ed02b3d97)) // gfx
778   ROM_LOAD("u21.bin", 0x02000, 0x2000, CRC(9ce936cb) SHA1(cca6ec0190a61cb0b52fbe1b11fb678f5e0960df))
779      ROM_LOAD("u22.bin", 0x04000, 0x2000, CRC(972f091a) SHA1(b94a04e9503fb6f1a687c854076cfc9629ed7b6a))
780   ROM_LOAD("u45.bin", 0x06000, 0x2000, CRC(27fd4204) SHA1(0d082a4297a384c992188dd43be0ecb706117c13))
781   ROM_LOAD("u46.bin", 0x08000, 0x2000, CRC(186f3e3b) SHA1(57f82a79a3d24090f33f5525207d6697e954cdf5))
782   ROM_LOAD("u47.bin", 0x0a000, 0x2000, CRC(dc7d2dab) SHA1(16d223f28b377fafb478d6124fc0eb6d7dd7d591))
783
784    /* COLOR PROM */
785   ROM_REGION(0x200, "proms", 0 )
786   ROM_LOAD("u71.bin", 0x0000, 0x0200,  CRC(75814247) SHA1(9d123dadba3b5a1fd1c7f0100b255c4dd4f7e04f))
787ROM_END
788
526789static DRIVER_INIT( aristmk4 )
527790{
528791   //...
529792}
530793
531GAME( 1994, eforest,0, aristmk4, aristmk4, aristmk4, ROT0,  "Aristocrat", "Enchanted Forest - 12XF528902", GAME_NOT_WORKING|GAME_NO_SOUND )
794GAME( 1994, eforest,      0,aristmk4, aristmk4, aristmk4, ROT0,  "Aristocrat", "Enchanted Forest - 12XF528902", GAME_NOT_WORKING|GAME_NO_SOUND )
795GAME( 1995, eforesta,eforest, aristmk4, aristmk4, aristmk4, ROT0,  "Aristocrat", "Enchanted Forest - 4VXFC818", GAME_NOT_WORKING|GAME_NO_SOUND )
796GAME( 1996, eforestb,      0,aristmk4, aristmk4, aristmk4, ROT0,  "Aristocrat", "Enchanted Forest - 3VXFC5343 (New Zealand)", GAME_NOT_WORKING|GAME_NO_SOUND )
797GAME( 1994, 3bagflnz,      0,aristmk4, aristmk4, aristmk4, ROT0,  "Aristocrat", "3 Bags Full - 3VXFC5345 (New Zealand)", GAME_NOT_WORKING|GAME_NO_SOUND )
798GAME( 1996, blkrhino,      0,aristmk4, aristmk4, aristmk4, ROT0,  "Aristocrat", "Black Rhino - 3VXFC5344 (New Zealand)", GAME_NOT_WORKING|GAME_NO_SOUND )
799GAME( 1996, kgbird,         0,aristmk4, aristmk4, aristmk4, ROT0,  "Aristocrat", "K.G Bird - 4VXFC5341 (New Zealand, 87.98%)", GAME_NOT_WORKING|GAME_NO_SOUND )
800GAME( 1996, kgbirda,kgbird,   aristmk4, aristmk4, aristmk4, ROT0,  "Aristocrat", "K.G Bird - 4VXFC5341 (New Zealand, 91.97%)", GAME_NOT_WORKING|GAME_NO_SOUND )
801GAME( 1998, swtht2nz,      0,aristmk4, aristmk4, aristmk4, ROT0,  "Aristocrat", "Sweet Hearts II - 1VXFC5461 (New Zealand)", GAME_NOT_WORKING|GAME_NO_SOUND )
802GAME( 1996, goldenc,      0,aristmk4, aristmk4, aristmk4, ROT0,  "Aristocrat", "Golden Canaries - 1VXFC5462", GAME_NOT_WORKING|GAME_NO_SOUND )
803GAME( 1996, topgear,      0,aristmk4, aristmk4, aristmk4, ROT0,  "Aristocrat", "Top Gear - 4VXFC969", GAME_NOT_WORKING|GAME_NO_SOUND )
804GAME( 1998, phantomp,      0,aristmk4, aristmk4, aristmk4, ROT0,  "Aristocrat", "Phantom Pays - 4VXFC5431 (New Zealand)", GAME_NOT_WORKING|GAME_NO_SOUND )
805GAME( 2000, coralr2,      0,aristmk4, aristmk4, aristmk4, ROT0,  "Aristocrat", "Coral Riches II - 1VXFC5472 (New Zealand)", GAME_NOT_WORKING|GAME_NO_SOUND )
src/mame/drivers/thunderx.c
r5338r5339
800800   ROM_LOAD( "873a08.f20",   0x0000, 0x0100, CRC(e2d09a1b) SHA1(a9651e137486b2df367c39eb43f52d0833589e87) )   /* priority encoder (not used) */
801801ROM_END
802802
803ROM_START( thnderxa ) /* Alternate Starting stage then the other 2 sets, Perhaps a US set? */
803ROM_START( thunderxa ) /* Alternate Starting stage then the other 2 sets, Perhaps a US set? */
804804   ROM_REGION( 0x29000, "maincpu", 0 )   /* ROMs + banked RAM */
805805   ROM_LOAD( "873-k03.k15", 0x10000, 0x10000, CRC(276817ad) SHA1(34b1beecf2a4c54dd7cd150c5d83b44f67be288a) )
806806   ROM_LOAD( "873-k02.k13", 0x20000, 0x08000, CRC(80cc1c45) SHA1(881bc6eea94671e8c3fdb7a10b0e742b18cb7212) )
r5338r5339
833833   ROM_LOAD( "873a08.f20",   0x0000, 0x0100, CRC(e2d09a1b) SHA1(a9651e137486b2df367c39eb43f52d0833589e87) )   /* priority encoder (not used) */
834834ROM_END
835835
836ROM_START( thnderxb ) /* Set had no labels, same starting stage as parent set */
836ROM_START( thunderxb ) /* Set had no labels, same starting stage as parent set */
837837   ROM_REGION( 0x29000, "maincpu", 0 )   /* ROMs + banked RAM */
838838   ROM_LOAD( "873-03.k15", 0x10000, 0x10000, CRC(36680a4e) SHA1(9b3b6bf75a9c04e764448cd958277bd081cc4a53) )
839839   ROM_LOAD( "873-02.k13", 0x20000, 0x08000, CRC(c58b2c34) SHA1(4050d2edc579ffedba3d40782a08e43ac89b1b86) )
r5338r5339
866866   ROM_LOAD( "873a08.f20",   0x0000, 0x0100, CRC(e2d09a1b) SHA1(a9651e137486b2df367c39eb43f52d0833589e87) )   /* priority encoder (not used) */
867867ROM_END
868868
869ROM_START( thnderxj )
869ROM_START( thunderxj )
870870   ROM_REGION( 0x29000, "maincpu", 0 )   /* ROMs + banked RAM */
871871   ROM_LOAD( "873-n03.k15", 0x10000, 0x10000, CRC(a01e2e3e) SHA1(eba0d95dc0c5eed18743a96e4bbda5e60d5d9c97) )
872872   ROM_LOAD( "873-n02.k13", 0x20000, 0x08000, CRC(55afa2cc) SHA1(5fb9df0c7c7c0c2029dbe0f3c1e0340234a03e8a) )
r5338r5339
942942GAME( 1988, scontra,  0,        scontra,  scontra,  scontra, ROT90, "Konami", "Super Contra", 0 )
943943GAME( 1988, scontraj, scontra,  scontra,  scontra,  scontra, ROT90, "Konami", "Super Contra (Japan)", 0 )
944944GAME( 1988, thunderx, 0,        thunderx, thunderx, scontra, ROT0,  "Konami", "Thunder Cross (set 1)", 0 )
945GAME( 1988, thnderxa, thunderx, thunderx, thunderx, scontra, ROT0,  "Konami", "Thunder Cross (set 2)", 0 )
946GAME( 1988, thnderxb, thunderx, thunderx, thunderx, scontra, ROT0,  "Konami", "Thunder Cross (set 3)", 0 )
947GAME( 1988, thnderxj, thunderx, thunderx, thnderxj, scontra, ROT0,  "Konami", "Thunder Cross (Japan)", 0 )
945GAME( 1988, thunderxa,thunderx, thunderx, thunderx, scontra, ROT0,  "Konami", "Thunder Cross (set 2)", 0 )
946GAME( 1988, thunderxb,thunderx, thunderx, thunderx, scontra, ROT0,  "Konami", "Thunder Cross (set 3)", 0 )
947GAME( 1988, thunderxj,thunderx, thunderx, thnderxj, scontra, ROT0,  "Konami", "Thunder Cross (Japan)", 0 )
948948//GAME( 1988, thndrxja, thunderx, thunderx, thndrxja, scontra, ROT0,  "Konami", "Thunder Cross (Japan, newer revision)", 0 )
src/mame/drivers/galaxi.c
r5338r5339
252252***************************************************************************/
253253
254254static INPUT_PORTS_START( galaxi )
255
256255   PORT_START("INPUTS")
257   PORT_BIT( 0x0001, IP_ACTIVE_HIGH, IPT_BUTTON1  ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
258   PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_BUTTON2  ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
259   PORT_BIT( 0x0004, IP_ACTIVE_HIGH, IPT_BUTTON3  ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
260   PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_BUTTON4  ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
261   PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_BUTTON5  ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
262   PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_START1   )
263   PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_START2   ) PORT_NAME("Pay Out")
264   PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_SPECIAL  ) PORT_CUSTOM( hopper_r, (void *)0 )   // hopper sensor
265   PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_COIN1    ) PORT_IMPULSE(5)   // coin a
266   PORT_BIT( 0x0200, IP_ACTIVE_HIGH, IPT_COIN2    ) PORT_IMPULSE(5)   // coin b (token)
267   PORT_BIT( 0x0400, IP_ACTIVE_HIGH, IPT_COIN3    )   // pin 25LC
268   PORT_BIT( 0x0800, IP_ACTIVE_HIGH, IPT_SPECIAL  ) PORT_CUSTOM( ticket_r, (void *)0 )   // ticket sensor
269   PORT_BIT( 0x1000, IP_ACTIVE_HIGH, IPT_SPECIAL  )   // hopper out (pin 14LS)
256   PORT_BIT( 0x0001, IP_ACTIVE_HIGH, IPT_POKER_HOLD1 )
257   PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_POKER_HOLD2 )
258   PORT_BIT( 0x0004, IP_ACTIVE_HIGH, IPT_POKER_HOLD3 )
259   PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_POKER_HOLD4 )
260   PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_POKER_HOLD5 )
261   PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_START1 )
262   PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_GAMBLE_PAYOUT )
263   PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_SPECIAL) PORT_CUSTOM( hopper_r, (void *)0 )   // hopper sensor
264   PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(5)   // coin a
265   PORT_BIT( 0x0200, IP_ACTIVE_HIGH, IPT_COIN2 ) PORT_IMPULSE(5)   // coin b (token)
266   PORT_BIT( 0x0400, IP_ACTIVE_HIGH, IPT_COIN3 )   // pin 25LC
267   PORT_BIT( 0x0800, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM( ticket_r, (void *)0 )   // ticket sensor
268   PORT_BIT( 0x1000, IP_ACTIVE_HIGH, IPT_SPECIAL )   // hopper out (pin 14LS)
270269   PORT_SERVICE_NO_TOGGLE( 0x2000, IP_ACTIVE_HIGH )   // test
271   PORT_BIT( 0x4000, IP_ACTIVE_HIGH, IPT_SPECIAL  )   // (pin 26LC)
272   PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_SPECIAL  )   // (pin 15LS)
273
270   PORT_BIT( 0x4000, IP_ACTIVE_HIGH, IPT_SPECIAL )   // (pin 26LC)
271   PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_SPECIAL )   // (pin 15LS)
274272INPUT_PORTS_END
275273
276274static INPUT_PORTS_START( magjoker )
277
278275   PORT_START("INPUTS")
279   PORT_BIT( 0x0001, IP_ACTIVE_HIGH, IPT_BUTTON1  ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
280   PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_BUTTON2  ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
281   PORT_BIT( 0x0004, IP_ACTIVE_HIGH, IPT_BUTTON3  ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
282   PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_BUTTON4  ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
283   PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_BUTTON5  ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
284   PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_START1   )
285   PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_START2   ) PORT_NAME("Pay Out")
286   PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_SPECIAL  ) PORT_CUSTOM( hopper_r, (void *)0 )   // hopper sensor
287   PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_COIN1    ) PORT_IMPULSE(5)   // coin a
288   PORT_BIT( 0x0200, IP_ACTIVE_HIGH, IPT_COIN2    ) PORT_IMPULSE(5)   // coin b (token)
289   PORT_BIT( 0x0400, IP_ACTIVE_HIGH, IPT_SERVICE  ) PORT_NAME("Hopper Refill") PORT_CODE(KEYCODE_H)
290   PORT_BIT( 0x0800, IP_ACTIVE_HIGH, IPT_SPECIAL  ) PORT_CUSTOM( ticket_r, (void *)0 )   // ticket sensor
291   PORT_BIT( 0x1000, IP_ACTIVE_HIGH, IPT_SPECIAL  )   // hopper out (pin 14LS)
276   PORT_BIT( 0x0001, IP_ACTIVE_HIGH, IPT_POKER_HOLD1 )
277   PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_POKER_HOLD2 )
278   PORT_BIT( 0x0004, IP_ACTIVE_HIGH, IPT_POKER_HOLD3 )
279   PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_POKER_HOLD4 )
280   PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_POKER_HOLD5 )
281   PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_START1 )
282   PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_GAMBLE_PAYOUT )
283   PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM( hopper_r, (void *)0 )   // hopper sensor
284   PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(5)   // coin a
285   PORT_BIT( 0x0200, IP_ACTIVE_HIGH, IPT_COIN2 ) PORT_IMPULSE(5)   // coin b (token)
286   PORT_BIT( 0x0400, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Hopper Refill") PORT_CODE(KEYCODE_H)
287   PORT_BIT( 0x0800, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM( ticket_r, (void *)0 )   // ticket sensor
288   PORT_BIT( 0x1000, IP_ACTIVE_HIGH, IPT_SPECIAL )   // hopper out (pin 14LS)
292289   PORT_SERVICE_NO_TOGGLE( 0x2000, IP_ACTIVE_HIGH )   // test
293   PORT_BIT( 0x4000, IP_ACTIVE_HIGH, IPT_SERVICE  ) PORT_NAME("Key Out") PORT_CODE(KEYCODE_W)   // (pin 26LC)
294   PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_SPECIAL  )   // (pin 15LS)
295
290   PORT_BIT( 0x4000, IP_ACTIVE_HIGH, IPT_GAMBLE_KEYOUT )   // (pin 26LC)
291   PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_SPECIAL )   // (pin 15LS)
296292INPUT_PORTS_END
297293
298294
src/mame/drivers/murogmbl.c
r5338r5339
103103
104104static INPUT_PORTS_START( murogmbl )
105105   PORT_START("IN0")
106   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_NAME("Clear")      PORT_CODE(KEYCODE_A)
107   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON7 ) PORT_NAME("Replay")      PORT_CODE(KEYCODE_2)
108   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1  ) PORT_NAME("Deal")
109   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_NAME("Hold 5")      PORT_CODE(KEYCODE_B)
110   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON8 ) PORT_NAME("Coin clear")   PORT_CODE(KEYCODE_S)
106   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_POKER_CANCEL ) PORT_NAME("Clear")
107   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_GAMBLE_BET ) PORT_NAME("Replay")
108   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_GAMBLE_DEAL )
109   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_POKER_HOLD5 )
110   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Coin clear") PORT_CODE(KEYCODE_S)
111111   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
112   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_COIN1   ) PORT_NAME("Coin 1")
113   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_COIN2   ) PORT_NAME("Coin 2")
112   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_NAME("Coin 1")
113   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_COIN2 ) PORT_NAME("Coin 2")
114114
115115   PORT_START("IN1")
116   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Hold 1")      PORT_CODE(KEYCODE_Z)
117   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Hold 2")      PORT_CODE(KEYCODE_X)
118   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("Hold 3")      PORT_CODE(KEYCODE_C)
119   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Hold 4")      PORT_CODE(KEYCODE_V)
116   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_POKER_HOLD1 )
117   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_POKER_HOLD2 )
118   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_POKER_HOLD3 )
119   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_POKER_HOLD4 )
120120   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
121121   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
122122   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
r5338r5339
208208   ROM_LOAD( "74s288.a8",   0x0000, 0x0020, CRC(fc35201c) SHA1(4549e228c48992e0d10957f029b89a547392e72b) )
209209ROM_END
210210
211GAME( 1982, murogmbl,  murogem,   murogmbl, murogmbl, 0, ROT0, "bootleg", "Muroge Monaco (bootleg?)", GAME_NO_SOUND )
211GAME( 1982, murogmbl,  murogem,   murogmbl, murogmbl, 0, ROT0, "bootleg?", "Muroge Monaco (bootleg?)", GAME_NO_SOUND )
src/mame/drivers/cabaret.c
r5338r5339
218218   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN  )
219219   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_NAME("Memory Clear")   // stats, memory
220220   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN  )
221   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_4) PORT_NAME("Payout")
221   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
222222   PORT_SERVICE_NO_TOGGLE( 0x20, IP_ACTIVE_LOW )
223   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F1) PORT_NAME("Statistics")
223   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Statistics")
224224   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN  )
225225
226226   PORT_START("COINS")
227227   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1   )
228228   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
229229   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2   )
230   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
231   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Down")
230   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
231   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Down")
232232   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
233233   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
234234   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
235235
236236   PORT_START("BUTTONS1")
237   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Hold1")
238   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Hold2")
239   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Hold3")
240   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Hold4")
241   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Hold5")
237   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
238   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
239   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
240   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
241   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
242242   PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED )
243243
244244   PORT_START("BUTTONS2")
245245   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
246   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Decrement")
247   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Bet")
248   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Collect")
249   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("W-Up")
246   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Decrement")
247   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
248   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Collect")
249   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("W-Up")
250250   PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED )
251251INPUT_PORTS_END
252252
r5338r5339
375375ROM_END
376376
377377GAME( 1992, cabaret,  0, cabaret,  cabaret, cabaret,  ROT0, "AMT Co. Ltd.", "Cabaret", GAME_NOT_WORKING )
378
src/mame/drivers/m90.c
r5338r5339
55    Hasamu                                                  1991 M90
66    Bomberman / Atomic Punk / Dynablaster                   1992 M90
77    Bomberman World / New Atomic Punk / New Dyna Blaster    1992 M99 A
8    Quiz F-1 1,2finish                                      1992 M97
8    Quiz F1 1-2 Finish                                      1992 M97
99    Risky Challenge / Gussun Oyoyo                          1993 M97
1010    Match It II / Shisensho II                              1993 M97-A
1111
r5338r5339
10111011   ROM_LOAD( "bbm-v0.20",    0x0000, 0x20000, CRC(0fa803fe) SHA1(d2ac1e624de38bed385442ceae09a76f203fa084) ) /* Labeled as 9132E9001 */
10121012ROM_END
10131013
1014ROM_START( dynablsb )
1014ROM_START( dynablstb )
10151015   ROM_REGION( 0x100000, "maincpu", 0 )
10161016   ROM_LOAD16_BYTE( "db2-26.bin",   0x00001, 0x20000, CRC(a78c72f8) SHA1(e3ed1bce0278bada6357b5d0823511fa0241f3cd) )
10171017   ROM_LOAD16_BYTE( "db3-25.bin",   0x00000, 0x20000, CRC(bf3137c3) SHA1(64bbca4b3a509b552ee8a19b3b50fe6638fd90e2) )
r5338r5339
12881288GAME( 1991, dynablst, 0,        bombrman, dynablst, 0,        ROT0, "Irem (licensed from Hudson Soft)", "Dynablaster / Bomber Man", GAME_NO_COCKTAIL )
12891289GAME( 1991, bombrman, dynablst, bombrman, bombrman, 0,        ROT0, "Irem (licensed from Hudson Soft)", "Bomber Man (Japan)", GAME_NO_COCKTAIL )
12901290GAME( 1991, atompunk, dynablst, bombrman, atompunk, 0,        ROT0, "Irem America (licensed from Hudson Soft)", "Atomic Punk (US)", GAME_NO_COCKTAIL )
1291GAME( 1991, dynablsb, dynablst, dynablsb, dynablsb, 0,        ROT0, "bootleg", "Dynablaster (bootleg)", GAME_NO_COCKTAIL )
1291GAME( 1991, dynablstb,dynablst, dynablsb, dynablsb, 0,        ROT0, "bootleg", "Dynablaster (bootleg)", GAME_NO_COCKTAIL )
12921292GAME( 1992, bbmanw,   0,        bbmanw,   bbmanw,   0,        ROT0, "Irem", "Bomber Man World / New Dyna Blaster - Global Quest", GAME_IMPERFECT_SOUND | GAME_NO_COCKTAIL )
12931293GAME( 1992, bbmanwj,  bbmanw,   bbmanwj,  bbmanwj,  0,        ROT0, "Irem", "Bomber Man World (Japan)", GAME_IMPERFECT_SOUND | GAME_NO_COCKTAIL )
12941294GAME( 1992, newapunk, bbmanw,   bbmanw,   bbmanwj,  0,        ROT0, "Irem America", "New Atomic Punk - Global Quest (US)", GAME_IMPERFECT_SOUND | GAME_NO_COCKTAIL )
12951295GAME( 1992, bomblord, bbmanw,   bomblord, bbmanw,   bomblord, ROT0, "bootleg", "Bomber Lord (bootleg)", GAME_IMPERFECT_SOUND | GAME_NO_COCKTAIL )
1296GAME( 1992, quizf1,   0,        quizf1,   quizf1,   quizf1,   ROT0, "Irem", "Quiz F-1 1,2finish", GAME_IMPERFECT_GRAPHICS | GAME_NO_COCKTAIL )
1296GAME( 1992, quizf1,   0,        quizf1,   quizf1,   quizf1,   ROT0, "Irem", "Quiz F1 1-2 Finish (Japan)", GAME_IMPERFECT_GRAPHICS | GAME_NO_COCKTAIL )
12971297GAME( 1993, riskchal, 0,        riskchal, riskchal, 0,        ROT0, "Irem", "Risky Challenge", GAME_NO_COCKTAIL )
12981298GAME( 1993, gussun,   riskchal, riskchal, riskchal, 0,        ROT0, "Irem", "Gussun Oyoyo (Japan)", GAME_NO_COCKTAIL )
12991299GAME( 1993, matchit2, 0,        matchit2, matchit2, 0,        ROT0, "Tamtex", "Match It II", GAME_NO_COCKTAIL )
src/mame/drivers/superqix.c
r5338r5339
13171317   ROM_LOAD( "b03-05.t8",    0x00000, 0x10000, CRC(df326540) SHA1(1fe025edcd38202e24c4e1005f478b6a88533453) )
13181318ROM_END
13191319
1320ROM_START( perestrf )
1320ROM_START( perestrof )
13211321   ROM_REGION( 0x20000, "maincpu", 0 )
13221322   /* 0x8000 - 0x10000 in the rom is empty anyway */
13231323   ROM_LOAD( "rom1.bin",        0x00000, 0x20000, CRC(0cbf96c1) SHA1(cf2b1367887d1b8812a56aa55593e742578f220c) )
r5338r5339
14411441GAME( 1987, sqixb1,   sqix,     sqix,     superqix, sqixa,    ROT90, "bootleg", "Super Qix (bootleg set 1)", GAME_SUPPORTS_SAVE )
14421442GAME( 1987, sqixb2,   sqix,     sqixbl,   superqix, 0,        ROT90, "bootleg", "Super Qix (bootleg set 2)", GAME_SUPPORTS_SAVE )
14431443GAME( 1994, perestro, 0,        sqixbl,   superqix, perestro, ROT90, "Promat", "Perestroika Girls", GAME_SUPPORTS_SAVE )
1444GAME( 1993, perestrf, perestro, sqixbl,   superqix, perestro, ROT90, "Promat (Fuuki license)", "Perestroika Girls (Fuuki license)", GAME_SUPPORTS_SAVE )
1444GAME( 1993, perestrof,perestro, sqixbl,   superqix, perestro, ROT90, "Promat (Fuuki license)", "Perestroika Girls (Fuuki license)", GAME_SUPPORTS_SAVE )
src/mame/drivers/cyberbal.c
r5338r5339
560560ROM_END
561561
562562
563ROM_START( cyberba2 )
563ROM_START( cyberbal2 )
564564   ROM_REGION( 0x40000, "maincpu", 0 )   /* 4*64k for 68000 code */
565565   ROM_LOAD16_BYTE( "136064-2123.1m",  0x000000, 0x010000, CRC(502676e8) SHA1(c0f1f1ce50d3df21cb81244268faef6c303cdfab) )
566566   ROM_LOAD16_BYTE( "136064-2124.1kl", 0x000001, 0x010000, CRC(30f55915) SHA1(ab93ec46f282ab9a0cd47c989537a7e036975e3f) )
r5338r5339
611611ROM_END
612612
613613
614ROM_START( cyberbap )
614ROM_START( cyberbalp )
615615   ROM_REGION( 0x40000, "maincpu", 0 )   /* 4*64k for 68000 code */
616616   ROM_LOAD16_BYTE( "136064-0123.1m",  0x000000, 0x010000, CRC(59bac810) SHA1(d4742b2b554c2ad62a2ea7152db3f06a06cddd67) )
617617   ROM_LOAD16_BYTE( "136064-0124.1kl", 0x000001, 0x010000, CRC(e48e6dd3) SHA1(4d45bc66c0a3eb1174db7f19c5dee54dabad68f3) )
r5338r5339
662662ROM_END
663663
664664
665ROM_START( cyberb2p )
665ROM_START( cyberbal2p )
666666   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
667667   ROM_LOAD16_BYTE( "136071-4019.10c", 0x000000, 0x010000, CRC(20c6b09c) SHA1(b12f9247621fe0242171140256b7b92c996dcb19) )
668668   ROM_LOAD16_BYTE( "136071-4020.10d", 0x000001, 0x010000, CRC(eaa6c524) SHA1(0bc48dca1f10fbb3dec441d06f447637b6c70356) )
r5338r5339
709709ROM_END
710710
711711
712ROM_START( cyberb23 )
712ROM_START( cyberbal2p3 )
713713   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
714714   ROM_LOAD16_BYTE( "136071-3019.10c", 0x000000, 0x010000, CRC(029f8cb6) SHA1(528ab6357592313b41964102c14b90862c05f248) )
715715   ROM_LOAD16_BYTE( "136071-3020.10d", 0x000001, 0x010000, CRC(1871b344) SHA1(2b6f2f4760af0f0e1e0b6cb34017dcdca7635e60) )
r5338r5339
756756ROM_END
757757
758758
759ROM_START( cyberb22 )
759ROM_START( cyberbal2p2 )
760760   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
761761   ROM_LOAD16_BYTE( "136071-2019.10c", 0x000000, 0x010000, CRC(acb1e18b) SHA1(37a80f0c8d8b46ebb9660c7f038fc874d4817e93) )
762762   ROM_LOAD16_BYTE( "136071-2020.10d", 0x000001, 0x010000, CRC(fd6ec2fd) SHA1(8b871e5e66acd26b8301ac35e3f42fba5b9fce2c) )
r5338r5339
803803ROM_END
804804
805805
806ROM_START( cyberb21 )
806ROM_START( cyberbal2p1 )
807807   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
808808   ROM_LOAD16_BYTE( "136071-1019.10c", 0x000000, 0x010000, CRC(37f5f8ba) SHA1(80552b41d7d1c3044ccd1cbfbac6051447915d41) )
809809   ROM_LOAD16_BYTE( "136071-1020.10d", 0x000001, 0x010000, CRC(cae4faa2) SHA1(e3282416b1d0dccd52dd8763a02647470dd37114) )
r5338r5339
850850ROM_END
851851
852852
853ROM_START( cyberbt )
853ROM_START( cyberbalt )
854854   ROM_REGION( 0x40000, "maincpu", 0 )   /* 4*64k for 68000 code */
855855   ROM_LOAD16_BYTE( "136073-2007.1m",  0x000000, 0x010000, CRC(adfa9e23) SHA1(5462030fa275ce7b261b7283e92df9f7f1383251) )
856856   ROM_LOAD16_BYTE( "136073-2008.1kl", 0x000001, 0x010000, CRC(c9191452) SHA1(583c1f916fbd54dbc188be7a181ccd60c7320cc8) )
r5338r5339
899899ROM_END
900900
901901
902ROM_START( cyberbt1 )
902ROM_START( cyberbalt1 )
903903   ROM_REGION( 0x40000, "maincpu", 0 )   /* 4*64k for 68000 code */
904904   ROM_LOAD16_BYTE( "136073-1007.1m",  0x000000, 0x010000, CRC(d434b2d7) SHA1(af6d51399ad4fca01ffbc7afa2bf73d7ee2f89b6) )
905905   ROM_LOAD16_BYTE( "136073-1008.1kl", 0x000001, 0x010000, CRC(7d6c4163) SHA1(f1fe9d758f30bd0ebc990d8604ba32cc0d780683) )
r5338r5339
997997 *
998998 *************************************/
999999
1000GAMEL(1988, cyberbal, 0,        cyberbal, cyberbal, cyberbal, ROT0, "Atari Games", "Cyberball (rev 4)", 0, layout_dualhsxs )
1001GAMEL(1988, cyberba2, cyberbal, cyberbal, cyberbal, cyberbal, ROT0, "Atari Games", "Cyberball (rev 2)", 0, layout_dualhsxs )
1002GAMEL(1988, cyberbap, cyberbal, cyberbal, cyberbal, cyberbal, ROT0, "Atari Games", "Cyberball (prototype)", 0, layout_dualhsxs )
1000GAMEL(1988, cyberbal,  0,        cyberbal, cyberbal, cyberbal, ROT0, "Atari Games", "Cyberball (rev 4)", 0, layout_dualhsxs )
1001GAMEL(1988, cyberbal2, cyberbal, cyberbal, cyberbal, cyberbal, ROT0, "Atari Games", "Cyberball (rev 2)", 0, layout_dualhsxs )
1002GAMEL(1988, cyberbalp, cyberbal, cyberbal, cyberbal, cyberbal, ROT0, "Atari Games", "Cyberball (prototype)", 0, layout_dualhsxs )
10031003
1004GAME( 1989, cyberb2p, cyberbal, cyberb2p, cyberb2p, cyberb2p, ROT0, "Atari Games", "Cyberball 2072 (2 player, rev 4)", 0 )
1005GAME( 1989, cyberb23, cyberbal, cyberb2p, cyberb2p, cyberb2p, ROT0, "Atari Games", "Cyberball 2072 (2 player, rev 3)", 0 )
1006GAME( 1989, cyberb22, cyberbal, cyberb2p, cyberb2p, cyberb2p, ROT0, "Atari Games", "Cyberball 2072 (2 player, rev 2)", 0 )
1007GAME( 1989, cyberb21, cyberbal, cyberb2p, cyberb2p, cyberb2p, ROT0, "Atari Games", "Cyberball 2072 (2 player, rev 1)", 0 )
1004GAME( 1989, cyberbal2p,  cyberbal, cyberb2p, cyberb2p, cyberb2p, ROT0, "Atari Games", "Cyberball 2072 (2 player, rev 4)", 0 )
1005GAME( 1989, cyberbal2p3, cyberbal, cyberb2p, cyberb2p, cyberb2p, ROT0, "Atari Games", "Cyberball 2072 (2 player, rev 3)", 0 )
1006GAME( 1989, cyberbal2p2, cyberbal, cyberb2p, cyberb2p, cyberb2p, ROT0, "Atari Games", "Cyberball 2072 (2 player, rev 2)", 0 )
1007GAME( 1989, cyberbal2p1, cyberbal, cyberb2p, cyberb2p, cyberb2p, ROT0, "Atari Games", "Cyberball 2072 (2 player, rev 1)", 0 )
10081008
1009GAMEL(1989, cyberbt,  cyberbal, cyberbal, cyberbal, cyberbt,  ROT0, "Atari Games", "Tournament Cyberball 2072 (rev 2)", 0, layout_dualhsxs )
1010GAMEL(1989, cyberbt1, cyberbal, cyberbal, cyberbal, cyberbt,  ROT0, "Atari Games", "Tournament Cyberball 2072 (rev 1)", 0, layout_dualhsxs )
1009GAMEL(1989, cyberbalt,  cyberbal, cyberbal, cyberbal, cyberbt,  ROT0, "Atari Games", "Tournament Cyberball 2072 (rev 2)", 0, layout_dualhsxs )
1010GAMEL(1989, cyberbalt1, cyberbal, cyberbal, cyberbal, cyberbt,  ROT0, "Atari Games", "Tournament Cyberball 2072 (rev 1)", 0, layout_dualhsxs )
10111011
src/mame/drivers/gijoe.c
r5338r5339
264264
265265   PORT_START("P1_P2")
266266   KONAMI16_LSB_40(1, IPT_BUTTON3 )
267   PORT_DIPNAME( 0x0080, 0x0000, "Sound" )
267   PORT_DIPNAME( 0x0080, 0x0000, "Sound" )         PORT_DIPLOCATION("SW1:1")
268268   PORT_DIPSETTING(      0x0080, DEF_STR( Mono ) )
269269   PORT_DIPSETTING(      0x0000, DEF_STR( Stereo ) )
270270   KONAMI16_MSB_40(2, IPT_BUTTON3 )
271   PORT_DIPNAME( 0x8000, 0x8000, "Coin mechanism" )
271   PORT_DIPNAME( 0x8000, 0x8000, "Coin mechanism" )   PORT_DIPLOCATION("SW1:2")
272272   PORT_DIPSETTING(      0x8000, "Common" )
273273   PORT_DIPSETTING(      0x0000, "Independant" )
274274
275275   PORT_START("P3_P4")
276276   KONAMI16_LSB_40(3, IPT_BUTTON3 )
277   PORT_DIPNAME( 0x0080, 0x0000, DEF_STR( Players ) )
277   PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Players ) )   PORT_DIPLOCATION("SW1:3")
278278   PORT_DIPSETTING(      0x0080, "2" )
279279   PORT_DIPSETTING(      0x0000, "4" )
280280   KONAMI16_MSB_40(4, IPT_BUTTON3 )
281   PORT_DIPUNUSED( 0x8000, IP_ACTIVE_LOW )
281   PORT_DIPUNUSED_DIPLOC( 0x8000, 0x8000, "SW1:4" )   /* Listed as "Unused" */
282282INPUT_PORTS_END
283283
284284static const k054539_interface k054539_config =
src/mame/drivers/tigeroad.c
r5338r5339
538538   MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM)
539539
540540   MDRV_SCREEN_ADD("screen", RASTER)
541   MDRV_SCREEN_REFRESH_RATE(60)
541   MDRV_SCREEN_REFRESH_RATE(60.08)   /* verified on pcb */
542542   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
543543   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
544544   MDRV_SCREEN_SIZE(32*8, 32*8)
r5338r5339
661661   ROM_LOAD( "trprom.bin",   0x0000, 0x0100, CRC(ec80ae36) SHA1(397ec8fc1b106c8b8d4bf6798aa429e8768a101a) )   /* priority (not used) */
662662ROM_END
663663
664ROM_START( tigerodb )
664ROM_START( tigeroadb )
665665   ROM_REGION( 0x40000, "maincpu", 0 ) /* 256K for 68000 code */
666666   ROM_LOAD16_BYTE( "tgrroad.3",    0x00000, 0x10000, CRC(14c87e07) SHA1(31363b56dd9d387f3ebd7ca1c209148c389ec1aa) )
667667   ROM_LOAD16_BYTE( "tgrroad.5",    0x00001, 0x10000, CRC(0904254c) SHA1(9ce7b8a699bc21618032db9b0c5494242ad77a6b) )
r5338r5339
785785
786786GAME( 1987, tigeroad, 0,        tigeroad, tigeroad, tigeroad, ROT0, "Capcom (Romstar license)", "Tiger Road (US)", 0 )
787787GAME( 1987, toramich, tigeroad, toramich, toramich, tigeroad, ROT0, "Capcom", "Tora-he no Michi (Japan)", 0 )
788GAME( 1987, tigerodb, tigeroad, tigeroad, tigeroad, tigeroad, ROT0, "bootleg", "Tiger Road (US bootleg)", 0 )
788GAME( 1987, tigeroadb,tigeroad, tigeroad, tigeroad, tigeroad, ROT0, "bootleg", "Tiger Road (US bootleg)", 0 )
789789
790790/* F1 Dream has an Intel 8751 microcontroller for protection */
791791GAME( 1988, f1dream,  0,        tigeroad, f1dream,  f1dream,  ROT0, "Capcom (Romstar license)", "F-1 Dream", 0 )
src/mame/drivers/segas32.c
r5338r5339
26602660    Dark Edge (Japan)
26612661    protected via FD1149 317-0204
26622662*/
2663ROM_START( darkedgj )
2663ROM_START( darkedgej )
26642664   ROM_REGION( 0x200000, "maincpu", 0 ) /* v60 code + data */
26652665   ROM_LOAD_x2( "epr15244.8", 0x000000, 0x080000, CRC(0db138cb) SHA1(79ccb754e0d816b395b536a6d9c5a6e93168a913) )
26662666
r5338r5339
29402940    Hard Dunk (Japan) (Multi-32)
29412941    not protected
29422942*/
2943ROM_START( harddunj )
2943ROM_START( harddunkj )
29442944   ROM_REGION( 0x200000, "maincpu", 0 ) /* v60 code */
29452945   ROM_LOAD32_WORD_x2( "16508.37", 0x000000, 0x40000, CRC(b3713be5) SHA1(8123638a838e41fcc0d32e14382421b521eff94f) )
29462946   ROM_LOAD32_WORD_x2( "16509.40", 0x000002, 0x40000, CRC(603dee75) SHA1(32ae964a4b57d470b4900cca6e06329f1a75a6e6) )
r5338r5339
31153115   ROM_LOAD( "mpr15552.bin", 0x200000, 0x200000, CRC(1c4b5e73) SHA1(50a8e9a200575a3522a51bf094aa0e87b90bb0a3) )
31163116ROM_END
31173117
3118ROM_START( orunneru )
3118ROM_START( orunnersu )
31193119   ROM_REGION( 0x200000, "maincpu", 0 ) /* v60 code */
31203120   ROM_LOAD32_WORD_x4( "epr15618.37", 0x000000, 0x020000, CRC(25647f76) SHA1(9f882921ebb2f078350295c322b263f75812c053) )
31213121   ROM_LOAD32_WORD_x4( "epr15619.40", 0x000002, 0x020000, CRC(2a558f95) SHA1(616ec0a7b251da61a49b933c58895b1a4d39417a) )
r5338r5339
33423342   ROMX_LOAD( "s32_obj07.ic24", 0x000007, 0x80000, CRC(22c129cf) SHA1(0f64680511a357038f6a556253c13fbb5417dd1a) , ROM_SKIP(7) )
33433343ROM_END
33443344
3345ROM_START( slipstrh )
3345ROM_START( slipstrmh )
33463346   ROM_REGION( 0x200000, "maincpu", 0 ) /* v60 code + data */
33473347   ROM_LOAD_x2( "s32h_prg01.ic6",    0x000000, 0x080000, CRC(ab778297) SHA1(e440d44b20f2f7478ef7d86af90af5eb7b9a545a) )
33483348   ROM_LOAD16_BYTE( "s32_dat00.ic14",0x100000, 0x080000, CRC(c3ff6309) SHA1(dcc857736fe0f15aa7909c3ee88a7e239c8f0228) )
r5338r5339
40314031GAME( 1992, brival,   0,        system32,     brival,   brival,   ROT0, "Sega",   "Burning Rival (World)", GAME_IMPERFECT_GRAPHICS )
40324032GAME( 1992, brivalj,  brival,   system32,     brival,   brival,   ROT0, "Sega",   "Burning Rival (Japan)", GAME_IMPERFECT_GRAPHICS )
40334033GAME( 1992, darkedge, 0,        system32,     darkedge, darkedge, ROT0, "Sega",   "Dark Edge (World)", GAME_IMPERFECT_GRAPHICS )
4034GAME( 1992, darkedgj, darkedge, system32,     darkedge, darkedge, ROT0, "Sega",   "Dark Edge (Japan)", GAME_IMPERFECT_GRAPHICS )
4034GAME( 1992, darkedgej,darkedge, system32,     darkedge, darkedge, ROT0, "Sega",   "Dark Edge (Japan)", GAME_IMPERFECT_GRAPHICS )
40354035GAME( 1994, dbzvrvs,  0,        system32,     dbzvrvs,  dbzvrvs,  ROT0, "Sega / Banpresto", "Dragon Ball Z V.R.V.S.", GAME_IMPERFECT_GRAPHICS)
40364036GAME( 1991, f1en,     0,        system32,     f1en,     f1en,     ROT0, "Sega",   "F1 Exhaust Note", GAME_IMPERFECT_GRAPHICS )
40374037GAME( 1993, f1lap,    0,        system32,     f1lap,    f1lap,    ROT0, "Sega",   "F1 Super Lap", GAME_NOT_WORKING )
r5338r5339
40464046GAMEL(1991, radr,     0,        system32,     radr,     radr,     ROT0, "Sega",   "Rad Rally (World)", GAME_IMPERFECT_GRAPHICS, layout_radr )
40474047GAMEL(1991, radru,    radr,     system32,     radr,     radr,     ROT0, "Sega",   "Rad Rally (US)", GAME_IMPERFECT_GRAPHICS, layout_radr )
40484048GAMEL(1995, slipstrm, 0,        system32,     slipstrm, slipstrm, ROT0, "Capcom", "Slipstream (950515 BRAZIL)", GAME_IMPERFECT_GRAPHICS, layout_radr )
4049GAMEL(1995, slipstrh, slipstrm, system32,     slipstrm, slipstrm, ROT0, "Capcom", "Slipstream (950515 HISPANIC)", GAME_IMPERFECT_GRAPHICS, layout_radr )
4049GAMEL(1995, slipstrmh,slipstrm, system32,     slipstrm, slipstrm, ROT0, "Capcom", "Slipstream (950515 HISPANIC)", GAME_IMPERFECT_GRAPHICS, layout_radr )
40504050GAME( 1992, sonic,    0,        system32,     sonic,    sonic,    ROT0, "Sega",   "SegaSonic The Hedgehog (Japan, rev. C)", GAME_IMPERFECT_GRAPHICS )
40514051GAME( 1992, sonicp,   sonic,    system32,     sonic,    sonicp,   ROT0, "Sega",   "SegaSonic The Hedgehog (Japan, prototype)", GAME_IMPERFECT_GRAPHICS )
40524052GAME( 1991, spidman,  0,        system32,     spidman,  spidman,  ROT0, "Sega",   "Spider-Man: The Videogame (World)", GAME_IMPERFECT_GRAPHICS )
r5338r5339
40564056GAME( 1994, jleague,  svf,      system32,     svf,      jleague,  ROT0, "Sega",   "The J.League 1994 (Japan)", GAME_IMPERFECT_GRAPHICS )
40574057
40584058GAME( 1994, harddunk, 0,        multi32,      harddunk, harddunk, ROT0, "Sega",   "Hard Dunk (World)", GAME_IMPERFECT_GRAPHICS )
4059GAME( 1994, harddunj, harddunk, multi32,      harddunk, harddunk, ROT0, "Sega",   "Hard Dunk (Japan)", GAME_IMPERFECT_GRAPHICS )
4059GAME( 1994, harddunkj,harddunk, multi32,      harddunk, harddunk, ROT0, "Sega",   "Hard Dunk (Japan)", GAME_IMPERFECT_GRAPHICS )
40604060GAME( 1992, orunners, 0,        multi32,      orunners, orunners, ROT0, "Sega",   "OutRunners (World)", GAME_IMPERFECT_GRAPHICS )
4061GAME( 1992, orunneru, orunners, multi32,      orunners, orunners, ROT0, "Sega",   "OutRunners (US)", GAME_IMPERFECT_GRAPHICS )
4061GAME( 1992, orunnersu,orunners, multi32,      orunners, orunners, ROT0, "Sega",   "OutRunners (US)", GAME_IMPERFECT_GRAPHICS )
40624062GAME( 1992, scross,   0,        multi32,      scross,   scross,   ROT0, "Sega",   "Stadium Cross (World)", GAME_IMPERFECT_GRAPHICS )
40634063GAME( 1992, scrossu,  scross,   multi32,      scross,   scross,   ROT0, "Sega",   "Stadium Cross (US)", GAME_IMPERFECT_GRAPHICS )
40644064GAME( 1992, titlef,   0,        multi32,      titlef,   titlef,   ROT0, "Sega",   "Title Fight (World)", GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/slapfght.c
r5338r5339
10981098   ROM_LOAD( "ci09.13",    0x200, 0x0020, CRC(aa0ca5a5) SHA1(4c45be71658f40ebb05634febba5822f1a8a7f79) )
10991099ROM_END
11001100
1101ROM_START( perfrmau )
1101ROM_START( perfrmanu )
11021102   ROM_REGION( 0x10000, "maincpu", 0 )             /* Main CPU code */
11031103   ROM_LOAD( "ci07.0",    0x00000, 0x4000, CRC(7ad32eea) SHA1(e5b29793e9c8c5c9322ca2af468a9810a598c0ae) )
11041104   ROM_LOAD( "ci108r5.1", 0x04000, 0x4000, CRC(9d373efa) SHA1(b1d87e033ee3c50cfc56db05891b00b7bc236733) )
r5338r5339
14201420ROM_END
14211421
14221422/* dump labeled Alcon, but GFX in tile roms clearly read Slap Fight */
1423ROM_START( slapfiga )
1423ROM_START( slapfigha )
14241424   ROM_REGION( 0x18000, "maincpu", 0 )
14251425   ROM_LOAD( "a76-00.bin",   0x00000, 0x4000, CRC(ac22bb86) SHA1(3ecff006fc487d494f21adb7bff6f8c56eb5d707) )
14261426   ROM_LOAD( "a76-01.bin",   0x04000, 0x4000, CRC(d6b4f02e) SHA1(37f840c444ba7dcc75810580c9da83289670d5cc) )
r5338r5339
18561856
18571857/*   ( YEAR  NAME      PARENT    MACHINE   INPUT     INIT    MONITOR  COMPANY    FULLNAME     FLAGS ) */
18581858GAME( 1985, perfrman, 0,        perfrman, perfrman, 0,        ROT270, "[Toaplan] Data East Corporation", "Performan (Japan)", 0 )
1859GAME( 1985, perfrmau, perfrman, perfrman, perfrman, 0,        ROT270, "[Toaplan] Data East USA",         "Performan (US)", 0 )
1859GAME( 1985, perfrmanu,perfrman, perfrman, perfrman, 0,        ROT270, "[Toaplan] Data East USA",         "Performan (US)", 0 )
18601860GAME( 1985, tigerh,   0,        tigerh,   tigerh,   tigerh,   ROT270, "Taito America Corp.", "Tiger Heli (US)", GAME_NO_COCKTAIL )
18611861GAME( 1985, tigerhj,  tigerh,   tigerh,   tigerh,   tigerh,   ROT270, "Taito",   "Tiger Heli (Japan)", GAME_NO_COCKTAIL )
18621862GAME( 1985, tigerhb1, tigerh,   tigerhb,  tigerh,   tigerhb,  ROT270, "bootleg", "Tiger Heli (bootleg set 1)", GAME_NO_COCKTAIL )
18631863GAME( 1985, tigerhb2, tigerh,    tigerhb,  tigerh,   0,        ROT270, "bootleg", "Tiger Heli (bootleg set 2)", GAME_NO_COCKTAIL )
18641864GAME( 1985, tigerhb3, tigerh,   tigerhb,  tigerh,   0,        ROT270, "bootleg", "Tiger Heli (bootleg set 3)", GAME_NO_COCKTAIL )
18651865GAME( 1986, slapfigh, 0,        slapfigh, slapfigh, slapfigh, ROT270, "Taito",   "Slap Fight (set 1)", GAME_NOT_WORKING | GAME_NO_COCKTAIL )
1866GAME( 1986, slapfiga, slapfigh, slapfigh, slapfigh, slapfigh, ROT270, "Taito",   "Slap Fight (set 2)", GAME_NOT_WORKING | GAME_NO_COCKTAIL )
1866GAME( 1986, slapfigha,slapfigh, slapfigh, slapfigh, slapfigh, ROT270, "Taito",   "Slap Fight (set 2)", GAME_NOT_WORKING | GAME_NO_COCKTAIL )
18671867GAME( 1986, alcon,    slapfigh, slapfigh, slapfigh, slapfigh, ROT270, "Taito America Corp.", "Alcon", GAME_NOT_WORKING | GAME_NO_COCKTAIL )
18681868GAME( 1986, slapbtjp, slapfigh, slapfigh, slapfigh, 0,        ROT270, "bootleg", "Slap Fight (Japan bootleg)", GAME_NO_COCKTAIL )
18691869GAME( 1986, slapbtuk, slapfigh, slapbtuk, slapfigh, 0,        ROT270, "bootleg", "Slap Fight (English bootleg)", GAME_NO_COCKTAIL )
src/mame/drivers/badlands.c
r5338r5339
741741
742742
743743/* bootleg by Playmark, uses Joystick controls */
744ROM_START( badlandb )
744ROM_START( badlandsb )
745745   /* bootleg 68k Program */
746746   ROM_REGION( 0x40000, "maincpu", 0 )   /* 4*64k for 68000 code */
747747   ROM_LOAD16_BYTE( "blb28.ic21",  0x00000, 0x10000, CRC(dffb025d) SHA1(f2c17607acbbeee7d5d3f3dd2e8dc768b755e991) )
r5338r5339
779779}
780780
781781
782GAME( 1989, badlandb, badlands, badlandb, badlands, badlandb, ROT0, "[Atari Games] (Playmark bootleg)", "Bad Lands (bootleg)", GAME_NOT_WORKING )
782GAME( 1989, badlandsb, badlands, badlandb, badlands, badlandb, ROT0, "[Atari Games] (Playmark bootleg)", "Bad Lands (bootleg)", GAME_NOT_WORKING )
src/mame/drivers/astinvad.c
r5338r5339
654654   ROM_LOAD( "clr",        0x0000, 0x0100, CRC(13c1803f) SHA1(da59bf63d9e84aca32904c107674bc89974648eb) )
655655ROM_END
656656
657ROM_START( spaceinj )
657ROM_START( spaceintj )
658658   ROM_REGION( 0x10000, "maincpu", 0 )
659659   ROM_LOAD( "3j",           0x0000, 0x0800, CRC(b26c57a1) SHA1(456330c09130f910e847ef4bfe773421615d1448) )
660660   ROM_LOAD( "3f",           0x0800, 0x0800, CRC(bac8b96c) SHA1(5a7b24402c7a1a08e69cf15eb31c93d411a7e929) )
r5338r5339
699699GAME( 19??, kosmokil, kamikaze, kamikaze, kamikaze, kamikaze, ROT270, "bootleg",            "Kosmo Killer", 0 ) // says >BEM< Mi Italy but it looks hacked in, dif revision of game tho.
700700GAME( 1979, spcking2, 0,        spcking2, spcking2, spcking2, ROT270, "Konami",             "Space King 2", 0 )
701701GAME( 1980, spaceint, 0,        spaceint, spaceint, 0,        ROT90,  "Shoei",              "Space Intruder", GAME_WRONG_COLORS )
702GAME( 1980, spaceinj, spaceint, spaceint, spaceinj, 0,        ROT90,  "Shoei",              "Space Intruder (Japan)", GAME_WRONG_COLORS )
702GAME( 1980, spaceintj,spaceint, spaceint, spaceinj, 0,        ROT90,  "Shoei",              "Space Intruder (Japan)", GAME_WRONG_COLORS )
src/mame/drivers/boogwing.c
r5338r5339
385385   ROM_LOAD( "kj-00.15n",    0x000000, 0x00400, CRC(add4d50b) SHA1(080e5a8192a146d5141aef5c8d9996ddf8cd3ab4) )
386386ROM_END
387387
388ROM_START( boogwina ) /* VER 1.5 ASA 92.12.07 */
388ROM_START( boogwinga ) /* VER 1.5 ASA 92.12.07 */
389389   ROM_REGION( 0x100000, "maincpu", 0 ) /* DE102 code (encrypted) */
390390   ROM_LOAD16_BYTE( "km_00-2.2b",    0x000000, 0x040000, CRC(71ab71c6) SHA1(00bfd71dd9ae5f12c574ab0ecc07d85898930c4b) )
391391   ROM_LOAD16_BYTE( "km_02-2.2e",    0x000001, 0x040000, CRC(e90f07f9) SHA1(1e8bd3983ed875f4752cbf2ab1c7e748d3df019c) )
r5338r5339
531531}
532532
533533GAME( 1992, boogwing, 0,        boogwing, boogwing,  boogwing,  ROT0, "Data East Corporation", "Boogie Wings (Euro v1.5, 92.12.07)", 0 )
534GAME( 1992, boogwina, boogwing, boogwing, boogwing,  boogwing,  ROT0, "Data East Corporation", "Boogie Wings (Asia v1.5, 92.12.07)", 0 )
534GAME( 1992, boogwinga,boogwing, boogwing, boogwing,  boogwing,  ROT0, "Data East Corporation", "Boogie Wings (Asia v1.5, 92.12.07)", 0 )
535535GAME( 1992, ragtime,  boogwing, boogwing, boogwing,  boogwing,  ROT0, "Data East Corporation", "The Great Ragtime Show (Japan v1.5, 92.12.07)", 0 )
536536GAME( 1992, ragtimea, boogwing, boogwing, boogwing,  boogwing,  ROT0, "Data East Corporation", "The Great Ragtime Show (Japan v1.3, 92.11.26)", 0 )
src/mame/drivers/offtwall.c
r5338r5339
448448ROM_END
449449
450450
451ROM_START( offtwalc )
451ROM_START( offtwallc )
452452   ROM_REGION( 0x40000, "maincpu", 0 )   /* 4*64k for 68000 code */
453453   ROM_LOAD16_BYTE( "090-2612.rom", 0x00000, 0x20000, CRC(fc891a3f) SHA1(027815a20fbc6c0c9242768581b97362b39941c2) )
454454   ROM_LOAD16_BYTE( "090-2613.rom", 0x00001, 0x20000, CRC(805d79d4) SHA1(943ec9f408ba875bdf1794ce7d24803043480401) )
r5338r5339
521521 *************************************/
522522
523523GAME( 1991, offtwall, 0,        offtwall, offtwall, offtwall, ROT0, "Atari Games", "Off the Wall (2/3-player upright)", 0 )
524GAME( 1991, offtwalc, offtwall, offtwall, offtwall, offtwalc, ROT0, "Atari Games", "Off the Wall (2-player cocktail)", 0 )
524GAME( 1991, offtwallc,offtwall, offtwall, offtwall, offtwalc, ROT0, "Atari Games", "Off the Wall (2-player cocktail)", 0 )
src/mame/drivers/neodrvr.c
r5338r5339
70147014   ROM_LOAD16_BYTE( "dig-c2.bin", 0x000001, 0x080000, CRC(3e632161) SHA1(83711c4286fb1d9f3f91414ac6e5fed36618033e) ) /* Plane 2,3 */
70157015ROM_END
70167016
7017/* NeoPrint
70177018
7019Very little is known about the NeoPrint system at this time.
7020
7021The cartridges fit in a normal NeoGeo unit but they do not work.  They appear to be designed to work with a
7022different motherboard (and different bios rom)
7023
702498best44 is the only NeoPrint cart we've seen with a program rom.
7025Many of the others only contain graphic roms.  I'm speculating that the NeoPrint was a multi-slot system and
7026had a concept of Master and Slave cartridges, and the slave ones simply added new graphic themes.
7027
7028If anybody has any actual factual information on the NeoPrint system, please contribute it.
7029
7030*/
7031
7032/*
7033
7034logo: Neo Print
7035
7036small text: Cassette supporting Neo Print and Neo Print Multi
7037
7038(cassette=cartridge)
7039
7040title: '98 NeoPri Best 44 version
7041
7042*/
7043
7044ROM_START( 98best44 )
7045   ROM_REGION( 0x100000, "maincpu", 0 )
7046   ROM_LOAD16_WORD_SWAP( "p060-ep1", 0x000000, 0x080000, CRC(d42e505d) SHA1(0ad6b0288f36c339832730a03e53cbc07dab4f82))
7047
7048   ROM_REGION16_BE( 0x80000, "mainbios", 0 )
7049   ROM_LOAD16_WORD_SWAP( "neoprint.bios",    0x00000, 0x020000, NO_DUMP ) // should be different
7050   ROM_COPY( "maincpu", 0x00000, 0x00000, 0x80000 ) // just copy the program rom to stop it crashing
7051
7052   ROM_REGION( 0x20000, "fixedbios", 0 )
7053   ROM_LOAD( "sfix.sfix", 0x000000, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) ) // maybe
7054
7055   ROM_Y_ZOOM // maybe
7056
7057   ROM_REGION( 0x20000, "audiobios", 0 )
7058   ROM_LOAD( "sm1.sm1", 0x00000, 0x20000, CRC(94416d67) SHA1(42f9d7ddd6c0931fd64226a60dc73602b2819dcf) ) // maybe
7059
7060   ROM_REGION( 0x20000, "fixed", ROMREGION_ERASE00 )
7061   /* no S1 rom */
7062
7063   ROM_REGION( 0x30000, "audiocpu", 0 )
7064   ROM_LOAD( "pt004-m1",     0x00000, 0x20000, CRC(6d77cdaa) SHA1(f88a93b3085b18b6663b4e51fccaa41958aafae1) )
7065   ROM_RELOAD(          0x10000, 0x20000 )
7066
7067   ROM_REGION( 0x200000, "ym", 0 )
7068   ROM_LOAD( "pt004-v1", 0x000000, 0x200000, CRC(118a84fd) SHA1(9059297a42a329eca47a82327c301853219013bd) )
7069
7070   NO_DELTAT_REGION
7071
7072   ROM_REGION( 0x400000, "sprites", 0 )
7073   ROM_LOAD16_BYTE( "pt060-c1", 0x000000, 0x100000, CRC(22a23090) SHA1(0e219fcfea6ca2ddf4b7b4197aac8bc55a29d5cf) ) /* Plane 0,1 */
7074   ROM_LOAD16_BYTE( "pt060-c2", 0x000001, 0x100000, CRC(66a8e56a) SHA1(adfd1e52d52806a785f1e9b1ae2ac969b6ed60af) ) /* Plane 2,3 */
7075ROM_END
7076
7077
7078
70187079/******************************************************************************/
70197080
70207081/* dummy entry for the dummy bios driver */
r5338r5339
79097970//GAME( 2000, bangbedp, bangbead, neogeo,   neogeo,   neogeo,   ROT0, "Visco", "Bang Bead (prototype)", 0 )
79107971
79117972/* Mega Enterprise */
7912GAME( 2002, mslug4,   neogeo,   neogeo,   neogeo,   mslug4,   ROT0, "Mega", "Metal Slug 4", 0 )
7973GAME( 2002, mslug4,   neogeo,   neogeo,   neogeo,   mslug4,   ROT0, "Mega / Playmore", "Metal Slug 4", 0 )
79137974GAME( 2002, ms4plus,  mslug4,   neogeo,   neogeo,   ms4plus,  ROT0, "bootleg", "Metal Slug 4 Plus (bootleg)", 0 )
79147975
79157976/* Evoga */
r5338r5339
79277988/* Kyle Hodgetts */
79287989GAME( 2000, diggerma, neogeo,   neogeo,   neogeo,   neogeo,   ROT0, "Kyle Hodgetts", "Digger Man (prototype)", 0 )
79297990
7991/* Neo Print */
7992GAME( 1998, 98best44, 0,        neogeo,   neogeo,   neogeo,   ROT0, "SNK", "'98 NeoPri Best 44 (Neo Print)", GAME_NOT_WORKING )
7993
src/mame/drivers/djmain.c
r5338r5339
22492249GAME( 1999, bm5thmix, 0,        djmain,   bm5thmix, bm5thmix,  ROT0, "Konami", "beatmania 5th MIX (ver JA-A)", 0 )
22502250GAME( 2000, bmcompm2, 0,        djmain,   bm5thmix, bmcompm2,  ROT0, "Konami", "beatmania complete MIX 2 (ver JA-A)", 0 )
22512251GAME( 2000, hmcompm2, bmcompm2, djmain,   hmcompm2, hmcompm2,  ROT0, "Konami", "hiphopmania complete MIX 2 (ver UA-A)", 0 )
2252GAME( 2000, bmclubmx, 0,        djmain,   bmclubmx, bmclubmx,  ROT0, "Konami", "beatmania Club MIX (ver JA-A)", GAME_NOT_WORKING ) // misisng hd
2253GAME( 2000, bmdct,    0,        djmain,   bmdct,    bmdct,     ROT0, "Konami", "beatmania f. Dreams Come True (ver JA-A)", 0 )
2252GAME( 2000, bmclubmx, 0,        djmain,   bmclubmx, bmclubmx,  ROT0, "Konami", "beatmania Club MIX (ver JA-A)", GAME_NOT_WORKING ) // missing hd
2253GAME( 2000, bmdct,    0,        djmain,   bmdct,    bmdct,     ROT0, "Konami", "beatmania featuring Dreams Come True (ver JA-A)", 0 )
22542254GAME( 2000, bmcorerm, 0,        djmain,   bmcorerm, bmcorerm,  ROT0, "Konami", "beatmania CORE REMIX (ver JA-A)", 0 )
22552255GAME( 2001, bm6thmix, 0,        djmain,   bm6thmix, bm6thmix,  ROT0, "Konami", "beatmania 6th MIX (ver JA-A)", 0 )
22562256GAME( 2001, bm7thmix, 0,        djmain,   bm6thmix, bm7thmix,  ROT0, "Konami", "beatmania 7th MIX (ver JA-B)", 0 )
src/mame/drivers/namcoic.c
r5338r5339
341341            if( ex>sx )
342342            { /* skip if inner loop doesn't draw anything */
343343               int y;
344               bitmap_t *priority_bitmap = gfx->machine->priority_bitmap;
344345               if( priority_bitmap )
345346               {
346347                  for( y=sy; y<ey; y++ )
r5338r5339
416417   int loop;
417418   if( pri==0 )
418419   {
419      bitmap_fill( priority_bitmap, cliprect , 0);
420      bitmap_fill( machine->priority_bitmap, cliprect , 0);
420421   }
421422   for( loop=0; loop < 128; loop++ )
422423   {
r5338r5339
527528   int loop;
528529   if( pri==0 )
529530   {
530      bitmap_fill( priority_bitmap, cliprect , 0);
531      bitmap_fill( machine->priority_bitmap, cliprect , 0);
531532   }
532533   for( loop=0; loop < 128; loop++ )
533534   {
r5338r5339
945946//  int offs = spriteram16[0x18000/2]; /* end-of-sprite-list */
946947   if( pri==0 )
947948   {
948      bitmap_fill( priority_bitmap, cliprect , 0);
949      bitmap_fill( machine->priority_bitmap, cliprect , 0);
949950   }
950951//  if( offs==0 )
951952   { /* boot */
src/mame/drivers/segas16a.c
r5338r5339
1111        * aceattaa
1212        * aliensyn
1313        * aliensy1
14        * pshot16a
14        * passsht16a
1515        * quartet
1616        * quart2
1717        * shinobi
r5338r5339
726726 *
727727 *************************************/
728728
729static READ16_HANDLER( pshot16a_custom_io_r )
729static READ16_HANDLER( passsht16a_custom_io_r )
730730{
731731   static int read_port = 0;
732732   switch (offset & (0x3000/2))
r5338r5339
14481448INPUT_PORTS_END
14491449
14501450
1451static INPUT_PORTS_START( pshot16a )
1451static INPUT_PORTS_START( passsht16a )
14521452   PORT_INCLUDE( system16a_generic )
14531453
14541454   PORT_MODIFY("SERVICE")
r5338r5339
19931993    Ace Attacker, Sega System 16A
19941994    CPU: FD1094 317-0060
19951995*/
1996ROM_START( aceattaa )
1996ROM_START( aceattaca )
19971997   ROM_REGION( 0x40000, "maincpu", 0 ) /* 68000 code */
19981998   ROM_LOAD16_BYTE( "epr-11573.43", 0x00000, 0x10000, CRC(ca116367) SHA1(ca09b01568dafec48354072267accb73a97a670f) )
19991999   ROM_LOAD16_BYTE( "epr-11571.26", 0x00001, 0x10000, CRC(5631d1d6) SHA1(08a2d375e3e4caf392cf2da2dc5497fd1142ab15) )
r5338r5339
21202120    Alex Kidd, Sega System 16A
21212121    CPU: FD1089A 317-0021
21222122 */
2123ROM_START( alexkid1 )
2123ROM_START( alexkidd1 )
21242124   ROM_REGION( 0x40000, "maincpu", 0 ) /* 68000 code */
21252125   ROM_LOAD16_BYTE( "epr10429.42", 0x000000, 0x10000, CRC(bdf49eca) SHA1(899bc2d346544e4a33de51b60e02ebf7ee82cea8) )
21262126   ROM_LOAD16_BYTE( "epr10427.26", 0x000001, 0x10000, CRC(f6e3dd29) SHA1(bb94ebc062bb7c6c13b68579053b9cbe8b92417c) )
r5338r5339
21632163    CPU: FD1089B 317-0037
21642164 */
21652165
2166ROM_START( aliensy5 )
2166ROM_START( aliensyn5 )
21672167   ROM_REGION( 0x40000, "maincpu", 0 ) /* 68000 code */
21682168   ROM_LOAD16_BYTE( "epr10804.43", 0x00000, 0x8000, CRC(23f78b83) SHA1(76538663e8f7ffffeea4928e3ebe091dac954dc7) )
21692169   ROM_LOAD16_BYTE( "epr10802.26", 0x00001, 0x8000, CRC(996768bd) SHA1(8c972f0f4120600ecd10ceb3456243d9614924b7) )
r5338r5339
22172217    Alien Syndrome, pre-System 16
22182218    CPU: FD1089A 317-0033
22192219 */
2220ROM_START( aliensy2 )
2220ROM_START( aliensyn2 )
22212221   ROM_REGION( 0x40000, "maincpu", 0 ) /* 68000 code */
22222222   ROM_LOAD16_BYTE( "10808", 0x00000, 0x8000, CRC(e669929f) SHA1(b5ab41d6f31f0369f8c5f5eb6fc08e8c23312b96) )
22232223   ROM_LOAD16_BYTE( "10806", 0x00001, 0x8000, CRC(9f7f8fdd) SHA1(819e9c491b7d23deaef646d37319c38e75827d68) )
r5338r5339
22682268    Alien Syndrome, pre-System 16
22692269    CPU: FD1089A 317-0033
22702270 */
2271ROM_START( aliensy1 )
2271ROM_START( aliensyn1 )
22722272   ROM_REGION( 0x40000, "maincpu", 0 ) /* Custom 68000 code */
22732273   ROM_LOAD16_BYTE( "epr10699.43", 0x00000, 0x8000, CRC(3fd38d17) SHA1(538c1246121051a1af9ba2a4259eb1fe7e4952e1) )
22742274   ROM_LOAD16_BYTE( "epr10696.26", 0x00001, 0x8000, CRC(d734f19f) SHA1(4a08c35084f7a9364ba0f058b9a9ffc30c8b5a78) )
r5338r5339
24452445    Fantasy Zone, Sega System 16A
24462446    CPU: 68000
24472447 */
2448ROM_START( fantzon1 )
2448ROM_START( fantzone1 )
24492449   ROM_REGION( 0x40000, "maincpu", 0 ) /* 68000 code */
24502450   ROM_LOAD16_BYTE( "7385.43", 0x000000, 0x8000, CRC(5cb64450) SHA1(5831405359975dd7d8c6614b20fd9b18a5d6410d) )
24512451   ROM_LOAD16_BYTE( "7382.26", 0x000001, 0x8000, CRC(3fda7416) SHA1(91f34cc8afb4ad8bc783c31d25781a1359c44cfe) )
r5338r5339
25232523    CPU: FD1094 (317-0071)
25242524 */
25252525
2526ROM_START( pshot16a )
2526ROM_START( passsht16a )
25272527   ROM_REGION( 0x40000, "maincpu", 0 ) /* 68000 code */
25282528   ROM_LOAD16_BYTE( "epr11833.43", 0x000000, 0x10000, CRC(5eb1405c) SHA1(0a68d3fcc074475d38f999c93082d4a9dff0f19a) )
25292529   ROM_LOAD16_BYTE( "epr11832.26", 0x000001, 0x10000, CRC(718a3fe4) SHA1(bd6844c53ce3b64b113795360175df92d095b467) )
r5338r5339
31823182    -   A5  EPR10854    "
31833183    -   A6  EPR10855    "
31843184*/
3185ROM_START( timesca1 )
3185ROM_START( timescan1 )
31863186   ROM_REGION( 0x40000, "maincpu", 0 ) /* 68000 code */
31873187   ROM_LOAD16_BYTE( "epr10540a.43", 0x00000, 0x8000, CRC(76848b0b) SHA1(a7755898c2b3212d80034c47760440db6dcde83c) )
31883188   ROM_LOAD16_BYTE( "epr10537a.26", 0x00001, 0x8000, CRC(4ddc434a) SHA1(54908654f1445f2d3a3b1496015f3347ad603225) )
r5338r5339
33523352   custom_io_r = mjleague_custom_io_r;
33533353}
33543354
3355static DRIVER_INIT( pshot16a )
3355static DRIVER_INIT( passsht16a )
33563356{
33573357   system16a_generic_init(machine);
3358   custom_io_r = pshot16a_custom_io_r;
3358   custom_io_r = passsht16a_custom_io_r;
33593359}
33603360
33613361static DRIVER_INIT( quartet )
r5338r5339
33993399GAME( 1986, quartet2a, quartet,  system16a,        quart2,   generic_16a, ROT0,   "Sega",          "Quartet 2 (unprotected)", 0 )
34003400
34013401/* System 16A */
3402GAME( 1987, aliensy5, aliensyn, system16a,        aliensyn, fd1089b_16a, ROT0,   "Sega",           "Alien Syndrome (set 5, System 16A, FD1089B 317-0037)", 0 )
3403GAME( 1987, aliensy2, aliensyn, system16a,        aliensyn, fd1089a_16a, ROT0,   "Sega",           "Alien Syndrome (set 2, System 16A, FD1089A 317-0033)", 0 )
3404GAME( 1987, aliensy1, aliensyn, system16a,        aliensy1, fd1089a_16a, ROT0,   "Sega",           "Alien Syndrome (set 1, System 16A, FD1089A 317-0033)", 0 )
3405GAME( 1988, aceattaa, aceattac, system16a       , aceattaa, aceattaa,    ROT270, "Sega",           "Ace Attacker (Japan, System 16A, FD1094 317-0060)", 0 )
3402GAME( 1987, aliensyn5,aliensyn, system16a,        aliensyn, fd1089b_16a, ROT0,   "Sega",           "Alien Syndrome (set 5, System 16A, FD1089B 317-0037)", 0 )
3403GAME( 1987, aliensyn2,aliensyn, system16a,        aliensyn, fd1089a_16a, ROT0,   "Sega",           "Alien Syndrome (set 2, System 16A, FD1089A 317-0033)", 0 )
3404GAME( 1987, aliensyn1,aliensyn, system16a,        aliensy1, fd1089a_16a, ROT0,   "Sega",           "Alien Syndrome (set 1, System 16A, FD1089A 317-0033)", 0 )
3405GAME( 1988, aceattaca,aceattac, system16a       , aceattaa, aceattaa,    ROT270, "Sega",           "Ace Attacker (Japan, System 16A, FD1094 317-0060)", 0 )
34063406GAME( 1986, afighter, 0,        system16a_no7751, afighter, fd1089a_16a, ROT270, "Sega",           "Action Fighter (FD1089A 317-0018)", 0 )
34073407GAME( 1986, alexkidd, 0,        system16a,        alexkidd, generic_16a, ROT0,   "Sega",           "Alex Kidd: The Lost Stars (set 2, unprotected)", 0 )
3408GAME( 1986, alexkid1, alexkidd, system16a,        alexkidd, fd1089a_16a, ROT0,   "Sega",           "Alex Kidd: The Lost Stars (set 1, FD1089A 317-0021)", 0 )
3408GAME( 1986, alexkidd1,alexkidd, system16a,        alexkidd, fd1089a_16a, ROT0,   "Sega",           "Alex Kidd: The Lost Stars (set 1, FD1089A 317-0021)", 0 )
34093409GAME( 1986, fantzone, 0,        system16a_no7751, fantzone, generic_16a, ROT0,   "Sega",           "Fantasy Zone (set 2, unprotected)", 0 )
3410GAME( 1986, fantzon1, fantzone, system16a_no7751, fantzone, generic_16a, ROT0,   "Sega",           "Fantasy Zone (set 1, unprotected)", 0 )
3411GAME( 1988, pshot16a, passsht,  system16a,        pshot16a, pshot16a,    ROT270, "Sega",           "Passing Shot (Japan, 4 Players, System 16A, FD1094 317-0071)", 0 )
3410GAME( 1986, fantzone1,fantzone, system16a_no7751, fantzone, generic_16a, ROT0,   "Sega",           "Fantasy Zone (set 1, unprotected)", 0 )
3411GAME( 1988, passsht16a,passsht,  system16a,        passsht16a, passsht16a,    ROT270, "Sega",           "Passing Shot (Japan, 4 Players, System 16A, FD1094 317-0071)", 0 )
34123412GAME( 1987, sdi,      0,        system16a_no7751, sdi,      sdi,         ROT0,   "Sega",           "SDI - Strategic Defense Initiative (Europe, System 16A, FD1089B 317-0027)", 0 )
34133413GAME( 1987, shinobi,  0,        system16a,        shinobi,  generic_16a, ROT0,   "Sega",           "Shinobi (set 6, System 16A, unprotected)", 0 )
34143414GAME( 1987, shinobi1, shinobi,  system16a,        shinobi,  generic_16a, ROT0,   "Sega",           "Shinobi (set 1, System 16A, FD1094 317-0050)", 0 )
r5338r5339
34173417GAME( 1987, sjryuko1, sjryuko,  system16a,        sjryuko,  sjryukoa,    ROT0,   "White Board",    "Sukeban Jansi Ryuko (set 1, System 16A, FD1089B 317-5021)", 0 )
34183418GAME( 1988, tetris,   0,        system16a_no7751, tetris,   generic_16a, ROT0,   "Sega",           "Tetris (set 4, Japan, System 16A, FD1094 317-0093)", 0 )
34193419GAME( 1988, tetris3,  tetris,   system16a_no7751, tetris,   generic_16a, ROT0,   "Sega",           "Tetris (set 3, Japan, System 16A, FD1094 317-0093a)", 0 )
3420GAME( 1987, timesca1, timescan, system16a,        timescan, fd1089b_16a, ROT270, "Sega",           "Time Scanner (set 1, System 16A, FD1089B 317-0024)", 0 )
3420GAME( 1987, timescan1,timescan, system16a,        timescan, fd1089b_16a, ROT270, "Sega",           "Time Scanner (set 1, System 16A, FD1089B 317-0024)", 0 )
34213421GAME( 1988, wb31,     wb3,      system16a_no7751, wb3,      generic_16a, ROT0,   "Sega / Westone", "Wonder Boy III - Monster Lair (set 1, System 16A, FD1094 317-0084)", 0 )
34223422GAME( 1988, wb35,     wb3,      system16a_no7751, wb3,      fd1089a_16a, ROT0,   "Sega / Westone", "Wonder Boy III - Monster Lair (set 5, System 16A, FD1089A 317-xxxx)", GAME_NOT_WORKING )
src/mame/drivers/snookr10.c
r5338r5339
543543
544544static INPUT_PORTS_START( snookr10 )
545545   PORT_START("IN0")
546   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Remote x100") PORT_CODE(KEYCODE_Q)
547   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )   PORT_NAME("Stop 1") PORT_CODE(KEYCODE_Z)   /* Input Test in stats mode */
548   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 )   PORT_NAME("Cancella (Cancel) / Play / Bet") PORT_CODE(KEYCODE_N)
549   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )      PORT_NAME("Start (Deal) / Raddoppio (Double-Up)")
550   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )   PORT_NAME("Stop 5 / Risk (Half Gamble) / Super Game") PORT_CODE(KEYCODE_B)
551   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )   PORT_NAME("Estatistica (Stats)")
552   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )   PORT_NAME("Management")
553   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 )   PORT_NAME("Stop 4 / Alta (High)") PORT_CODE(KEYCODE_V)
546   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Remote x100") PORT_CODE(KEYCODE_Q)
547   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Stop 1")   /* Input Test in stats mode */
548   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) PORT_NAME("Cancella (Cancel) / Play / Bet")
549   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start (Deal) / Raddoppio (Double-Up)")
550   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Stop 5 / Risk (Half Gamble) / Super Game")
551   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Estatistica (Stats)")
552   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Management")
553   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Stop 4 / Alta (High)")
554554
555555   PORT_START("IN1")
556   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )   PORT_NAME("Stop 2 / Bassa (Low)") PORT_CODE(KEYCODE_X)
557   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )   PORT_NAME("Stop 3") PORT_CODE(KEYCODE_C)
558   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Ticket") PORT_CODE(KEYCODE_T)
559   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Hopper") PORT_CODE(KEYCODE_H)
556   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Stop 2 / Bassa (Low)")
557   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Stop 3")
558   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Ticket") PORT_CODE(KEYCODE_T)
559   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hopper")
560560   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
561561   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
562562   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
563   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 )   PORT_NAME("Scarica (Payout)") PORT_CODE(KEYCODE_M)
563   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT ) PORT_NAME("Scarica (Payout)")
564564
565565   PORT_START("IN2")
566566   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
r5338r5339
596596   PORT_DIPSETTING(    0x80, "STOP 5 button" )
597597INPUT_PORTS_END
598598
599static INPUT_PORTS_START( apple10 )
600
601599/*  Eliminated all PORT_IMPULSE limitations.
602600    All Hold & Cancel buttons have a rattle sound in the real PCB. */
603601
604   PORT_START("IN0")
605   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Remote x100") PORT_CODE(KEYCODE_Q)
606   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )   PORT_NAME("Stop 1") PORT_CODE(KEYCODE_Z)   /* Input Test in stats mode */
607   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 )   PORT_NAME("Cancella (Cancel) / Play / Bet") PORT_CODE(KEYCODE_N)
608   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )      PORT_NAME("Start (Deal) / Raddoppio (Double-Up)")
609   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )   PORT_NAME("Stop 5 / Risk (Half Gamble) / Super Game") PORT_CODE(KEYCODE_B)
610   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )   PORT_NAME("Estatistica (Stats)")
611   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )   PORT_NAME("Management")
612   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 )   PORT_NAME("Stop 4 / Alta (High)") PORT_CODE(KEYCODE_V)
602static INPUT_PORTS_START( apple10 )
603   PORT_INCLUDE( snookr10 )
613604
614   PORT_START("IN1")
615   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )   PORT_NAME("Stop 2 / Bassa (Low)") PORT_CODE(KEYCODE_X)
616   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )   PORT_NAME("Stop 3") PORT_CODE(KEYCODE_C)
617   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Ticket") PORT_CODE(KEYCODE_T)
618   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Hopper") PORT_CODE(KEYCODE_H)
619   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
620   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
621   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
622   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 )   PORT_NAME("Scarica (Payout)") PORT_CODE(KEYCODE_M)
623
624   PORT_START("IN2")
625   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
626   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
627   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
628   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
629   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
630   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
631   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
632   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
633
634   PORT_START("SW1")
605   PORT_MODIFY("SW1")
635606   PORT_DIPNAME( 0x03, 0x00, "Pool Value" )            PORT_DIPLOCATION("SW1:7,8")
636607   PORT_DIPSETTING(    0x03, "100" )
637608   PORT_DIPSETTING(    0x02, "200" )
r5338r5339
655626   PORT_DIPSETTING(    0x80, "STOP 5 button" )
656627INPUT_PORTS_END
657628
658static INPUT_PORTS_START( tenballs )
659
660629/*  Eliminated all PORT_IMPULSE limitations.
661630    All Hold & Cancel buttons have a rattle sound in the real PCB. */
662631
663   PORT_START("IN0")
664   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Remote x100") PORT_CODE(KEYCODE_Q)
665   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )   PORT_NAME("Stop 1") PORT_CODE(KEYCODE_Z)   /* no Input Test in stats mode */
666   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 )   PORT_NAME("Cancella (Cancel) / Play / Bet") PORT_CODE(KEYCODE_N)
667   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )      PORT_NAME("Start (Deal) / Raddoppio (Double-Up)")
668   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )   PORT_NAME("Stop 5 / Risk (Half Gamble) / Super Game") PORT_CODE(KEYCODE_B)
669   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )   PORT_NAME("Estatistica (Stats)")
670   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )   PORT_NAME("Management")
671   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 )   PORT_NAME("Stop 4 / Alta (High)") PORT_CODE(KEYCODE_V)
632static INPUT_PORTS_START( tenballs )
633   PORT_INCLUDE( snookr10 )
672634
673   PORT_START("IN1")
674   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )   PORT_NAME("Stop 2 / Bassa (Low)") PORT_CODE(KEYCODE_X)
675   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )   PORT_NAME("Stop 3") PORT_CODE(KEYCODE_C)
676   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Ticket") PORT_CODE(KEYCODE_T)
677   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Hopper") PORT_CODE(KEYCODE_H)
678   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
679   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
680   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
681   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 )   PORT_NAME("Scarica (Payout)") PORT_CODE(KEYCODE_M)
682
683   PORT_START("IN2")
684   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
685   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
686   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
687   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
688   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
689   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
690   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
691   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
692
693635    /* tenballs seems a prototype, most DIP
694636       switches seems to do nothing at all.
695637    */
696   PORT_START("SW1")
638   PORT_MODIFY("SW1")
697639   PORT_DIPNAME( 0x03, 0x00, "Pool Value" )      PORT_DIPLOCATION("SW1:7,8")
698640   PORT_DIPSETTING(    0x03, "100" )
699641   PORT_DIPSETTING(    0x02, "200" )
r5338r5339
865807*************************/
866808
867809/*     YEAR  NAME      PARENT    MACHINE   INPUT     INIT ROT    COMPANY    FULLNAME                FLAGS  LAYOUT */
868GAMEL( 1998, snookr10, 0,        snookr10, snookr10, 0,   ROT0, "Sandii'", "Snooker 10 (Ver 1.11)", 0,     layout_snookr10 )
869GAMEL( 1998, apple10,  0,        apple10,  apple10,  0,   ROT0, "Sandii'", "Apple 10 (Ver 1.21)",   0,     layout_snookr10 )
870GAMEL( 1997, tenballs, snookr10, tenballs, tenballs, 0,   ROT0, "unknown", "Ten Balls (Ver 1.05)",  0,     layout_snookr10 )
810GAMEL( 1998, snookr10, 0,        snookr10, snookr10, 0,   ROT0, "Sandii'",   "Snooker 10 (Ver 1.11)", 0,     layout_snookr10 )
811GAMEL( 1998, apple10,  0,        apple10,  apple10,  0,   ROT0, "Sandii'",   "Apple 10 (Ver 1.21)",   0,     layout_snookr10 )
812GAMEL( 1997, tenballs, snookr10, tenballs, tenballs, 0,   ROT0, "<unknown>", "Ten Balls (Ver 1.05)",  0,     layout_snookr10 )
src/mame/drivers/segahang.c
r5338r5339
13191319     ASSY ROM BD 834-5800
13201320     ASSY SOUND BD 834-5670-01
13211321*/
1322ROM_START( sharrir1 )
1322ROM_START( sharrier1 )
13231323   ROM_REGION( 0x40000, "maincpu", 0 ) /* 68000 code */
13241324   ROM_LOAD16_BYTE( "epr-7188.ic97",  0x000000, 0x8000, CRC(7c30a036) SHA1(d3902342be714b4e181c87ad2bad7102e3eeec20) )
13251325   ROM_LOAD16_BYTE( "epr-7184.ic84",  0x000001, 0x8000, CRC(16deaeb1) SHA1(bdf85b924a914865bf876eda7fc2b20131a4cf2d) )
r5338r5339
17681768GAME( 1985, hangon1,  hangon,   hangon,   hangon,   hangon,   ROT0, "Sega",    "Hang-On", 0 )
17691769GAME( 1992, shangupb, shangon,  shangupb, shangupb, hangon,   ROT0, "bootleg", "Super Hang-On (Hang-On upgrade, bootleg)", 0 )
17701770GAME( 1985, sharrier, 0,        sharrier, sharrier, sharrier, ROT0, "Sega",    "Space Harrier (Rev A, 8751 315-5163A)", 0 )
1771GAME( 1985, sharrir1, sharrier, sharrier, sharrier, sharrier, ROT0, "Sega",    "Space Harrier (8751 315-5163)", 0 )
1771GAME( 1985, sharrier1,sharrier, sharrier, sharrier, sharrier, ROT0, "Sega",    "Space Harrier (8751 315-5163)", 0 )
17721772GAME( 1986, enduror,  0,        enduror,  enduror,  enduror,  ROT0, "Sega",    "Enduro Racer (YM2151, FD1089B 317-0013A)", 0 )
17731773GAME( 1986, enduror1, enduror,  enduror1, enduror,  enduror,  ROT0, "Sega",    "Enduro Racer (YM2203, FD1089B 317-0013A)", 0 )
17741774GAME( 1986, endurobl, enduror,  enduror1, enduror,  endurobl, ROT0, "bootleg", "Enduro Racer (bootleg set 1)", 0 )
src/mame/drivers/statriv2.c
r5338r5339
755755   ROM_LOAD( "dm74s282.u22", 0x0040, 0x0100, CRC(0421b8e0) SHA1(8b786eed86397a1463ad37b9b011edf83d76dd63) ) /* Soldered in */
756756ROM_END
757757
758ROM_START( statrv2v )
758ROM_START( statriv2v )
759759   ROM_REGION( 0x10000, "maincpu", 0 )
760760   ROM_LOAD( "status.u7",    0x00000, 0x01000, CRC(4acc2060) SHA1(04f841fa7fba2231f312904dbd1d352fd2dbc287) )
761761   ROM_LOAD( "status.u8",    0x01000, 0x01000, CRC(f2de3867) SHA1(ec891d4aa4e8dc0780cf187d8b1548d7e00d4321) )
r5338r5339
10881088GAME( 1984, hangman,  0,        statriv2,  hangman,  addr_lmh,  ROT0, "Status Games", "Hangman", GAME_SUPPORTS_SAVE )
10891089GAME( 1984, trivquiz, 0,        statriv2,  statriv2, addr_lhx,  ROT0, "Status Games", "Triv Quiz", GAME_SUPPORTS_SAVE )
10901090GAME( 1984, statriv2, 0,        statriv2,  statriv2, addr_xlh,  ROT0, "Status Games", "Triv Two", GAME_SUPPORTS_SAVE )
1091GAME( 1985, statrv2v, statriv2, statriv2v, statriv2, addr_xlh,  ROT90,"Status Games", "Triv Two (Vertical)", GAME_SUPPORTS_SAVE )
1091GAME( 1985, statriv2v,statriv2, statriv2v, statriv2, addr_xlh,  ROT90,"Status Games", "Triv Two (Vertical)", GAME_SUPPORTS_SAVE )
10921092GAME( 1985, statriv4, 0,        statriv2,  statriv4, addr_xhl,  ROT0, "Status Games", "Triv Four", GAME_SUPPORTS_SAVE )
10931093GAME( 1985, sextriv,  0,        statriv2,  sextriv,  addr_lhx,  ROT0, "Status Games", "Sex Triv", GAME_SUPPORTS_SAVE )
10941094GAME( 1985, quaquiz2, 0,        statriv2,  quaquiz2, addr_lmh,  ROT0, "Status Games", "Quadro Quiz II", GAME_SUPPORTS_SAVE | GAME_NOT_WORKING )
src/mame/drivers/blueprnt.c
r5338r5339
330330   ROM_LOAD( "green.20d", 0x2000, 0x1000, CRC(2fcb4f26) SHA1(508cb2800737bad0a7dea0789d122b7c802aecfd) )
331331ROM_END
332332
333ROM_START( blueprnj )
333ROM_START( blueprntj )
334334   ROM_REGION( 0x10000, "maincpu", 0 )
335335   ROM_LOAD( "bp-1j.1m",   0x0000, 0x1000, CRC(2e746693) SHA1(4a9bb023f753ba792d1db86a0fb128d5261db685) )
336336   ROM_LOAD( "bp-2j.1n",   0x1000, 0x1000, CRC(a0eb0b8e) SHA1(b3c830b61172880fd2843a47350d8cb9461a25a4) )
r5338r5339
378378/* Game Drivers */
379379
380380GAME( 1982, blueprnt, 0,        blueprnt, blueprnt, 0, ROT270, "[Zilec Electronics] Bally Midway", "Blue Print (Midway)", 0 )
381GAME( 1982, blueprnj, blueprnt, blueprnt, blueprnt, 0, ROT270, "[Zilec Electronics] Jaleco", "Blue Print (Jaleco)", 0 )
381GAME( 1982, blueprntj,blueprnt, blueprnt, blueprnt, 0, ROT270, "[Zilec Electronics] Jaleco", "Blue Print (Jaleco)", 0 )
382382GAME( 1983, saturn,   0,        blueprnt, saturn,   0, ROT270, "[Zilec Electronics] Jaleco", "Saturn", 0 )
src/mame/drivers/buggychl.c
r5338r5339
465465   ROM_LOAD( "a22-16.116",  0x3000, 0x1000, CRC(337a0c14) SHA1(2aa6814f74497c5c55bf7098d7f6f5508845e36c) )   /* horizontal */
466466ROM_END
467467
468ROM_START( buggycht )
468ROM_START( buggychlt )
469469   ROM_REGION( 0x1c000, "maincpu", 0 )
470470   ROM_LOAD( "bu04.bin",    0x00000, 0x4000, CRC(f90ab854) SHA1(d4536c98be35de3d888548e2de15f8435ca4f08c) )
471471   ROM_LOAD( "bu05.bin",    0x04000, 0x4000, CRC(543d0949) SHA1(b7b0b0319f5376e7cfcfd0e8a4fa6fea566e0206) )
r5338r5339
497497
498498
499499GAMEL( 1984, buggychl, 0,        buggychl, buggychl, 0, ROT270, "Taito Corporation", "Buggy Challenge", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS, layout_buggychl )
500GAMEL( 1984, buggycht, buggychl, buggychl, buggychl, 0, ROT270, "Taito Corporation (Tecfri license)", "Buggy Challenge (Tecfri)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS, layout_buggychl )
500GAMEL( 1984, buggychlt,buggychl, buggychl, buggychl, 0, ROT270, "Taito Corporation (Tecfri license)", "Buggy Challenge (Tecfri)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS, layout_buggychl )
src/mame/drivers/gotcha.c
r5338r5339
166166   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
167167
168168   PORT_START("DSW")
169   PORT_DIPNAME( 0x0007, 0x0007, DEF_STR( Difficulty ) )
169   PORT_DIPNAME( 0x0007, 0x0007, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:1,2,3")
170170   PORT_DIPSETTING(      0x0007, "1" )
171171   PORT_DIPSETTING(      0x0006, "2" )
172172   PORT_DIPSETTING(      0x0005, "3" )
r5338r5339
175175   PORT_DIPSETTING(      0x0002, "6" )
176176   PORT_DIPSETTING(      0x0001, "7" )
177177   PORT_DIPSETTING(      0x0000, "8" )
178   PORT_DIPNAME( 0x0008, 0x0000, DEF_STR( Demo_Sounds ) )
178   PORT_DIPNAME( 0x0008, 0x0000, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:4")
179179   PORT_DIPSETTING(      0x0008, DEF_STR( Off ) )
180180   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
181   PORT_DIPNAME( 0x0030, 0x0010, DEF_STR( Lives ) )
181   PORT_DIPNAME( 0x0030, 0x0010, DEF_STR( Lives ) )   PORT_DIPLOCATION("SW1:5,6")
182182   PORT_DIPSETTING(      0x0030, "1" )
183183   PORT_DIPSETTING(      0x0020, "2" )
184184   PORT_DIPSETTING(      0x0010, "3" )
185185   PORT_DIPSETTING(      0x0000, "4" )
186   PORT_DIPNAME( 0x00c0, 0x0080, DEF_STR( Coinage ) )
186   PORT_DIPNAME( 0x00c0, 0x0080, DEF_STR( Coinage ) )   PORT_DIPLOCATION("SW1:7,8")
187187   PORT_DIPSETTING(      0x0000, DEF_STR( 3C_1C ) )
188188   PORT_DIPSETTING(      0x0040, DEF_STR( 2C_1C ) )
189189   PORT_DIPSETTING(      0x0080, DEF_STR( 1C_1C ) )
190190   PORT_DIPSETTING(      0x00c0, "1 Coin/99 Credits" )
191   PORT_DIPNAME( 0x0100, 0x0100, "Info" )
191   PORT_DIPNAME( 0x0100, 0x0100, "Info" )         PORT_DIPLOCATION("SW2:1")
192192   PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
193193   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
194   PORT_DIPNAME( 0x0200, 0x0200, "Explane Type" )
194   PORT_DIPNAME( 0x0200, 0x0200, "Explane Type" )      PORT_DIPLOCATION("SW2:2")
195195   PORT_DIPSETTING(      0x0200, DEF_STR( Off ) )
196196   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
197   PORT_DIPNAME( 0x0400, 0x0400, "Game Selection" )
197   PORT_DIPNAME( 0x0400, 0x0400, "Game Selection" )   PORT_DIPLOCATION("SW2:3")
198198   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
199199   PORT_DIPSETTING(      0x0400, DEF_STR( On ) )
200   PORT_DIPNAME( 0x0800, 0x0800, DEF_STR( Unknown ) )
200   PORT_DIPNAME( 0x0800, 0x0800, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW2:4")
201201   PORT_DIPSETTING(      0x0800, DEF_STR( Off ) )
202202   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
203   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Unknown ) )
203   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW2:5")
204204   PORT_DIPSETTING(      0x1000, DEF_STR( Off ) )
205205   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
206   PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Unknown ) )
206   PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW2:6")
207207   PORT_DIPSETTING(      0x2000, DEF_STR( Off ) )
208208   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
209   PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Unknown ) )
209   PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW2:7")
210210   PORT_DIPSETTING(      0x4000, DEF_STR( Off ) )
211211   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
212   PORT_SERVICE( 0x8000, IP_ACTIVE_LOW )
212   PORT_SERVICE_DIPLOC( 0x8000, IP_ACTIVE_LOW, "SW2:8" )
213213INPUT_PORTS_END
214214
215215
r5338r5339
378378ROM_END
379379
380380GAME( 1997, gotcha,  0,      gotcha, gotcha, 0, ROT0, "Dongsung", "Got-cha Mini Game Festival", 0 )
381GAME( 1997, ppchamp, gotcha, gotcha, gotcha, 0, ROT0, "Dongsung", "Pasha Pasha Champ Mini Game Festival", 0 )
381GAME( 1997, ppchamp, gotcha, gotcha, gotcha, 0, ROT0, "Dongsung", "Pasha Pasha Champ Mini Game Festival (Korea)", 0 )
src/mame/drivers/gottlieb.c
r5338r5339
14621462   PORT_INCLUDE(gottlieb2_sound)
14631463INPUT_PORTS_END
14641464
1465static INPUT_PORTS_START( cobram3 )
1466   PORT_START("DSW")
1467   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Coinage ) )
1468   PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
1469   PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
1470   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Demo_Sounds ) )
1471   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1472   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
1473   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Lives ) )
1474   PORT_DIPSETTING(    0x00, "3" )
1475   PORT_DIPSETTING(    0x08, "5" )
1476   PORT_DIPNAME( 0x14, 0x00, "1st Bonus / 2nd Bonus" )
1477   PORT_DIPSETTING(    0x00, "20000 / None" )
1478   PORT_DIPSETTING(    0x10, "15000 / 30000" )
1479   PORT_DIPSETTING(    0x04, "20000 / 40000" )
1480   PORT_DIPSETTING(    0x14, "30000 / 50000" )
1481   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Difficulty ) )
1482   PORT_DIPSETTING(    0x00, DEF_STR( Normal ) )
1483   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
1484   PORT_DIPNAME( 0x40, 0x00, "Random 1st Level")
1485   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1486   PORT_DIPSETTING(    0x40, DEF_STR( On ) )
1487   PORT_DIPNAME( 0x80, 0x00, "Self Test")
1488   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1489   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
14651490
1491   PORT_START("IN1")
1492   PORT_SERVICE( 0x01, IP_ACTIVE_LOW )
1493   PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Select in Service Mode") PORT_CODE(KEYCODE_F1)
1494   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 )
1495   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_COIN2 )
1496   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
1497   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_TILT )
1498   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_START1 )
1499   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_START2 )
1500
1501   PORT_START("IN2")   /* trackball H not used */
1502   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
1503
1504   PORT_START("IN3")   /* trackball V not used */
1505   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
1506
1507   PORT_START("IN4")
1508   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_8WAY
1509   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_8WAY
1510   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_8WAY
1511   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_8WAY
1512   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
1513   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON1 )
1514   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON2 )
1515   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
1516
1517   PORT_INCLUDE(gottlieb2_sound)
1518INPUT_PORTS_END
1519
1520
14661521static INPUT_PORTS_START( usvsthem )
14671522   PORT_START("DSW")
14681523   /* TODO: values are different for 5 lives */
r5338r5339
19502005   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
19512006MACHINE_DRIVER_END
19522007
2008
19532009static MACHINE_DRIVER_START( screwloo )
19542010   MDRV_IMPORT_FROM(gottlieb2)
19552011
r5338r5339
19572013MACHINE_DRIVER_END
19582014
19592015
2016static MACHINE_DRIVER_START( cobram3 )
2017   MDRV_IMPORT_FROM(g2laser)
2018
2019   /* sound hardware */
2020   MDRV_SOUND_MODIFY("dac1")
2021   MDRV_SOUND_ROUTES_RESET()
2022   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
2023MACHINE_DRIVER_END
2024
2025
2026
19602027/*************************************
19612028 *
19622029 *  ROM definitions
r5338r5339
20312098   ROM_LOAD( "qb-fg0.bin",   0x6000, 0x2000, CRC(2f695b85) SHA1(807d16459838f129e10b913890bbc95065d5dd40) )
20322099ROM_END
20332100
2034ROM_START( qbertjp )
2101ROM_START( qbertj )
20352102   ROM_REGION( 0x10000, "maincpu", 0 )
20362103   ROM_LOAD( "qbj-rom2.bin", 0xa000, 0x2000, CRC(67bb1cb2) SHA1(23a7f8c86d6db9220a98b3f630c5d000e80f2d53) )
20372104   ROM_LOAD( "qbj-rom1.bin", 0xc000, 0x2000, CRC(c61216e7) SHA1(e727b85dddc2963e33af6c02b675243f6fbe2710) )
r5338r5339
22112278   ROM_LOAD( "fg0.k4",       0x6000, 0x2000, CRC(a920e325) SHA1(60f15d5014a55d9c18b06c17c7587d45716619e4) )
22122279ROM_END
22132280
2214ROM_START( mplanuk )
2281ROM_START( mplanetsuk )
22152282   ROM_REGION( 0x10000, "maincpu", 0 )
22162283   ROM_LOAD( "mpt_rom4.bin", 0x6000, 0x2000, CRC(cd88e23c) SHA1(03222e2600f7fb1c6844340d4a56eedfcdeaa3c8) )
22172284   ROM_LOAD( "mpt_rom3.bin", 0x8000, 0x2000, CRC(dc355b2d) SHA1(ae3e376afc7a8cb049d0dd28bf3959cb76780999) )
r5338r5339
24122479   ROM_LOAD( "bh01",   0xc000, 0x2000, CRC(7d86ab08) SHA1(26b7eb089ca3fe3f8b1531316ce8f95e33b380e5) )
24132480   ROM_LOAD( "bh00",   0xe000, 0x2000, CRC(c19ad038) SHA1(4d20ae70d8ad1eaa61cb91d7a0cff6932fce30d2) )
24142481
2415   ROM_REGION( 0x10000, "audiocpu", ROMREGION_ERASE00 )
2416   ROM_REGION( 0x10000, "speech", ROMREGION_ERASE00 )
2482   ROM_REGION( 0x10000, "audiocpu", 0 )
2483   ROM_LOAD( "m3drom1.bin",  0xd000, 0x1000, CRC(a6e29212) SHA1(a73aafc2efa99e9ae0aecbb6075a10f7178ac938) )
24172484
2485   ROM_REGION( 0x10000, "speech", 0 )
2486   ROM_LOAD( "bh04",   0xe000, 0x2000, CRC(c3f61bc9) SHA1(d02374e6e29238def0cfb01c96c78b206f24d77e) )
2487
24182488   ROM_REGION( 0x2000, "bgtiles", 0 )
24192489   ROM_LOAD( "bh09",   0x0000, 0x1000, CRC(8c5dfac0) SHA1(5be28f807c4eb9df76a8f7519086ae57953d8c6f) )
24202490   ROM_LOAD( "bh0a",   0x1000, 0x1000, CRC(8b8da8dc) SHA1(9f03ac0e6b6396cd44843ea394d55d79848d6a27) )
r5338r5339
25652635   memory_install_write8_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x05803, 0x05803, 0, 0x07f8, stooges_output_w);
25662636}
25672637
2638
25682639static DRIVER_INIT( screwloo )
25692640{
25702641   gottlieb_gfxcharlo = 0;
25712642   gottlieb_gfxcharhi = 1;
25722643}
25732644
2645
25742646static DRIVER_INIT( vidvince )
25752647{
25762648   gottlieb_gfxcharlo = 1;
25772649   gottlieb_gfxcharhi = 0;
25782650}
25792651
2652
2653
25802654/*************************************
25812655 *
25822656 *  Game drivers
r5338r5339
25842658 *************************************/
25852659
25862660/* games using rev 1 sound board */
2587GAME( 1982, reactor,  0,        reactor,   reactor,  ramtiles, ROT0,   "Gottlieb", "Reactor", 0 )
2588GAME( 1982, qbert,    0,        qbert,     qbert,    romtiles, ROT270, "Gottlieb", "Q*bert (US set 1)", 0 )
2589GAME( 1982, qberta,   qbert,    qbert,     qbert,    romtiles, ROT270, "Gottlieb", "Q*bert (US set 2)", 0 )
2590GAME( 1982, qbertjp,  qbert,    qbert,     qbert,    romtiles, ROT270, "Gottlieb (Konami license)", "Q*bert (Japan)", 0 )
2591GAME( 1982, myqbert,  qbert,    qbert,     qbert,    romtiles, ROT270, "Gottlieb", "Mello Yello Q*bert", 0 )
2592GAME( 1982, qberttst, qbert,    qbert,     qbert,    romtiles, ROT270, "Gottlieb", "Q*bert (early test version)", 0 )
2593GAME( 1982, qbtrktst, qbert,    qbert,     qbert,    romtiles, ROT270, "Gottlieb", "Q*bert Board Input Test Rom", 0 )
2594GAME( 1982, insector, 0,        gottlieb1, insector, romtiles, ROT0,   "Gottlieb", "Insector (prototype)", 0 )
2595GAME( 1982, tylz,     0,        qbert,     tylz,     romtiles, ROT0,   "Mylstar",  "Tylz (prototype)", GAME_IMPERFECT_SOUND ) // modified sound hw?
2596GAME( 1984, argusg,   0,        gottlieb1, argusg,   ramtiles, ROT0,   "Gottlieb", "Argus (Gottlieb, prototype)" , 0) // aka Guardian / Protector?
2597GAME( 1983, mplanets, 0,        gottlieb1, mplanets, romtiles, ROT270, "Gottlieb", "Mad Planets", 0 )
2598GAME( 1983, mplanuk,  mplanets, gottlieb1, mplanets, romtiles, ROT270, "Gottlieb (Taitel license)", "Mad Planets (UK)", 0 )
2599GAME( 1983, krull,    0,        gottlieb1, krull,    ramtiles, ROT270, "Gottlieb", "Krull", 0 )
2600GAME( 1983, kngtmare, 0,        gottlieb1, kngtmare, romtiles, ROT0,   "Gottlieb", "Knightmare (prototype)", GAME_NO_SOUND )
2601GAME( 1983, sqbert,   0,        qbert,     qbert,    romtiles, ROT270, "Mylstar", "Faster, Harder, More Challenging Q*bert (prototype)", 0 )
2602GAME( 1983, qbertqub, 0,        qbert,     qbertqub, romtiles, ROT270, "Mylstar", "Q*bert's Qubes", 0 )
2603GAME( 1984, curvebal, 0,        gottlieb1, curvebal, romtiles, ROT270, "Mylstar", "Curve Ball", 0 )
2661GAME( 1982, reactor,   0,        reactor,   reactor,  ramtiles, ROT0,   "Gottlieb", "Reactor", 0 )
2662GAME( 1982, qbert,     0,        qbert,     qbert,    romtiles, ROT270, "Gottlieb", "Q*bert (US set 1)", 0 )
2663GAME( 1982, qberta,    qbert,    qbert,     qbert,    romtiles, ROT270, "Gottlieb", "Q*bert (US set 2)", 0 )
2664GAME( 1982, qbertj,    qbert,    qbert,     qbert,    romtiles, ROT270, "Gottlieb (Konami license)", "Q*bert (Japan)", 0 )
2665GAME( 1982, myqbert,   qbert,    qbert,     qbert,    romtiles, ROT270, "Gottlieb", "Mello Yello Q*bert", 0 )
2666GAME( 1982, qberttst,  qbert,    qbert,     qbert,    romtiles, ROT270, "Gottlieb", "Q*bert (early test version)", 0 )
2667GAME( 1982, qbtrktst,  qbert,    qbert,     qbert,    romtiles, ROT270, "Gottlieb", "Q*bert Board Input Test Rom", 0 )
2668GAME( 1982, insector,  0,        gottlieb1, insector, romtiles, ROT0,   "Gottlieb", "Insector (prototype)", 0 )
2669GAME( 1982, tylz,      0,        qbert,     tylz,     romtiles, ROT0,   "Mylstar",  "Tylz (prototype)", GAME_IMPERFECT_SOUND ) // modified sound hw?
2670GAME( 1984, argusg,    0,        gottlieb1, argusg,   ramtiles, ROT0,   "Gottlieb", "Argus (Gottlieb, prototype)" , 0) // aka Guardian / Protector?
2671GAME( 1983, mplanets,  0,        gottlieb1, mplanets, romtiles, ROT270, "Gottlieb", "Mad Planets", 0 )
2672GAME( 1983, mplanetsuk,mplanets, gottlieb1, mplanets, romtiles, ROT270, "Gottlieb (Taitel license)", "Mad Planets (UK)", 0 )
2673GAME( 1983, krull,     0,        gottlieb1, krull,    ramtiles, ROT270, "Gottlieb", "Krull", 0 )
2674GAME( 1983, kngtmare,  0,        gottlieb1, kngtmare, romtiles, ROT0,   "Gottlieb", "Knightmare (prototype)", GAME_NO_SOUND )
2675GAME( 1983, sqbert,    0,        qbert,     qbert,    romtiles, ROT270, "Mylstar", "Faster, Harder, More Challenging Q*bert (prototype)", 0 )
2676GAME( 1983, qbertqub,  0,        qbert,     qbertqub, romtiles, ROT270, "Mylstar", "Q*bert's Qubes", 0 )
2677GAME( 1984, curvebal,  0,        gottlieb1, curvebal, romtiles, ROT270, "Mylstar", "Curve Ball", 0 )
26042678
26052679/* games using rev 2 sound board */
26062680GAME( 1983, screwloo, 0,        screwloo,  screwloo, screwloo, ROT0,   "Mylstar", "Screw Loose (prototype)", 0 )
26072681GAME( 1983, mach3,    0,        g2laser,   mach3,    romtiles, ROT0,   "Mylstar", "M.A.C.H. 3", 0 )
2608GAME( 1984, cobram3,  cobra,    g2laser,   mach3,    romtiles, ROT0,   "Data East","Cobra Command (M.A.C.H. 3 hardware)", 0 )
2682GAME( 1984, cobram3,  cobra,    cobram3,   mach3,    romtiles, ROT0,   "Data East","Cobra Command (M.A.C.H. 3 hardware)", 0 )
26092683GAME( 1984, usvsthem, 0,        g2laser,   usvsthem, romtiles, ROT0,   "Mylstar", "Us vs. Them", 0 )
26102684GAME( 1984, 3stooges, 0,        gottlieb2, 3stooges, stooges,  ROT0,   "Mylstar", "The Three Stooges In Brides Is Brides", 0 )
26112685GAME( 1984, vidvince, 0,        gottlieb2, vidvince, vidvince, ROT0,   "Mylstar", "Video Vince and the Game Factory (prototype)", GAME_IMPERFECT_GRAPHICS ) // sprite wrapping issues
src/mame/drivers/ddragon.c
r5338r5339
12311231   ROM_LOAD( "21j-l-0",      0x0100, 0x0200, CRC(46339529) SHA1(64f4c42a826d67b7cbaa8a23a45ebc4eb6248891) )   /* unknown */
12321232ROM_END
12331233
1234ROM_START( ddragnw1 )
1234ROM_START( ddragonw1 )
12351235   ROM_REGION( 0x30000, "maincpu", 0 )   /* 64k for code + bankswitched memory */
12361236   ROM_LOAD( "e1-1.26",       0x08000, 0x08000, CRC(4b951643) SHA1(efb1f9ef2e46597d76123c9770854c1d83639eb2) )
12371237   ROM_LOAD( "21a-2-4.25",    0x10000, 0x08000, CRC(5cd67657) SHA1(96bc7a5354a76524bd43a4d7eb8b0053a89e39c4) ) /* banked at 0x4000-0x8000 */
r5338r5339
13131313   ROM_LOAD( "21j-l-0",      0x0100, 0x0200, CRC(46339529) SHA1(64f4c42a826d67b7cbaa8a23a45ebc4eb6248891) )   /* unknown */
13141314ROM_END
13151315
1316ROM_START( ddragoua )
1316ROM_START( ddragonua )
13171317   ROM_REGION( 0x30000, "maincpu", 0 )   /* 64k for code + bankswitched memory */
13181318   ROM_LOAD( "21a-1",     0x08000, 0x08000, CRC(1d625008) SHA1(84cc19a55e7c91fca1943d9624d93e0347ed4150) )
13191319   ROM_LOAD( "21a-2_4",   0x10000, 0x08000, CRC(5cd67657) SHA1(96bc7a5354a76524bd43a4d7eb8b0053a89e39c4) ) /* banked at 0x4000-0x8000 */
r5338r5339
13951395   ROM_LOAD( "21j-l-0",      0x0100, 0x0200, CRC(46339529) SHA1(64f4c42a826d67b7cbaa8a23a45ebc4eb6248891) )   /* unknown */
13961396ROM_END
13971397
1398ROM_START( ddragnba )
1398ROM_START( ddragonba )
13991399   ROM_REGION( 0x30000, "maincpu", 0 )   /* 64k for code + bankswitched memory */
14001400   ROM_LOAD( "5.bin",     0x08000, 0x08000, CRC(ae714964) SHA1(072522b97ca4edd099c6b48d7634354dc7088c53) )
14011401   ROM_LOAD( "4.bin",     0x10000, 0x08000, CRC(48045762) SHA1(ca39eea71ca76627a98210ce9cc61457a58f16b9) ) /* banked at 0x4000-0x8000 */
r5338r5339
14361436   ROM_LOAD( "21j-l-0",      0x0100, 0x0200, CRC(46339529) SHA1(64f4c42a826d67b7cbaa8a23a45ebc4eb6248891) )   /* unknown */
14371437ROM_END
14381438
1439ROM_START( ddragob2 )
1439ROM_START( ddragonb2 )
14401440   ROM_REGION( 0x30000, "maincpu", 0 )   /* 64k for code + bankswitched memory */
14411441   ROM_LOAD( "4.bin",        0x08000, 0x08000, CRC(668dfa19) SHA1(9b2ff1b66eeba0989e4ed850b7df1f5719ba5572) )
14421442   ROM_LOAD( "5.bin",        0x10000, 0x08000, CRC(5779705e) SHA1(4b8f22225d10f5414253ce0383bbebd6f720f3af) ) /* banked at 0x4000-0x8000 */
r5338r5339
14841484 the graphic roms are all scrambled.  The game also runs on 3x M6809 rather than the original CPUs.
14851485
14861486 */
1487ROM_START( ddgn6809 )
1487ROM_START( ddragon6809 )
14881488   ROM_REGION( 0x30000, "maincpu", 0 )   /* 64k for code + bankswitched memory */
14891489   ROM_LOAD( "16.bin",   0x08000, 0x08000, CRC(f4c72690) SHA1(c70d032355acf3f7f6586b6e57a94f80e099bf1a) )
14901490   ROM_LOAD( "17.bin",   0x10000, 0x08000, CRC(6489d637) SHA1(fd17fd870e9386a3e3bdd56c8d731c73d8c70b88) ) /* banked at 0x4000-0x8000 */
r5338r5339
15611561
15621562*/
15631563
1564ROM_START( dd6809a )
1564ROM_START( ddragon6809a )
15651565   ROM_REGION( 0x30000, "maincpu", 0 )   /* 64k for code + bankswitched memory */
15661566   ROM_LOAD( "20.7f",   0x08000, 0x08000, CRC(c804819f) SHA1(cc570a90b7bef1c6263f5e1fd96ed377c508fe2b) )
15671567   ROM_LOAD( "19.7g",   0x10000, 0x08000, CRC(de08db4d) SHA1(e63b90c3bb3af01d2855de9a996b51068bed7b52) ) /* banked at 0x4000-0x8000 */
r5338r5339
16461646   ROM_LOAD( "prom.16",      0x0000, 0x0200, CRC(46339529) SHA1(64f4c42a826d67b7cbaa8a23a45ebc4eb6248891) )   /* unknown (same as ddragon) */
16471647ROM_END
16481648
1649ROM_START( ddragn2u )
1649ROM_START( ddragon2u )
16501650   ROM_REGION( 0x30000, "maincpu", 0 )
16511651   ROM_LOAD( "26a9-04.bin",  0x08000, 0x8000, CRC(f2cfc649) SHA1(d3f1e0bae02472914a940222e4f600170a91736d) )
16521652   ROM_LOAD( "26aa-03.bin",  0x10000, 0x8000, CRC(44dd5d4b) SHA1(427c4e419668b41545928cfc96435c010ecdc88b) )
r5338r5339
18111811   this version uses the sound program from double dragon, and as this configuration has been found on at least
18121812   4 boards it's likely that the updated sound rom in the parent set was only shipped with the 'game room'
18131813   version of the game */
1814ROM_START( ddungene )
1814ROM_START( ddungeone )
18151815   ROM_REGION( 0x30000, "maincpu", 0 ) /* Main CPU? */
18161816   ROM_LOAD( "dd25.25",    0x10000, 0x8000,  CRC(922e719c) SHA1(d1c73f56913cd368158abc613d7bbab669509742) ) /* 3 on this board */
18171817   ROM_LOAD( "dd26.26",    0x08000, 0x8000,  CRC(a6e7f608) SHA1(83b9301c39bfdc1e50a37f2bdc4d4f65a1111bee) ) /* 2 on this board */
r5338r5339
20252025 *
20262026 *************************************/
20272027
2028GAME( 1987, ddragon,  0,        ddragon,  ddragon,  ddragon,  ROT0, "Technos Japan", "Double Dragon (Japan)", GAME_SUPPORTS_SAVE )
2029GAME( 1987, ddragonw, ddragon,  ddragon,  ddragon,  ddragon,  ROT0, "[Technos Japan] (Taito license)", "Double Dragon (World Set 1)", GAME_SUPPORTS_SAVE )
2030GAME( 1987, ddragnw1, ddragon,  ddragon,  ddragon,  ddragon,  ROT0, "[Technos Japan] (Taito license)", "Double Dragon (World Set 2)", GAME_SUPPORTS_SAVE )
2031GAME( 1987, ddragonu, ddragon,  ddragon,  ddragon,  ddragon,  ROT0, "[Technos Japan] (Taito America license)", "Double Dragon (US Set 1)", GAME_SUPPORTS_SAVE )
2032GAME( 1987, ddragoua, ddragon,  ddragon,  ddragon,  ddragon,  ROT0, "[Technos Japan] (Taito America license)", "Double Dragon (US Set 2)", GAME_SUPPORTS_SAVE )
2033GAME( 1987, ddragob2, ddragon,  ddragon,  ddragon,  ddragon,  ROT0, "bootleg", "Double Dragon (bootleg)", GAME_SUPPORTS_SAVE )
2034GAME( 1987, ddragonb, ddragon,  ddragonb, ddragon,  ddragon,  ROT0, "bootleg", "Double Dragon (bootleg with HD6309)", GAME_SUPPORTS_SAVE ) // according to dump notes
2035GAME( 1987, ddragnba, ddragon,  ddragnba, ddragon,  ddragon,  ROT0, "bootleg", "Double Dragon (bootleg with M6803)", GAME_SUPPORTS_SAVE )
2036GAME( 1987, ddgn6809, ddragon,  ddgn6809, ddragon,  ddgn6809, ROT0, "bootleg", "Double Dragon (bootleg with 3xM6809, set 1)", GAME_NOT_WORKING )
2037GAME( 1987, dd6809a,  ddragon,  ddgn6809, ddragon,  ddgn6809, ROT0, "bootleg", "Double Dragon (bootleg with 3xM6809, set 2)", GAME_NOT_WORKING )
2038GAME( 1988, ddragon2, 0,        ddragon2, ddragon2, ddragon2, ROT0, "Technos Japan", "Double Dragon II - The Revenge (World)", GAME_SUPPORTS_SAVE )
2039GAME( 1988, ddragn2u, ddragon2, ddragon2, ddragon2, ddragon2, ROT0, "Technos Japan", "Double Dragon II - The Revenge (US)", GAME_SUPPORTS_SAVE )
2028GAME( 1987, ddragon,     0,        ddragon,  ddragon,  ddragon,  ROT0, "Technos Japan", "Double Dragon (Japan)", GAME_SUPPORTS_SAVE )
2029GAME( 1987, ddragonw,    ddragon,  ddragon,  ddragon,  ddragon,  ROT0, "[Technos Japan] (Taito license)", "Double Dragon (World Set 1)", GAME_SUPPORTS_SAVE )
2030GAME( 1987, ddragonw1,   ddragon,  ddragon,  ddragon,  ddragon,  ROT0, "[Technos Japan] (Taito license)", "Double Dragon (World Set 2)", GAME_SUPPORTS_SAVE )
2031GAME( 1987, ddragonu,    ddragon,  ddragon,  ddragon,  ddragon,  ROT0, "[Technos Japan] (Taito America license)", "Double Dragon (US Set 1)", GAME_SUPPORTS_SAVE )
2032GAME( 1987, ddragonua,   ddragon,  ddragon,  ddragon,  ddragon,  ROT0, "[Technos Japan] (Taito America license)", "Double Dragon (US Set 2)", GAME_SUPPORTS_SAVE )
2033GAME( 1987, ddragonb2,   ddragon,  ddragon,  ddragon,  ddragon,  ROT0, "bootleg", "Double Dragon (bootleg)", GAME_SUPPORTS_SAVE )
2034GAME( 1987, ddragonb,    ddragon,  ddragonb, ddragon,  ddragon,  ROT0, "bootleg", "Double Dragon (bootleg with HD6309)", GAME_SUPPORTS_SAVE ) // according to dump notes
2035GAME( 1987, ddragonba,   ddragon,  ddragnba, ddragon,  ddragon,  ROT0, "bootleg", "Double Dragon (bootleg with M6803)", GAME_SUPPORTS_SAVE )
2036GAME( 1987, ddragon6809, ddragon,  ddgn6809, ddragon,  ddgn6809, ROT0, "bootleg", "Double Dragon (bootleg with 3xM6809, set 1)", GAME_NOT_WORKING )
2037GAME( 1987, ddragon6809a,ddragon,  ddgn6809, ddragon,  ddgn6809, ROT0, "bootleg", "Double Dragon (bootleg with 3xM6809, set 2)", GAME_NOT_WORKING )
2038GAME( 1988, ddragon2,    0,        ddragon2, ddragon2, ddragon2, ROT0, "Technos Japan", "Double Dragon II - The Revenge (World)", GAME_SUPPORTS_SAVE )
2039GAME( 1988, ddragon2u,   ddragon2, ddragon2, ddragon2, ddragon2, ROT0, "Technos Japan", "Double Dragon II - The Revenge (US)", GAME_SUPPORTS_SAVE )
20402040
20412041/* these were conversions of double dragon */
20422042GAME( 1991, tstrike,  0,        darktowr, tstrike,  darktowr, ROT0, "East Coast Coin Company (Melbourne)", "Thunder Strike (Newer)", GAME_SUPPORTS_SAVE )
20432043GAME( 1991, tstrikea, tstrike,  darktowr, tstrike,  darktowr, ROT0, "Game Room", "Thunder Strike (Older)", GAME_SUPPORTS_SAVE )
20442044GAME( 1992, ddungeon, 0,        darktowr, ddungeon, darktowr, ROT0, "Game Room", "Dangerous Dungeons", GAME_SUPPORTS_SAVE )
2045GAME( 1992, ddungene, ddungeon, darktowr, ddungeon, darktowr, ROT0, "East Coast Coin Company (Melbourne)", "Dangerous Dungeons (East Coast Coin Company)", GAME_SUPPORTS_SAVE )
2045GAME( 1992, ddungeone,ddungeon, darktowr, ddungeon, darktowr, ROT0, "East Coast Coin Company (Melbourne)", "Dangerous Dungeons (East Coast Coin Company)", GAME_SUPPORTS_SAVE )
20462046GAME( 1992, darktowr, 0,        darktowr, darktowr, darktowr, ROT0, "Game Room", "Dark Tower", GAME_SUPPORTS_SAVE )
20472047
20482048/* these run on their own board, but are basically the same game. Toffy even has 'dangerous dungeons' text in it */
src/mame/drivers/asterix.c
r5338r5339
287287   ROM_LOAD( "068a06.1e", 0x000000, 0x200000, CRC(6df9ec0e) SHA1(cee60312e9813bd6579f3ac7c3c2521a8e633eca) )
288288ROM_END
289289
290ROM_START( astrxeac )
290ROM_START( asterixeac )
291291   ROM_REGION( 0x100000, "maincpu", 0 )
292292   ROM_LOAD16_BYTE( "068_ea_c01.8c", 0x000000,  0x20000, CRC(0ccd1feb) SHA1(016d642e3a745f0564aa93f0f66d5c0f37962990) )
293293   ROM_LOAD16_BYTE( "068_ea_c02.8d", 0x000001,  0x20000, CRC(b0805f47) SHA1(b58306164e8fec69002656993ae80abbc8f136cd) )
r5338r5339
309309   ROM_LOAD( "068a06.1e", 0x000000, 0x200000, CRC(6df9ec0e) SHA1(cee60312e9813bd6579f3ac7c3c2521a8e633eca) )
310310ROM_END
311311
312ROM_START( astrxeaa )
312ROM_START( asterixeaa )
313313   ROM_REGION( 0x100000, "maincpu", 0 )
314314   ROM_LOAD16_BYTE( "068_ea_a01.8c", 0x000000,  0x20000, CRC(85b41d8e) SHA1(e1326f6d61b8097f5201d5bd37e4d2a357d17b47) )
315315   ROM_LOAD16_BYTE( "068_ea_a02.8d", 0x000001,  0x20000, CRC(8e886305) SHA1(41a9de2cdad8c1185b4d13ea5b4a9309716947c5) )
r5338r5339
366366}
367367
368368
369GAME( 1992, asterix,  0,       asterix, asterix, asterix, ROT0, "Konami", "Asterix (ver EAD)", GAME_IMPERFECT_GRAPHICS )
370GAME( 1992, astrxeac, asterix, asterix, asterix, asterix, ROT0, "Konami", "Asterix (ver EAC)", GAME_IMPERFECT_GRAPHICS )
371GAME( 1992, astrxeaa, asterix, asterix, asterix, asterix, ROT0, "Konami", "Asterix (ver EAA)", GAME_IMPERFECT_GRAPHICS )
372GAME( 1992, asterixj, asterix, asterix, asterix, asterix, ROT0, "Konami", "Asterix (ver JAD)", GAME_IMPERFECT_GRAPHICS )
369GAME( 1992, asterix,    0,       asterix, asterix, asterix, ROT0, "Konami", "Asterix (ver EAD)", GAME_IMPERFECT_GRAPHICS )
370GAME( 1992, asterixeac, asterix, asterix, asterix, asterix, ROT0, "Konami", "Asterix (ver EAC)", GAME_IMPERFECT_GRAPHICS )
371GAME( 1992, asterixeaa, asterix, asterix, asterix, asterix, ROT0, "Konami", "Asterix (ver EAA)", GAME_IMPERFECT_GRAPHICS )
372GAME( 1992, asterixj,   asterix, asterix, asterix, asterix, ROT0, "Konami", "Asterix (ver JAD)", GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/goldnpkr.c
r5338r5339
934934static INPUT_PORTS_START( goldnpkr )
935935   /* Multiplexed - 4x5bits */
936936   PORT_START("IN0-0")
937   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_1)
938   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Meters") PORT_CODE(KEYCODE_9)
939   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Double Up") PORT_CODE(KEYCODE_3)
940   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Deal/Draw") PORT_CODE(KEYCODE_2)
941   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Cancel") PORT_CODE(KEYCODE_N)
937   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
938   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Meters")
939   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP )
940   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Draw")
941   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_CANCEL )
942942   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
943943   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
944944   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
945945
946946   PORT_START("IN0-1")
947   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_IMPULSE(3) PORT_NAME("Out (Manual Collect)") PORT_CODE(KEYCODE_Q)
948   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_NAME("Off (Payout)") PORT_CODE(KEYCODE_W)
949   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Take") PORT_CODE(KEYCODE_4)
950   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Big") PORT_CODE(KEYCODE_A)
951   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Small") PORT_CODE(KEYCODE_S)
947   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_IMPULSE(3) PORT_NAME("Out (Manual Collect)") PORT_CODE(KEYCODE_Q)
948   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Off (Payout)") PORT_CODE(KEYCODE_W)
949   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE )
950   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big")
951   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small")
952952   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
953953   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
954954   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
955955
956956   PORT_START("IN0-2")
957   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold1") PORT_CODE(KEYCODE_Z)
958   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold2") PORT_CODE(KEYCODE_X)
959   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold3") PORT_CODE(KEYCODE_C)
960   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold4") PORT_CODE(KEYCODE_V)
961   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold5") PORT_CODE(KEYCODE_B)
957   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
958   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
959   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
960   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
961   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
962962   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
963963   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
964964   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
997997   /* Multiplexed - 4x5bits */
998998   PORT_START("IN0-0")
999999   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
1000   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Meters") PORT_CODE(KEYCODE_9)
1000   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Meters")
10011001   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
1002   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Deal/Draw") PORT_CODE(KEYCODE_2)
1002   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Draw")
10031003   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
10041004   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
10051005   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
10161016   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
10171017
10181018   PORT_START("IN0-2")
1019   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold1 / Take Score (Kasse)") PORT_CODE(KEYCODE_Z)
1020   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold2 / Small (Tief)") PORT_CODE(KEYCODE_X)
1021   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold3 / Bet (Setze)") PORT_CODE(KEYCODE_C)
1022   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold4 / Big (Hoch)") PORT_CODE(KEYCODE_V)
1023   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold5 / Double Up (Dopp.)") PORT_CODE(KEYCODE_B)
1019   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Hold 1 / Take Score (Kasse)")
1020   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Hold 2 / Small (Tief)")
1021   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Hold 3 / Bet (Setze)")
1022   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Hold 4 / Big (Hoch)")
1023   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Hold 5 / Double Up (Dopp.)")
10241024   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
10251025   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
10261026   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
10651065static INPUT_PORTS_START( pottnpkr )
10661066   /* Multiplexed - 4x5bits */
10671067   PORT_START("IN0-0")
1068   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_1)
1069   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Meters") PORT_CODE(KEYCODE_9)
1070   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Double Up") PORT_CODE(KEYCODE_3)
1071   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Deal/Draw") PORT_CODE(KEYCODE_2)
1072   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Cancel") PORT_CODE(KEYCODE_N)
1068   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
1069   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Meters")
1070   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP )
1071   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Draw")
1072   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_CANCEL )
10731073   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
10741074   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
10751075   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
10761076
10771077   PORT_START("IN0-1")
1078   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_IMPULSE(3) PORT_NAME("Manual Collect") PORT_CODE(KEYCODE_Q)
1079   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_W)
1080   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Take") PORT_CODE(KEYCODE_4)
1081   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Big") PORT_CODE(KEYCODE_A)
1082   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Small") PORT_CODE(KEYCODE_S)
1078   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_IMPULSE(3) PORT_NAME("Manual Collect") PORT_CODE(KEYCODE_Q)
1079   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_W)
1080   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE )
1081   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big")
1082   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small")
10831083   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
10841084   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
10851085   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
10861086
10871087   PORT_START("IN0-2")
1088   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold1") PORT_CODE(KEYCODE_Z)
1089   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold2") PORT_CODE(KEYCODE_X)
1090   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold3") PORT_CODE(KEYCODE_C)
1091   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold4") PORT_CODE(KEYCODE_V)
1092   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold5") PORT_CODE(KEYCODE_B)
1088   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
1089   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
1090   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
1091   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
1092   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
10931093   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
10941094   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
10951095   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
11361136static INPUT_PORTS_START( potnpkra )
11371137   /* Multiplexed - 4x5bits */
11381138   PORT_START("IN0-0")
1139   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(3) PORT_NAME("Coin 1")
1140   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Meters") PORT_CODE(KEYCODE_9)
1141   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Double Up") PORT_CODE(KEYCODE_3)
1142   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Deal/Draw") PORT_CODE(KEYCODE_2)
1143   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Cancel") PORT_CODE(KEYCODE_N)
1139   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(3) PORT_NAME("Coin 1")
1140   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Meters")
1141   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP )
1142   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Draw")
1143   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_CANCEL )
11441144   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
11451145   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
11461146   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
11471147
11481148   PORT_START("IN0-1")
1149   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_IMPULSE(3) PORT_NAME("Manual Collect") PORT_CODE(KEYCODE_Q)
1150   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_W)
1151   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Take") PORT_CODE(KEYCODE_4)
1152   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Big") PORT_CODE(KEYCODE_A)
1153   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Small") PORT_CODE(KEYCODE_S)
1149   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_IMPULSE(3) PORT_NAME("Manual Collect") PORT_CODE(KEYCODE_Q)
1150   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_W)
1151   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE )
1152   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big")
1153   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small")
11541154   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
11551155   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
11561156   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
11571157
11581158   PORT_START("IN0-2")
1159   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold1") PORT_CODE(KEYCODE_Z)
1160   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold2") PORT_CODE(KEYCODE_X)
1161   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold3") PORT_CODE(KEYCODE_C)
1162   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold4") PORT_CODE(KEYCODE_V)
1163   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold5") PORT_CODE(KEYCODE_B)
1159   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
1160   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
1161   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
1162   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
1163   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
11641164   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
11651165   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
11661166   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
11681168   PORT_START("IN0-3")
11691169   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Settings") PORT_CODE(KEYCODE_F2)
11701170   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1171   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_NAME("Note in")
1172   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_1)
1171   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_NAME("Note in")
1172   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
11731173   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
11741174   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
11751175   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
12041204
12051205static INPUT_PORTS_START( potnpkrc )
12061206   /* Multiplexed - 4x5bits */
1207   PORT_START("IN0-0")
1208   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(3) PORT_NAME("Coin 1")
1209   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Meters") PORT_CODE(KEYCODE_9)
1210   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Double Up") PORT_CODE(KEYCODE_3)
1211   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Deal/Draw") PORT_CODE(KEYCODE_2)
1212   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Cancel") PORT_CODE(KEYCODE_N)
1213   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1214   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1215   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1207   PORT_INCLUDE( potnpkra )
12161208
1217   PORT_START("IN0-1")
1218   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_IMPULSE(3) PORT_NAME("Manual Collect") PORT_CODE(KEYCODE_Q)
1219   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_W)
1220   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Take") PORT_CODE(KEYCODE_4)
1221   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Big") PORT_CODE(KEYCODE_A)
1222   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Small") PORT_CODE(KEYCODE_S)
1223   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1224   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1225   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1226
1227   PORT_START("IN0-2")
1228   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold1") PORT_CODE(KEYCODE_Z)
1229   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold2") PORT_CODE(KEYCODE_X)
1230   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold3") PORT_CODE(KEYCODE_C)
1231   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold4") PORT_CODE(KEYCODE_V)
1232   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold5") PORT_CODE(KEYCODE_B)
1233   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1234   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1235   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1236
1237   PORT_START("IN0-3")
1238   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Settings") PORT_CODE(KEYCODE_F2)
1239   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1240   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_NAME("Note in")
1241   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_1)
1242   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
1243   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1244   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1245   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1246
1247   PORT_START("SW1")
1248   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
1249   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
1250   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1251   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
1252   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
1253   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1254   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
1255   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
1256   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1257   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
1258   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
1259   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1209   PORT_MODIFY("SW1")
12601210   PORT_DIPNAME( 0x10, 0x00, "Ace or Better" )      PORT_DIPLOCATION("SW1:1")
12611211   PORT_DIPSETTING(    0x10, DEF_STR( No ) )
12621212   PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
12631213   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:2")
12641214   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
12651215   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1266   PORT_DIPNAME( 0x40, 0x00, "Payout Mode" )      PORT_DIPLOCATION("SW1:3")
1267   PORT_DIPSETTING(    0x40, "Manual" )
1268   PORT_DIPSETTING(    0x00, "Auto" )
1269   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:4")
1270   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
1271   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
12721216INPUT_PORTS_END
12731217
12741218static INPUT_PORTS_START( goodluck )
12751219   /* Multiplexed - 4x5bits */
1276   PORT_START("IN0-0")
1277   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_1)
1278   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Meters") PORT_CODE(KEYCODE_9)
1279   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Double Up") PORT_CODE(KEYCODE_3)
1280   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Deal/Draw") PORT_CODE(KEYCODE_2)
1281   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Cancel") PORT_CODE(KEYCODE_N)
1282   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1283   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1284   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1220   PORT_INCLUDE( goldnpkr )
12851221
1286   PORT_START("IN0-1")
1287   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_IMPULSE(3) PORT_NAME("Manual Collect") PORT_CODE(KEYCODE_Q)
1288   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_W)
1289   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Take") PORT_CODE(KEYCODE_4)
1290   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Big") PORT_CODE(KEYCODE_A)
1291   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Small") PORT_CODE(KEYCODE_S)
1292   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1293   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1294   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1222   PORT_MODIFY("IN0-1")
1223   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_IMPULSE(3) PORT_NAME("Manual Collect") PORT_CODE(KEYCODE_Q)
1224   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_W)
12951225
1296   PORT_START("IN0-2")
1297   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold1") PORT_CODE(KEYCODE_Z)
1298   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold2") PORT_CODE(KEYCODE_X)
1299   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold3") PORT_CODE(KEYCODE_C)
1300   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold4") PORT_CODE(KEYCODE_V)
1301   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold5") PORT_CODE(KEYCODE_B)
1302   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1303   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1304   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1305
1306   PORT_START("IN0-3")
1226   PORT_MODIFY("IN0-3")
13071227   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Settings") PORT_CODE(KEYCODE_F2)
13081228   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
13091229   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_NAME("Note In")
r5338r5339
13131233   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
13141234   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
13151235
1316   PORT_START("SW1")
1236   PORT_MODIFY("SW1")
13171237   /* only bits 4-7 are connected here and were routed to SW1 1-4 */
1318   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
1319   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
1320   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
1321   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
1322   PORT_DIPNAME( 0x10, 0x00, "Jacks or Better" )   PORT_DIPLOCATION("SW1:1")
1323   PORT_DIPSETTING(    0x10, DEF_STR( No ) )
1324   PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
1325   PORT_DIPNAME( 0x20, 0x00, "50hz/60hz" )         PORT_DIPLOCATION("SW1:2")
1326   PORT_DIPSETTING(    0x20, "50hz" )
1327   PORT_DIPSETTING(    0x00, "60hz" )
1328   PORT_DIPNAME( 0x40, 0x00, "Payout Mode" )      PORT_DIPLOCATION("SW1:3")
1329   PORT_DIPSETTING(    0x40, "Manual" )
1330   PORT_DIPSETTING(    0x00, "Auto" )
13311238   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:4")
13321239   PORT_DIPSETTING(    0x80, DEF_STR( No ) )
13331240   PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
r5338r5339
13611268
13621269static INPUT_PORTS_START( witchcrd )
13631270   /* Multiplexed - 4x5bits */
1364   PORT_START("IN0-0")
1365   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_1)
1366   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Meters") PORT_CODE(KEYCODE_9)
1367   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Double Up") PORT_CODE(KEYCODE_3)
1368   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Deal/Draw") PORT_CODE(KEYCODE_2)
1369   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Cancel") PORT_CODE(KEYCODE_N)
1370   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1371   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1372   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1271   PORT_INCLUDE( goldnpkr )
13731272
1374   PORT_START("IN0-1")
1273   PORT_MODIFY("IN0-1")
13751274   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_IMPULSE(3) PORT_NAME("Manual Collect") PORT_CODE(KEYCODE_Q)
13761275   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_W)
1377   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Take") PORT_CODE(KEYCODE_4)
1378   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Big") PORT_CODE(KEYCODE_A)
1379   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Small") PORT_CODE(KEYCODE_S)
1380   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1381   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1382   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
13831276
1384   PORT_START("IN0-2")
1385   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold1") PORT_CODE(KEYCODE_Z)
1386   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold2") PORT_CODE(KEYCODE_X)
1387   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold3") PORT_CODE(KEYCODE_C)
1388   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold4") PORT_CODE(KEYCODE_V)
1389   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold5") PORT_CODE(KEYCODE_B)
1390   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1391   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1392   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1393
1394   PORT_START("IN0-3")
1277   PORT_MODIFY("IN0-3")
13951278   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Settings") PORT_CODE(KEYCODE_F2)
13961279   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("D-31") PORT_CODE(KEYCODE_E)
13971280   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_NAME("Note In")
r5338r5339
14011284   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
14021285   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
14031286
1404   PORT_START("SW1")
1287   PORT_MODIFY("SW1")
14051288/*  Printed on epoxy module:
14061289
14071290     40%  50%  60%  70%
r5338r5339
14641347static INPUT_PORTS_START( witchcda )
14651348   /* Multiplexed - 4x5bits */
14661349   PORT_START("IN0-0")
1467   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Apuesta (Bet)") PORT_CODE(KEYCODE_1)
1468   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Contabilidad (Bookkeeping)") PORT_CODE(KEYCODE_9)
1469   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Doblar (Double Up)") PORT_CODE(KEYCODE_3)
1470   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Reparte (Deal)") PORT_CODE(KEYCODE_2)
1471   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Cancela (Cancel)") PORT_CODE(KEYCODE_N)
1350   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Apuesta (Bet)")
1351   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Contabilidad (Bookkeeping)")
1352   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) PORT_NAME("Doblar (Double Up)")
1353   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Reparte (Deal)")
1354   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) PORT_NAME("Cancela (Cancel)")
14721355   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
14731356   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
14741357   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
14751358
14761359   PORT_START("IN0-1")
1477   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_IMPULSE(3) PORT_NAME("Out (Manual Collect)") PORT_CODE(KEYCODE_Q)
1478   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_NAME("Pagar (Payout)") PORT_CODE(KEYCODE_W)
1479   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Cobrar (Take)") PORT_CODE(KEYCODE_4)
1480   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Alta (Big)") PORT_CODE(KEYCODE_A)
1481   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Baja (Small)") PORT_CODE(KEYCODE_S)
1360   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_IMPULSE(3) PORT_NAME("Out (Manual Collect)") PORT_CODE(KEYCODE_Q)
1361   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Pagar (Payout)") PORT_CODE(KEYCODE_W)
1362   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Cobrar (Take)")
1363   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Alta (Big)")
1364   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Baja (Small)")
14821365   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
14831366   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
14841367   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
14851368
14861369   PORT_START("IN0-2")
1487   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold1") PORT_CODE(KEYCODE_Z)
1488   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold2") PORT_CODE(KEYCODE_X)
1489   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold3") PORT_CODE(KEYCODE_C)
1490   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold4") PORT_CODE(KEYCODE_V)
1491   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold5") PORT_CODE(KEYCODE_B)
1370   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
1371   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
1372   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
1373   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
1374   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
14921375   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
14931376   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
14941377   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
15521435
15531436static INPUT_PORTS_START( witchcdc )
15541437   /* Multiplexed - 4x5bits */
1555   PORT_START("IN0-0")
1556   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_1)
1557   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Meters") PORT_CODE(KEYCODE_9)
1558   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Double Up") PORT_CODE(KEYCODE_3)
1559   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Deal/Draw") PORT_CODE(KEYCODE_2)
1560   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Cancel") PORT_CODE(KEYCODE_N)
1561   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1562   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1563   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1438   PORT_INCLUDE( witchcrd )
15641439
1565   PORT_START("IN0-1")
1566   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_IMPULSE(3) PORT_NAME("Manual Collect") PORT_CODE(KEYCODE_Q)
1567   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_W)
1568   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Take") PORT_CODE(KEYCODE_4)
1569   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Big") PORT_CODE(KEYCODE_A)
1570   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Small") PORT_CODE(KEYCODE_S)
1571   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1572   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1573   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1574
1575   PORT_START("IN0-2")
1576   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold1") PORT_CODE(KEYCODE_Z)
1577   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold2") PORT_CODE(KEYCODE_X)
1578   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold3") PORT_CODE(KEYCODE_C)
1579   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold4") PORT_CODE(KEYCODE_V)
1580   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold5") PORT_CODE(KEYCODE_B)
1581   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1582   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1583   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1584
1585   PORT_START("IN0-3")
1586   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Settings") PORT_CODE(KEYCODE_F2)
1587   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("D-31") PORT_CODE(KEYCODE_E)
1588   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_NAME("Note In")
1589   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(3) PORT_NAME("Coin In")
1590   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
1591   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1592   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1593   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1594
1595   PORT_START("SW1")
1440   PORT_MODIFY("SW1")
15961441   /* only bits 4-7 are connected here and were routed to SW1 1-4 */
15971442   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
15981443   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
r5338r5339
16121457   PORT_DIPSETTING(    0x00, "1 Coin - 1 Credit / 1 Note - 10 Credits" )
16131458   PORT_DIPSETTING(    0x80, "1 Coin - 5 Credits / 1 Note - 10 Credits" )
16141459
1615   PORT_START("SW2")
1460   PORT_MODIFY("SW2")
16161461   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
16171462   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
16181463   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
r5338r5339
16411486
16421487static INPUT_PORTS_START( sloco93 )
16431488   /* Multiplexed - 4x5bits */
1644   PORT_START("IN0-0")
1645   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Apuesta (Bet)") PORT_CODE(KEYCODE_1)
1646   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Contabilidad (Bookkeeping)") PORT_CODE(KEYCODE_9)
1647   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Doblar (Double Up)") PORT_CODE(KEYCODE_3)
1648   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Reparte (Deal)") PORT_CODE(KEYCODE_2)
1649   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Cancela (Cancel)") PORT_CODE(KEYCODE_N)
1650   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1651   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1652   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1489   PORT_INCLUDE( witchcda )
16531490
1654   PORT_START("IN0-1")
1655   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_IMPULSE(3) PORT_NAME("Out (Manual Collect)") PORT_CODE(KEYCODE_Q)
1656   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_NAME("Pagar (Payout)") PORT_CODE(KEYCODE_W)
1657   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Cobrar (Take)") PORT_CODE(KEYCODE_4)
1658   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Negro (Black)") PORT_CODE(KEYCODE_A)
1659   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Rojo (Red)") PORT_CODE(KEYCODE_S)
1660   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1661   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1662   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1491   PORT_MODIFY("IN0-1")
1492   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Negro (Black)") PORT_CODE(KEYCODE_A)
1493   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Rojo (Red)") PORT_CODE(KEYCODE_S)
16631494
1664   PORT_START("IN0-2")
1665   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold1") PORT_CODE(KEYCODE_Z)
1666   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold2") PORT_CODE(KEYCODE_X)
1667   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold3") PORT_CODE(KEYCODE_C)
1668   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold4") PORT_CODE(KEYCODE_V)
1669   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold5") PORT_CODE(KEYCODE_B)
1670   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1671   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1672   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1673
1674   PORT_START("IN0-3")
1675   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Configuracion (Settings)") PORT_CODE(KEYCODE_F2)
1676   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("D-31") PORT_CODE(KEYCODE_E)
1677   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_NAME("Billetes (Note In)")
1678   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(3) PORT_NAME("Fichas (Coin In)")
1679   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
1680   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1681   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1682   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1683
1684   PORT_START("SW1")
1495   PORT_MODIFY("SW1")
16851496   /* only bits 4-7 are connected here and were routed to SW1 1-4 */
16861497   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
16871498   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
r5338r5339
16991510   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:4")
17001511   PORT_DIPSETTING(    0x80, "1 Coin - 10 Credit / 1 Note - 120 Credits" )
17011512   PORT_DIPSETTING(    0x00, "1 Coin - 100 Credits / 1 Note - 100 Credits" )
1702
1703   PORT_START("SW2")
1704   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
1705   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
1706   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1707   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
1708   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
1709   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1710   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
1711   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
1712   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1713   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
1714   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
1715   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1716   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
1717   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1718   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1719   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
1720   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
1721   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1722   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
1723   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
1724   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1725   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
1726   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
1727   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
17281513INPUT_PORTS_END
17291514
17301515static INPUT_PORTS_START( royale )
r5338r5339
17981583static INPUT_PORTS_START( bsuerte )
17991584   /* Multiplexed - 4x5bits */
18001585   PORT_START("IN0-0")
1801   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Apostar (Bet)") PORT_CODE(KEYCODE_1)
1802   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Contabilidad (Meters)") PORT_CODE(KEYCODE_9)
1803   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Doblar (Double Up)") PORT_CODE(KEYCODE_3)
1804   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Dar/Virar (Deal/Draw)") PORT_CODE(KEYCODE_2)
1805   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Cancelar (Cancel)") PORT_CODE(KEYCODE_N)
1586   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Apostar (Bet)")
1587   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Contabilidad (Meters)")
1588   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) PORT_NAME("Doblar (Double Up)")
1589   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Dar/Virar (Deal/Draw)")
1590   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) PORT_NAME("Cancelar (Cancel)")
18061591   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
18071592   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
18081593   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
18091594
18101595   PORT_START("IN0-1")
1811   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_IMPULSE(3) PORT_NAME("Out (Manual Collect)") PORT_CODE(KEYCODE_Q)
1812   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_NAME("Pagar (Payout)") PORT_CODE(KEYCODE_W)
1813   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Cobrar (Take)") PORT_CODE(KEYCODE_4)
1814   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Mayor (Big)") PORT_CODE(KEYCODE_A)
1815   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Menor (Small)") PORT_CODE(KEYCODE_S)
1596   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_IMPULSE(3) PORT_NAME("Out (Manual Collect)") PORT_CODE(KEYCODE_Q)
1597   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Pagar (Payout)") PORT_CODE(KEYCODE_W)
1598   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Cobrar (Take)")
1599   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Mayor (Big)")
1600   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Menor (Small)")
18161601   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
18171602   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
18181603   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
18191604
18201605   PORT_START("IN0-2")
1821   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold1") PORT_CODE(KEYCODE_Z)
1822   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold2") PORT_CODE(KEYCODE_X)
1823   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold3") PORT_CODE(KEYCODE_C)
1824   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold4") PORT_CODE(KEYCODE_V)
1825   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold5") PORT_CODE(KEYCODE_B)
1606   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
1607   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
1608   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
1609   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
1610   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
18261611   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
18271612   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
18281613   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
18301615   PORT_START("IN0-3")
18311616   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Configuracion (Settings)") PORT_CODE(KEYCODE_F2)
18321617   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1833   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_NAME("Billetes (Note In)")
1834   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(3) PORT_NAME("Fichas (Coin In)")
1835   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN3 )   PORT_NAME("Cupones (Coupon In)")
1618   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_NAME("Billetes (Note In)")
1619   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(3) PORT_NAME("Fichas (Coin In)")
1620   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_NAME("Cupones (Coupon In)")
18361621   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
18371622   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
18381623   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
18851670
18861671static INPUT_PORTS_START( bsuertew )
18871672   /* Multiplexed - 4x5bits */
1888   PORT_START("IN0-0")
1889   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Apostar (Bet)") PORT_CODE(KEYCODE_1)
1890   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Contabilidad (Meters)") PORT_CODE(KEYCODE_9)
1891   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Doblar (Double Up)") PORT_CODE(KEYCODE_3)
1892   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Dar/Virar (Deal/Draw)") PORT_CODE(KEYCODE_2)
1893   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Cancelar (Cancel)") PORT_CODE(KEYCODE_N)
1894   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1895   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1896   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1673   PORT_INCLUDE( bsuerte )
18971674
1898   PORT_START("IN0-1")
1899   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_IMPULSE(3) PORT_NAME("Out (Manual Collect)") PORT_CODE(KEYCODE_Q)
1900   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_NAME("Pagar (Payout)") PORT_CODE(KEYCODE_W)
1901   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Cobrar (Take)") PORT_CODE(KEYCODE_4)
1902   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Mayor (Big)") PORT_CODE(KEYCODE_A)
1903   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Menor (Small)") PORT_CODE(KEYCODE_S)
1904   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1905   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1906   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1907
1908   PORT_START("IN0-2")
1909   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold1") PORT_CODE(KEYCODE_Z)
1910   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold2") PORT_CODE(KEYCODE_X)
1911   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold3") PORT_CODE(KEYCODE_C)
1912   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold4") PORT_CODE(KEYCODE_V)
1913   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold5") PORT_CODE(KEYCODE_B)
1914   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1915   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1916   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1917
1918   PORT_START("IN0-3")
1919   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Configuracion (settings)") PORT_CODE(KEYCODE_F2)
1920   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1921   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_NAME("Billetes (Note In)")
1922   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(3) PORT_NAME("Fichas (Coin In)")
1923   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN3 )   PORT_NAME("Cupones (Coupon In)")
1924   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1925   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1926   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1927
1928   PORT_START("SW1")
1675   PORT_MODIFY("SW1")
19291676   /* only bits 4-7 are connected here and were routed to SW1 1-4 */
1930   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
1931   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
1932   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
1933   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
1934   PORT_DIPNAME( 0x10, 0x00, "Par Simple" )      PORT_DIPLOCATION("SW1:1")
1935   PORT_DIPSETTING(    0x10, DEF_STR( No ) )
1936   PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
19371677   PORT_DIPNAME( 0x20, 0x00, "Creditos Ganados" )   PORT_DIPLOCATION("SW1:2")
19381678   PORT_DIPSETTING(    0x20, "Show" )
19391679   PORT_DIPSETTING(    0x00, "Hide" )
1940   PORT_DIPNAME( 0x40, 0x00, "Modo de Pago" )      PORT_DIPLOCATION("SW1:3")   /* left as 'auto' */
1941   PORT_DIPSETTING(    0x40, "Manual" )
1942   PORT_DIPSETTING(    0x00, "Auto" )
1943   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:4")
1944   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
1945   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1946
1947   PORT_START("SW2")
1948   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
1949   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
1950   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1951   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
1952   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
1953   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1954   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
1955   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
1956   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1957   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
1958   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
1959   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1960   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
1961   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1962   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1963   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
1964   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
1965   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1966   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
1967   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
1968   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1969   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
1970   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
1971   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
19721680INPUT_PORTS_END
19731681
19741682static INPUT_PORTS_START( poker91 )
19751683   /* Multiplexed - 4x5bits */
1976   PORT_START("IN0-0")
1977   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Apostar (Bet)") PORT_CODE(KEYCODE_1)
1978   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Contabilidad (Meters)") PORT_CODE(KEYCODE_9)
1979   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Doblar (Double Up)") PORT_CODE(KEYCODE_3)
1980   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Dar/Virar (Deal/Draw)") PORT_CODE(KEYCODE_2)
1981   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Cancelar (Cancel)") PORT_CODE(KEYCODE_N)
1982   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1983   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1984   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1684   PORT_INCLUDE( bsuerte )
19851685
1986   PORT_START("IN0-1")
1987   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_IMPULSE(3) PORT_NAME("Out (Manual Collect)") PORT_CODE(KEYCODE_Q)
1988   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_NAME("Pagar (Payout)") PORT_CODE(KEYCODE_W)
1989   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Cobrar (Take)") PORT_CODE(KEYCODE_4)
1990   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Negro (Black)") PORT_CODE(KEYCODE_A)
1991   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Rojo (Red)") PORT_CODE(KEYCODE_S)
1992   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1993   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1994   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1686   PORT_MODIFY("IN0-1")
1687   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Negro (Black)")
1688   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Rojo (Red)")
19951689
1996   PORT_START("IN0-2")
1997   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Switch Card 1") PORT_CODE(KEYCODE_Z)
1998   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Switch Card 2") PORT_CODE(KEYCODE_X)
1999   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Switch Card 3") PORT_CODE(KEYCODE_C)
2000   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Switch Card 4") PORT_CODE(KEYCODE_V)
2001   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Switch Card 5") PORT_CODE(KEYCODE_B)
2002   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
2003   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
2004   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1690   PORT_MODIFY("IN0-2")
1691   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Switch Card 1")
1692   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Switch Card 2")
1693   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Switch Card 3")
1694   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Switch Card 4")
1695   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Switch Card 5")
20051696
2006   PORT_START("IN0-3")
2007   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Configuracion (Settings)") PORT_CODE(KEYCODE_F2)
2008   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2009   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_NAME("Billetes (Note In)")
2010   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(3) PORT_NAME("Fichas (Coin In)")
2011   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN3 )   PORT_NAME("Cupones (Coupon In)")
2012   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
2013   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
2014   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
2015
2016   PORT_START("SW1")
1697   PORT_MODIFY("SW1")
20171698   /* only bits 4-7 are connected here and were routed to SW1 1-4 */
2018   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
2019   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
2020   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
2021   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
2022   PORT_DIPNAME( 0x10, 0x00, "Par Simple" )            PORT_DIPLOCATION("SW1:1")
2023   PORT_DIPSETTING(    0x10, DEF_STR( No ) )
2024   PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
20251699   PORT_DIPNAME( 0x20, 0x20, "Contador de Acumulados" )   PORT_DIPLOCATION("SW1:2")
20261700   PORT_DIPSETTING(    0x20, "Muestra" )
20271701   PORT_DIPSETTING(    0x00, "Oculta" )
2028   PORT_DIPNAME( 0x40, 0x00, "Modo de Pago" )            PORT_DIPLOCATION("SW1:3")   /* left as 'auto' */
2029   PORT_DIPSETTING(    0x40, "Manual" )
2030   PORT_DIPSETTING(    0x00, "Auto" )
2031   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )         PORT_DIPLOCATION("SW1:4")
2032   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
2033   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2034
2035   PORT_START("SW2")
2036   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
2037   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
2038   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2039   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
2040   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2041   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2042   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
2043   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
2044   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2045   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
2046   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
2047   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2048   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
2049   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
2050   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2051   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
2052   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
2053   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2054   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
2055   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
2056   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2057   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
2058   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
2059   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
20601702INPUT_PORTS_END
20611703
20621704
r5338r5339
32782920GAMEL( 198?, potnpkrc, pottnpkr, pottnpkr, potnpkrc, 0,        ROT0,   "Bootleg",                   "Jack Potten's Poker (set 4)",             0,                layout_goldnpkr )
32792921GAMEL( 198?, potnpkrd, pottnpkr, pottnpkr, potnpkrc, 0,        ROT0,   "Bootleg",                   "Jack Potten's Poker (set 5)",             0,                layout_goldnpkr )
32802922GAMEL( 198?, potnpkre, pottnpkr, pottnpkr, pottnpkr, 0,        ROT0,   "Bootleg",                   "Jack Potten's Poker (set 6)",             0,                layout_goldnpkr )
3281GAMEL( 1991, goodluck, 0,        witchcrd, goodluck, 0,        ROT0,   "Unknown",                   "Good Luck",                               0,                layout_goldnpkr )
3282GAMEL( 198?, royale,   0,        goldnpkr, royale,   royale,   ROT0,   "Unknown",                   "Royale (set 1)",                          GAME_NOT_WORKING, layout_goldnpkr )
3283GAMEL( 198?, royalea,  royale,   goldnpkr, royale,   royale,   ROT0,   "Unknown",                   "Royale (set 2)",                          GAME_NOT_WORKING, layout_goldnpkr )
2923GAMEL( 1991, goodluck, 0,        witchcrd, goodluck, 0,        ROT0,   "<unknown>",                 "Good Luck",                               0,                layout_goldnpkr )
2924GAMEL( 198?, royale,   0,        goldnpkr, royale,   royale,   ROT0,   "<unknown>",                 "Royale (set 1)",                          GAME_NOT_WORKING, layout_goldnpkr )
2925GAMEL( 198?, royalea,  royale,   goldnpkr, royale,   royale,   ROT0,   "<unknown>",                 "Royale (set 2)",                          GAME_NOT_WORKING, layout_goldnpkr )
32842926GAME(  1991, witchcrd, 0,        witchcrd, witchcrd, 0,        ROT0,   "Video Klein",               "Witch Card (Video Klein)",                GAME_NOT_WORKING )
3285GAME(  1991, witchcda, witchcrd, witchcrd, witchcda, 0,        ROT0,   "Unknown",                   "Witch Card (spanish, witch game, set 1)", 0 )
3286GAME(  1991, witchcdb, witchcrd, witchcrd, witchcda, 0,        ROT0,   "Unknown",                   "Witch Card (spanish, witch game, set 2)", 0 )
3287GAME(  1991, witchcdc, witchcrd, witchcrd, witchcdc, 0,        ROT0,   "Unknown",                   "Witch Card (english, no witch game)",     0 )
3288GAME(  1991, witchcdd, witchcrd, witchcrd, witchcrd, 0,        ROT0,   "Unknown",                   "Witch Card (german?)",                    0 )
3289GAME(  1993, sloco93,  0,        witchcrd, sloco93,  0,        ROT0,   "Unknown",                   "Super Loco 93 (spanish, set 1)",          0 )
3290GAME(  1993, sloco93a, sloco93,  witchcrd, sloco93,  0,        ROT0,   "Unknown",                   "Super Loco 93 (spanish, set 2)",          0 )
3291GAME(  198?, maverik,  0,        witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Maverik",                                 0 )
3292GAMEL( 1989, brasil89, 0,        witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Brasil 89",                               0,                layout_goldnpkr )
3293GAME(  1991, poker91,  0,        witchcrd, poker91,  0,        ROT0,   "Unknown",                   "Poker 91",                                0 )
3294GAMEL( 1990, bsuerte,  0,        witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 1)",           0,                layout_goldnpkr )
3295GAMEL( 1991, bsuertea, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 2)",           0,                layout_goldnpkr )
3296GAMEL( 1991, bsuerteb, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 3)",           0,                layout_goldnpkr )
3297GAMEL( 1991, bsuertec, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 4)",           0,                layout_goldnpkr )
3298GAMEL( 1991, bsuerted, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 5)",           0,                layout_goldnpkr )
3299GAMEL( 1991, bsuertee, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 6)",           0,                layout_goldnpkr )
3300GAMEL( 1991, bsuertef, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 7)",           0,                layout_goldnpkr )
3301GAME(  1991, bsuerteg, bsuerte,  witchcrd, bsuertew, 0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 8)",           0 )
3302GAME(  1991, bsuerteh, bsuerte,  witchcrd, bsuertew, 0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 9)",           0 )
3303GAMEL( 1991, bsuertei, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 10)",          0,                layout_goldnpkr )
3304GAMEL( 1991, bsuertej, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 11)",          0,                layout_goldnpkr )
3305GAMEL( 1991, bsuertek, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 12)",          0,                layout_goldnpkr )
3306GAMEL( 1991, bsuertel, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 13)",          0,                layout_goldnpkr )
3307GAMEL( 1991, bsuertem, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 14)",          0,                layout_goldnpkr )
3308GAMEL( 1991, bsuerten, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 15)",          0,                layout_goldnpkr )
3309GAMEL( 1991, bsuerteo, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 16)",          0,                layout_goldnpkr )
3310GAMEL( 1991, bsuertep, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 17)",          0,                layout_goldnpkr )
3311GAMEL( 1991, bsuerteq, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 18)",          0,                layout_goldnpkr )
3312GAMEL( 1991, bsuerter, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 19)",          0,                layout_goldnpkr )
3313GAMEL( 1991, bsuertes, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 20)",          0,                layout_goldnpkr )
3314GAMEL( 1991, bsuertet, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 21)",          0,                layout_goldnpkr )
3315GAMEL( 1991, bsuerteu, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "Unknown",                   "Buena Suerte (spanish, set 22)",          0,                layout_goldnpkr )
2927GAME(  1991, witchcda, witchcrd, witchcrd, witchcda, 0,        ROT0,   "<unknown>",                 "Witch Card (spanish, witch game, set 1)", 0 )
2928GAME(  1991, witchcdb, witchcrd, witchcrd, witchcda, 0,        ROT0,   "<unknown>",                 "Witch Card (spanish, witch game, set 2)", 0 )
2929GAME(  1991, witchcdc, witchcrd, witchcrd, witchcdc, 0,        ROT0,   "<unknown>",                 "Witch Card (english, no witch game)",     0 )
2930GAME(  1991, witchcdd, witchcrd, witchcrd, witchcrd, 0,        ROT0,   "<unknown>",                 "Witch Card (german?)",                    0 )
2931GAME(  1993, sloco93,  0,        witchcrd, sloco93,  0,        ROT0,   "<unknown>",                 "Super Loco 93 (spanish, set 1)",          0 )
2932GAME(  1993, sloco93a, sloco93,  witchcrd, sloco93,  0,        ROT0,   "<unknown>",                 "Super Loco 93 (spanish, set 2)",          0 )
2933GAME(  198?, maverik,  0,        witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Maverik",                                 0 )
2934GAMEL( 1989, brasil89, 0,        witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Brasil 89",                               0,                layout_goldnpkr )
2935GAME(  1991, poker91,  0,        witchcrd, poker91,  0,        ROT0,   "<unknown>",                 "Poker 91",                                0 )
2936GAMEL( 1990, bsuerte,  0,        witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 1)",           0,                layout_goldnpkr )
2937GAMEL( 1991, bsuertea, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 2)",           0,                layout_goldnpkr )
2938GAMEL( 1991, bsuerteb, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 3)",           0,                layout_goldnpkr )
2939GAMEL( 1991, bsuertec, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 4)",           0,                layout_goldnpkr )
2940GAMEL( 1991, bsuerted, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 5)",           0,                layout_goldnpkr )
2941GAMEL( 1991, bsuertee, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 6)",           0,                layout_goldnpkr )
2942GAMEL( 1991, bsuertef, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 7)",           0,                layout_goldnpkr )
2943GAME(  1991, bsuerteg, bsuerte,  witchcrd, bsuertew, 0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 8)",           0 )
2944GAME(  1991, bsuerteh, bsuerte,  witchcrd, bsuertew, 0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 9)",           0 )
2945GAMEL( 1991, bsuertei, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 10)",          0,                layout_goldnpkr )
2946GAMEL( 1991, bsuertej, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 11)",          0,                layout_goldnpkr )
2947GAMEL( 1991, bsuertek, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 12)",          0,                layout_goldnpkr )
2948GAMEL( 1991, bsuertel, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 13)",          0,                layout_goldnpkr )
2949GAMEL( 1991, bsuertem, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 14)",          0,                layout_goldnpkr )
2950GAMEL( 1991, bsuerten, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 15)",          0,                layout_goldnpkr )
2951GAMEL( 1991, bsuerteo, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 16)",          0,                layout_goldnpkr )
2952GAMEL( 1991, bsuertep, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 17)",          0,                layout_goldnpkr )
2953GAMEL( 1991, bsuerteq, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 18)",          0,                layout_goldnpkr )
2954GAMEL( 1991, bsuerter, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 19)",          0,                layout_goldnpkr )
2955GAMEL( 1991, bsuertes, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 20)",          0,                layout_goldnpkr )
2956GAMEL( 1991, bsuertet, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 21)",          0,                layout_goldnpkr )
2957GAMEL( 1991, bsuerteu, bsuerte,  witchcrd, bsuerte,  0,        ROT0,   "<unknown>",                 "Buena Suerte (spanish, set 22)",          0,                layout_goldnpkr )
src/mame/drivers/moo.c
r5338r5339
821821GAME( 1992, moo,     0,       moo,     moo,     moo,      ROT0, "Konami", "Wild West C.O.W.-Boys of Moo Mesa (ver EA)", GAME_IMPERFECT_GRAPHICS)
822822GAME( 1992, mooua,   moo,     moo,     moo,     moo,      ROT0, "Konami", "Wild West C.O.W.-Boys of Moo Mesa (ver UA)", GAME_IMPERFECT_GRAPHICS)
823823GAME( 1992, mooaa,   moo,     moo,     moo,     moo,      ROT0, "Konami", "Wild West C.O.W.-Boys of Moo Mesa (ver AA)", GAME_IMPERFECT_GRAPHICS)
824GAME( 1992, moobl,   moo,     moobl,   moo,     moo,      ROT0, "<unknown>", "Wild West C.O.W.-Boys of Moo Mesa (bootleg ver AA)", GAME_NOT_WORKING)
824GAME( 1992, moobl,   moo,     moobl,   moo,     moo,      ROT0, "bootleg", "Wild West C.O.W.-Boys of Moo Mesa (bootleg ver AA)", GAME_NOT_WORKING)
825825GAME( 1992, bucky,   0,       bucky,   bucky,   moo,      ROT0, "Konami", "Bucky O'Hare (ver EA)", 0)
826826GAME( 1992, buckyua, bucky,   bucky,   bucky,   moo,      ROT0, "Konami", "Bucky O'Hare (ver UA)", 0)
827827GAME( 1992, buckyaa, bucky,   bucky,   bucky,   moo,      ROT0, "Konami", "Bucky O'Hare (ver AA)", 0)
src/mame/drivers/m92.c
r5338r5339
12261226   ROM_LOAD( "pal16l8-m92-b-7h.ic47", 0x0800, 0x0104, NO_DUMP ) /* PAL is read protected */
12271227ROM_END
12281228
1229ROM_START( majtit2j )
1229ROM_START( majtitl2j )
12301230   ROM_REGION( 0x180000, "maincpu", 0 )
12311231   ROM_LOAD16_BYTE( "mt2-h0",      0x000001, 0x40000, CRC(8a8d71ad) SHA1(8c45d947d15eb3a2c2584c9e1cd0e42988955905) )
12321232   ROM_LOAD16_BYTE( "mt2-l1",      0x000000, 0x40000, CRC(dd4fff51) SHA1(9281bac10fdbfa9eede9d069b70eb38d9ae612ce) )
r5338r5339
12631263   ROM_LOAD( "pal16l8-m92-b-7h.ic47", 0x0800, 0x0104, NO_DUMP ) /* PAL is read protected */
12641264ROM_END
12651265
1266ROM_START( skingam2 )
1266ROM_START( skingame2 )
12671267   ROM_REGION( 0x180000, "maincpu", 0 )
12681268   ROM_LOAD16_BYTE( "mt2-h0-a.5m", 0x000001, 0x40000, CRC(7c6dbbc7) SHA1(6ac2df542cbcac782d733aaa0f2e4ded702ec24f) )
12691269   ROM_LOAD16_BYTE( "mt2-l0-a.5f", 0x000000, 0x40000, CRC(9de5f689) SHA1(ea5057cab0a2f5c4586337fc5a17f1a728450cbf) )
r5338r5339
13271327   ROM_LOAD( "gf-da.rom", 0x000000, 0x020000, CRC(933ba935) SHA1(482811e01239feecf10e232566a7809d0d4f11b8) )
13281328ROM_END
13291329
1330ROM_START( gunforcj )
1330ROM_START( gunforcej )
13311331   ROM_REGION( 0x100000, "maincpu", 0 )
13321332   ROM_LOAD16_BYTE( "gfb_h0-e.5m", 0x000001, 0x20000, CRC(43c36e0f) SHA1(08c278861568f0a2fb2699b89a4170f6843bbcb7) )
13331333   ROM_LOAD16_BYTE( "gfb_l0-e.5f", 0x000000, 0x20000, CRC(24a558d8) SHA1(89a9fb737d51798bdd5c08f448d2d8b3e161396a) )
r5338r5339
13541354   ROM_LOAD( "gf-da.rom", 0x000000, 0x020000, CRC(933ba935) SHA1(482811e01239feecf10e232566a7809d0d4f11b8) )
13551355ROM_END
13561356
1357ROM_START( gunforcu )
1357ROM_START( gunforceu )
13581358   ROM_REGION( 0x100000, "maincpu", 0 )
13591359   ROM_LOAD16_BYTE( "gf_h0-d.5m", 0x000001, 0x20000, CRC(a6db7b5c) SHA1(5656473599e924ab799ea3c6f39d8ce34b08cb29) )
13601360   ROM_LOAD16_BYTE( "gf_l0-d.5f", 0x000000, 0x20000, CRC(82cf55f6) SHA1(42a2de61f2c5294c81fb135ea2472cc78637c66c) )
r5338r5339
15951595   ROM_LOAD( "rtl-da.bin", 0x000000, 0x080000, CRC(dbebd1ff) SHA1(b369d6e944331e6773608ff24f04b8f16267b8da) )
15961596ROM_END
15971597
1598ROM_START( rtypelej )
1598ROM_START( rtypeleoj )
15991599   ROM_REGION( 0x100000, "maincpu", 0 )
16001600   ROM_LOAD16_BYTE( "rtl-h0-d.bin", 0x000001, 0x040000, CRC(3dbac89f) SHA1(bfb4d1ab480b7828f6b7374df6d30d766f327b95) )
16011601   ROM_LOAD16_BYTE( "rtl-l0-d.bin", 0x000000, 0x040000, CRC(f85a2537) SHA1(50eeca8de0c7fd28375d082a05f18473d0b15ed4) )
r5338r5339
21612161/***************************************************************************/
21622162
21632163GAME( 1991, gunforce, 0,        gunforce,      gunforce, gunforce, ROT0,   "Irem",         "Gunforce - Battle Fire Engulfed Terror Island (World)", 0 )
2164GAME( 1991, gunforcj, gunforce, gunforce,      gunforce, gunforce, ROT0,   "Irem",         "Gunforce - Battle Fire Engulfed Terror Island (Japan)", 0 )
2165GAME( 1991, gunforcu, gunforce, gunforce,      gunforce, gunforce, ROT0,   "Irem America", "Gunforce - Battle Fire Engulfed Terror Island (US)", 0 )
2164GAME( 1991, gunforcej,gunforce, gunforce,      gunforce, gunforce, ROT0,   "Irem",         "Gunforce - Battle Fire Engulfed Terror Island (Japan)", 0 )
2165GAME( 1991, gunforceu,gunforce, gunforce,      gunforce, gunforce, ROT0,   "Irem America", "Gunforce - Battle Fire Engulfed Terror Island (US)", 0 )
21662166GAME( 1991, bmaster,  0,        bmaster,       bmaster,  bmaster,  ROT0,   "Irem",         "Blade Master (World)", 0 )
21672167GAME( 1991, crossbld, bmaster,  bmaster,       bmaster,  bmaster,  ROT0,   "Irem",         "Cross Blades! (Japan)", 0 )
21682168GAME( 1991, lethalth, 0,        lethalth,      lethalth, lethalth, ROT270, "Irem",         "Lethal Thunder (World)", 0 )
r5338r5339
21732173GAME( 1992, mysticri, 0,        mysticri,      mysticri, mysticri, ROT0,   "Irem",         "Mystic Riders (World)", 0 )
21742174GAME( 1992, gunhohki, mysticri, mysticri,      mysticri, mysticri, ROT0,   "Irem",         "Gun Hohki (Japan)", 0 )
21752175GAME( 1992, majtitl2, 0,        majtitl2,      majtitl2, majtitl2, ROT0,   "Irem",         "Major Title 2 (World)", 0 )
2176GAME( 1992, majtit2j, majtitl2, majtitl2,      majtitl2, majtitl2, ROT0,   "Irem",         "Major Title 2 (Japan)", 0 )
2176GAME( 1992, majtitl2j,majtitl2, majtitl2,      majtitl2, majtitl2, ROT0,   "Irem",         "Major Title 2 (Japan)", 0 )
21772177GAME( 1992, skingame, majtitl2, majtitl2,      majtitl2, majtitl2, ROT0,   "Irem America", "The Irem Skins Game (US set 1)", 0 )
2178GAME( 1992, skingam2, majtitl2, majtitl2,      majtitl2, majtitl2, ROT0,   "Irem America", "The Irem Skins Game (US set 2)", 0 )
2178GAME( 1992, skingame2,majtitl2, majtitl2,      majtitl2, majtitl2, ROT0,   "Irem America", "The Irem Skins Game (US set 2)", 0 )
21792179GAME( 1992, hook,     0,        hook,          hook,     hook,     ROT0,   "Irem",         "Hook (World)", 0 )
21802180GAME( 1992, hooku,    hook,     hook,          hook,     hook,     ROT0,   "Irem America", "Hook (US)", 0 )
21812181GAME( 1992, hookj,    hook,     hook,          hook,     hook,     ROT0,   "Irem",         "Hook (Japan)", 0 )
2182GAME( 1992, ppan,     hook,     ppan,          hook,     hook,     ROT0,   "Irem",         "Peter Pan (bootleg of Hook)", GAME_NOT_WORKING ) // PCB marked 'Peter Pan', no title screen, made in Italy?
2182GAME( 1992, ppan,     hook,     ppan,          hook,     hook,     ROT0,   "bootleg",      "Peter Pan (bootleg of Hook)", GAME_NOT_WORKING ) // PCB marked 'Peter Pan', no title screen, made in Italy?
21832183GAME( 1992, rtypeleo, 0,        rtypeleo,      rtypeleo, rtypeleo, ROT0,   "Irem",         "R-Type Leo (World)", 0 )
2184GAME( 1992, rtypelej, rtypeleo, rtypeleo,      rtypeleo, rtypelej, ROT0,   "Irem",         "R-Type Leo (Japan)", 0 )
2184GAME( 1992, rtypeleoj,rtypeleo, rtypeleo,      rtypeleo, rtypelej, ROT0,   "Irem",         "R-Type Leo (Japan)", 0 )
21852185GAME( 1993, inthunt,  0,        inthunt,       inthunt,  inthunt,  ROT0,   "Irem",         "In The Hunt (World)", 0 )
21862186GAME( 1993, inthuntu, inthunt,  inthunt,       inthunt,  inthunt,  ROT0,   "Irem America", "In The Hunt (US)", 0 )
21872187GAME( 1993, kaiteids, inthunt,  inthunt,       inthunt,  kaiteids, ROT0,   "Irem",         "Kaitei Daisensou (Japan)", 0 )
src/mame/drivers/m58.c
r5338r5339
321321   ROM_LOAD( "yard.2m",      0x0420, 0x0100, CRC(45384397) SHA1(e4c662ee81aef63efd8b4a45f85c4a78dc2d419e) ) /* radar palette high 4 bits */
322322ROM_END
323323
324ROM_START( vs10yarj )
324ROM_START( vs10yardj )
325325   ROM_REGION( 0x10000, "maincpu", 0 )
326326   ROM_LOAD( "vyf-a.3n",     0x0000, 0x2000, CRC(418e01fc) SHA1(56a6515735cd88ec803e24574a28aef823a5d36b) )
327327   ROM_LOAD( "vyf-a.3m",     0x2000, 0x2000, CRC(3b9330f8) SHA1(b35fe72cf724cfb887906060bbcf40b0c896ccf0) )
r5338r5339
366366GAME( 1983, 10yard,   0,        yard,     yard,     0, ROT0, "Irem", "10-Yard Fight (World)", 0 )
367367GAME( 1983, 10yardj,  10yard,   yard,     yard,     0, ROT0, "Irem", "10-Yard Fight (Japan)", 0 )
368368GAME( 1984, vs10yard, 10yard,   yard,     vs10yard, 0, ROT0, "Irem", "Vs 10-Yard Fight (World, 11/05/84)", 0 )
369GAME( 1984, vs10yarj, 10yard,   yard,     vs10yarj, 0, ROT0, "Irem", "Vs 10-Yard Fight (Japan)", 0 )
369GAME( 1984, vs10yardj,10yard,   yard,     vs10yarj, 0, ROT0, "Irem", "Vs 10-Yard Fight (Japan)", 0 )
src/mame/drivers/wwfwfest.c
r5338r5339
509509   ROM_LOAD( "31j1.ic2",     0x00000, 0x40000, CRC(82ed7155) SHA1(b338e1150ffe3277c11d4d6e801a7d3bd7c58492) ) /* 2,3 */
510510ROM_END
511511
512ROM_START( wwfwfsta )
512ROM_START( wwfwfesta )
513513   ROM_REGION( 0x80000, "maincpu", 0 ) /* Main CPU  (68000) */
514514   ROM_LOAD16_BYTE( "wf_18.rom", 0x00000, 0x40000, CRC(933ea1a0) SHA1(61da142cfa7abd3b77ab21979c061a078c0d0c63) )
515515   ROM_LOAD16_BYTE( "wf_19.rom", 0x00001, 0x40000, CRC(bd02e3c4) SHA1(7ae63e48caf9919ce7b63b4c5aa9474ba8c336da) )
r5338r5339
538538   ROM_LOAD( "31j1.ic2",     0x00000, 0x40000, CRC(82ed7155) SHA1(b338e1150ffe3277c11d4d6e801a7d3bd7c58492) ) /* 2,3 */
539539ROM_END
540540
541ROM_START( wwfwfstb )
541ROM_START( wwfwfestb )
542542   ROM_REGION( 0x80000, "maincpu", 0 ) /* Main CPU  (68000) */
543543   ROM_LOAD16_BYTE( "3",      0x00000, 0x40000, CRC(ea73369c) SHA1(be614a342f9014251810fa30ec56fec03f7c8ef3) )
544544   ROM_LOAD16_BYTE( "2",      0x00001, 0x40000, CRC(632bb3a4) SHA1(9c04fed5aeefc683810cfbd9b3318e155ed9813f) )
r5338r5339
569569   ROM_LOAD16_BYTE( "8",     0x00001, 0x20000, CRC(7b2ecba7) SHA1(1ed2451132448930ac4afcdc67ca14e3e922863e) ) /* 3 */
570570ROM_END
571571
572ROM_START( wwfwfstj )
572ROM_START( wwfwfestj )
573573   ROM_REGION( 0x80000, "maincpu", 0 ) /* Main CPU  (68000) */
574574   ROM_LOAD16_BYTE( "31j13-0.ic19", 0x00001, 0x40000, CRC(2147780d) SHA1(9a7a5db06117f3780e084d3f0c7b642ff8a9db55) )
575575   ROM_LOAD16_BYTE( "31j14-0.ic18", 0x00000, 0x40000, CRC(d76fc747) SHA1(5f6819bc61756d1df4ac0776ac420a59c438cf8a) )
r5338r5339
598598   ROM_LOAD( "31j1.ic2",     0x00000, 0x40000, CRC(82ed7155) SHA1(b338e1150ffe3277c11d4d6e801a7d3bd7c58492) ) /* 2,3 */
599599ROM_END
600600
601GAME( 1991, wwfwfest, 0,        wwfwfest, wwfwfest, 0, ROT0, "Technos Japan",                 "WWF WrestleFest (US set 1)",   GAME_SUPPORTS_SAVE )
602GAME( 1991, wwfwfsta, wwfwfest, wwfwfest, wwfwfest, 0, ROT0, "Technos Japan (Tecmo license)", "WWF WrestleFest (US Tecmo)",   GAME_SUPPORTS_SAVE )
603GAME( 1991, wwfwfstb, wwfwfest, wwfwfstb, wwfwfest, 0, ROT0, "bootleg",                       "WWF WrestleFest (US bootleg)", GAME_SUPPORTS_SAVE )
604GAME( 1991, wwfwfstj, wwfwfest, wwfwfest, wwfwfest, 0, ROT0, "Technos Japan",                 "WWF WrestleFest (Japan)",      GAME_SUPPORTS_SAVE )
601GAME( 1991, wwfwfest,  0,        wwfwfest, wwfwfest, 0, ROT0, "Technos Japan",                 "WWF WrestleFest (US set 1)",   GAME_SUPPORTS_SAVE )
602GAME( 1991, wwfwfesta, wwfwfest, wwfwfest, wwfwfest, 0, ROT0, "Technos Japan (Tecmo license)", "WWF WrestleFest (US Tecmo)",   GAME_SUPPORTS_SAVE )
603GAME( 1991, wwfwfestb, wwfwfest, wwfwfstb, wwfwfest, 0, ROT0, "bootleg",                       "WWF WrestleFest (US bootleg)", GAME_SUPPORTS_SAVE )
604GAME( 1991, wwfwfestj, wwfwfest, wwfwfest, wwfwfest, 0, ROT0, "Technos Japan",                 "WWF WrestleFest (Japan)",      GAME_SUPPORTS_SAVE )
src/mame/drivers/feversoc.c
r5338r5339
216216   PORT_DIPSETTING(    0x8000, DEF_STR( Off ) )
217217   PORT_DIPSETTING(    0x0000, DEF_STR( On ) )
218218   PORT_START("IN1")
219   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z)
220   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X)
221   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C)
222   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V)
223   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B)
224   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N)
225   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_CODE(KEYCODE_M)
219   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_SLOT_STOP1 )
220   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_SLOT_STOP2 )
221   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_SLOT_STOP3 )
222   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
223   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_V)   // ?
224   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_B)   // ?
225   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_CODE(KEYCODE_N)   // ?
226226   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("Reset")
227227   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED )
228228INPUT_PORTS_END
src/mame/drivers/multigam.c
r5338r5339
829829   multigam_switch_prg_rom(space, 0x0, 0x01);
830830}
831831
832GAME( 1992, multigam, 0,        multigam, multigam, multigam, ROT0, "unknown", "Multi Game (set 1)", 0 )
833GAME( 1992, multigmb, multigam, multigam, multigam, multigam, ROT0, "unknown", "Multi Game (set 2)", 0 )
834GAME( 1992, multigm2, 0,        multigm3, multigm2, multigm3, ROT0, "Seo Jin", "Multi Game 2", 0 )
835GAME( 1992, multigm3, 0,        multigm3, multigm3, multigm3, ROT0, "Seo Jin", "Multi Game III", 0 )
832GAME( 1992, multigam, 0,        multigam, multigam, multigam, ROT0, "<unknown>", "Multi Game (set 1)", 0 )
833GAME( 1992, multigmb, multigam, multigam, multigam, multigam, ROT0, "<unknown>", "Multi Game (set 2)", 0 )
834GAME( 1992, multigm2, 0,        multigm3, multigm2, multigm3, ROT0, "Seo Jin",   "Multi Game 2", 0 )
835GAME( 1992, multigm3, 0,        multigm3, multigm3, multigm3, ROT0, "Seo Jin",   "Multi Game III", 0 )
src/mame/drivers/fuukifg2.c
r5338r5339
567567   ROM_LOAD( "lh538n1d.25", 0x000000, 0x100000, CRC(01622a95) SHA1(8d414bfc6dcfab1cf9cfe5738eb5c2ff31b77df6) )   // 0x40000 * 4
568568ROM_END
569569
570ROM_START( gogomilj )
570ROM_START( gogomilej )
571571   ROM_REGION( 0x100000, "maincpu", 0 )      /* 68000 Code */
572572   ROM_LOAD16_BYTE( "fp2.2", 0x000000, 0x080000, CRC(28fd3e4e) SHA1(3303e5759c0781035c74354587e1916719695754) )   // 1xxxxxxxxxxxxxxxxxx = 0xFF
573573   ROM_LOAD16_BYTE( "fp1.1", 0x000001, 0x080000, CRC(35a5fc45) SHA1(307207791cee7f40e88feffc5805ac25008a8566) )   // 1xxxxxxxxxxxxxxxxxx = 0xFF
r5338r5339
666666***************************************************************************/
667667
668668GAME( 1995, gogomile, 0,        fuuki16, gogomile, 0, ROT0, "Fuuki", "Go Go! Mile Smile", GAME_IMPERFECT_SOUND )
669GAME( 1995, gogomilj, gogomile, fuuki16, gogomilj, 0, ROT0, "Fuuki", "Susume! Mile Smile (Japan)", GAME_IMPERFECT_SOUND )
669GAME( 1995, gogomilej,gogomile, fuuki16, gogomilj, 0, ROT0, "Fuuki", "Susume! Mile Smile (Japan)", GAME_IMPERFECT_SOUND )
670670GAME( 1996, pbancho,  0,        fuuki16, pbancho,  0, ROT0, "Fuuki", "Gyakuten!! Puzzle Bancho (Japan)", 0)
671671
src/mame/drivers/sderby.c
r5338r5339
371371
372372static INPUT_PORTS_START( spacewin )
373373   PORT_START("IN0")   /* 0x308000.w */
374   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
375   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
376   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
377   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
378   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
379   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_START )   PORT_NAME("Start")
380   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_A)
374   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
375   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
376   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
377   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
378   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
379   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
380   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
381381   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN )
382382   PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_COIN1 )
383383   PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
663663GAMEL( 1996, sderby,   0,      sderby,   sderby,   0,     ROT0, "Playmark", "Super Derby",                  0,                                             layout_sderby   )
664664GAMEL( 1996, spacewin, 0,      spacewin, spacewin, 0,     ROT0, "Playmark", "Scacco Matto / Space Win",     0,                                             layout_spacewin )
665665GAMEL( 1997, pmroulet, 0,      pmroulet, pmroulet, 0,     ROT0, "Playmark", "Croupier (Playmark Roulette)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING, layout_pmroulet )
666
src/mame/drivers/39in1.c
r5338r5339
22 *
33 * 39in1.c - bootleg MAME-based "39-in-1" arcade PCB
44 * Skeleton by R. Belmont, thanks to the Guru
5 * PXA255 Peripheral hookup by MooglyGuy
56 * Decrypt by Andreas Naive
67 *
78 * CPU: Intel Xscale PXA255 series @ 200 MHz, configured little-endian
r5338r5339
1516 * PCB also contains a custom ASIC, probably used for the decryption
1617 *
1718 * TODO:
18 *   Figure out weird memory test subroutine at 1c8
19 *   PXA255 MMU and peripherals
19 *   PXA255 peripherals
2020 *
2121 **************************************************************************/
2222
2323#include "driver.h"
2424#include "video/generic.h"
2525#include "cpu/arm7/arm7.h"
26#include "cpu/arm7/arm7core.h"
27#include "machine/eeprom.h"
28#include "machine/pxa255.h"
2629
27static UINT32 counter_timer;
30static void pxa255_dma_irq_check(running_machine* machine);
31static READ32_HANDLER( pxa255_dma_r );
32static WRITE32_HANDLER( pxa255_dma_w );
2833
29// free-running 3.something MHz counter.  this is a complete hack.
30static READ32_HANDLER( os_timer_counter_r )
34static READ32_HANDLER( pxa255_i2s_r );
35static WRITE32_HANDLER( pxa255_i2s_w );
36
37static void pxa255_ostimer_irq_check(running_machine* machine);
38static TIMER_CALLBACK( pxa255_ostimer_match );
39static READ32_HANDLER( pxa255_ostimer_r );
40static WRITE32_HANDLER( pxa255_ostimer_w );
41
42static void pxa255_update_interrupts(running_machine* machine);
43static void pxa255_set_irq_line(running_machine* machine, UINT32 line, int state);
44static READ32_HANDLER( pxa255_intc_r );
45static WRITE32_HANDLER( pxa255_intc_w );
46
47static READ32_HANDLER( pxa255_gpio_r );
48static WRITE32_HANDLER( pxa255_gpio_w );
49
50static UINT32 pxa255_lcd_palette[0x100];
51static UINT8 pxa255_lcd_framebuffer[0x100000];
52static void pxa255_lcd_load_dma_descriptor(const address_space* space, UINT32 address, int channel);
53static void pxa255_lcd_irq_check(running_machine* machine);
54static void pxa255_lcd_dma_kickoff(running_machine* machine, int channel);
55static void pxa255_lcd_check_load_next_branch(running_machine* machine, int channel);
56static READ32_HANDLER( pxa255_lcd_r );
57static WRITE32_HANDLER( pxa255_lcd_w );
58
59static PXA255_DMA_Regs dma_regs;
60static PXA255_I2S_Regs i2s_regs;
61static PXA255_OSTMR_Regs ostimer_regs;
62static PXA255_INTC_Regs intc_regs;
63static PXA255_GPIO_Regs gpio_regs;
64static PXA255_LCD_Regs lcd_regs;
65
66#define VERBOSE_LEVEL ( 3 )
67
68INLINE void ATTR_PRINTF(3,4) verboselog( running_machine* machine, int n_level, const char* s_fmt, ... )
3169{
32   UINT32 ret;
70   if( VERBOSE_LEVEL >= n_level )
71   {
72      va_list v;
73      char buf[32768];
74      va_start( v, s_fmt );
75      vsprintf( buf, s_fmt, v );
76      va_end( v );
77      logerror( "%s: %s", cpuexec_describe_context(machine), buf );
78      //printf( "%s: %s", cpuexec_describe_context(machine), buf );
79   }
80}
3381
34   ret = counter_timer;
35   counter_timer += 0x300;
82/*
3683
37   return ret;
84  PXA255 Inter-Integrated-Circuit Sound (I2S) Controller
85
86  pg. 489 to 504, PXA255 Processor Developers Manual [278693-002].pdf
87
88*/
89
90static READ32_HANDLER( pxa255_i2s_r )
91{
92   switch(PXA255_I2S_BASE_ADDR | (offset << 2))
93   {
94      case PXA255_SACR0:
95         verboselog( space->machine, 3, "pxa255_i2s_r: Serial Audio Controller Global Control Register: %08x & %08x\n", i2s_regs.sacr0, mem_mask );
96         return i2s_regs.sacr0;
97      case PXA255_SACR1:
98         verboselog( space->machine, 3, "pxa255_i2s_r: Serial Audio Controller I2S/MSB-Justified Control Register: %08x & %08x\n", i2s_regs.sacr1, mem_mask );
99         return i2s_regs.sacr1;
100      case PXA255_SASR0:
101         verboselog( space->machine, 3, "pxa255_i2s_r: Serial Audio Controller I2S/MSB-Justified Status Register: %08x & %08x\n", i2s_regs.sasr0, mem_mask );
102         return i2s_regs.sasr0;
103      case PXA255_SAIMR:
104         verboselog( space->machine, 3, "pxa255_i2s_r: Serial Audio Interrupt Mask Register: %08x & %08x\n", i2s_regs.saimr, mem_mask );
105         return i2s_regs.saimr;
106      case PXA255_SAICR:
107         verboselog( space->machine, 3, "pxa255_i2s_r: Serial Audio Interrupt Clear Register: %08x & %08x\n", i2s_regs.saicr, mem_mask );
108         return i2s_regs.saicr;
109      case PXA255_SADIV:
110         verboselog( space->machine, 3, "pxa255_i2s_r: Serial Audio Clock Divider Register: %08x & %08x\n", i2s_regs.sadiv, mem_mask );
111         return i2s_regs.sadiv;
112      case PXA255_SADR:
113         verboselog( space->machine, 5, "pxa255_i2s_r: Serial Audio Data Register: %08x & %08x\n", i2s_regs.sadr, mem_mask );
114         return i2s_regs.sadr;
115      default:
116         verboselog( space->machine, 0, "pxa255_i2s_r: Unknown address: %08x\n", PXA255_I2S_BASE_ADDR | (offset << 2));
117         break;
118   }
119   return 0;
38120}
39121
122
123static WRITE32_HANDLER( pxa255_i2s_w )
124{
125   switch(PXA255_I2S_BASE_ADDR | (offset << 2))
126   {
127      case PXA255_SACR0:
128         verboselog( space->machine, 3, "pxa255_i2s_w: Serial Audio Controller Global Control Register: %08x & %08x\n", data, mem_mask );
129         i2s_regs.sacr0 = data & 0x0000ff3d;
130         break;
131      case PXA255_SACR1:
132         verboselog( space->machine, 3, "pxa255_i2s_w: Serial Audio Controller I2S/MSB-Justified Control Register: %08x & %08x\n", data, mem_mask );
133         i2s_regs.sacr1 = data & 0x00000039;
134         break;
135      case PXA255_SASR0:
136         verboselog( space->machine, 3, "pxa255_i2s_w: Serial Audio Controller I2S/MSB-Justified Status Register: %08x & %08x\n", data, mem_mask );
137         i2s_regs.sasr0 = data & 0x0000ff7f;
138         break;
139      case PXA255_SAIMR:
140         verboselog( space->machine, 3, "pxa255_i2s_w: Serial Audio Interrupt Mask Register: %08x & %08x\n", data, mem_mask );
141         i2s_regs.saimr = data & 0x00000078;
142         break;
143      case PXA255_SAICR:
144         verboselog( space->machine, 3, "pxa255_i2s_w: Serial Audio Interrupt Clear Register: %08x & %08x\n", data, mem_mask );
145         if(i2s_regs.saicr & PXA255_SAICR_ROR)
146         {
147            i2s_regs.sasr0 &= ~PXA255_SASR0_ROR;
148         }
149         if(i2s_regs.saicr & PXA255_SAICR_TUR)
150         {
151            i2s_regs.sasr0 &= ~PXA255_SASR0_TUR;
152         }
153         break;
154      case PXA255_SADIV:
155         verboselog( space->machine, 3, "pxa255_i2s_w: Serial Audio Clock Divider Register: %08x & %08x\n", data, mem_mask );
156         i2s_regs.sadiv = data & 0x0000007f;
157         break;
158      case PXA255_SADR:
159         verboselog( space->machine, 4, "pxa255_i2s_w: Serial Audio Data Register: %08x & %08x\n", data, mem_mask );
160         i2s_regs.sadr = data;
161         break;
162      default:
163         verboselog( space->machine, 0, "pxa255_i2s_w: Unknown address: %08x = %08x & %08x\n", PXA255_I2S_BASE_ADDR | (offset << 2), data, mem_mask);
164         break;
165   }
166}
167
168/*
169
170  PXA255 DMA controller (placeholder)
171
172  pg. 151 to 182, PXA255 Processor Developers Manual [278693-002].pdf
173
174*/
175
176static void pxa255_dma_irq_check(running_machine* machine)
177{
178   int channel = 0;
179   int set_intr = 0;
180   for(channel = 0; channel < 16; channel++)
181   {
182      if(dma_regs.dcsr[channel] & (PXA255_DCSR_ENDINTR | PXA255_DCSR_STARTINTR | PXA255_DCSR_BUSERRINTR))
183      {
184         dma_regs.dint |= 1 << channel;
185         set_intr = 1;
186      }
187      else
188      {
189         dma_regs.dint &= ~(1 << channel);
190      }
191   }
192   pxa255_set_irq_line(machine, PXA255_INT_DMA, set_intr);
193}
194
195void pxa255_dma_load_descriptor_and_start(running_machine* machine, int channel)
196{
197   attotime period;
198
199   // Shut down any transfers that are currently going on, software should be smart enough to check if a
200   // transfer is running before starting another one on the same channel.
201   if(timer_enabled(dma_regs.timer[channel]))
202   {
203      timer_adjust_oneshot(dma_regs.timer[channel], attotime_never, 0);
204   }
205
206   // Load the next descriptor
207
208   dma_regs.dsadr[channel] = memory_read_dword_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), dma_regs.ddadr[channel] + 0x4);
209   dma_regs.dtadr[channel] = memory_read_dword_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), dma_regs.ddadr[channel] + 0x8);
210   dma_regs.dcmd[channel]  = memory_read_dword_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), dma_regs.ddadr[channel] + 0xc);
211   dma_regs.ddadr[channel] = memory_read_dword_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), dma_regs.ddadr[channel]);
212
213   // Start our end-of-transfer timer
214   switch(channel)
215   {
216      case 3:
217         period = attotime_mul(ATTOTIME_IN_HZ((147600000 / i2s_regs.sadiv) / (4 * 64)), dma_regs.dcmd[channel] & 0x00001fff);
218         break;
219      default:
220         period = attotime_mul(ATTOTIME_IN_HZ(100000000), dma_regs.dcmd[channel] & 0x00001fff);
221         break;
222   }
223
224   timer_adjust_oneshot(dma_regs.timer[channel], period, channel);
225
226   // Interrupt as necessary
227   if(dma_regs.dcmd[channel] & PXA255_DCMD_STARTIRQEN)
228   {
229      dma_regs.dcsr[channel] |= PXA255_DCSR_STARTINTR;
230   }
231
232   dma_regs.dcsr[channel] &= ~PXA255_DCSR_STOPSTATE;
233}
234
235static TIMER_CALLBACK( pxa255_dma_dma_end )
236{
237   UINT32 sadr = dma_regs.dsadr[param];
238   UINT32 tadr = dma_regs.dtadr[param];
239   UINT32 count = dma_regs.dcmd[param] & 0x00001fff;
240   UINT32 index = 0;
241   UINT8 temp8;
242   UINT16 temp16;
243   UINT32 temp32;
244   for(index = 0; index < count; index++)
245   {
246      switch(dma_regs.dcmd[param] & PXA255_DCMD_SIZE)
247      {
248         case PXA255_DCMD_SIZE_8:
249            temp8 = memory_read_byte_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), sadr);
250            memory_write_byte_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), tadr, temp8);
251            break;
252         case PXA255_DCMD_SIZE_16:
253            temp16 = memory_read_word_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), sadr);
254            memory_write_word_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), tadr, temp16);
255            break;
256         case PXA255_DCMD_SIZE_32:
257            temp32 = memory_read_dword_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), sadr);
258            memory_write_dword_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), tadr, temp32);
259            break;
260         default:
261            printf( "pxa255_dma_dma_end: Unsupported DMA size\n" );
262            break;
263      }
264      if(dma_regs.dcmd[param] & PXA255_DCMD_INCSRCADDR)
265      {
266         switch(dma_regs.dcmd[param] & PXA255_DCMD_SIZE)
267         {
268            case PXA255_DCMD_SIZE_8:
269               sadr++;
270               break;
271            case PXA255_DCMD_SIZE_16:
272               sadr += 2;
273               break;
274            case PXA255_DCMD_SIZE_32:
275               sadr += 4;
276               break;
277            default:
278               break;
279         }
280      }
281      if(dma_regs.dcmd[param] & PXA255_DCMD_INCTRGADDR)
282      {
283         switch(dma_regs.dcmd[param] & PXA255_DCMD_SIZE)
284         {
285            case PXA255_DCMD_SIZE_8:
286               tadr++;
287               break;
288            case PXA255_DCMD_SIZE_16:
289               tadr += 2;
290               break;
291            case PXA255_DCMD_SIZE_32:
292               tadr += 4;
293               break;
294            default:
295               break;
296         }
297      }
298   }
299   if(dma_regs.dcmd[param] & PXA255_DCMD_ENDIRQEN)
300   {
301      dma_regs.dcsr[param] |= PXA255_DCSR_ENDINTR;
302   }
303   if(!(dma_regs.ddadr[param] & PXA255_DDADR_STOP) &&
304       (dma_regs.dcsr[param] & PXA255_DCSR_RUN))
305   {
306      if(dma_regs.dcsr[param] & PXA255_DCSR_RUN)
307      {
308         pxa255_dma_load_descriptor_and_start(machine, param);
309      }
310      else
311      {
312         dma_regs.dcsr[param] &= ~PXA255_DCSR_RUN;
313         dma_regs.dcsr[param] |= PXA255_DCSR_STOPSTATE;
314      }
315   }
316   else
317   {
318      dma_regs.dcsr[param] &= ~PXA255_DCSR_RUN;
319      dma_regs.dcsr[param] |= PXA255_DCSR_STOPSTATE;
320   }
321   pxa255_dma_irq_check(machine);
322}
323
324static READ32_HANDLER( pxa255_dma_r )
325{
326   switch(PXA255_DMA_BASE_ADDR | (offset << 2))
327   {
328      case PXA255_DCSR0:      case PXA255_DCSR1:      case PXA255_DCSR2:      case PXA255_DCSR3:
329      case PXA255_DCSR4:      case PXA255_DCSR5:      case PXA255_DCSR6:      case PXA255_DCSR7:
330      case PXA255_DCSR8:      case PXA255_DCSR9:      case PXA255_DCSR10:      case PXA255_DCSR11:
331      case PXA255_DCSR12:      case PXA255_DCSR13:      case PXA255_DCSR14:      case PXA255_DCSR15:
332         verboselog( space->machine, 4, "pxa255_dma_r: DMA Channel Control/Status Register %d: %08x & %08x\n", offset, dma_regs.dcsr[offset], mem_mask );
333         return dma_regs.dcsr[offset];
334      case PXA255_DINT:
335//          verboselog( space->machine, 3, "pxa255_dma_r: DMA Interrupt Register: %08x & %08x\n", dma_regs.dint, mem_mask );
336         return dma_regs.dint;
337      case PXA255_DRCMR0:      case PXA255_DRCMR1:      case PXA255_DRCMR2:      case PXA255_DRCMR3:
338      case PXA255_DRCMR4:      case PXA255_DRCMR5:      case PXA255_DRCMR6:      case PXA255_DRCMR7:
339      case PXA255_DRCMR8:      case PXA255_DRCMR9:      case PXA255_DRCMR10:   case PXA255_DRCMR11:
340      case PXA255_DRCMR12:   case PXA255_DRCMR13:   case PXA255_DRCMR14:   case PXA255_DRCMR15:
341      case PXA255_DRCMR16:   case PXA255_DRCMR17:   case PXA255_DRCMR18:   case PXA255_DRCMR19:
342      case PXA255_DRCMR20:   case PXA255_DRCMR21:   case PXA255_DRCMR22:   case PXA255_DRCMR23:
343      case PXA255_DRCMR24:   case PXA255_DRCMR25:   case PXA255_DRCMR26:   case PXA255_DRCMR27:
344      case PXA255_DRCMR28:   case PXA255_DRCMR29:   case PXA255_DRCMR30:   case PXA255_DRCMR31:
345      case PXA255_DRCMR32:   case PXA255_DRCMR33:   case PXA255_DRCMR34:   case PXA255_DRCMR35:
346      case PXA255_DRCMR36:   case PXA255_DRCMR37:   case PXA255_DRCMR38:   case PXA255_DRCMR39:
347         verboselog( space->machine, 3, "pxa255_dma_r: DMA Request to Channel Map Register %d: %08x & %08x\n", offset - (0x100 >> 2), 0, mem_mask );
348         return dma_regs.drcmr[offset - (0x100 >> 2)];
349      case PXA255_DDADR0:      case PXA255_DDADR1:      case PXA255_DDADR2:      case PXA255_DDADR3:
350      case PXA255_DDADR4:      case PXA255_DDADR5:      case PXA255_DDADR6:      case PXA255_DDADR7:
351      case PXA255_DDADR8:      case PXA255_DDADR9:      case PXA255_DDADR10:   case PXA255_DDADR11:
352      case PXA255_DDADR12:   case PXA255_DDADR13:   case PXA255_DDADR14:   case PXA255_DDADR15:
353         verboselog( space->machine, 3, "pxa255_dma_r: DMA Descriptor Address Register %d: %08x & %08x\n", (offset - (0x200 >> 2)) >> 2, 0, mem_mask );
354         return dma_regs.ddadr[(offset - (0x200 >> 2)) >> 2];
355      case PXA255_DSADR0:      case PXA255_DSADR1:      case PXA255_DSADR2:      case PXA255_DSADR3:
356      case PXA255_DSADR4:      case PXA255_DSADR5:      case PXA255_DSADR6:      case PXA255_DSADR7:
357      case PXA255_DSADR8:      case PXA255_DSADR9:      case PXA255_DSADR10:   case PXA255_DSADR11:
358      case PXA255_DSADR12:   case PXA255_DSADR13:   case PXA255_DSADR14:   case PXA255_DSADR15:
359         verboselog( space->machine, 3, "pxa255_dma_r: DMA Source Address Register %d: %08x & %08x\n", (offset - (0x200 >> 2)) >> 2, 0, mem_mask );
360         return dma_regs.dsadr[(offset - (0x200 >> 2)) >> 2];
361      case PXA255_DTADR0:      case PXA255_DTADR1:      case PXA255_DTADR2:      case PXA255_DTADR3:
362      case PXA255_DTADR4:      case PXA255_DTADR5:      case PXA255_DTADR6:      case PXA255_DTADR7:
363      case PXA255_DTADR8:      case PXA255_DTADR9:      case PXA255_DTADR10:   case PXA255_DTADR11:
364      case PXA255_DTADR12:   case PXA255_DTADR13:   case PXA255_DTADR14:   case PXA255_DTADR15:
365         verboselog( space->machine, 3, "pxa255_dma_r: DMA Target Address Register %d: %08x & %08x\n", (offset - (0x200 >> 2)) >> 2, 0, mem_mask );
366         return dma_regs.dtadr[(offset - (0x200 >> 2)) >> 2];
367      case PXA255_DCMD0:      case PXA255_DCMD1:      case PXA255_DCMD2:      case PXA255_DCMD3:
368      case PXA255_DCMD4:      case PXA255_DCMD5:      case PXA255_DCMD6:      case PXA255_DCMD7:
369      case PXA255_DCMD8:      case PXA255_DCMD9:      case PXA255_DCMD10:      case PXA255_DCMD11:
370      case PXA255_DCMD12:      case PXA255_DCMD13:      case PXA255_DCMD14:      case PXA255_DCMD15:
371         verboselog( space->machine, 3, "pxa255_dma_r: DMA Command Register %d: %08x & %08x\n", (offset - (0x200 >> 2)) >> 2, 0, mem_mask );
372         return dma_regs.dcmd[(offset - (0x200 >> 2)) >> 2];
373      default:
374         verboselog( space->machine, 0, "pxa255_dma_r: Unknown address: %08x\n", PXA255_DMA_BASE_ADDR | (offset << 2));
375         break;
376   }
377   return 0;
378}
379
380static WRITE32_HANDLER( pxa255_dma_w )
381{
382   switch(PXA255_DMA_BASE_ADDR | (offset << 2))
383   {
384      case PXA255_DCSR0:      case PXA255_DCSR1:      case PXA255_DCSR2:      case PXA255_DCSR3:
385      case PXA255_DCSR4:      case PXA255_DCSR5:      case PXA255_DCSR6:      case PXA255_DCSR7:
386      case PXA255_DCSR8:      case PXA255_DCSR9:      case PXA255_DCSR10:      case PXA255_DCSR11:
387      case PXA255_DCSR12:      case PXA255_DCSR13:      case PXA255_DCSR14:      case PXA255_DCSR15:
388//          verboselog( space->machine, 3, "pxa255_dma_w: DMA Channel Control/Status Register %d: %08x & %08x\n", offset, data, mem_mask );
389         dma_regs.dcsr[offset] &= ~(data & 0x00000007);
390         dma_regs.dcsr[offset] &= ~0x60000000;
391         dma_regs.dcsr[offset] |= data & 0x60000000;
392         if((data & PXA255_DCSR_RUN) && !(dma_regs.dcsr[offset] & PXA255_DCSR_RUN))
393         {
394            dma_regs.dcsr[offset] |= PXA255_DCSR_RUN;
395            if(data & PXA255_DCSR_NODESCFETCH)
396            {
397               verboselog( space->machine, 0, "              No-Descriptor-Fetch mode is not supported.\n" );
398               break;
399            }
400
401            pxa255_dma_load_descriptor_and_start(space->machine, offset);
402         }
403         else if(!(data & PXA255_DCSR_RUN))
404         {
405            dma_regs.dcsr[offset] &= ~PXA255_DCSR_RUN;
406         }
407
408         pxa255_dma_irq_check(space->machine);
409         break;
410      case PXA255_DINT:
411         verboselog( space->machine, 3, "pxa255_dma_w: DMA Interrupt Register: %08x & %08x\n", data, mem_mask );
412         dma_regs.dint &= ~data;
413         break;
414      case PXA255_DRCMR0:      case PXA255_DRCMR1:      case PXA255_DRCMR2:      case PXA255_DRCMR3:
415      case PXA255_DRCMR4:      case PXA255_DRCMR5:      case PXA255_DRCMR6:      case PXA255_DRCMR7:
416      case PXA255_DRCMR8:      case PXA255_DRCMR9:      case PXA255_DRCMR10:   case PXA255_DRCMR11:
417      case PXA255_DRCMR12:   case PXA255_DRCMR13:   case PXA255_DRCMR14:   case PXA255_DRCMR15:
418      case PXA255_DRCMR16:   case PXA255_DRCMR17:   case PXA255_DRCMR18:   case PXA255_DRCMR19:
419      case PXA255_DRCMR20:   case PXA255_DRCMR21:   case PXA255_DRCMR22:   case PXA255_DRCMR23:
420      case PXA255_DRCMR24:   case PXA255_DRCMR25:   case PXA255_DRCMR26:   case PXA255_DRCMR27:
421      case PXA255_DRCMR28:   case PXA255_DRCMR29:   case PXA255_DRCMR30:   case PXA255_DRCMR31:
422      case PXA255_DRCMR32:   case PXA255_DRCMR33:   case PXA255_DRCMR34:   case PXA255_DRCMR35:
423      case PXA255_DRCMR36:   case PXA255_DRCMR37:   case PXA255_DRCMR38:   case PXA255_DRCMR39:
424         verboselog( space->machine, 3, "pxa255_dma_w: DMA Request to Channel Map Register %d: %08x & %08x\n", offset - (0x100 >> 2), data, mem_mask );
425         dma_regs.drcmr[offset - (0x100 >> 2)] = data & 0x0000008f;
426         break;
427      case PXA255_DDADR0:      case PXA255_DDADR1:      case PXA255_DDADR2:      case PXA255_DDADR3:
428      case PXA255_DDADR4:      case PXA255_DDADR5:      case PXA255_DDADR6:      case PXA255_DDADR7:
429      case PXA255_DDADR8:      case PXA255_DDADR9:      case PXA255_DDADR10:   case PXA255_DDADR11:
430      case PXA255_DDADR12:   case PXA255_DDADR13:   case PXA255_DDADR14:   case PXA255_DDADR15:
431         verboselog( space->machine, 3, "pxa255_dma_w: DMA Descriptor Address Register %d: %08x & %08x\n", (offset - (0x200 >> 2)) >> 2, data, mem_mask );
432         dma_regs.ddadr[(offset - (0x200 >> 2)) >> 2] = data & 0xfffffff1;
433         break;
434      case PXA255_DSADR0:      case PXA255_DSADR1:      case PXA255_DSADR2:      case PXA255_DSADR3:
435      case PXA255_DSADR4:      case PXA255_DSADR5:      case PXA255_DSADR6:      case PXA255_DSADR7:
436      case PXA255_DSADR8:      case PXA255_DSADR9:      case PXA255_DSADR10:   case PXA255_DSADR11:
437      case PXA255_DSADR12:   case PXA255_DSADR13:   case PXA255_DSADR14:   case PXA255_DSADR15:
438         verboselog( space->machine, 3, "pxa255_dma_w: DMA Source Address Register %d: %08x & %08x\n", (offset - (0x200 >> 2)) >> 2, data, mem_mask );
439         dma_regs.dsadr[(offset - (0x200 >> 2)) >> 2] = data & 0xfffffffc;
440         break;
441      case PXA255_DTADR0:      case PXA255_DTADR1:      case PXA255_DTADR2:      case PXA255_DTADR3:
442      case PXA255_DTADR4:      case PXA255_DTADR5:      case PXA255_DTADR6:      case PXA255_DTADR7:
443      case PXA255_DTADR8:      case PXA255_DTADR9:      case PXA255_DTADR10:   case PXA255_DTADR11:
444      case PXA255_DTADR12:   case PXA255_DTADR13:   case PXA255_DTADR14:   case PXA255_DTADR15:
445         verboselog( space->machine, 3, "pxa255_dma_w: DMA Target Address Register %d: %08x & %08x\n", (offset - (0x200 >> 2)) >> 2, data, mem_mask );
446         dma_regs.dtadr[(offset - (0x200 >> 2)) >> 2] = data & 0xfffffffc;
447         break;
448      case PXA255_DCMD0:      case PXA255_DCMD1:      case PXA255_DCMD2:      case PXA255_DCMD3:
449      case PXA255_DCMD4:      case PXA255_DCMD5:      case PXA255_DCMD6:      case PXA255_DCMD7:
450      case PXA255_DCMD8:      case PXA255_DCMD9:      case PXA255_DCMD10:      case PXA255_DCMD11:
451      case PXA255_DCMD12:      case PXA255_DCMD13:      case PXA255_DCMD14:      case PXA255_DCMD15:
452         verboselog( space->machine, 3, "pxa255_dma_w: DMA Command Register %d: %08x & %08x\n", (offset - (0x200 >> 2)) >> 2, data, mem_mask );
453         dma_regs.dcmd[(offset - (0x200 >> 2)) >> 2] = data & 0xf067dfff;
454         break;
455      default:
456         verboselog( space->machine, 0, "pxa255_dma_w: Unknown address: %08x = %08x & %08x\n", PXA255_DMA_BASE_ADDR | (offset << 2), data, mem_mask);
457         break;
458   }
459}
460
461/*
462
463  PXA255 OS Timer register
464
465  pg. 138 to 142, PXA255 Processor Developers Manual [278693-002].pdf
466
467*/
468
469static void pxa255_ostimer_irq_check(running_machine* machine)
470{
471   pxa255_set_irq_line(machine, PXA255_INT_OSTIMER0, (ostimer_regs.oier & PXA255_OIER_E0) ? ((ostimer_regs.ossr & PXA255_OSSR_M0) ? 1 : 0) : 0);
472   //pxa255_set_irq_line(machine, PXA255_INT_OSTIMER1, (ostimer_regs.oier & PXA255_OIER_E1) ? ((ostimer_regs.ossr & PXA255_OSSR_M1) ? 1 : 0) : 0);
473   //pxa255_set_irq_line(machine, PXA255_INT_OSTIMER2, (ostimer_regs.oier & PXA255_OIER_E2) ? ((ostimer_regs.ossr & PXA255_OSSR_M2) ? 1 : 0) : 0);
474   //pxa255_set_irq_line(machine, PXA255_INT_OSTIMER3, (ostimer_regs.oier & PXA255_OIER_E3) ? ((ostimer_regs.ossr & PXA255_OSSR_M3) ? 1 : 0) : 0);
475}
476
477static TIMER_CALLBACK( pxa255_ostimer_match )
478{
479//  verboselog(machine, 3, "pxa255_ostimer_match channel %d\n", param);
480   ostimer_regs.ossr |= (1 << param);
481   ostimer_regs.oscr = ostimer_regs.osmr[param];
482   pxa255_ostimer_irq_check(machine);
483}
484
485static READ32_HANDLER( pxa255_ostimer_r )
486{
487   switch(PXA255_OSTMR_BASE_ADDR | (offset << 2))
488   {
489      case PXA255_OSMR0:
490//          verboselog( space->machine, 3, "pxa255_ostimer_r: OS Timer Match Register 0: %08x & %08x\n", ostimer_regs.osmr[0], mem_mask );
491         return ostimer_regs.osmr[0];
492      case PXA255_OSMR1:
493//          verboselog( space->machine, 3, "pxa255_ostimer_r: OS Timer Match Register 1: %08x & %08x\n", ostimer_regs.osmr[1], mem_mask );
494         return ostimer_regs.osmr[1];
495      case PXA255_OSMR2:
496//          verboselog( space->machine, 3, "pxa255_ostimer_r: OS Timer Match Register 2: %08x & %08x\n", ostimer_regs.osmr[2], mem_mask );
497         return ostimer_regs.osmr[2];
498      case PXA255_OSMR3:
499//          verboselog( space->machine, 3, "pxa255_ostimer_r: OS Timer Match Register 3: %08x & %08x\n", ostimer_regs.osmr[3], mem_mask );
500         return ostimer_regs.osmr[3];
501      case PXA255_OSCR:
502//          verboselog( space->machine, 4, "pxa255_ostimer_r: OS Timer Count Register: %08x & %08x\n", ostimer_regs.oscr, mem_mask );
503         // free-running 3.something MHz counter.  this is a complete hack.
504         ostimer_regs.oscr += 0x300;
505         return ostimer_regs.oscr;
506      case PXA255_OSSR:
507//          verboselog( space->machine, 3, "pxa255_ostimer_r: OS Timer Status Register: %08x & %08x\n", ostimer_regs.ossr, mem_mask );
508         return ostimer_regs.ossr;
509      case PXA255_OWER:
510//          verboselog( space->machine, 3, "pxa255_ostimer_r: OS Timer Watchdog Match Enable Register: %08x & %08x\n", ostimer_regs.ower, mem_mask );
511         return ostimer_regs.ower;
512      case PXA255_OIER:
513//          verboselog( space->machine, 3, "pxa255_ostimer_r: OS Timer Interrupt Enable Register: %08x & %08x\n", ostimer_regs.oier, mem_mask );
514         return ostimer_regs.oier;
515      default:
516//          verboselog( space->machine, 0, "pxa255_ostimer_r: Unknown address: %08x\n", PXA255_OSTMR_BASE_ADDR | (offset << 2));
517         break;
518   }
519   return 0;
520}
521
522static WRITE32_HANDLER( pxa255_ostimer_w )
523{
524   switch(PXA255_OSTMR_BASE_ADDR | (offset << 2))
525   {
526      case PXA255_OSMR0:
527//          verboselog( space->machine, 3, "pxa255_ostimer_w: OS Timer Match Register 0: %08x & %08x\n", data, mem_mask );
528         ostimer_regs.osmr[0] = data;
529         if(ostimer_regs.oier & PXA255_OIER_E0)
530         {
531            attotime period = attotime_mul(ATTOTIME_IN_HZ(3846400), ostimer_regs.osmr[0] - ostimer_regs.oscr);
532
533            //printf( "Adjusting one-shot timer to 200MHz * %08x\n", ostimer_regs.osmr[0]);
534            timer_adjust_oneshot(ostimer_regs.timer[0], period, 0);
535         }
536         break;
537      case PXA255_OSMR1:
538//          verboselog( space->machine, 3, "pxa255_ostimer_w: OS Timer Match Register 1: %08x & %08x\n", data, mem_mask );
539         ostimer_regs.osmr[1] = data;
540         if(ostimer_regs.oier & PXA255_OIER_E1)
541         {
542            attotime period = attotime_mul(ATTOTIME_IN_HZ(3846400), ostimer_regs.osmr[1] - ostimer_regs.oscr);
543
544            timer_adjust_oneshot(ostimer_regs.timer[1], period, 1);
545         }
546         break;
547      case PXA255_OSMR2:
548//          verboselog( space->machine, 3, "pxa255_ostimer_w: OS Timer Match Register 2: %08x & %08x\n", data, mem_mask );
549         ostimer_regs.osmr[2] = data;
550         if(ostimer_regs.oier & PXA255_OIER_E2)
551         {
552            attotime period = attotime_mul(ATTOTIME_IN_HZ(3846400), ostimer_regs.osmr[2] - ostimer_regs.oscr);
553
554            timer_adjust_oneshot(ostimer_regs.timer[2], period, 2);
555         }
556         break;
557      case PXA255_OSMR3:
558//          verboselog( space->machine, 3, "pxa255_ostimer_w: OS Timer Match Register 3: %08x & %08x\n", data, mem_mask );
559         ostimer_regs.osmr[3] = data;
560         if(ostimer_regs.oier & PXA255_OIER_E3)
561         {
562            //attotime period = attotime_mul(ATTOTIME_IN_HZ(3846400), ostimer_regs.osmr[3] - ostimer_regs.oscr);
563
564            //timer_adjust_oneshot(ostimer_regs.timer[3], period, 3);
565         }
566         break;
567      case PXA255_OSCR:
568//          verboselog( space->machine, 3, "pxa255_ostimer_w: OS Timer Count Register: %08x & %08x\n", data, mem_mask );
569         ostimer_regs.oscr = data;
570         break;
571      case PXA255_OSSR:
572//          verboselog( space->machine, 3, "pxa255_ostimer_w: OS Timer Status Register: %08x & %08x\n", data, mem_mask );
573         ostimer_regs.ossr &= ~data;
574         pxa255_ostimer_irq_check(space->machine);
575         break;
576      case PXA255_OWER:
577//          verboselog( space->machine, 3, "pxa255_ostimer_w: OS Timer Watchdog Enable Register: %08x & %08x\n", data, mem_mask );
578         ostimer_regs.ower = data & 0x00000001;
579         break;
580      case PXA255_OIER:
581      {
582         int index = 0;
583//          verboselog( space->machine, 3, "pxa255_ostimer_w: OS Timer Interrupt Enable Register: %08x & %08x\n", data, mem_mask );
584         ostimer_regs.oier = data & 0x0000000f;
585         for(index = 0; index < 4; index++)
586         {
587            if(ostimer_regs.oier & (1 << index))
588            {
589               //attotime period = attotime_mul(ATTOTIME_IN_HZ(200000000), ostimer_regs.osmr[index]);
590
591               //timer_adjust_oneshot(ostimer_regs.timer[index], period, index);
592            }
593         }
594
595         break;
596      }
597      default:
598         verboselog( space->machine, 0, "pxa255_ostimer_w: Unknown address: %08x = %08x & %08x\n", PXA255_OSTMR_BASE_ADDR | (offset << 2), data, mem_mask);
599         break;
600   }
601}
602
603/*
604
605  PXA255 Interrupt registers
606
607  pg. 124 to 132, PXA255 Processor Developers Manual [278693-002].pdf
608
609*/
610
611static void pxa255_update_interrupts(running_machine* machine)
612{
613   intc_regs.icfp = (intc_regs.icpr & intc_regs.icmr) & intc_regs.iclr;
614   intc_regs.icip = (intc_regs.icpr & intc_regs.icmr) & (~intc_regs.iclr);
615   cputag_set_input_line(machine, "maincpu", ARM7_FIRQ_LINE, intc_regs.icfp ? ASSERT_LINE : CLEAR_LINE);
616   cputag_set_input_line(machine, "maincpu", ARM7_IRQ_LINE,  intc_regs.icip ? ASSERT_LINE : CLEAR_LINE);
617}
618
619static void pxa255_set_irq_line(running_machine* machine, UINT32 line, int state)
620{
621   intc_regs.icpr &= ~line;
622   intc_regs.icpr |= state ? line : 0;
623   //printf( "Setting IRQ line %08x to %d\n", line, state );
624   pxa255_update_interrupts(machine);
625}
626
627static READ32_HANDLER( pxa255_intc_r )
628{
629   switch(PXA255_INTC_BASE_ADDR | (offset << 2))
630   {
631      case PXA255_ICIP:
632//          verboselog( space->machine, 3, "pxa255_intc_r: Interrupt Controller IRQ Pending Register: %08x & %08x\n", intc_regs.icip, mem_mask );
633         return intc_regs.icip;
634      case PXA255_ICMR:
635//          verboselog( space->machine, 3, "pxa255_intc_r: Interrupt Controller Mask Register: %08x & %08x\n", intc_regs.icmr, mem_mask );
636         return intc_regs.icmr;
637      case PXA255_ICLR:
638//          verboselog( space->machine, 3, "pxa255_intc_r: Interrupt Controller Level Register: %08x & %08x\n", intc_regs.iclr, mem_mask );
639         return intc_regs.iclr;
640      case PXA255_ICFP:
641//          verboselog( space->machine, 3, "pxa255_intc_r: Interrupt Controller FIQ Pending Register: %08x & %08x\n", intc_regs.icfp, mem_mask );
642         return intc_regs.icfp;
643      case PXA255_ICPR:
644//          verboselog( space->machine, 3, "pxa255_intc_r: Interrupt Controller Pending Register: %08x & %08x\n", intc_regs.icpr, mem_mask );
645         return intc_regs.icpr;
646      case PXA255_ICCR:
647//          verboselog( space->machine, 3, "pxa255_intc_r: Interrupt Controller Control Register: %08x & %08x\n", intc_regs.iccr, mem_mask );
648         return intc_regs.iccr;
649      default:
650         verboselog( space->machine, 0, "pxa255_intc_r: Unknown address: %08x\n", PXA255_INTC_BASE_ADDR | (offset << 2));
651         break;
652   }
653   return 0;
654}
655
656static WRITE32_HANDLER( pxa255_intc_w )
657{
658   switch(PXA255_INTC_BASE_ADDR | (offset << 2))
659   {
660      case PXA255_ICIP:
661         verboselog( space->machine, 3, "pxa255_intc_w: (Invalid Write) Interrupt Controller IRQ Pending Register: %08x & %08x\n", data, mem_mask );
662         break;
663      case PXA255_ICMR:
664//          verboselog( space->machine, 3, "pxa255_intc_w: Interrupt Controller Mask Register: %08x & %08x\n", data, mem_mask );
665         intc_regs.icmr = data & 0xfffe7f00;
666         break;
667      case PXA255_ICLR:
668//          verboselog( space->machine, 3, "pxa255_intc_w: Interrupt Controller Level Register: %08x & %08x\n", data, mem_mask );
669         intc_regs.iclr = data & 0xfffe7f00;
670         break;
671      case PXA255_ICFP:
672//          verboselog( space->machine, 3, "pxa255_intc_w: (Invalid Write) Interrupt Controller FIQ Pending Register: %08x & %08x\n", data, mem_mask );
673         break;
674      case PXA255_ICPR:
675//          verboselog( space->machine, 3, "pxa255_intc_w: (Invalid Write) Interrupt Controller Pending Register: %08x & %08x\n", data, mem_mask );
676         break;
677      case PXA255_ICCR:
678//          verboselog( space->machine, 3, "pxa255_intc_w: Interrupt Controller Control Register: %08x & %08x\n", data, mem_mask );
679         intc_regs.iccr = data & 0x00000001;
680         break;
681      default:
682         verboselog( space->machine, 0, "pxa255_intc_w: Unknown address: %08x = %08x & %08x\n", PXA255_INTC_BASE_ADDR | (offset << 2), data, mem_mask);
683         break;
684   }
685}
686
687/*
688
689  PXA255 General-Purpose I/O registers
690
691  pg. 105 to 124, PXA255 Processor Developers Manual [278693-002].pdf
692
693*/
694
695static READ32_HANDLER( pxa255_gpio_r )
696{
697   switch(PXA255_GPIO_BASE_ADDR | (offset << 2))
698   {
699      case PXA255_GPLR0:
700         verboselog( space->machine, 3, "pxa255_gpio_r: GPIO Pin-Level Register 0: %08x & %08x\n", gpio_regs.gplr0 | (1 << 1), mem_mask );
701         return gpio_regs.gplr0 | (1 << 1) | (eeprom_read_bit() << 5); // Must be on.  Probably a DIP switch.
702      case PXA255_GPLR1:
703         verboselog( space->machine, 3, "pxa255_gpio_r: *Not Yet Implemented* GPIO Pin-Level Register 1: %08x & %08x\n", gpio_regs.gplr1, mem_mask );
704         return 0xff9fffff;
705      /*
706            0x200000 = flip screen
707        */
708      case PXA255_GPLR2:
709         verboselog( space->machine, 3, "pxa255_gpio_r: *Not Yet Implemented* GPIO Pin-Level Register 2: %08x & %08x\n", gpio_regs.gplr2, mem_mask );
710         return gpio_regs.gplr2;
711      case PXA255_GPDR0:
712         verboselog( space->machine, 3, "pxa255_gpio_r: GPIO Pin Direction Register 0: %08x & %08x\n", gpio_regs.gpdr0, mem_mask );
713         return gpio_regs.gpdr0;
714      case PXA255_GPDR1:
715         verboselog( space->machine, 3, "pxa255_gpio_r: GPIO Pin Direction Register 1: %08x & %08x\n", gpio_regs.gpdr1, mem_mask );
716         return gpio_regs.gpdr1;
717      case PXA255_GPDR2:
718         verboselog( space->machine, 3, "pxa255_gpio_r: GPIO Pin Direction Register 2: %08x & %08x\n", gpio_regs.gpdr2, mem_mask );
719         return gpio_regs.gpdr2;
720      case PXA255_GPSR0:
721         verboselog( space->machine, 3, "pxa255_gpio_r: (Invalid Read) GPIO Pin Output Set Register 0: %08x & %08x\n", mame_rand(space->machine), mem_mask );
722         return mame_rand(space->machine);
723      case PXA255_GPSR1:
724         verboselog( space->machine, 3, "pxa255_gpio_r: (Invalid Read) GPIO Pin Output Set Register 1: %08x & %08x\n", mame_rand(space->machine), mem_mask );
725         return mame_rand(space->machine);
726      case PXA255_GPSR2:
727         verboselog( space->machine, 3, "pxa255_gpio_r: (Invalid Read) GPIO Pin Output Set Register 2: %08x & %08x\n", mame_rand(space->machine), mem_mask );
728         return mame_rand(space->machine);
729      case PXA255_GPCR0:
730         verboselog( space->machine, 3, "pxa255_gpio_r: (Invalid Read) GPIO Pin Output Clear Register 0: %08x & %08x\n", mame_rand(space->machine), mem_mask );
731         return mame_rand(space->machine);
732      case PXA255_GPCR1:
733         verboselog( space->machine, 3, "pxa255_gpio_r: (Invalid Read) GPIO Pin Output Clear Register 1: %08x & %08x\n", mame_rand(space->machine), mem_mask );
734         return mame_rand(space->machine);
735      case PXA255_GPCR2:
736         verboselog( space->machine, 3, "pxa255_gpio_r: (Invalid Read) GPIO Pin Output Clear Register 2: %08x & %08x\n", mame_rand(space->machine), mem_mask );
737         return mame_rand(space->machine);
738      case PXA255_GRER0:
739         verboselog( space->machine, 3, "pxa255_gpio_r: GPIO Rising Edge Detect Enable Register 0: %08x & %08x\n", gpio_regs.grer0, mem_mask );
740         return gpio_regs.grer0;
741      case PXA255_GRER1:
742         verboselog( space->machine, 3, "pxa255_gpio_r: GPIO Rising Edge Detect Enable Register 1: %08x & %08x\n", gpio_regs.grer1, mem_mask );
743         return gpio_regs.grer1;
744      case PXA255_GRER2:
745         verboselog( space->machine, 3, "pxa255_gpio_r: GPIO Rising Edge Detect Enable Register 2: %08x & %08x\n", gpio_regs.grer2, mem_mask );
746         return gpio_regs.grer2;
747      case PXA255_GFER0:
748         verboselog( space->machine, 3, "pxa255_gpio_r: GPIO Falling Edge Detect Enable Register 0: %08x & %08x\n", gpio_regs.gfer0, mem_mask );
749         return gpio_regs.gfer0;
750      case PXA255_GFER1:
751         verboselog( space->machine, 3, "pxa255_gpio_r: GPIO Falling Edge Detect Enable Register 1: %08x & %08x\n", gpio_regs.gfer1, mem_mask );
752         return gpio_regs.gfer1;
753      case PXA255_GFER2:
754         verboselog( space->machine, 3, "pxa255_gpio_r: GPIO Falling Edge Detect Enable Register 2: %08x & %08x\n", gpio_regs.gfer2, mem_mask );
755         return gpio_regs.gfer2;
756      case PXA255_GEDR0:
757         verboselog( space->machine, 3, "pxa255_gpio_r: GPIO Edge Detect Status Register 0: %08x & %08x\n", gpio_regs.gedr0, mem_mask );
758         return gpio_regs.gedr0;
759      case PXA255_GEDR1:
760         verboselog( space->machine, 3, "pxa255_gpio_r: GPIO Edge Detect Status Register 1: %08x & %08x\n", gpio_regs.gedr1, mem_mask );
761         return gpio_regs.gedr1;
762      case PXA255_GEDR2:
763         verboselog( space->machine, 3, "pxa255_gpio_r: GPIO Edge Detect Status Register 2: %08x & %08x\n", gpio_regs.gedr2, mem_mask );
764         return gpio_regs.gedr2;
765      case PXA255_GAFR0_L:
766         verboselog( space->machine, 3, "pxa255_gpio_r: GPIO Alternate Function Register 0 Lower: %08x & %08x\n", gpio_regs.gafr0l, mem_mask );
767         return gpio_regs.gafr0l;
768      case PXA255_GAFR0_U:
769         verboselog( space->machine, 3, "pxa255_gpio_r: GPIO Alternate Function Register 0 Upper: %08x & %08x\n", gpio_regs.gafr0u, mem_mask );
770         return gpio_regs.gafr0u;
771      case PXA255_GAFR1_L:
772         verboselog( space->machine, 3, "pxa255_gpio_r: GPIO Alternate Function Register 1 Lower: %08x & %08x\n", gpio_regs.gafr1l, mem_mask );
773         return gpio_regs.gafr1l;
774      case PXA255_GAFR1_U:
775         verboselog( space->machine, 3, "pxa255_gpio_r: GPIO Alternate Function Register 1 Upper: %08x & %08x\n", gpio_regs.gafr1u, mem_mask );
776         return gpio_regs.gafr1u;
777      case PXA255_GAFR2_L:
778         verboselog( space->machine, 3, "pxa255_gpio_r: GPIO Alternate Function Register 2 Lower: %08x & %08x\n", gpio_regs.gafr2l, mem_mask );
779         return gpio_regs.gafr2l;
780      case PXA255_GAFR2_U:
781         verboselog( space->machine, 3, "pxa255_gpio_r: GPIO Alternate Function Register 2 Upper: %08x & %08x\n", gpio_regs.gafr2u, mem_mask );
782         return gpio_regs.gafr2u;
783      default:
784         verboselog( space->machine, 0, "pxa255_gpio_r: Unknown address: %08x\n", PXA255_GPIO_BASE_ADDR | (offset << 2));
785         break;
786   }
787   return 0;
788}
789
790static WRITE32_HANDLER( pxa255_gpio_w )
791{
792   switch(PXA255_GPIO_BASE_ADDR | (offset << 2))
793   {
794      case PXA255_GPLR0:
795         verboselog( space->machine, 3, "pxa255_gpio_w: (Invalid Write) GPIO Pin-Level Register 0: %08x & %08x\n", data, mem_mask );
796         break;
797      case PXA255_GPLR1:
798         verboselog( space->machine, 3, "pxa255_gpio_w: (Invalid Write) GPIO Pin-Level Register 1: %08x & %08x\n", data, mem_mask );
799         break;
800      case PXA255_GPLR2:
801         verboselog( space->machine, 3, "pxa255_gpio_w: (Invalid Write) GPIO Pin-Level Register 2: %08x & %08x\n", data, mem_mask );
802         break;
803      case PXA255_GPDR0:
804         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Pin Direction Register 0: %08x & %08x\n", data, mem_mask );
805         gpio_regs.gpdr0 = data;
806         break;
807      case PXA255_GPDR1:
808         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Pin Direction Register 1: %08x & %08x\n", data, mem_mask );
809         gpio_regs.gpdr1 = data;
810         break;
811      case PXA255_GPDR2:
812         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Pin Direction Register 2: %08x & %08x\n", data, mem_mask );
813         gpio_regs.gpdr2 = data;
814         break;
815      case PXA255_GPSR0:
816         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Pin Output Set Register 0: %08x & %08x\n", data, mem_mask );
817         gpio_regs.gpsr0 |= data & gpio_regs.gpdr0;
818         if(data & 0x00000004)
819         {
820            eeprom_set_cs_line(CLEAR_LINE);
821         }
822         if(data & 0x00000008)
823         {
824            eeprom_set_clock_line(ASSERT_LINE);
825         }
826         if(data & 0x00000010)
827         {
828            eeprom_write_bit(1);
829         }
830         break;
831      case PXA255_GPSR1:
832         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Pin Output Set Register 1: %08x & %08x\n", data, mem_mask );
833         gpio_regs.gpsr1 |= data & gpio_regs.gpdr1;
834         break;
835      case PXA255_GPSR2:
836         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Pin Output Set Register 2: %08x & %08x\n", data, mem_mask );
837         gpio_regs.gpsr2 |= data & gpio_regs.gpdr2;
838         break;
839      case PXA255_GPCR0:
840         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Pin Output Clear Register 0: %08x & %08x\n", data, mem_mask );
841         gpio_regs.gpsr0 &= ~(data & gpio_regs.gpdr0);
842         if(data & 0x00000004)
843         {
844            eeprom_set_cs_line(ASSERT_LINE);
845         }
846         if(data & 0x00000008)
847         {
848            eeprom_set_clock_line(CLEAR_LINE);
849         }
850         if(data & 0x00000010)
851         {
852            eeprom_write_bit(0);
853         }
854         break;
855      case PXA255_GPCR1:
856         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Pin Output Clear Register 1: %08x & %08x\n", data, mem_mask );
857         gpio_regs.gpsr1 &= ~(data & gpio_regs.gpdr1);
858         break;
859      case PXA255_GPCR2:
860         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Pin Output Clear Register 2: %08x & %08x\n", data, mem_mask );
861         gpio_regs.gpsr2 &= ~(data & gpio_regs.gpdr2);
862         break;
863      case PXA255_GRER0:
864         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Rising Edge Detect Enable Register 0: %08x & %08x\n", data, mem_mask );
865         gpio_regs.grer0 = data;
866         break;
867      case PXA255_GRER1:
868         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Rising Edge Detect Enable Register 1: %08x & %08x\n", data, mem_mask );
869         gpio_regs.grer1 = data;
870         break;
871      case PXA255_GRER2:
872         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Rising Edge Detect Enable Register 2: %08x & %08x\n", data, mem_mask );
873         gpio_regs.grer2 = data;
874         break;
875      case PXA255_GFER0:
876         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Falling Edge Detect Enable Register 0: %08x & %08x\n", data, mem_mask );
877         gpio_regs.gfer0 = data;
878         break;
879      case PXA255_GFER1:
880         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Falling Edge Detect Enable Register 1: %08x & %08x\n", data, mem_mask );
881         gpio_regs.gfer1 = data;
882         break;
883      case PXA255_GFER2:
884         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Falling Edge Detect Enable Register 2: %08x & %08x\n", data, mem_mask );
885         gpio_regs.gfer2 = data;
886         break;
887      case PXA255_GEDR0:
888         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Edge Detect Status Register 0: %08x & %08x\n", gpio_regs.gedr0, mem_mask );
889         gpio_regs.gedr0 &= ~data;
890         break;
891      case PXA255_GEDR1:
892         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Edge Detect Status Register 1: %08x & %08x\n", gpio_regs.gedr1, mem_mask );
893         gpio_regs.gedr1 &= ~data;
894         break;
895      case PXA255_GEDR2:
896         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Edge Detect Status Register 2: %08x & %08x\n", gpio_regs.gedr2, mem_mask );
897         gpio_regs.gedr2 &= ~data;
898         break;
899      case PXA255_GAFR0_L:
900         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Alternate Function Register 0 Lower: %08x & %08x\n", gpio_regs.gafr0l, mem_mask );
901         gpio_regs.gafr0l = data;
902         break;
903      case PXA255_GAFR0_U:
904         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Alternate Function Register 0 Upper: %08x & %08x\n", gpio_regs.gafr0u, mem_mask );
905         gpio_regs.gafr0u = data;
906         break;
907      case PXA255_GAFR1_L:
908         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Alternate Function Register 1 Lower: %08x & %08x\n", gpio_regs.gafr1l, mem_mask );
909         gpio_regs.gafr1l = data;
910         break;
911      case PXA255_GAFR1_U:
912         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Alternate Function Register 1 Upper: %08x & %08x\n", gpio_regs.gafr1u, mem_mask );
913         gpio_regs.gafr1u = data;
914         break;
915      case PXA255_GAFR2_L:
916         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Alternate Function Register 2 Lower: %08x & %08x\n", gpio_regs.gafr2l, mem_mask );
917         gpio_regs.gafr2l = data;
918         break;
919      case PXA255_GAFR2_U:
920         verboselog( space->machine, 3, "pxa255_gpio_w: GPIO Alternate Function Register 2 Upper: %08x & %08x\n", gpio_regs.gafr2u, mem_mask );
921         gpio_regs.gafr2u = data;
922         break;
923      default:
924         verboselog( space->machine, 0, "pxa255_gpio_w: Unknown address: %08x = %08x & %08x\n", PXA255_GPIO_BASE_ADDR | (offset << 2), data, mem_mask);
925         break;
926   }
927}
928
929/*
930
931  PXA255 LCD Controller
932
933  pg. 265 to 310, PXA255 Processor Developers Manual [278693-002].pdf
934
935*/
936
937static void pxa255_lcd_load_dma_descriptor(const address_space* space, UINT32 address, int channel)
938{
939   lcd_regs.dma[channel].fdadr = memory_read_dword_32le(space, address);
940   lcd_regs.dma[channel].fsadr = memory_read_dword_32le(space, address + 0x04);
941   lcd_regs.dma[channel].fidr  = memory_read_dword_32le(space, address + 0x08);
942   lcd_regs.dma[channel].ldcmd = memory_read_dword_32le(space, address + 0x0c);
943   verboselog( space->machine, 4, "pxa255_lcd_load_dma_descriptor, address = %08x, channel = %d\n", address, channel);
944   verboselog( space->machine, 4, "    DMA Frame Descriptor: %08x\n", lcd_regs.dma[channel].fdadr );
945   verboselog( space->machine, 4, "    DMA Frame Source Address: %08x\n", lcd_regs.dma[channel].fsadr );
946   verboselog( space->machine, 4, "    DMA Frame ID: %08x\n", lcd_regs.dma[channel].fidr );
947   verboselog( space->machine, 4, "    DMA Command: %08x\n", lcd_regs.dma[channel].ldcmd );
948}
949
950static void pxa255_lcd_irq_check(running_machine* machine)
951{
952   if(((lcd_regs.lcsr & PXA255_LCSR_BS)  != 0 && (lcd_regs.lccr0 & PXA255_LCCR0_BM)  == 0) ||
953      ((lcd_regs.lcsr & PXA255_LCSR_EOF) != 0 && (lcd_regs.lccr0 & PXA255_LCCR0_EFM) == 0) ||
954      ((lcd_regs.lcsr & PXA255_LCSR_SOF) != 0 && (lcd_regs.lccr0 & PXA255_LCCR0_SFM) == 0))
955   {
956      pxa255_set_irq_line(machine, PXA255_INT_LCD, 1);
957   }
958   else
959   {
960      pxa255_set_irq_line(machine, PXA255_INT_LCD, 0);
961   }
962}
963
964static void pxa255_lcd_dma_kickoff(running_machine* machine, int channel)
965{
966   if(lcd_regs.dma[channel].fdadr != 0)
967   {
968      attotime period = attotime_mul(ATTOTIME_IN_HZ(20000000), lcd_regs.dma[channel].ldcmd & 0x000fffff);
969
970      timer_adjust_oneshot(lcd_regs.dma[channel].eof, period, channel);
971
972      if(lcd_regs.dma[channel].ldcmd & PXA255_LDCMD_SOFINT)
973      {
974         lcd_regs.liidr = lcd_regs.dma[channel].fidr;
975         lcd_regs.lcsr |= PXA255_LCSR_SOF;
976         pxa255_lcd_irq_check(machine);
977      }
978
979      if(lcd_regs.dma[channel].ldcmd & PXA255_LDCMD_PAL)
980      {
981         int length = lcd_regs.dma[channel].ldcmd & 0x000fffff;
982         int index = 0;
983         for(index = 0; index < length; index += 2)
984         {
985            UINT16 color = memory_read_word_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), (lcd_regs.dma[channel].fsadr &~ 1) + index);
986            pxa255_lcd_palette[index >> 1] = (((((color >> 11) & 0x1f) << 3) | (color >> 13)) << 16) | (((((color >> 5) & 0x3f) << 2) | ((color >> 9) & 0x3)) << 8) | (((color & 0x1f) << 3) | ((color >> 2) & 0x7));
987            palette_set_color_rgb(machine, index >> 1, (((color >> 11) & 0x1f) << 3) | (color >> 13), (((color >> 5) & 0x3f) << 2) | ((color >> 9) & 0x3), ((color & 0x1f) << 3) | ((color >> 2) & 0x7));
988         }
989      }
990      else
991      {
992         int length = lcd_regs.dma[channel].ldcmd & 0x000fffff;
993         int index = 0;
994         for(index = 0; index < length; index++)
995         {
996            pxa255_lcd_framebuffer[index] = memory_read_byte_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), lcd_regs.dma[channel].fsadr + index);
997         }
998      }
999   }
1000}
1001
1002static void pxa255_lcd_check_load_next_branch(running_machine* machine, int channel)
1003{
1004   if(lcd_regs.fbr[channel] & 1)
1005   {
1006      verboselog( machine, 4, "pxa255_lcd_check_load_next_branch: Taking branch\n" );
1007      lcd_regs.fbr[channel] &= ~1;
1008      //lcd_regs.fbr[channel] = (memory_read_dword_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), lcd_regs.fbr[channel] & 0xfffffff0) & 0xfffffff0) | (lcd_regs.fbr[channel] & 0x00000003);
1009      //printf( "%08x\n", lcd_regs.fbr[channel] );
1010      pxa255_lcd_load_dma_descriptor(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), lcd_regs.fbr[channel] & 0xfffffff0, 0);
1011      lcd_regs.fbr[channel] = (memory_read_dword_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), lcd_regs.fbr[channel] & 0xfffffff0) & 0xfffffff0) | (lcd_regs.fbr[channel] & 0x00000003);
1012      pxa255_lcd_dma_kickoff(machine, 0);
1013      if(lcd_regs.fbr[channel] & 2)
1014      {
1015         lcd_regs.fbr[channel] &= ~2;
1016         if(!(lcd_regs.lccr0 & PXA255_LCCR0_BM))
1017         {
1018            lcd_regs.lcsr |= PXA255_LCSR_BS;
1019         }
1020      }
1021   }
1022   else
1023   {
1024//      verboselog( machine, 3, "pxa255_lcd_check_load_next_branch: Not taking branch\n" );
1025   }
1026}
1027
1028static TIMER_CALLBACK( pxa255_lcd_dma_eof )
1029{
1030//  verboselog( machine, 3, "End of frame callback\n" );
1031   if(lcd_regs.dma[param].ldcmd & PXA255_LDCMD_EOFINT)
1032   {
1033      lcd_regs.liidr = lcd_regs.dma[param].fidr;
1034      lcd_regs.lcsr |= PXA255_LCSR_EOF;
1035   }
1036   pxa255_lcd_check_load_next_branch(machine, param);
1037   pxa255_lcd_irq_check(machine);
1038}
1039
1040static READ32_HANDLER( pxa255_lcd_r )
1041{
1042   switch(PXA255_LCD_BASE_ADDR | (offset << 2))
1043   {
1044      case PXA255_LCCR0:      // 0x44000000
1045         verboselog( space->machine, 3, "pxa255_lcd_r: LCD Control 0: %08x & %08x\n", lcd_regs.lccr0, mem_mask );
1046         return lcd_regs.lccr0;
1047      case PXA255_LCCR1:      // 0x44000004
1048         verboselog( space->machine, 3, "pxa255_lcd_r: LCD Control 1: %08x & %08x\n", lcd_regs.lccr1, mem_mask );
1049         return lcd_regs.lccr1;
1050      case PXA255_LCCR2:      // 0x44000008
1051         verboselog( space->machine, 3, "pxa255_lcd_r: LCD Control 2: %08x & %08x\n", lcd_regs.lccr2, mem_mask );
1052         return lcd_regs.lccr2;
1053      case PXA255_LCCR3:      // 0x4400000c
1054         verboselog( space->machine, 3, "pxa255_lcd_r: LCD Control 3: %08x & %08x\n", lcd_regs.lccr3, mem_mask );
1055         return lcd_regs.lccr3;
1056      case PXA255_FBR0:      // 0x44000020
1057         verboselog( space->machine, 4, "pxa255_lcd_r: LCD Frame Branch Register 0: %08x & %08x\n", lcd_regs.fbr[0], mem_mask );
1058         return lcd_regs.fbr[0];
1059      case PXA255_FBR1:      // 0x44000024
1060         verboselog( space->machine, 3, "pxa255_lcd_r: LCD Frame Branch Register 1: %08x & %08x\n", lcd_regs.fbr[1], mem_mask );
1061         return lcd_regs.fbr[1];
1062      case PXA255_LCSR:      // 0x44000038
1063         verboselog( space->machine, 4, "pxa255_lcd_r: LCD Status Register: %08x & %08x\n", lcd_regs.lcsr, mem_mask );
1064         return lcd_regs.lcsr;
1065      case PXA255_LIIDR:      // 0x4400003c
1066         verboselog( space->machine, 3, "pxa255_lcd_r: LCD Interrupt ID Register: %08x & %08x\n", lcd_regs.liidr, mem_mask );
1067         return lcd_regs.liidr;
1068      case PXA255_TRGBR:      // 0x44000040
1069         verboselog( space->machine, 3, "pxa255_lcd_r: TMED RGB Seed Register: %08x & %08x\n", lcd_regs.trgbr, mem_mask );
1070         return lcd_regs.trgbr;
1071      case PXA255_TCR:      // 0x44000044
1072         verboselog( space->machine, 3, "pxa255_lcd_r: TMED RGB Seed Register: %08x & %08x\n", lcd_regs.tcr, mem_mask );
1073         return lcd_regs.tcr;
1074      case PXA255_FDADR0:      // 0x44000200
1075//          verboselog( space->machine, 3, "pxa255_lcd_r: LCD DMA Frame Descriptor Address Register 0: %08x & %08x\n", lcd_regs.dma[0].fdadr, mem_mask );
1076         return lcd_regs.dma[0].fdadr;
1077      case PXA255_FSADR0:      // 0x44000204
1078         verboselog( space->machine, 3, "pxa255_lcd_r: LCD DMA Frame Source Address Register 0: %08x & %08x\n", lcd_regs.dma[0].fsadr, mem_mask );
1079         return lcd_regs.dma[0].fsadr;
1080      case PXA255_FIDR0:      // 0x44000208
1081         verboselog( space->machine, 3, "pxa255_lcd_r: LCD DMA Frame ID Register 0: %08x & %08x\n", lcd_regs.dma[0].fidr, mem_mask );
1082         return lcd_regs.dma[0].fidr;
1083      case PXA255_LDCMD0:      // 0x4400020c
1084//          verboselog( space->machine, 3, "pxa255_lcd_r: LCD DMA Command Register 0: %08x & %08x\n", lcd_regs.dma[0].ldcmd & 0xfff00000, mem_mask );
1085         return lcd_regs.dma[0].ldcmd & 0xfff00000;
1086      case PXA255_FDADR1:      // 0x44000210
1087         verboselog( space->machine, 3, "pxa255_lcd_r: LCD DMA Frame Descriptor Address Register 1: %08x & %08x\n", lcd_regs.dma[1].fdadr, mem_mask );
1088         return lcd_regs.dma[1].fdadr;
1089      case PXA255_FSADR1:      // 0x44000214
1090         verboselog( space->machine, 3, "pxa255_lcd_r: LCD DMA Frame Source Address Register 1: %08x & %08x\n", lcd_regs.dma[1].fsadr, mem_mask );
1091         return lcd_regs.dma[1].fsadr;
1092      case PXA255_FIDR1:      // 0x44000218
1093         verboselog( space->machine, 3, "pxa255_lcd_r: LCD DMA Frame ID Register 1: %08x & %08x\n", lcd_regs.dma[1].fidr, mem_mask );
1094         return lcd_regs.dma[1].fidr;
1095      case PXA255_LDCMD1:      // 0x4400021c
1096         verboselog( space->machine, 3, "pxa255_lcd_r: LCD DMA Command Register 1: %08x & %08x\n", lcd_regs.dma[1].ldcmd & 0xfff00000, mem_mask );
1097         return lcd_regs.dma[1].ldcmd & 0xfff00000;
1098      default:
1099         verboselog( space->machine, 0, "pxa255_lcd_r: Unknown address: %08x\n", PXA255_LCD_BASE_ADDR | (offset << 2));
1100         break;
1101   }
1102   return 0;
1103}
1104
1105static WRITE32_HANDLER( pxa255_lcd_w )
1106{
1107   switch(PXA255_LCD_BASE_ADDR | (offset << 2))
1108   {
1109      case PXA255_LCCR0:      // 0x44000000
1110         verboselog( space->machine, 3, "pxa255_lcd_w: LCD Control 0: %08x & %08x\n", data, mem_mask );
1111         lcd_regs.lccr0 = data & 0x00fffeff;
1112         break;
1113      case PXA255_LCCR1:      // 0x44000004
1114         verboselog( space->machine, 3, "pxa255_lcd_w: LCD Control 1: %08x & %08x\n", data, mem_mask );
1115         lcd_regs.lccr1 = data;
1116         break;
1117      case PXA255_LCCR2:      // 0x44000008
1118         verboselog( space->machine, 3, "pxa255_lcd_w: LCD Control 2: %08x & %08x\n", data, mem_mask );
1119         lcd_regs.lccr2 = data;
1120         break;
1121      case PXA255_LCCR3:      // 0x4400000c
1122         verboselog( space->machine, 3, "pxa255_lcd_w: LCD Control 3: %08x & %08x\n", data, mem_mask );
1123         lcd_regs.lccr3 = data;
1124         break;
1125      case PXA255_FBR0:      // 0x44000020
1126         verboselog( space->machine, 4l, "pxa255_lcd_w: LCD Frame Branch Register 0: %08x & %08x\n", data, mem_mask );
1127         lcd_regs.fbr[0] = data & 0xfffffff3;
1128         if(!timer_enabled(lcd_regs.dma[0].eof))
1129         {
1130//              verboselog( space->machine, 3, "ch0 EOF timer is not enabled, taking branch now\n" );
1131            pxa255_lcd_check_load_next_branch(space->machine, 0);
1132            pxa255_lcd_irq_check(space->machine);
1133         }
1134         break;
1135      case PXA255_FBR1:      // 0x44000024
1136         verboselog( space->machine, 3, "pxa255_lcd_w: LCD Frame Branch Register 1: %08x & %08x\n", data, mem_mask );
1137         lcd_regs.fbr[1] = data & 0xfffffff3;
1138         if(!timer_enabled(lcd_regs.dma[1].eof))
1139         {
1140            verboselog( space->machine, 3, "ch1 EOF timer is not enabled, taking branch now\n" );
1141            pxa255_lcd_check_load_next_branch(space->machine, 1);
1142            pxa255_lcd_irq_check(space->machine);
1143         }
1144         break;
1145      case PXA255_LCSR:      // 0x44000038
1146         verboselog( space->machine, 4, "pxa255_lcd_w: LCD Controller Status Register: %08x & %08x\n", data, mem_mask );
1147         lcd_regs.lcsr &= ~data;
1148         pxa255_lcd_irq_check(space->machine);
1149         break;
1150      case PXA255_LIIDR:      // 0x4400003c
1151         verboselog( space->machine, 3, "pxa255_lcd_w: LCD Controller Interrupt ID Register: %08x & %08x\n", data, mem_mask );
1152         break;
1153      case PXA255_TRGBR:      // 0x44000040
1154         verboselog( space->machine, 3, "pxa255_lcd_w: TMED RGB Seed Register: %08x & %08x\n", data, mem_mask );
1155         lcd_regs.trgbr = data & 0x00ffffff;
1156         break;
1157      case PXA255_TCR:      // 0x44000044
1158         verboselog( space->machine, 3, "pxa255_lcd_w: TMED Control Register: %08x & %08x\n", data, mem_mask );
1159         lcd_regs.tcr = data & 0x00004fff;
1160         break;
1161      case PXA255_FDADR0:      // 0x44000200
1162         verboselog( space->machine, 4, "pxa255_lcd_w: LCD DMA Frame Descriptor Address Register 0: %08x & %08x\n", data, mem_mask );
1163         if(!timer_enabled(lcd_regs.dma[0].eof))
1164         {
1165            pxa255_lcd_load_dma_descriptor(space, data & 0xfffffff0, 0);
1166         }
1167         else
1168         {
1169            lcd_regs.fbr[0] &= 0x00000003;
1170            lcd_regs.fbr[0] |= data & 0xfffffff0;
1171         }
1172         break;
1173      case PXA255_FSADR0:      // 0x44000204
1174         verboselog( space->machine, 4, "pxa255_lcd_w: (Invalid Write) LCD DMA Frame Source Address Register 0: %08x & %08x\n", data, mem_mask );
1175         break;
1176      case PXA255_FIDR0:      // 0x44000208
1177         verboselog( space->machine, 4, "pxa255_lcd_w: (Invalid Write) LCD DMA Frame ID Register 0: %08x & %08x\n", data, mem_mask );
1178         break;
1179      case PXA255_LDCMD0:      // 0x4400020c
1180         verboselog( space->machine, 4, "pxa255_lcd_w: (Invalid Write) LCD DMA Command Register 0: %08x & %08x\n", data, mem_mask );
1181         break;
1182      case PXA255_FDADR1:      // 0x44000210
1183         verboselog( space->machine, 4, "pxa255_lcd_w: LCD DMA Frame Descriptor Address Register 1: %08x & %08x\n", data, mem_mask );
1184         if(!timer_enabled(lcd_regs.dma[1].eof))
1185         {
1186            pxa255_lcd_load_dma_descriptor(space, data & 0xfffffff0, 1);
1187         }
1188         else
1189         {
1190            lcd_regs.fbr[1] &= 0x00000003;
1191            lcd_regs.fbr[1] |= data & 0xfffffff0;
1192         }
1193         break;
1194      case PXA255_FSADR1:      // 0x44000214
1195         verboselog( space->machine, 4, "pxa255_lcd_w: (Invalid Write) LCD DMA Frame Source Address Register 1: %08x & %08x\n", data, mem_mask );
1196         break;
1197      case PXA255_FIDR1:      // 0x44000218
1198         verboselog( space->machine, 4, "pxa255_lcd_w: (Invalid Write) LCD DMA Frame ID Register 1: %08x & %08x\n", data, mem_mask );
1199         break;
1200      case PXA255_LDCMD1:      // 0x4400021c
1201         verboselog( space->machine, 4, "pxa255_lcd_w: (Invalid Write) LCD DMA Command Register 1: %08x & %08x\n", data, mem_mask );
1202         break;
1203      default:
1204         verboselog( space->machine, 0, "pxa255_lcd_w: Unknown address: %08x = %08x & %08x\n", PXA255_LCD_BASE_ADDR | (offset << 2), data, mem_mask);
1205         break;
1206   }
1207}
1208
1209static INTERRUPT_GEN( pxa255_vblank_start )
1210{
1211}
1212
1213//static READ32_HANDLER( return_zero )
1214//{
1215//  return 0;
1216//}
1217
1218//static READ32_HANDLER( unknown_r )
1219//{
1220//  //return 0x00008000;
1221//}
1222
1223static UINT32 seed, magic;
1224static UINT32 state = 0;
1225static READ32_HANDLER( cpld_r )
1226{
1227//   if (cpu_get_pc(space->cpu) != 0xe3af4) printf("CPLD read @ %x (PC %x state %d)\n", offset, cpu_get_pc(space->cpu), state);
1228
1229   if (cpu_get_pc(space->cpu) == 0x3f04)
1230   {
1231      return 0xf0;     // any non-zero value works here
1232   }
1233   else if (cpu_get_pc(space->cpu) == 0xe3af4)
1234   {
1235      return input_port_read(space->machine, "MCUIPT");
1236   }
1237   else
1238   {
1239      if (state == 0)
1240      {
1241         return 0;
1242      }
1243      else if (state == 1)
1244      {
1245         switch (offset & ~1)
1246         {
1247            case 0x40010: return 0x55;
1248            case 0x40012: return 0x93;
1249            case 0x40014: return 0x89;
1250            case 0x40016: return 0xa2;
1251            case 0x40018: return 0x31;
1252            case 0x4001a: return 0x75;
1253            case 0x4001c: return 0x97;
1254            case 0x4001e: return 0xb1;
1255            default: printf("State 1 unknown offset %x\n", offset); break;
1256         }
1257      }
1258      else if (state == 2)                  // 29c0: 53 ac 0c 2b a2 07 e6 be 31
1259      {
1260         magic = ( (((~(seed >> 16))       ^ (magic >> 1))        & 0x01) |
1261                     (((~((seed >> 19) << 1))        ^ ((magic >> 5) << 1)) & 0x02) |
1262                     (((~((seed >> 20) << 2))        ^ ((magic >> 3) << 2)) & 0x04) |
1263                     (((~((seed >> 22) << 3))        ^ ((magic >> 6) << 3)) & 0x08) |
1264                     (((~((seed >> 23) << 4))        ^   magic)             & 0x10) |
1265                     (((~(((seed >> 16) >> 2) << 5)) ^ ((magic >> 2) << 5)) & 0x20) |
1266                     (((~(((seed >> 16) >> 1) << 6)) ^ ((magic >> 7) << 6)) & 0x40) |
1267                     (((~(((seed >> 16) >> 5) << 7)) ^  (magic << 7))       & 0x80));
1268
1269           return magic;
1270      }
1271   }
1272
1273   return 0;
1274}
1275
1276static WRITE32_HANDLER( cpld_w )
1277{
1278   if (mem_mask == 0xffff)
1279   {
1280      seed = data<<16;
1281   }
1282
1283   if (cpu_get_pc(space->cpu) == 0x280c)
1284   {
1285      state = 1;
1286   }
1287   if (cpu_get_pc(space->cpu) == 0x2874)
1288   {
1289      state = 2;
1290      magic = memory_read_byte_32le(space, 0x2d4ff0);
1291   }
1292   else if (offset == 0xa)
1293   {
1294   }
1295//  else
1296//  {
1297//      printf("%08x: CPLD_W: %08x = %08x & %08x\n", cpu_get_pc(space->cpu), offset, data, mem_mask);
1298//  }
1299}
1300
1301static READ32_HANDLER( prot_cheater_r )
1302{
1303   return 0x37;
1304}
1305
1306static DRIVER_INIT( 39in1 )
1307{
1308   memory_install_read32_handler (cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0xa0151648, 0xa015164b, 0, 0, prot_cheater_r);
1309}
1310
401311static ADDRESS_MAP_START( 39in1_map, ADDRESS_SPACE_PROGRAM, 32 )
411312   AM_RANGE(0x00000000, 0x0007ffff) AM_ROM
42   AM_RANGE(0x40a00010, 0x40a00013) AM_READ( os_timer_counter_r )
43   AM_RANGE(0xa0000000, 0xa3ffffff) AM_RAM
1313   AM_RANGE(0x00400000, 0x005fffff) AM_ROM AM_REGION("data", 0)
1314   AM_RANGE(0x04000000, 0x047fffff) AM_READWRITE( cpld_r, cpld_w )
1315   AM_RANGE(0x40000000, 0x400002ff) AM_READWRITE( pxa255_dma_r, pxa255_dma_w )
1316   AM_RANGE(0x40400000, 0x40400083) AM_READWRITE( pxa255_i2s_r, pxa255_i2s_w )
1317   AM_RANGE(0x40a00000, 0x40a0001f) AM_READWRITE( pxa255_ostimer_r, pxa255_ostimer_w )
1318   AM_RANGE(0x40d00000, 0x40d00017) AM_READWRITE( pxa255_intc_r, pxa255_intc_w )
1319   AM_RANGE(0x40e00000, 0x40e0006b) AM_READWRITE( pxa255_gpio_r, pxa255_gpio_w )
1320   AM_RANGE(0x44000000, 0x4400021f) AM_READWRITE( pxa255_lcd_r,  pxa255_lcd_w )
1321   AM_RANGE(0xa0000000, 0xa07fffff) AM_RAM
441322ADDRESS_MAP_END
451323
461324static INPUT_PORTS_START( 39in1 )
1325   PORT_START("MCUIPT")
1326   PORT_BIT( 0x00000001, IP_ACTIVE_LOW, IPT_START1 )
1327   PORT_BIT( 0x00000002, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1)
1328   PORT_BIT( 0x00000004, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1)
1329   PORT_BIT( 0x00000008, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1)
1330   PORT_BIT( 0x00000010, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1)
1331   PORT_BIT( 0x00000020, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
1332   PORT_BIT( 0x00000040, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1)
1333   PORT_BIT( 0x00000080, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1)
1334   PORT_BIT( 0x00000100, IP_ACTIVE_LOW, IPT_UNKNOWN )
1335   PORT_BIT( 0x00000200, IP_ACTIVE_LOW, IPT_UNKNOWN )
1336   PORT_BIT( 0x00000400, IP_ACTIVE_LOW, IPT_UNKNOWN )
1337   PORT_BIT( 0x00000800, IP_ACTIVE_LOW, IPT_COIN1 )
1338   PORT_BIT( 0x00001000, IP_ACTIVE_LOW, IPT_COIN2 )
1339   PORT_BIT( 0x00002000, IP_ACTIVE_LOW, IPT_COIN3 )
1340   PORT_BIT( 0x00004000, IP_ACTIVE_LOW, IPT_UNKNOWN )
1341   PORT_BIT( 0x00008000, IP_ACTIVE_LOW, IPT_SERVICE1 )
1342   PORT_BIT( 0x00010000, IP_ACTIVE_LOW, IPT_START2 )
1343   PORT_BIT( 0x00020000, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2)
1344   PORT_BIT( 0x00040000, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2)
1345   PORT_BIT( 0x00080000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2)
1346   PORT_BIT( 0x00100000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2)
1347   PORT_BIT( 0x00200000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
1348   PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)
1349   PORT_BIT( 0x00800000, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2)
1350   PORT_BIT( 0x01000000, IP_ACTIVE_LOW, IPT_UNKNOWN )
1351   PORT_BIT( 0x02000000, IP_ACTIVE_LOW, IPT_UNKNOWN )
1352   PORT_BIT( 0x04000000, IP_ACTIVE_LOW, IPT_UNKNOWN )
1353   PORT_BIT( 0x08000000, IP_ACTIVE_LOW, IPT_UNKNOWN )
1354   PORT_BIT( 0x10000000, IP_ACTIVE_LOW, IPT_UNKNOWN )
1355   PORT_BIT( 0x20000000, IP_ACTIVE_LOW, IPT_UNKNOWN )
1356   PORT_BIT( 0x40000000, IP_ACTIVE_LOW, IPT_UNKNOWN )
1357   PORT_SERVICE_NO_TOGGLE( 0x80000000, IP_ACTIVE_LOW )
471358INPUT_PORTS_END
481359
491360static VIDEO_UPDATE( 39in1 )
501361{
1362   int x = 0;
1363   int y = 0;
1364   for(y = 0; y <= (lcd_regs.lccr2 & PXA255_LCCR2_LPP); y++)
1365   {
1366      UINT32 *d = BITMAP_ADDR32(bitmap, y, 0);
1367      for(x = 0; x <= (lcd_regs.lccr1 & PXA255_LCCR1_PPL); x++)
1368      {
1369         d[x] = pxa255_lcd_palette[pxa255_lcd_framebuffer[y*((lcd_regs.lccr1 & PXA255_LCCR1_PPL) + 1) + x]];
1370      }
1371   }
511372   return 0;
521373}
531374
1375/* To be moved to DEVICE_START( pxa255 ) upon completion */
1376static void pxa255_start(running_machine* machine)
1377{
1378   int index = 0;
1379
1380    //pxa255_t* pxa255 = pxa255_get_safe_token( device );
1381
1382    //pxa255->iface = device->static_config;
1383
1384   for(index = 0; index < 16; index++)
1385   {
1386      dma_regs.dcsr[index] = 0x00000008;
1387      dma_regs.timer[index] = timer_alloc(machine, pxa255_dma_dma_end, 0);
1388   }
1389
1390   ostimer_regs.oscr = ostimer_regs.ossr = ostimer_regs.ower = ostimer_regs.oier = 0;
1391   for(index = 0; index < 4; index++)
1392   {
1393      ostimer_regs.osmr[index] = 0;
1394      ostimer_regs.timer[index] = timer_alloc(machine, pxa255_ostimer_match, 0);
1395   }
1396
1397   intc_regs.icmr = intc_regs.iclr = intc_regs.iccr = intc_regs.icip = intc_regs.icfp = intc_regs.icpr = 0;
1398
1399   lcd_regs.lccr0 = lcd_regs.lccr1 = lcd_regs.lccr2 = lcd_regs.lccr3 = 0;
1400   lcd_regs.dma[0].fdadr = lcd_regs.dma[1].fdadr = 0;
1401   lcd_regs.dma[0].fsadr = lcd_regs.dma[1].fsadr = 0;
1402   lcd_regs.dma[0].fidr  = lcd_regs.dma[1].fidr  = 0;
1403   lcd_regs.dma[0].ldcmd = lcd_regs.dma[1].ldcmd = 0;
1404   lcd_regs.dma[0].eof = timer_alloc(machine, pxa255_lcd_dma_eof, 0);
1405   lcd_regs.dma[1].eof = timer_alloc(machine, pxa255_lcd_dma_eof, 0);
1406   lcd_regs.fbr[0] = lcd_regs.fbr[1] = lcd_regs.lcsr = lcd_regs.liidr = 0;
1407   lcd_regs.trgbr = 0x00aa5500;
1408   lcd_regs.tcr = 0x0000754f;
1409
1410    //pxa255_register_state_save(device);
1411}
1412
541413static MACHINE_START(39in1)
551414{
561415   UINT8 *ROM = memory_region(machine, "maincpu");
r5338r5339
611420      ROM[i] = BITSWAP8(ROM[i],7,2,5,6,0,3,1,4) ^ BITSWAP8((i>>3)&0xf, 3,2,4,1,4,4,0,4) ^ 0x90;
621421   }
631422
64   counter_timer = 0x300;
1423   pxa255_start(machine);
651424}
661425
1426static NVRAM_HANDLER( 39in1 )
1427{
1428   if(read_or_write)
1429   {
1430      //printf( "Saving\n" );
1431      eeprom_save(file);
1432   }
1433   else
1434   {
1435      //printf( "Initting\n" );
1436      eeprom_init(machine, &eeprom_interface_93C66B);
1437      if(file)
1438      {
1439         //printf( "Loading from file\n" );
1440         eeprom_load(file);
1441      }
1442      else
1443      {
1444         //printf( "Calling eeprom_set_data\n" );
1445         eeprom_set_data(memory_region(machine, "eeprom"),0x200);
1446      }
1447   }
1448}
1449
671450static MACHINE_DRIVER_START( 39in1 )
68   MDRV_CPU_ADD("maincpu", ARM9, 200000000)   // actually Xscale PXA255, but ARM9 is a compatible subset
1451   MDRV_CPU_ADD("maincpu", PXA255, 200000000)
691452   MDRV_CPU_PROGRAM_MAP(39in1_map)
1453   MDRV_CPU_VBLANK_INT("screen", pxa255_vblank_start)
701454
711455   MDRV_PALETTE_LENGTH(32768)
721456
731457   MDRV_SCREEN_ADD("screen", RASTER)
74   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
75   MDRV_SCREEN_RAW_PARAMS(16777216/4, 308, 0,  240, 228, 0,  160)   // completely bogus for this h/w
1458   MDRV_SCREEN_REFRESH_RATE(60)
1459   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
1460   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
1461   MDRV_SCREEN_SIZE(1024, 1024)
1462   MDRV_SCREEN_VISIBLE_AREA(0, 295, 0, 479)
1463   MDRV_PALETTE_LENGTH(256)
761464
771465   MDRV_MACHINE_START(39in1)
1466   MDRV_NVRAM_HANDLER(39in1)
781467
791468   MDRV_VIDEO_UPDATE(39in1)
801469
r5338r5339
891478   // data ROM - contains a filesystem with ROMs, fonts, graphics, etc. in an unknown compressed format
901479   ROM_REGION32_LE( 0x200000, "data", 0 )
911480        ROM_LOAD( "16mflash.bin", 0x000000, 0x200000, CRC(a089f0f8) SHA1(e975eadd9176a8b9e416229589dfe3158cba22cb) )
1481
1482   // EEPROM - contains security data
1483   ROM_REGION( 0x200, "eeprom", 0 )
1484   ROM_LOAD16_WORD_SWAP( "93c66_eeprom.bin", 0x000, 0x200, CRC(a423a969) SHA1(4c68654c81e70367209b9f6c712564aae89a3122) )
921485ROM_END
931486
94GAME(2004, 39in1, 0, 39in1, 39in1, 0, ROT0, "????", "39 in 1 MAME bootleg", GAME_NOT_WORKING|GAME_NO_SOUND)
1487/*ROM_START( arm4in1 )
1488    // main program, encrypted
1489    ROM_REGION( 0x80000, "maincpu", 0 )
1490        ROM_LOAD( "27c4096_plz-v001_ver.300.bin", 0x000000, 0x080000, CRC(9149dbc4) SHA1(40efe1f654f11474f75ae7fee1613f435dbede38) )
951491
96/*
1492    // data ROM - contains a filesystem with ROMs, fonts, graphics, etc. in an unknown compressed format
1493    ROM_REGION32_LE( 0x200000, "data", 0 )
1494        ROM_LOAD( "16mflash.bin", 0x000000, 0x200000, CRC(a089f0f8) SHA1(e975eadd9176a8b9e416229589dfe3158cba22cb) )
1495ROM_END*/
971496
98cpu #0 (PC=00000010): unmapped program memory dword write to 40E00024 = FFFFFFFF & FFFFFFFF      GPIO pin output clear 31:0
99cpu #0 (PC=00000014): unmapped program memory dword write to 40E00028 = FFFFFFFF & FFFFFFFF                63:32
100cpu #0 (PC=00000018): unmapped program memory dword write to 40E0002C = FFFFFFFF & FFFFFFFF                80:64
101cpu #0 (PC=00000028): unmapped program memory dword write to 40E00018 = 01008000 & FFFFFFFF      GPIO pin direction register 63:32
102cpu #0 (PC=0000002C): unmapped program memory dword write to 40E0001C = 00020802 & FFFFFFFF           pin output set   63:32
103cpu #0 (PC=00000030): unmapped program memory dword write to 40E00020 = 0001CC00 & FFFFFFFF                80:64
104cpu #0 (PC=00000040): unmapped program memory dword write to 40E0000C = DFE3FFDC & FFFFFFFF      GPIO pin direction    31:0
105cpu #0 (PC=00000044): unmapped program memory dword write to 40E00010 = FC9FAF83 & FFFFFFFF                63:32
106cpu #0 (PC=00000048): unmapped program memory dword write to 40E00014 = 0001FFFF & FFFFFFFF
107cpu #0 (PC=00000064): unmapped program memory dword write to 40E00054 = 80000000 & FFFFFFFF      GPIO alternate function
108cpu #0 (PC=00000068): unmapped program memory dword write to 40E00058 = 59000110 & FFFFFFFF
109cpu #0 (PC=0000006C): unmapped program memory dword write to 40E0005C = 600A9559 & FFFFFFFF
110cpu #0 (PC=00000070): unmapped program memory dword write to 40E00060 = AAA00008 & FFFFFFFF
111cpu #0 (PC=00000074): unmapped program memory dword write to 40E00064 = AAAAAAAA & FFFFFFFF
112cpu #0 (PC=00000078): unmapped program memory dword write to 40E00068 = 00000002 & FFFFFFFF
113cpu #0 (PC=00000084): unmapped program memory dword write to 40F00004 = 00000020 & FFFFFFFF      power manager sleep status
114test_rt_r_callback opcode=ee160e10
115test_rt_w_callback opcode=ee060e10, data from ARM7 register=2
116cpu #0 (PC=0000009C): unmapped program memory dword write to 41300000 = 00000141 & FFFFFFFF      core clock configure (multiplier=27, RAM is 99.53 MHz + multiplier = 2 * memory + turbo = 1x)
117test_rt_w_callback opcode=ee060e10, data from ARM7 register=3
118test_rt_w_callback opcode=ee060e10, data from ARM7 register=1
119cpu #0 (PC=000000B4): unmapped program memory dword read from 40A00010 & FFFFFFFF            OS timer/counter
120cpu #0 (PC=000000B8): unmapped program memory dword read from 40A00010 & FFFFFFFF
121cpu #0 (PC=000000B8): unmapped program memory dword read from 40A00010 & FFFFFFFF
122
123*/
1497GAME(2004, 39in1, 0, 39in1, 39in1, 39in1, ROT270, "<unknown>", "39 in 1 MAME bootleg", GAME_NO_SOUND)
1498//GAME(2004, arm4in1, 0, 39in1, 39in1, 0, ROT0, "<unknown>", "4 in 1 MAME bootleg", GAME_NOT_WORKING|GAME_NO_SOUND)
src/mame/drivers/baraduke.c
r5338r5339
517517   ROM_LOAD( "mc1-2.2m",   0x0800, 0x0800, CRC(6f4dca7b) SHA1(781134c02853aded2cba63719c0e4c78b227da1c) )   /* Red palette */
518518ROM_END
519519
520ROM_START( metrocra )
520ROM_START( metrocrsa )
521521   ROM_REGION( 0x10000, "maincpu", 0 ) /* 6809 code */
522522   ROM_LOAD( "mc2-3.9b",   0x6000, 0x02000, CRC(ffe08075) SHA1(4e1341d5a9a58f171e1e6f9aa18092d5557a6947) )
523523   ROM_LOAD( "mc2-1.9a",   0x8000, 0x04000, CRC(05a239ea) SHA1(3e7c7d305d0f48e2431d60b176a0cb451ddc4637) )
r5338r5339
567567
568568
569569GAME( 1985, metrocrs, 0,        baraduke, metrocrs, baraduke, ROT0, "Namco", "Metro-Cross (set 1)", 0 )
570GAME( 1985, metrocra, metrocrs, baraduke, metrocrs, baraduke, ROT0, "Namco", "Metro-Cross (set 2)", 0 )
570GAME( 1985, metrocrsa,metrocrs, baraduke, metrocrs, baraduke, ROT0, "Namco", "Metro-Cross (set 2)", 0 )
571571GAME( 1985, aliensec, 0,        baraduke, baraduke, baraduke, ROT0, "Namco", "Alien Sector", 0 )
572572GAME( 1985, baraduke, aliensec, baraduke, baraduke, baraduke, ROT0, "Namco", "Baraduke", 0 )
src/mame/drivers/bingor.c
r0r5339
1/* Bingo Roll */
2
3#include "driver.h"
4#include "cpu/i86/i86.h"
5#include "cpu/pic16c5x/pic16c5x.h"
6#include "sound/saa1099.h"
7
8static UINT16 *blit_ram;
9
10static VIDEO_START(bingor)
11{
12
13}
14
15static VIDEO_UPDATE(bingor)
16{
17   int x,y,count;
18
19   bitmap_fill(bitmap,cliprect,get_black_pen(screen->machine));
20
21   count = (0x2000/2);
22
23   for(y=0;y<256;y++)
24   {
25      for(x=0;x<286;x+=4)
26      {
27         UINT32 color;
28
29         color = (blit_ram[count] & 0xf000)>>12;
30
31         if((x+3)<video_screen_get_visible_area(screen)->max_x && ((y)+0)<video_screen_get_visible_area(screen)->max_y)
32            *BITMAP_ADDR32(bitmap, y, x+3) = screen->machine->pens[color];
33
34         color = (blit_ram[count] & 0x0f00)>>8;
35
36         if((x+2)<video_screen_get_visible_area(screen)->max_x && ((y)+0)<video_screen_get_visible_area(screen)->max_y)
37            *BITMAP_ADDR32(bitmap, y, x+2) = screen->machine->pens[color];
38
39         color = (blit_ram[count] & 0x00f0)>>4;
40
41         if((x+1)<video_screen_get_visible_area(screen)->max_x && ((y)+0)<video_screen_get_visible_area(screen)->max_y)
42            *BITMAP_ADDR32(bitmap, y, x+1) = screen->machine->pens[color];
43
44         color = (blit_ram[count] & 0x000f)>>0;
45
46         if((x+0)<video_screen_get_visible_area(screen)->max_x && ((y)+0)<video_screen_get_visible_area(screen)->max_y)
47            *BITMAP_ADDR32(bitmap, y, x+0) = screen->machine->pens[color];
48
49         count++;
50      }
51   }
52
53   return 0;
54}
55
56#if 0
57static READ16_HANDLER( test_r )
58{
59   return mame_rand(space->machine);
60}
61#endif
62
63static ADDRESS_MAP_START( bingor_map, ADDRESS_SPACE_PROGRAM, 16 )
64   AM_RANGE(0x00000, 0x0ffff) AM_RAM
65   AM_RANGE(0x90000, 0x9ffff) AM_ROM AM_REGION("gfx", 0)
66   AM_RANGE(0xa0300, 0xa031f) AM_RAM_WRITE(paletteram16_RRRRGGGGBBBBIIII_word_w) AM_BASE(&paletteram16) //wrong
67   AM_RANGE(0xa0000, 0xaffff) AM_RAM AM_BASE(&blit_ram)
68   AM_RANGE(0xf0000, 0xfffff) AM_ROM AM_REGION("boot_prg",0)
69ADDRESS_MAP_END
70
71static ADDRESS_MAP_START( bingor_io, ADDRESS_SPACE_IO, 16 )
72//  AM_RANGE(0x0000, 0x00ff) AM_READ( test_r )
73   AM_RANGE(0x0100, 0x0101) AM_DEVWRITE8("saa", saa1099_data_w, 0x00ff)
74   AM_RANGE(0x0102, 0x0103) AM_DEVWRITE8("saa", saa1099_control_w, 0x00ff)
75//  AM_RANGE(0x0200, 0x0201) AM_READ( test_r )
76ADDRESS_MAP_END
77
78static READ8_HANDLER( test8_r )
79{
80   return mame_rand(space->machine);
81}
82
83static ADDRESS_MAP_START( pic_io_map, ADDRESS_SPACE_IO, 8 )
84   AM_RANGE(0x02, 0x02) AM_READ(test8_r)
85   AM_RANGE(0x10, 0x10) AM_READNOP
86ADDRESS_MAP_END
87
88static INPUT_PORTS_START( bingor )
89   PORT_START("IN0")
90   PORT_DIPNAME( 0x0001, 0x0001, "IN0" )
91   PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
92   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
93   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unknown ) )
94   PORT_DIPSETTING(      0x0002, DEF_STR( Off ) )
95   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
96   PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unknown ) )
97   PORT_DIPSETTING(      0x0004, DEF_STR( Off ) )
98   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
99   PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Unknown ) )
100   PORT_DIPSETTING(      0x0008, DEF_STR( Off ) )
101   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
102   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unknown ) )
103   PORT_DIPSETTING(      0x0010, DEF_STR( Off ) )
104   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
105   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unknown ) )
106   PORT_DIPSETTING(      0x0020, DEF_STR( Off ) )
107   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
108   PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unknown ) )
109   PORT_DIPSETTING(      0x0040, DEF_STR( Off ) )
110   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
111   PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unknown ) )
112   PORT_DIPSETTING(      0x0080, DEF_STR( Off ) )
113   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
114   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) )
115   PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
116   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
117   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Unknown ) )
118   PORT_DIPSETTING(      0x0200, DEF_STR( Off ) )
119   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
120   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unknown ) )
121   PORT_DIPSETTING(      0x0400, DEF_STR( Off ) )
122   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
123   PORT_DIPNAME( 0x0800, 0x0800, DEF_STR( Unknown ) )
124   PORT_DIPSETTING(      0x0800, DEF_STR( Off ) )
125   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
126   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Unknown ) )
127   PORT_DIPSETTING(      0x1000, DEF_STR( Off ) )
128   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
129   PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Unknown ) )
130   PORT_DIPSETTING(      0x2000, DEF_STR( Off ) )
131   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
132   PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Unknown ) )
133   PORT_DIPSETTING(      0x4000, DEF_STR( Off ) )
134   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
135   PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unknown ) )
136   PORT_DIPSETTING(      0x8000, DEF_STR( Off ) )
137   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
138INPUT_PORTS_END
139
140static INTERRUPT_GEN( vblank_irq )
141{
142//  cpu_set_input_line_and_vector(device,0,HOLD_LINE,0x08/4); // reads i/o 0x200 and puts the result in ram, pic irq?
143   cpu_set_input_line_and_vector(device,0,HOLD_LINE,0x4c/4); // ?
144}
145
146static INTERRUPT_GEN( unk_irq )
147{
148   cpu_set_input_line_and_vector(device,0,HOLD_LINE,0x48/4); // ?
149}
150
151
152static const gfx_layout bingor_layout =
153{
154   8,8,
155   RGN_FRAC(1,1),
156   4,
157   { 0,1,2,3 },
158   { 0,4,8,12,16,20,24,28 },
159   { 0*32, 1*32, 2*32, 3*32, 4*32, 5*32, 6*32, 7*32 },
160   8*32
161};
162
163static GFXDECODE_START( bingor )
164   GFXDECODE_ENTRY( "gfx", 0, bingor_layout,   0x0, 2  )
165GFXDECODE_END
166
167
168static MACHINE_DRIVER_START( bingor )
169   MDRV_CPU_ADD("maincpu", I80186, 14000000 ) //?? Mhz
170   MDRV_CPU_PROGRAM_MAP(bingor_map)
171   MDRV_CPU_IO_MAP(bingor_io)
172   MDRV_CPU_VBLANK_INT("screen", vblank_irq)
173   MDRV_CPU_PERIODIC_INT(nmi_line_pulse, 30)
174   MDRV_CPU_PERIODIC_INT(unk_irq, 30)
175
176   MDRV_CPU_ADD("pic", PIC16C57, 12000000) //?? Mhz
177   MDRV_CPU_IO_MAP(pic_io_map)
178
179
180   MDRV_GFXDECODE(bingor)
181   //MDRV_NVRAM_HANDLER(generic_0fill)
182
183   MDRV_SCREEN_ADD("screen", RASTER)
184   MDRV_SCREEN_REFRESH_RATE(60)
185   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
186   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
187   MDRV_SCREEN_SIZE(400, 300)
188   MDRV_SCREEN_VISIBLE_AREA(0, 400-1, 0, 300-1)
189
190   MDRV_PALETTE_LENGTH(0x100)
191
192   MDRV_VIDEO_START(bingor)
193   MDRV_VIDEO_UPDATE(bingor)
194
195   MDRV_SPEAKER_STANDARD_MONO("mono")
196   MDRV_SOUND_ADD("saa", SAA1099, 6000000 )
197   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
198MACHINE_DRIVER_END
199
200// I doubt we need to load the eeproms
201
202ROM_START( bingor1 )
203   ROM_REGION( 0x10000, "boot_prg", 0 ) /* i186 code */
204   ROM_LOAD16_BYTE( "bingo v 29.4.99 l.bin", 0x000000, 0x08000, CRC(b6773bff) SHA1(74e375662730e002e05186bd77098fa0d8e43ade) )
205   ROM_LOAD16_BYTE( "bingo v 29.4.99 h.bin", 0x000001, 0x08000, CRC(0e18f90a) SHA1(0743302e675f01f8ad42ac2e67ecb1c1bf870ae7) )
206
207   // gfx roms on this one are twice the size of the others
208   ROM_REGION( 0x20000, "gfx", 0 ) /* blitter data? */
209   ROM_LOAD16_BYTE( "bingo turbo l.bin", 0x000000, 0x10000, CRC(86b10566) SHA1(5f74b250ced3574feffdc40b6ed013ec5a0c2c97) )
210   ROM_LOAD16_BYTE( "bingo turbo h.bin", 0x000001, 0x10000, CRC(7e18f9d7) SHA1(519b65d6812a3762e3215f4918c834d5a444b28a) )
211
212   ROM_REGION( 0x20000, "pic", 0 ) /* protection? */
213   ROM_LOAD( "pic16c54b.bin", 0x000, 0x200, CRC(21e8a699) SHA1(8a22292fa3669105d52a9d681d5be345fcfe6607) )
214
215   ROM_REGION( 0x20000, "eeprom", 0 ) /* eeprom */
216   ROM_LOAD( "bingor1_24c04a.bin", 0x000000, 0x200, CRC(b169df46) SHA1(ebafc81c6918aae9daa6b90df16161751cfd2590) )
217ROM_END
218
219ROM_START( bingor2 )
220   ROM_REGION( 0x10000, "boot_prg", 0 ) /* i186 code */
221   ROM_LOAD16_BYTE( "bingo roll vip2 v26.02.02_l.bin", 0x000000, 0x08000, CRC(aa464ef9) SHA1(e74e60396478d7a6556b0d16c4d8c0acefa8faad) )
222   ROM_LOAD16_BYTE( "bingo roll vip2 v26.02.02_h.bin", 0x000001, 0x08000, CRC(02816885) SHA1(b98b527a72847412479b6b8e153f236757d9eb4e) )
223
224   ROM_REGION( 0x20000, "gfx", 0 ) /* blitter data? */
225   ROM_LOAD16_BYTE( "bingo roll grafik l.bin", 0x000000, 0x10000, CRC(3e753e13) SHA1(011b5f530e54332be194830c0a1d2ec31425017a) )
226   ROM_LOAD16_BYTE( "bingo roll grafik h.bin", 0x000001, 0x10000, CRC(4eec39ad) SHA1(4201d5ec207d30dcac9813dd6866d2b61c168e75) )
227
228   ROM_REGION( 0x20000, "pic", 0 ) /* protection? */
229   ROM_LOAD( "pic16c54c.bin", 0x000, 0x200, CRC(21e8a699) SHA1(8a22292fa3669105d52a9d681d5be345fcfe6607) )
230
231   ROM_REGION( 0x20000, "eeprom", 0 ) /* eeprom */
232   ROM_LOAD( "bingor2_24c04a.bin", 0x000000, 0x200, CRC(a7c87036) SHA1(f7d6161bbfdcdc50212f6b71eb2cbbbb18548cc6) )
233ROM_END
234
235ROM_START( bingor3 )
236   ROM_REGION( 0x10000, "boot_prg", 0 ) /* i186 code */
237   ROM_LOAD16_BYTE( "bellstar vip2l 27.07_1.bin", 0x000000, 0x08000, CRC(0115bca7) SHA1(0b692b46bc6641296861666f00ec0475dc7296a1) )
238   ROM_LOAD16_BYTE( "bellstar vip2l 27.07_2.bin", 0x000001, 0x08000, CRC(c689aa69) SHA1(fb1f477654909f156c30a6be29f84962f4edb1c3) )
239
240   ROM_REGION( 0x10000, "gfx", 0 ) /* blitter data? */
241   ROM_LOAD16_BYTE( "bsg-11.10.02_l.bin", 0x000000, 0x08000, CRC(a8b22477) SHA1(92d638f0f188a43f14487989cf42195311fb2c35) ) //half size?
242   ROM_LOAD16_BYTE( "bsg-11.10.02_h.bin", 0x000001, 0x08000, CRC(969d201c) SHA1(7705ceb383ef122538ebf8046041d1c24ec9b9a4) )
243
244   ROM_REGION( 0x20000, "pic", 0 ) /* protection? */
245   ROM_LOAD( "pic16c54c.bin", 0x000, 0x400, CRC(5a507be6) SHA1(f4fbfb7e7516eecab32d96b3a34ad88395edac9e) )
246
247   ROM_REGION( 0x20000, "eeprom", 0 ) /* eeprom */
248   ROM_LOAD( "bingor3_24c04a.bin", 0x000000, 0x200,  CRC(7a5eb172) SHA1(12d2fc96049427ef1a8acf47242b41b2095d28b6) )
249   ROM_LOAD( "bingor3_24c04a_alt.bin", 0x000000, 0x200,  CRC(fcff2d26) SHA1(aec1ddd38149404741a057c74bf84bfb4a8e4aa1) )
250ROM_END
251
252// this is a mix of 2 of the other sets.. I don't know if it's correct
253ROM_START( bingor4 )
254   ROM_REGION( 0x10000, "boot_prg", 0 ) /* i186 code */
255   ROM_LOAD16_BYTE( "01.bin", 0x000000, 0x08000, CRC(0115bca7) SHA1(0b692b46bc6641296861666f00ec0475dc7296a1) )
256   ROM_LOAD16_BYTE( "02.bin", 0x000001, 0x08000, CRC(c689aa69) SHA1(fb1f477654909f156c30a6be29f84962f4edb1c3) )
257
258   ROM_REGION( 0x20000, "gfx", 0 ) /* blitter data? */
259   ROM_LOAD16_BYTE( "bingo roll grafik l.bin", 0x000000, 0x10000, CRC(3e753e13) SHA1(011b5f530e54332be194830c0a1d2ec31425017a) )
260   ROM_LOAD16_BYTE( "bingo roll grafik h.bin", 0x000001, 0x10000, CRC(4eec39ad) SHA1(4201d5ec207d30dcac9813dd6866d2b61c168e75) )
261
262   ROM_REGION( 0x20000, "pic", 0 ) /* protection? */
263   ROM_LOAD( "pic16c54c.bin", 0x000, 0x200, CRC(21e8a699) SHA1(8a22292fa3669105d52a9d681d5be345fcfe6607) )
264
265   ROM_REGION( 0x20000, "eeprom", 0 ) /* eeprom */
266   ROM_LOAD( "bingor4_24c04a.bin", 0x000000, 0x200,  CRC(38cf70a9) SHA1(ba9a1640200963e2d58d761edc13a24fa5ef44c2) )
267ROM_END
268
269GAME( 199?, bingor1,    0,      bingor,   bingor,   0,       ROT0,  "<unknown>", "Bingo Roll / Bellstar? (set 1)",     GAME_NOT_WORKING | GAME_NO_SOUND )
270GAME( 199?, bingor2,    0,      bingor,   bingor,   0,       ROT0,  "<unknown>", "Bingo Roll / Bellstar? (set 2)",     GAME_NOT_WORKING | GAME_NO_SOUND )
271GAME( 199?, bingor3,    0,      bingor,   bingor,   0,       ROT0,  "<unknown>", "Bingo Roll / Bellstar? (set 3)",     GAME_NOT_WORKING | GAME_NO_SOUND )
272GAME( 199?, bingor4,    0,      bingor,   bingor,   0,       ROT0,  "<unknown>", "Bingo Roll / Bellstar? (set 4)",     GAME_NOT_WORKING | GAME_NO_SOUND )
src/mame/drivers/mcr.c
r5338r5339
18131813   ROM_LOAD( "82s123.12d",   0x0000, 0x0020, CRC(e1281ee9) SHA1(9ac9b01d24affc0ee9227a4364c4fd8f8290343a) )
18141814ROM_END
18151815
1816/*
1817  TRON (Set 1 - 8/9)
1818*/
18161819
18171820ROM_START( tron )
1818   ROM_REGION( 0x10000, "maincpu", 0 )
1819   ROM_LOAD( "pro0.d2",      0x0000, 0x2000, CRC(0de0471a) SHA1(378847604a6a9c079d887348010ab9539d5f6195) )
1820   ROM_LOAD( "scpu_pgb.bin", 0x2000, 0x2000, CRC(8ddf8717) SHA1(e0c294afa8ba0b0ba89e3e0fb3ff6d8fc4398e32) )
1821   ROM_LOAD( "scpu_pgc.bin", 0x4000, 0x2000, CRC(4241e3a0) SHA1(24c1bd2f31e194542571c391c5dccf21354115c2) )
1822   ROM_LOAD( "scpu_pgd.bin", 0x6000, 0x2000, CRC(035d2fe7) SHA1(1b827ca30a439d2f4cc94fcc0e90ee0cf87e018c) )
1823   ROM_LOAD( "scpu_pge.bin", 0x8000, 0x2000, CRC(24c185d8) SHA1(45ac7c53f6f4eba5c7bf3fc6559cddd3821eddad) )
1824   ROM_LOAD( "scpu_pgf.bin", 0xA000, 0x2000, CRC(38c4bbaf) SHA1(a7cd496ce75199b8279ea963520cf70d5f562bb2) )
1821   ROM_REGION( 0x10000, "maincpu", 0 ) /* ROM's located on the Super CPU Board (90010) */
1822   ROM_LOAD( "pro0.d2",     0x0000, 0x2000, CRC(0de0471a) SHA1(378847604a6a9c079d887348010ab9539d5f6195) )
1823   ROM_LOAD( "scpu_pgb.d3", 0x2000, 0x2000, CRC(8ddf8717) SHA1(e0c294afa8ba0b0ba89e3e0fb3ff6d8fc4398e32) )
1824   ROM_LOAD( "scpu_pgc.d4", 0x4000, 0x2000, CRC(4241e3a0) SHA1(24c1bd2f31e194542571c391c5dccf21354115c2) )
1825   ROM_LOAD( "scpu_pgd.d5", 0x6000, 0x2000, CRC(035d2fe7) SHA1(1b827ca30a439d2f4cc94fcc0e90ee0cf87e018c) )
1826   ROM_LOAD( "scpu_pge.d6", 0x8000, 0x2000, CRC(24c185d8) SHA1(45ac7c53f6f4eba5c7bf3fc6559cddd3821eddad) )
1827   ROM_LOAD( "scpu_pgf.d7", 0xA000, 0x2000, CRC(38c4bbaf) SHA1(a7cd496ce75199b8279ea963520cf70d5f562bb2) )
18251828
1826   ROM_REGION( 0x10000, "ssiocpu", 0 )
1827   ROM_LOAD( "ssi_0a.bin",   0x0000, 0x1000, CRC(765e6eba) SHA1(42efeefc8571dfc237c0be3368248f1e56add92e) )
1828   ROM_LOAD( "ssi_0b.bin",   0x1000, 0x1000, CRC(1b90ccdd) SHA1(0876e5eeaa63bb8cc97f3634a6ddd8a29a9b012f) )
1829   ROM_LOAD( "ssi_0c.bin",   0x2000, 0x1000, CRC(3a4bc629) SHA1(ce8452a99a313ae7429de471bbea39de08c9fd4b) )
1829   ROM_REGION( 0x10000, "ssiocpu", 0 ) /* ROM's located on the Super Sound I/O Board (90913) */
1830   ROM_LOAD( "ssi_0a.a7",   0x0000, 0x1000, CRC(765e6eba) SHA1(42efeefc8571dfc237c0be3368248f1e56add92e) )
1831   ROM_LOAD( "ssi_0b.a8",   0x1000, 0x1000, CRC(1b90ccdd) SHA1(0876e5eeaa63bb8cc97f3634a6ddd8a29a9b012f) )
1832   ROM_LOAD( "ssi_0c.a9",   0x2000, 0x1000, CRC(3a4bc629) SHA1(ce8452a99a313ae7429de471bbea39de08c9fd4b) )
18301833
1831   ROM_REGION( 0x04000, "gfx1", 0 )
1832   ROM_LOAD( "scpu_bgg.bin", 0x0000, 0x2000, CRC(1a9ed2f5) SHA1(b0d85b47873ac8ad475da18b9540d37232cb2b7c) )
1833   ROM_LOAD( "scpu_bgh.bin", 0x2000, 0x2000, CRC(3220f974) SHA1(a38ea5f1db27f05d9689db838ce7a8de98f34837) )
1834   ROM_REGION( 0x04000, "gfx1", 0 ) /* ROM's located on the Super CPU Board (90010) */
1835   ROM_LOAD( "scpu_bgg.g3", 0x0000, 0x2000, CRC(1a9ed2f5) SHA1(b0d85b47873ac8ad475da18b9540d37232cb2b7c) )
1836   ROM_LOAD( "scpu_bgh.g4", 0x2000, 0x2000, CRC(3220f974) SHA1(a38ea5f1db27f05d9689db838ce7a8de98f34837) )
18341837
1835   ROM_REGION( 0x08000, "gfx2", 0 )
1836   ROM_LOAD( "vg_3.bin",     0x0000, 0x2000, CRC(bc036d1d) SHA1(c5d54d0b80ac768ccf6fdd32cad1ef6359fa324c) )
1837   ROM_LOAD( "vg_2.bin",     0x2000, 0x2000, CRC(58ee14d3) SHA1(5fb4268c9c73bdfc3b1e866618979aea3f219bbc) )
1838   ROM_LOAD( "vg_1.bin",     0x4000, 0x2000, CRC(3329f9d4) SHA1(11f4d744374e475d2c5b195a9f70888414529dd3) )
1839   ROM_LOAD( "vg_0.bin",     0x6000, 0x2000, CRC(9743f873) SHA1(71ed80ecd8caaf9fce1d7010f95c4678c9bd7102) )
1838   ROM_REGION( 0x08000, "gfx2", 0 ) /* ROM's located on the MCR/II Video Gen Board (91399) */
1839   ROM_LOAD( "vga.e1",      0x0000, 0x2000, CRC(bc036d1d) SHA1(c5d54d0b80ac768ccf6fdd32cad1ef6359fa324c) )
1840   ROM_LOAD( "vgb.dc1",     0x2000, 0x2000, CRC(58ee14d3) SHA1(5fb4268c9c73bdfc3b1e866618979aea3f219bbc) )
1841   ROM_LOAD( "vgc.cb1",     0x4000, 0x2000, CRC(3329f9d4) SHA1(11f4d744374e475d2c5b195a9f70888414529dd3) )
1842   ROM_LOAD( "vga.a1",      0x6000, 0x2000, CRC(9743f873) SHA1(71ed80ecd8caaf9fce1d7010f95c4678c9bd7102) )
18401843
1841   ROM_REGION( 0x0020, "proms", 0 )
1842   ROM_LOAD( "82s123.d12",   0x0000, 0x0020, CRC(e1281ee9) SHA1(9ac9b01d24affc0ee9227a4364c4fd8f8290343a) )
1844   ROM_REGION( 0x0020, "proms", 0 ) /* PROM's located on the Super Sound I/O Board (90913) */
1845   ROM_LOAD( "9860-07axn-axhd.d12",     0x0000, 0x0020, CRC(e1281ee9) SHA1(9ac9b01d24affc0ee9227a4364c4fd8f8290343a) ) /* N82S123 */
1846
1847    ROM_REGION( 0x0005, "scpu_pals", 0) /* PAL's located on the Super CPU Board (90010) */
1848   ROM_LOAD( "0066-313bx-xxqx.a12.bin", 0x0000, 0x0001, NO_DUMP)
1849   ROM_LOAD( "0066-315bx-xxqx.b12.bin", 0x0000, 0x0001, NO_DUMP)
1850   ROM_LOAD( "0066-322bx-xx0x.e3.bin",  0x0000, 0x0001, NO_DUMP)
1851   ROM_LOAD( "0066-316bx-xxqx.g11.bin", 0x0000, 0x0001, NO_DUMP)
1852   ROM_LOAD( "0066-314bx-xxqx.g12.bin", 0x0000, 0x0001, NO_DUMP)
18431853ROM_END
18441854
1855/*
1856  TRON (Set 2 - 6/25)
1857*/
1858
18451859ROM_START( tron2 )
1846   ROM_REGION( 0x10000, "maincpu", 0 )
1847   ROM_LOAD( "scpu_pga.bin", 0x0000, 0x2000, CRC(5151770b) SHA1(26f4d830de7be228528e462dd628f439629a2641) )
1848   ROM_LOAD( "scpu_pgb.bin", 0x2000, 0x2000, CRC(8ddf8717) SHA1(e0c294afa8ba0b0ba89e3e0fb3ff6d8fc4398e32) )
1849   ROM_LOAD( "scpu_pgc.bin", 0x4000, 0x2000, CRC(4241e3a0) SHA1(24c1bd2f31e194542571c391c5dccf21354115c2) )
1850   ROM_LOAD( "scpu_pgd.bin", 0x6000, 0x2000, CRC(035d2fe7) SHA1(1b827ca30a439d2f4cc94fcc0e90ee0cf87e018c) )
1851   ROM_LOAD( "scpu_pge.bin", 0x8000, 0x2000, CRC(24c185d8) SHA1(45ac7c53f6f4eba5c7bf3fc6559cddd3821eddad) )
1852   ROM_LOAD( "scpu_pgf.bin", 0xa000, 0x2000, CRC(38c4bbaf) SHA1(a7cd496ce75199b8279ea963520cf70d5f562bb2) )
1860   ROM_REGION( 0x10000, "maincpu", 0 ) /* ROM's located on the Super CPU Board (90010) */
1861   ROM_LOAD( "scpu_pga.d2", 0x0000, 0x2000, CRC(5151770b) SHA1(26f4d830de7be228528e462dd628f439629a2641) )
1862   ROM_LOAD( "scpu_pgb.d3", 0x2000, 0x2000, CRC(8ddf8717) SHA1(e0c294afa8ba0b0ba89e3e0fb3ff6d8fc4398e32) )
1863   ROM_LOAD( "scpu_pgc.d4", 0x4000, 0x2000, CRC(4241e3a0) SHA1(24c1bd2f31e194542571c391c5dccf21354115c2) )
1864   ROM_LOAD( "scpu_pgd.d5", 0x6000, 0x2000, CRC(035d2fe7) SHA1(1b827ca30a439d2f4cc94fcc0e90ee0cf87e018c) )
1865   ROM_LOAD( "scpu_pge.d6", 0x8000, 0x2000, CRC(24c185d8) SHA1(45ac7c53f6f4eba5c7bf3fc6559cddd3821eddad) )
1866   ROM_LOAD( "scpu_pgf.d7", 0xa000, 0x2000, CRC(38c4bbaf) SHA1(a7cd496ce75199b8279ea963520cf70d5f562bb2) )
18531867
1854   ROM_REGION( 0x10000, "ssiocpu", 0 )
1855   ROM_LOAD( "ssi_0a.bin",   0x0000, 0x1000, CRC(765e6eba) SHA1(42efeefc8571dfc237c0be3368248f1e56add92e) )
1856   ROM_LOAD( "ssi_0b.bin",   0x1000, 0x1000, CRC(1b90ccdd) SHA1(0876e5eeaa63bb8cc97f3634a6ddd8a29a9b012f) )
1857   ROM_LOAD( "ssi_0c.bin",   0x2000, 0x1000, CRC(3a4bc629) SHA1(ce8452a99a313ae7429de471bbea39de08c9fd4b) )
1868   ROM_REGION( 0x10000, "ssiocpu", 0 ) /* ROM's located on the Super Sound I/O Board (90913) */
1869   ROM_LOAD( "ssi_0a.a7",   0x0000, 0x1000, CRC(765e6eba) SHA1(42efeefc8571dfc237c0be3368248f1e56add92e) )
1870   ROM_LOAD( "ssi_0b.a8",   0x1000, 0x1000, CRC(1b90ccdd) SHA1(0876e5eeaa63bb8cc97f3634a6ddd8a29a9b012f) )
1871   ROM_LOAD( "ssi_0c.a9",   0x2000, 0x1000, CRC(3a4bc629) SHA1(ce8452a99a313ae7429de471bbea39de08c9fd4b) )
18581872
1859   ROM_REGION( 0x04000, "gfx1", 0 )
1860   ROM_LOAD( "scpu_bgg.bin", 0x0000, 0x2000, CRC(1a9ed2f5) SHA1(b0d85b47873ac8ad475da18b9540d37232cb2b7c) )
1861   ROM_LOAD( "scpu_bgh.bin", 0x2000, 0x2000, CRC(3220f974) SHA1(a38ea5f1db27f05d9689db838ce7a8de98f34837) )
1873   ROM_REGION( 0x04000, "gfx1", 0 ) /* ROM's located on the Super CPU Board (90010) */
1874   ROM_LOAD( "scpu_bgg.g3", 0x0000, 0x2000, CRC(1a9ed2f5) SHA1(b0d85b47873ac8ad475da18b9540d37232cb2b7c) )
1875   ROM_LOAD( "scpu_bgh.g4", 0x2000, 0x2000, CRC(3220f974) SHA1(a38ea5f1db27f05d9689db838ce7a8de98f34837) )
18621876
1863   ROM_REGION( 0x08000, "gfx2", 0 )
1864   ROM_LOAD( "vg_3.bin",     0x0000, 0x2000, CRC(bc036d1d) SHA1(c5d54d0b80ac768ccf6fdd32cad1ef6359fa324c) )
1865   ROM_LOAD( "vg_2.bin",     0x2000, 0x2000, CRC(58ee14d3) SHA1(5fb4268c9c73bdfc3b1e866618979aea3f219bbc) )
1866   ROM_LOAD( "vg_1.bin",     0x4000, 0x2000, CRC(3329f9d4) SHA1(11f4d744374e475d2c5b195a9f70888414529dd3) )
1867   ROM_LOAD( "vg_0.bin",     0x6000, 0x2000, CRC(9743f873) SHA1(71ed80ecd8caaf9fce1d7010f95c4678c9bd7102) )
1877   ROM_REGION( 0x08000, "gfx2", 0 ) /* ROM's located on the MCR/II Video Gen Board (91399) */
1878   ROM_LOAD( "vga.e1",      0x0000, 0x2000, CRC(bc036d1d) SHA1(c5d54d0b80ac768ccf6fdd32cad1ef6359fa324c) )
1879   ROM_LOAD( "vgb.dc1",     0x2000, 0x2000, CRC(58ee14d3) SHA1(5fb4268c9c73bdfc3b1e866618979aea3f219bbc) )
1880   ROM_LOAD( "vgc.cb1",     0x4000, 0x2000, CRC(3329f9d4) SHA1(11f4d744374e475d2c5b195a9f70888414529dd3) )
1881   ROM_LOAD( "vga.a1",      0x6000, 0x2000, CRC(9743f873) SHA1(71ed80ecd8caaf9fce1d7010f95c4678c9bd7102) )
18681882
1869   ROM_REGION( 0x0020, "proms", 0 )
1870   ROM_LOAD( "82s123.d12",   0x0000, 0x0020, CRC(e1281ee9) SHA1(9ac9b01d24affc0ee9227a4364c4fd8f8290343a) )
1883   ROM_REGION( 0x0020, "proms", 0 ) /* PROM's located on the Super Sound I/O Board (90913) */
1884   ROM_LOAD( "9860-07axn-axhd.d12",     0x0000, 0x0020, CRC(e1281ee9) SHA1(9ac9b01d24affc0ee9227a4364c4fd8f8290343a) ) /* N82S123 */
1885
1886    ROM_REGION( 0x0005, "scpu_pals", 0) /* PAL's located on the Super CPU Board (90010) */
1887   ROM_LOAD( "0066-313bx-xxqx.a12.bin", 0x0000, 0x0001, NO_DUMP)
1888   ROM_LOAD( "0066-315bx-xxqx.b12.bin", 0x0000, 0x0001, NO_DUMP)
1889   ROM_LOAD( "0066-322bx-xx0x.e3.bin",  0x0000, 0x0001, NO_DUMP)
1890   ROM_LOAD( "0066-316bx-xxqx.g11.bin", 0x0000, 0x0001, NO_DUMP)
1891   ROM_LOAD( "0066-314bx-xxqx.g12.bin", 0x0000, 0x0001, NO_DUMP)
18711892ROM_END
18721893
1894/*
1895  TRON (Set 3 - 6/17)
1896*/
1897
18731898ROM_START( tron3 )
1874   ROM_REGION( 0x10000, "maincpu", 0 )
1875   ROM_LOAD( "6-17-pga.rom", 0x0000, 0x2000, CRC(fc33afd7) SHA1(99a2ed972c3db477f35a7162079563367864f207) )
1876   ROM_LOAD( "6-17-pgb.rom", 0x2000, 0x2000, CRC(7d9e22ac) SHA1(16a6e9651d5f764e8762fd8d6e53d13fda7473de) )
1877   ROM_LOAD( "6-14-pgc.rom", 0x4000, 0x2000, CRC(902011c6) SHA1(17ac768a0fd1278ae83414f0d67d6ac8337f4773) )
1878   ROM_LOAD( "6-17-pgd.rom", 0x6000, 0x2000, CRC(86477e89) SHA1(196f0d3930d10bfe4ddee82ce8b28bb99324069e) )
1879   ROM_LOAD( "6-17-pge.rom", 0x8000, 0x2000, CRC(ea198fa8) SHA1(d8c97ea87d504e77edc38c87c2953c8c4f1a405b) )
1880   ROM_LOAD( "6-17-pgf.rom", 0xa000, 0x2000, CRC(4325fb08) SHA1(70727aa37354425315d8a8b3ca07bbe91f7e8f08) )
1899   ROM_REGION( 0x10000, "maincpu", 0 ) /* ROM's located on the Super CPU Board (90010) */
1900   ROM_LOAD( "scpu_pga.d2", 0x0000, 0x2000, CRC(fc33afd7) SHA1(99a2ed972c3db477f35a7162079563367864f207) )
1901   ROM_LOAD( "scpu_pgb.d3", 0x2000, 0x2000, CRC(7d9e22ac) SHA1(16a6e9651d5f764e8762fd8d6e53d13fda7473de) )
1902   ROM_LOAD( "scpu_pgc.d4", 0x4000, 0x2000, CRC(902011c6) SHA1(17ac768a0fd1278ae83414f0d67d6ac8337f4773) )
1903   ROM_LOAD( "scpu_pgd.d5", 0x6000, 0x2000, CRC(86477e89) SHA1(196f0d3930d10bfe4ddee82ce8b28bb99324069e) )
1904   ROM_LOAD( "scpu_pge.d6", 0x8000, 0x2000, CRC(ea198fa8) SHA1(d8c97ea87d504e77edc38c87c2953c8c4f1a405b) )
1905   ROM_LOAD( "scpu_pgf.d7", 0xa000, 0x2000, CRC(4325fb08) SHA1(70727aa37354425315d8a8b3ca07bbe91f7e8f08) )
18811906
1882   ROM_REGION( 0x10000, "ssiocpu", 0 )
1883   ROM_LOAD( "ssi_0a.bin",   0x0000, 0x1000, CRC(765e6eba) SHA1(42efeefc8571dfc237c0be3368248f1e56add92e) )
1884   ROM_LOAD( "ssi_0b.bin",   0x1000, 0x1000, CRC(1b90ccdd) SHA1(0876e5eeaa63bb8cc97f3634a6ddd8a29a9b012f) )
1885   ROM_LOAD( "ssi_0c.bin",   0x2000, 0x1000, CRC(3a4bc629) SHA1(ce8452a99a313ae7429de471bbea39de08c9fd4b) )
1907   ROM_REGION( 0x10000, "ssiocpu", 0 ) /* ROM's located on the Super Sound I/O Board (90913) */
1908   ROM_LOAD( "ssi_0a.a7",   0x0000, 0x1000, CRC(765e6eba) SHA1(42efeefc8571dfc237c0be3368248f1e56add92e) )
1909   ROM_LOAD( "ssi_0b.a8",   0x1000, 0x1000, CRC(1b90ccdd) SHA1(0876e5eeaa63bb8cc97f3634a6ddd8a29a9b012f) )
1910   ROM_LOAD( "ssi_0c.a9",   0x2000, 0x1000, CRC(3a4bc629) SHA1(ce8452a99a313ae7429de471bbea39de08c9fd4b) )
18861911
1887   ROM_REGION( 0x04000, "gfx1", 0 )
1888   ROM_LOAD( "scpu_bgg.bin", 0x0000, 0x2000, CRC(1a9ed2f5) SHA1(b0d85b47873ac8ad475da18b9540d37232cb2b7c) )
1889   ROM_LOAD( "scpu_bgh.bin", 0x2000, 0x2000, CRC(3220f974) SHA1(a38ea5f1db27f05d9689db838ce7a8de98f34837) )
1912   ROM_REGION( 0x04000, "gfx1", 0 ) /* ROM's located on the Super CPU Board (90010) */
1913   ROM_LOAD( "scpu_bgg.g3", 0x0000, 0x2000, CRC(1a9ed2f5) SHA1(b0d85b47873ac8ad475da18b9540d37232cb2b7c) )
1914   ROM_LOAD( "scpu_bgh.g4", 0x2000, 0x2000, CRC(3220f974) SHA1(a38ea5f1db27f05d9689db838ce7a8de98f34837) )
18901915
1891   ROM_REGION( 0x08000, "gfx2", 0 )
1892   ROM_LOAD( "vg_3.bin",     0x0000, 0x2000, CRC(bc036d1d) SHA1(c5d54d0b80ac768ccf6fdd32cad1ef6359fa324c) )
1893   ROM_LOAD( "vg_2.bin",     0x2000, 0x2000, CRC(58ee14d3) SHA1(5fb4268c9c73bdfc3b1e866618979aea3f219bbc) )
1894   ROM_LOAD( "vg_1.bin",     0x4000, 0x2000, CRC(3329f9d4) SHA1(11f4d744374e475d2c5b195a9f70888414529dd3) )
1895   ROM_LOAD( "vg_0.bin",     0x6000, 0x2000, CRC(9743f873) SHA1(71ed80ecd8caaf9fce1d7010f95c4678c9bd7102) )
1916   ROM_REGION( 0x08000, "gfx2", 0 ) /* ROM's located on the MCR/II Video Gen Board (91399) */
1917   ROM_LOAD( "vga.e1",      0x0000, 0x2000, CRC(bc036d1d) SHA1(c5d54d0b80ac768ccf6fdd32cad1ef6359fa324c) )
1918   ROM_LOAD( "vgb.dc1",     0x2000, 0x2000, CRC(58ee14d3) SHA1(5fb4268c9c73bdfc3b1e866618979aea3f219bbc) )
1919   ROM_LOAD( "vgc.cb1",     0x4000, 0x2000, CRC(3329f9d4) SHA1(11f4d744374e475d2c5b195a9f70888414529dd3) )
1920   ROM_LOAD( "vga.a1",      0x6000, 0x2000, CRC(9743f873) SHA1(71ed80ecd8caaf9fce1d7010f95c4678c9bd7102) )
18961921
1897   ROM_REGION( 0x0020, "proms", 0 )
1898   ROM_LOAD( "82s123.d12",   0x0000, 0x0020, CRC(e1281ee9) SHA1(9ac9b01d24affc0ee9227a4364c4fd8f8290343a) )
1922   ROM_REGION( 0x0020, "proms", 0 ) /* PROM's located on the Super Sound I/O Board (90913) */
1923   ROM_LOAD( "9860-07axn-axhd.d12",     0x0000, 0x0020, CRC(e1281ee9) SHA1(9ac9b01d24affc0ee9227a4364c4fd8f8290343a) ) /* N82S123 */
1924
1925    ROM_REGION( 0x0005, "scpu_pals", 0) /* PAL's located on the Super CPU Board (90010) */
1926   ROM_LOAD( "0066-313bx-xxqx.a12.bin", 0x0000, 0x0001, NO_DUMP)
1927   ROM_LOAD( "0066-315bx-xxqx.b12.bin", 0x0000, 0x0001, NO_DUMP)
1928   ROM_LOAD( "0066-322bx-xx0x.e3.bin",  0x0000, 0x0001, NO_DUMP)
1929   ROM_LOAD( "0066-316bx-xxqx.g11.bin", 0x0000, 0x0001, NO_DUMP)
1930   ROM_LOAD( "0066-314bx-xxqx.g12.bin", 0x0000, 0x0001, NO_DUMP)
18991931ROM_END
19001932
1933/*
1934  TRON (Set 4 - 6/16)
1935*/
1936
19011937ROM_START( tron4 )
1902   ROM_REGION( 0x10000, "maincpu", 0 )
1938   ROM_REGION( 0x10000, "maincpu", 0 ) /* ROM's located on the Super CPU Board (90010) */
19031939   ROM_LOAD( "pga-615.d2",   0x0000, 0x2000, CRC(09d7a95a) SHA1(630f4c43204df0510926c5fc07e0c1b3783cf5e4) )
19041940   ROM_LOAD( "pgb-615.d3",   0x2000, 0x2000, CRC(b454337d) SHA1(c2306ad5401a3f60e231be59198610a36b527f1f) )
19051941   ROM_LOAD( "pgc-615.d4",   0x4000, 0x2000, CRC(ac1836ff) SHA1(a8d20facf91b4c93082f8e71a663e5da8b036ecb) )
r5338r5339
19071943   ROM_LOAD( "pge-615.d6",   0x8000, 0x2000, CRC(ea198fa8) SHA1(d8c97ea87d504e77edc38c87c2953c8c4f1a405b) )
19081944   ROM_LOAD( "pgf-615.d7",   0xa000, 0x2000, CRC(790ee743) SHA1(14dc84b2bbaab22772e0579f11fe0bf136a0ddab) )
19091945
1910   ROM_REGION( 0x10000, "ssiocpu", 0 )
1911   ROM_LOAD( "snd0-510.a7",  0x0000, 0x1000, CRC(2cbb332b) SHA1(48d1cbb336733588af728a3d0e02c8613d2b5fb2) )
1912   ROM_LOAD( "ssiob.a8",     0x1000, 0x1000, CRC(1355b7e6) SHA1(61ed045212da67cd449910ae601058cf209b37e5) )
1913   ROM_LOAD( "ssioc.a9",     0x2000, 0x1000, CRC(6dd4b7c9) SHA1(1ce78c242d1a7d9a4524a663a42fc8bc2870053a) )
1946   ROM_REGION( 0x10000, "ssiocpu", 0 ) /* ROM's located on the Super Sound I/O Board (90913) */
1947   ROM_LOAD( "ssi_oa.a7",    0x0000, 0x1000, CRC(2cbb332b) SHA1(48d1cbb336733588af728a3d0e02c8613d2b5fb2) )
1948   ROM_LOAD( "ssi_ob.a8",    0x1000, 0x1000, CRC(1355b7e6) SHA1(61ed045212da67cd449910ae601058cf209b37e5) )
1949   ROM_LOAD( "ssi_oc.a9",    0x2000, 0x1000, CRC(6dd4b7c9) SHA1(1ce78c242d1a7d9a4524a663a42fc8bc2870053a) )
19141950
1915   ROM_REGION( 0x04000, "gfx1", 0 )
1916   ROM_LOAD( "scpu_bgg.bin", 0x0000, 0x2000, CRC(1a9ed2f5) SHA1(b0d85b47873ac8ad475da18b9540d37232cb2b7c) )
1917   ROM_LOAD( "scpu_bgh.bin", 0x2000, 0x2000, CRC(3220f974) SHA1(a38ea5f1db27f05d9689db838ce7a8de98f34837) )
1951   ROM_REGION( 0x04000, "gfx1", 0 ) /* ROM's located on the Super CPU Board (90010) */
1952   ROM_LOAD( "scpu_bgg.g3",  0x0000, 0x2000, CRC(1a9ed2f5) SHA1(b0d85b47873ac8ad475da18b9540d37232cb2b7c) )
1953   ROM_LOAD( "scpu_bgh.g4",  0x2000, 0x2000, CRC(3220f974) SHA1(a38ea5f1db27f05d9689db838ce7a8de98f34837) )
19181954
1919   ROM_REGION( 0x08000, "gfx2", 0 )
1920   ROM_LOAD( "vg_3.bin",     0x0000, 0x2000, CRC(bc036d1d) SHA1(c5d54d0b80ac768ccf6fdd32cad1ef6359fa324c) )
1921   ROM_LOAD( "vg_2.bin",     0x2000, 0x2000, CRC(58ee14d3) SHA1(5fb4268c9c73bdfc3b1e866618979aea3f219bbc) )
1922   ROM_LOAD( "vg_1.bin",     0x4000, 0x2000, CRC(3329f9d4) SHA1(11f4d744374e475d2c5b195a9f70888414529dd3) )
1923   ROM_LOAD( "vg_0.bin",     0x6000, 0x2000, CRC(9743f873) SHA1(71ed80ecd8caaf9fce1d7010f95c4678c9bd7102) )
1955   ROM_REGION( 0x08000, "gfx2", 0 ) /* ROM's located on the MCR/II Video Gen Board (91399) */
1956   ROM_LOAD( "vga.e1",       0x0000, 0x2000, CRC(bc036d1d) SHA1(c5d54d0b80ac768ccf6fdd32cad1ef6359fa324c) )
1957   ROM_LOAD( "vgb.dc1",      0x2000, 0x2000, CRC(58ee14d3) SHA1(5fb4268c9c73bdfc3b1e866618979aea3f219bbc) )
1958   ROM_LOAD( "vgc.cb1",      0x4000, 0x2000, CRC(3329f9d4) SHA1(11f4d744374e475d2c5b195a9f70888414529dd3) )
1959   ROM_LOAD( "vga.a1",       0x6000, 0x2000, CRC(9743f873) SHA1(71ed80ecd8caaf9fce1d7010f95c4678c9bd7102) )
19241960
1925   ROM_REGION( 0x0020, "proms", 0 )
1926   ROM_LOAD( "82s123.d12",   0x0000, 0x0020, CRC(e1281ee9) SHA1(9ac9b01d24affc0ee9227a4364c4fd8f8290343a) )
1961   ROM_REGION( 0x0020, "proms", 0 ) /* PROM's located on the Super Sound I/O Board (90913) */
1962   ROM_LOAD( "9860-07axn-axhd.d12",     0x0000, 0x0020, CRC(e1281ee9) SHA1(9ac9b01d24affc0ee9227a4364c4fd8f8290343a) ) /* N82S123 */
1963
1964    ROM_REGION( 0x0005, "scpu_pals", 0) /* PAL's located on the Super CPU Board (90010) */
1965   ROM_LOAD( "0066-313bx-xxqx.a12.bin", 0x0000, 0x0001, NO_DUMP)
1966   ROM_LOAD( "0066-315bx-xxqx.b12.bin", 0x0000, 0x0001, NO_DUMP)
1967   ROM_LOAD( "0066-322bx-xx0x.e3.bin",  0x0000, 0x0001, NO_DUMP)
1968   ROM_LOAD( "0066-316bx-xxqx.g11.bin", 0x0000, 0x0001, NO_DUMP)
1969   ROM_LOAD( "0066-314bx-xxqx.g12.bin", 0x0000, 0x0001, NO_DUMP)
19271970ROM_END
19281971
19291972
r5338r5339
20362079   ROM_LOAD( "82s123.12d",   0x0000, 0x0020, CRC(e1281ee9) SHA1(9ac9b01d24affc0ee9227a4364c4fd8f8290343a) )   /* from shollow, assuming it's the same */
20372080ROM_END
20382081
2039ROM_START( twotigrc )
2082ROM_START( twotigerc )
20402083   ROM_REGION( 0x10000, "maincpu", 0 )
20412084   ROM_LOAD( "2tgrpg0.bin",  0x0000, 0x2000, CRC(e77a924b) SHA1(c1720a8a6ca8e6551ef38d565d5f18db7fbd5d2e) )
20422085   ROM_LOAD( "2tgrpg1.bin",  0x2000, 0x2000, CRC(2699ebdc) SHA1(bed7c5fe8783dab79e7563f6b2348b9a980bdcc7) )
r5338r5339
25842627GAME( 1982, tron4,    tron,     mcr_90010,     tron,     mcr_90010, ROT90, "Bally Midway", "Tron (6/15)", GAME_SUPPORTS_SAVE )
25852628GAME( 1982, domino,   0,        mcr_90010,     domino,   mcr_90010, ROT0,  "Bally Midway", "Domino Man", GAME_SUPPORTS_SAVE )
25862629GAME( 1982, wacko,    0,        mcr_90010,     wacko,    wacko,     ROT0,  "Bally Midway", "Wacko", GAME_SUPPORTS_SAVE )
2587GAME( 1984, twotigrc, twotiger, mcr_90010,     twotigrc, mcr_90010, ROT0,  "Bally Midway", "Two Tigers (Tron conversion)", GAME_SUPPORTS_SAVE )
2630GAME( 1984, twotigerc,twotiger, mcr_90010,     twotigrc, mcr_90010, ROT0,  "Bally Midway", "Two Tigers (Tron conversion)", GAME_SUPPORTS_SAVE )
25882631
25892632/* hacked 90010 CPU board + 91399 video gen + 90913 sound I/O + 8-track interface */
25902633GAME( 1984, twotiger, 0,        mcr_90010,     twotiger, twotiger,  ROT0,  "Bally Midway", "Two Tigers (dedicated)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
src/mame/drivers/clshroad.c
r5338r5339
402402   ROM_LOAD( "clashrd.g7",  0x0100, 0x0100, CRC(4017a2a6) SHA1(dadef2de7a1119758c8e6d397aa42815b0218889) )   /* high 4 bits */
403403ROM_END
404404
405ROM_START( clshrdst )
405ROM_START( clshroads )
406406   ROM_REGION( 0x10000, "maincpu", 0 )      /* Main Z80 Code */
407407   ROM_LOAD( "cr-3",  0x0000, 0x8000, CRC(23559df2) SHA1(41a08a4fbad3da1898226e2ca1956a9f7c8f94b0) )
408408
r5338r5339
465465
466466GAME( 1984, firebatl, 0,        firebatl, firebatl, firebatl, ROT90, "Taito", "Fire Battle", GAME_IMPERFECT_GRAPHICS )
467467GAME( 1986, clshroad, 0,        clshroad, clshroad, 0,        ROT0,  "Woodplace Inc.", "Clash-Road", 0 )
468GAME( 1986, clshrdst, clshroad, clshroad, clshroad, 0,        ROT0,  "Woodplace Inc. (Status Game Corp. license)", "Clash-Road (Status license)", 0 )
468GAME( 1986, clshroads,clshroad, clshroad, clshroad, 0,        ROT0,  "Woodplace Inc. (Status Game Corp. license)", "Clash-Road (Status license)", 0 )
src/mame/drivers/dcheese.c
r5338r5339
576576ROM_END
577577
578578
579ROM_START( fredmeus )
579ROM_START( fredmemus )
580580   ROM_REGION( 0x40000, "maincpu", 0 ) /* 68k */
581581   ROM_LOAD16_BYTE( "u104.us.hiscore", 0x00000, 0x20000, CRC(4460c690) SHA1(08fec2704baac4b83add8f1d5936f15336a67599) ) /* Program 0 - V2.0 at U104 */
582582   ROM_LOAD16_BYTE( "u103.us.hiscore", 0x00001, 0x20000, CRC(ff5bfdc3) SHA1(c38b856d6a74df68bfc6fb15b521180f78742d45) ) /* Program 1 - V2.0 at U103 */
r5338r5339
608608   ROM_LOAD16_BYTE( "93c46.u158", 0x00000, 0x0080, CRC(a40a7b87) SHA1(3632b7538b3bf41ee0cbe7541a0f5951f70b4a9b) ) /* EEPROM data at U158 */
609609ROM_END
610610
611ROM_START( fredmeuk )
611ROM_START( fredmemuk )
612612   ROM_REGION( 0x40000, "maincpu", 0 ) /* 68k */
613613   ROM_LOAD16_BYTE( "u104.uk", 0x00000, 0x20000, CRC(e810daab) SHA1(99be21eb5df49fd8b665935c774798be270e0f27) ) /* Program 0 - V2.0 at U104 */
614614   ROM_LOAD16_BYTE( "u103.uk", 0x00001, 0x20000, CRC(0f2e65fb) SHA1(533a45d2de0ee3c306197d2559355c3193f9ac6b) ) /* Program 1 - V2.0 at U103 */
r5338r5339
800800GAME( 1993, lottof2,  0,       dcheese, lottof2, dcheese, ROT0,  "HAR", "Lotto Fun 2", GAME_SUPPORTS_SAVE )
801801GAME( 1993, cecmatch, 0,       fredmem, fredmem, dcheese, ROT0,  "Coastal Amusements", "ChuckECheese's Match Game", GAME_SUPPORTS_SAVE )
802802GAME( 1994, fredmem,  0,       fredmem, fredmem, dcheese, ROT0,  "Coastal Amusements", "Fred Flintstones' Memory Match (World?, Ticket version, 3/17/95)", GAME_SUPPORTS_SAVE )
803GAME( 1994, fredmeus, fredmem, fredmem, fredmem, dcheese, ROT0,  "Coastal Amusements", "Fred Flintstones' Memory Match (US, High Score version, 3/10/95)", GAME_SUPPORTS_SAVE )
804GAME( 1994, fredmeuk, fredmem, fredmem, fredmem, dcheese, ROT0,  "Coastal Amusements", "Fred Flintstones' Memory Match (UK, 3/17/95)", GAME_SUPPORTS_SAVE )
803GAME( 1994, fredmemus,fredmem, fredmem, fredmem, dcheese, ROT0,  "Coastal Amusements", "Fred Flintstones' Memory Match (US, High Score version, 3/10/95)", GAME_SUPPORTS_SAVE )
804GAME( 1994, fredmemuk,fredmem, fredmem, fredmem, dcheese, ROT0,  "Coastal Amusements", "Fred Flintstones' Memory Match (UK, 3/17/95)", GAME_SUPPORTS_SAVE )
805805GAME( 1994, fredmemj, fredmem, fredmem, fredmem, dcheese, ROT0,  "Coastal Amusements", "Fred Flintstones' Memory Match (Japan, High Score version, 3/20/95)", GAME_SUPPORTS_SAVE )
806806GAME( 1994, fredmemc, fredmem, fredmem, fredmem, dcheese, ROT0,  "Coastal Amusements", "Fred Flintstones' Memory Match (Mandarin Chinese, 3/17/95)", GAME_SUPPORTS_SAVE )
807807GAME( 1994, fredmesp, fredmem, fredmem, fredmem, dcheese, ROT0,  "Coastal Amusements", "Fred Flintstones' Memory Match (Spanish, 3/17/95)", GAME_SUPPORTS_SAVE )
src/mame/drivers/dooyong.c
r5338r5339
12261226   ROM_LOAD16_BYTE( "11.n9",        0x00001, 0x10000, CRC(7dfe4a9c) SHA1(40982b5b266e4a928544ab5ec330080935588c57) )
12271227ROM_END
12281228
1229ROM_START( gulfstr2 )
1229ROM_START( gulfstrmm )
12301230   ROM_REGION( 0x30000, "maincpu", 0 )   /* 64k for code + 128k for banks */
12311231   ROM_LOAD( "18.1",         0x00000, 0x20000, CRC(d38e2667) SHA1(3690d708c7be85871d6bb32a774d711a30782126) )
12321232   ROM_RELOAD(               0x10000, 0x20000 )            /* banked at 0x8000-0xbfff */
r5338r5339
13871387   ROM_LOAD( "rom4",         0x00000, 0x20000, CRC(f7318919) SHA1(8b7e2ffe77603142cf1b9440585f8dfa9199ed05) )
13881388ROM_END
13891389
1390ROM_START( bluehawn )
1390ROM_START( bluehawkn )
13911391   ROM_REGION( 0x30000, "maincpu", 0 )   /* 64k for code + 128k for banks */
13921392   ROM_LOAD( "rom19",        0x00000, 0x20000, CRC(24149246) SHA1(458fd429a895353b8636c717dcd58d57b8723012) )   // ROM2
13931393   ROM_RELOAD(               0x10000, 0x20000 )   /* banked at 0x8000-0xbfff */
r5338r5339
18471847GAME( 1990, lastday,  0,        lastday,  lastday,  0, ROT270, "Dooyong",  "The Last Day (set 1)", GAME_SUPPORTS_SAVE )
18481848GAME( 1990, lastdaya, lastday,  lastday,  lastday,  0, ROT270, "Dooyong",  "The Last Day (set 2)", GAME_SUPPORTS_SAVE )
18491849GAME( 1991, gulfstrm, 0,        gulfstrm, gulfstrm, 0, ROT270, "Dooyong",  "Gulf Storm",           GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
1850GAME( 1991, gulfstr2, gulfstrm, gulfstrm, gulfstrm, 0, ROT270, "Dooyong (Media Shoji license)", "Gulf Storm (Media Shoji)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
1850GAME( 1991, gulfstrmm,gulfstrm, gulfstrm, gulfstrm, 0, ROT270, "Dooyong (Media Shoji license)", "Gulf Storm (Media Shoji)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
18511851GAME( 1991, pollux,   0,        pollux,   pollux,   0, ROT270, "Dooyong",  "Pollux (set 1)",       GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
18521852GAME( 1991, polluxa,  pollux,   pollux,   pollux,   0, ROT270, "Dooyong",  "Pollux (set 2)",       GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
18531853GAME( 1991, polluxa2, pollux,   pollux,   pollux,   0, ROT270, "Dooyong",  "Pollux (set 3)",       GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) /* Original Dooyong Board distributed by TCH */
18541854GAME( 1992, flytiger, 0,        flytiger, flytiger, 0, ROT270, "Dooyong",  "Flying Tiger",         GAME_IMPERFECT_GRAPHICS | GAME_WRONG_COLORS | GAME_SUPPORTS_SAVE )
18551855GAME( 1993, bluehawk, 0,        bluehawk, bluehawk, 0, ROT270, "Dooyong",  "Blue Hawk",            GAME_SUPPORTS_SAVE )
1856GAME( 1993, bluehawn, bluehawk, bluehawk, bluehawk, 0, ROT270, "[Dooyong] (NTC license)", "Blue Hawk (NTC)", GAME_SUPPORTS_SAVE )
1856GAME( 1993, bluehawkn,bluehawk, bluehawk, bluehawk, 0, ROT270, "[Dooyong] (NTC license)", "Blue Hawk (NTC)", GAME_SUPPORTS_SAVE )
18571857GAME( 1993, sadari,   0,        primella, sadari,   0, ROT0,   "[Dooyong] (NTC license)", "Sadari", GAME_SUPPORTS_SAVE )
18581858GAME( 1994, gundl94,  0,        primella, primella, 0, ROT0,   "Dooyong",  "Gun Dealer '94",       GAME_SUPPORTS_SAVE )
18591859GAME( 1994, primella, gundl94,  primella, primella, 0, ROT0,   "[Dooyong] (NTC license)", "Primella", GAME_SUPPORTS_SAVE )
src/mame/drivers/thepit.c
r5338r5339
832832   ROM_LOAD( "ic3.prm",      0x0000, 0x0020, CRC(927ff40a) SHA1(3d699d981851989e9190505b0dede5202d688f2b) )
833833ROM_END
834834
835ROM_START( intrepi2 )
835ROM_START( intrepid2 )
836836   ROM_REGION( 0x10000, "maincpu", 0 )
837837   ROM_LOAD( "intrepid.001", 0x0000, 0x1000, CRC(9505df1e) SHA1(83ad91e92038231c9351d11e5471e6ef6bb4b743) )
838838   ROM_LOAD( "intrepid.002", 0x1000, 0x1000, CRC(27e9f53f) SHA1(06efd4482971b00632dae2d528f96371e98e5e2a) )
r5338r5339
10541054GAME( 1981, fitter,   roundup,  thepit,   fitter,   0,     ROT90, "Taito Corporation", "Fitter", 0 )
10551055GAME( 1982, thepit,   0,        thepit,   thepit,   0,     ROT90, "Taito", "The Pit", 0 )
10561056GAME( 1982, thepitc,  thepit,   thepit,   thepit,   0,     ROT90, "Centuri", "The Pit (Centuri)", 0 )
1057GAME( 1982, thepitb,  thepit,   thepit,   thepit,   0,     ROT90, "Bootleg", "The Pit (Bootleg)", 0 ) /* based off the Centuri version */
1057GAME( 1982, thepitb,  thepit,   thepit,   thepit,   0,     ROT90, "bootleg", "The Pit (bootleg)", 0 ) /* based off the Centuri version */
10581058GAME( 1982, dockman,  0,        intrepid, dockman,  0,     ROT90, "Taito Corporation", "Dock Man", 0 )
10591059GAME( 1982, portman,  dockman,  intrepid, dockman,  0,     ROT90, "Nova Games Ltd.", "Port Man", 0 )
10601060GAME( 1982, funnymou, 0,        suprmous, suprmous, 0,     ROT90, "Chuo Co. Ltd", "Funny Mouse", 0 )
10611061GAME( 1982, suprmous, funnymou, suprmous, suprmous, 0,     ROT90, "Taito Corporation", "Super Mouse", 0 )
10621062GAME( 1982, machomou, 0,        suprmous, suprmous, 0,     ROT90, "Techstar", "Macho Mouse", 0 )
10631063GAME( 1983, intrepid, 0,        intrepid, intrepid, 0,     ROT90, "Nova Games Ltd.", "Intrepid (set 1)", 0 )
1064GAME( 1983, intrepi2, intrepid, intrepid, intrepid, 0,     ROT90, "Nova Games Ltd.", "Intrepid (set 2)", 0 )
1064GAME( 1983, intrepid2,intrepid, intrepid, intrepid, 0,     ROT90, "Nova Games Ltd.", "Intrepid (set 2)", 0 )
10651065GAME( 1984, zaryavos, 0,        intrepid, intrepid, 0,     ROT90, "Nova Games of Canada", "Zarya Vostoka", GAME_NOT_WORKING )
10661066GAME( 198?, rtriv,    0,        intrepid, rtriv,    rtriv, ROT90, "Romar", "Romar Triv", GAME_WRONG_COLORS )
src/mame/drivers/albazg.c
r5338r5339
1010 from 1991.
1111
1212TODO:
13-Add coin counter,coin lock etc.;
14-Controls dynamically changes if you turn on the Panel Type DIP-SW,I'd imagine that the "royal
15 panel" is just a dedicated panel for this game;
13-Player-2 inputs are unemulated;
1614-"Custom RAM" emulation: might be a (weak) protection device or related to the "Back-up RAM NG"
1715 msg that pops up at every start-up.
18-Video emulation requires a major conversion to the HD46505SP C.R.T. chip (MC6845 clone)
16-Video emulation requires a major conversion to the HD46505SP C.R.T. chip (MC6845 clone),
17 there's an heavy x offsetting with the flip screen right now due of that (sets register
18 0x0d to 0x80 when the screen is upside-down)
19-You can actually configure the coin chutes / coin lockout active high/low (!), obviously
20 MAME isn't really suitable for it at the current time;
1921
2022============================================================================================
2123Code disassembling
r5338r5339
5557#include "cpu/z80/z80.h"
5658#include "machine/eeprom.h"
5759#include "sound/ay8910.h"
60#include "video/mc6845.h"
61#include "machine/8255ppi.h"
5862
5963static tilemap *bg_tilemap;
6064static UINT8 mux_data;
r5338r5339
6266static UINT8 *cus_ram;
6367static UINT8 prot_lock;
6468
69#define MASTER_CLOCK XTAL_12MHz
6570
66
6771static TILE_GET_INFO( y_get_bg_tile_info )
6872{
6973   int code = videoram[tile_index];
r5338r5339
102106};
103107
104108static GFXDECODE_START( yumefuda )
105   GFXDECODE_ENTRY( "gfx1", 0x0000, charlayout,   0, 0x10 )
109   GFXDECODE_ENTRY( "gfx1", 0x0000, charlayout,   0, 8 )
106110GFXDECODE_END
107111
108112
r5338r5339
118122   tilemap_mark_tile_dirty(bg_tilemap,offset);
119123}
120124
121/*Custom RAM (Protection)*/
125/*Custom RAM (Thrash Protection)*/
122126static READ8_HANDLER( custom_ram_r )
123127{
124128//  logerror("Custom RAM read at %02x PC = %x\n",offset+0xaf80,cpu_get_pc(space->cpu));
r5338r5339
128132static WRITE8_HANDLER( custom_ram_w )
129133{
130134//  logerror("Custom RAM write at %02x : %02x PC = %x\n",offset+0xaf80,data,cpu_get_pc(space->cpu));
131   if(prot_lock)   { cus_ram[offset] = data; }
135   if(prot_lock) { cus_ram[offset] = data; }
132136}
133137
134138/*this might be used as NVRAM commands btw*/
r5338r5339
145149   eeprom_set_clock_line((data & 0x08) ? ASSERT_LINE : CLEAR_LINE);
146150}
147151
148static WRITE8_HANDLER( port_c0_w )
149{
150//  logerror("PC %04x (Port $c0) value written %02x\n",cpu_get_pc(space->cpu),data);
151}
152152
153
154static READ8_HANDLER( eeprom_r )
153static READ8_DEVICE_HANDLER( eeprom_r )
155154{
156   return ((~eeprom_read_bit() & 0x01)<<6) | (0xff & ~0x40);
155   return ((~eeprom_read_bit() & 0x01)<<6) | (input_port_read(device->machine, "SYSTEM") & ~0x40);
157156}
158157
159static READ8_HANDLER( mux_r )
158static READ8_DEVICE_HANDLER( mux_r )
160159{
161160   switch(mux_data)
162161   {
163      case 0x00: return input_port_read(space->machine, "IN0");
164      case 0x01: return input_port_read(space->machine, "IN1");
165      case 0x02: return input_port_read(space->machine, "IN2");
166      case 0x04: return input_port_read(space->machine, "IN3");
167      case 0x08: return input_port_read(space->machine, "IN4");
168      case 0x10: return input_port_read(space->machine, "IN5");
169      case 0x20: return input_port_read(space->machine, "IN6");
162      case 0x00: return input_port_read(device->machine, "IN0");
163      case 0x01: return input_port_read(device->machine, "IN1");
164      case 0x02: return input_port_read(device->machine, "IN2");
165      case 0x04: return input_port_read(device->machine, "IN3");
166      case 0x08: return input_port_read(device->machine, "IN4");
167      case 0x10: return input_port_read(device->machine, "IN5");
168      case 0x20: return input_port_read(device->machine, "IN6");
170169   }
171170
172   //popmessage("%02x",mux_data);
173171   return 0xff;
174172}
175173
176static WRITE8_HANDLER( mux_w )
174static WRITE8_DEVICE_HANDLER( mux_w )
177175{
178176   int new_bank = (data&0xc0)>>6;
179177
r5338r5339
182180   //0x14000 bonus game
183181   //0x16000 ?
184182   if(bank!=new_bank) {
185      UINT8 *ROM = memory_region(space->machine, "maincpu");
183      UINT8 *ROM = memory_region(device->machine, "maincpu");
186184      UINT32 bankaddress;
187185
188186      bank = new_bank;
189187      bankaddress = 0x10000 + 0x2000 * bank;
190      memory_set_bankptr(space->machine, 1, &ROM[bankaddress]);
188      memory_set_bankptr(device->machine, 1, &ROM[bankaddress]);
191189   }
192190
193191   mux_data = data & ~0xc0;
194192}
195193
196static WRITE8_HANDLER( yumefuda_videoregs_w )
194static WRITE8_DEVICE_HANDLER( yumefuda_output_w )
197195{
198   static UINT8 address;
199
200   if(offset == 0)
201      address = data;
202   else
203   {
204      switch(address)
205      {
206         case 0x0d: flip_screen_set(space->machine, data & 0x80); break;
207         default:
208            logerror("Video Register %02x called with %02x data\n",address,data);
209      }
210   }
196   coin_counter_w(0,~data & 4);
197   coin_counter_w(1,~data & 2);
198   coin_lockout_global_w(data & 1);
199   //data & 0x10 hopper-c (active LOW)
200   //data & 0x08 divider (active HIGH)
201   flip_screen_set(device->machine, ~data & 0x20);
211202}
212203
213204static const ay8910_interface ay8910_config =
r5338r5339
216207   AY8910_DEFAULT_LOADS,
217208   DEVCB_INPUT_PORT("DSW1"),
218209   DEVCB_INPUT_PORT("DSW2"),
219   DEVCB_NULL,
210   DEVCB_HANDLER(yumefuda_output_w),
220211   DEVCB_NULL
221212};
222213
214static const mc6845_interface mc6845_intf =
215{
216   "screen",   /* screen we are acting on */
217   8,         /* number of pixels per video memory address */
218   NULL,      /* before pixel update callback */
219   NULL,      /* row update callback */
220   NULL,      /* after pixel update callback */
221   DEVCB_NULL,   /* callback for display state changes */
222   DEVCB_NULL,   /* callback for cursor state changes */
223   DEVCB_NULL,   /* HSYNC callback */
224   DEVCB_NULL,   /* VSYNC callback */
225   NULL      /* update address callback */
226};
227
228static const ppi8255_interface ppi8255_intf =
229{
230   DEVCB_NULL,                  /* Port A read */
231   DEVCB_HANDLER(eeprom_r),      /* Port B read */
232   DEVCB_HANDLER(mux_r),         /* Port C read */
233   DEVCB_HANDLER(mux_w),         /* Port A write */
234   DEVCB_NULL,                  /* Port B write */
235   DEVCB_NULL                  /* Port C write */
236};
237
223238/***************************************************************************************/
224239
225240static ADDRESS_MAP_START( main_map, ADDRESS_SPACE_PROGRAM, 8 )
r5338r5339
237252
238253static ADDRESS_MAP_START( port_map, ADDRESS_SPACE_IO, 8 )
239254   ADDRESS_MAP_GLOBAL_MASK(0xff)
240   AM_RANGE(0x00, 0x01) AM_WRITE(yumefuda_videoregs_w) // HD46505SP video registers
255   AM_RANGE(0x00, 0x00) AM_DEVWRITE("crtc", mc6845_address_w)
256   AM_RANGE(0x01, 0x01) AM_DEVWRITE("crtc", mc6845_register_w)
241257   AM_RANGE(0x40, 0x40) AM_DEVREAD("ay", ay8910_r)
242258   AM_RANGE(0x40, 0x41) AM_DEVWRITE("ay", ay8910_address_data_w)
243   AM_RANGE(0x80, 0x80) AM_WRITE(mux_w)
244   AM_RANGE(0x81, 0x81) AM_READ(eeprom_r)
245   AM_RANGE(0x82, 0x82) AM_READ(mux_r)
246   AM_RANGE(0xc0, 0xc0) AM_WRITE(port_c0_w) // video timing
259   AM_RANGE(0x80, 0x83) AM_DEVREADWRITE("ppi8255_0", ppi8255_r, ppi8255_w)
260   AM_RANGE(0xc0, 0xc0) AM_WRITE(watchdog_reset_w)
247261ADDRESS_MAP_END
248262
249263static MACHINE_RESET( yumefuda )
r5338r5339
256270static MACHINE_DRIVER_START( yumefuda )
257271
258272   /* basic machine hardware */
259   MDRV_CPU_ADD("maincpu", Z80 , 6000000) /*???*/
273   MDRV_CPU_ADD("maincpu", Z80 , MASTER_CLOCK/2) /* xtal is 12 Mhz, unknown divider*/
260274   MDRV_CPU_PROGRAM_MAP(main_map)
261275   MDRV_CPU_IO_MAP(port_map)
262276   MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
r5338r5339
264278   MDRV_MACHINE_RESET(yumefuda)
265279   MDRV_NVRAM_HANDLER(93C46)
266280
281   MDRV_WATCHDOG_VBLANK_INIT(8) // timing is unknown
282
283   MDRV_PPI8255_ADD( "ppi8255_0", ppi8255_intf )
284
267285   /* video hardware */
268286   MDRV_SCREEN_ADD("screen", RASTER)
269287   MDRV_SCREEN_REFRESH_RATE(60)
r5338r5339
272290   MDRV_SCREEN_SIZE(32*8, 32*8)
273291   MDRV_SCREEN_VISIBLE_AREA(0, 32*8-1, 0, 32*8-1)
274292
293   MDRV_MC6845_ADD("crtc", H46505, MASTER_CLOCK/16, mc6845_intf)   /* hand tuned to get ~60 fps */
294
275295   MDRV_GFXDECODE( yumefuda )
276296   MDRV_PALETTE_LENGTH(0x80)
277297
r5338r5339
281301   /* sound hardware */
282302   MDRV_SPEAKER_STANDARD_MONO("mono")
283303
284   MDRV_SOUND_ADD("ay", AY8910, 1500000)
304   MDRV_SOUND_ADD("ay", AY8910, MASTER_CLOCK/16) /* guessed to use the same xtal as the crtc */
285305   MDRV_SOUND_CONFIG(ay8910_config)
286306   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
287307MACHINE_DRIVER_END
r5338r5339
289309/***************************************************************************************/
290310
291311static INPUT_PORTS_START( yumefuda )
292   PORT_START( "IN0")
312   PORT_START("SYSTEM")
313   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_NAME("Reset SW") //doesn't work?
314   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("Meter SW")
315   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
316   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Coin Out")
317   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Pay Out")
318   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE3 ) PORT_NAME("Init SW")
319   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SPECIAL ) //eeprom read bit
320   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
321
322   PORT_START("IN0")
293323   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 Flip-Flop")  PORT_CODE(KEYCODE_F)
294   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Coupon Credit") PORT_CODE(KEYCODE_7) PORT_IMPULSE(2) //coupon
295   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Note Credit")   PORT_CODE(KEYCODE_6) PORT_IMPULSE(2) //note
324   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_NAME("Coupon") PORT_IMPULSE(2) //coupon
325   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_NAME("Note") PORT_IMPULSE(2)  //note
296326   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)
297327   PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
298328
299   PORT_START( "IN1")
329   PORT_START("IN1")
300330   PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_UNUSED )
301331   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("P1 Button 1") PORT_CODE(KEYCODE_Z) PORT_CONDITION("DSW2", 0x08, PORTCOND_EQUALS, 0x08)
302332   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("P1 Button 2") PORT_CODE(KEYCODE_X) PORT_CONDITION("DSW2", 0x08, PORTCOND_EQUALS, 0x08)
r5338r5339
307337   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("P1 Start") PORT_CONDITION("DSW2", 0x08, PORTCOND_EQUALS, 0x00)
308338   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DSW2", 0x08, PORTCOND_EQUALS, 0x00)
309339
310   PORT_START( "IN2")
340   PORT_START("IN2")
311341   PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_UNUSED )
312342   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("P1 Button 5") PORT_CODE(KEYCODE_B) PORT_CONDITION("DSW2", 0x08, PORTCOND_EQUALS, 0x08)
313343   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("P1 No Button") PORT_CODE(KEYCODE_A) PORT_CONDITION("DSW2", 0x08, PORTCOND_EQUALS, 0x08)
r5338r5339
318348   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("P1 Button 1") PORT_CODE(KEYCODE_Z) PORT_CONDITION("DSW2", 0x08, PORTCOND_EQUALS, 0x00)
319349   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("P1 Button 4") PORT_CODE(KEYCODE_V) PORT_CONDITION("DSW2", 0x08, PORTCOND_EQUALS, 0x00)
320350
321   PORT_START( "IN3")
351   PORT_START("IN3")
322352   PORT_BIT( 0x9f, IP_ACTIVE_LOW, IPT_UNUSED )
323353   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("P1 Start") PORT_CONDITION("DSW2", 0x08, PORTCOND_EQUALS, 0x08)
324354   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("P1 BET Button") PORT_CODE(KEYCODE_2) PORT_CONDITION("DSW2", 0x08, PORTCOND_EQUALS, 0x08)
r5338r5339
326356   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("P1 Button 5") PORT_CODE(KEYCODE_B) PORT_CONDITION("DSW2", 0x08, PORTCOND_EQUALS, 0x00)
327357
328358   /* Some bits of these three are actually used if you use the Royal Panel type */
329   PORT_START( "IN4")
359   PORT_START("IN4")
330360   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
331361
332    PORT_START( "IN5")
362   PORT_START("IN5")
333363   PORT_BIT( 0x9f, IP_ACTIVE_LOW, IPT_UNUSED )
334364   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DSW2", 0x08, PORTCOND_EQUALS, 0x08)
335365   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DSW2", 0x08, PORTCOND_EQUALS, 0x08)
336366   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("P1 No Button") PORT_CODE(KEYCODE_A) PORT_CONDITION("DSW2", 0x08, PORTCOND_EQUALS, 0x00)
337367   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("P1 Yes Button") PORT_CODE(KEYCODE_Q) PORT_CONDITION("DSW2", 0x08, PORTCOND_EQUALS, 0x00)
338368
339    PORT_START( "IN6")
369   PORT_START("IN6")
340370   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
341371
342372    /*Unused,on the PCB there's just one bank*/
343    PORT_START("DSW1")
373   PORT_START("DSW1")
344374   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
345375
346376   /*Added by translating the manual*/
347    PORT_START("DSW2")
377   PORT_START("DSW2")
348378   PORT_DIPNAME( 0x01, 0x01, "Learn Mode" )//SW Dip-Switches
349379   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
350380   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
351   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Service_Mode ) )
352   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
353   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
381   PORT_SERVICE( 0x02, IP_ACTIVE_LOW )
354382   PORT_DIPNAME( 0x04, 0x04, "Hopper Payout" )
355383   PORT_DIPSETTING(    0x04, "Hanafuda Type" )//hanaawase
356384   PORT_DIPSETTING(    0x00, "Royal Type" )
357      PORT_DIPNAME( 0x08, 0x08, "Panel Type" )
358    PORT_DIPSETTING(    0x08, "Hanafuda Panel" )//hanaawase
359    PORT_DIPSETTING(    0x00, "Royal Panel" )
360    PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) )
361    PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
362    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
363    PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) )
364    PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
365    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
366    PORT_DIPNAME( 0x40, 0x00, DEF_STR( Flip_Screen ) )//Screen Orientation
367    PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
368    PORT_DIPSETTING(    0x00, DEF_STR( On ) )
369    PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )//Screen Flip
370    PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
371    PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )//pressing Flip-Flop button makes the screen flip
385   PORT_DIPNAME( 0x08, 0x08, "Panel Type" )
386   PORT_DIPSETTING(    0x08, "Hanafuda Panel" )//hanaawase
387   PORT_DIPSETTING(    0x00, "Royal Panel" )
388   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) )
389   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
390   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
391   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) )
392   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
393   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
394   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Flip_Screen ) )//Screen Orientation
395   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
396   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
397   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )//Screen Flip
398   PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
399   PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )//pressing Flip-Flop button makes the screen flip
372400INPUT_PORTS_END
373401
374402/***************************************************************************************/
r5338r5339
386414   ROM_LOAD("zg001003.u3", 0xc000, 0x4000, CRC(5822ff27) SHA1(d40fa0790de3c912f770ef8f610bd8c42bc3500f))
387415ROM_END
388416
389GAME( 1991, yumefuda, 0, yumefuda, yumefuda, 0, ROT0, "Alba", "(Medal) Yumefuda [BET]", 0 )
417GAME( 1991, yumefuda, 0, yumefuda, yumefuda, 0, ROT0, "Alba", "(Medal) Yumefuda [BET]", GAME_NO_COCKTAIL )
src/mame/drivers/sstrangr.c
r5338r5339
275275   ROM_LOAD( "hss-08.65",     0x1c00, 0x0400, CRC(bd14d0b0) SHA1(9665f639afef9c1291f2efc054216ff44c595b45) )
276276ROM_END
277277
278ROM_START( sstrngr2 )
278ROM_START( sstrangr2 )
279279   ROM_REGION( 0x10000, "maincpu", 0 )
280280   ROM_LOAD( "4764.09",      0x0000, 0x2000, CRC(d88f86cc) SHA1(9f284ee50caf3c64bd04a79a798de620348881bc) )
281281   ROM_LOAD( "2708.10",      0x6000, 0x0400, CRC(eba304c1) SHA1(3fa6fbb29fa46c146283f69a712bfc51cbb2a43c) )
r5338r5339
286286
287287
288288GAME( 1978, sstrangr, 0,        sstrangr, sstrangr, 0, ROT270, "Yachiyo Electronics, Ltd.", "Space Stranger", GAME_NO_SOUND )
289GAME( 1979, sstrngr2, sstrangr, sstrngr2, sstrngr2, 0, ROT270, "Yachiyo Electronics, Ltd.", "Space Stranger 2", GAME_NO_SOUND )
289GAME( 1979, sstrangr2,sstrangr, sstrngr2, sstrngr2, 0, ROT270, "Yachiyo Electronics, Ltd.", "Space Stranger 2", GAME_NO_SOUND )
src/mame/drivers/starwars.c
r5338r5339
376376 *
377377 *************************************/
378378
379ROM_START( starwar1 )
379ROM_START( starwars1 )
380380   ROM_REGION( 0x12000, "maincpu", 0 )     /* 2 64k ROM spaces */
381381   ROM_LOAD( "136021.105",   0x3000, 0x1000, CRC(538e7d2f) SHA1(032c933fd94a6b0b294beee29159a24494ae969b) ) /* 3000-3fff is 4k vector rom */
382382   ROM_LOAD( "136021.114",   0x6000, 0x2000, CRC(e75ff867) SHA1(3a40de920c31ffa3c3e67f3edf653b79fcc5ddd7) )   /* ROM 0 bank pages 0 and 1 */
r5338r5339
563563 *************************************/
564564
565565GAME( 1983, starwars, 0,        starwars, starwars, starwars, ROT0, "Atari", "Star Wars (rev 2)", 0 )
566GAME( 1983, starwar1, starwars, starwars, starwars, starwars, ROT0, "Atari", "Star Wars (rev 1)", 0 )
566GAME( 1983, starwars1,starwars, starwars, starwars, starwars, ROT0, "Atari", "Star Wars (rev 1)", 0 )
567567GAME( 1983, tomcatsw, tomcat,   starwars, starwars, starwars, ROT0, "Atari", "TomCat (Star Wars hardware, prototype)", GAME_NO_SOUND )
568568GAME( 1985, esb,      0,        starwars, esb,      esb,      ROT0, "Atari Games", "The Empire Strikes Back", 0 )
src/mame/drivers/sidepckt.c
r5338r5339
336336    ROM_LOAD( "dh-08.bpr",    0x0100, 0x0100, CRC(cdf2180f) SHA1(123215d096f88b66396d40d7a579380d0b5b2b89) )
337337ROM_END
338338
339ROM_START( sidepctj )
339ROM_START( sidepcktj )
340340    ROM_REGION( 0x10000, "maincpu", 0 )
341341    ROM_LOAD( "dh00.bin",     0x00000, 0x10000, CRC(a66bc28d) SHA1(cd62ce1dce6fe42d9745eec50d11e86b076d28e1) )
342342
r5338r5339
361361    ROM_LOAD( "dh-08.bpr",    0x0100, 0x0100, CRC(cdf2180f) SHA1(123215d096f88b66396d40d7a579380d0b5b2b89) )
362362ROM_END
363363
364ROM_START( sidepctb )
364ROM_START( sidepcktb )
365365    ROM_REGION( 0x10000, "maincpu", 0 )
366366    ROM_LOAD( "sp_09.bin",    0x04000, 0x4000, CRC(3c6fe54b) SHA1(4025ac48d75f171f4c979d3fcd6a2f8da18cef4f) )
367367    ROM_LOAD( "sp_08.bin",    0x08000, 0x8000, CRC(347f81cd) SHA1(5ab06130f35788e51a881cc0f387649532145bd6) )
r5338r5339
399399
400400
401401GAME( 1986, sidepckt, 0,        sidepckt, sidepckt, sidepckt, ROT0, "Data East Corporation", "Side Pocket (World)", 0 )
402GAME( 1986, sidepctj, sidepckt, sidepckt, sidepckt, sidepctj, ROT0, "Data East Corporation", "Side Pocket (Japan)", 0 )
403GAME( 1986, sidepctb, sidepckt, sidepckt, sidepckt, 0,        ROT0, "bootleg", "Side Pocket (bootleg)", 0 )
402GAME( 1986, sidepcktj,sidepckt, sidepckt, sidepckt, sidepctj, ROT0, "Data East Corporation", "Side Pocket (Japan)", 0 )
403GAME( 1986, sidepcktb,sidepckt, sidepckt, sidepckt, 0,        ROT0, "bootleg", "Side Pocket (bootleg)", 0 )
src/mame/drivers/backfire.c
r5338r5339
158158               colour,
159159               fx,fy,
160160               x,y + mult * multi,
161               priority_bitmap,pri,0);
161               machine->priority_bitmap,pri,0);
162162
163163         multi--;
164164      }
r5338r5339
181181   if (screen == left_screen)
182182   {
183183
184      bitmap_fill(priority_bitmap,NULL,0);
184      bitmap_fill(screen->machine->priority_bitmap,NULL,0);
185185      bitmap_fill(bitmap,cliprect,0x100);
186186
187187      if (backfire_left_priority[0] == 0)
r5338r5339
201201   }
202202   else if (screen == right_screen)
203203   {
204      bitmap_fill(priority_bitmap,NULL,0);
204      bitmap_fill(screen->machine->priority_bitmap,NULL,0);
205205      bitmap_fill(bitmap,cliprect,0x500);
206206
207207      if (backfire_right_priority[0] == 0)
r5338r5339
593593   ROM_LOAD( "gal16v8b.12n", 0x0400, 0x0117, NO_DUMP ) /* PAL is read protected */
594594ROM_END
595595
596ROM_START( backfira )
596ROM_START( backfirea )
597597   ROM_REGION( 0x100000, "maincpu", 0 ) /* DE156 code (encrypted) */
598598   ROM_LOAD32_WORD( "rb-00h.h2",    0x000002, 0x080000, CRC(60973046) SHA1(e70d9be9cb172920da2a2ac9d317768b1438c59d) )
599599   ROM_LOAD32_WORD( "rb-01l.h3",    0x000000, 0x080000, CRC(27472f60) SHA1(d73b1e68dc51e28b1148db39ce22bd2e93f6fd0a) )
r5338r5339
672672}
673673
674674GAME( 1995, backfire, 0,        backfire,      backfire, backfire, ROT0, "Data East Corporation", "Backfire! (set 1)", 0 )
675GAME( 1995, backfira, backfire, backfire,      backfire, backfire, ROT0, "Data East Corporation", "Backfire! (set 2)", 0 ) // defaults to wheel controls, must change to joystick to play
675GAME( 1995, backfirea,backfire, backfire,      backfire, backfire, ROT0, "Data East Corporation", "Backfire! (set 2)", 0 ) // defaults to wheel controls, must change to joystick to play
src/mame/drivers/exerion.c
r5338r5339
483483
484484GAME( 1983, exerion,  0,       exerion, exerion, exerion,  ROT90, "Jaleco", "Exerion", 0 )
485485GAME( 1983, exeriont, exerion, exerion, exerion, exerion,  ROT90, "Jaleco (Taito America license)", "Exerion (Taito)", 0 )
486GAME( 1983, exerionb, exerion, exerion, exerion, exerionb, ROT90, "Jaleco", "Exerion (bootleg)", 0 )
486GAME( 1983, exerionb, exerion, exerion, exerion, exerionb, ROT90, "bootleg", "Exerion (bootleg)", 0 )
src/mame/drivers/segas18.c
r5338r5339
12731273
12741274   /* video hardware */
12751275   MDRV_SCREEN_ADD("screen", RASTER)
1276   MDRV_SCREEN_REFRESH_RATE(60)
1276   MDRV_SCREEN_REFRESH_RATE(57.23)    /* verified on pcb */
12771277   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
12781278   MDRV_SCREEN_SIZE(342,262)
12791279   MDRV_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0*8, 28*8-1)
r5338r5339
15291529    CPU: FD1094 (317-0175)
15301530    ROM Board: 171-????
15311531*/
1532ROM_START( cltchtrj )
1532ROM_START( cltchitrj )
15331533   ROM_REGION( 0x300000, "maincpu", 0 ) /* 68000 code */
15341534   ROM_LOAD16_BYTE( "epr13783.a4", 0x000000, 0x40000, CRC(e2a1d5af) SHA1(cb6710fe2093889d5d159eaf55a3bd95c6f2ef87) )
15351535   ROM_LOAD16_BYTE( "epr13796.a6", 0x000001, 0x40000, CRC(06001c67) SHA1(3aa48631013e6dc55e4c1d222b465e6b41ece36b) )
r5338r5339
20582058    CPU: 68000
20592059    ROM Board: 171-5873B
20602060*/
2061ROM_START( shdancej )
2061ROM_START( shdancerj )
20622062   ROM_REGION( 0x080000, "maincpu", 0 ) /* 68000 code */
20632063   ROM_LOAD16_BYTE( "epr12722b.a6",  0x000000, 0x40000, CRC(c00552a2) SHA1(74fddfe596bc00bc11c4a06e2103417e8fd334f6) )
20642064   ROM_LOAD16_BYTE( "epr12721b.a5",  0x000001, 0x40000, CRC(653d351a) SHA1(1a03a154cb81a5a2f28c38aecdd6b5d107ea7ffa) )
r5338r5339
20882088    CPU: 68000
20892089    ROM Board: 171-5873B
20902090*/
2091ROM_START( shdance1 )
2091ROM_START( shdancer1 )
20922092   ROM_REGION( 0x080000, "maincpu", 0 ) /* 68000 code */
20932093   ROM_LOAD16_BYTE( "epr12772b.a6",  0x000000, 0x40000, CRC(6868a4d4) SHA1(f0d142c81fe1eba4f5c59a0163e25c80ccfe85d7) )
20942094   ROM_LOAD16_BYTE( "epr12771b.a5",  0x000001, 0x40000, CRC(04e30c84) SHA1(6c5705f7de6ee1bd754b51988cc7d1008f817c78) )
r5338r5339
22472247GAME( 1990, astormj,  astorm,   system18,      astorm2p, generic_5874, ROT0,   "Sega",    "Alien Storm (set 1, Japan, 2 Players, FD1094 317-0146)", 0 )
22482248GAME( 1989, bloxeed,  0,        system18,      bloxeed,  generic_5874, ROT0,   "Sega",    "Bloxeed (Japan, FD1094 317-0139)", 0 )   /* released in 01.1990 */
22492249GAME( 1991, cltchitr, 0,        system18,      cltchitr, generic_5987, ROT0,   "Sega",    "Clutch Hitter (set 2, US, FD1094 317-0176)", 0 )
2250GAME( 1991, cltchtrj, cltchitr, system18,      cltchitr, generic_5987, ROT0,   "Sega",    "Clutch Hitter (set 1, Japan, FD1094 317-0175)", 0 )
2250GAME( 1991, cltchitrj,cltchitr, system18,      cltchitr, generic_5987, ROT0,   "Sega",    "Clutch Hitter (set 1, Japan, FD1094 317-0175)", 0 )
22512251GAME( 1992, desertbr, 0,        system18,      desertbr, generic_5987, ROT270, "Sega",    "Desert Breaker (FD1094 317-0196)", 0 )
22522252GAME( 1991, ddcrew,   0,        system18,      ddcrew,   ddcrew,       ROT0,   "Sega",    "D. D. Crew (set 4, World, 3 Player, FD1094 317-0190)", 0 )
22532253GAME( 1991, ddcrewu,  ddcrew,   system18,      ddcrew,   ddcrew,       ROT0,   "Sega",    "D. D. Crew (set 3, US, 4 Player, FD1094 317-0186)", 0 )
r5338r5339
22612261GAME( 1990, mwalkj,   mwalk,    system18_8751, mwalk,    generic_5874, ROT0,   "Sega",    "Michael Jackson's Moonwalker (set 1, Japan, FD1094/8751 317-0157)", 0 )
22622262GAME( 1989, pontoon,  0,        system18,      shdancer, generic_5874, ROT0,   "Sega",    "Pontoon", GAME_NOT_WORKING )
22632263GAME( 1989, shdancer, 0,        system18,      shdancer, generic_shad, ROT0,   "Sega",    "Shadow Dancer (set 3, US)" , 0 )
2264GAME( 1989, shdancej, shdancer, system18,      shdancer, generic_shad, ROT0,   "Sega",    "Shadow Dancer (set 2, Japan)", 0 )
2265GAME( 1989, shdance1, shdancer, system18,      shdancer, generic_shad, ROT0,   "Sega",    "Shadow Dancer (set 1)", 0 )
2264GAME( 1989, shdancerj,shdancer, system18,      shdancer, generic_shad, ROT0,   "Sega",    "Shadow Dancer (set 2, Japan)", 0 )
2265GAME( 1989, shdancer1,shdancer, system18,      shdancer, generic_shad, ROT0,   "Sega",    "Shadow Dancer (set 1)", 0 )
22662266GAME( 1992, wwallyj,  0,        system18,      wwally,   wwally,       ROT0,   "Sega",    "Wally wo Sagase! (rev B, Japan, FD1094 317-0197B)" , 0) /* the roms do contain an english logo so maybe there is a world / us set too */
22672267GAME( 1992, wwallyja, wwallyj,  system18,      wwally,   wwally,       ROT0,   "Sega",    "Wally wo Sagase! (rev A, Japan, FD1094 317-0197A)", 0 )
src/mame/drivers/ltcasino.c
r5338r5339
8080
8181static INPUT_PORTS_START( ltcasino )
8282   PORT_START("IN0") /* Q in service */
83   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Hold 1")
84   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Hold 2")
85   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Hold 3")
86   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Hold 4")
87   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Hold 5")
83   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
84   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
85   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
86   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
87   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
8888   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) ) //off to enter service
8989   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
9090   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
r5338r5339
254254   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 )
255255   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON7 )
256256   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON8 )
257
258257INPUT_PORTS_END
259258
260259static INPUT_PORTS_START( ltcasinn )
r5338r5339
446445   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 )
447446   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON7 )
448447   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON8 )
449
450448INPUT_PORTS_END
451449
452450
453451static INPUT_PORTS_START( mv4in1 )
454452   PORT_START("IN0")
455   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Hold 1")
456   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Hold 2")
457   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Hold 3")
458   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Hold 4")
459   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Hold 5")
453   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
454   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
455   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
456   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
457   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
460458
461459   PORT_DIPNAME( 0x20, 0x00, "Dice" )
462460   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
r5338r5339
592590   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
593591   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
594592
595
596593   PORT_START("BUTTONS")
597594   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
598595   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 )
r5338r5339
602599   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 )
603600   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON7 )
604601   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON8 )
605
606602INPUT_PORTS_END
607603
608604
src/mame/drivers/tutankhm.c
r5338r5339
244244ROM_END
245245
246246
247ROM_START( tutankst )
247ROM_START( tutankhms )
248248    /* ROMS located on the KT-3203-1B board. */
249249   ROM_REGION( 0x20000, "maincpu", 0 )      /* 64k for M6809 CPU code + 64k for ROM banks */
250250   ROM_LOAD( "m1.1h", 0x0a000, 0x1000, CRC(da18679f) SHA1(8d2a3665db937d0e1d19300ae22277d9db61fcbc) ) /* program ROMs */
r5338r5339
279279 *************************************/
280280
281281GAME( 1982, tutankhm, 0,        tutankhm, tutankhm, 0, ROT90, "Konami", "Tutankham", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_GRAPHICS)
282GAME( 1982, tutankst, tutankhm, tutankhm, tutankhm, 0, ROT90, "[Konami] (Stern license)", "Tutankham (Stern)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_GRAPHICS)
282GAME( 1982, tutankhms,tutankhm, tutankhm, tutankhm, 0, ROT90, "[Konami] (Stern license)", "Tutankham (Stern)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_GRAPHICS)
src/mame/drivers/intrscti.c
r5338r5339
128128   }
129129}
130130
131GAME( 19??, intrscti,  0,    intrscti, intrscti, intrscti, ROT0, "Unknown", "Intersecti", GAME_NO_SOUND|GAME_NOT_WORKING )
131GAME( 19??, intrscti,  0,    intrscti, intrscti, intrscti, ROT0, "<unknown>", "Intersecti", GAME_NO_SOUND|GAME_NOT_WORKING )
src/mame/drivers/photoply.c
r0r5339
1/*******************************************************************************************************
2
3Photo Play (c) 199? Funworld
4
5Preliminary driver by Angelo Salese
6
7TODO:
8- asserts with "i386: Invalid REP/opcode 2E combination", but it puts something if you disable that
9  assert (i386\i386ops.c, line:1083), what is the cause?
10- Puts "BIOS ROM checksum error" on POST just like California Chase, maybe a CPU bug or missing MMU?
11- Puts a FDC error, needs a DASM investigation / work-around.
12
13*******************************************************************************************************/
14
15#include "driver.h"
16#include "cpu/i386/i386.h"
17#include "memconv.h"
18#include "devconv.h"
19#include "machine/8237dma.h"
20#include "machine/pic8259.h"
21#include "machine/pit8253.h"
22#include "machine/mc146818.h"
23#include "machine/pcshare.h"
24#include "machine/pci.h"
25#include "machine/8042kbdc.h"
26#include "machine/pckeybrd.h"
27#include "machine/idectrl.h"
28
29static UINT32 *vga_vram;
30static UINT8 vga_regs[0x19];
31
32#define SET_VISIBLE_AREA(_x_,_y_) \
33   { \
34   rectangle visarea = *video_screen_get_visible_area(machine->primary_screen); \
35   visarea.min_x = 0; \
36   visarea.max_x = _x_-1; \
37   visarea.min_y = 0; \
38   visarea.max_y = _y_-1; \
39   video_screen_configure(machine->primary_screen, _x_, _y_, &visarea, video_screen_get_frame_period(machine->primary_screen).attoseconds ); \
40   } \
41
42#define RES_320x200 0
43#define RES_640x200 1
44
45static VIDEO_START(photoply)
46{
47}
48
49static void cga_alphanumeric_tilemap(running_machine *machine, bitmap_t *bitmap,const rectangle *cliprect,UINT16 size,UINT32 map_offs,UINT8 gfx_num)
50{
51   static UINT32 offs,x,y,max_x,max_y;
52   int tile,color;
53
54   /*define the visible area*/
55   switch(size)
56   {
57      case RES_320x200:
58         SET_VISIBLE_AREA(320,200);
59         max_x = 40;
60         max_y = 25;
61         break;
62      case RES_640x200:
63         SET_VISIBLE_AREA(640,200);
64         max_x = 80;
65         max_y = 25;
66         break;
67   }
68
69   offs = map_offs;
70
71   for(y=0;y<max_y;y++)
72      for(x=0;x<max_x;x+=2)
73      {
74         tile =  (vga_vram[offs] & 0x00ff0000)>>16;
75         color = (vga_vram[offs] & 0xff000000)>>24;
76
77         drawgfx_opaque(bitmap,cliprect,machine->gfx[gfx_num],
78               tile,
79               color,
80               0,0,
81               (x+1)*8,y*8);
82
83
84         tile =  (vga_vram[offs] & 0x000000ff);
85         color = (vga_vram[offs] & 0x0000ff00)>>8;
86
87         drawgfx_opaque(bitmap,cliprect,machine->gfx[gfx_num],
88               tile,
89               color,
90               0,0,
91               (x+0)*8,y*8);
92
93         offs++;
94      }
95}
96
97
98static VIDEO_UPDATE(photoply)
99{
100   cga_alphanumeric_tilemap(screen->machine,bitmap,cliprect,RES_640x200,0x18000/4,0);
101
102   return 0;
103}
104
105static struct {
106   const device_config   *pit8253;
107   const device_config   *pic8259_1;
108   const device_config   *pic8259_2;
109   const device_config   *dma8237_1;
110   const device_config   *dma8237_2;
111} photoply_devices;
112
113/******************
114DMA8237 Controller
115******************/
116
117static UINT8 dma_offset[2][4];
118static UINT8 at_pages[0x10];
119
120static DMA8237_HRQ_CHANGED( pc_dma_hrq_changed )
121{
122   cputag_set_input_line(device->machine, "maincpu", INPUT_LINE_HALT, state ? ASSERT_LINE : CLEAR_LINE);
123
124   /* Assert HLDA */
125   dma8237_set_hlda( device, state );
126}
127
128
129static DMA8237_MEM_READ( pc_dma_read_byte )
130{
131   const address_space *space = cputag_get_address_space(device->machine, "maincpu", ADDRESS_SPACE_PROGRAM);
132   offs_t page_offset = (((offs_t) dma_offset[0][channel]) << 16)
133      & 0xFF0000;
134
135   return memory_read_byte(space, page_offset + offset);
136}
137
138
139static DMA8237_MEM_WRITE( pc_dma_write_byte )
140{
141   const address_space *space = cputag_get_address_space(device->machine, "maincpu", ADDRESS_SPACE_PROGRAM);
142   offs_t page_offset = (((offs_t) dma_offset[0][channel]) << 16)
143      & 0xFF0000;
144
145   memory_write_byte(space, page_offset + offset, data);
146}
147
148static READ8_HANDLER(dma_page_select_r)
149{
150   UINT8 data = at_pages[offset % 0x10];
151
152   switch(offset % 8)
153   {
154   case 1:
155      data = dma_offset[(offset / 8) & 1][2];
156      break;
157   case 2:
158      data = dma_offset[(offset / 8) & 1][3];
159      break;
160   case 3:
161      data = dma_offset[(offset / 8) & 1][1];
162      break;
163   case 7:
164      data = dma_offset[(offset / 8) & 1][0];
165      break;
166   }
167   return data;
168}
169
170
171static WRITE8_HANDLER(dma_page_select_w)
172{
173   at_pages[offset % 0x10] = data;
174
175   switch(offset % 8)
176   {
177   case 1:
178      dma_offset[(offset / 8) & 1][2] = data;
179      break;
180   case 2:
181      dma_offset[(offset / 8) & 1][3] = data;
182      break;
183   case 3:
184      dma_offset[(offset / 8) & 1][1] = data;
185      break;
186   case 7:
187      dma_offset[(offset / 8) & 1][0] = data;
188      break;
189   }
190}
191
192
193static const struct dma8237_interface dma8237_1_config =
194{
195   XTAL_14_31818MHz/3,
196
197   pc_dma_hrq_changed,
198   pc_dma_read_byte,
199   pc_dma_write_byte,
200
201   { NULL, NULL, NULL, NULL },
202   { NULL, NULL, NULL, NULL },
203   NULL
204};
205
206static const struct dma8237_interface dma8237_2_config =
207{
208   XTAL_14_31818MHz/3,
209
210   NULL,
211   NULL,
212   NULL,
213
214   { NULL, NULL, NULL, NULL },
215   { NULL, NULL, NULL, NULL },
216   NULL
217};
218
219
220/******************
2218259 IRQ controller
222******************/
223
224static PIC8259_SET_INT_LINE( pic8259_1_set_int_line )
225{
226   cputag_set_input_line(device->machine, "maincpu", 0, interrupt ? HOLD_LINE : CLEAR_LINE);
227}
228
229static const struct pic8259_interface pic8259_1_config = {
230   pic8259_1_set_int_line
231};
232
233static PIC8259_SET_INT_LINE( pic8259_2_set_int_line )
234{
235   pic8259_set_irq_line( photoply_devices.pic8259_1, 2, interrupt);
236}
237
238static const struct pic8259_interface pic8259_2_config = {
239   pic8259_2_set_int_line
240};
241
242static IRQ_CALLBACK(irq_callback)
243{
244   int r = 0;
245   r = pic8259_acknowledge(photoply_devices.pic8259_2);
246   if (r==0)
247   {
248      r = pic8259_acknowledge(photoply_devices.pic8259_1);
249   }
250   return r;
251}
252
253static PIT8253_OUTPUT_CHANGED( at_pit8254_out0_changed )
254{
255   if ( photoply_devices.pic8259_1 )
256   {
257      pic8259_set_irq_line(photoply_devices.pic8259_1, 0, state);
258   }
259}
260
261
262static PIT8253_OUTPUT_CHANGED( at_pit8254_out2_changed )
263{
264   //at_speaker_set_input( state ? 1 : 0 );
265}
266
267
268static const struct pit8253_config at_pit8254_config =
269{
270   {
271      {
272         4772720/4,            /* heartbeat IRQ */
273         at_pit8254_out0_changed
274      }, {
275         4772720/4,            /* dram refresh */
276         NULL
277      }, {
278         4772720/4,            /* pio port c pin 4, and speaker polling enough */
279         at_pit8254_out2_changed
280      }
281   }
282};
283
284static ADDRESS_MAP_START( photoply_map, ADDRESS_SPACE_PROGRAM, 32 )
285   AM_RANGE(0x00000000, 0x0009ffff) AM_RAM
286   AM_RANGE(0x000a0000, 0x000bffff) AM_RAM AM_BASE(&vga_vram)
287   AM_RANGE(0x000c0000, 0x000c7fff) AM_RAM AM_REGION("video_bios", 0) //???
288   AM_RANGE(0x000c8000, 0x000cffff) AM_RAM AM_REGION("video_bios", 0)
289   AM_RANGE(0x000d0000, 0x000dffff) AM_RAM AM_REGION("ex_bios", 0)
290   AM_RANGE(0x000e0000, 0x000fffff) AM_ROM AM_REGION("bios", 0)
291   AM_RANGE(0xfffe0000, 0xffffffff) AM_ROM AM_REGION("bios", 0)
292ADDRESS_MAP_END
293
294static READ32_HANDLER( kludge_r )
295{
296   return mame_rand(space->machine);
297}
298
299/* 3c8-3c9 -> ramdac*/
300static WRITE32_HANDLER( vga_ramdac_w )
301{
302   static int pal_offs,r,g,b,internal_pal_offs;
303
304   if (ACCESSING_BITS_0_7)
305   {
306      //printf("%02x X\n",data);
307      pal_offs = internal_pal_offs = data;
308   }
309   if (ACCESSING_BITS_8_15)
310   {
311      //printf("%02x\n",data);
312      data>>=8;
313      switch(internal_pal_offs)
314      {
315         case 0:
316            r = ((data & 0x3f) << 2) | ((data & 0x30) >> 4);
317            internal_pal_offs++;
318            break;
319         case 1:
320            g = ((data & 0x3f) << 2) | ((data & 0x30) >> 4);
321            internal_pal_offs++;
322            break;
323         case 2:
324            b = ((data & 0x3f) << 2) | ((data & 0x30) >> 4);
325            palette_set_color(space->machine, 0x200+pal_offs, MAKE_RGB(r, g, b));
326            internal_pal_offs = 0;
327            pal_offs++;
328            break;
329      }
330   }
331}
332
333static WRITE32_HANDLER( vga_regs_w )
334{
335   static UINT8 vga_address;
336
337   if (ACCESSING_BITS_0_7)
338      vga_address = data;
339   if (ACCESSING_BITS_8_15)
340   {
341      if(vga_address < 0x19)
342      {
343         vga_regs[vga_address] = data>>8;
344         logerror("VGA reg %02x with data %02x\n",vga_address,vga_regs[vga_address]);
345      }
346      else
347         logerror("Warning: used undefined VGA reg %02x with data %02x\n",vga_address,data>>8);
348   }
349}
350
351static ADDRESS_MAP_START( photoply_io, ADDRESS_SPACE_IO, 32 )
352   AM_RANGE(0x0000, 0x001f) AM_DEVREADWRITE8("dma8237_1", dma8237_r, dma8237_w, 0xffffffff)
353   AM_RANGE(0x0020, 0x003f) AM_DEVREADWRITE8("pic8259_1", pic8259_r, pic8259_w, 0xffffffff)
354   AM_RANGE(0x0040, 0x005f) AM_DEVREADWRITE8("pit8254", pit8253_r, pit8253_w, 0xffffffff)
355   AM_RANGE(0x0060, 0x006f) AM_READWRITE(kbdc8042_32le_r,         kbdc8042_32le_w)
356   AM_RANGE(0x0070, 0x007f) AM_RAM//READWRITE(mc146818_port32le_r,     mc146818_port32le_w)
357   AM_RANGE(0x0080, 0x009f) AM_READWRITE8(dma_page_select_r,dma_page_select_w, 0xffffffff)//TODO
358   AM_RANGE(0x00a0, 0x00bf) AM_DEVREADWRITE8("pic8259_2", pic8259_r, pic8259_w, 0xffffffff)
359   AM_RANGE(0x00c0, 0x00df) AM_DEVREADWRITE8("dma8237_2", dma8237_r, dma8237_w, 0xffff)
360   AM_RANGE(0x0278, 0x027f) AM_RAM //parallel port 2
361   AM_RANGE(0x0378, 0x037f) AM_RAM //parallel port
362   AM_RANGE(0x03c0, 0x03c3) AM_RAM
363   AM_RANGE(0x03cc, 0x03cf) AM_RAM
364   AM_RANGE(0x03b4, 0x03b7) AM_WRITE(vga_regs_w)
365   AM_RANGE(0x03c4, 0x03c7) AM_RAM //vga regs
366   AM_RANGE(0x03c8, 0x03cb) AM_WRITE(vga_ramdac_w)
367   AM_RANGE(0x03b8, 0x03bb) AM_READ(kludge_r) //hv_retrace
368   AM_RANGE(0x03c8, 0x03cb) AM_READ(kludge_r) //hv_retrace
369   AM_RANGE(0x03d4, 0x03d7) AM_WRITE(vga_regs_w)
370   AM_RANGE(0x03d8, 0x03db) AM_RAM
371   AM_RANGE(0x03bc, 0x03bf) AM_RAM //parallel port 3
372   AM_RANGE(0x03f4, 0x03f7) AM_READ(kludge_r) // fdc
373ADDRESS_MAP_END
374
375#define AT_KEYB_HELPER(bit, text, key1) \
376   PORT_BIT( bit, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME(text) PORT_CODE(key1)
377
378static INPUT_PORTS_START( photoply )
379   PORT_START("pc_keyboard_0")
380   PORT_BIT ( 0x0001, 0x0000, IPT_UNUSED )    /* unused scancode 0 */
381   AT_KEYB_HELPER( 0x0002, "Esc",          KEYCODE_Q           ) /* Esc                         01  81 */
382
383   PORT_START("pc_keyboard_1")
384   AT_KEYB_HELPER( 0x0020, "Y",            KEYCODE_Y           ) /* Y                           15  95 */
385   AT_KEYB_HELPER( 0x1000, "Enter",        KEYCODE_ENTER       ) /* Enter                       1C  9C */
386
387   PORT_START("pc_keyboard_2")
388
389   PORT_START("pc_keyboard_3")
390   AT_KEYB_HELPER( 0x0002, "N",            KEYCODE_N           ) /* N                           31  B1 */
391   AT_KEYB_HELPER( 0x0800, "F1",           KEYCODE_S           ) /* F1                          3B  BB */
392
393   PORT_START("pc_keyboard_4")
394
395   PORT_START("pc_keyboard_5")
396
397   PORT_START("pc_keyboard_6")
398   AT_KEYB_HELPER( 0x0040, "(MF2)Cursor Up",      KEYCODE_UP          ) /* Up                          67  e7 */
399   AT_KEYB_HELPER( 0x0080, "(MF2)Page Up",         KEYCODE_PGUP        ) /* Page Up                     68  e8 */
400   AT_KEYB_HELPER( 0x0100, "(MF2)Cursor Left",      KEYCODE_LEFT        ) /* Left                        69  e9 */
401   AT_KEYB_HELPER( 0x0200, "(MF2)Cursor Right",   KEYCODE_RIGHT       ) /* Right                       6a  ea */
402   AT_KEYB_HELPER( 0x0800, "(MF2)Cursor Down",      KEYCODE_DOWN        ) /* Down                        6c  ec */
403   AT_KEYB_HELPER( 0x1000, "(MF2)Page Down",      KEYCODE_PGDN        ) /* Page Down                   6d  ed */
404   AT_KEYB_HELPER( 0x4000, "Del",                 KEYCODE_A           ) /* Delete                      6f  ef */
405
406   PORT_START("pc_keyboard_7")
407INPUT_PORTS_END
408
409static const rgb_t defcolors[]=
410{
411   MAKE_RGB(0x00,0x00,0x00),
412   MAKE_RGB(0x00,0x00,0xaa),
413   MAKE_RGB(0x00,0xaa,0x00),
414   MAKE_RGB(0x00,0xaa,0xaa),
415   MAKE_RGB(0xaa,0x00,0x00),
416   MAKE_RGB(0xaa,0x00,0xaa),
417   MAKE_RGB(0xaa,0xaa,0x00),
418   MAKE_RGB(0xaa,0xaa,0xaa),
419   MAKE_RGB(0x55,0x55,0x55),
420   MAKE_RGB(0x55,0x55,0xff),
421   MAKE_RGB(0x55,0xff,0x55),
422   MAKE_RGB(0x55,0xff,0xff),
423   MAKE_RGB(0xff,0x55,0x55),
424   MAKE_RGB(0xff,0x55,0xff),
425   MAKE_RGB(0xff,0xff,0x55),
426   MAKE_RGB(0xff,0xff,0xff)
427};
428
429static PALETTE_INIT(pcat_286)
430{
431   /*Note:palette colors are 6bpp...
432    xxxx xx--
433    */
434   int ix,iy;
435
436   for(ix=0;ix<0x300;ix++)
437      palette_set_color(machine, ix,MAKE_RGB(0x00,0x00,0x00));
438
439   //regular colors
440   for(iy=0;iy<0x10;iy++)
441   {
442      for(ix=0;ix<0x10;ix++)
443      {
444         palette_set_color(machine,(ix*2)+1+(iy*0x20),defcolors[ix]);
445         palette_set_color(machine,(ix*2)+0+(iy*0x20),defcolors[iy]);
446      }
447   }
448
449   //bitmap mode
450   for(ix=0;ix<0x10;ix++)
451      palette_set_color(machine, 0x200+ix,defcolors[ix]);
452   //todo: 256 colors
453}
454
455static void photoply_set_keyb_int(running_machine *machine, int state)
456{
457   pic8259_set_irq_line(photoply_devices.pic8259_1, 1, state);
458}
459
460
461static MACHINE_START( photoply )
462{
463//  bank = -1;
464//  lastvalue = -1;
465//  hv_blank = 0;
466   cpu_set_irq_callback(cputag_get_cpu(machine, "maincpu"), irq_callback);
467   photoply_devices.pit8253 = devtag_get_device( machine, "pit8254" );
468   photoply_devices.pic8259_1 = devtag_get_device( machine, "pic8259_1" );
469   photoply_devices.pic8259_2 = devtag_get_device( machine, "pic8259_2" );
470   photoply_devices.dma8237_1 = devtag_get_device( machine, "dma8237_1" );
471   photoply_devices.dma8237_2 = devtag_get_device( machine, "dma8237_2" );
472
473   init_pc_common(machine, PCCOMMON_KEYBOARD_AT, photoply_set_keyb_int);
474   mc146818_init(machine, MC146818_STANDARD);
475}
476
477static const gfx_layout CGA_charlayout =
478{
479   8,8,
480    256,
481    1,
482    { 0 },
483    { 0,1,2,3,4,5,6,7 },
484   { 0*8,1*8,2*8,3*8,4*8,5*8,6*8,7*8 },
485    8*8
486};
487
488static GFXDECODE_START( photoply )
489   GFXDECODE_ENTRY( "video_bios", 0x6000+0xa5*8+7, CGA_charlayout,              0, 256 )
490   //there's also a 8x16 entry (just after the 8x8)
491GFXDECODE_END
492
493
494static MACHINE_DRIVER_START( photoply )
495   /* basic machine hardware */
496   MDRV_CPU_ADD("maincpu", I486, 75000000)   /* I486DX4, 75 or 100 Mhz */
497   MDRV_CPU_PROGRAM_MAP(photoply_map)
498   MDRV_CPU_IO_MAP(photoply_io)
499
500    /* video hardware */
501   MDRV_SCREEN_ADD("screen", RASTER)
502   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
503   MDRV_SCREEN_REFRESH_RATE(60)
504   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
505   MDRV_SCREEN_SIZE(64*8, 32*8)
506   MDRV_SCREEN_VISIBLE_AREA(0*8, 64*8-1, 0*8, 32*8-1)
507
508   MDRV_GFXDECODE( photoply )
509
510   MDRV_MACHINE_START(photoply)
511   MDRV_NVRAM_HANDLER( mc146818 )
512
513//  MDRV_IMPORT_FROM( at_kbdc8042 )
514   MDRV_PIC8259_ADD( "pic8259_1", pic8259_1_config )
515   MDRV_PIC8259_ADD( "pic8259_2", pic8259_2_config )
516   MDRV_DMA8237_ADD( "dma8237_1", dma8237_1_config )
517   MDRV_DMA8237_ADD( "dma8237_2", dma8237_2_config )
518   MDRV_PIT8254_ADD( "pit8254", at_pit8254_config )
519
520   MDRV_PALETTE_INIT(pcat_286)
521
522   MDRV_PALETTE_LENGTH(0x300)
523
524   MDRV_VIDEO_START(photoply)
525   MDRV_VIDEO_UPDATE(photoply)
526MACHINE_DRIVER_END
527
528
529ROM_START(photoply)
530   ROM_REGION(0x20000, "bios", 0)   /* motherboard bios */
531   ROM_LOAD("award bootblock bios v1.0.bin", 0x000000, 0x20000, CRC(e96d1bbc) SHA1(64d0726c4e9ecee8fddf4cc39d92aecaa8184d5c) )
532
533   ROM_REGION(0x10000, "ex_bios", 0) /* multifunction board with a ESS AudioDrive chip,  M27128A */
534   ROM_LOAD("enhanced bios.bin", 0x000000, 0x4000, CRC(a216404e) SHA1(c9067cf87d5c8106de00866bb211eae3a6c02c65) )
535   ROM_RELOAD(                   0x004000, 0x4000 )
536   ROM_RELOAD(                   0x008000, 0x4000 )
537   ROM_RELOAD(                   0x00c000, 0x4000 )
538
539   ROM_REGION(0x8000, "video_bios", 0 )
540   ROM_LOAD("vga.bin", 0x000000, 0x8000, CRC(7a859659) SHA1(ff667218261969c48082ec12aa91088a01b0cb2a) )
541
542   DISK_REGION( "ide" )
543   DISK_IMAGE( "photoply", 0,NO_DUMP )
544ROM_END
545
546
547GAME( 199?, photoply,  0,   photoply, photoply, 0, ROT0, "Funworld", "PhotoPlay", GAME_NOT_WORKING|GAME_NO_SOUND )
src/mame/drivers/cshooter.c
r5338r5339
583583
584584*/
585585
586ROM_START( cshootre )
586ROM_START( cshootere )
587587   ROM_REGION( 0x10000, "maincpu", 0 )   // Main CPU?
588588   ROM_LOAD( "1.k19",  0x00000, 0x08000, CRC(71418952) SHA1(9745ca006576381c9e9595d8e42ab276bab80a41) )
589589
r5338r5339
697697
698698
699699
700GAME( 1987, cshooter, 0,        cshooter, cshooter, cshooter, ROT270, "[Seibu Kaihatsu] (Taito license)",  "Cross Shooter (not encrypted)", GAME_NOT_WORKING | GAME_NO_SOUND )
701GAME( 1987, cshootre, cshooter, airraid, cshooter, cshootre, ROT270, "[Seibu Kaihatsu] (J.K.H. license)", "Cross Shooter (encrypted)", GAME_NOT_WORKING | GAME_NO_SOUND )
702GAME( 1987, airraid,  cshooter, airraid, cshooter, cshootre, ROT270, "Seibu Kaihatsu",                    "Air Raid (encrypted)", GAME_NOT_WORKING | GAME_NO_SOUND )
700GAME( 1987, cshooter,  0,       cshooter, cshooter, cshooter, ROT270, "[Seibu Kaihatsu] (Taito license)",  "Cross Shooter (not encrypted)", GAME_NOT_WORKING | GAME_NO_SOUND )
701GAME( 1987, cshootere, cshooter, airraid, cshooter, cshootre, ROT270, "[Seibu Kaihatsu] (J.K.H. license)", "Cross Shooter (encrypted)", GAME_NOT_WORKING | GAME_NO_SOUND )
702GAME( 1987, airraid,   cshooter, airraid, cshooter, cshootre, ROT270, "Seibu Kaihatsu",                    "Air Raid (encrypted)", GAME_NOT_WORKING | GAME_NO_SOUND )
703703
src/mame/drivers/aerofgt.c
r5338r5339
20012001   ROM_LOAD( "gal16v8a.ic114",  0x0a00, 0x0117, NO_DUMP )   /* read protected */
20022002ROM_END
20032003
2004ROM_START( spinlbru )
2004ROM_START( spinlbrku )
20052005   ROM_REGION( 0x60000, "maincpu", 0 )   /* 68000 code */
20062006   ROM_LOAD16_BYTE( "ic98.u5", 0x00000, 0x10000, CRC(3a0f7667) SHA1(55d5fa1a325c17532ed83d231032bdbe9fb84d85) )
20072007   ROM_LOAD16_BYTE( "ic104.u6",0x00001, 0x10000, CRC(a0e0af31) SHA1(21f6c3246bb7be2fd926324fd6d041e319a4e214) )
r5338r5339
20512051   ROM_LOAD( "gal16v8a.ic114",  0x0a00, 0x0117, NO_DUMP )   /* read protected */
20522052ROM_END
20532053
2054ROM_START( spinlbrj )
2054ROM_START( spinlbrkj )
20552055   ROM_REGION( 0x60000, "maincpu", 0 )   /* 68000 code */
20562056   ROM_LOAD16_BYTE( "j5",      0x00000, 0x10000, CRC(6a3d690e) SHA1(4ac1985ea0a73b8fc12105ff75121718595dd171) )
20572057   ROM_LOAD16_BYTE( "j6",      0x00001, 0x10000, CRC(869593fa) SHA1(5821b011d42113f247bd100cecf140bbfc1e969c) )
r5338r5339
21332133   ROM_LOAD( "u104",         0x000000, 0x100000, CRC(5795e884) SHA1(a4178497ad0a1e60ceb87612b218d77b36d2a11b) )
21342134ROM_END
21352135
2136ROM_START( karatblu )
2136ROM_START( karatblzu )
21372137   ROM_REGION( 0x80000, "maincpu", 0 )   /* 68000 code */
21382138   ROM_LOAD16_WORD_SWAP( "2.u14",   0x00000, 0x40000, CRC(202e6220) SHA1(2605511a0574cbc39fdf3d8ae27a0aa9b43345fb) )
21392139   ROM_LOAD16_WORD_SWAP( "1.u15",   0x40000, 0x40000, CRC(d16ee21b) SHA1(d454cdf22b72a537b9d7ae73deb8136a4f09da47) )
r5338r5339
21652165   ROM_LOAD( "u104",         0x000000, 0x100000, CRC(5795e884) SHA1(a4178497ad0a1e60ceb87612b218d77b36d2a11b) )
21662166ROM_END
21672167
2168ROM_START( karatblj )
2168ROM_START( karatblzj )
21692169   ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 code */
21702170   ROM_LOAD16_WORD_SWAP( "2tecmo.u14",   0x00000, 0x40000, CRC(57e52654) SHA1(15939d8f7c693b9248f3dd2b2ad5fbae2c19621f) )
21712171   ROM_LOAD16_WORD_SWAP( "1.u15",        0x40000, 0x40000, CRC(d16ee21b) SHA1(d454cdf22b72a537b9d7ae73deb8136a4f09da47) )
r5338r5339
24322432
24332433
24342434GAME( 1990, spinlbrk, 0,        spinlbrk, spinlbrk, 0, ROT0,   "V-System Co.",     "Spinal Breakers (World)", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
2435GAME( 1990, spinlbru, spinlbrk, spinlbrk, spinlbru, 0, ROT0,   "V-System Co.",     "Spinal Breakers (US)", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
2436GAME( 1990, spinlbrj, spinlbrk, spinlbrk, spinlbrk, 0, ROT0,   "V-System Co.",     "Spinal Breakers (Japan)", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
2435GAME( 1990, spinlbrku,spinlbrk, spinlbrk, spinlbru, 0, ROT0,   "V-System Co.",     "Spinal Breakers (US)", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
2436GAME( 1990, spinlbrkj,spinlbrk, spinlbrk, spinlbrk, 0, ROT0,   "V-System Co.",     "Spinal Breakers (Japan)", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
24372437GAME( 1991, pspikes,  0,        pspikes,  pspikes,  0, ROT0,   "Video System Co.", "Power Spikes (World)", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
24382438GAME( 1991, pspikesk, pspikes,  pspikes,  pspikes,  0, ROT0,   "Video System Co.", "Power Spikes (Korea)", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
24392439GAME( 1991, svolly91, pspikes,  pspikes,  pspikes,  0, ROT0,   "Video System Co.", "Super Volley '91 (Japan)", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
r5338r5339
24412441GAME( 1991, spikes91, pspikes,  spikes91, pspikes,  0, ROT0,   "bootleg",          "1991 Spikes (Italian bootleg)", GAME_SUPPORTS_SAVE | GAME_NO_SOUND | GAME_NO_COCKTAIL )
24422442GAME( 1991, pspikesc, pspikes,  pspikesc, pspikesc, 0, ROT0,   "bootleg",          "Power Spikes (China)", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL | GAME_IMPERFECT_SOUND )
24432443GAME( 1991, karatblz, 0,        karatblz, karatblz, 0, ROT0,   "Video System Co.", "Karate Blazers (World)", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
2444GAME( 1991, karatblu, karatblz, karatblz, karatblz, 0, ROT0,   "Video System Co.", "Karate Blazers (US)", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
2445GAME( 1991, karatblj, karatblz, karatblz, karatblz, 0, ROT0,   "Video System Co.", "Karate Blazers (Japan)", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
2444GAME( 1991, karatblzu,karatblz, karatblz, karatblz, 0, ROT0,   "Video System Co.", "Karate Blazers (US)", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
2445GAME( 1991, karatblzj,karatblz, karatblz, karatblz, 0, ROT0,   "Video System Co.", "Karate Blazers (Japan)", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
24462446GAME( 1991, turbofrc, 0,        turbofrc, turbofrc, 0, ROT270, "Video System Co.", "Turbo Force", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
24472447GAME( 1992, aerofgt,  0,        aerofgt,  aerofgt,  0, ROT270, "Video System Co.", "Aero Fighters", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
24482448GAME( 1992, aerofgtb, aerofgt,  aerofgtb, aerofgtb, 0, ROT270, "Video System Co.", "Aero Fighters (Turbo Force hardware set 1)", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
src/mame/drivers/rocnrope.c
r5338r5339
231231    ROM_LOAD( "h100.6g",      0x0000, 0x0001, NO_DUMP ) /* 20 Pin chip.  Appears to be a PAL.  Schematics obsfucated. */
232232ROM_END
233233
234ROM_START( rocnropk )
234ROM_START( rocnropek )
235235   ROM_REGION( 0x10000, "maincpu", 0 )
236236   ROM_LOAD( "rnr_h1.vid",   0x6000, 0x2000, CRC(0fddc1f6) SHA1(a9c6c033799883dc45eaa448387d4f0728b9e47e) )
237237   ROM_LOAD( "rnr_h2.vid",   0x8000, 0x2000, CRC(ce9db49a) SHA1(7a6ffb65cb65aa90e953706ee67c6ae91322ebf6) )
r5338r5339
278278
279279
280280GAME( 1983, rocnrope, 0,        rocnrope, rocnrope, rocnrope, ROT270, "Konami", "Roc'n Rope", 0 )
281GAME( 1983, rocnropk, rocnrope, rocnrope, rocnrope, rocnropk, ROT270, "Konami + Kosuka", "Roc'n Rope (Kosuka)", 0 )
281GAME( 1983, rocnropek,rocnrope, rocnrope, rocnrope, rocnropk, ROT270, "Konami + Kosuka", "Roc'n Rope (Kosuka)", 0 )
src/mame/drivers/quakeat.c
r5338r5339
4848Quantum3D's GCI (Game Control Interface) - a unique, low-cost subsystem
4949    designed to interface coin-op and industrial input/output control devices to a PC
5050
51===============================================================================
52TODO:
53    * Add BIOS dump (custom 440LX motherboard or standard?)
54    * Hook up PC hardware
55    * Hook up the GCI (details? ROMs?)
56    * What's the dongle do?
57===============================================================================
5158*/
5259
5360#include "driver.h"
5461#include "cpu/i386/i386.h"
62#include "machine/pic8259.h"
63/* Insert IBM PC includes here */
5564
5665static VIDEO_START(quake)
5766{
r5338r5339
6271   return 0;
6372}
6473
74static struct {
75   const device_config   *pic8259_1;
76   const device_config   *pic8259_2;
77} quakeat_devices;
78
6579static ADDRESS_MAP_START( quake_map, ADDRESS_SPACE_PROGRAM, 32 )
66   AM_RANGE(0x00000000, 0x0001ffff) AM_ROM
80   AM_RANGE(0x00000000, 0x0000ffff) AM_ROM AM_REGION("pc_bios", 0) /* BIOS */
6781ADDRESS_MAP_END
6882
83static ADDRESS_MAP_START( quake_io, ADDRESS_SPACE_IO, 32 )
84//  AM_RANGE(0x0000, 0x001f) AM_DEVREADWRITE8("dma8237_1", dma8237_r, dma8237_w, 0xffffffff)
85   AM_RANGE(0x0020, 0x003f) AM_DEVREADWRITE8("pic8259_1", pic8259_r, pic8259_w, 0xffffffff)
86//  AM_RANGE(0x0040, 0x005f) AM_DEVREADWRITE8("pit8254", pit8253_r, pit8253_w, 0xffffffff)
87//  AM_RANGE(0x0060, 0x006f) AM_READWRITE(kbdc8042_32le_r,          kbdc8042_32le_w)
88//  AM_RANGE(0x0070, 0x007f) AM_READWRITE(mc146818_port32le_r,      mc146818_port32le_w)
89//  AM_RANGE(0x0080, 0x009f) AM_READWRITE(at_page32_r,              at_page32_w)
90   AM_RANGE(0x00a0, 0x00bf) AM_DEVREADWRITE8("pic8259_2", pic8259_r, pic8259_w, 0xffffffff)
91//  AM_RANGE(0x00c0, 0x00df) AM_DEVREADWRITE("dma8237_2", at32_dma8237_2_r, at32_dma8237_2_w)
92   AM_RANGE(0x00e8, 0x00eb) AM_NOP
93//  AM_RANGE(0x01f0, 0x01f7) AM_DEVREADWRITE("ide", ide_r, ide_w)
94   AM_RANGE(0x0300, 0x03af) AM_NOP
95   AM_RANGE(0x03b0, 0x03df) AM_NOP
96//  AM_RANGE(0x0278, 0x027b) AM_WRITE(pnp_config_w)
97//  AM_RANGE(0x03f0, 0x03ff) AM_DEVREADWRITE("ide", fdc_r, fdc_w)
98//  AM_RANGE(0x0a78, 0x0a7b) AM_WRITE(pnp_data_w)
99//  AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_32le_r,  pci_32le_w)
100ADDRESS_MAP_END
101
102/*************************************************************
103 *
104 * pic8259 configuration
105 *
106 *************************************************************/
107
108static PIC8259_SET_INT_LINE( quakeat_pic8259_1_set_int_line )
109{
110   cputag_set_input_line(device->machine, "maincpu", 0, interrupt ? HOLD_LINE : CLEAR_LINE);
111}
112
113
114static PIC8259_SET_INT_LINE( quakeat_pic8259_2_set_int_line )
115{
116   pic8259_set_irq_line( quakeat_devices.pic8259_1, 2, interrupt);
117}
118
119
120static const struct pic8259_interface quakeat_pic8259_1_config = {
121   quakeat_pic8259_1_set_int_line
122};
123
124
125static const struct pic8259_interface quakeat_pic8259_2_config = {
126   quakeat_pic8259_2_set_int_line
127};
128
129/*************************************************************/
130
69131static INPUT_PORTS_START( quake )
70132INPUT_PORTS_END
71133
134/*************************************************************/
72135
136static IRQ_CALLBACK(irq_callback)
137{
138   int r = 0;
139   r = pic8259_acknowledge( quakeat_devices.pic8259_2);
140   if (r==0)
141   {
142      r = pic8259_acknowledge( quakeat_devices.pic8259_1);
143   }
144   return r;
145}
146
147static MACHINE_START(quakeat)
148{
149   cpu_set_irq_callback(cputag_get_cpu(machine, "maincpu"), irq_callback);
150
151   quakeat_devices.pic8259_1 = devtag_get_device( machine, "pic8259_1" );
152   quakeat_devices.pic8259_2 = devtag_get_device( machine, "pic8259_2" );
153}
154/*************************************************************/
155
73156static MACHINE_DRIVER_START( quake )
74157   /* basic machine hardware */
75   MDRV_CPU_ADD("maincpu", PENTIUM, 2000000000) /* Probably a Pentium .. ?? Mhz*/
158   MDRV_CPU_ADD("maincpu", PENTIUM, 233000000) /* Pentium II, 233MHz */
76159   MDRV_CPU_PROGRAM_MAP(quake_map)
160   MDRV_CPU_IO_MAP(quake_io)
77161
162   MDRV_MACHINE_START(quakeat)
163
164   MDRV_PIC8259_ADD( "pic8259_1", quakeat_pic8259_1_config )
165   MDRV_PIC8259_ADD( "pic8259_2", quakeat_pic8259_2_config )
166
78167    /* video hardware */
79168   MDRV_SCREEN_ADD("screen", RASTER)
80169   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
r5338r5339
91180
92181
93182ROM_START(quake)
94   ROM_REGION32_LE(0x20000, "maincpu", 0)   /* motherboard bios */
183   ROM_REGION32_LE(0x20000, "pc_bios", 0)   /* motherboard bios */
95184   ROM_LOAD("quakearcadetournament.pcbios", 0x000000, 0x10000, NO_DUMP )
96185
97186   DISK_REGION( "disks" )
r5338r5339
99188ROM_END
100189
101190
102GAME( 19??, quake,  0,   quake, quake, 0, ROT0, "Lazer-Tron / iD Software", "Quake Arcade Tournament (Release Beta 2)", GAME_NOT_WORKING|GAME_NO_SOUND )
191GAME( 1998, quake,  0,   quake, quake, 0, ROT0, "Lazer-Tron / iD Software", "Quake Arcade Tournament (Release Beta 2)", GAME_NOT_WORKING|GAME_NO_SOUND )
src/mame/drivers/midyunit.c
r5338r5339
11611161 *************************************/
11621162
11631163ROM_START( narc )
1164   ROM_REGION( 0x90000, "narc1cpu", 0 )   /* sound CPU */
1165   ROM_LOAD( "u4-snd", 0x50000, 0x10000, CRC(450a591a) SHA1(bbda8061262738e5866f2707f69483a0a51d2910) )
1166   ROM_RELOAD(         0x60000, 0x10000 )
1167   ROM_LOAD( "u5-snd", 0x70000, 0x10000, CRC(e551e5e3) SHA1(c8b4f53dbd4c534abb77d4dc07c4d12653b79894) )
1168   ROM_RELOAD(         0x80000, 0x10000 )
1164   ROM_REGION( 0x90000, "narc1cpu", 0 )    /* sound CPU */
1165   ROM_LOAD( "narcrev2.u4", 0x50000, 0x10000, CRC(450a591a) SHA1(bbda8061262738e5866f2707f69483a0a51d2910) )
1166   ROM_RELOAD(              0x60000, 0x10000 )
1167   ROM_LOAD( "narcrev2.u5", 0x70000, 0x10000, CRC(e551e5e3) SHA1(c8b4f53dbd4c534abb77d4dc07c4d12653b79894) )
1168   ROM_RELOAD(              0x80000, 0x10000 )
11691169
11701170   ROM_REGION( 0x90000, "narc2cpu", 0 )   /* slave sound CPU */
1171   ROM_LOAD( "u35-snd", 0x10000, 0x10000, CRC(81295892) SHA1(159664e5ee03c88d6e940e70e87e2150dc5b8b25) )
1172   ROM_RELOAD(          0x20000, 0x10000 )
1173   ROM_LOAD( "u36-snd", 0x30000, 0x10000, CRC(16cdbb13) SHA1(2dfd961a5d909c1804f4fda34de33ee2664c4bc6) )
1174   ROM_RELOAD(          0x40000, 0x10000 )
1175   ROM_LOAD( "u37-snd", 0x50000, 0x10000, CRC(29dbeffd) SHA1(4cbdc619db34f9c552de1ed3d034f8c079987e03) )
1176   ROM_RELOAD(          0x60000, 0x10000 )
1177   ROM_LOAD( "u38-snd", 0x70000, 0x10000, CRC(09b03b80) SHA1(a45782d29a426fac38299b56af0815e844e35ae4) )
1178   ROM_RELOAD(          0x80000, 0x10000 )
1171   ROM_LOAD( "narcrev2.u35", 0x10000, 0x10000, CRC(81295892) SHA1(159664e5ee03c88d6e940e70e87e2150dc5b8b25) )
1172   ROM_RELOAD(               0x20000, 0x10000 )
1173   ROM_LOAD( "narcrev2.u36", 0x30000, 0x10000, CRC(16cdbb13) SHA1(2dfd961a5d909c1804f4fda34de33ee2664c4bc6) )
1174   ROM_RELOAD(               0x40000, 0x10000 )
1175   ROM_LOAD( "narcrev2.u37", 0x50000, 0x10000, CRC(29dbeffd) SHA1(4cbdc619db34f9c552de1ed3d034f8c079987e03) )
1176   ROM_RELOAD(               0x60000, 0x10000 )
1177   ROM_LOAD( "narcrev2.u38", 0x70000, 0x10000, CRC(09b03b80) SHA1(a45782d29a426fac38299b56af0815e844e35ae4) )
1178   ROM_RELOAD(               0x80000, 0x10000 )
11791179
11801180   ROM_REGION16_LE( 0x100000, "user1", 0 )   /* 34010 code */
1181   ROM_LOAD16_BYTE( "u42",  0x80000, 0x20000, CRC(d1111b76) SHA1(9700261aaba6a1ac0415362874817499f90b142a) )
1182   ROM_LOAD16_BYTE( "u24",  0x80001, 0x20000, CRC(aa0d3082) SHA1(7da59098319c49842406e7daf06aceae80fbd0ed) )
1183   ROM_LOAD16_BYTE( "u41",  0xc0000, 0x20000, CRC(3903191f) SHA1(1ad89cb03956f6625d9403e98951383fc9219478) )
1184   ROM_LOAD16_BYTE( "u23",  0xc0001, 0x20000, CRC(7a316582) SHA1(f640966c79bab70b536f2f92d4f46475a021b5b1) )
1181   ROM_LOAD16_BYTE( "narcrev7.u42",  0x80000, 0x20000, CRC(d1111b76) SHA1(9700261aaba6a1ac0415362874817499f90b142a) )
1182   ROM_LOAD16_BYTE( "narcrev7.u24",  0x80001, 0x20000, CRC(aa0d3082) SHA1(7da59098319c49842406e7daf06aceae80fbd0ed) )
1183   ROM_LOAD16_BYTE( "narcrev7.u41",  0xc0000, 0x20000, CRC(3903191f) SHA1(1ad89cb03956f6625d9403e98951383fc9219478) )
1184   ROM_LOAD16_BYTE( "narcrev7.u23",  0xc0001, 0x20000, CRC(7a316582) SHA1(f640966c79bab70b536f2f92d4f46475a021b5b1) )
11851185
11861186   ROM_REGION( 0x800000, "gfx1", 0 )
11871187   ROM_LOAD( "u94",  0x000000, 0x10000, CRC(ca3194e4) SHA1(d6aa6a09e4353a1dddd502abf85acf48e6e94cef) )
r5338r5339
12521252
12531253ROM_START( narc3 )
12541254   ROM_REGION( 0x90000, "narc1cpu", 0 )   /* sound CPU */
1255   ROM_LOAD( "u4-snd", 0x50000, 0x10000, CRC(450a591a) SHA1(bbda8061262738e5866f2707f69483a0a51d2910) )
1256   ROM_RELOAD(         0x60000, 0x10000 )
1257   ROM_LOAD( "u5-snd", 0x70000, 0x10000, CRC(e551e5e3) SHA1(c8b4f53dbd4c534abb77d4dc07c4d12653b79894) )
1258   ROM_RELOAD(         0x80000, 0x10000 )
1255   ROM_LOAD( "narcrev2.u4", 0x50000, 0x10000, CRC(450a591a) SHA1(bbda8061262738e5866f2707f69483a0a51d2910) )
1256   ROM_RELOAD(              0x60000, 0x10000 )
1257   ROM_LOAD( "narcrev2.u5", 0x70000, 0x10000, CRC(e551e5e3) SHA1(c8b4f53dbd4c534abb77d4dc07c4d12653b79894) )
1258   ROM_RELOAD(              0x80000, 0x10000 )
12591259
12601260   ROM_REGION( 0x90000, "narc2cpu", 0 )   /* slave sound CPU */
1261   ROM_LOAD( "u35-snd", 0x10000, 0x10000, CRC(81295892) SHA1(159664e5ee03c88d6e940e70e87e2150dc5b8b25) )
1262   ROM_RELOAD(          0x20000, 0x10000 )
1263   ROM_LOAD( "u36-snd", 0x30000, 0x10000, CRC(16cdbb13) SHA1(2dfd961a5d909c1804f4fda34de33ee2664c4bc6) )
1264   ROM_RELOAD(          0x40000, 0x10000 )
1265   ROM_LOAD( "u37-snd", 0x50000, 0x10000, CRC(29dbeffd) SHA1(4cbdc619db34f9c552de1ed3d034f8c079987e03) )
1266   ROM_RELOAD(          0x60000, 0x10000 )
1267   ROM_LOAD( "u38-snd", 0x70000, 0x10000, CRC(09b03b80) SHA1(a45782d29a426fac38299b56af0815e844e35ae4) )
1268   ROM_RELOAD(          0x80000, 0x10000 )
1261   ROM_LOAD( "narcrev2.u35", 0x10000, 0x10000, CRC(81295892) SHA1(159664e5ee03c88d6e940e70e87e2150dc5b8b25) )
1262   ROM_RELOAD(               0x20000, 0x10000 )
1263   ROM_LOAD( "narcrev2.u36", 0x30000, 0x10000, CRC(16cdbb13) SHA1(2dfd961a5d909c1804f4fda34de33ee2664c4bc6) )
1264   ROM_RELOAD(               0x40000, 0x10000 )
1265   ROM_LOAD( "narcrev2.u37", 0x50000, 0x10000, CRC(29dbeffd) SHA1(4cbdc619db34f9c552de1ed3d034f8c079987e03) )
1266   ROM_RELOAD(               0x60000, 0x10000 )
1267   ROM_LOAD( "narcrev2.u38", 0x70000, 0x10000, CRC(09b03b80) SHA1(a45782d29a426fac38299b56af0815e844e35ae4) )
1268   ROM_RELOAD(               0x80000, 0x10000 )
12691269
12701270   ROM_REGION16_LE( 0x100000, "user1", 0 )   /* 34010 code */
12711271   ROM_LOAD16_BYTE( "narcrev3.u78",  0x00000, 0x10000, CRC(388581b0) SHA1(9d3c718c7bee8f3db9b87ae08ec3bcc1bf65084b) )
r5338r5339
15041504
15051505ROM_START( smashtv )
15061506   ROM_REGION( 0x90000, "cvsdcpu", 0 )   /* sound CPU */
1507   ROM_LOAD (  "u4.snd", 0x10000, 0x10000, CRC(29d3f6c8) SHA1(8a90cdff54f59ddb7dba521504d880515a59df08) )
1507   ROM_LOAD (  "sl2.u4", 0x10000, 0x10000, CRC(29d3f6c8) SHA1(8a90cdff54f59ddb7dba521504d880515a59df08) )
15081508   ROM_RELOAD(           0x20000, 0x10000 )
1509   ROM_LOAD ( "u19.snd", 0x30000, 0x10000, CRC(ac5a402a) SHA1(c476018062126dc3936caa2c328de490737165ec) )
1509   ROM_LOAD ( "sl2.u19", 0x30000, 0x10000, CRC(ac5a402a) SHA1(c476018062126dc3936caa2c328de490737165ec) )
15101510   ROM_RELOAD(           0x40000, 0x10000 )
1511   ROM_LOAD ( "u20.snd", 0x50000, 0x10000, CRC(875c66d9) SHA1(51cdad62ec57e69bba6fcf14e59841ec628dec11) )
1511   ROM_LOAD ( "sl2.u20", 0x50000, 0x10000, CRC(875c66d9) SHA1(51cdad62ec57e69bba6fcf14e59841ec628dec11) )
15121512   ROM_RELOAD(           0x60000, 0x10000 )
15131513
15141514   ROM_REGION16_LE( 0x100000, "user1", 0 )   /* 34010 code */
r5338r5339
15161516   ROM_LOAD16_BYTE( "u89-la8",   0xc0001, 0x20000, CRC(8e7fe463) SHA1(629332be706cda26f8b170b8e2877355230119ee) )
15171517
15181518   ROM_REGION( 0x800000, "gfx1", 0 )
1519   ROM_LOAD ( "u111.gam",  0x000000, 0x20000, CRC(72f0ba84) SHA1(2e925b3cdd3c8e14046b3948d82f0f3cde3c22c5) )
1520   ROM_LOAD ( "u112.gam",  0x020000, 0x20000, CRC(436f0283) SHA1(ec33a8942c0fc326db885e08dad9346ec5a63360) )
1521   ROM_LOAD ( "u113.gam",  0x040000, 0x20000, CRC(4a4b8110) SHA1(9f1881d1d2682764ab85aebd685d97eb8b4afe46) )
1519   ROM_LOAD ( "la1.u111",  0x000000, 0x20000, CRC(72f0ba84) SHA1(2e925b3cdd3c8e14046b3948d82f0f3cde3c22c5) )
1520   ROM_LOAD ( "la1.u112",  0x020000, 0x20000, CRC(436f0283) SHA1(ec33a8942c0fc326db885e08dad9346ec5a63360) )
1521   ROM_LOAD ( "la1.u113",  0x040000, 0x20000, CRC(4a4b8110) SHA1(9f1881d1d2682764ab85aebd685d97eb8b4afe46) )
15221522
1523   ROM_LOAD (  "u95.gam",  0x200000, 0x20000, CRC(e864a44b) SHA1(40eb8e11a183f4f82dc8decb36aaeded9cd1bc26) )
1524   ROM_LOAD (  "u96.gam",  0x220000, 0x20000, CRC(15555ea7) SHA1(4fefc059736ca424dc05a08cb55b9acf9e31228b) )
1525   ROM_LOAD (  "u97.gam",  0x240000, 0x20000, CRC(ccac9d9e) SHA1(a43d70d1a0bbd377f0fc539c2e8b725f7079f463) )
1523   ROM_LOAD (  "la1.u95",  0x200000, 0x20000, CRC(e864a44b) SHA1(40eb8e11a183f4f82dc8decb36aaeded9cd1bc26) )
1524   ROM_LOAD (  "la1.u96",  0x220000, 0x20000, CRC(15555ea7) SHA1(4fefc059736ca424dc05a08cb55b9acf9e31228b) )
1525   ROM_LOAD (  "la1.u97",  0x240000, 0x20000, CRC(ccac9d9e) SHA1(a43d70d1a0bbd377f0fc539c2e8b725f7079f463) )
15261526
1527    ROM_LOAD ( "u106.gam",  0x400000, 0x20000, CRC(5c718361) SHA1(6178b1d53411f24d5a5a01559727e300cd27d587) )
1528    ROM_LOAD ( "u107.gam",  0x420000, 0x20000, CRC(0fba1e36) SHA1(17038cf35a72678bba149a632f1ad1b80cc3a38c) )
1529    ROM_LOAD ( "u108.gam",  0x440000, 0x20000, CRC(cb0a092f) SHA1(33cbb87b4be1eadb1f3624ef5e218e65109fa3eb) )
1527    ROM_LOAD ( "la1.u106",  0x400000, 0x20000, CRC(5c718361) SHA1(6178b1d53411f24d5a5a01559727e300cd27d587) )
1528    ROM_LOAD ( "la1.u107",  0x420000, 0x20000, CRC(0fba1e36) SHA1(17038cf35a72678bba149a632f1ad1b80cc3a38c) )
1529    ROM_LOAD ( "la1.u108",  0x440000, 0x20000, CRC(cb0a092f) SHA1(33cbb87b4be1eadb1f3624ef5e218e65109fa3eb) )
15301530ROM_END
15311531
15321532
15331533ROM_START( smashtv6 )
15341534   ROM_REGION( 0x90000, "cvsdcpu", 0 )   /* sound CPU */
1535   ROM_LOAD (  "u4.snd", 0x10000, 0x10000, CRC(29d3f6c8) SHA1(8a90cdff54f59ddb7dba521504d880515a59df08) )
1535   ROM_LOAD (  "sl2.u4", 0x10000, 0x10000, CRC(29d3f6c8) SHA1(8a90cdff54f59ddb7dba521504d880515a59df08) )
15361536   ROM_RELOAD(           0x20000, 0x10000 )
1537   ROM_LOAD ( "u19.snd", 0x30000, 0x10000, CRC(ac5a402a) SHA1(c476018062126dc3936caa2c328de490737165ec) )
1537   ROM_LOAD ( "sl2.u19", 0x30000, 0x10000, CRC(ac5a402a) SHA1(c476018062126dc3936caa2c328de490737165ec) )
15381538   ROM_RELOAD(           0x40000, 0x10000 )
1539   ROM_LOAD ( "u20.snd", 0x50000, 0x10000, CRC(875c66d9) SHA1(51cdad62ec57e69bba6fcf14e59841ec628dec11) )
1539   ROM_LOAD ( "sl2.u20", 0x50000, 0x10000, CRC(875c66d9) SHA1(51cdad62ec57e69bba6fcf14e59841ec628dec11) )
15401540   ROM_RELOAD(           0x60000, 0x10000 )
15411541
15421542   ROM_REGION16_LE( 0x100000, "user1", 0 )   /* 34010 code */
r5338r5339
15441544   ROM_LOAD16_BYTE( "u89-la6",   0xc0001, 0x20000, CRC(908aca5d) SHA1(c97f05ecb8d96306fecef40330331e279d29f78d) )
15451545
15461546   ROM_REGION( 0x800000, "gfx1", 0 )
1547   ROM_LOAD ( "u111.gam",  0x000000, 0x20000, CRC(72f0ba84) SHA1(2e925b3cdd3c8e14046b3948d82f0f3cde3c22c5) )
1548   ROM_LOAD ( "u112.gam",  0x020000, 0x20000, CRC(436f0283) SHA1(ec33a8942c0fc326db885e08dad9346ec5a63360) )
1549   ROM_LOAD ( "u113.gam",  0x040000, 0x20000, CRC(4a4b8110) SHA1(9f1881d1d2682764ab85aebd685d97eb8b4afe46) )
1547   ROM_LOAD ( "la1.u111",  0x000000, 0x20000, CRC(72f0ba84) SHA1(2e925b3cdd3c8e14046b3948d82f0f3cde3c22c5) )
1548   ROM_LOAD ( "la1.u112",  0x020000, 0x20000, CRC(436f0283) SHA1(ec33a8942c0fc326db885e08dad9346ec5a63360) )
1549   ROM_LOAD ( "la1.u113",  0x040000, 0x20000, CRC(4a4b8110) SHA1(9f1881d1d2682764ab85aebd685d97eb8b4afe46) )
15501550
1551   ROM_LOAD (  "u95.gam",  0x200000, 0x20000, CRC(e864a44b) SHA1(40eb8e11a183f4f82dc8decb36aaeded9cd1bc26) )
1552   ROM_LOAD (  "u96.gam",  0x220000, 0x20000, CRC(15555ea7) SHA1(4fefc059736ca424dc05a08cb55b9acf9e31228b) )
1553   ROM_LOAD (  "u97.gam",  0x240000, 0x20000, CRC(ccac9d9e) SHA1(a43d70d1a0bbd377f0fc539c2e8b725f7079f463) )
1551   ROM_LOAD (  "la1.u95",  0x200000, 0x20000, CRC(e864a44b) SHA1(40eb8e11a183f4f82dc8decb36aaeded9cd1bc26) )
1552   ROM_LOAD (  "la1.u96",  0x220000, 0x20000, CRC(15555ea7) SHA1(4fefc059736ca424dc05a08cb55b9acf9e31228b) )
1553   ROM_LOAD (  "la1.u97",  0x240000, 0x20000, CRC(ccac9d9e) SHA1(a43d70d1a0bbd377f0fc539c2e8b725f7079f463) )
15541554
1555    ROM_LOAD ( "u106.gam",  0x400000, 0x20000, CRC(5c718361) SHA1(6178b1d53411f24d5a5a01559727e300cd27d587) )
1556    ROM_LOAD ( "u107.gam",  0x420000, 0x20000, CRC(0fba1e36) SHA1(17038cf35a72678bba149a632f1ad1b80cc3a38c) )
1557    ROM_LOAD ( "u108.gam",  0x440000, 0x20000, CRC(cb0a092f) SHA1(33cbb87b4be1eadb1f3624ef5e218e65109fa3eb) )
1555    ROM_LOAD ( "la1.u106",  0x400000, 0x20000, CRC(5c718361) SHA1(6178b1d53411f24d5a5a01559727e300cd27d587) )
1556    ROM_LOAD ( "la1.u107",  0x420000, 0x20000, CRC(0fba1e36) SHA1(17038cf35a72678bba149a632f1ad1b80cc3a38c) )
1557    ROM_LOAD ( "la1.u108",  0x440000, 0x20000, CRC(cb0a092f) SHA1(33cbb87b4be1eadb1f3624ef5e218e65109fa3eb) )
15581558ROM_END
15591559
15601560
15611561ROM_START( smashtv5 )
15621562   ROM_REGION( 0x90000, "cvsdcpu", 0 ) /* sound CPU */
1563   ROM_LOAD (  "u4.snd", 0x10000, 0x10000, CRC(29d3f6c8) SHA1(8a90cdff54f59ddb7dba521504d880515a59df08) )
1563   ROM_LOAD (  "sl2.u4", 0x10000, 0x10000, CRC(29d3f6c8) SHA1(8a90cdff54f59ddb7dba521504d880515a59df08) )
15641564   ROM_RELOAD(           0x20000, 0x10000 )
1565   ROM_LOAD ( "u19.snd", 0x30000, 0x10000, CRC(ac5a402a) SHA1(c476018062126dc3936caa2c328de490737165ec) )
1565   ROM_LOAD ( "sl2.u19", 0x30000, 0x10000, CRC(ac5a402a) SHA1(c476018062126dc3936caa2c328de490737165ec) )
15661566   ROM_RELOAD(           0x40000, 0x10000 )
1567   ROM_LOAD ( "u20.snd", 0x50000, 0x10000, CRC(875c66d9) SHA1(51cdad62ec57e69bba6fcf14e59841ec628dec11) )
1567   ROM_LOAD ( "sl2.u20", 0x50000, 0x10000, CRC(875c66d9) SHA1(51cdad62ec57e69bba6fcf14e59841ec628dec11) )
15681568   ROM_RELOAD(           0x60000, 0x10000 )
15691569
15701570   ROM_REGION16_LE( 0x100000, "user1", 0 )   /* 34010 code */
r5338r5339
15721572   ROM_LOAD16_BYTE( "u89-la5",   0xc0001, 0x20000, CRC(e5017d25) SHA1(27e544efa7f5cbe6ed3fc3211b12694c15a316c7) )
15731573
15741574   ROM_REGION( 0x800000, "gfx1", 0 )
1575   ROM_LOAD ( "u111.gam",  0x000000, 0x20000, CRC(72f0ba84) SHA1(2e925b3cdd3c8e14046b3948d82f0f3cde3c22c5) )
1576   ROM_LOAD ( "u112.gam",  0x020000, 0x20000, CRC(436f0283) SHA1(ec33a8942c0fc326db885e08dad9346ec5a63360) )
1577   ROM_LOAD ( "u113.gam",  0x040000, 0x20000, CRC(4a4b8110) SHA1(9f1881d1d2682764ab85aebd685d97eb8b4afe46) )
1575   ROM_LOAD ( "la1.u111",  0x000000, 0x20000, CRC(72f0ba84) SHA1(2e925b3cdd3c8e14046b3948d82f0f3cde3c22c5) )
1576   ROM_LOAD ( "la1.u112",  0x020000, 0x20000, CRC(436f0283) SHA1(ec33a8942c0fc326db885e08dad9346ec5a63360) )
1577   ROM_LOAD ( "la1.u113",  0x040000, 0x20000, CRC(4a4b8110) SHA1(9f1881d1d2682764ab85aebd685d97eb8b4afe46) )
15781578
1579   ROM_LOAD (  "u95.gam",  0x200000, 0x20000, CRC(e864a44b) SHA1(40eb8e11a183f4f82dc8decb36aaeded9cd1bc26) )
1580   ROM_LOAD (  "u96.gam",  0x220000, 0x20000, CRC(15555ea7) SHA1(4fefc059736ca424dc05a08cb55b9acf9e31228b) )
1581   ROM_LOAD (  "u97.gam",  0x240000, 0x20000, CRC(ccac9d9e) SHA1(a43d70d1a0bbd377f0fc539c2e8b725f7079f463) )
1579   ROM_LOAD (  "la1.u95",  0x200000, 0x20000, CRC(e864a44b) SHA1(40eb8e11a183f4f82dc8decb36aaeded9cd1bc26) )
1580   ROM_LOAD (  "la1.u96",  0x220000, 0x20000, CRC(15555ea7) SHA1(4fefc059736ca424dc05a08cb55b9acf9e31228b) )
1581   ROM_LOAD (  "la1.u97",  0x240000, 0x20000, CRC(ccac9d9e) SHA1(a43d70d1a0bbd377f0fc539c2e8b725f7079f463) )
15821582
1583    ROM_LOAD ( "u106.gam",  0x400000, 0x20000, CRC(5c718361) SHA1(6178b1d53411f24d5a5a01559727e300cd27d587) )
1584    ROM_LOAD ( "u107.gam",  0x420000, 0x20000, CRC(0fba1e36) SHA1(17038cf35a72678bba149a632f1ad1b80cc3a38c) )
1585    ROM_LOAD ( "u108.gam",  0x440000, 0x20000, CRC(cb0a092f) SHA1(33cbb87b4be1eadb1f3624ef5e218e65109fa3eb) )
1583    ROM_LOAD ( "la1.u106",  0x400000, 0x20000, CRC(5c718361) SHA1(6178b1d53411f24d5a5a01559727e300cd27d587) )
1584    ROM_LOAD ( "la1.u107",  0x420000, 0x20000, CRC(0fba1e36) SHA1(17038cf35a72678bba149a632f1ad1b80cc3a38c) )
1585    ROM_LOAD ( "la1.u108",  0x440000, 0x20000, CRC(cb0a092f) SHA1(33cbb87b4be1eadb1f3624ef5e218e65109fa3eb) )
15861586ROM_END
15871587
15881588
15891589ROM_START( smashtv4 )
15901590   ROM_REGION( 0x90000, "cvsdcpu", 0 )   /* sound CPU */
1591   ROM_LOAD (  "u4.snd", 0x10000, 0x10000, CRC(29d3f6c8) SHA1(8a90cdff54f59ddb7dba521504d880515a59df08) )
1591   ROM_LOAD (  "sl2.u4", 0x10000, 0x10000, CRC(29d3f6c8) SHA1(8a90cdff54f59ddb7dba521504d880515a59df08) )
15921592   ROM_RELOAD(           0x20000, 0x10000 )
1593   ROM_LOAD ( "u19.snd", 0x30000, 0x10000, CRC(ac5a402a) SHA1(c476018062126dc3936caa2c328de490737165ec) )
1593   ROM_LOAD ( "sl2.u19", 0x30000, 0x10000, CRC(ac5a402a) SHA1(c476018062126dc3936caa2c328de490737165ec) )
15941594   ROM_RELOAD(           0x40000, 0x10000 )
1595   ROM_LOAD ( "u20.snd", 0x50000, 0x10000, CRC(875c66d9) SHA1(51cdad62ec57e69bba6fcf14e59841ec628dec11) )
1595   ROM_LOAD ( "sl2.u20", 0x50000, 0x10000, CRC(875c66d9) SHA1(51cdad62ec57e69bba6fcf14e59841ec628dec11) )
15961596   ROM_RELOAD(           0x60000, 0x10000 )
15971597
15981598   ROM_REGION16_LE( 0x100000, "user1", 0 )   /* 34010 code */
r5338r5339
16001600   ROM_LOAD16_BYTE( "u89-la4",   0xc0001, 0x20000, CRC(ef0b0279) SHA1(baad5a2a8d51d007e365f378f3214bbd2ea9699c) )
16011601
16021602   ROM_REGION( 0x800000, "gfx1", 0 )
1603   ROM_LOAD ( "u111.gam",  0x000000, 0x20000, CRC(72f0ba84) SHA1(2e925b3cdd3c8e14046b3948d82f0f3cde3c22c5) )
1604   ROM_LOAD ( "u112.gam",  0x020000, 0x20000, CRC(436f0283) SHA1(ec33a8942c0fc326db885e08dad9346ec5a63360) )
1605   ROM_LOAD ( "u113.gam",  0x040000, 0x20000, CRC(4a4b8110) SHA1(9f1881d1d2682764ab85aebd685d97eb8b4afe46) )
1603   ROM_LOAD ( "la1.u111",  0x000000, 0x20000, CRC(72f0ba84) SHA1(2e925b3cdd3c8e14046b3948d82f0f3cde3c22c5) )
1604   ROM_LOAD ( "la1.u112",  0x020000, 0x20000, CRC(436f0283) SHA1(ec33a8942c0fc326db885e08dad9346ec5a63360) )
1605   ROM_LOAD ( "la1.u113",  0x040000, 0x20000, CRC(4a4b8110) SHA1(9f1881d1d2682764ab85aebd685d97eb8b4afe46) )
16061606
1607   ROM_LOAD (  "u95.gam",  0x200000, 0x20000, CRC(e864a44b) SHA1(40eb8e11a183f4f82dc8decb36aaeded9cd1bc26) )
1608   ROM_LOAD (  "u96.gam",  0x220000, 0x20000, CRC(15555ea7) SHA1(4fefc059736ca424dc05a08cb55b9acf9e31228b) )
1609   ROM_LOAD (  "u97.gam",  0x240000, 0x20000, CRC(ccac9d9e) SHA1(a43d70d1a0bbd377f0fc539c2e8b725f7079f463) )
1607   ROM_LOAD (  "la1.u95",  0x200000, 0x20000, CRC(e864a44b) SHA1(40eb8e11a183f4f82dc8decb36aaeded9cd1bc26) )
1608   ROM_LOAD (  "la1.u96",  0x220000, 0x20000, CRC(15555ea7) SHA1(4fefc059736ca424dc05a08cb55b9acf9e31228b) )
1609   ROM_LOAD (  "la1.u97",  0x240000, 0x20000, CRC(ccac9d9e) SHA1(a43d70d1a0bbd377f0fc539c2e8b725f7079f463) )
16101610
1611    ROM_LOAD ( "u106.gam",  0x400000, 0x20000, CRC(5c718361) SHA1(6178b1d53411f24d5a5a01559727e300cd27d587) )
1612    ROM_LOAD ( "u107.gam",  0x420000, 0x20000, CRC(0fba1e36) SHA1(17038cf35a72678bba149a632f1ad1b80cc3a38c) )
1613    ROM_LOAD ( "u108.gam",  0x440000, 0x20000, CRC(cb0a092f) SHA1(33cbb87b4be1eadb1f3624ef5e218e65109fa3eb) )
1611    ROM_LOAD ( "la1.u106",  0x400000, 0x20000, CRC(5c718361) SHA1(6178b1d53411f24d5a5a01559727e300cd27d587) )
1612    ROM_LOAD ( "la1.u107",  0x420000, 0x20000, CRC(0fba1e36) SHA1(17038cf35a72678bba149a632f1ad1b80cc3a38c) )
1613    ROM_LOAD ( "la1.u108",  0x440000, 0x20000, CRC(cb0a092f) SHA1(33cbb87b4be1eadb1f3624ef5e218e65109fa3eb) )
16141614ROM_END
16151615
16161616
r5338r5339
16491649ROM_END
16501650
16511651
1652ROM_START( hiimpac4 )
1652ROM_START( hiimpact4 )
16531653   ROM_REGION( 0x90000, "cvsdcpu", 0 )   /* sound CPU */
16541654   ROM_LOAD (  "sl1u4.bin", 0x10000, 0x20000, CRC(28effd6a) SHA1(4a839f15e1b453a22fdef7b1801b8cc5cfdf3c29) )
16551655   ROM_LOAD ( "sl1u19.bin", 0x30000, 0x20000, CRC(0ea22c89) SHA1(6d4579f6b10cac685be01348451b3537a0626034) )
r5338r5339
16841684ROM_END
16851685
16861686
1687ROM_START( hiimpac3 )
1687ROM_START( hiimpact3 )
16881688   ROM_REGION( 0x90000, "cvsdcpu", 0 )   /* sound CPU */
16891689   ROM_LOAD (  "sl1u4.bin", 0x10000, 0x20000, CRC(28effd6a) SHA1(4a839f15e1b453a22fdef7b1801b8cc5cfdf3c29) )
16901690   ROM_LOAD ( "sl1u19.bin", 0x30000, 0x20000, CRC(0ea22c89) SHA1(6d4579f6b10cac685be01348451b3537a0626034) )
r5338r5339
17191719ROM_END
17201720
17211721
1722ROM_START( hiimpac1 )
1722ROM_START( hiimpact1 )
17231723   ROM_REGION( 0x90000, "cvsdcpu", 0 )   /* sound CPU */
17241724   ROM_LOAD (  "sl1u4.bin", 0x10000, 0x20000, CRC(28effd6a) SHA1(4a839f15e1b453a22fdef7b1801b8cc5cfdf3c29) )
17251725   ROM_LOAD ( "sl1u19.bin", 0x30000, 0x20000, CRC(0ea22c89) SHA1(6d4579f6b10cac685be01348451b3537a0626034) )
r5338r5339
17541754ROM_END
17551755
17561756
1757ROM_START( hiimpacp )
1757ROM_START( hiimpactp )
17581758   ROM_REGION( 0x90000, "cvsdcpu", 0 )   /* sound CPU */
17591759   ROM_LOAD (  "sl1u4.bin", 0x10000, 0x20000, CRC(28effd6a) SHA1(4a839f15e1b453a22fdef7b1801b8cc5cfdf3c29) )
17601760   ROM_LOAD ( "sl1u19.bin", 0x30000, 0x20000, CRC(0ea22c89) SHA1(6d4579f6b10cac685be01348451b3537a0626034) )
r5338r5339
18171817ROM_END
18181818
18191819
1820ROM_START( shimpap6 )
1820ROM_START( shimpactp6 )
18211821   ROM_REGION( 0x90000, "cvsdcpu", 0 )   /* sound CPU */
18221822   ROM_LOAD (   "shiu4.bin", 0x10000, 0x20000, CRC(1e5a012c) SHA1(4077fc266799a01738b7f88e867535f1fbacd557) )
18231823   ROM_LOAD (  "shiu19.bin", 0x30000, 0x20000, CRC(10f9684e) SHA1(1fdc5364f87fb65f4f2a438841e0fe847f765aaf) )
r5338r5339
18451845ROM_END
18461846
18471847
1848ROM_START( shimpap5 )
1848ROM_START( shimpactp5 )
18491849   ROM_REGION( 0x90000, "cvsdcpu", 0 )   /* sound CPU */
18501850   ROM_LOAD (   "shiu4.bin", 0x10000, 0x20000, CRC(1e5a012c) SHA1(4077fc266799a01738b7f88e867535f1fbacd557) )
18511851   ROM_LOAD (  "shiu19.bin", 0x30000, 0x20000, CRC(10f9684e) SHA1(1fdc5364f87fb65f4f2a438841e0fe847f765aaf) )
r5338r5339
18731873ROM_END
18741874
18751875
1876ROM_START( shimpap4 ) /* You must manualy reset the high score table or game will hang after initial demo screen, it's best to do a "Full Factory Restore" */
1876ROM_START( shimpactp4 ) /* You must manualy reset the high score table or game will hang after initial demo screen, it's best to do a "Full Factory Restore" */
18771877   ROM_REGION( 0x90000, "cvsdcpu", 0 )   /* sound CPU */
18781878   ROM_LOAD (   "shiu4.bin", 0x10000, 0x20000, CRC(1e5a012c) SHA1(4077fc266799a01738b7f88e867535f1fbacd557) )
18791879   ROM_LOAD (  "shiu19.bin", 0x30000, 0x20000, CRC(10f9684e) SHA1(1fdc5364f87fb65f4f2a438841e0fe847f765aaf) )
r5338r5339
23472347GAME( 1990, smashtv6, smashtv,  yunit_cvsd_6bit_slow,  smashtv,  smashtv,  ROT0, "Williams", "Smash T.V. (rev 6.00)", GAME_SUPPORTS_SAVE )
23482348GAME( 1990, smashtv5, smashtv,  yunit_cvsd_6bit_slow,  smashtv,  smashtv,  ROT0, "Williams", "Smash T.V. (rev 5.00)", GAME_SUPPORTS_SAVE )
23492349GAME( 1990, smashtv4, smashtv,  yunit_cvsd_6bit_slow,  smashtv,  smashtv,  ROT0, "Williams", "Smash T.V. (rev 4.00)", GAME_SUPPORTS_SAVE )
2350GAME( 1990, hiimpact, 0,        yunit_cvsd_6bit_slow,  trog,     hiimpact, ROT0, "Williams", "High Impact Football (rev LA5 02/15/91)", GAME_SUPPORTS_SAVE )
2351GAME( 1990, hiimpac4, hiimpact, yunit_cvsd_6bit_slow,  trog,     hiimpact, ROT0, "Williams", "High Impact Football (rev LA4 02/04/91)", GAME_SUPPORTS_SAVE )
2352GAME( 1990, hiimpac3, hiimpact, yunit_cvsd_6bit_slow,  trog,     hiimpact, ROT0, "Williams", "High Impact Football (rev LA3 12/27/90)", GAME_SUPPORTS_SAVE )
2353GAME( 1990, hiimpac1, hiimpact, yunit_cvsd_6bit_slow,  trog,     hiimpact, ROT0, "Williams", "High Impact Football (rev LA1 12/16/90)", GAME_SUPPORTS_SAVE )
2354GAME( 1990, hiimpacp, hiimpact, yunit_cvsd_6bit_slow,  trog,     hiimpact, ROT0, "Williams", "High Impact Football (prototype, rev 8.6 12/09/90)", GAME_SUPPORTS_SAVE )
2355GAME( 1991, shimpact, 0,        yunit_cvsd_6bit_slow,  trog,     shimpact, ROT0, "Midway",   "Super High Impact (rev LA1 09/30/91)", GAME_SUPPORTS_SAVE )
2356GAME( 1991, shimpap6, shimpact, yunit_cvsd_6bit_slow,  trog,     shimpact, ROT0, "Midway",   "Super High Impact (prototype, rev 6.0 09/23/91)", GAME_SUPPORTS_SAVE )
2357GAME( 1991, shimpap5, shimpact, yunit_cvsd_6bit_slow,  trog,     shimpact, ROT0, "Midway",   "Super High Impact (prototype, rev 5.0 09/15/91)", GAME_SUPPORTS_SAVE )
2358GAME( 1991, shimpap4, shimpact, yunit_cvsd_6bit_slow,  trog,     shimpact, ROT0, "Midway",   "Super High Impact (prototype, rev 4.0 09/10/91)", GAME_SUPPORTS_SAVE ) /* See notes about factory restore above */
23592350
2351GAME( 1990, hiimpact,   0,        yunit_cvsd_6bit_slow,  trog,     hiimpact, ROT0, "Williams", "High Impact Football (rev LA5 02/15/91)", GAME_SUPPORTS_SAVE )
2352GAME( 1990, hiimpact4,  hiimpact, yunit_cvsd_6bit_slow,  trog,     hiimpact, ROT0, "Williams", "High Impact Football (rev LA4 02/04/91)", GAME_SUPPORTS_SAVE )
2353GAME( 1990, hiimpact3,  hiimpact, yunit_cvsd_6bit_slow,  trog,     hiimpact, ROT0, "Williams", "High Impact Football (rev LA3 12/27/90)", GAME_SUPPORTS_SAVE )
2354GAME( 1990, hiimpact1,  hiimpact, yunit_cvsd_6bit_slow,  trog,     hiimpact, ROT0, "Williams", "High Impact Football (rev LA1 12/16/90)", GAME_SUPPORTS_SAVE )
2355GAME( 1990, hiimpactp,  hiimpact, yunit_cvsd_6bit_slow,  trog,     hiimpact, ROT0, "Williams", "High Impact Football (prototype, rev 8.6 12/09/90)", GAME_SUPPORTS_SAVE )
2356
2357GAME( 1991, shimpact,   0,        yunit_cvsd_6bit_slow,  trog,     shimpact, ROT0, "Midway",   "Super High Impact (rev LA1 09/30/91)", GAME_SUPPORTS_SAVE )
2358GAME( 1991, shimpactp6, shimpact, yunit_cvsd_6bit_slow,  trog,     shimpact, ROT0, "Midway",   "Super High Impact (prototype, rev 6.0 09/23/91)", GAME_SUPPORTS_SAVE )
2359GAME( 1991, shimpactp5, shimpact, yunit_cvsd_6bit_slow,  trog,     shimpact, ROT0, "Midway",   "Super High Impact (prototype, rev 5.0 09/15/91)", GAME_SUPPORTS_SAVE )
2360GAME( 1991, shimpactp4, shimpact, yunit_cvsd_6bit_slow,  trog,     shimpact, ROT0, "Midway",   "Super High Impact (prototype, rev 4.0 09/10/91)", GAME_SUPPORTS_SAVE ) /* See notes about factory restore above */
2361
23602362GAME( 1991, term2,    0,        yunit_adpcm_6bit_faster, term2,    term2,    ORIENTATION_FLIP_X, "Midway",   "Terminator 2 - Judgment Day (rev LA3 03/27/92)", GAME_SUPPORTS_SAVE )
23612363GAME( 1991, term2la2, term2,    yunit_adpcm_6bit_faster, term2,    term2la2, ORIENTATION_FLIP_X, "Midway",   "Terminator 2 - Judgment Day (rev LA2 12/09/91)", GAME_SUPPORTS_SAVE )
23622364GAME( 1991, term2la1, term2,    yunit_adpcm_6bit_faster, term2,    term2la1, ORIENTATION_FLIP_X, "Midway",   "Terminator 2 - Judgment Day (rev LA1 11/01/91)", GAME_SUPPORTS_SAVE )
r5338r5339
23662368GAME( 1992, mkla2,    mk,       yunit_adpcm_6bit_fast,   mkla2,    mkyunit,  ROT0, "Midway",   "Mortal Kombat (rev 2.0 08/18/92)", GAME_SUPPORTS_SAVE )
23672369GAME( 1992, mkla3,    mk,       yunit_adpcm_6bit_fast,   mkla4,    mkyunit,  ROT0, "Midway",   "Mortal Kombat (rev 3.0 08/31/92)", GAME_SUPPORTS_SAVE )
23682370GAME( 1992, mkla4,    mk,       yunit_adpcm_6bit_fast,   mkla4,    mkyunit,  ROT0, "Midway",   "Mortal Kombat (rev 4.0 09/28/92)", GAME_SUPPORTS_SAVE )
2369GAME( 1992, mkyawdim, mk,       mkyawdim,                mkla4,    mkyawdim, ROT0, "Midway",   "Mortal Kombat (Yawdim bootleg)", GAME_SUPPORTS_SAVE )
2371GAME( 1992, mkyawdim, mk,       mkyawdim,                mkla4,    mkyawdim, ROT0, "bootleg",  "Mortal Kombat (Yawdim bootleg)", GAME_SUPPORTS_SAVE )
23702372GAME( 1992, totcarn,  0,        yunit_adpcm_6bit_fast,   totcarn,  totcarn,  ROT0, "Midway",   "Total Carnage (rev LA1 03/10/92)", GAME_SUPPORTS_SAVE )
23712373GAME( 1992, totcarnp, totcarn,  yunit_adpcm_6bit_fast,   totcarn,  totcarn,  ROT0, "Midway",   "Total Carnage (prototype, rev 1.0 01/25/92)", GAME_SUPPORTS_SAVE )
src/mame/drivers/senjyo.c
r5338r5339
689689    ROM_LOAD( "07b.bin",    0x0000, 0x0020, CRC(68db8300) SHA1(33cd6b5ed92d7b73a708f2e4b12b6e7f6496d0c6) )   /* unknown - timing? */
690690ROM_END
691691
692ROM_START( starforb )
692ROM_START( starforcb )
693693   ROM_REGION( 0x10000, "maincpu", 0 )
694694   ROM_LOAD( "a2.8m",   0x0000, 0x2000, CRC(e81e8b7d) SHA1(829a082a335a0cf5bf8cc97bee96e62271f03ff4) )
695695   ROM_LOAD( "a3.8k",   0x2000, 0x2000, CRC(7e98f0ab) SHA1(76eb387fbf5d04b7951a115d29076d1fd21346c4) )
r5338r5339
732732ROM_END
733733
734734
735ROM_START( starfora )
735ROM_START( starforca )
736736   ROM_REGION( 0x10000, "maincpu", 0 )
737737   ROM_LOAD( "5.bin",   0x0000, 0x2000, CRC(7691bbd4) SHA1(efcab11ea0ed58b6a47c9d7a994c921dfaa1b47e) )
738738   ROM_LOAD( "4.bin",   0x2000, 0x2000, CRC(32f3c34e) SHA1(9ecaa46fe296c2f2e9c8faf3d40085c0f10acbe1) )
r5338r5339
775775ROM_END
776776
777777
778ROM_START( starfore )
778ROM_START( starforce )
779779   ROM_REGION( 2*0x10000, "maincpu", 0 )     /* 64k for code + 64k for decrypted opcodes */
780780   ROM_LOAD( "starfore.005", 0x0000, 0x2000, CRC(825f7ebe) SHA1(d63fd516e075bcc28d42189216b95bbf491a4cd1) )
781781   ROM_LOAD( "starfore.004", 0x2000, 0x2000, CRC(fbcecb65) SHA1(0406ae134915539a171603ecdd1b549f98dd048c) )
r5338r5339
921921
922922GAME( 1983, senjyo,   0,        senjyo,  senjyo,   senjyo,   ROT90, "Tehkan", "Senjyo", 0 )
923923GAME( 1984, starforc, 0,        senjyo,  starforc, starforc, ROT90, "Tehkan", "Star Force", 0 )
924GAME( 1984, starfore, starforc, senjyo,  starforc, starfore, ROT90, "Tehkan", "Star Force (encrypted)", 0 )
925GAME( 1984, starforb, starforc, starforb,starforc, starfore, ROT90, "[Tehkan] (bootleg)", "Star Force (encrypted, bootleg)", 0 )
926GAME( 1984, starfora, starforc, senjyo,  starforc, starfora, ROT90, "Tehkan", "Star Force (encrypted, set 2)", 0 )
924GAME( 1984, starforce,starforc, senjyo,  starforc, starfore, ROT90, "Tehkan", "Star Force (encrypted)", 0 )
925GAME( 1984, starforcb,starforc, starforb,starforc, starfore, ROT90, "[Tehkan] (bootleg)", "Star Force (encrypted, bootleg)", 0 )
926GAME( 1984, starforca,starforc, senjyo,  starforc, starfora, ROT90, "Tehkan", "Star Force (encrypted, set 2)", 0 )
927927GAME( 1985, megaforc, starforc, senjyo,  starforc, starforc, ROT90, "Tehkan (Video Ware license)", "Mega Force", 0 )
928928GAME( 1986, baluba,   0,        senjyo,  baluba,   starforc, ROT90, "Able Corp, Ltd.", "Baluba-louk no Densetsu", GAME_IMPERFECT_COLORS )
929929
src/mame/drivers/mhavoc.c
r5338r5339
705705ROM_END
706706
707707
708ROM_START( alphaona )
708ROM_START( alphaonea )
709709   ROM_REGION( 0x20000, "alpha", 0 )
710710   /* Vector Generator ROM */
711711   ROM_LOAD( "vec5000.tw",   0x05000, 0x1000, CRC(2a4c149f) SHA1(b60a0b29958bee9b5f7c1d88163680b626bb76dd) )
r5338r5339
744744GAME( 1983, mhavocrv, mhavoc, mhavocrv, mhavocrv, mhavocrv, ROT0, "JMA",   "Major Havoc (Return to Vax)", GAME_SUPPORTS_SAVE )
745745GAME( 1983, mhavocp,  mhavoc, mhavoc,   mhavocp,  0,        ROT0, "Atari", "Major Havoc (prototype)", GAME_SUPPORTS_SAVE )
746746GAME( 1983, alphaone, mhavoc, alphaone, alphaone, 0,        ROT0, "Atari", "Alpha One (prototype, 3 lives)", GAME_SUPPORTS_SAVE )
747GAME( 1983, alphaona, mhavoc, alphaone, alphaone, 0,        ROT0, "Atari", "Alpha One (prototype, 5 lives)", GAME_SUPPORTS_SAVE )
747GAME( 1983, alphaonea,mhavoc, alphaone, alphaone, 0,        ROT0, "Atari", "Alpha One (prototype, 5 lives)", GAME_SUPPORTS_SAVE )
src/mame/drivers/spool99.c
r5338r5339
222222   PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
223223
224224   PORT_START("BET")
225   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Bet Button") PORT_CODE(KEYCODE_A)
225   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
226226   PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
227227
228228   PORT_START("COIN1")
r5338r5339
242242   PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
243243
244244   PORT_START("HOLD1")
245   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
245   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
246246   PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
247247
248248   PORT_START("HOLD2")
249   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
249   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
250250   PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
251251
252252   PORT_START("HOLD3")
253   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
253   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
254254   PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
255255
256256   PORT_START("HOLD4")
257   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
257   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
258258   PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
259259
260260   PORT_START("HOLD5")
261   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
261   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
262262   PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
263263INPUT_PORTS_END
264264
src/mame/drivers/cliffhgr.c
r5338r5339
322322   PORT_DIPNAME( 0x40, 0x40, "Short Scenes" )         PORT_DIPLOCATION("G11:7")
323323   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
324324   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
325   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("G11:6")
326   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
327   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
325   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("G11:6")
326   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
327   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
328328   PORT_DIPNAME( 0x10, 0x10, "Disc Test" )            PORT_DIPLOCATION("G11:5")
329329   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
330330   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
r5338r5339
453453   PORT_DIPNAME( 0x40, 0x40, "Play Thru/Random" )      PORT_DIPLOCATION("G11:7")
454454   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
455455   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
456   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("G11:6")
457   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
458   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
456   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("G11:6")
457   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
458   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
459459   PORT_DIPNAME( 0x10, 0x10, "Scene Jump/Disc Test" )   PORT_DIPLOCATION("G11:5")
460460   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
461461   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
r5338r5339
739739   DISK_IMAGE_READONLY( "cliffhgr", 0, SHA1(4442995c824d7891a2a19c607bb3301d696fbdc8) )
740740ROM_END
741741
742ROM_START( cliffhga )
742ROM_START( cliffhgra )
743743   ROM_REGION( 0x10000, "maincpu", 0 )
744744   ROM_LOAD( "cliff_alt_0.bin",   0x0000, 0x2000, CRC(27caa67c) SHA1(70d8270766b8712d4250b1a23489007d59eb262f) )
745745   ROM_LOAD( "cliff_alt_1.bin",   0x2000, 0x2000, CRC(6e5f1515) SHA1(1c4116f4f5910857408826d73c630abbf1434119) )
r5338r5339
783783 *
784784 *************************************/
785785
786GAME( 1983, cliffhgr, 0, cliffhgr, cliffhgr, cliff, ROT0, "Stern Electronics", "Cliff Hanger", 0)
787GAME( 1983, cliffhga, 0, cliffhgr, cliffhga, cliff, ROT0, "Stern Electronics", "Cliff Hanger (Alt)", 0)
788GAME( 1983, goaltogo, 0, cliffhgr, goaltogo, cliff, ROT0, "Stern Electronics", "Goal To Go", GAME_NOT_WORKING)
786GAME( 1983, cliffhgr, 0,        cliffhgr, cliffhgr, cliff, ROT0, "Stern Electronics", "Cliff Hanger", 0)
787GAME( 1983, cliffhgra,cliffhgr, cliffhgr, cliffhga, cliff, ROT0, "Stern Electronics", "Cliff Hanger (Alt)", 0)
788GAME( 1983, goaltogo, 0,        cliffhgr, goaltogo, cliff, ROT0, "Stern Electronics", "Goal To Go", GAME_NOT_WORKING)
src/mame/drivers/artmagic.c
r5338r5339
845845ROM_END
846846
847847
848ROM_START( stoneba2 )
848ROM_START( stonebal2 )
849849   ROM_REGION( 0x80000, "maincpu", 0 )   /* 64k for 68000 code */
850850   ROM_LOAD16_BYTE( "u102.bin", 0x00000, 0x40000, CRC(b3c4f64f) SHA1(6327e9f3cd9deb871a6910cf1f006c8ee143e859) )
851851   ROM_LOAD16_BYTE( "u101.bin", 0x00001, 0x40000, CRC(fe373f74) SHA1(bafac4bbd1aae4ccc4ae16205309483f1bbdd464) )
r5338r5339
935935GAME( 1993, ultennis, 0,        artmagic, ultennis, ultennis, ROT0, "Art & Magic", "Ultimate Tennis",       GAME_SUPPORTS_SAVE )
936936GAME( 1994, cheesech, 0,        cheesech, cheesech, cheesech, ROT0, "Art & Magic", "Cheese Chase",          GAME_SUPPORTS_SAVE )
937937GAME( 1994, stonebal, 0,        stonebal, stonebal, stonebal, ROT0, "Art & Magic", "Stone Ball (4 Players)", GAME_SUPPORTS_SAVE )
938GAME( 1994, stoneba2, stonebal, stonebal, stoneba2, stonebal, ROT0, "Art & Magic", "Stone Ball (2 Players)", GAME_SUPPORTS_SAVE )
938GAME( 1994, stonebal2,stonebal, stonebal, stoneba2, stonebal, ROT0, "Art & Magic", "Stone Ball (2 Players)", GAME_SUPPORTS_SAVE )
src/mame/drivers/twincobr.c
r5338r5339
803803   ROM_LOAD( "82s123.b24",   0x240, 0x020, CRC(4fb5df2a) SHA1(506ef2c8e4cf45c256d6831a0a5760732f2de422) )   /* tile to sprite priority ?? */
804804ROM_END
805805
806ROM_START( twincobu )
806ROM_START( twincobru )
807807   ROM_REGION( 0x30000, "maincpu", 0 )   /* Main 68K code */
808808   ROM_LOAD16_BYTE( "b30-01", 0x00000, 0x10000, CRC(07f64d13) SHA1(864ce0f9369c40c3ae792fc4ab2444a168214749) )
809809   ROM_LOAD16_BYTE( "b30-03", 0x00001, 0x10000, CRC(41be6978) SHA1(4784804b738a332c7f24a43bcbb7a1e607365735) )
r5338r5339
11471147
11481148
11491149GAME( 1987, twincobr, 0,        twincobr, twincobr, twincobr, ROT270, "[Toaplan] Taito Corporation", "Twin Cobra (World)", 0 )
1150GAME( 1987, twincobu, twincobr, twincobr, twincobu, twincobr, ROT270, "[Toaplan] Taito America Corporation (Romstar license)", "Twin Cobra (US)", 0 )
1150GAME( 1987, twincobru,twincobr, twincobr, twincobu, twincobr, ROT270, "[Toaplan] Taito America Corporation (Romstar license)", "Twin Cobra (US)", 0 )
11511151GAME( 1987, ktiger,   twincobr, twincobr, ktiger,   twincobr, ROT270, "[Toaplan] Taito Corporation", "Kyukyoku Tiger (Japan)", 0 )
11521152GAME( 1987, fshark,   0,        twincobr, fshark,   twincobr, ROT270, "[Toaplan] Taito Corporation", "Flying Shark (World)", 0 )
11531153GAME( 1987, skyshark, fshark,   twincobr, skyshark, twincobr, ROT270, "[Toaplan] Taito America Corporation (Romstar license)", "Sky Shark (US)", 0 )
src/mame/drivers/battlnts.c
r5338r5339
247247   ROM_LOAD( "777_c05.13e",  0x00000, 0x40000, CRC(aeee778c) SHA1(fc58ada9c97361d13439b7b0918c947d48402445) ) /* sprites */
248248ROM_END
249249
250ROM_START( battlntj )
250ROM_START( battlntsj )
251251   ROM_REGION( 0x20000, "maincpu", 0 ) /* code + banked roms */
252252   ROM_LOAD( "777_e02.7e",  0x08000, 0x08000, CRC(d631cfcb) SHA1(7787da0dd8cd218abc27204e517e04d7a1913a3b) ) /* fixed ROM */
253253   ROM_LOAD( "777_e03.8e",  0x10000, 0x10000, CRC(5ef1f4ef) SHA1(e3e6e1fc5a65328d94c23e2e76eef3504b70e58b) ) /* banked ROM */
r5338r5339
292292   ROM_LOAD( "765_e05.13e", 0x00000, 0x40000, CRC(ef044655) SHA1(c8272283eab8fc2899979da398819cb72c92a299) ) /* sprites */
293293ROM_END
294294
295ROM_START( thehustj )
295ROM_START( thehustlj )
296296   ROM_REGION( 0x20000, "maincpu", 0 ) /* code + banked roms */
297297   ROM_LOAD( "765_j02.7e",  0x08000, 0x08000, CRC(2ac14c75) SHA1(b88f6279ab88719f4207e28486a0022554668382) ) /* fixed ROM */
298298   ROM_LOAD( "765_j03.8e",  0x10000, 0x10000, CRC(a13fd751) SHA1(27ec66835c85b7ac0221a813d38e9cca0d9be3b8) ) /* banked ROM */
r5338r5339
345345
346346
347347GAME( 1987, battlnts, 0,        battlnts, battlnts, 0,        ROT90, "Konami", "Battlantis", 0 )
348GAME( 1987, battlntj, battlnts, battlnts, battlnts, 0,        ROT90, "Konami", "Battlantis (Japan)", 0 )
348GAME( 1987, battlntsj,battlnts, battlnts, battlnts, 0,        ROT90, "Konami", "Battlantis (Japan)", 0 )
349349GAME( 1987, rackemup, 0,        battlnts, thehustj, rackemup, ROT90, "Konami", "Rack 'em Up", GAME_NO_COCKTAIL )
350350GAME( 1987, thehustl, rackemup, battlnts, thehustj, 0,        ROT90, "Konami", "The Hustler (Japan version M)", GAME_NO_COCKTAIL )
351GAME( 1987, thehustj, rackemup, battlnts, thehustj, 0,        ROT90, "Konami", "The Hustler (Japan version J)", GAME_NO_COCKTAIL )
351GAME( 1987, thehustlj,rackemup, battlnts, thehustj, 0,        ROT90, "Konami", "The Hustler (Japan version J)", GAME_NO_COCKTAIL )
src/mame/drivers/galpani2.c
r5338r5339
734734   ROM_CONTINUE(            0x200000, 0x080000 )
735735ROM_END
736736
737ROM_START( galpan2g )
737ROM_START( galpani2g )
738738    ROM_REGION( 0x100000, "maincpu", 0 )         /* CPU#1 Code */
739739   ROM_LOAD16_BYTE( "g000g1.u133-0", 0x000000, 0x080000, CRC(5a9c4886) SHA1(6fbc443612e72bafc5cac30de78c72815db20c4c) )
740740   ROM_LOAD16_BYTE( "g001g1.u134-0", 0x000001, 0x080000, CRC(c92937c3) SHA1(0c9e894c0e23e319bd2d01ec573f02ed510e3ed6) )
r5338r5339
785785   ROM_CONTINUE(            0x200000, 0x080000 )
786786ROM_END
787787
788ROM_START( galpan2t )
788ROM_START( galpani2t )
789789    ROM_REGION( 0x100000, "maincpu", 0 )         /* CPU#1 Code */
790790   ROM_LOAD16_BYTE( "g000t1.133", 0x000000, 0x080000, CRC(332048e7) SHA1(1a353d4b29f7a08158fc454309dc496df6b5b108) )
791791   ROM_LOAD16_BYTE( "g001t1.134", 0x000001, 0x080000, CRC(c92937c3) SHA1(0c9e894c0e23e319bd2d01ec573f02ed510e3ed6) )
r5338r5339
850850
851851*/
852852
853ROM_START( galpan2j )
853ROM_START( galpani2j )
854854   ROM_REGION( 0x100000, "maincpu", 0 )         /* CPU#1 Code */
855855   ROM_LOAD16_BYTE( "g000j2.165", 0x000000, 0x080000, CRC(e0c5a03d) SHA1(e12457400ca8cd78674b44d7f4d664cfc0afc8c9) )
856856   ROM_LOAD16_BYTE( "g001j2.164", 0x000001, 0x080000, CRC(c8e12223) SHA1(0e0160565e95cb33dc6ad796225e995ed3baf8eb) )
r5338r5339
949949   ROM_LOAD( "gp2-101-0044.u60",  0x200000, 0x100000, CRC(3c45134f) SHA1(a5362bfcc6beb6e776c1bce4544475f8947fccea) )
950950ROM_END
951951
952GAME( 1993, galpani2, 0,        galpani2, galpani2, 0, ROT90, "Kaneko", "Gals Panic II (Asia)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION )
953GAME( 1993, galpan2g, galpani2, galpani2, galpani2, 0, ROT90, "Kaneko", "Gals Panic II (German)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION )
954GAME( 1993, galpan2t, galpani2, galpani2, galpani2, 0, ROT90, "Kaneko", "Gals Panic II (Taiwan)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION )
955GAME( 1993, galpan2j, galpani2, galpani2, galpani2, 0, ROT90, "Kaneko", "Gals Panic II (Japan)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION ) // it is a 'quiz edition' but the title screen doesn't say that??
952GAME( 1993, galpani2,  0,        galpani2, galpani2, 0, ROT90, "Kaneko", "Gals Panic II (Asia)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION )
953GAME( 1993, galpani2g, galpani2, galpani2, galpani2, 0, ROT90, "Kaneko", "Gals Panic II (German)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION )
954GAME( 1993, galpani2t, galpani2, galpani2, galpani2, 0, ROT90, "Kaneko", "Gals Panic II (Taiwan)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION )
955GAME( 1993, galpani2j, galpani2, galpani2, galpani2, 0, ROT90, "Kaneko", "Gals Panic II (Japan)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION ) // it is a 'quiz edition' but the title screen doesn't say that??
956956GAME( 1993, gp2quiz,  0,        galpani2, galpani2, 0, ROT90, "Kaneko", "Gals Panic II - Quiz Version (Japan)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION ) // this one has 'quiz edition' on the title screen
957957GAME( 1994, gp2se,    0,        galpani2, gp2se,    0, ROT90, "Kaneko", "Gals Panic II' - Special Edition (Japan)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION )
src/mame/drivers/seibuspi.c
r5338r5339
23252325
23262326/* SPI games */
23272327
2328ROM_START(senkyu)
2328ROM_START( senkyu )
23292329   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
23302330   ROM_LOAD32_BYTE("fb_1.211", 0x100000, 0x40000, CRC(20a3e5db) SHA1(f1109aeceac7993abc9093d09429718ffc292c77) )
23312331   ROM_LOAD32_BYTE("fb_2.212", 0x100001, 0x40000, CRC(38e90619) SHA1(451ab5f4a5935bb779f9c245c1c4358e80d93c15) )
r5338r5339
23532353   ROM_LOAD("fb_7.216",      0x200000, 0x080000, CRC(874d7b59) SHA1(0236753636c9a818780b23f5f506697b9f6d93c7) )
23542354ROM_END
23552355
2356ROM_START(senkyua)
2356ROM_START( senkyua )
23572357   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
23582358   ROM_LOAD32_BYTE("1.bin", 0x100000, 0x40000, CRC(6102c3fb) SHA1(4a55b41d916768f9601513db973b82077bca47c5) )
23592359   ROM_LOAD32_BYTE("2.bin", 0x100001, 0x40000, CRC(d5b8ce46) SHA1(f6e4b8f51146179efb52ecb2b72fdeaee10b7282) )
r5338r5339
23812381   ROM_LOAD("fb_7.216",      0x200000, 0x080000, CRC(874d7b59) SHA1(0236753636c9a818780b23f5f506697b9f6d93c7) )
23822382ROM_END
23832383
2384ROM_START(batlball)
2384ROM_START( batlball )
23852385   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
23862386   ROM_LOAD32_BYTE("1.211", 0x100000, 0x40000, CRC(d4e48f89) SHA1(10e43a9ff3f6f169de6352280a8a06e7f482271a) )
23872387   ROM_LOAD32_BYTE("2.212", 0x100001, 0x40000, CRC(3077720b) SHA1(b65c3d02ac75eb56e0c5dc1bf6bb6a4e445a41cf) )
r5338r5339
24092409   ROM_LOAD("fb_7.216",      0x200000, 0x080000, CRC(874d7b59) SHA1(0236753636c9a818780b23f5f506697b9f6d93c7) )
24102410ROM_END
24112411
2412ROM_START(batlbala)
2412ROM_START( batlballa )
24132413   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
24142414   ROM_LOAD32_BYTE("senkyua1.bin", 0x100000, 0x40000, CRC(ec3c4d4d) SHA1(6c57b8fbb77ce1615850842d06c054e88e240eef) )
24152415   ROM_LOAD32_BYTE("2.212", 0x100001, 0x40000, CRC(3077720b) SHA1(b65c3d02ac75eb56e0c5dc1bf6bb6a4e445a41cf) )
r5338r5339
24372437   ROM_LOAD("fb_7.216",      0x200000, 0x080000, CRC(874d7b59) SHA1(0236753636c9a818780b23f5f506697b9f6d93c7) )
24382438ROM_END
24392439
2440ROM_START(batlbalu)
2440ROM_START( batlballu )
24412441   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
24422442   ROM_LOAD32_BYTE("sen1.bin", 0x100000, 0x40000, CRC(13849bf0) SHA1(ffa829a8b8a05a8fbaf883a30759f2ad8071a85b) )
24432443   ROM_LOAD32_BYTE("sen2.bin", 0x100001, 0x40000, CRC(2ae5f7e2) SHA1(cef9ddea8b1d21f20a48c2523c9420c1800720c8) )
r5338r5339
24652465   ROM_LOAD("fb_7.216",      0x200000, 0x080000, CRC(874d7b59) SHA1(0236753636c9a818780b23f5f506697b9f6d93c7) )
24662466ROM_END
24672467
2468ROM_START(ejanhs)
2468ROM_START( ejanhs )
24692469   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
24702470   ROM_LOAD32_BYTE("ejan3_1.211", 0x100000, 0x40000, CRC(e626d3d2) SHA1(d23cb5e218a85e09de98fa966afbfd43090b396e) )
24712471   ROM_LOAD32_BYTE("ejan3_2.212", 0x100001, 0x40000, CRC(83c39da2) SHA1(9526ffb5d5becccf0aa2e338ab4a3c873d575e6f) )
r5338r5339
24962496ROM_END
24972497
24982498
2499ROM_START(viprp1)
2499ROM_START( viprp1 )
25002500   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
25012501   ROM_LOAD32_BYTE("seibu1.211", 0x000000, 0x80000, CRC(e5caf4ff) SHA1(7c87a4e8e8dacfb7cc0be8f778352bce2801e59b) )
25022502   ROM_LOAD32_BYTE("seibu2.212", 0x000001, 0x80000, CRC(688a998e) SHA1(0c48374b6800cd00e3ee96c0fb12119a680b091d) )
r5338r5339
25252525   ROM_CONTINUE(0x100000,0x80000) /* stops reading around 00ee8a6, rom is empty at this point, countdown continues anyway */
25262526ROM_END
25272527
2528ROM_START(viprp1j)
2528ROM_START( viprp1j )
25292529   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
25302530   ROM_LOAD32_BYTE("v_1-n.211", 0x000000, 0x80000, CRC(55f10b72) SHA1(2a1ebaa969f346bf3659ed8b0f469dce9eaf3b4b) )
25312531   ROM_LOAD32_BYTE("v_2-n.212", 0x000001, 0x80000, CRC(0f888283) SHA1(7e5ac81279b9c7a06f07cb8ae76938cdd5c9beee) )
r5338r5339
25542554   ROM_CONTINUE(0x100000,0x80000) /* stops reading around 00ee8a6, rom is empty at this point, countdown continues anyway */
25552555ROM_END
25562556
2557ROM_START(viprp1s)
2557ROM_START( viprp1s )
25582558   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
25592559   ROM_LOAD32_BYTE("viper_prg0.bin", 0x000000, 0x80000, CRC(ed9980b8) SHA1(bc324e9121ee1e55237bd91681f163ec7790de4c) )
25602560   ROM_LOAD32_BYTE("viper_prg1.bin", 0x000001, 0x80000, CRC(9d4d3486) SHA1(ded6fa32b973046e50c40c40c446590b5f6d0b76) )
r5338r5339
25832583   ROM_CONTINUE(0x100000,0x80000)
25842584ROM_END
25852585
2586ROM_START(viprp1o)
2586ROM_START( viprp1o )
25872587   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
25882588   ROM_LOAD32_BYTE("v_1-o.211", 0x000000, 0x80000, CRC(4430be64) SHA1(96501a490042c289060d8510f6f79fbf64f79c1a) )
25892589   ROM_LOAD32_BYTE("v_2-o.212", 0x000001, 0x80000, CRC(ffbd88f7) SHA1(cd7f291117dd18bd80fb1130eb87936ff7517ee3) )
r5338r5339
26122612   ROM_CONTINUE(0x100000,0x80000)
26132613ROM_END
26142614
2615ROM_START(viprp1ot)
2615ROM_START( viprp1ot )
26162616   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
26172617   ROM_LOAD32_BYTE("ov1.bin", 0x000000, 0x80000, CRC(cbad0e28) SHA1(fbc9b3b243ae0d556f41e8bef5f09489bb9e302b) )
26182618   ROM_LOAD32_BYTE("ov2.bin", 0x000001, 0x80000, CRC(0e2bbcb5) SHA1(5e53d60357fb0f9efa441261fac79e153eb35f3d) )
r5338r5339
26412641   ROM_CONTINUE(0x100000,0x80000)
26422642ROM_END
26432643
2644ROM_START(viprp1hk)
2644ROM_START( viprp1hk )
26452645   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
26462646   ROM_LOAD32_BYTE("seibu_1", 0x000000, 0x80000, CRC(283ba7b7) SHA1(28122e04b72f1163c69f3f845f6a493fdb6ed652) )
26472647   ROM_LOAD32_BYTE("seibu_2", 0x000001, 0x80000, CRC(2c4db249) SHA1(a6372c9a3cde5f262ec5ef446945f6d3ad506e88) )
r5338r5339
26712671ROM_END
26722672
26732673
2674ROM_START(rdft)
2674ROM_START( rdft )
26752675   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
26762676   ROM_LOAD32_BYTE("gd_1.211", 0x000000, 0x80000, CRC(f6b2cbdc) SHA1(040c4ff961c8be388c8279b06b777d528c2acc1b) )
26772677   ROM_LOAD32_BYTE("gd_2.212", 0x000001, 0x80000, CRC(1982f812) SHA1(4f12fc3fd7f7a4beda4d29cc81e3a58d255e441f) )
r5338r5339
27012701   ROM_LOAD("gd_8.216",   0x200000, 0x080000, CRC(f88cb6e4) SHA1(fb35b41307b490d5d08e4b8a70f8ff4ce2ca8105) )
27022702ROM_END
27032703
2704ROM_START(rdftu)
2704ROM_START( rdftu )
27052705   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
27062706   ROM_LOAD32_BYTE("rdftu_gd_1.211", 0x000000, 0x80000, CRC(47810c48) SHA1(8dc8848d3e7467ea887c50fd5675fba2cc741121) )
27072707   ROM_LOAD32_BYTE("rdftu_gd_2.212", 0x000001, 0x80000, CRC(13911750) SHA1(8899accb059ed84170924750bb39ae7383ebd959) )
r5338r5339
27322732ROM_END
27332733
27342734
2735ROM_START(rdftj)
2735ROM_START( rdftj )
27362736   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
27372737   ROM_LOAD32_BYTE("rf1.bin", 0x000000, 0x80000, CRC(46861b75) SHA1(079c589c490d49f7ec97a7e68c5b6e7e37872827) )
27382738   ROM_LOAD32_BYTE("rf2.bin", 0x000001, 0x80000, CRC(6388ed11) SHA1(aebbccfb0f704cdceb45ea71216275dd83880e15) )
r5338r5339
27622762   ROM_LOAD("gd_8.216",   0x200000, 0x080000, CRC(f88cb6e4) SHA1(fb35b41307b490d5d08e4b8a70f8ff4ce2ca8105) )
27632763ROM_END
27642764
2765ROM_START(rdftau)
2765ROM_START( rdftau )
27662766   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
27672767   ROM_LOAD32_BYTE("1.u0211", 0x000000, 0x80000, CRC(6339c60d) SHA1(871d5bc9fc695651ceb6fcfdab32084320fe239d) )
27682768   ROM_LOAD32_BYTE("2.u0212", 0x000001, 0x80000, CRC(a88bda02) SHA1(27dc720d28f56cf443a4eb0bbaaf4bf3b194056d) )
r5338r5339
27922792   ROM_LOAD("gd_8.216",   0x200000, 0x080000, CRC(f88cb6e4) SHA1(fb35b41307b490d5d08e4b8a70f8ff4ce2ca8105) )
27932793ROM_END
27942794
2795ROM_START(rdftdi)
2795ROM_START( rdftdi )
27962796   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
27972797   ROM_LOAD32_BYTE("u211.bin", 0x000000, 0x80000, CRC(fc0e2885) SHA1(79621155d992d504e993bd3ee0d6ff3903bd5415) )
27982798   ROM_LOAD32_BYTE("u212.bin", 0x000001, 0x80000, CRC(58ccb10c) SHA1(0cce4057bfada78121d9586574b98d46cdd7dd46) )
r5338r5339
28222822   ROM_LOAD("gd_8.216",   0x200000, 0x080000, CRC(f88cb6e4) SHA1(fb35b41307b490d5d08e4b8a70f8ff4ce2ca8105) )
28232823ROM_END
28242824
2825ROM_START(rdftit)
2825ROM_START( rdftit )
28262826   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
28272827   ROM_LOAD32_BYTE("seibu1",   0x000000, 0x80000, CRC(de0c3e3c) SHA1(b00225bad282e46b5825608f76eea6670bfe5527) )
28282828   ROM_LOAD32_BYTE("u212.bin", 0x000001, 0x80000, CRC(58ccb10c) SHA1(0cce4057bfada78121d9586574b98d46cdd7dd46) )
r5338r5339
28522852   ROM_LOAD("gd_8.216",   0x200000, 0x080000, CRC(f88cb6e4) SHA1(fb35b41307b490d5d08e4b8a70f8ff4ce2ca8105) )
28532853ROM_END
28542854
2855ROM_START(rdfta)
2855ROM_START( rdfta )
28562856   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
28572857   ROM_LOAD32_BYTE("seibu1a",  0x000000, 0x80000, CRC(c3bb2e58) SHA1(399ac4b387ba38f5fdad5c4172b2d3baeafd8773) )
28582858   ROM_LOAD32_BYTE("u212.bin", 0x000001, 0x80000, CRC(58ccb10c) SHA1(0cce4057bfada78121d9586574b98d46cdd7dd46) )
r5338r5339
28822882   ROM_LOAD("gd_8.216",   0x200000, 0x080000, CRC(f88cb6e4) SHA1(fb35b41307b490d5d08e4b8a70f8ff4ce2ca8105) )
28832883ROM_END
28842884
2885ROM_START(rdft2us)   /* Single board version SXX2F */
2885ROM_START( rdft2us )   /* Single board version SXX2F */
28862886   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
28872887   ROM_LOAD32_BYTE("prg0.u0259", 0x000000, 0x80000, CRC(ff3eeec1) SHA1(88c1741e4936db9a5b13e562061b0f1cc6fa6b36) )
28882888   ROM_LOAD32_BYTE("prg1.u0258", 0x000001, 0x80000, CRC(e2cf77d6) SHA1(173cc0e304c9dadea4ed0812ebb64c6c83549912) )
r5338r5339
29162916   ROM_LOAD("sound1.u0107", 0x200000, 0x080000, CRC(20384b0e) SHA1(9c5d725418543df740f9145974ed6ffbbabee1d0) ) /* Different sound1 then SPI carts */
29172917ROM_END
29182918
2919ROM_START(rdft2) /* SPI Cart, Europe */
2919ROM_START( rdft2 ) /* SPI Cart, Europe */
29202920   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
29212921   ROM_LOAD32_BYTE("prg0.tun", 0x000000, 0x80000, CRC(3cb3fdca) SHA1(4b472dfd65c7bbbcb92a295aa73b0fa70581455b) )
29222922   ROM_LOAD32_BYTE("prg1.bin", 0x000001, 0x80000, CRC(cab55d88) SHA1(246e13880d34b6c7c3f4ab5e18fa8a0547c03d9d) )
r5338r5339
29492949   ROM_LOAD("sound1.u0222", 0x200000, 0x080000, CRC(b7bd3703) SHA1(6427a7e6de10d6743d6e64b984a1d1c647f5643a) )
29502950ROM_END
29512951
2952ROM_START(rdft2u) /* SPI Cart, USA */
2952ROM_START( rdft2u ) /* SPI Cart, USA */
29532953   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
29542954   ROM_LOAD32_BYTE("1.bin", 0x000000, 0x80000, CRC(b7d6c866) SHA1(eefe63dfc641c3904dd150a10ffeb68137068725) )
29552955   ROM_LOAD32_BYTE("2.bin", 0x000001, 0x80000, CRC(ff7747c5) SHA1(7481d0484001ff7367af56e8ea99f985cce405f2) )
r5338r5339
29822982   ROM_LOAD("sound1.u0222", 0x200000, 0x080000, CRC(b7bd3703) SHA1(6427a7e6de10d6743d6e64b984a1d1c647f5643a) )
29832983ROM_END
29842984
2985ROM_START(rdft2j) /* SPI Cart, Japan */
2985ROM_START( rdft2j ) /* SPI Cart, Japan */
29862986   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
29872987   ROM_LOAD32_BYTE("prg0.sei", 0x000000, 0x80000, CRC(a60c4e7c) SHA1(7789b029d0ac084c7e5e662a7168edaed8f11633) )
29882988   ROM_LOAD32_BYTE("prg1.bin", 0x000001, 0x80000, CRC(cab55d88) SHA1(246e13880d34b6c7c3f4ab5e18fa8a0547c03d9d) )
r5338r5339
30153015   ROM_LOAD("sound1.u0222", 0x200000, 0x080000, CRC(b7bd3703) SHA1(6427a7e6de10d6743d6e64b984a1d1c647f5643a) )
30163016ROM_END
30173017
3018ROM_START(rdft2j2) /* SPI Cart, Japan */
3018ROM_START( rdft2j2 ) /* SPI Cart, Japan */
30193019   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
30203020   ROM_LOAD32_BYTE("rf2.1",    0x000000, 0x80000, CRC(391d5057) SHA1(a1849142cbf7344ac1279781597e27b3b8ae6127) )
30213021   ROM_LOAD32_BYTE("rf2_2.bin", 0x000001, 0x80000, CRC(ec73a767) SHA1(83f3905afe49401793c0ea0193cb31d3ba1e1739) )
r5338r5339
30483048   ROM_LOAD("sound1.u0222", 0x200000, 0x080000, CRC(b7bd3703) SHA1(6427a7e6de10d6743d6e64b984a1d1c647f5643a) )
30493049ROM_END
30503050
3051ROM_START(rdft2a) /* SPI Cart, Asia (Metrotainment license) */
3051ROM_START( rdft2a ) /* SPI Cart, Asia (Metrotainment license) */
30523052   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
30533053   ROM_LOAD32_BYTE("prg0.met", 0x000000, 0x80000, CRC(046b3f0e) SHA1(033898f658d6007f891828835734422d4af36321) )
30543054   ROM_LOAD32_BYTE("prg1.bin", 0x000001, 0x80000, CRC(cab55d88) SHA1(246e13880d34b6c7c3f4ab5e18fa8a0547c03d9d) )
r5338r5339
30813081   ROM_LOAD("sound1.u0222", 0x200000, 0x080000, CRC(b7bd3703) SHA1(6427a7e6de10d6743d6e64b984a1d1c647f5643a) )
30823082ROM_END
30833083
3084ROM_START(rdft2a2) /* SPI Cart, Asia (Dream Island license) */
3084ROM_START( rdft2a2 ) /* SPI Cart, Asia (Dream Island license) */
30853085   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
30863086   ROM_LOAD32_BYTE("rf2_1.bin", 0x000000, 0x80000, CRC(72198410) SHA1(ca4bc858f6bf247a343b0fdae1d1a3cdabc4a3c3) )
30873087   ROM_LOAD32_BYTE("rf2_2.bin", 0x000001, 0x80000, CRC(ec73a767) SHA1(83f3905afe49401793c0ea0193cb31d3ba1e1739) )
r5338r5339
31143114   ROM_LOAD("sound1.u0222", 0x200000, 0x080000, CRC(b7bd3703) SHA1(6427a7e6de10d6743d6e64b984a1d1c647f5643a) )
31153115ROM_END
31163116
3117ROM_START(rdft2t) /* SPI Cart, Asia */
3117ROM_START( rdft2t ) /* SPI Cart, Asia */
31183118   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
31193119   ROM_LOAD32_BYTE("prg0", 0x000000, 0x80000, CRC(7e8c3acc) SHA1(63f4f9f7df7fa028737d9f7dfae96795cde58541) )
31203120   ROM_LOAD32_BYTE("prg1", 0x000001, 0x80000, CRC(22cb5b68) SHA1(35f86ad7771fe9aaac3904ed34a96d0cc10ef21c) )
r5338r5339
31473147   ROM_LOAD("sound1.u0222", 0x200000, 0x080000, CRC(b7bd3703) SHA1(6427a7e6de10d6743d6e64b984a1d1c647f5643a) )
31483148ROM_END
31493149
3150ROM_START(rfjet) /* SPI Cart, Europe */
3150ROM_START( rfjet ) /* SPI Cart, Europe */
31513151   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
31523152   ROM_LOAD32_BYTE("prg0.u0211", 0x000000, 0x80000, CRC(e5a3b304) SHA1(f7285f9c69c589fcc71082dc0b9225fdccec855f) )
31533153   ROM_LOAD32_BYTE("prg1.u0212", 0x000001, 0x80000, CRC(395e6da7) SHA1(736f777cb1b6bf5541832b8ea89594738ca6d829) )
r5338r5339
31773177   ROM_LOAD("sound1.u0222", 0x200000, 0x080000, CRC(d4fc3da1) SHA1(a03bd97e36a21d27a834b9691b27a7eb7ac51ff2) )
31783178ROM_END
31793179
3180ROM_START(rfjetj) /* SPI Cart, Japan */
3180ROM_START( rfjetj ) /* SPI Cart, Japan */
31813181   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
31823182   ROM_LOAD32_BYTE("prg0.bin", 0x000000, 0x80000, CRC(d82fb71f) SHA1(63a458fd007c353f4fae54a4882f5c565fe1efa4) )
31833183   ROM_LOAD32_BYTE("prg1.bin", 0x000001, 0x80000, CRC(7e21c669) SHA1(731852e5925dccc9d0d1ae4bcafa238f157f4079) )
r5338r5339
32083208ROM_END
32093209
32103210
3211ROM_START(rfjetu) /* SPI Cart, US */
3211ROM_START( rfjetu ) /* SPI Cart, US */
32123212   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
32133213   ROM_LOAD32_BYTE("prg0u.u0211", 0x000000, 0x80000, CRC(15ac2040) SHA1(7309a9dd9c91fef0e761dcf8639f421ce7abc97f) )
32143214   ROM_LOAD32_BYTE("prg1.u0212",  0x000001, 0x80000, CRC(395e6da7) SHA1(736f777cb1b6bf5541832b8ea89594738ca6d829) )
r5338r5339
32383238   ROM_LOAD("sound1.u0222", 0x200000, 0x080000, CRC(d4fc3da1) SHA1(a03bd97e36a21d27a834b9691b27a7eb7ac51ff2) )
32393239ROM_END
32403240
3241ROM_START(rfjeta) /* SPI Cart, Asia */
3241ROM_START( rfjeta ) /* SPI Cart, Asia */
32423242   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
32433243   ROM_LOAD32_BYTE("prg0a.u0211", 0x000000, 0x80000, CRC(3418d4f5) SHA1(f8766d7b3708a196de417ee757787220b2a9ced1) )
32443244   ROM_LOAD32_BYTE("prg1.u0212",  0x000001, 0x80000, CRC(395e6da7) SHA1(736f777cb1b6bf5541832b8ea89594738ca6d829) )
r5338r5339
32683268   ROM_LOAD("sound1.u0222", 0x200000, 0x080000, CRC(d4fc3da1) SHA1(a03bd97e36a21d27a834b9691b27a7eb7ac51ff2) )
32693269ROM_END
32703270
3271ROM_START(rfjetus)   /* Single board version SXX2G */
3271ROM_START( rfjetus )   /* Single board version SXX2G */
32723272   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
32733273   ROM_LOAD32_BYTE("rfj-06.u0259", 0x000000, 0x80000, CRC(c835aa7a) SHA1(291eada97ceb907dfea15688ce6055e63b3aa675) ) /* PRG0 */
32743274   ROM_LOAD32_BYTE("rfj-07.u0258", 0x000001, 0x80000, CRC(3b6ca1ca) SHA1(9db019c0ddecfb58e2be5c345d78352f700035bf) ) /* PRG1 */
r5338r5339
33873387           *       - Unpopulated position for Xilinx XC9572 CPLD
33883388*/
33893389
3390ROM_START(rdft22kc)
3390ROM_START( rdft22kc )
33913391   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
33923392   ROM_LOAD32_WORD("prg0-1.267", 0x000000, 0x100000, CRC(0d7d6eb8) SHA1(3a71e1e0ba5bb500dc026debbb6189723c0c2890) )
33933393   ROM_LOAD32_WORD("prg2-3.266", 0x000002, 0x100000, CRC(ead53e69) SHA1(b0e2e06f403317054ecb48d2747034424245f129) )
r5338r5339
34463446
34473447*/
34483448
3449ROM_START(ejsakura) /* SYS386F V2.0 */
3449ROM_START( ejsakura ) /* SYS386F V2.0 */
34503450   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
34513451   ROM_LOAD32_BYTE("prg0.211",  0x100000, 0x40000, CRC(199f2f08) SHA1(096afb23f2763b9aee5e8de3870fe47116a8d134) )
34523452   ROM_LOAD32_BYTE("prg1.212",  0x100001, 0x40000, CRC(2cb636e6) SHA1(3524231a336de5acc93dff20b0b65ade31e27116) )
r5338r5339
34683468   ROM_LOAD("sound2.84",  0x800000, 0x800000, CRC(ff37e769) SHA1(eb6d260cbc4e4a925a5d8f604ec695e567ac6bb5) )
34693469ROM_END
34703470
3471ROM_START(ejsakura12) /* SYS386F V1.2 */
3471ROM_START( ejsakura12 ) /* SYS386F V1.2 */
34723472   ROM_REGION32_LE(0x200000, "user1", 0)   /* i386 program */
34733473   ROM_LOAD32_BYTE("prg0v1.2.u0211",  0x100000, 0x40000, CRC(c734fde6) SHA1(d4256f0d2be624fc0e5340ae14679679e5e184c8) )
34743474   ROM_LOAD32_BYTE("prg1v1.2.u0212",  0x100001, 0x40000, CRC(fb7a9e38) SHA1(5a2e02e1b8ed71ffc96dbda871618f5f9cccc8c6) )
r5338r5339
34973497GAME( 1995, senkyu,    0,       spi,      spi_3button, senkyu,   ROT0,   "Seibu Kaihatsu", "Senkyu (Japan, set 1)",  GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND )
34983498GAME( 1995, senkyua,   senkyu,  spi,      spi_3button, senkyua,  ROT0,   "Seibu Kaihatsu", "Senkyu (Japan, set 2)",  GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND )
34993499GAME( 1995, batlball,  senkyu,  spi,      spi_3button, batlball, ROT0,   "Seibu Kaihatsu (Tuning License)", "Battle Balls (Germany)",  GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND )
3500GAME( 1995, batlbala,  senkyu,  spi,      spi_3button, batlball, ROT0,   "Seibu Kaihatsu (Metrotainment License)", "Battle Balls (Asia)",  GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND )
3501GAME( 1995, batlbalu,  senkyu,  spi,      spi_3button, batlball, ROT0,   "Seibu Kaihatsu (Fabtek License)", "Battle Balls (US)",  GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND )
3500GAME( 1995, batlballa, senkyu,  spi,      spi_3button, batlball, ROT0,   "Seibu Kaihatsu (Metrotainment License)", "Battle Balls (Asia)",  GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND )
3501GAME( 1995, batlballu, senkyu,  spi,      spi_3button, batlball, ROT0,   "Seibu Kaihatsu (Fabtek License)", "Battle Balls (US)",  GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND )
35023502
35033503GAME( 1995, viprp1,    0,       spi,      spi_3button, viprp1,  ROT270, "Seibu Kaihatsu", "Viper Phase 1 (World, New Version)",  GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND )
35043504GAME( 1995, viprp1j,   viprp1,  spi,      spi_3button, viprp1,  ROT270, "Seibu Kaihatsu", "Viper Phase 1 (Japan, New Version)",  GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND )
src/mame/drivers/coolpool.c
r5338r5339
790790   ROM_LOAD16_WORD( "u23",  0x0f0000, 0x10000, CRC(d7c2b13b) SHA1(3561e08011f649e4d0c47792745b2a014167e816) )
791791ROM_END
792792
793ROM_START( amerdar2 )
793ROM_START( amerdart2 )
794794   ROM_REGION16_LE( 0x0a0000, "user1", 0 )   /* 34010 code */
795795   ROM_LOAD16_BYTE( "u31",     0x000001, 0x10000, CRC(9628c422) SHA1(46b71acc746760962e34e9d7876f9499ea7d5c7c) )
796796   ROM_LOAD16_BYTE( "u32",     0x000000, 0x10000, CRC(2d651ed0) SHA1(e2da2c3d8f25c17e26fd435c75983b2db8691993) )
r5338r5339
888888  all ROMs for this set were missing except for the main program,
889889  I assume the others are the same.
890890 */
891ROM_START( 9ballsh2 )
891ROM_START( 9ballsht2 )
892892   ROM_REGION16_LE( 0x80000, "user1", 0 )   /* 34010 code */
893893   ROM_LOAD16_BYTE( "e-scape.112",  0x00000, 0x40000, CRC(aee8114f) SHA1(a0d0e9e3a879393585b85ac6d04e31a7d4221179) )
894894   ROM_LOAD16_BYTE( "e-scape.113",  0x00001, 0x40000, CRC(ccd472a7) SHA1(d074080e987c233b26b3c72248411c575f7a2293) )
r5338r5339
906906   ROM_LOAD( "u53",          0x80000, 0x80000, CRC(d401805d) SHA1(f4bcb2bdc45c3bc5ca423e518cdea8b3a7e8d60e) )
907907ROM_END
908908
909ROM_START( 9ballsh3 )
909ROM_START( 9ballsht3 )
910910   ROM_REGION16_LE( 0x80000, "user1", 0 )   /* 34010 code */
911911   ROM_LOAD16_BYTE( "8e_1826.112",  0x00000, 0x40000, CRC(486f7a8b) SHA1(635e3b1e7a21a86dd3d0ea994e9b923b06df587e) )
912912   ROM_LOAD16_BYTE( "8e_6166.113",  0x00001, 0x40000, CRC(c41db70a) SHA1(162112f9f5bb6345920a45c41da6a249796bd21f) )
r5338r5339
926926
927927/* If you use the roms from the other set this will boot as 9 Ball Shootout Championship, it looks however like the TMS32026 data
928928   should differ at least (the correct data in the bad dump is very different to the other dumps) */
929ROM_START( 9ballshc )
929ROM_START( 9ballshtc )
930930   ROM_REGION16_LE( 0x80000, "user1", 0 )   /* 34010 code */
931931   ROM_LOAD16_BYTE( "escape.112",  0x00000, 0x40000, CRC(7ba2749a) SHA1(e2ddc2600234dbebbb423f201cc4061fd0b9911a) )
932932   ROM_LOAD16_BYTE( "escape.113",  0x00001, 0x40000, CRC(1e0f3c62) SHA1(3c24a38dcb553fd84b0b44a5a8d93a14435e22b0) )
r5338r5339
10091009 *************************************/
10101010
10111011GAME( 1989, amerdart, 0,        amerdart, amerdart, 0,        ROT0, "Ameri",   "AmeriDarts (set 1)", GAME_NO_SOUND )
1012GAME( 1989, amerdar2, amerdart, amerdart, amerdart, 0,        ROT0, "Ameri",   "AmeriDarts (set 2)", GAME_NO_SOUND )
1012GAME( 1989, amerdart2,amerdart, amerdart, amerdart, 0,        ROT0, "Ameri",   "AmeriDarts (set 2)", GAME_NO_SOUND )
10131013GAME( 1992, coolpool, 0,        coolpool, coolpool, coolpool, ROT0, "Catalina", "Cool Pool", 0 )
10141014GAME( 1993, 9ballsht, 0,        9ballsht, 9ballsht, 9ballsht, ROT0, "E-Scape EnterMedia (Bundra license)", "9-Ball Shootout (set 1)", 0 )
1015GAME( 1993, 9ballsh2, 9ballsht, 9ballsht, 9ballsht, 9ballsht, ROT0, "E-Scape EnterMedia (Bundra license)", "9-Ball Shootout (set 2)", 0 )
1016GAME( 1993, 9ballsh3, 9ballsht, 9ballsht, 9ballsht, 9ballsht, ROT0, "E-Scape EnterMedia (Bundra license)", "9-Ball Shootout (set 3)", 0 )
1017GAME( 1993, 9ballshc, 9ballsht, 9ballsht, 9ballsht, 9ballsht, ROT0, "E-Scape EnterMedia (Bundra license)", "9-Ball Shootout Championship", GAME_NOT_WORKING )
1015GAME( 1993, 9ballsht2,9ballsht, 9ballsht, 9ballsht, 9ballsht, ROT0, "E-Scape EnterMedia (Bundra license)", "9-Ball Shootout (set 2)", 0 )
1016GAME( 1993, 9ballsht3,9ballsht, 9ballsht, 9ballsht, 9ballsht, ROT0, "E-Scape EnterMedia (Bundra license)", "9-Ball Shootout (set 3)", 0 )
1017GAME( 1993, 9ballshtc,9ballsht, 9ballsht, 9ballsht, 9ballsht, ROT0, "E-Scape EnterMedia (Bundra license)", "9-Ball Shootout Championship", GAME_NOT_WORKING )
src/mame/drivers/sauro.c
r5338r5339
339339
340340   /* video hardware */
341341   MDRV_SCREEN_ADD("screen", RASTER)
342   MDRV_SCREEN_REFRESH_RATE(60)
342   MDRV_SCREEN_REFRESH_RATE(55.72)   /* verified on pcb */
343343   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(5000))  // frames per second, vblank duration (otherwise sprites lag)
344344   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
345345   MDRV_SCREEN_SIZE(32 * 8, 32 * 8)
r5338r5339
452452   ROM_LOAD( "tdprm.prm",    0x0000, 0x0200,  CRC(5261bc11) SHA1(1cc7a9a7376e65f4587b75ef9382049458656372) )
453453ROM_END
454454
455ROM_START( trckydca )
455ROM_START( trckydoca )
456456   ROM_REGION( 0x10000, "maincpu", 0 )
457457   ROM_LOAD( "trckydca.d9",  0x0000,  0x8000, CRC(99c38aa4) SHA1(298a19439cc17743e10d101c50a26b9a7348299e) )
458458   ROM_LOAD( "trckydca.b9",  0x8000,  0x8000, CRC(b6048a15) SHA1(d982fafbfa391ef9bab50bfd52607494e2a9eedf) )
r5338r5339
489489
490490GAME( 1987, sauro,    0,        sauro,    tecfri, tecfri, ROT0, "Tecfri", "Sauro", 0 )
491491GAME( 1987, trckydoc, 0,        trckydoc, tecfri, tecfri, ROT0, "Tecfri", "Tricky Doc (Set 1)", 0 )
492GAME( 1987, trckydca, trckydoc, trckydoc, tecfri, tecfri, ROT0, "Tecfri", "Tricky Doc (Set 2)", 0 )
492GAME( 1987, trckydoca,trckydoc, trckydoc, tecfri, tecfri, ROT0, "Tecfri", "Tricky Doc (Set 2)", 0 )
493493
src/mame/drivers/timetrv.c
r5338r5339
163163   DISK_IMAGE_READONLY( "timetrv", 0, NO_DUMP )
164164ROM_END
165165
166GAME( 1991, timetrv,  0,       timetrv,  timetrv,  0, ROT0, "Virtual Image Productions (Sega license)", "Time Traveller", GAME_NO_SOUND | GAME_NOT_WORKING )
166GAME( 1991, timetrv,  0,       timetrv,  timetrv,  0, ROT0, "Virtual Image Productions (Sega license)", "Time Traveler", GAME_NO_SOUND | GAME_NOT_WORKING )
src/mame/drivers/bfm_sc2.c
r5338r5339
30383038   PORT_DIPSETTING(    0x10, DEF_STR( On  ) )
30393039INPUT_PORTS_END
30403040
3041static INPUT_PORTS_START( bbrkfst )
3042   PORT_START("COINS")
3043    PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(3) PORT_NAME("10p")
3044   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_COIN2 ) PORT_IMPULSE(3) PORT_NAME("20p")
3045   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN3 ) PORT_IMPULSE(3) PORT_NAME("50p")
3046   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_COIN4 ) PORT_IMPULSE(3) PORT_NAME("GBP 1.00")
3047   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_COIN5 ) PORT_IMPULSE(3) PORT_NAME("Token")
3048   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED)
3049   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED)
3050   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED)
30413051
3052   PORT_START("STROBE0")
3053   PORT_BIT( 0xFF, IP_ACTIVE_HIGH, IPT_UNUSED)
3054
3055   PORT_START("STROBE1")
3056   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1) PORT_NAME("Cancel")
3057   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON2) PORT_NAME("Hold 1")
3058   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON3) PORT_NAME("Hold 2/Hi")
3059   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON4) PORT_NAME("Hold 3/Lo")
3060   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON5) PORT_NAME("Stop/Collect")
3061   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )
3062   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED )
3063   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
3064
3065   PORT_START("STROBE2")
3066   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_NAME("Exchange")
3067   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START1  )
3068   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED )
3069   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON7 ) PORT_NAME("Take Big Breakfast")
3070   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON8 ) PORT_NAME("Take Feature")
3071   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED  )
3072   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED  )
3073   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED  )
3074
3075   PORT_START("STROBE3")
3076   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNUSED )
3077   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED )
3078   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED )
3079   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
3080   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED )
3081   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )
3082   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED )
3083   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
3084
3085   PORT_START("STROBE4")
3086   PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_INTERLOCK)   PORT_NAME("Cashbox Door") PORT_CODE(KEYCODE_Q) PORT_TOGGLE
3087   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_INTERLOCK)   PORT_NAME("Front Door") PORT_CODE(KEYCODE_W) PORT_TOGGLE
3088   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_OTHER )      PORT_NAME("Refill Key") PORT_CODE(KEYCODE_R) PORT_TOGGLE
3089   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
3090   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED )
3091   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )
3092   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED )
3093   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
3094
3095   PORT_START("STROBE5")
3096   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNUSED )
3097   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED )
3098   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED )
3099   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
3100   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED )
3101   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )
3102   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED )
3103   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
3104
3105   PORT_START("STROBE6")
3106   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNUSED )
3107   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED )
3108   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED )
3109   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
3110   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED )
3111   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )
3112   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED )
3113   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
3114
3115   PORT_START("STROBE7")
3116   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNUSED )
3117   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED )
3118   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED )
3119   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
3120   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED )
3121   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )
3122   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED )
3123   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
3124
3125   PORT_START("STROBE8")
3126   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNUSED )
3127   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED )
3128   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED )
3129   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
3130   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED )
3131   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )
3132   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED )
3133   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
3134
3135   PORT_START("STROBE9")
3136   PORT_SERVICE_NO_TOGGLE(0x01,IP_ACTIVE_HIGH)
3137   PORT_DIPNAME( 0x02, 0x00, "DIL02" ) PORT_DIPLOCATION("DIL:02")
3138   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
3139   PORT_DIPSETTING(    0x02, DEF_STR( On  ) )
3140   PORT_DIPNAME( 0x04, 0x00, "DIL03" ) PORT_DIPLOCATION("DIL:03")
3141   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
3142   PORT_DIPSETTING(    0x04, DEF_STR( On  ) )
3143   PORT_DIPNAME( 0x08, 0x00, "DIL04" ) PORT_DIPLOCATION("DIL:04")
3144   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
3145   PORT_DIPSETTING(    0x08, DEF_STR( On  ) )
3146   PORT_DIPNAME( 0x10, 0x00, "DIL05" ) PORT_DIPLOCATION("DIL:05")
3147   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
3148   PORT_DIPSETTING(    0x10, DEF_STR( On  ) )
3149
3150   PORT_START("STROBE10")
3151   PORT_DIPNAME( 0x01, 0x00, "DIL06" ) PORT_DIPLOCATION("DIL:06")
3152   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
3153   PORT_DIPSETTING(    0x01, DEF_STR( On  ) )
3154   PORT_DIPNAME( 0x02, 0x00, "DIL07" ) PORT_DIPLOCATION("DIL:07")
3155   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
3156   PORT_DIPSETTING(    0x02, DEF_STR( On  ) )
3157   PORT_DIPNAME( 0x04, 0x00, "DIL08" ) PORT_DIPLOCATION("DIL:08")
3158   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
3159   PORT_DIPSETTING(    0x04, DEF_STR( On  ) )
3160   PORT_DIPNAME( 0x08, 0x00, "DIL10" ) PORT_DIPLOCATION("DIL:10")
3161   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
3162   PORT_DIPSETTING(    0x08, DEF_STR( On  ) )
3163   PORT_DIPNAME( 0x10, 0x00, "DIL11" ) PORT_DIPLOCATION("DIL:11")
3164   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
3165   PORT_DIPSETTING(    0x10, DEF_STR( On  ) )
3166
3167   PORT_START("STROBE11")
3168   PORT_DIPNAME( 0x01, 0x00, "DIL12" ) PORT_DIPLOCATION("DIL:12")
3169   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
3170   PORT_DIPSETTING(    0x01, DEF_STR( On  ) )
3171   PORT_DIPNAME( 0x02, 0x00, "DIL13" ) PORT_DIPLOCATION("DIL:13")
3172   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
3173   PORT_DIPSETTING(    0x02, DEF_STR( On  ) )
3174   PORT_DIPNAME( 0x04, 0x00, "DIL14" ) PORT_DIPLOCATION("DIL:14")
3175   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
3176   PORT_DIPSETTING(    0x04, DEF_STR( On  ) )
3177   PORT_DIPNAME( 0x08, 0x00, "DIL15" ) PORT_DIPLOCATION("DIL:15")
3178   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
3179   PORT_DIPSETTING(    0x08, DEF_STR( On  ) )
3180   PORT_DIPNAME( 0x10, 0x00, "DIL16" ) PORT_DIPLOCATION("DIL:16")
3181   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
3182   PORT_DIPSETTING(    0x10, DEF_STR( On  ) )
3183INPUT_PORTS_END
3184
30423185static INPUT_PORTS_START( drwho )
30433186   PORT_START("COINS")
30443187    PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(3) PORT_NAME("10p")
r5338r5339
39024045   }
39034046}
39044047
4048static DRIVER_INIT (bbrkfst)
4049{
4050   sc2awp_common_init(machine,5, 1);
4051   Mechmtr_init(8);
4052
4053   BFM_BD1_init(0);
4054   BFM_BD1_init(1);
4055
4056   has_hopper = 0;
4057
4058   Scorpion2_SetSwitchState(4,0, 1);     /* GBP1 Low Level Switch */
4059   Scorpion2_SetSwitchState(4,1, 1);     /* 20p Low Level Switch */
4060   Scorpion2_SetSwitchState(4,2, 1);     /* Token Front Low Level Switch */
4061   Scorpion2_SetSwitchState(4,3, 1);     /* Token Rear  Low Level Switch */
4062   Scorpion2_SetSwitchState(4,4, 1);
4063   Scorpion2_SetSwitchState(6,0, 0);
4064   Scorpion2_SetSwitchState(6,1, 1);
4065   Scorpion2_SetSwitchState(6,2, 0);
4066   Scorpion2_SetSwitchState(6,3, 1);
4067
4068}
4069
39054070static DRIVER_INIT (drwho)
39064071{
39074072   sc2awp_common_init(machine,4, 1);
r5338r5339
40284193   Scorpion2_SetSwitchState(7,3,0);
40294194}
40304195
4196ROM_START( m_brkfst )
4197   ROM_REGION( 0x12000, "maincpu", 0 )
4198   ROM_LOAD("big-breakfast_std_ar_var_a.bin",   0x00000, 0x10000, CRC(5f016daa) SHA1(25ee10138bddf453588e3c458268533a88a51217) )
4199
4200   ROM_REGION( 0x80000, "upd", 0 )
4201   ROM_LOAD("bigbreakfastsnd.bin", 0x00000, 0x80000, CRC(bf91aa2b) SHA1(40942165e65ff9b027015d500e5a9726c44ba1c5))
4202ROM_END
4203
40314204/*********************************************
40324205Dr.Who The Timelord
40334206*********************************************/
r5338r5339
42354408ROM_END
42364409
42374410/*     year, name,     parent,    machine,       input,     init,       monitor, company,    fullname */
4411GAME( 1994, m_brkfst, 0,        scorpion2,    bbrkfst,   bbrkfst,   0,       "BFM",      "The Big Breakfast (UK, Game Card 95-750-524 )",GAME_SUPPORTS_SAVE|GAME_REQUIRES_ARTWORK|GAME_NOT_WORKING)
4412
42384413GAMEL( 1994, m_bdrwho, 0,        scorpion2,    drwho,      drwho,      0,       "BFM",      "Dr.Who The Timelord (set 1, UK, Game Card 95-750-288)",GAME_SUPPORTS_SAVE|GAME_REQUIRES_ARTWORK,layout_drwho)
42394414GAMEL( 1994, m_bdrwh1, m_bdrwho,  scorpion2,    drwho,      drwho,      0,       "BFM",      "Dr.Who The Timelord (set 2, UK, Game Card 95-750-661)",GAME_SUPPORTS_SAVE|GAME_REQUIRES_ARTWORK,layout_drwho)
42404415GAMEL( 1994, m_bdrwh2, m_bdrwho,  scorpion2,    drwho,      drwho,      0,       "BFM",      "Dr.Who The Timelord (set 3)",GAME_SUPPORTS_SAVE|GAME_REQUIRES_ARTWORK,layout_drwho)
src/mame/drivers/suprnova.c
r5338r5339
14801480   ROM_LOAD( "ss300-00.u1", 0x000000, 0x400000, CRC(35b04b18) SHA1(b69f33fc6a50ec20382329317d20b3c1e7f01b87) )
14811481ROM_END
14821482
1483ROM_START( sengekij )
1483ROM_START( sengekisj )
14841484   ROM_REGION( 0x080000, "maincpu", 0 ) /* SH-2 Code */
14851485   ROM_LOAD       ( "sknsj1.u10",   0x000000, 0x080000, CRC(7e2b836c) SHA1(92c5a7a2472496028bff0e5980d41dd294f42144) ) /* Japan BIOS */
14861486
r5338r5339
16371637GAME( 1997, galpanis,  skns,     skns, galpanis, galpanis,  ROT0,  "Kaneko", "Gals Panic S - Extra Edition (Japan)", GAME_IMPERFECT_GRAPHICS )
16381638GAME( 1997, jjparad2,  skns,     skns, skns_1p,  jjparad2,  ROT0,  "Electro Design", "Jan Jan Paradise 2", GAME_IMPERFECT_GRAPHICS )
16391639GAME( 1997, sengekis,  skns,     skns, skns,     sengekis,  ROT90, "Kaneko / Warashi", "Sengeki Striker (Asia)", GAME_IMPERFECT_GRAPHICS )
1640GAME( 1997, sengekij, sengekis, skns, skns,     sengekij,  ROT90, "Kaneko / Warashi", "Sengeki Striker (Japan)", GAME_IMPERFECT_GRAPHICS )
1640GAME( 1997, sengekisj, sengekis, skns, skns,     sengekij,  ROT90, "Kaneko / Warashi", "Sengeki Striker (Japan)", GAME_IMPERFECT_GRAPHICS )
16411641GAME( 1997, vblokbrk,  skns,     skns, vblokbrk, sarukani,  ROT0,  "Kaneko / Mediaworks", "VS Block Breaker (Asia)", GAME_IMPERFECT_GRAPHICS )
16421642GAME( 1997, sarukani,  vblokbrk, skns, vblokbrk, sarukani,  ROT0,  "Kaneko / Mediaworks", "Saru-Kani-Hamu-Zou (Japan)", GAME_IMPERFECT_GRAPHICS )
16431643GAME( 1998, cyvern,    skns,     skns, cyvern,   cyvern,    ROT90, "Kaneko", "Cyvern (Japan)", GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/namcofl.c
r5338r5339
604604    ROM_LOAD( "sysfl-5.bin",  0x000000, 0x000001, NO_DUMP ) /* PALCE16V8H-15PC/4 at 19D */
605605ROM_END
606606
607ROM_START( finalapb )
607ROM_START( finalaprb )
608608   ROM_REGION( 0x200000, "maincpu", 0 ) // i960 program
609609   ROM_LOAD32_WORD("flr2mpeb.19a",   0x000000, 0x080000, CRC(8bfe615f) SHA1(7b867eb261268a83177f1f873689f77d1b6c47ca) )
610610   ROM_LOAD32_WORD("flr2mpob.18a",   0x000002, 0x080000, CRC(91c14e4f) SHA1(934a86daaef0e3e2c2b3066f4677ccb3aaab6eaf) )
r5338r5339
643643   ROM_LOAD("flr1voi.23s",   0x000000, 0x200000, CRC(ff6077cd) SHA1(73c289125ddeae3e43153e4c570549ca04501262) )
644644ROM_END
645645
646ROM_START( finalapo )
646ROM_START( finalapro )
647647   ROM_REGION( 0x200000, "maincpu", 0 ) // i960 program
648648   ROM_LOAD32_WORD("flr2mpe.19a",   0x000000, 0x080000, CRC(cc8961ae) SHA1(08ce4d27a723101370d1c536b26256ce0d8a1b6c) )
649649   ROM_LOAD32_WORD("flr2mpo.18a",   0x000002, 0x080000, CRC(8118f465) SHA1(c4b79878a82fd36b5707e92aa893f69c2b942d57) )
r5338r5339
741741   namcos2_gametype = NAMCOFL_FINAL_LAP_R;
742742}
743743
744GAME( 1995, speedrcr,        0, namcofl, namcofl, speedrcr, ROT0, "Namco", "Speed Racer", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
745GAME( 1995, finalapr,        0, namcofl, namcofl, finalapr, ROT0, "Namco", "Final Lap R (Japan Rev. C)", GAME_IMPERFECT_SOUND )
746GAME( 1995, finalapb, finalapr, namcofl, namcofl, finalapr, ROT0, "Namco", "Final Lap R (Rev. B)", GAME_IMPERFECT_SOUND )
747GAME( 1995, finalapo, finalapr, namcofl, namcofl, finalapr, ROT0, "Namco", "Final Lap R", GAME_IMPERFECT_SOUND )
744GAME( 1995, speedrcr,         0, namcofl, namcofl, speedrcr, ROT0, "Namco", "Speed Racer", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
745GAME( 1995, finalapr,         0, namcofl, namcofl, finalapr, ROT0, "Namco", "Final Lap R (Japan Rev. C)", GAME_IMPERFECT_SOUND )
746GAME( 1995, finalaprb, finalapr, namcofl, namcofl, finalapr, ROT0, "Namco", "Final Lap R (Rev. B)", GAME_IMPERFECT_SOUND )
747GAME( 1995, finalapro, finalapr, namcofl, namcofl, finalapr, ROT0, "Namco", "Final Lap R", GAME_IMPERFECT_SOUND )
src/mame/drivers/shootout.c
r5338r5339
364364   ROM_LOAD( "gb09.k6",        0x0100, 0x0100, CRC(aa090565) SHA1(e289e77ec3402e86d93b873c0fa064f3e6277a62) )   /* priority encoder? (not used) */
365365ROM_END
366366
367ROM_START( shootouj )
367ROM_START( shootoutj )
368368   ROM_REGION( 0x20000, "maincpu", 0 )   /* 128k for code  */
369369   ROM_LOAD( "cg02.bin",    0x08000, 0x8000, CRC(8fc5d632) SHA1(809ac4eba09972229fe741c96fa8036d7139b6a8) )
370370   ROM_LOAD( "cg00.bin",    0x10000, 0x8000, CRC(ef6ced1e) SHA1(feea508c7a60fc6cde1efee52cba628accd26028) )
r5338r5339
389389   ROM_LOAD( "gb09.k6",        0x0100, 0x0100, CRC(aa090565) SHA1(e289e77ec3402e86d93b873c0fa064f3e6277a62) )   /* priority encoder? (not used) */
390390ROM_END
391391
392ROM_START( shootoub )
392ROM_START( shootoutb )
393393   ROM_REGION( 2*0x20000, "maincpu", 0 )   /* 128k for code + 128k for decrypted opcodes */
394394   ROM_LOAD( "shootout.006", 0x08000, 0x8000, CRC(2c054888) SHA1(cb0de2f7d743506789626304e6bcbbc292fbe8bc) )
395395   ROM_LOAD( "shootout.008", 0x10000, 0x8000, CRC(9651b656) SHA1(e90eddf2833ef36fa73b7b8d81d28443d2f60220) )
r5338r5339
440440
441441
442442GAME( 1985, shootout, 0,        shootout, shootout, shootout, ROT0, "Data East USA", "Shoot Out (US)", 0)
443GAME( 1985, shootouj, shootout, shootouj, shootouj, shootouj, ROT0, "Data East USA", "Shoot Out (Japan)", 0 )
444GAME( 1985, shootoub, shootout, shootouj, shootout, shootout, ROT0, "bootleg", "Shoot Out (Korean Bootleg)", 0 )
443GAME( 1985, shootoutj, shootout, shootouj, shootouj, shootouj, ROT0, "Data East USA", "Shoot Out (Japan)", 0 )
444GAME( 1985, shootoutb, shootout, shootouj, shootout, shootout, ROT0, "bootleg", "Shoot Out (Korean Bootleg)", 0 )
src/mame/drivers/volfied.c
r5338r5339
372372   ROM_LOAD( "c04-5.75",  0x00200, 0x00200, CRC(2763ec89) SHA1(1e8339e21ee35b526d8604a21cfed9a1ac6455e8) ) /* PROM type is a MB7124E or compatible */
373373ROM_END
374374
375ROM_START( volfidjo )
375ROM_START( volfiedjo )
376376   ROM_REGION( 0x100000, "maincpu", 0 )     /* 68000 code and tile data */
377377   ROM_LOAD16_BYTE( "c04-12.30", 0x00000, 0x10000, CRC(e319c7ec) SHA1(e76fb872191fce0186ed0ac5066385a9913fdc4c) )
378378   ROM_LOAD16_BYTE( "c04-08.10", 0x00001, 0x10000, CRC(81c6f755) SHA1(43ad72bb05d847f58b3043c674fb9b1e317691df) )
r5338r5339
405405GAME( 1989, volfied,  0,       volfied, volfied,  volfied, ROT270, "Taito Corporation Japan",   "Volfied (World, revision 1)", 0 )
406406GAME( 1989, volfiedu, volfied, volfied, volfiedu, volfied, ROT270, "Taito America Corporation", "Volfied (US, revision 1)", 0 )
407407GAME( 1989, volfiedj, volfied, volfied, volfiedj, volfied, ROT270, "Taito Corporation",         "Volfied (Japan, revision 1)", 0 )
408GAME( 1989, volfidjo, volfied, volfied, volfiedj, volfied, ROT270, "Taito Corporation",         "Volfied (Japan)", 0 )
408GAME( 1989, volfiedjo,volfied, volfied, volfiedj, volfied, ROT270, "Taito Corporation",         "Volfied (Japan)", 0 )
src/mame/drivers/dribling.c
r5338r5339
341341ROM_END
342342
343343
344ROM_START( driblino )
344ROM_START( driblingo )
345345   ROM_REGION( 0x10000, "maincpu", 0 )
346346   ROM_LOAD( "5p.bin",       0x0000, 0x1000, CRC(0e791947) SHA1(57bc4f4e9e1fe3fbac1017601c9c75029b2601a4) )
347347   ROM_LOAD( "dribblng.5n",  0x1000, 0x1000, CRC(5271e620) SHA1(ebed8e31057bb8492840a6e3b8bc453f7cb67243) )
r5338r5339
368368 *************************************/
369369
370370GAME( 1983, dribling, 0,        dribling, dribling, 0, ROT0, "Model Racing", "Dribbling", GAME_NO_SOUND )
371GAME( 1983, driblino, dribling, dribling, dribling, 0, ROT0, "Model Racing (Olympia license)", "Dribbling (Olympia)", GAME_NO_SOUND )
371GAME( 1983, driblingo,dribling, dribling, dribling, 0, ROT0, "Model Racing (Olympia license)", "Dribbling (Olympia)", GAME_NO_SOUND )
src/mame/drivers/itech32.c
r5338r5339
18611861ROM_END
18621862
18631863
1864ROM_START( timek131 )
1864ROM_START( timekill131 )
18651865   ROM_REGION16_BE( 0x80000, "user1", 0 )
18661866   ROM_LOAD16_BYTE( "tk00v131.u54", 0x00000, 0x40000, CRC(e09ae32b) SHA1(b090a38600d0499f7b4cb80a2715f27216d408b0) )
18671867   ROM_LOAD16_BYTE( "tk01v131.u53", 0x00001, 0x40000, CRC(c29137ec) SHA1(4dcfba13b6f865a256bcb0406b6c83c309b17313) )
r5338r5339
19251925ROM_END
19261926
19271927
1928ROM_START( bloods22 )
1928ROM_START( bloodstm22 )
19291929   ROM_REGION16_BE( 0x80000, "user1", 0 )
19301930   ROM_LOAD16_BYTE( "bld00v22.u83", 0x00000, 0x40000, CRC(904e9208) SHA1(12e96027724b905140250db969130d90b1afec83) )
19311931   ROM_LOAD16_BYTE( "bld01v22.u88", 0x00001, 0x40000, CRC(78336a7b) SHA1(76002ce4a2d83ceae10d9c9c123013832a081150) )
r5338r5339
19631963ROM_END
19641964
19651965
1966ROM_START( bloods21 )
1966ROM_START( bloodstm21 )
19671967   ROM_REGION16_BE( 0x80000, "user1", 0 )
19681968   ROM_LOAD16_BYTE( "bld00v21.u83", 0x00000, 0x40000, CRC(71215c8e) SHA1(ee0f94c3a2619d7e3cc1ba5e1888a97b0c75a3ae) )
19691969   ROM_LOAD16_BYTE( "bld01v21.u88", 0x00001, 0x40000, CRC(da403da6) SHA1(0f09f38ae932acb4ddbb6323bce58be7284cb24b) )
r5338r5339
20012001ROM_END
20022002
20032003
2004ROM_START( bloods11 )
2004ROM_START( bloodstm11 )
20052005   ROM_REGION16_BE( 0x80000, "user1", 0 )
20062006   ROM_LOAD16_BYTE( "bld00-11.u83", 0x00000, 0x40000, CRC(4fff8f9b) SHA1(90f450497935322b0082a70e10abf758fc441dd0) )
20072007   ROM_LOAD16_BYTE( "bld01-11.u88", 0x00001, 0x40000, CRC(59ce23ea) SHA1(6aa02fff07f5ec6dff4f6db9ea7878a722079f81) )
r5338r5339
20712071ROM_END
20722072
20732073
2074ROM_START( hardyd10 )   /* Version 1.0 (3-tier board set: P/N 1059 Rev 3, P/N 1061 Rev 1 &  P/N 1060 Rev 0) */
2074ROM_START( hardyard10 )   /* Version 1.0 (3-tier board set: P/N 1059 Rev 3, P/N 1061 Rev 1 &  P/N 1060 Rev 0) */
20752075   ROM_REGION16_BE( 0x80000, "user1", 0 )
20762076   ROM_LOAD16_BYTE( "fb00v10.u83", 0x00000, 0x40000, CRC(f839393c) SHA1(ba06172bc4781f7738ce43019031715fee4b344c) )
20772077   ROM_LOAD16_BYTE( "fb01v10.u88", 0x00001, 0x40000, CRC(ca444702) SHA1(49bcc0994da9cd2c31c0cd78b822aceeaffd035f) )
r5338r5339
22182218ROM_END
22192219
22202220
2221ROM_START( wcbwl140 )   /* Version 1.40 Tournament (PCB P/N 1083 Rev 2) */
2221ROM_START( wcbowl140 )   /* Version 1.40 Tournament (PCB P/N 1083 Rev 2) */
22222222   ROM_REGION32_BE( CODE_SIZE, "user1", 0 )
22232223   ROM_LOAD32_BYTE( "wcbfprm0.140", 0x00000, 0x20000, CRC(9d31ceb1) SHA1(d147976a763ba1e18d861351b12c5d275b94a562) ) /* Labeled "WCBF PROM0 1.40" ect */
22242224   ROM_LOAD32_BYTE( "wcbfprm1.140", 0x00001, 0x20000, CRC(c6669452) SHA1(ba58da7bee5120682e2306454da287c969014899) )
r5338r5339
22862286ROM_END
22872287
22882288
2289ROM_START( wcbwl165 )   /* Version 1.65 (PCB P/N 1083 Rev 2) */
2289ROM_START( wcbowl165 )   /* Version 1.65 (PCB P/N 1083 Rev 2) */
22902290   ROM_REGION32_BE( CODE_SIZE, "user1", 0 )
22912291   ROM_LOAD32_BYTE( "wcb_prm0.165", 0x00000, 0x20000, CRC(cf0f6c25) SHA1(90685288994dce73d5b1070a55fca3f1713c5bb6) )
22922292   ROM_LOAD32_BYTE( "wcb_prm1.165", 0x00001, 0x20000, CRC(076ab158) SHA1(e6d8a6726e27ba6916d4711dff88f26f1dc162e1) )
r5338r5339
23182318ROM_END
23192319
23202320
2321ROM_START( wcbwl161 )   /* Version 1.61 (PCB P/N 1083 Rev 2) */
2321ROM_START( wcbowl161 )   /* Version 1.61 (PCB P/N 1083 Rev 2) */
23222322   ROM_REGION32_BE( CODE_SIZE, "user1", 0 )
23232323   ROM_LOAD32_BYTE( "wcb_prm0.161", 0x00000, 0x20000, CRC(b879d4a7) SHA1(8b5af3f4d3522bdb8e1d6092b2e311fbfaec2bd0) )
23242324   ROM_LOAD32_BYTE( "wcb_prm1.161", 0x00001, 0x20000, CRC(49f3ed6a) SHA1(6c6857bd3fbfe0cfeaf0e512bbbd795376a21472) )
r5338r5339
23502350ROM_END
23512351
23522352
2353ROM_START( wcbwl16 )   /* Version 1.6 (PCB P/N 1083 Rev 2), This is the first set to move to the single board platform */
2353ROM_START( wcbowl16 )   /* Version 1.6 (PCB P/N 1083 Rev 2), This is the first set to move to the single board platform */
23542354   ROM_REGION32_BE( CODE_SIZE, "user1", 0 )
23552355   ROM_LOAD32_BYTE( "wcb_prm0.16n", 0x00000, 0x20000, CRC(332c558f) SHA1(179b763e2189c11cf6751eb6c419fe4417b288a8) ) /* Program roms labeled as "WCB PROM0 V1.6N" ect */
23562356   ROM_LOAD32_BYTE( "wcb_prm1.16n", 0x00001, 0x20000, CRC(c5750857) SHA1(8121b56d304ab405b06d4aa4c7d2db2f912f0bf2) )
r5338r5339
23822382ROM_END
23832383
23842384
2385ROM_START( wcbwl15 )   /* Version 1.5 (3-tier board set: P/N 1059 Rev 3, P/N 1079 Rev 1 & P/N 1060 Rev 0) */
2385ROM_START( wcbowl15 )   /* Version 1.5 (3-tier board set: P/N 1059 Rev 3, P/N 1079 Rev 1 & P/N 1060 Rev 0) */
23862386   /* v1.0 for this platform has been confirmed, but not dumped */
23872387   ROM_REGION16_BE( 0x80000, "user1", 0 )
23882388   ROM_LOAD16_BYTE( "wcb_v15.u83", 0x00000, 0x20000, CRC(3ca9ab85) SHA1(364946dceb3f7279b7d67d9d685a98ba7f4901aa) ) /* Labeled as "WCB V1.5 (U83)" */
r5338r5339
24182418ROM_END
24192419
24202420
2421ROM_START( wcbwl13 )   /* Version 1.3 (3-tier board set: P/N 1059 Rev 3, P/N 1079 Rev 1 & P/N 1060 Rev 0) */
2421ROM_START( wcbowl13 )   /* Version 1.3 (3-tier board set: P/N 1059 Rev 3, P/N 1079 Rev 1 & P/N 1060 Rev 0) */
24222422   ROM_REGION16_BE( 0x80000, "user1", 0 )
24232423   ROM_LOAD16_BYTE( "wcb_v13.u83", 0x00000, 0x20000, CRC(2b6d284e) SHA1(339951661509d07b69c670b7249f30a616872bdf) ) /* Labeled as "WCB V1.3 (U83)" */
24242424   ROM_LOAD16_BYTE( "wcb_v13.u88", 0x00001, 0x20000, CRC(039af877) SHA1(2ac9a57e358ab1ccf9a4d18f7992b59f172e31cf) ) /* Labeled as "WCB V1.3 (U88)" */
r5338r5339
24532453ROM_END
24542454
24552455
2456ROM_START( wcbwl12 )   /* Version 1.2 (3-tier board set: P/N 1059 Rev 3, P/N 1079 Rev 1 & P/N 1060 Rev 0) */
2456ROM_START( wcbowl12 )   /* Version 1.2 (3-tier board set: P/N 1059 Rev 3, P/N 1079 Rev 1 & P/N 1060 Rev 0) */
24572457   ROM_REGION16_BE( 0x80000, "user1", 0 )
24582458   ROM_LOAD16_BYTE( "wcb_v12.u83", 0x00000, 0x20000, CRC(0602c5ce) SHA1(4339f77301f9c607c6f1dc81270d03681e874e69) ) /* Labeled as "WCB V1.2 (U83)" */
24592459   ROM_LOAD16_BYTE( "wcb_v12.u88", 0x00001, 0x20000, CRC(49573493) SHA1(42813573f4ab951cd830193c0ffe2ce7d79c354b) ) /* Labeled as "WCB V1.2 (U88)" */
r5338r5339
26972697ROM_END
26982698
26992699
2700ROM_START( sshot139 )   /* Version 1.39 (PCB P/N 1083 Rev 2) */
2700ROM_START( shufshot139 )   /* Version 1.39 (PCB P/N 1083 Rev 2) */
27012701   ROM_REGION32_BE( CODE_SIZE, "user1", 0 )
27022702   ROM_LOAD32_BYTE( "shotprm0.139", 0x00000, 0x20000, CRC(e811fc4a) SHA1(9e1d8f64ac89ac865929f6a23f66d95eeeda3ac9) )
27032703   ROM_LOAD32_BYTE( "shotprm1.139", 0x00001, 0x20000, CRC(f9d120c5) SHA1(f94216f1fb6d810ddee98479e83f0719b30b768f) )
r5338r5339
27322732ROM_END
27332733
27342734
2735ROM_START( sshot137 )   /* Version 1.37 (PCB P/N 1083 Rev 2) */
2735ROM_START( shufshot137 )   /* Version 1.37 (PCB P/N 1083 Rev 2) */
27362736   ROM_REGION32_BE( CODE_SIZE, "user1", 0 )
27372737   ROM_LOAD32_BYTE( "shotprm0.137", 0x00000, 0x20000, CRC(6499c76f) SHA1(60fdaefb09088ac609addd40569bd7fab12593bc) )
27382738   ROM_LOAD32_BYTE( "shotprm1.137", 0x00001, 0x20000, CRC(64fb47a4) SHA1(32ce9d91b16b8aaf545c0a22842ad8d806727a17) )
r5338r5339
38043804ROM_END
38053805
38063806
3807ROM_START( gtclassp ) /* Version 1.00 Infinite Loop Protection */
3807ROM_START( gtclasscp ) /* Version 1.00 Infinite Loop Protection */
38083808   ROM_REGION32_BE( CODE_SIZE, "user1", 0 )
38093809   ROM_LOAD32_BYTE( "gtcpprm0.100", 0x00000, 0x80000, CRC(21f0e0ea) SHA1(734f5ec7f28451d46656c8a0c2cc96c09c55cf9b) )
38103810   ROM_LOAD32_BYTE( "gtcpprm1.100", 0x00001, 0x80000, CRC(d2a69fbc) SHA1(a34d87bbfe1d9273d16cb73fe20fbf8ccd04e2b1) )
r5338r5339
38383838ROM_END
38393839
38403840
3841ROM_START( gtcls100 )  /* Version 1.00S for the 3 tier type PCB with short ROM board P/N 1088 Rev 0 */
3841ROM_START( gtclasscs )  /* Version 1.00S for the 3 tier type PCB with short ROM board P/N 1088 Rev 0 */
38423842   ROM_REGION32_BE( CODE_SIZE, "user1", 0 )
38433843   ROM_LOAD32_BYTE( "gtc_prm0.10s", 0x00000, 0x80000, CRC(1e41884f) SHA1(354baf00ad7cba4cdcd55c3a26dd0171dc39448a) ) /* chips labeled as "GTClassic PROM0 v1.00M" ect */
38443844   ROM_LOAD32_BYTE( "gtc_prm1.10s", 0x00001, 0x80000, CRC(31c18b2c) SHA1(0ce5ff917b135786354d87aae88f64fdd17b1a47) )
r5338r5339
41234123 *************************************/
41244124
41254125GAME( 1992, timekill, 0,        timekill, timekill, timekill, ROT0, "Strata/Incredible Technologies", "Time Killers (v1.32)", 0 )
4126GAME( 1992, timek131, timekill, timekill, timekill, timekill, ROT0, "Strata/Incredible Technologies", "Time Killers (v1.31)", 0 )
4126GAME( 1992, timekill131, timekill, timekill, timekill, timekill, ROT0, "Strata/Incredible Technologies", "Time Killers (v1.31)", 0 )
41274127GAME( 1993, hardyard, 0,        bloodstm, hardyard, hardyard, ROT0, "Strata/Incredible Technologies", "Hard Yardage (v1.20)", 0 )
4128GAME( 1993, hardyd10, hardyard, bloodstm, hardyard, hardyard, ROT0, "Strata/Incredible Technologies", "Hard Yardage (v1.00)", 0 )
4128GAME( 1993, hardyard10, hardyard, bloodstm, hardyard, hardyard, ROT0, "Strata/Incredible Technologies", "Hard Yardage (v1.00)", 0 )
41294129GAME( 1994, bloodstm, 0,        bloodstm, bloodstm, bloodstm, ROT0, "Strata/Incredible Technologies", "Blood Storm (v2.22)", 0 )
4130GAME( 1994, bloods22, bloodstm, bloodstm, bloodstm, bloodstm, ROT0, "Strata/Incredible Technologies", "Blood Storm (v2.20)", 0 )
4131GAME( 1994, bloods21, bloodstm, bloodstm, bloodstm, bloodstm, ROT0, "Strata/Incredible Technologies", "Blood Storm (v2.10)", 0 )
4132GAME( 1994, bloods11, bloodstm, bloodstm, bloodstm, bloodstm, ROT0, "Strata/Incredible Technologies", "Blood Storm (v1.10)", 0 )
4130GAME( 1994, bloodstm22, bloodstm, bloodstm, bloodstm, bloodstm, ROT0, "Strata/Incredible Technologies", "Blood Storm (v2.20)", 0 )
4131GAME( 1994, bloodstm21, bloodstm, bloodstm, bloodstm, bloodstm, ROT0, "Strata/Incredible Technologies", "Blood Storm (v2.10)", 0 )
4132GAME( 1994, bloodstm11, bloodstm, bloodstm, bloodstm, bloodstm, ROT0, "Strata/Incredible Technologies", "Blood Storm (v1.10)", 0 )
41334133GAME( 1994, pairs,    0,        bloodstm, pairs,    bloodstm, ROT0, "Strata/Incredible Technologies", "Pairs (V1.2, 09/30/94)", 0 )
41344134GAME( 1994, pairsa,   pairs,    bloodstm, pairs,    bloodstm, ROT0, "Strata/Incredible Technologies", "Pairs (09/07/94)", 0 )
41354135GAME( 1994, hotmemry, pairs,    bloodstm, pairs,    bloodstm, ROT0, "Tuning/Incredible Technologies", "Hot Memory (V1.2, Germany)", 0 )
41364136GAME( 1994, drivedge, 0,        drivedge, drivedge, drivedge, ROT0, "Strata/Incredible Technologies", "Driver's Edge", GAME_IMPERFECT_GRAPHICS )
41374137GAME( 1995, wcbowl,   0,        sftm,     wcbowln,  wcbowln,  ROT0, "Incredible Technologies",        "World Class Bowling (v1.66)" , 0) /* PIC 16C54 labeled as ITBWL-3 */
4138GAME( 1995, wcbwl165, wcbowl,   sftm,     shufbowl, wcbowln,  ROT0, "Incredible Technologies",        "World Class Bowling (v1.65)" , 0) /* PIC 16C54 labeled as ITBWL-3 */
4139GAME( 1995, wcbwl161, wcbowl,   sftm,     shufbowl, wcbowln,  ROT0, "Incredible Technologies",        "World Class Bowling (v1.61)" , 0) /* PIC 16C54 labeled as ITBWL-3 */
4140GAME( 1995, wcbwl16,  wcbowl,   sftm,     shufbowl, wcbowln,  ROT0, "Incredible Technologies",        "World Class Bowling (v1.6)" , 0) /* PIC 16C54 labeled as ITBWL-3 */
4141GAME( 1995, wcbwl15,  wcbowl,   bloodstm, wcbowl,   wcbowl,   ROT0, "Incredible Technologies",        "World Class Bowling (v1.5)" , 0) /* PIC 16C54 labeled as ITBWL-1 */
4142GAME( 1995, wcbwl13,  wcbowl,   bloodstm, wcbowl,   wcbowl,   ROT0, "Incredible Technologies",        "World Class Bowling (v1.3)" , 0) /* PIC 16C54 labeled as ITBWL-1 */
4143GAME( 1995, wcbwl12,  wcbowl,   bloodstm, wcbowl,   wcbowl,   ROT0, "Incredible Technologies",        "World Class Bowling (v1.2)" , 0) /* PIC 16C54 labeled as ITBWL-1 */
4138GAME( 1995, wcbowl165, wcbowl,   sftm,     shufbowl, wcbowln,  ROT0, "Incredible Technologies",        "World Class Bowling (v1.65)" , 0) /* PIC 16C54 labeled as ITBWL-3 */
4139GAME( 1995, wcbowl161, wcbowl,   sftm,     shufbowl, wcbowln,  ROT0, "Incredible Technologies",        "World Class Bowling (v1.61)" , 0) /* PIC 16C54 labeled as ITBWL-3 */
4140GAME( 1995, wcbowl16,  wcbowl,   sftm,     shufbowl, wcbowln,  ROT0, "Incredible Technologies",        "World Class Bowling (v1.6)" , 0) /* PIC 16C54 labeled as ITBWL-3 */
4141GAME( 1995, wcbowl15,  wcbowl,   bloodstm, wcbowl,   wcbowl,   ROT0, "Incredible Technologies",        "World Class Bowling (v1.5)" , 0) /* PIC 16C54 labeled as ITBWL-1 */
4142GAME( 1995, wcbowl13,  wcbowl,   bloodstm, wcbowl,   wcbowl,   ROT0, "Incredible Technologies",        "World Class Bowling (v1.3)" , 0) /* PIC 16C54 labeled as ITBWL-1 */
4143GAME( 1995, wcbowl12,  wcbowl,   bloodstm, wcbowl,   wcbowl,   ROT0, "Incredible Technologies",        "World Class Bowling (v1.2)" , 0) /* PIC 16C54 labeled as ITBWL-1 */
41444144GAME( 1995, sftm,     0,        sftm,     sftm,     sftm,     ROT0, "Capcom/Incredible Technologies", "Street Fighter: The Movie (v1.12)" , 0) /* PIC 16C54 labeled as ITSF-1 */
41454145GAME( 1995, sftm111,  sftm,     sftm,     sftm,     sftm110,  ROT0, "Capcom/Incredible Technologies", "Street Fighter: The Movie (v1.11)" , 0) /* PIC 16C54 labeled as ITSF-1 */
41464146GAME( 1995, sftm110,  sftm,     sftm,     sftm,     sftm110,  ROT0, "Capcom/Incredible Technologies", "Street Fighter: The Movie (v1.10)" , 0) /* PIC 16C54 labeled as ITSF-1 */
41474147GAME( 1995, sftmj,    sftm,     sftm,     sftm,     sftm,     ROT0, "Capcom/Incredible Technologies", "Street Fighter: The Movie (v1.12N, Japan)" , 0) /* PIC 16C54 labeled as ITSF-1 */
41484148GAME( 1997, shufshot, 0,        sftm,     shufshot, shufshot, ROT0, "Strata/Incredible Technologies", "Shuffleshot (v1.40)" , 0) /* PIC 16C54 labeled as ITSHF-1 */
4149GAME( 1997, sshot139, shufshot, sftm,     shufshot, shufshot, ROT0, "Strata/Incredible Technologies", "Shuffleshot (v1.39)" , 0) /* PIC 16C54 labeled as ITSHF-1 */
4150GAME( 1997, sshot137, shufshot, sftm,     shufbowl, shufshot, ROT0, "Strata/Incredible Technologies", "Shuffleshot (v1.37)" , 0) /* PIC 16C54 labeled as ITSHF-1 */
4151GAME( 1997, wcbwl140, wcbowldx, tourny,   wcbowldx, wcbowlt,  ROT0, "Incredible Technologies",        "World Class Bowling Tournament (v1.40)" , 0) /* PIC 16C54 labeled as ITBWL-3 */
4149GAME( 1997, shufshot139, shufshot, sftm,     shufshot, shufshot, ROT0, "Strata/Incredible Technologies", "Shuffleshot (v1.39)" , 0) /* PIC 16C54 labeled as ITSHF-1 */
4150GAME( 1997, shufshot137, shufshot, sftm,     shufbowl, shufshot, ROT0, "Strata/Incredible Technologies", "Shuffleshot (v1.37)" , 0) /* PIC 16C54 labeled as ITSHF-1 */
4151GAME( 1997, wcbowl140, wcbowldx, tourny,   wcbowldx, wcbowlt,  ROT0, "Incredible Technologies",        "World Class Bowling Tournament (v1.40)" , 0) /* PIC 16C54 labeled as ITBWL-3 */
41524152GAME( 1999, wcbowldx, 0,        sftm,     wcbowldx, shufshot, ROT0, "Incredible Technologies",        "World Class Bowling Deluxe (v2.00)" , 0) /* PIC 16C54 labeled as ITBWL-4 */
41534153
41544154/*
r5338r5339
42284228GAME( 2002, gtsuprem, gt2k,     tourny,  gt98s, aamat,    ROT0, "Incredible Technologies", "Golden Tee Supreme Edition Tournament (v5.10)" , 0) /* PIC 16C54 labeled as ITGF2K-I */
42294229
42304230GAME( 2001, gtclassc, 0,        sftm,    aama,  aama,     ROT0, "Incredible Technologies", "Golden Tee Classic (v1.00)" , 0) /* PIC 16C54 labeled as ITGFCL */
4231GAME( 2001, gtclassp, gtclassc, sftm,    aama,  gtclassp, ROT0, "Incredible Technologies", "Golden Tee Classic (v1.00) Alt" , 0) /* PIC 16C54 labeled as ITGFCL */
4232GAME( 2001, gtcls100, gtclassc, sftm,    s_ver, s_ver,    ROT0, "Incredible Technologies", "Golden Tee Classic (v1.00S)" , 0) /* PIC 16C54 labeled as ITGFCL-M */
4231GAME( 2001, gtclasscp, gtclassc, sftm,    aama,  gtclassp, ROT0, "Incredible Technologies", "Golden Tee Classic (v1.00) with Infinite Loop Protection" , 0) /* PIC 16C54 labeled as ITGFCL */
4232GAME( 2001, gtclasscs, gtclassc, sftm,    s_ver, s_ver,    ROT0, "Incredible Technologies", "Golden Tee Classic (v1.00S)" , 0) /* PIC 16C54 labeled as ITGFCL-M */
src/mame/drivers/mexico86.c
r5338r5339
556556   ROM_LOAD( "a87-11.g14", 0x0200, 0x0100, CRC(14f6c28d) SHA1(8c60974e4607906a3f77260bdd0704af60d596fc) )
557557ROM_END
558558
559ROM_START( kicknruu )
559ROM_START( kicknrunu )
560560   ROM_REGION( 0x28000, "maincpu", 0 )
561561   ROM_LOAD( "a87-23.h16", 0x00000, 0x08000, CRC(37182560) SHA1(8db393131f50af88b2e7489d6aae65bad0a5a65b) ) /* 1st half, main code        */
562562   ROM_CONTINUE(           0x20000, 0x08000 )             /* 2nd half, banked at 0x8000 */
r5338r5339
625625GAME( 1986, kikikai,  0,        kikikai,  kikikai,  0, ROT90, "Taito Corporation", "KiKi KaiKai", 0 )
626626GAME( 1986, knightb,  kikikai,  knightb,  kikikai,  0, ROT90, "bootleg", "Knight Boy", 0 )
627627GAME( 1986, kicknrun, 0,        mexico86, mexico86, 0, ROT0,  "Taito Corporation", "Kick and Run (World)", 0 )
628GAME( 1986, kicknruu, kicknrun, mexico86, mexico86, 0, ROT0,  "Taito America Corp", "Kick and Run (US)", 0 )
628GAME( 1986, kicknrunu,kicknrun, mexico86, mexico86, 0, ROT0,  "Taito America Corp", "Kick and Run (US)", 0 )
629629GAME( 1986, mexico86, kicknrun, mexico86, mexico86, 0, ROT0,  "bootleg", "Mexico 86", 0 )
src/mame/drivers/undrfire.c
r5338r5339
841841ROM_END
842842
843843
844ROM_START( undrfiru )
844ROM_START( undrfireu )
845845   ROM_REGION( 0x200000, "maincpu", 0 )   /* 2048K for 68020 code (CPU A) */
846846   ROM_LOAD32_BYTE( "d67-19", 0x00000, 0x80000, CRC(1d88fa5a) SHA1(5e498efb9535a8f4e82b5525390b8bde7c45c07e) )
847847   ROM_LOAD32_BYTE( "d67-18", 0x00001, 0x80000, CRC(f41ae7fd) SHA1(bdd0df01b11205c263d2fa280746826b831d58bc) )
r5338r5339
877877   ROM_LOAD16_BYTE( "d67-02", 0xc00000, 0x200000, CRC(fceb715e) SHA1(9326513acb0696669d4f2345649ab37c8c6ed171) )
878878ROM_END
879879
880ROM_START( undrfirj )
880ROM_START( undrfirej )
881881   ROM_REGION( 0x200000, "maincpu", 0 )   /* 2048K for 68020 code (CPU A) */
882882   ROM_LOAD32_BYTE( "d67-19", 0x00000, 0x80000, CRC(1d88fa5a) SHA1(5e498efb9535a8f4e82b5525390b8bde7c45c07e) )
883883   ROM_LOAD32_BYTE( "d67-18", 0x00001, 0x80000, CRC(f41ae7fd) SHA1(bdd0df01b11205c263d2fa280746826b831d58bc) )
r5338r5339
10261026
10271027
10281028GAME( 1993, undrfire, 0,        undrfire, undrfire, undrfire, ROT0, "Taito Corporation Japan", "Under Fire (World)", 0 )
1029GAME( 1993, undrfiru, undrfire, undrfire, undrfire, undrfire, ROT0, "Taito America Corporation", "Under Fire (US)", 0 )
1030GAME( 1993, undrfirj, undrfire, undrfire, undrfire, undrfire, ROT0, "Taito Corporation", "Under Fire (Japan)", 0 )
1029GAME( 1993, undrfireu,undrfire, undrfire, undrfire, undrfire, ROT0, "Taito America Corporation", "Under Fire (US)", 0 )
1030GAME( 1993, undrfirej,undrfire, undrfire, undrfire, undrfire, ROT0, "Taito Corporation", "Under Fire (Japan)", 0 )
10311031GAMEL(1994, cbombers, 0,        cbombers, cbombers, cbombers, ROT0, "Taito Corporation", "Chase Bombers", GAME_IMPERFECT_GRAPHICS, layout_cbombers )
src/mame/drivers/grchamp.c
r5338r5339
604604   //mask,default,type,sensitivity,delta,min,max
605605
606606   PORT_START("DSWA")
607   PORT_DIPNAME( 0x0f, 0x00, DEF_STR( Coin_A ) )
607   PORT_DIPNAME( 0x0f, 0x00, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW1:1,2,3,4")
608608   PORT_DIPSETTING(    0x0f, DEF_STR( 9C_1C ) )
609609   PORT_DIPSETTING(    0x0e, DEF_STR( 8C_1C ) )
610610   PORT_DIPSETTING(    0x0d, DEF_STR( 7C_1C ) )
r5338r5339
621621   PORT_DIPSETTING(    0x05, DEF_STR( 1C_6C ) )
622622   PORT_DIPSETTING(    0x06, DEF_STR( 1C_7C ) )
623623   PORT_DIPSETTING(    0x07, DEF_STR( 1C_8C ) )
624   PORT_DIPNAME( 0xf0, 0x00, DEF_STR( Coin_B ) )
624   PORT_DIPNAME( 0xf0, 0x00, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW1:5,6,7,8")
625625   PORT_DIPSETTING(    0xf0, DEF_STR( 9C_1C ) )
626626   PORT_DIPSETTING(    0xe0, DEF_STR( 8C_1C ) )
627627   PORT_DIPSETTING(    0xd0, DEF_STR( 7C_1C ) )
r5338r5339
640640   PORT_DIPSETTING(    0x70, DEF_STR( 1C_8C ) )
641641
642642   PORT_START("DSWB")
643   PORT_DIPNAME( 0x03, 0x02, "Extra Race" )
643   PORT_DIPNAME( 0x03, 0x02, "Extra Race" )      PORT_DIPLOCATION("SW2:1,2")
644644   PORT_DIPSETTING(    0x00, "4th" )
645645   PORT_DIPSETTING(    0x02, "5th" )
646646   PORT_DIPSETTING(    0x01, "6th" )
647647   PORT_DIPSETTING(    0x03, "7th" )
648   PORT_DIPUNUSED( 0x04, IP_ACTIVE_HIGH )
649   PORT_DIPNAME( 0x08, 0x00, "RAM Test" )
648   PORT_DIPUNUSED_DIPLOC( 0x04, IP_ACTIVE_HIGH, "SW2:3" )   /* Listed as "Unused and should remain in the OFF position" */
649   PORT_DIPNAME( 0x08, 0x00, "RAM Test" )         PORT_DIPLOCATION("SW2:4")
650650   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
651651   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
652   PORT_DIPNAME( 0x10, 0x00, "Coin System" )
652   PORT_DIPNAME( 0x10, 0x00, "Coin System" )      PORT_DIPLOCATION("SW2:5")
653653   PORT_DIPSETTING(    0x10, "1 Way" )
654654   PORT_DIPSETTING(    0x00, "2 Way" )
655   PORT_DIPNAME( 0x20, 0x00, "Display '1981'" )
655   PORT_DIPNAME( 0x20, 0x00, "Display '1981'" )      PORT_DIPLOCATION("SW2:6")
656656   PORT_DIPSETTING(    0x20, DEF_STR( No ) )
657657   PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
658   PORT_DIPNAME( 0x40, 0x40, "Display Score" )
658   PORT_DIPNAME( 0x40, 0x40, "Display Score" )      PORT_DIPLOCATION("SW2:7")
659659   PORT_DIPSETTING(    0x00, "LEDs" )
660660   PORT_DIPSETTING(    0x40, "On Screen" )
661   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
661   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:8")
662662   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
663663   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
664664INPUT_PORTS_END
src/mame/drivers/goodejan.c
r5338r5339
425425   ROM_LOAD( "fmj08.083", 0x000, 0x100, CRC(9657b7ad) SHA1(e9b469c2b3534593f7fe0ea19cbbf93b55957e42) )
426426ROM_END
427427
428ROM_START( goodejaa )
428ROM_START( goodejana )
429429   ROM_REGION( 0x100000, "maincpu", 0 ) /* V30 code */
430430   ROM_LOAD16_BYTE( "1.u022",  0xc0000, 0x20000, CRC(d496cdd1) SHA1(144a9d8850b3b62520b71efd2ed1459bd673ac92) )
431431   ROM_LOAD16_BYTE( "2.u023",  0xc0001, 0x20000, CRC(5eda77bb) SHA1(ac54125988f9c929207becf0dcbab72eff4f054a) )
r5338r5339
459459
460460GAME( 1991, totmejan, 0,        totmejan, goodejan, 0, ROT0, "Seibu (distributed by Tecmo)", "Tottemo E Jong", GAME_IMPERFECT_GRAPHICS )
461461GAME( 1991, goodejan, 0,        goodejan, goodejan, 0, ROT0, "Seibu (distributed by Tecmo)", "Good E Jong -Kachinuki Mahjong Syoukin Oh!!- (set 1)", GAME_IMPERFECT_GRAPHICS )
462GAME( 1991, goodejaa, goodejan, goodejan, goodejan, 0, ROT0, "Seibu (distributed by Tecmo)", "Good E Jong -Kachinuki Mahjong Syoukin Oh!!- (set 2)", GAME_IMPERFECT_GRAPHICS )
462GAME( 1991, goodejana,goodejan, goodejan, goodejan, 0, ROT0, "Seibu (distributed by Tecmo)", "Good E Jong -Kachinuki Mahjong Syoukin Oh!!- (set 2)", GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/gaiden.c
r5338r5339
834834
835835   /* video hardware */
836836   MDRV_SCREEN_ADD("screen", RASTER)
837   MDRV_SCREEN_REFRESH_RATE(60)
837   MDRV_SCREEN_REFRESH_RATE(59.17)   /* verified on pcb */
838838   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
839839   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
840840   MDRV_SCREEN_SIZE(32*8, 32*8)
r5338r5339
10901090
10911091*/
10921092
1093ROM_START( ryukenda )
1093ROM_START( ryukendna )
10941094   ROM_REGION( 0x40000, "maincpu", 0 )   /* 2*128k for 68000 code */
10951095   ROM_LOAD16_BYTE( "1.3s",  0x00000, 0x20000, CRC(0ed5464c) SHA1(2eab6650ad1c38cd560ec3d084f47156756c97a4) )
10961096   ROM_LOAD16_BYTE( "2.4s",  0x00001, 0x20000, CRC(a93a8256) SHA1(6bf6c189f82cb9341d3427a822de83cbaed27bc0) )
r5338r5339
13961396GAME( 1988, shadowwa, shadoww,  shadoww, shadoww,  shadoww,  ROT0, "Tecmo", "Shadow Warriors (World, set 2)", 0 )
13971397GAME( 1988, gaiden,   shadoww,  shadoww, shadoww,  shadoww,  ROT0, "Tecmo", "Ninja Gaiden (US)", 0 )
13981398GAME( 1989, ryukendn, shadoww,  shadoww, shadoww,  shadoww,  ROT0, "Tecmo", "Ninja Ryukenden (Japan, set 1)", 0 )
1399GAME( 1989, ryukenda, shadoww,  shadoww, shadoww,  shadoww,  ROT0, "Tecmo", "Ninja Ryukenden (Japan, set 2)", 0 )
1399GAME( 1989, ryukendna,shadoww,  shadoww, shadoww,  shadoww,  ROT0, "Tecmo", "Ninja Ryukenden (Japan, set 2)", 0 )
14001400GAME( 1989, wildfang, 0,        shadoww, wildfang, wildfang, ROT0, "Tecmo", "Wild Fang / Tecmo Knight", 0 )
14011401GAME( 1989, tknight,  wildfang, shadoww, tknight,  wildfang, ROT0, "Tecmo", "Tecmo Knight", 0 )
14021402GAME( 1991, stratof,  0,        raiga,    raiga,    raiga,    ROT0, "Tecmo", "Raiga - Strato Fighter (US)", GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/trackfld.c
r5338r5339
816816   ROM_LOAD( "c9_d15.bin",   0x0000, 0x2000, CRC(f546a56b) SHA1(caee3d8546eb7a75ce2a578c6a1a630246aec6b8) )
817817ROM_END
818818
819ROM_START( trackflc )
819ROM_START( trackfldc )
820820   ROM_REGION( 0x10000, "maincpu", 0 )     /* 64k for code + 64k for decrypted opcodes */
821821   ROM_LOAD( "f01.1a",       0x6000, 0x2000, CRC(4e32b360) SHA1(cafd4b9ef5548d31d894610dfd2288425d29ed58) )
822822   ROM_LOAD( "f02.2a",       0x8000, 0x2000, CRC(4e7ebf07) SHA1(266110e5195ab1e374724536b82ec4da35123dc7) )
r5338r5339
878878   ROM_LOAD( "c9_d15.bin",   0x0000, 0x2000, CRC(f546a56b) SHA1(caee3d8546eb7a75ce2a578c6a1a630246aec6b8) ) /* 361-d15.c09 */
879879ROM_END
880880
881ROM_START( hyprolyb )
881ROM_START( hyprolymb )
882882    /* These ROM's are located on the CPU/Video Board */
883883   ROM_REGION( 0x10000, "maincpu", 0 )     /* 64k for code + 64k for decrypted opcodes */
884884   ROM_LOAD( "1.a1",         0x6000, 0x2000, CRC(9aee2d5a) SHA1(81f151459f1113b5f2f76ddc140bf86676f778e4) )
r5338r5339
10211021   /* not used */
10221022ROM_END
10231023
1024ROM_START( wizzquza )
1024ROM_START( wizzquiza )
10251025   ROM_REGION( 0x10000, "maincpu", 0 )
10261026   ROM_LOAD( "ic9_a1.bin",   0xe000, 0x2000, CRC(608e1ff3) SHA1(f3350a3367df59ec1780bb22c7a6a227e7b10d5e) )
10271027
r5338r5339
11801180
11811181
11821182GAME( 1983, trackfld, 0,        trackfld, trackfld, trackfld, ROT0,  "Konami", "Track & Field", 0 )
1183GAME( 1983, trackflc, trackfld, trackfld, trackfld, trackfld, ROT0,  "Konami (Centuri license)", "Track & Field (Centuri)", 0 )
1183GAME( 1983, trackfldc,trackfld, trackfld, trackfld, trackfld, ROT0,  "Konami (Centuri license)", "Track & Field (Centuri)", 0 )
11841184GAME( 1983, hyprolym, trackfld, trackfld, trackfld, trackfld, ROT0,  "Konami", "Hyper Olympic", 0 )
1185GAME( 1983, hyprolyb, trackfld, hyprolyb, trackfld, trackfld, ROT0,  "bootleg", "Hyper Olympic (bootleg)", GAME_IMPERFECT_SOUND )
1185GAME( 1983, hyprolymb,trackfld, hyprolyb, trackfld, trackfld, ROT0,  "bootleg", "Hyper Olympic (bootleg)", GAME_IMPERFECT_SOUND )
11861186GAME( 1996, atlantol, trackfld, hyprolyb, atlantol,   atlantol, ROT0,  "bootleg", "Atlant Olimpic", 0 )
11871187GAME( 1988, mastkin,  0,        mastkin,  mastkin,  mastkin,  ROT0,  "Du Tech", "The Masters of Kin", GAME_WRONG_COLORS )
11881188GAME( 1985, wizzquiz, 0,        wizzquiz, wizzquiz, wizzquiz, ROT0,  "Konami", "Wizz Quiz (Konami version)", 0 )
1189GAME( 1985, wizzquza, wizzquiz, wizzquiz, wizzquiz, wizzquiz, ROT0,  "Zilec - Zenitone", "Wizz Quiz (version 4)", 0 )
1189GAME( 1985, wizzquiza,wizzquiz, wizzquiz, wizzquiz, wizzquiz, ROT0,  "Zilec - Zenitone", "Wizz Quiz (version 4)", 0 )
11901190GAME( 1987, reaktor,  0,        reaktor,  reaktor,  0,        ROT90, "Zilec", "Reaktor (Track & Field conversion)", 0 )
src/mame/drivers/astrof.c
r5338r5339
11241124ROM_END
11251125
11261126
1127ROM_START( spfgmk22 )
1127ROM_START( spfghmk22 )
11281128   ROM_REGION( 0x10000, "maincpu", 0 )
11291129   ROM_LOAD( "2708mkii.5e",  0xe400, 0x0400, CRC(27d7060d) SHA1(796c44a395e1c54769dc57050503b4b111bde7ef) )
11301130   ROM_LOAD( "2708mkii.5d",  0xe800, 0x0400, CRC(6ccb3b0a) SHA1(566104ca2e0fae741d4650e7159c9ddb48f59e8b) )
r5338r5339
11561156ROM_END
11571157
11581158
1159ROM_START( tomahaw1 )
1159ROM_START( tomahawk1 )
11601160   ROM_REGION( 0x10000, "maincpu", 0 )
11611161   ROM_LOAD( "l8-1",         0xdc00, 0x0400, CRC(7c911661) SHA1(3fc75bb0e6a89d41d76f82eeb0fde7d33809dddf) )
11621162   ROM_LOAD( "l7-1",         0xe000, 0x0400, CRC(adeffb69) SHA1(8ff7ada883825a8b56cae3368ce377228922ab1d) )
r5338r5339
12411241GAME( 1979, acombato, astrof,   abattle,  abattle,  afire,   ROT90, "bootleg",     "Astro Combat (older, PZ)", GAME_SUPPORTS_SAVE )
12421242GAME( 1979, sstarbtl, astrof,   abattle,  abattle,  sstarbtl,ROT90, "bootleg",     "Super Star Battle", GAME_SUPPORTS_SAVE )
12431243GAME( 1979, spfghmk2, 0,        spfghmk2, spfghmk2, 0,       ROT90, "Data East",   "Space Fighter Mark II (set 1)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
1244GAME( 1979, spfgmk22, spfghmk2, spfghmk2, spfgmk22, 0,       ROT90, "Data East",   "Space Fighter Mark II (set 2)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
1244GAME( 1979, spfghmk22,spfghmk2, spfghmk2, spfgmk22, 0,       ROT90, "Data East",   "Space Fighter Mark II (set 2)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
12451245GAME( 1980, tomahawk, 0,        tomahawk, tomahawk, 0,       ROT90, "Data East",   "Tomahawk 777 (rev 5)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
1246GAME( 1980, tomahaw1, tomahawk, tomahawk, tomahaw1, 0,       ROT90, "Data East",   "Tomahawk 777 (rev 1)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
1246GAME( 1980, tomahawk1,tomahawk, tomahawk, tomahaw1, 0,       ROT90, "Data East",   "Tomahawk 777 (rev 1)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
src/mame/drivers/vegas.c
r5338r5339
23212321ROM_END
23222322
23232323
2324ROM_START( gauntl12 )
2324ROM_START( gauntleg12 )
23252325   ROM_REGION32_LE( 0x80000, "user1", 0 )   /* EPROM 1.3 9/25/1998 */
23262326   ROM_LOAD( "legend12.bin", 0x000000, 0x80000, CRC(34674c5f) SHA1(92ec1779f3ab32944cbd953b6e1889503a57794b) )
23272327
r5338r5339
23452345ROM_END
23462346
23472347
2348ROM_START( gauntd24 )
2348ROM_START( gauntdl24 )
23492349   ROM_REGION32_LE( 0x80000, "user1", 0 )   /* EPROM 1.7 12/14/1999 */
23502350   ROM_LOAD( "gauntdl.bin", 0x000000, 0x80000, CRC(3d631518) SHA1(d7f5a3bc109a19c9c7a711d607ff87e11868b536) )
23512351
r5338r5339
25802580 *************************************/
25812581
25822582/* Vegas + Vegas SIO + Voodoo 2 */
2583GAME( 1998, gauntleg, 0,        vegas,    gauntleg, gauntleg, ROT0, "Atari Games",  "Gauntlet Legends (version 1.6)", GAME_SUPPORTS_SAVE )
2584GAME( 1998, gauntl12, gauntleg, vegas,    gauntleg, gauntleg, ROT0, "Atari Games",  "Gauntlet Legends (version 1.2)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
2583GAME( 1998, gauntleg,   0,        vegas,    gauntleg, gauntleg, ROT0, "Atari Games",  "Gauntlet Legends (version 1.6)", GAME_SUPPORTS_SAVE )
2584GAME( 1998, gauntleg12, gauntleg, vegas,    gauntleg, gauntleg, ROT0, "Atari Games",  "Gauntlet Legends (version 1.2)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
25852585GAME( 1998, tenthdeg, 0,        vegas,    tenthdeg, tenthdeg, ROT0, "Atari Games",  "Tenth Degree (prototype)", GAME_SUPPORTS_SAVE )
25862586
25872587/* Durango + Vegas SIO + Voodoo 2 */
25882588GAME( 1999, gauntdl,  0,        vegas,    gauntdl,  gauntdl,  ROT0, "Midway Games", "Gauntlet Dark Legacy (version DL 2.52)", GAME_SUPPORTS_SAVE )
2589GAME( 1999, gauntd24, gauntdl,  vegas,    gauntdl,  gauntdl,  ROT0, "Midway Games", "Gauntlet Dark Legacy (version DL 2.4)", GAME_SUPPORTS_SAVE )
2589GAME( 1999, gauntdl24,gauntdl,  vegas,    gauntdl,  gauntdl,  ROT0, "Midway Games", "Gauntlet Dark Legacy (version DL 2.4)", GAME_SUPPORTS_SAVE )
25902590GAME( 1999, warfa,    0,        vegas250, warfa,    warfa,    ROT0, "Atari Games",  "War: The Final Assault", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
25912591
25922592/* Durango + DSIO + Voodoo 2 */
src/mame/drivers/tecmo.c
r5338r5339
947947   ROM_LOAD( "silkworm.1",   0x0000, 0x8000, CRC(5b553644) SHA1(5d39d2251094c17f7b732b4861401b3516fce9b1) )
948948ROM_END
949949
950ROM_START( silkwrm2 )
950ROM_START( silkworm2 )
951951   ROM_REGION( 0x20000, "maincpu", 0 )
952952   ROM_LOAD( "r4",           0x00000, 0x10000, CRC(6df3df22) SHA1(9d6201c2df014bdb6877dfff936dddde1fe6fbd0) )   /* c000-ffff is not used */
953953   ROM_LOAD( "silkworm.5",   0x10000, 0x10000, CRC(a6c7bb51) SHA1(75f6625459ab65f2d47a282c1295d4db38f5fe51) )   /* banked at f000-f7ff */
r5338r5339
11041104GAME( 1986, rygarj,   rygar,    rygar,    rygar,    rygar,    ROT0,  "Tecmo", "Argus no Senshi (Japan)", 0 )
11051105GAME( 1987, gemini,   0,        gemini,   gemini,   gemini,   ROT90, "Tecmo", "Gemini Wing", 0 )
11061106GAME( 1988, silkworm, 0,        silkworm, silkworm, silkworm, ROT0,  "Tecmo", "Silk Worm (set 1)", 0 )
1107GAME( 1988, silkwrm2, silkworm, silkworm, silkworm, silkworm, ROT0,  "Tecmo", "Silk Worm (set 2)", 0 )
1107GAME( 1988, silkworm2,silkworm, silkworm, silkworm, silkworm, ROT0,  "Tecmo", "Silk Worm (set 2)", 0 )
11081108GAME( 1988, backfirt, 0,        gemini,   backfirt, backfirt, ROT0,  "Tecmo", "Back Fire (Tecmo, bootleg)", 0 )
src/mame/drivers/galpanic.c
r5338r5339
10181018   ROM_LOAD( "pm007e.u",     0xc0000, 0x80000, CRC(c7ed7950) SHA1(133258b058d3c562208d0d00b9fac71202647c32) )
10191019ROM_END
10201020
1021ROM_START( galpania ) /* PAMERA-04 PCB with the CALC1 MCU used */
1021ROM_START( galpanica ) /* PAMERA-04 PCB with the CALC1 MCU used */
10221022   ROM_REGION( 0x400000, "maincpu", 0 )   /* 68000 code */
10231023   ROM_LOAD16_BYTE( "pm110.4m2",    0x000000, 0x80000, CRC(ae6b17a8) SHA1(f3a625eef45cc85cdf9760f77ea7ce93387911f9) )
10241024   ROM_LOAD16_BYTE( "pm109.4m1",    0x000001, 0x80000, CRC(b85d792d) SHA1(0ed78e15f6e58285ce6944200b023ada1e673b0e) )
r5338r5339
11801180   ROM_LOAD( "music1.1a",    0xc0000, 0x80000, CRC(864167c2) SHA1(c454b26b6dea993e6bd64546f92beef05e46d7d7) )
11811181ROM_END
11821182
1183ROM_START( fntsia2a )
1183ROM_START( fantsia2a )
11841184   ROM_REGION( 0x500000, "maincpu", 0 )   /* 68000 code */
11851185   ROM_LOAD16_BYTE( "fnt2-22.bin",    0x000000, 0x80000, CRC(a3a92c4b) SHA1(6affdcb57e1e0a77c7cc33135dafe86843e9e3d8) )
11861186   ROM_LOAD16_BYTE( "fnt2-17.bin",    0x000001, 0x80000, CRC(d0ce4493) SHA1(9cec088e6630555b6d584df23236c279909820cf) )
r5338r5339
12861286ROM_END
12871287
12881288GAME( 1990, galpanic, 0,        galpanic, galpanic, 0, ROT90, "Kaneko", "Gals Panic (Unprotected)", GAME_NO_COCKTAIL )
1289GAME( 1990, galpania, galpanic, galpania, galpania, 0, ROT90, "Kaneko", "Gals Panic (MCU Protected)", GAME_NO_COCKTAIL )
1289GAME( 1990, galpanica,galpanic, galpania, galpania, 0, ROT90, "Kaneko", "Gals Panic (MCU Protected)", GAME_NO_COCKTAIL )
12901290GAME( 1994, supmodel, 0,        supmodel, fantasia, 0, ROT90, "Comad & New Japan System", "Super Model",GAME_NO_COCKTAIL ) // 'official' or hack of fantasia?
12911291GAME( 1995, newfant,  0,        comad,    fantasia, 0, ROT90, "Comad & New Japan System", "New Fantasia", GAME_NO_COCKTAIL )
12921292GAME( 1995, fantsy95, 0,        comad,    fantasia, 0, ROT90, "Hi-max Technology Inc.", "Fantasy '95", GAME_NO_COCKTAIL )
12931293GAME( 1996, missw96,  0,        comad,    missw96,  0, ROT0,  "Comad", "Miss World '96 (Nude)", GAME_NO_COCKTAIL )
12941294GAME( 1996, missmw96, missw96,  comad,    missw96,  0, ROT0,  "Comad", "Miss Mister World '96 (Nude)", GAME_NO_COCKTAIL )
12951295GAME( 1997, fantsia2, 0,        fantsia2, missw96,  0, ROT0,  "Comad", "Fantasia II (Explicit)", GAME_NO_COCKTAIL )
1296GAME( 1997, fntsia2a, fantsia2, fantsia2, missw96,  0, ROT0,  "Comad", "Fantasia II (Less Explicit)", GAME_NO_COCKTAIL )
1296GAME( 1997, fantsia2a,fantsia2, fantsia2, missw96,  0, ROT0,  "Comad", "Fantasia II (Less Explicit)", GAME_NO_COCKTAIL )
12971297GAME( 1997, galhustl, 0,        galhustl, galhustl, 0, ROT0,  "ACE International", "Gals Hustler", 0 )
12981298GAME( 1995, zipzap,   0,        zipzap,   zipzap,   0, ROT90, "Barko Corp", "Zip & Zap", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND )
src/mame/drivers/finalizr.c
r5338r5339
317317   ROM_LOAD( "523h12.10f",   0x0140, 0x0100, CRC(53166a2a) SHA1(6cdde206036df7176679711f7888d72acee27c8f) ) /* sprites */
318318ROM_END
319319
320ROM_START( finalizb )
320ROM_START( finalizrb )
321321   ROM_REGION( 0x10000, "maincpu", 0 )
322322   ROM_LOAD( "finalizr.5",   0x4000, 0x8000, CRC(a55e3f14) SHA1(47f6da214b36cc56be547fa4313afcc5572508a2) )
323323   ROM_LOAD( "finalizr.6",   0xc000, 0x4000, CRC(ce177f6e) SHA1(034cbe0c1e2baf9577741b3c222a8b4a8ac8c919) )
r5338r5339
349349
350350
351351GAME( 1985, finalizr, 0,        finalizr, finalizr, finalizr, ROT90, "Konami", "Finalizer - Super Transformation", GAME_IMPERFECT_SOUND )
352GAME( 1985, finalizb, finalizr, finalizr, finalizb, finalizr, ROT90, "bootleg", "Finalizer - Super Transformation (bootleg)", GAME_IMPERFECT_SOUND )
352GAME( 1985, finalizrb,finalizr, finalizr, finalizb, finalizr, ROT90, "bootleg", "Finalizer - Super Transformation (bootleg)", GAME_IMPERFECT_SOUND )
src/mame/drivers/igspoker.c
r5338r5339
324324/* MB: 05 Jun 99  Input ports and Dip switches are all verified! */
325325
326326static INPUT_PORTS_START( cpoker )
327
328327   PORT_START("DSW1")
329328   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SWA:8")
330329   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
r5338r5339
431430
432431   PORT_START("SERVICE")
433432   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SPECIAL  ) PORT_CUSTOM( hopper_r, (void *)0 ) PORT_NAME("HPSW")   // hopper sensor
434   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_4) PORT_NAME("Payout")
433   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
435434   PORT_SERVICE_NO_TOGGLE( 0x20, IP_ACTIVE_LOW )
436   PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F1) PORT_NAME("Statistics")
435   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Statistics")
437436
438437   PORT_START("COINS")
439438   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
440439   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
441440   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )
442   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
443   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Down")
441   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
442   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Down")
444443   PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED )
445444
446445   PORT_START("BUTTONS1")
447446   PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
448447
449448   PORT_START("BUTTONS2")
450   PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_START1 )
451   PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold1/High/Low")
452   PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold5/Bet")
453   PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold4/Take")
454   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold3/W-Up")
455   PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold2/Red/Black")
456   PORT_BIT(0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
457
449   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
450   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Hold 1 / High / Low")
451   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Hold 5 / Bet")
452   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Hold 4 / Take")
453   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Hold 3 / W-Up")
454   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Hold 2 / Red / Black")
455   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
458456INPUT_PORTS_END
459457
460458static INPUT_PORTS_START( csk227 )
461
462459   PORT_START("DSW1")
463460   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SWA:8")
464461   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
r5338r5339
585582   PORT_START("SERVICE")
586583   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNUSED )
587584   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED )
588   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM( hopper_r, (void *)0 ) PORT_NAME("HPSW")   // hopper sensor
585   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM( hopper_r, (void *)0 ) PORT_NAME("HPSW")   // hopper sensor
589586   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
590   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_4) PORT_NAME("Payout")
587   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
591588   PORT_SERVICE_NO_TOGGLE( 0x20, IP_ACTIVE_LOW )
592   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F1) PORT_NAME("Statistics")
593   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold5/Bet")
589   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Statistics")
590   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Hold 5 / Bet")
594591
595592   PORT_START("COINS")
596   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1     )
593   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
597594   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED )
598   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2     )
599   PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_SERVICE  ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
600   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_SERVICE  ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Down")
595   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )
596   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
597   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Down")
601598   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )
602   PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold4/Take")
603   PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold3/W-Up")
599   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Hold 4 / Take")
600   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Hold 3 / W-Up")
604601
605602   PORT_START("BUTTONS1")
606   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNUSED)
607   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED)
608   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED)
609   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED)
610   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED)
611   PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_START1)
612   PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold1/High/Low")
613   PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold2/Red/Black")
603   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNUSED )
604   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED )
605   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED )
606   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
607   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED )
608   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
609   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Hold 1 / High / Low")
610   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Hold 2 / Red / Black")
614611
615612   PORT_START("BUTTONS2")
616613   PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
617
618614INPUT_PORTS_END
619615
620616
621617static INPUT_PORTS_START( csk234 )
622
623618   PORT_START("DSW1")
624619   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SWA:8")
625620   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
r5338r5339
732727   PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED )
733728
734729   PORT_START("SERVICE")
735   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SPECIAL  ) PORT_CUSTOM( hopper_r, (void *)0 ) PORT_NAME("HPSW")   // hopper sensor
736   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_4) PORT_NAME("Payout")
730   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM( hopper_r, (void *)0 ) PORT_NAME("HPSW")   // hopper sensor
731   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
737732   PORT_SERVICE_NO_TOGGLE( 0x20, IP_ACTIVE_LOW )
738   PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F1) PORT_NAME("Statistics")
733   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Statistics")
739734
740735   PORT_START("COINS")
741736   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
742737   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
743738   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )
744   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
745   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Down")
739   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
740   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Down")
746741   PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED )
747742
748743   PORT_START("BUTTONS1")
749744   PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
750745
751746   PORT_START("BUTTONS2")
752   PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_START1 )
753   PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold1/High/Low")
754   PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold5/Bet")
755   PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold4/Take")
756   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold3/W-Up")
757   PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold2/Red/Black")
758   PORT_BIT(0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
759
747   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
748   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Hold 1 / High / Low")
749   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Hold 5 / Bet")
750   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Hold 4 / Take")
751   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Hold 3 / W-Up")
752   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Hold 2 / Red / Black")
753   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
760754INPUT_PORTS_END
761755
762756
763757static INPUT_PORTS_START( igs_ncs )
764
765758   PORT_START("DSW1")
766759   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SWA:8")
767760   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
r5338r5339
887880
888881   PORT_START("SERVICE")
889882   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SPECIAL  ) PORT_CUSTOM( hopper_r, (void *)0 ) PORT_NAME("HPSW")   // hopper sensor
890   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_4) PORT_NAME("Payout")
883   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
891884   PORT_SERVICE_NO_TOGGLE( 0x20, IP_ACTIVE_LOW )
892   PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F1) PORT_NAME("Statistics")
885   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Statistics")
893886
894887   PORT_START("COINS")
895888   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
896889   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
897890   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )
898   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
899   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Down")
891   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
892   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Down")
900893   PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED )
901894
902895   PORT_START("BUTTONS1")
903896   PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
904897
905898   PORT_START("BUTTONS2")
906   PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_START1 )
907   PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold1/High/Low")
908   PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold5/Bet")
909   PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold4/Take")
910   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold3/W-Up")
911   PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold2/Red/Black")
912   PORT_BIT(0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
913
899   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
900   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Hold 1 / High / Low")
901   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Hold 5 / Bet")
902   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Hold 4 / Take")
903   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Hold 3 / W-Up")
904   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Hold 2 / Red / Black")
905   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
914906INPUT_PORTS_END
915907
916908
r5338r5339
960952ADDRESS_MAP_END
961953
962954static INPUT_PORTS_START( number10 )
963
964955   PORT_START("DSW1")
965956   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SWA:8")
966957   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
r5338r5339
10691060   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
10701061
10711062   PORT_START("DSW6")
1072   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_H) PORT_NAME("HPSW")
1063   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_H) PORT_NAME("HPSW")
10731064
10741065   PORT_START("DSW7")
1075   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_H) PORT_NAME("HPSW")
1066   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_H) PORT_NAME("HPSW")
10761067
10771068   PORT_START("SERVICE")
10781069   PORT_SERVICE_NO_TOGGLE( 0x04, IP_ACTIVE_LOW )
1079   PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F1) PORT_NAME("Statistics")
1080   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_COIN1 )
1081   PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_COIN2 )
1082   PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_4) PORT_NAME("Payout")
1070   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Statistics")
1071   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 )
1072   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
1073   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
10831074
10841075   PORT_START("BUTTONS1")
10851076   PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
10861077
10871078   PORT_START("BUTTONS2")
1088   PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_START1 ) PORT_CODE(KEYCODE_N)
1089   PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Hold1/High/Low")
1090   PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Hold5/Bet")
1091   PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Hold4/Take")
1092   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Hold3/W-Up")
1093   PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Hold2/Red/Black")
1094   PORT_BIT(0xC0, IP_ACTIVE_LOW, IPT_UNUSED )
1095
1079   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
1080   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Hold 1 / High / Low")
1081   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Hold 5 / Bet")
1082   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Hold 4 / Take")
1083   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Hold 3 / W-Up")
1084   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Hold 2 / Red / Black")
1085   PORT_BIT( 0xC0, IP_ACTIVE_LOW, IPT_UNUSED )
10961086INPUT_PORTS_END
10971087
10981088static INPUT_PORTS_START( cpokerpk )
1099
11001089   PORT_START("DSW1")
11011090   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SWA:8")
11021091   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
r5338r5339
12111200
12121201   PORT_START("SERVICE")
12131202   PORT_BIT( 0x8f, IP_ACTIVE_LOW, IPT_SPECIAL  ) PORT_CUSTOM( hopper_r, (void *)0 ) PORT_NAME("HPSW")   // hopper sensor
1214   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_4) PORT_NAME("Payout")
1203   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
12151204   PORT_SERVICE_NO_TOGGLE( 0x20, IP_ACTIVE_LOW )
1216   PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F1) PORT_NAME("Statistics")
1205   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Statistics")
12171206
12181207   PORT_START("COINS")
12191208   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
12201209   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
12211210   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )
1222   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
1223   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Down")
1211   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
1212   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Down")
12241213   PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED )
12251214
12261215   PORT_START("BUTTONS1")
12271216   PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
12281217
12291218   PORT_START("BUTTONS2")
1230   PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_START1 ) PORT_CODE(KEYCODE_N)
1231   PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Hold1/High/Low")
1232   PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Hold5/Bet")
1233   PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Hold4/Take")
1234   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Hold3/W-Up")
1235   PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Hold2/Red/Black")
1236   PORT_BIT(0xC0, IP_ACTIVE_LOW, IPT_UNUSED )
1237
1219   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
1220   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Hold 1 / High / Low")
1221   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Hold 5 / Bet")
1222   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Hold 4 / Take")
1223   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Hold 3 / W-Up")
1224   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Hold 2 / Red / Black")
1225   PORT_BIT( 0xC0, IP_ACTIVE_LOW, IPT_UNUSED )
12381226INPUT_PORTS_END
12391227
12401228static INPUT_PORTS_START( chleague )
1241
12421229   PORT_START("DSW1")
12431230   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SWA:8")
12441231   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
r5338r5339
13481335
13491336   PORT_START("SERVICE")
13501337   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SPECIAL  ) PORT_CUSTOM( hopper_r, (void *)0 ) PORT_NAME("HPSW")   // hopper sensor
1351   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_4) PORT_NAME("Payout")
1338   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
13521339   PORT_SERVICE_NO_TOGGLE( 0x20, IP_ACTIVE_LOW )
1353   PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F1) PORT_NAME("Statistics")
1340   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Statistics")
13541341
13551342   PORT_START("COINS")
13561343   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
13571344   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
13581345   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )
1359   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
1360   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Down")
1346   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
1347   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Down")
13611348   PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED )
13621349
13631350   PORT_START("BUTTONS1")
13641351   PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
13651352
13661353   PORT_START("BUTTONS2")
1367   PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_START1 )
1368   PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold1/High/Low")
1369   PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold5/Bet")
1370   PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold4/Take")
1371   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold3/W-Up")
1372   PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold2/Red/Black")
1373   PORT_BIT(0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
1374
1354   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
1355   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Hold 1 / High / Low")
1356   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Hold 5 / Bet")
1357   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Hold 4 / Take")
1358   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Hold 3 / W-Up")
1359   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Hold 2 / Red / Black")
1360   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
13751361INPUT_PORTS_END
13761362
13771363static INPUT_PORTS_START( pktet346 )
1378
13791364   PORT_START("DSW1")
13801365   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SWA:8")
13811366   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
r5338r5339
14871472   PORT_BIT( 0xfc, IP_ACTIVE_LOW, IPT_UNUSED )
14881473
14891474   PORT_START("SERVICE")
1490   PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9)
1475   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9)
14911476   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SPECIAL  ) PORT_CUSTOM( hopper_r, (void *)0 ) PORT_NAME("HPSW")   // hopper sensor
1492   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_4) PORT_NAME("Payout")
1477   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
14931478   PORT_SERVICE_NO_TOGGLE( 0x20, IP_ACTIVE_LOW )
1494   PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F1) PORT_NAME("Statistics")
1479   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Statistics")
14951480
14961481   PORT_START("COINS")
14971482   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
1498   PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_R)
1483   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_R)
14991484   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )
1500   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
1501   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Down")
1485   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
1486   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Down")
15021487   PORT_BIT( 0xe0, IP_ACTIVE_HIGH, IPT_UNUSED )
15031488
15041489   PORT_START("BUTTONS1")
15051490   PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
15061491
15071492   PORT_START("BUTTONS2")
1508   PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_START1 )
1509   PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_Z) PORT_NAME("Hold1/High/Low")
1510   PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_B) PORT_NAME("Hold5/Bet")
1511   PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_V) PORT_NAME("Hold4/Take")
1512   PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_C) PORT_NAME("Hold3/W-Up")
1513   PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_X) PORT_NAME("Hold2/Red/Black")
1514   PORT_BIT(0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
1515
1493   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
1494   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Hold 1 / High / Low")
1495   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Hold 5 / Bet")
1496   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Hold 4 / Take")
1497   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Hold 3 / W-Up")
1498   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Hold 2 / Red / Black")
1499   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
15161500INPUT_PORTS_END
15171501
15181502
src/mame/drivers/segaorun.c
r5338r5339
948948     CPU BD   837-6063-02
949949     VIDEO BD 837-6064-02
950950*/
951ROM_START( outrun2 )
951ROM_START( outrunra )
952952   ROM_REGION( 0x60000, "maincpu", 0 ) /* 68000 code */
953953   ROM_LOAD16_BYTE( "epr-10380a.133", 0x000000, 0x10000, CRC(434fadbc) SHA1(83c861d331e69ef4f2452c313ae4b5ea9d8b7948) )
954954   ROM_LOAD16_BYTE( "epr-10382a.118", 0x000001, 0x10000, CRC(1ddcc04e) SHA1(945d207d8d602d7fdb6d25f6b93c9c0b995e8d5a) )
955   ROM_LOAD16_BYTE( "epr-10381a.132", 0x020000, 0x10000, CRC(be8c412b) SHA1(bf3ff05bbf81bdd44567f3b9bb4919ed4a499624) )
956   ROM_LOAD16_BYTE( "epr-10383a.117", 0x020001, 0x10000, CRC(dcc586e7) SHA1(d6e1de6b562359574d94b88ce6101646c506e701) )
955   ROM_LOAD16_BYTE( "epr-10381a.132", 0x020000, 0x10000, CRC(be8c412b) SHA1(bf3ff05bbf81bdd44567f3b9bb4919ed4a499624) ) /* Same as the original version below, but labeled as rev A */
956   ROM_LOAD16_BYTE( "epr-10383a.117", 0x020001, 0x10000, CRC(dcc586e7) SHA1(d6e1de6b562359574d94b88ce6101646c506e701) ) /* Same as the original version below, but labeled as rev A */
957957
958958   ROM_REGION( 0x60000, "sub", 0 ) /* second 68000 CPU */
959959   ROM_LOAD16_BYTE( "epr-10327a.76", 0x00000, 0x10000, CRC(e28a5baf) SHA1(f715bde96c73ed47035acf5a41630fdeb41bb2f9) )
r5338r5339
10031003ROM_END
10041004
10051005/**************************************************************************************************************************
1006    Outrun
1007    CPU: 68000
1008     GAME BD  834-6065-??
1009     CPU BD   837-6063-??
1010     VIDEO BD 837-6064-01
1011*/
1012
1013ROM_START( outruno )
1014   ROM_REGION( 0x60000, "maincpu", 0 ) /* 68000 code */
1015   ROM_LOAD16_BYTE( "epr-10380.133", 0x000000, 0x10000, CRC(e339e87a) SHA1(ac319cdafb156adcf6be29ae1b82d46d3048022e) )
1016   ROM_LOAD16_BYTE( "epr-10382.118", 0x000001, 0x10000, CRC(65248dd5) SHA1(4b75526df71bba0d588f47a65790a3d21b236302) )
1017   ROM_LOAD16_BYTE( "epr-10381.132", 0x020000, 0x10000, CRC(be8c412b) SHA1(bf3ff05bbf81bdd44567f3b9bb4919ed4a499624) )
1018   ROM_LOAD16_BYTE( "epr-10383.117", 0x020001, 0x10000, CRC(dcc586e7) SHA1(d6e1de6b562359574d94b88ce6101646c506e701) )
1019
1020   ROM_REGION( 0x60000, "sub", 0 ) /* second 68000 CPU */
1021   ROM_LOAD16_BYTE( "epr-10327.76", 0x00000, 0x10000, CRC(da99d855) SHA1(77d18092e3c10a400e62eeba562f161398fe37a7) )
1022   ROM_LOAD16_BYTE( "epr-10329.58", 0x00001, 0x10000, CRC(fe0fa5e2) SHA1(e63fe5f7950af35131539836f18fa056767c2c80) )
1023   ROM_LOAD16_BYTE( "epr-10328.75", 0x20000, 0x10000, CRC(3c0e9a7f) SHA1(0e182fdac70423a85dc2b996c70bcb3954e75e10) )
1024   ROM_LOAD16_BYTE( "epr-10330.57", 0x20001, 0x10000, CRC(59786e99) SHA1(834bf361ca67cee3793c324bb26cf0ec82a72068) )
1025
1026   ROM_REGION( 0x30000, "gfx1", 0 ) /* tiles */
1027   ROM_LOAD( "opr-10268.99",  0x00000, 0x08000, CRC(95344b04) SHA1(b3480714b11fc49b449660431f85d4ba92f799ba) )
1028   ROM_LOAD( "opr-10232.102", 0x08000, 0x08000, CRC(776ba1eb) SHA1(e3477961d19e694c97643066534a1f720e0c4327) )
1029   ROM_LOAD( "opr-10267.100", 0x10000, 0x08000, CRC(a85bb823) SHA1(a7e0143dee5a47e679fd5155e58e717813912692) )
1030   ROM_LOAD( "opr-10231.103", 0x18000, 0x08000, CRC(8908bcbf) SHA1(8e1237b640a6f26bdcbfd5e201dadb2687c4febb) )
1031   ROM_LOAD( "opr-10266.101", 0x20000, 0x08000, CRC(9f6f1a74) SHA1(09164e858ebeedcff4d389524ddf89e7c216dcae) )
1032   ROM_LOAD( "opr-10230.104", 0x28000, 0x08000, CRC(686f5e50) SHA1(03697b892f911177968aa40de6c5f464eb0258e7) )
1033
1034   ROM_REGION32_LE( 0x100000, "gfx2", 0 ) /* sprites */
1035   /* VIDEO BD 837-6064-01 uses eproms a fourth of the size of those used on VIDEO BD 837-6064-02, same data */
1036   ROM_LOAD32_BYTE( "epr-10194.26", 0x00000, 0x08000, CRC(f0eda3bd) SHA1(173e10a10372d42da81e6eb48c3e23a117638c0c) )
1037   ROM_LOAD32_BYTE( "epr-10203.38", 0x00001, 0x08000, CRC(8445a622) SHA1(1187dee7db09a42446fc75872d49936310141eb8) )
1038   ROM_LOAD32_BYTE( "epr-10212.52", 0x00002, 0x08000, CRC(dee7e731) SHA1(f09d18f8d8405025b87dd01488ad2098e28410b0) )
1039   ROM_LOAD32_BYTE( "epr-10221.66", 0x00003, 0x08000, CRC(43431387) SHA1(a28896e888bc4d4f67babd49003d663c1ceabb71) )
1040   ROM_LOAD32_BYTE( "epr-10195.27", 0x20000, 0x08000, CRC(0de75cdd) SHA1(a97faea76aca663ccbbde327f3d1d8ae256649d3) )
1041   ROM_LOAD32_BYTE( "epr-10204.39", 0x20001, 0x08000, CRC(5f4b5abb) SHA1(f81637b2eb6a4bde76c43eedfad7e5375594c7bd) )
1042   ROM_LOAD32_BYTE( "epr-10213.53", 0x20002, 0x08000, CRC(1d1b22f0) SHA1(d3b1c36d08c4b7b08f9969a521e62eebd5b2238d) )
1043   ROM_LOAD32_BYTE( "epr-10222.67", 0x20003, 0x08000, CRC(a254c706) SHA1(e2801a0a7fd5546a48cd53ad7e4743d821d985ff) )
1044   ROM_LOAD32_BYTE( "epr-10196.28", 0x40000, 0x08000, CRC(8688bb59) SHA1(0aaa90c5101aa1db00db776a15a0a525587dfc43) )
1045   ROM_LOAD32_BYTE( "epr-10205.40", 0x40001, 0x08000, CRC(74bd93ca) SHA1(6a02ea3b977e56cfd61302afa2abf6c2dc766ba7) )
1046   ROM_LOAD32_BYTE( "epr-10214.54", 0x40002, 0x08000, CRC(57527e18) SHA1(4cc95c4b741f495e5b9c3b9d4d9ab9a6fded9aeb) )
1047   ROM_LOAD32_BYTE( "epr-10223.68", 0x40003, 0x08000, CRC(3850690e) SHA1(0f92743f848edc8deaeeef3afca5f662ceba61e7) )
1048   ROM_LOAD32_BYTE( "epr-10197.29", 0x60000, 0x08000, CRC(009165a6) SHA1(987b91e8c5c54bb7c4520b13a72f1f47c34278f4) )
1049   ROM_LOAD32_BYTE( "epr-10206.41", 0x60001, 0x08000, CRC(954542c5) SHA1(3c67e3568c04ba083f4aacad2e8857cdd16b3b2f) )
1050   ROM_LOAD32_BYTE( "epr-10215.55", 0x60002, 0x08000, CRC(69be5a6c) SHA1(2daac5877a71de04878f231f03361f697552431f) )
1051   ROM_LOAD32_BYTE( "epr-10224.69", 0x60003, 0x08000, CRC(5cffc346) SHA1(0481f864bb584c96cd92c260a62c0c1d4030bde8) )
1052   ROM_LOAD32_BYTE( "epr-10198.30", 0x80000, 0x08000, CRC(d894992e) SHA1(451469f743a0019b8797d16ba7b26a267d13fe06) )
1053   ROM_LOAD32_BYTE( "epr-10207.42", 0x80001, 0x08000, CRC(ca61cea4) SHA1(7c39e2863f5c7be290522acdaf046b1dab7a3542) )
1054   ROM_LOAD32_BYTE( "epr-10216.56", 0x80002, 0x08000, CRC(d394134d) SHA1(42f768a9c9eb9f556d197548c35b3a0cd5414734) )
1055   ROM_LOAD32_BYTE( "epr-10225.70", 0x80003, 0x08000, CRC(0a5d1f2b) SHA1(43d9c7539b6cebbac3395a4ba71a702300c9e644) )
1056   ROM_LOAD32_BYTE( "epr-10199.31", 0xa0000, 0x08000, CRC(86376af6) SHA1(971f4b0d9a01ca7ffb50cefbe1ab41b703a4a41a) )
1057   ROM_LOAD32_BYTE( "epr-10208.43", 0xa0001, 0x08000, CRC(6830b7fa) SHA1(3ece1971a4f025104ebd026da6751caea9aa8a64) )
1058   ROM_LOAD32_BYTE( "epr-10217.57", 0xa0002, 0x08000, CRC(bf2c9b76) SHA1(248e273255968115a60855b1fffcce1dbeacc3d4) )
1059   ROM_LOAD32_BYTE( "epr-10226.71", 0xa0003, 0x08000, CRC(5a452474) SHA1(6789a33b55a1693ec9cc196b3ebd220b14169e08) )
1060   ROM_LOAD32_BYTE( "epr-10200.32", 0xc0000, 0x08000, CRC(1e5d4f73) SHA1(79deddf4461dad5784441c2839894207b7d2ecac) )
1061   ROM_LOAD32_BYTE( "epr-10209.44", 0xc0001, 0x08000, CRC(5c15419e) SHA1(7b4e9c0cb430afae7f927c0224021add0a627251) )
1062   ROM_LOAD32_BYTE( "epr-10218.58", 0xc0002, 0x08000, CRC(db4bdb39) SHA1(b4661611b28e7ff1c721565175038cfd1e99d383) )
1063   ROM_LOAD32_BYTE( "epr-10227.72", 0xc0003, 0x08000, CRC(c7def392) SHA1(fa7d1245eefdc3abb9520118bbb0d025ca62901e) )
1064   ROM_LOAD32_BYTE( "epr-10201.33", 0xe0000, 0x08000, CRC(1d9d4b9c) SHA1(3264b66c87aa7de4c140450b96adbe3071231d4a) )
1065   ROM_LOAD32_BYTE( "epr-10210.45", 0xe0001, 0x08000, CRC(39422931) SHA1(8d8a3f4597945c92aebd20c0784180696b6c9c1c) )
1066   ROM_LOAD32_BYTE( "epr-10219.59", 0xe0002, 0x08000, CRC(e73b9224) SHA1(1904a71a0c18ab2a3a5929e72b1c215dbb0fa213) )
1067   ROM_LOAD32_BYTE( "epr-10228.73", 0xe0003, 0x08000, CRC(25803978) SHA1(1a18922aeb516e8deb026d52e3cdcc4e69385af5) )
1068
1069   ROM_REGION( 0x10000, "gfx3", 0 ) /* road gfx (2 identical roms, 1 for each road) */
1070   ROM_LOAD( "opr-10186.47", 0x0000, 0x8000, CRC(22794426) SHA1(a554d4b68e71861a0d0da4d031b3b811b246f082) )
1071   ROM_LOAD( "opr-10185.11", 0x8000, 0x8000, CRC(22794426) SHA1(a554d4b68e71861a0d0da4d031b3b811b246f082) )
1072
1073   ROM_REGION( 0x10000, "soundcpu", 0 ) /* sound CPU */
1074   ROM_LOAD( "epr-10187.88", 0x00000, 0x8000, CRC(a10abaa9) SHA1(01c8a819587a66d2ee4d255656e36fa0904377b0) )
1075
1076   ROM_REGION( 0x80000, "pcm", ROMREGION_ERASEFF ) /* sound PCM data */
1077   ROM_LOAD( "opr-10193.66", 0x00000, 0x08000, CRC(bcd10dde) SHA1(417ce1d7242884640c5b14f4db8ee57cde7d085d) )
1078   ROM_RELOAD(               0x08000, 0x08000 )
1079   ROM_LOAD( "opr-10192.67", 0x10000, 0x08000, CRC(770f1270) SHA1(686bdf44d45c1d6002622f6658f037735382f3e0) )
1080   ROM_RELOAD(               0x18000, 0x08000 )
1081   ROM_LOAD( "opr-10191.68", 0x20000, 0x08000, CRC(20a284ab) SHA1(7c9027416d4122791ba53782fe2230cf02b7d506) )
1082   ROM_RELOAD(               0x28000, 0x08000 )
1083   ROM_LOAD( "opr-10190.69", 0x30000, 0x08000, CRC(7cab70e2) SHA1(a3c581d2b438630d0d4c39481dcfd85681c9f889) )
1084   ROM_RELOAD(               0x38000, 0x08000 )
1085   ROM_LOAD( "opr-10189.70", 0x40000, 0x08000, CRC(01366b54) SHA1(f467a6b807694d5832a985f5381c170d24aaee4e) )
1086   ROM_RELOAD(               0x48000, 0x08000 )
1087   ROM_LOAD( "opr-10188.71", 0x50000, 0x08000, CRC(bad30ad9) SHA1(f70dd3a6362c314adef313b064102f7a250401c8) )
1088   ROM_RELOAD(               0x58000, 0x08000 )
1089ROM_END
1090
1091/**************************************************************************************************************************
10061092    Outrun Deluxe
10071093    CPU: 68000
10081094     GAME BD  834-6065 Rev A
r5338r5339
10101096     VIDEO BD 837-6064-01
10111097*/
10121098
1013ROM_START( outrun1 )
1099ROM_START( outrundx )
10141100   ROM_REGION( 0x60000, "maincpu", 0 ) /* 68000 code */
10151101        /* Earlier version of CPU BD?? uses half size eproms compared to the above sets */
10161102   ROM_LOAD16_BYTE( "epr-10183.115", 0x000000, 0x8000, CRC(3d992396) SHA1(8cef43799b71cfd36d3fea140afff7fe0bafcfc1) )
r5338r5339
16781764     CPU BD SUPER HANG-ON   837-6278-01 (or 837-6278-03)
16791765     VIDEO BD SUPER HANG-ON 837-6279 (or 837-6279-02, rom would be "OPR")
16801766*/
1681ROM_START( shangnle )
1767ROM_START( shangonle )
16821768   ROM_REGION( 0x60000, "maincpu", 0 ) /* 68000 code  */
16831769   ROM_LOAD16_BYTE( "epr-13944.133", 0x000000, 0x10000, CRC(989a80db) SHA1(5026e5cf52d4fd85a0bab6c4ea7a34cf266b2a3b) )
16841770   ROM_LOAD16_BYTE( "epr-13943.118", 0x000001, 0x10000, CRC(426e3050) SHA1(f332ea76285b4e1361d818cbe5aab0640b4185c3) )
r5338r5339
18141900 *************************************/
18151901
18161902GAMEL(1986, outrun,   0,        outrun,   outrun,   outrun,   ROT0, "Sega",    "Out Run (sitdown/upright, Rev B)", 0, layout_outrun ) /* Upright/Sitdown determined by dipswitch settings */
1817GAMEL(1986, outrun2,  outrun,   outrun,   outrun,   outrun,   ROT0, "Sega",    "Out Run (sitdown/upright, Rev A)", 0, layout_outrun ) /* Upright/Sitdown determined by dipswitch settings */
1818GAMEL(1986, outrun1,  outrun,   outrundx, outrundx, outrun,   ROT0, "Sega",    "Out Run (deluxe sitdown)", 0, layout_outrun )
1903GAMEL(1986, outrunra, outrun,   outrun,   outrun,   outrun,   ROT0, "Sega",    "Out Run (sitdown/upright, Rev A)", 0, layout_outrun ) /* Upright/Sitdown determined by dipswitch settings */
1904GAMEL(1986, outruno,  outrun,   outrun,   outrun,   outrun,   ROT0, "Sega",    "Out Run (sitdown/upright)", 0, layout_outrun ) /* Upright/Sitdown determined by dipswitch settings */
1905GAMEL(1986, outrundx, outrun,   outrundx, outrundx, outrun,   ROT0, "Sega",    "Out Run (deluxe sitdown)", 0, layout_outrun )
18191906GAMEL(1986, outrunb,  outrun,   outrun,   outrun,   outrunb,  ROT0, "bootleg", "Out Run (bootleg)", 0, layout_outrun )
18201907GAME( 1987, shangon,  0,        shangon,  shangon,  shangon,  ROT0, "Sega",    "Super Hang-On (sitdown/upright, unprotected)", 0 )
18211908GAME( 1987, shangon3, shangon,  shangon,  shangon,  shangon3, ROT0, "Sega",    "Super Hang-On (sitdown/upright, FD1089B 317-0034)", 0 )
18221909GAME( 1987, shangon2, shangon,  shangon,  shangon,  shangon3, ROT0, "Sega",    "Super Hang-On (mini ride-on, Rev A, FD1089B 317-0034)", 0 )
18231910GAME( 1987, shangon1, shangon,  shangon,  shangon,  shangon3, ROT0, "Sega",    "Super Hang-On (mini ride-on?, FD1089B 317-0034)", GAME_NOT_WORKING ) /* bad program rom */
1824GAME( 1991, shangnle, shangon,  shangon,  shangon,  shangon,  ROT0, "Sega",    "Limited Edition Hang-On", 0 )
1911GAME( 1991, shangonle,shangon,  shangon,  shangon,  shangon,  ROT0, "Sega",    "Limited Edition Hang-On", 0 )
18251912GAMEL(1989, toutrun,  0,        outrun,   toutrun1, outrun,   ROT0, "Sega",    "Turbo Out Run (cockpit, FD1094 317-0109)", 0, layout_outrun )
18261913GAMEL(1989, toutrun2, toutrun,  outrun,   toutrun1, outrun,   ROT0, "Sega",    "Turbo Out Run (upright, FD1094 317-unknown)", 0, layout_outrun )
18271914GAMEL(1989, toutrun1, toutrun,  outrun,   toutrun1, outrun,   ROT0, "Sega",    "Turbo Out Run (cockpit, FD1094 317-unknown)", GAME_NOT_WORKING, layout_outrun ) /* FD1094 CPU not decrypted */
src/mame/drivers/videopkr.c
r5338r5339
916916
917917static INPUT_PORTS_START( videopkr )
918918   PORT_START("IN0")
919   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Door")    PORT_TOGGLE PORT_CODE(KEYCODE_0)
920   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Books")   PORT_CODE(KEYCODE_9)
921   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 )   PORT_IMPULSE(2)
922   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Start")   PORT_CODE(KEYCODE_1)
923   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Discard") PORT_CODE(KEYCODE_2)
924   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("Cancel")  PORT_CODE(KEYCODE_N)
925   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Hold 1")  PORT_CODE(KEYCODE_Z)
926   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_NAME("Hold 2")  PORT_CODE(KEYCODE_X)
919   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_GAMBLE_DOOR )
920   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_GAMBLE_BOOK ) PORT_NAME("Books")
921   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(2)
922   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START1 ) PORT_NAME("Start")
923   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Discard") PORT_CODE(KEYCODE_2)
924   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_POKER_CANCEL )
925   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_POKER_HOLD1 )
926   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_POKER_HOLD2 )
927927
928928   PORT_START("IN1")
929   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_NAME("Hold 3")  PORT_CODE(KEYCODE_C)
930   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON7 ) PORT_NAME("Hold 4")  PORT_CODE(KEYCODE_V)
931   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON8 ) PORT_NAME("Hold 5")  PORT_CODE(KEYCODE_B)
929   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_POKER_HOLD3 )
930   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_POKER_HOLD4 )
931   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_POKER_HOLD5 )
932932   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
933   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON10) PORT_NAME("Hopper")  PORT_TOGGLE PORT_CODE(KEYCODE_8)
934   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON11) PORT_NAME("Payout")  PORT_CODE(KEYCODE_M)
933   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_H)
934   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_GAMBLE_PAYOUT)
935935   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED )
936936   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
937937
r5338r5339
944944
945945static INPUT_PORTS_START( blckjack )
946946   PORT_START("IN0")
947   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Door")   PORT_TOGGLE PORT_CODE(KEYCODE_0)
948   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Books")  PORT_CODE(KEYCODE_9)
949   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 )   PORT_IMPULSE(2)
950   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Start")  PORT_CODE(KEYCODE_1)
951   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Hit")    PORT_CODE(KEYCODE_Z)
952   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("Stand")  PORT_CODE(KEYCODE_X)
947   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_GAMBLE_DOOR )
948   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_GAMBLE_BOOK ) PORT_NAME("Books")
949   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(2)
950   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START1 ) PORT_NAME("Start")
951   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Hit") PORT_CODE(KEYCODE_Z)
952   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("Stand") PORT_CODE(KEYCODE_X)
953953   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Double") PORT_CODE(KEYCODE_C)
954954
955955   PORT_START("IN1")
r5338r5339
957957   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED )
958958   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED )
959959   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
960   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON10) PORT_NAME("Hopper")  PORT_TOGGLE PORT_CODE(KEYCODE_8)
961   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON11) PORT_NAME("Payout")  PORT_CODE(KEYCODE_M)
960   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_H)
961   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_GAMBLE_PAYOUT)
962962   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED )
963963   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
964964
r5338r5339
970970
971971static INPUT_PORTS_START( videodad )
972972   PORT_START("IN0")
973   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Door")      PORT_TOGGLE PORT_CODE(KEYCODE_0)
974   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Books")     PORT_CODE(KEYCODE_9)
975   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 )   PORT_IMPULSE(2)
976   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Take")      PORT_CODE(KEYCODE_Q)
977   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Crap")      PORT_CODE(KEYCODE_A)
973   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_GAMBLE_DOOR )
974   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_GAMBLE_BOOK ) PORT_NAME("Books")
975   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(2)
976   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_GAMBLE_TAKE )
977   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Crap") PORT_CODE(KEYCODE_3)
978978   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("6 or Less") PORT_CODE(KEYCODE_Z)
979   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Seven")     PORT_CODE(KEYCODE_X)
979   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Seven") PORT_CODE(KEYCODE_X)
980980   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_NAME("8 or More") PORT_CODE(KEYCODE_C)
981981
982982   PORT_START("IN1")
983   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_NAME("Field") PORT_CODE(KEYCODE_S)
983   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_NAME("Field") PORT_CODE(KEYCODE_S)
984984   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON7 ) PORT_NAME("Eleven") PORT_CODE(KEYCODE_V)
985985   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON8 ) PORT_NAME("Twelve") PORT_CODE(KEYCODE_B)
986986   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
987   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON10) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_8)
988   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON11) PORT_NAME("Payout") PORT_CODE(KEYCODE_M)
987   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_H)
988   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_GAMBLE_PAYOUT)
989989   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED )
990990   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
991991
r5338r5339
997997
998998static INPUT_PORTS_START( videocba )
999999   PORT_START("IN0")
1000   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Door")  PORT_TOGGLE PORT_CODE(KEYCODE_0)
1001   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Books") PORT_CODE(KEYCODE_9)
1002   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 )   PORT_IMPULSE(2)
1003   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Start") PORT_CODE(KEYCODE_1)
1000   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_GAMBLE_DOOR )
1001   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_GAMBLE_BOOK ) PORT_NAME("Books")
1002   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(2)
1003   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START1 ) PORT_NAME("Start")
10041004   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED )
10051005   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )
10061006   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED )
r5338r5339
10111011   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED )
10121012   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED )
10131013   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
1014   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON10) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_8)
1015   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON11) PORT_NAME("Payout") PORT_CODE(KEYCODE_M)
1014   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_H)
1015   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_GAMBLE_PAYOUT) PORT_NAME("Payout") PORT_CODE(KEYCODE_M)
10161016   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED )
10171017   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
10181018
r5338r5339
10251025
10261026static INPUT_PORTS_START( babypkr )
10271027   PORT_START("IN0")
1028   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Door")           PORT_TOGGLE PORT_CODE(KEYCODE_0)
1029   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Books")          PORT_CODE(KEYCODE_9)
1030   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 )   PORT_IMPULSE(2)
1031   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Start")          PORT_CODE(KEYCODE_1)
1032   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Discard-Double") PORT_CODE(KEYCODE_2)
1033   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("Cancel-Take")    PORT_CODE(KEYCODE_N)
1034   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Hold 1")         PORT_CODE(KEYCODE_Z)
1035   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_NAME("Hold 2")         PORT_CODE(KEYCODE_X)
1028   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_GAMBLE_DOOR )
1029   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_GAMBLE_BOOK ) PORT_NAME("Books")
1030   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(2)
1031   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START1 ) PORT_NAME("Start")
1032   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_GAMBLE_D_UP ) PORT_NAME("Double / Discard") PORT_CODE(KEYCODE_3)
1033   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_POKER_CANCEL ) PORT_NAME("Cancel / Take")
1034   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_POKER_HOLD1 )
1035   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_POKER_HOLD2 )
10361036
10371037   PORT_START("IN1")
1038   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
1039   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON7 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
1040   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON8 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
1041   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON9 ) PORT_NAME("Bet")    PORT_CODE(KEYCODE_3)
1042   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON10) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_8)
1043   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON11) PORT_NAME("Payout") PORT_CODE(KEYCODE_M)
1038   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_POKER_HOLD3 )
1039   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_POKER_HOLD4 )
1040   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_POKER_HOLD5 )
1041   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_GAMBLE_BET )
1042   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_H)
1043   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_GAMBLE_PAYOUT)
10441044   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED  )
1045   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON12) PORT_NAME("Hand Pay")      PORT_CODE(KEYCODE_W)
1045   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("Hand Pay") PORT_CODE(KEYCODE_W)
10461046
10471047   PORT_START("IN2")
10481048   PORT_DIPNAME( 0x20, 0x00, "Color Sw." )      PORT_DIPLOCATION("SW1:1")
r5338r5339
10531053
10541054static INPUT_PORTS_START( babydad )
10551055   PORT_START("IN0")
1056   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Door")    PORT_TOGGLE PORT_CODE(KEYCODE_0)
1057   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Books")   PORT_CODE(KEYCODE_9)
1058   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 )   PORT_IMPULSE(2)
1059   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Take")    PORT_CODE(KEYCODE_1)
1060   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Crap")    PORT_CODE(KEYCODE_2)
1061   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("6 or Less")   PORT_CODE(KEYCODE_N)
1062   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Seven")    PORT_CODE(KEYCODE_Z)
1063   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_NAME("8 or More")   PORT_CODE(KEYCODE_X)
1056   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_GAMBLE_DOOR )
1057   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_GAMBLE_BOOK ) PORT_NAME("Books")
1058   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(2)
1059   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_GAMBLE_TAKE )
1060   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Crap") PORT_CODE(KEYCODE_3)
1061   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("6 or Less") PORT_CODE(KEYCODE_N)
1062   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Seven") PORT_CODE(KEYCODE_Z)
1063   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_NAME("8 or More") PORT_CODE(KEYCODE_X)
10641064
10651065   PORT_START("IN1")
10661066   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_NAME("Field")  PORT_CODE(KEYCODE_C)
10671067   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON7 ) PORT_NAME("Eleven") PORT_CODE(KEYCODE_V)
10681068   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON8 ) PORT_NAME("Twelve") PORT_CODE(KEYCODE_B)
1069   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON9 ) PORT_NAME("Bet")    PORT_CODE(KEYCODE_3)
1070   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON10) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_8)
1071   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON11) PORT_NAME("Payout") PORT_CODE(KEYCODE_M)
1069   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_GAMBLE_BET )
1070   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("Hopper") PORT_TOGGLE PORT_CODE(KEYCODE_H)
1071   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_GAMBLE_PAYOUT)
10721072   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED  )
1073    PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON12) PORT_NAME("Hand Pay")    PORT_CODE(KEYCODE_W)
1073    PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("Hand Pay") PORT_CODE(KEYCODE_W)
10741074
10751075   PORT_START("IN2")
10761076   PORT_DIPNAME( 0x20, 0x00, "Color Sw." )      PORT_DIPLOCATION("SW1:1")
src/mame/drivers/mil4000.c
r5338r5339
272272
273273static INPUT_PORTS_START( mil4000 )
274274   PORT_START("IN0")
275   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
276   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
275   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
276   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
277277   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_UNKNOWN )
278278   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_UNKNOWN )
279   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
279   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
280280   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_START1 )
281   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Key Out") PORT_CODE(KEYCODE_Q)
282   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
281   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )
282   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
283283   PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_UNKNOWN )
284284   PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_UNKNOWN )
285285   PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
297297   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_UNKNOWN )
298298   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_UNKNOWN )
299299   PORT_SERVICE_NO_TOGGLE( 0x0040, IP_ACTIVE_LOW )
300   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Premio") PORT_CODE(KEYCODE_T)   //premio / prize (ticket?)
300   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Premio") PORT_CODE(KEYCODE_T)   //premio / prize (ticket?)
301301   PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_UNKNOWN )
302302   PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_UNKNOWN )
303303   PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
308308   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
309309
310310   PORT_START("IN2")
311   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Key In") PORT_CODE(KEYCODE_W)
311   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
312312   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_UNKNOWN )
313313   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_UNKNOWN )
314314   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_UNKNOWN )
315315   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_UNKNOWN )
316316   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_UNKNOWN )
317   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
317   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
318318   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN )
319319   PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_UNKNOWN )
320320   PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_UNKNOWN )
src/mame/drivers/gticlub.c
r5338r5339
11211121   ROM_LOAD64_WORD( "680a16.4d",  0x000006, 0x200000, CRC(ea388143) SHA1(3de5314a009d702186d5e285c8edefdd48139eab) )
11221122ROM_END
11231123
1124ROM_START( thundrhu ) /* USA version UAA */
1124ROM_START( thunderhu ) /* USA version UAA */
11251125   ROM_REGION(0x200000, "user1", 0)   /* PowerPC program roms */
11261126   ROM_LOAD32_BYTE( "680uaa01.21u", 0x000003, 0x080000, CRC(f2bb2ba1) SHA1(311e88d63179486014376c4af4ff0ef28673ee5a) )
11271127   ROM_LOAD32_BYTE( "680uaa02.19u", 0x000002, 0x080000, CRC(52f617b5) SHA1(fda3133d3a7e04eb4432c69becdcf1872b3660d9) )
r5338r5339
12491249GAME( 1996, gticluba, gticlub,  gticlub, gticlub,  gticlub, ROT0, "Konami", "GTI Club (ver AAA)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
12501250GAME( 1996, gticlubj, gticlub,  gticlub, gticlub,  gticlub, ROT0, "Konami", "GTI Club (ver JAA)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
12511251GAME( 1996, thunderh, 0,        gticlub, thunderh, gticlub, ROT0, "Konami", "Operation Thunder Hurricane (ver EAA)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
1252GAME( 1996, thundrhu, thunderh, gticlub, thunderh, gticlub, ROT0, "Konami", "Operation Thunder Hurricane (ver UAA)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
1252GAME( 1996, thunderhu,thunderh, gticlub, thunderh, gticlub, ROT0, "Konami", "Operation Thunder Hurricane (ver UAA)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
12531253GAME( 1997, slrasslt, 0,        gticlub, slrasslt, gticlub, ROT0, "Konami", "Solar Assault (ver UAA)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
12541254GAMEL( 1997, hangplt, 0,        hangplt, hangplt,  hangplt, ROT0, "Konami", "Hang Pilot", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND, layout_dualhovu )
src/mame/drivers/ilpag.c
r5338r5339
350350   PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unknown ) )
351351   PORT_DIPSETTING(      0x8000, DEF_STR( Off ) )
352352   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
353/*
354    PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Take Button") PORT_CODE(KEYCODE_A)
355    PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_START1 )
356    PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
357    PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
358    PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Risk Button") PORT_CODE(KEYCODE_S)
359    PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
360    PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
361    PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
362*/
353
363354   PORT_START("IN3")
364355   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_START1 )
365   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
366   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
367   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
368   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Gioco (Bet) Button") PORT_CODE(KEYCODE_A)
356   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
357   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
358   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
359   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Gioco (Bet)")
369360   PORT_DIPNAME( 0x0020, 0x0020, "IN3" )
370361   PORT_DIPSETTING(      0x0020, DEF_STR( Off ) )
371362   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
372   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
373   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
363   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
364   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
374365   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) )
375366   PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
376367   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
r5338r5339
397388   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
398389INPUT_PORTS_END
399390
400/*
401    PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Take Button") PORT_CODE(KEYCODE_A)
402    PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_START1 )
403    PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
404    PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
405    PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Risk Button") PORT_CODE(KEYCODE_S)
406    PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
407    PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
408    PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
409*/
410
411391static INPUT_PORTS_START( steaser )
412392   PORT_START("MENU")
413393   PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_SERVICE1 ) PORT_IMPULSE(1)
r5338r5339
419399
420400   PORT_START("BET_DEAL")
421401   PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_START1 )
422   PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_NAME("Bet Button") PORT_CODE(KEYCODE_A) PORT_IMPULSE(1)
402   PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_GAMBLE_BET ) PORT_IMPULSE(1)
423403
424404   PORT_START("TAKE_DOUBLE")
425   PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_MAHJONG_DOUBLE_UP ) PORT_NAME("Double Up") PORT_IMPULSE(1)
426   PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_MAHJONG_SCORE ) PORT_NAME("Take Score") PORT_IMPULSE(1)
405   PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_GAMBLE_D_UP ) PORT_NAME("Double Up") PORT_IMPULSE(1)
406   PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_GAMBLE_TAKE ) PORT_NAME("Take Score") PORT_IMPULSE(1)
427407
428408   PORT_START("SMALL_BIG")
429   PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_MAHJONG_BIG ) PORT_NAME("Big") PORT_IMPULSE(1)
430   PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_MAHJONG_SMALL ) PORT_NAME("Small") PORT_IMPULSE(1)
409   PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_GAMBLE_HIGH ) PORT_NAME("Big") PORT_IMPULSE(1)
410   PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_GAMBLE_LOW ) PORT_NAME("Small") PORT_IMPULSE(1)
431411
432412   PORT_START("CANCEL_HOLD1")
433   PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z) PORT_IMPULSE(1)
434   PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_BUTTON7 ) PORT_NAME("Cancel Button") PORT_CODE(KEYCODE_S) PORT_IMPULSE(1)
413   PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_POKER_HOLD1 ) PORT_IMPULSE(1)
414   PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_POKER_CANCEL ) PORT_IMPULSE(1)
435415
436416   PORT_START("HOLD2_HOLD3")
437   PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C) PORT_IMPULSE(1)
438   PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X) PORT_IMPULSE(1)
417   PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_POKER_HOLD3 ) PORT_IMPULSE(1)
418   PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_POKER_HOLD2 ) PORT_IMPULSE(1)
439419
440420   PORT_START("HOLD4_HOLD5")
441   PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B) PORT_IMPULSE(1)
442   PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V) PORT_IMPULSE(1)
421   PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_POKER_HOLD5 ) PORT_IMPULSE(1)
422   PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_POKER_HOLD4 ) PORT_IMPULSE(1)
443423INPUT_PORTS_END
444424
445425static MACHINE_DRIVER_START( ilpag )
r5338r5339
554534   ROM_LOAD( "u66.5", 0x180000, 0x80000, CRC(da309671) SHA1(66baf8a83024547c471da39748ff99a9a9013ea4) )
555535ROM_END
556536
557GAME( 199?, ilpag,   0, ilpag,   ilpag, 0, ROT0,  "unknown", "Il Pagliaccio (Italy, Version 2.7C)", GAME_NOT_WORKING|GAME_NO_SOUND|GAME_UNEMULATED_PROTECTION|GAME_IMPERFECT_GRAPHICS )
537GAME( 199?, ilpag,   0, ilpag,   ilpag, 0, ROT0,  "<unknown>", "Il Pagliaccio (Italy, Version 2.7C)", GAME_NOT_WORKING|GAME_NO_SOUND|GAME_UNEMULATED_PROTECTION|GAME_IMPERFECT_GRAPHICS )
558538/* In-game strings are in Italian but service mode is half English / half French?*/
559GAME( 1993, steaser, 0, steaser, steaser, 0, ROT0,  "Unknown", "Strip Teaser (Italy, Version 1.22)", GAME_NOT_WORKING|GAME_NO_SOUND|GAME_UNEMULATED_PROTECTION|GAME_IMPERFECT_GRAPHICS )
539GAME( 1993, steaser, 0, steaser, steaser, 0, ROT0,  "<unknown>", "Strip Teaser (Italy, Version 1.22)", GAME_NOT_WORKING|GAME_NO_SOUND|GAME_UNEMULATED_PROTECTION|GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/mazerbla.c
r5338r5339
15371537   ROM_LOAD( "pal16r8.7d", 0x0000, 0x098, NO_DUMP ) /* pal on zpu board, for ?protection? (similar to bagman?) */
15381538ROM_END
15391539
1540ROM_START( mzrblzra )
1540ROM_START( mazerblaa )
15411541   ROM_REGION( 0x10000, "maincpu", 0 )     /* 64k for main CPU (ZPU board) */
15421542   ROM_LOAD( "zpu0.1h",       0x0000, 0x2000, CRC(aa77705c) SHA1(ef93c3eaa66591bef495caa101ef2aff93f2de8c) )
15431543   ROM_LOAD( "zpu1.2h",       0x2000, 0x2000, CRC(599e1b97) SHA1(ceeb3017d6130d4d54ff4436261f2d3f2a29f8ab) )
r5338r5339
16101610
16111611
16121612GAME( 1983, mazerbla, 0,        mazerbla,  mazerbla, 0, ROT0, "Stern", "Mazer Blazer (set 1)", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND | GAME_NOT_WORKING )
1613GAME( 1983, mzrblzra, mazerbla, mazerbla,  mazerbla, 0, ROT0, "Stern", "Mazer Blazer (set 2)", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND | GAME_NOT_WORKING )
1613GAME( 1983, mazerblaa,mazerbla, mazerbla,  mazerbla, 0, ROT0, "Stern", "Mazer Blazer (set 2)", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND | GAME_NOT_WORKING )
16141614GAME( 1983, greatgun, 0,        greatgun,  greatgun, 0, ROT0, "Stern", "Great Guns", GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING )
src/mame/drivers/namcona1.c
r5338r5339
11181118        ROM_LOAD( "c69.bin",      0x000000, 0x004000, CRC(349134d9) SHA1(61a4981fc2716c228b6121fedcbf1ed6f34dc2de) )
11191119ROM_END
11201120
1121ROM_START( cgangpzj )
1121ROM_START( cgangpzlj )
11221122   ROM_REGION( 0xa80000, "maincpu", 0 )
11231123   ROM_LOAD16_BYTE( "cp1-ep0l.bin", 0x080001, 0x80000, CRC(2825f7ba) SHA1(5f6f8df6bdf0f45656904411cdbb31fdcf8f3be0) ) /* 0xc00000 */
11241124   ROM_LOAD16_BYTE( "cp1-ep0u.bin", 0x080000, 0x80000, CRC(94d7d6fc) SHA1(2460741e0dbb2ccff28f4fbc419a7507382467d2) )
r5338r5339
11281128        ROM_LOAD( "c69.bin",      0x000000, 0x004000, CRC(349134d9) SHA1(61a4981fc2716c228b6121fedcbf1ed6f34dc2de) )
11291129ROM_END
11301130
1131ROM_START( emeraldj ) /* NA-1 Game PCB, parent is NA-2 version listed below */
1131ROM_START( emeraldaj ) /* NA-1 Game PCB, parent is NA-2 version listed below */
11321132   ROM_REGION( 0xa80000, "maincpu", 0 )
11331133   ROM_LOAD16_BYTE( "em1-ep0lb.bin", 0x080001, 0x080000, CRC(fcd55293) SHA1(fdabf9d5f528c37196ac1e031b097618b4c887b5) ) /* 0xc00000 */
11341134   ROM_LOAD16_BYTE( "em1-ep0ub.bin", 0x080000, 0x080000, CRC(a52f00d5) SHA1(85f95d2a69a2df2e9195f55583645c064b0b6fe6) )
r5338r5339
11401140        ROM_LOAD( "c69.bin",      0x000000, 0x004000, CRC(349134d9) SHA1(61a4981fc2716c228b6121fedcbf1ed6f34dc2de) )
11411141ROM_END
11421142
1143ROM_START( emerldja ) /* NA-1 Game PCB, parent is NA-2 version listed below */
1143ROM_START( emeraldaja ) /* NA-1 Game PCB, parent is NA-2 version listed below */
11441144   ROM_REGION( 0xa80000, "maincpu", 0 )
11451145   ROM_LOAD16_BYTE( "em1-ep0l.bin", 0x080001, 0x080000, CRC(443f3fce) SHA1(35b6c834e5716c1e9b55f1e39f4e7336dbbe2d9b) ) /* 0xc00000 */
11461146   ROM_LOAD16_BYTE( "em1-ep0u.bin", 0x080000, 0x080000, CRC(484a2a81) SHA1(1b60c18dfb2aebfd4aa8b2a85a1e90883a1f8e61) )
r5338r5339
12931293        ROM_LOAD( "c70.bin",      0x000000, 0x004000, CRC(b4015f23) SHA1(7ce91eda76e86b5cab625e2b67c463b7d143832e) )
12941294ROM_END
12951295
1296ROM_START( knckhedj )
1296ROM_START( knckheadj )
12971297   ROM_REGION( 0xa80000, "maincpu", 0 )
12981298   ROM_LOAD16_BYTE( "kh1-ep0l.bin", 0x080001, 0x080000, CRC(94660bec) SHA1(42fa23f759cf66b05f30c2fc03a12fd14ae1f796) ) /* 0xc00000 */
12991299   ROM_LOAD16_BYTE( "kh1-ep0u.bin", 0x080000, 0x080000, CRC(ad640d69) SHA1(62595a9d1d5952cbe3dd7266cfda9292be51d269) )
r5338r5339
13351335        ROM_LOAD( "c70.bin",      0x000000, 0x004000, CRC(b4015f23) SHA1(7ce91eda76e86b5cab625e2b67c463b7d143832e) )
13361336ROM_END
13371337
1338ROM_START( numanatj )
1338ROM_START( numanathj )
13391339   ROM_REGION( 0xa80000, "maincpu", 0 )
13401340   ROM_LOAD16_BYTE( "nm1-ep0l.bin", 0x080001, 0x080000, CRC(4398b898) SHA1(0d1517409ba181f796f7f413cac704c60085b505) ) /* 0xc00000 */
13411341   ROM_LOAD16_BYTE( "nm1-ep0u.bin", 0x080000, 0x080000, CRC(be90aa79) SHA1(6884a8d72dd34c889527e8e653f5e5b4cf3fb5d6) )
r5338r5339
13931393ROM_END
13941394
13951395// NA-1 (C69 MCU)
1396GAME( 1992,bkrtmaq,  0,        namcona1w, namcona1_quiz,bkrtmaq,  ROT0, "Namco", "Bakuretsu Quiz Ma-Q Dai Bouken (Japan)", 0 )
1397GAME( 1992,cgangpzl, 0,        namcona1w, namcona1_joy, cgangpzl, ROT0, "Namco", "Cosmo Gang the Puzzle (US)", 0 )
1398GAME( 1992,cgangpzj, cgangpzl, namcona1w, namcona1_joy, cgangpzl, ROT0, "Namco", "Cosmo Gang the Puzzle (Japan)", 0 )
1399GAME( 1992,exvania,  0,        namcona1,  namcona1_joy, exbania,  ROT0, "Namco", "Exvania (Japan)", 0 )
1400GAME( 1992,fghtatck, 0,        namcona1,  namcona1_joy, fa,       ROT90,"Namco", "Fighter & Attacker (US)", 0 )
1401GAME( 1992,fa,       fghtatck, namcona1,  namcona1_joy, fa,       ROT90,"Namco", "F/A (Japan)", 0 )
1402GAME( 1992,swcourt,  0,        namcona1w, namcona1_joy, swcourt,  ROT0, "Namco", "Super World Court (World)", 0 )
1403GAME( 1992,swcourtj, swcourt,  namcona1w, namcona1_joy, swcourt,  ROT0, "Namco", "Super World Court (Japan)", 0 )
1404GAME( 1993,emeraldj, emeralda, namcona1w, namcona1_joy, emeraldj, ROT0, "Namco", "Emeraldia (Japan Version B)", 0 ) /* Parent is below on NA-2 Hardware */
1405GAME( 1993,emerldja, emeralda, namcona1w, namcona1_joy, emeraldj, ROT0, "Namco", "Emeraldia (Japan)", 0 ) /* Parent is below on NA-2 Hardware */
1406GAME( 1993,tinklpit, 0,        namcona1w, namcona1_joy, tinklpit, ROT0, "Namco", "Tinkle Pit (Japan)", 0 )
1396GAME( 1992,bkrtmaq,    0,        namcona1w, namcona1_quiz,bkrtmaq,  ROT0, "Namco", "Bakuretsu Quiz Ma-Q Dai Bouken (Japan)", 0 )
1397GAME( 1992,cgangpzl,   0,        namcona1w, namcona1_joy, cgangpzl, ROT0, "Namco", "Cosmo Gang the Puzzle (US)", 0 )
1398GAME( 1992,cgangpzlj,  cgangpzl, namcona1w, namcona1_joy, cgangpzl, ROT0, "Namco", "Cosmo Gang the Puzzle (Japan)", 0 )
1399GAME( 1992,exvania,    0,        namcona1,  namcona1_joy, exbania,  ROT0, "Namco", "Exvania (Japan)", 0 )
1400GAME( 1992,fghtatck,   0,        namcona1,  namcona1_joy, fa,       ROT90,"Namco", "Fighter & Attacker (US)", 0 )
1401GAME( 1992,fa,         fghtatck, namcona1,  namcona1_joy, fa,       ROT90,"Namco", "F/A (Japan)", 0 )
1402GAME( 1992,swcourt,    0,        namcona1w, namcona1_joy, swcourt,  ROT0, "Namco", "Super World Court (World)", 0 )
1403GAME( 1992,swcourtj,   swcourt,  namcona1w, namcona1_joy, swcourt,  ROT0, "Namco", "Super World Court (Japan)", 0 )
1404GAME( 1993,emeraldaj,  emeralda, namcona1w, namcona1_joy, emeraldj, ROT0, "Namco", "Emeraldia (Japan Version B)", 0 ) /* Parent is below on NA-2 Hardware */
1405GAME( 1993,emeraldaja, emeralda, namcona1w, namcona1_joy, emeraldj, ROT0, "Namco", "Emeraldia (Japan)", 0 ) /* Parent is below on NA-2 Hardware */
1406GAME( 1993,tinklpit,   0,        namcona1w, namcona1_joy, tinklpit, ROT0, "Namco", "Tinkle Pit (Japan)", 0 )
14071407
14081408// NA-2 (C70 MCU)
1409GAME( 1992,knckhead, 0,        namcona2,  namcona1_joy, knckhead, ROT0, "Namco", "Knuckle Heads (World)", 0 )
1410GAME( 1992,knckhedj, knckhead, namcona2,  namcona1_joy, knckhead, ROT0, "Namco", "Knuckle Heads (Japan)", 0 )
1411GAME( 1993,emeralda, 0,        namcona2,  namcona1_joy, emeralda, ROT0, "Namco", "Emeraldia (World)", 0 )
1412GAME( 1993,numanath, 0,        namcona2,  namcona1_joy, numanath, ROT0, "Namco", "Numan Athletics (World)", 0 )
1413GAME( 1993,numanatj, numanath, namcona2,  namcona1_joy, numanath, ROT0, "Namco", "Numan Athletics (Japan)", 0 )
1414GAME( 1993,quiztou,  0,        namcona2,  namcona1_quiz,quiztou,  ROT0, "Namco", "Nettou! Gekitou! Quiztou!! (Japan)", 0 )
1415GAME( 1995,xday2,    0,        namcona2,  namcona1_joy, xday2,    ROT0, "Namco", "X-Day 2 (Japan)", GAME_IMPERFECT_GRAPHICS )
1409GAME( 1992,knckhead,  0,        namcona2,  namcona1_joy, knckhead, ROT0, "Namco", "Knuckle Heads (World)", 0 )
1410GAME( 1992,knckheadj, knckhead, namcona2,  namcona1_joy, knckhead, ROT0, "Namco", "Knuckle Heads (Japan)", 0 )
1411GAME( 1993,emeralda,  0,        namcona2,  namcona1_joy, emeralda, ROT0, "Namco", "Emeraldia (World)", 0 )
1412GAME( 1993,numanath,  0,        namcona2,  namcona1_joy, numanath, ROT0, "Namco", "Numan Athletics (World)", 0 )
1413GAME( 1993,numanathj, numanath, namcona2,  namcona1_joy, numanath, ROT0, "Namco", "Numan Athletics (Japan)", 0 )
1414GAME( 1993,quiztou,   0,        namcona2,  namcona1_quiz,quiztou,  ROT0, "Namco", "Nettou! Gekitou! Quiztou!! (Japan)", 0 )
1415GAME( 1995,xday2,     0,        namcona2,  namcona1_joy, xday2,    ROT0, "Namco", "X-Day 2 (Japan)", GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/armedf.c
r5338r5339
13171317   ROM_LOAD( "9.bin",  0x0000, 0x4000, CRC(740d260f) SHA1(5b4487930c7a1fb0a796aec2243bec631b1b5104) )
13181318ROM_END
13191319
1320ROM_START( cclmbr2a )
1320ROM_START( cclimbr2a )
13211321   ROM_REGION( 0x60000, "maincpu", 0 )   /* 64K*8 for 68000 code */
13221322   ROM_LOAD16_BYTE( "4a.bin", 0x00000, 0x10000, CRC(e1d3192c) SHA1(6e0e6d731af401147f3c2566ddef3e169223eccd) )
13231323   ROM_LOAD16_BYTE( "1a.bin", 0x00001, 0x10000, CRC(3ef84974) SHA1(04a6a2ac5b95d0a329ad7afc68b0ef480608c2d4) )
r5338r5339
14431443GAME( 1987, terrafu,  terraf,   terraf,   terraf,   terrafu,  ROT0,   "Nichibutsu USA", "Terra Force (US)",                GAME_IMPERFECT_GRAPHICS | GAME_UNEMULATED_PROTECTION )
14441444GAME( 1987, kodure,   0,        kodure,   kodure,   kodure,   ROT0,   "Nichibutsu",     "Kodure Ookami (Japan)",           GAME_IMPERFECT_GRAPHICS | GAME_UNEMULATED_PROTECTION )
14451445GAME( 1988, cclimbr2, 0,        cclimbr2, cclimbr2, cclimbr2, ROT0,   "Nichibutsu",     "Crazy Climber 2 (Japan)",         0                                       )
1446GAME( 1988, cclmbr2a, cclimbr2, cclimbr2, cclimbr2, cclimbr2, ROT0,   "Nichibutsu",     "Crazy Climber 2 (Japan, Harder)", 0                                       )
1446GAME( 1988, cclimbr2a,cclimbr2, cclimbr2, cclimbr2, cclimbr2, ROT0,   "Nichibutsu",     "Crazy Climber 2 (Japan, Harder)", 0                                       )
14471447GAME( 1988, armedf,   0,        armedf,   armedf,   armedf,   ROT270, "Nichibutsu",     "Armed Formation",                 0                                       )
src/mame/drivers/dkong.c
r5338r5339
423423    else if (strcmp(game_name,"herodk") == 0) state->protect_type = DK2650_HUNCHBKD;
424424    else if (strcmp(game_name,"herodku") == 0) state->protect_type = DK2650_HUNCHBKD;
425425    else if (strcmp(game_name,"8ballact") == 0) state->protect_type = DK2650_EIGHTACT;
426    else if (strcmp(game_name,"8ballat2") == 0) state->protect_type = DK2650_EIGHTACT;
426    else if (strcmp(game_name,"8ballact2") == 0) state->protect_type = DK2650_EIGHTACT;
427427    else if (strcmp(game_name,"shootgal") == 0) state->protect_type = DK2650_SHOOTGAL;
428428    else if (strcmp(game_name,"spclforc") == 0) state->protect_type = DK2650_SPCLFORC;
429429    else if (strcmp(game_name,"spcfrcii") == 0) state->protect_type = DK2650_SPCLFORC;
r5338r5339
18061806    ROM_LOAD( "rs2-v.1hc",    0x0200, 0x0100, CRC(1b828315) SHA1(00c9f8c5ae86b68d38c66f9071b5f1ef421c1005) ) /* character color codes on a per-column basis */
18071807ROM_END
18081808
1809ROM_START( radarsc1 )
1809ROM_START( radarscp1 )
18101810    ROM_REGION( 0x10000, "maincpu", 0 )
18111811    ROM_LOAD( "trs01_5f",     0x0000, 0x1000, CRC(40949e0d) SHA1(94717b9d027600e25b863e89900df41325875961) )
18121812    ROM_LOAD( "trs01_5g",     0x1000, 0x1000, CRC(afa8c49f) SHA1(25880e9dcf2dc8862f7f3c38687f01dfe2424293) )
r5338r5339
19071907    ROM_LOAD( "v-5e.bpr",     0x0200, 0x0100, CRC(b869b8f5) SHA1(c2bdccbf2654b64ea55cd589fd21323a9178a660) ) /* character color codes on a per-column basis */
19081908ROM_END
19091909
1910ROM_START( dkongjp )
1910ROM_START( dkongj )
19111911    ROM_REGION( 0x10000, "maincpu", 0 )
19121912    ROM_LOAD( "c_5f_b.bin",   0x0000, 0x1000, CRC(424f2b11) SHA1(e4f096f2bbd37281f42a5f8e083738f55c07f3dd) )
19131913    ROM_LOAD( "5g.cpu",       0x1000, 0x1000, CRC(d326599b) SHA1(94c7382604d0a123a442d53f9641f366dfbb7631) )
r5338r5339
20842084    ROM_LOAD( "v-2n.bpr",  0x0200, 0x0100, CRC(dbf185bf) SHA1(2697a991a4afdf079dd0b7e732f71c7618f43b70) )   /* character color codes on a per-column basis */
20852085ROM_END
20862086
2087ROM_START( dkngjnrj )
2087ROM_START( dkongjnrj )
20882088    ROM_REGION( 0x10000, "maincpu", 0 )
20892089    ROM_LOAD( "dkjp.5b",      0x0000, 0x1000, CRC(7b48870b) SHA1(4f737559e2bf5cc28824220417d7a2827361221f) )
20902090    ROM_CONTINUE(             0x3000, 0x1000 )
r5338r5339
26212621    ROM_LOAD( "pls153h.bin", 0x0000, 0x00eb, NO_DUMP ) /* missing - pls153 ??? */
26222622ROM_END
26232623
2624ROM_START( 8ballat2 )
2624ROM_START( 8ballact2 )
26252625    ROM_REGION( 0x8000, "maincpu", 0 )
26262626    ROM_LOAD( "8b-jr.5b",     0x0400, 0x0400, CRC(579cd634) SHA1(93d81539459f7198d8cbf05b3e66a40466aee2d9) )
26272627    ROM_CONTINUE(             0x0000, 0x0400 )
r5338r5339
29432943 *************************************/
29442944
29452945GAME( 1980, radarscp, 0,        radarscp, radarscp,       0, ROT90, "Nintendo", "Radar Scope", GAME_SUPPORTS_SAVE )
2946GAME( 1980, radarsc1, radarscp, radarsc1, radarscp,       0, ROT90, "Nintendo", "Radar Scope (TRS01)", GAME_SUPPORTS_SAVE )
2946GAME( 1980, radarscp1,radarscp, radarsc1, radarscp,       0, ROT90, "Nintendo", "Radar Scope (TRS01)", GAME_SUPPORTS_SAVE )
29472947
29482948GAME( 1981, dkong,    0,        dkong2b,  dkong,          0,  ROT90, "Nintendo of America", "Donkey Kong (US set 1)", GAME_SUPPORTS_SAVE )
29492949GAME( 1981, dkongo,   dkong,    dkong2b,  dkong,          0,  ROT90, "Nintendo", "Donkey Kong (US set 2)", GAME_SUPPORTS_SAVE )
2950GAME( 1981, dkongjp,  dkong,    dkong2b,  dkong,          0,  ROT90, "Nintendo", "Donkey Kong (Japan set 1)", GAME_SUPPORTS_SAVE )
2950GAME( 1981, dkongj,   dkong,    dkong2b,  dkong,          0,  ROT90, "Nintendo", "Donkey Kong (Japan set 1)", GAME_SUPPORTS_SAVE )
29512951GAME( 1981, dkongjo,  dkong,    dkong2b,  dkong,          0,  ROT90, "Nintendo", "Donkey Kong (Japan set 2)", GAME_SUPPORTS_SAVE )
29522952GAME( 1981, dkongjo1, dkong,    dkong2b,  dkong,          0,  ROT90, "Nintendo", "Donkey Kong (Japan set 3) (bad dump?)", GAME_SUPPORTS_SAVE )
29532953GAME( 2004, dkongf,   dkong,    dkong2b,  dkongf,         0,  ROT90, "hack", "Donkey Kong Foundry (hack)", GAME_SUPPORTS_SAVE ) /* from Jeff's Romhack */
29542954
29552955GAME( 1982, dkongjr,  0,        dkongjr,  dkongjr,        0,  ROT90, "Nintendo of America", "Donkey Kong Junior (US)", GAME_SUPPORTS_SAVE )
29562956GAME( 1982, dkongjrj, dkongjr,  dkongjr,  dkongjr,        0,  ROT90, "Nintendo", "Donkey Kong Jr. (Japan)", GAME_SUPPORTS_SAVE )
2957GAME( 1982, dkngjnrj, dkongjr,  dkongjr,  dkongjr,        0,  ROT90, "Nintendo", "Donkey Kong Junior (Japan?)", GAME_SUPPORTS_SAVE )
2957GAME( 1982, dkongjnrj,dkongjr,  dkongjr,  dkongjr,        0,  ROT90, "Nintendo", "Donkey Kong Junior (Japan?)", GAME_SUPPORTS_SAVE )
29582958GAME( 1982, dkongjrb, dkongjr,  dkongjr,  dkongjr,        0,  ROT90, "bootleg", "Donkey Kong Jr. (bootleg)", GAME_SUPPORTS_SAVE )
29592959GAME( 1982, dkongjre, dkongjr,  dkongjr,  dkongjr,        0,  ROT90, "Nintendo of America", "Donkey Kong Junior (Easy)", GAME_SUPPORTS_SAVE )
29602960GAME( 1982, jrking,   dkongjr,  dkongjr,  dkongjr,        0,  ROT90, "bootleg", "Junior King (bootleg of Donkey Kong Jr.)", GAME_SUPPORTS_SAVE )
r5338r5339
29722972GAME( 1984, herodk,   hero,     s2650,    herodk,    herodk,  ROT90, "Seatongrove Ltd (Crown license)", "Hero in the Castle of Doom (DK conversion)", GAME_SUPPORTS_SAVE )
29732973GAME( 1984, herodku,  hero,     s2650,    herodk,         0,  ROT90, "Seatongrove Ltd (Crown license)", "Hero in the Castle of Doom (DK conversion not encrypted)", GAME_SUPPORTS_SAVE )
29742974GAME( 1984, 8ballact, 0,        s2650,    8ballact,       0,  ROT90, "Seatongrove Ltd (Magic Eletronics USA licence)", "Eight Ball Action (DK conversion)", GAME_SUPPORTS_SAVE )
2975GAME( 1984, 8ballat2, 8ballact, s2650,    8ballact,       0,  ROT90, "Seatongrove Ltd (Magic Eletronics USA licence)", "Eight Ball Action (DKJr conversion)", GAME_SUPPORTS_SAVE )
2975GAME( 1984, 8ballact2,8ballact, s2650,    8ballact,       0,  ROT90, "Seatongrove Ltd (Magic Eletronics USA licence)", "Eight Ball Action (DKJr conversion)", GAME_SUPPORTS_SAVE )
29762976GAME( 1984, shootgal, 0,        s2650,    shootgal,       0,  ROT180, "Seatongrove Ltd (Zaccaria licence)", "Shooting Gallery", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
29772977GAME( 1985, spclforc, 0,        spclforc, spclforc,       0,  ROT90, "Senko Industries (Magic Eletronics Inc. licence)", "Special Forces", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
29782978GAME( 1985, spcfrcii, 0,        spclforc, spclforc,       0,  ROT90, "Senko Industries (Magic Eletronics Inc. licence)", "Special Forces II", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
src/mame/drivers/appoooh.c
r5338r5339
535535   ROM_LOAD( "epr-7543.12b", 0x00000, 0x8000, CRC(4d108c49) SHA1(a7c3c5a5ad36917ea7f6d917377c2392fa9beea3) )
536536ROM_END
537537
538ROM_START( robowrb )
538ROM_START( robowresb )
539539   ROM_REGION( 0x1c000+0x8000, "maincpu", 0 )   /* 64k for code + 16k bank */
540540   ROM_LOAD( "dg4.e13",      0x00000, 0x8000, CRC(f7585d4f) SHA1(718879f8262681b6b66968eb49a0fb04fda5160b) )
541541   ROM_LOAD( "epr-7541.14d", 0x08000, 0x6000, CRC(cbf7d1a8) SHA1(5eb6d2130d4e5401a332df6db5cad07f3131e8e4) )
r5338r5339
577577
578578GAME( 1984, appoooh,  0,        appoooh,  appoooh,  0,        ROT0, "[Sanritsu] Sega", "Appoooh", GAME_SUPPORTS_SAVE )
579579GAME( 1986, robowres, 0,        robowres, robowres, robowres, ROT0, "Sega", "Robo Wres 2001", GAME_SUPPORTS_SAVE )
580GAME( 1986, robowrb,  robowres, robowres, robowres, robowrb,  ROT0, "bootleg", "Robo Wres 2001 (bootleg)", GAME_SUPPORTS_SAVE )
580GAME( 1986, robowresb,robowres, robowres, robowres, robowrb,  ROT0, "bootleg", "Robo Wres 2001 (bootleg)", GAME_SUPPORTS_SAVE )
src/mame/drivers/travrusa.c
r5338r5339
431431   ROM_LOAD( "3.bpr",   0x0220, 0x0100, CRC(5db47092) SHA1(8e234ee88143755a4fd5ec86a03b55be5f9c5db8) )
432432ROM_END
433433
434ROM_START( shtridra )
434ROM_START( shtridera )
435435   ROM_REGION( 0x10000, "maincpu", 0 )
436436   ROM_LOAD( "1.bin",   0x0000, 0x2000, CRC(eb51315c) SHA1(0101c008b6731cd8ec796fee645113e2be79bd08) ) /* was inside epoxy block with cpu, encrypted */
437437   ROM_LOAD( "2.bin",   0x2000, 0x2000, CRC(97675d19) SHA1(774ce4d370fcbbd8a4109df023bf21db92d2e839) )
r5338r5339
491491GAME( 1983, travrusa, 0,        travrusa, travrusa, 0,        ROT270, "Irem", "Traverse USA / Zippy Race", 0 )
492492GAME( 1983, motorace, travrusa, travrusa, motorace, motorace, ROT270, "Irem (Williams license)", "MotoRace USA", 0 )
493493GAME( 1985, shtrider, 0,        shtrider, shtrider, 0,        ROT270|ORIENTATION_FLIP_X, "Seibu Kaihatsu", "Shot Rider", 0 )
494GAME( 1984, shtridra, shtrider, shtrider, shtrider, shtridra, ROT270|ORIENTATION_FLIP_X, "Seibu Kaihatsu (Sigma license)", "Shot Rider (Sigma license)", 0 )
494GAME( 1984, shtridera,shtrider, shtrider, shtrider, shtridra, ROT270|ORIENTATION_FLIP_X, "Seibu Kaihatsu (Sigma license)", "Shot Rider (Sigma license)", 0 )
src/mame/drivers/goldstar.c
r5338r5339
505505   PORT_START("IN0")
506506   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
507507   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
508   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Stop 2 / Big")
509   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Stop 1 / D-UP")
510   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Stop All / Take")
511   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Bet")
512   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Stop 3 / Small / Info")
513   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("Start")
508   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP2 ) PORT_NAME("Stop 2 / Big")
509   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SLOT_STOP1 ) PORT_NAME("Stop 1 / D-UP")
510   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SLOT_STOP_ALL ) PORT_NAME("Stop All / Take")
511   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
512   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) PORT_NAME("Stop 3 / Small / Info")
513   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
514514
515515   PORT_START("IN1")
516516   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
517517   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
518   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2)   PORT_IMPULSE(2)   /* Coin B */
518   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   /* Coin B */
519519   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
520   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4)    PORT_IMPULSE(2)   /* Coin D */
521   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3)    PORT_IMPULSE(2)   /* Coin C */
522   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
523   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1)    PORT_IMPULSE(2)   /* Coin A */
520   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)   /* Coin D */
521   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)   /* Coin C */
522   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
523   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   /* Coin A */
524524
525525   PORT_START("IN2")
526526   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
527527   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
528528   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
529529   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
530   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
530   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
531531   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
532   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
533   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
532   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
533   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
534534
535535   PORT_START("DSW1")
536536   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW1:1")   /* OK */
r5338r5339
667667   PORT_START("IN0")
668668   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
669669   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
670   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Stop 3 / Big")
671   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Stop 1 / D-UP")
672   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Stop All / Take")
673   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Bet")
674   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Stop 2 / Small / Info")
675   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("Start")
670   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP2 ) PORT_NAME("Stop 2 / Big")
671   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SLOT_STOP1 ) PORT_NAME("Stop 1 / D-UP")
672   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SLOT_STOP_ALL ) PORT_NAME("Stop All / Take")
673   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
674   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) PORT_NAME("Stop 3 / Small / Info")
675   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
676676
677677   PORT_START("IN1")
678678   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
679679   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
680   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2)   PORT_IMPULSE(2)   /* Coin B */
680   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   /* Coin B */
681681   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
682   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4)    PORT_IMPULSE(2)   /* Coin D */
683   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3)    PORT_IMPULSE(2)   /* Coin C */
684   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
685   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1)    PORT_IMPULSE(2)   /* Coin A */
682   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)   /* Coin D */
683   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)   /* Coin C */
684   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
685   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   /* Coin A */
686686
687687   PORT_START("IN2")
688688   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
689689   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
690690   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
691691   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
692   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
692   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
693693   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
694   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
695   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
694   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
695   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
696696
697697   PORT_START("DSW1")
698698   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW1:1")   /* OK */
r5338r5339
829829   PORT_START("IN0")
830830   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
831831   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
832   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Stop 3 / Big")
833   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Stop 1 / D-UP")
834   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Take")
835   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Bet / Stop All")
836   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Stop 2 / Small / Info")
837   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("Start")
832   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) PORT_NAME("Stop 3 / Big")
833   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SLOT_STOP1 ) PORT_NAME("Stop 1 / D-UP")
834   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE )
835   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SLOT_STOP_ALL ) PORT_NAME("Bet / Stop All")
836   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SLOT_STOP2 ) PORT_NAME("Stop 2 / Small / Info")
837   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
838838
839839   PORT_START("IN1")
840840   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
841841   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
842   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2)   PORT_IMPULSE(2)   /* Coin B */
842   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   /* Coin B */
843843   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
844   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4)    PORT_IMPULSE(2)   /* Coin D */
845   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3)    PORT_IMPULSE(2)   /* Coin C */
846   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
847   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1)    PORT_IMPULSE(2)   /* Coin A */
844   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)   /* Coin D */
845   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)   /* Coin C */
846   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
847   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   /* Coin A */
848848
849849   PORT_START("IN2")
850850   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
851851   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
852852   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
853853   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
854   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
854   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
855855   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
856   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
857   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
856   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
857   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
858858
859859   PORT_START("DSW1")
860860   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW1:1")   /* OK */
r5338r5339
991991   PORT_START("IN0")
992992   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
993993   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
994   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Big / Stop All")
995   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("D-UP")
996   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Take Score")
997   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Bet")
998   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Small / Info")
999   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("Start")
994   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big / Stop All")
995   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) PORT_NAME("D-UP")
996   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Take Score")
997   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
998   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small / Info")
999   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
10001000
10011001   PORT_START("IN1")
10021002   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
10031003   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1004   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2)   PORT_IMPULSE(2)   /* Coin B */
1004   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   /* Coin B */
10051005   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1006   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4)    PORT_IMPULSE(2)   /* Coin D */
1007   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3)    PORT_IMPULSE(2)   /* Coin C */
1008   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
1009   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1)    PORT_IMPULSE(2)   /* Coin A */
1006   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)   /* Coin D */
1007   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)   /* Coin C */
1008   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
1009   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   /* Coin A */
10101010
10111011   PORT_START("IN2")
10121012   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
10131013   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
10141014   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
10151015   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1016   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
1016   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
10171017   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1018   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
1019   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
1018   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
1019   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
10201020
10211021   PORT_START("DSW1")
10221022   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW1:1")   /* OK */
r5338r5339
11531153   PORT_START("IN0")
11541154   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
11551155   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1156   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Big / Stop 1")
1157   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("D-UP / Stop 2")
1158   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Take Score")
1159   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Bet")
1160   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Small / Info / Stop 3")
1161   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("Start")
1156   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big / Stop 1")
1157   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) PORT_NAME("D-UP / Stop 2")
1158   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Take Score")
1159   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
1160   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small / Info / Stop 3")
1161   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
11621162
11631163   PORT_START("IN1")
11641164   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
11651165   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1166   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2)   PORT_IMPULSE(2)   /* Coin B */
1166   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   /* Coin B */
11671167   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1168   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4)    PORT_IMPULSE(2)   /* Coin D */
1169   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3)    PORT_IMPULSE(2)   /* Coin C */
1170   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
1171   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1)    PORT_IMPULSE(2)   /* Coin A */
1168   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)   /* Coin D */
1169   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)   /* Coin C */
1170   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
1171   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   /* Coin A */
11721172
11731173   PORT_START("IN2")
11741174   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
11751175   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
11761176   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
11771177   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1178   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
1178   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
11791179   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1180   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
1181   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
1180   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
1181   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
11821182
11831183   PORT_START("DSW1")
11841184   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW1:1")   /* OK */
r5338r5339
13151315   PORT_START("IN0")
13161316   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
13171317   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1318   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Big")
1319   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("D-UP")
1320   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Take")
1321   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Bet")
1322   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Small / Info")
1323   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("Start")
1318   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big")
1319   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) PORT_NAME("D-UP")
1320   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE )
1321   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
1322   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small / Info")
1323   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
13241324
13251325   PORT_START("IN1")
13261326   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
13271327   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1328   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2)   PORT_IMPULSE(2)   /* Coin B */
1328   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   /* Coin B */
13291329   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1330   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4)    PORT_IMPULSE(2)   /* Coin D */
1331   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3)    PORT_IMPULSE(2)   /* Coin C */
1332   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
1333   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1)    PORT_IMPULSE(2)   /* Coin A */
1330   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)   /* Coin D */
1331   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)   /* Coin C */
1332   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
1333   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   /* Coin A */
13341334
13351335   PORT_START("IN2")
13361336   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
13371337   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
13381338   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
13391339   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1340   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
1340   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
13411341   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1342   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
1343   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
1342   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
1343   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
13441344
13451345   PORT_START("DSW1")
13461346   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW1:1")   /* OK */
r5338r5339
14781478   PORT_START("IN0")
14791479   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
14801480   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1481   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Bet Red / 2")
1482   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Stop 3 / Small / 1 / Info")
1483   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Bet Blue / D-UP / 3")
1484   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Stop 1 / Take")
1485   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Stop 2 / Big / Ticket")
1486   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("Start / Stop All / 4")
1481   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_V) PORT_NAME("Bet Red / 2")
1482   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) PORT_NAME("Stop 3 / Small / 1 / Info")
1483   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_B) PORT_NAME("Bet Blue / D-UP / 3")
1484   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SLOT_STOP1 ) PORT_NAME("Stop 1 / Take")
1485   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SLOT_STOP2 ) PORT_NAME("Stop 2 / Big / Ticket")
1486   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_N) PORT_NAME("Start / Stop All / 4")
14871487
14881488   PORT_START("IN1")
14891489   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
r5338r5339
14911491   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
14921492   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
14931493   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )   /* this is not a coin, not sure what it is */
1494                                    /* maybe it's used to buy tickets. Will check soon. */
1494                                       /* maybe it's used to buy tickets. Will check soon. */
14951495   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
14961496   PORT_SERVICE_NO_TOGGLE( 0x40, IP_ACTIVE_LOW )
14971497   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F1) PORT_NAME("Statistics")
r5338r5339
16141614   PORT_START("IN1")
16151615   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
16161616   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1617   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2)   PORT_IMPULSE(2)   /* Coin B */
1617   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   /* Coin B */
16181618   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1619   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4)    PORT_IMPULSE(2)   /* Coin D */
1620   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3)    PORT_IMPULSE(2)   /* Coin C */
1621   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
1622   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1)    PORT_IMPULSE(2)   /* Coin A */
1619   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)   /* Coin D */
1620   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)   /* Coin C */
1621   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
1622   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   /* Coin A */
16231623
16241624   PORT_START("IN2")
16251625   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
16261626   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
16271627   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
16281628   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1629   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
1629   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
16301630   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1631   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
1632   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
1631   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
1632   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
16331633
16341634   PORT_START("IN3")
16351635   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
17861786   PORT_START("IN1")
17871787   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
17881788   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1789   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2)   PORT_IMPULSE(2)   /* Coin B */
1789   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   /* Coin B */
17901790   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1791   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4)    PORT_IMPULSE(2)   /* Coin D */
1792   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3)    PORT_IMPULSE(2)   /* Coin C */
1793   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
1794   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1)    PORT_IMPULSE(2)   /* Coin A */
1791   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)   /* Coin D */
1792   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)   /* Coin C */
1793   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
1794   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   /* Coin A */
17951795
17961796   PORT_START("IN2")
17971797   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
17981798   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
17991799   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
18001800   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1801   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
1801   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
18021802   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1803   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
1804   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
1803   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
1804   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
18051805
18061806   PORT_START("IN3")
18071807   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
19571957   PORT_START("IN1")
19581958   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
19591959   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1960   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2)   PORT_IMPULSE(2)   /* Coin B */
1960   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   /* Coin B */
19611961   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1962   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4)    PORT_IMPULSE(2)   /* Coin D */
1963   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3)    PORT_IMPULSE(2)   /* Coin C */
1964   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
1965   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1)    PORT_IMPULSE(2)   /* Coin A */
1962   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)   /* Coin D */
1963   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)   /* Coin C */
1964   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
1965   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   /* Coin A */
19661966
19671967   PORT_START("IN2")
19681968   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
19691969   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
19701970   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
19711971   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1972   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
1972   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
19731973   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1974   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
1975   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
1974   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
1975   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
19761976
19771977   PORT_START("IN3")
19781978   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
21292129   PORT_START("IN1")
21302130   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
21312131   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2132   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2)   PORT_IMPULSE(2)   /* Coin B */
2132   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   /* Coin B */
21332133   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2134   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4)    PORT_IMPULSE(2)   /* Coin D */
2135   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3)    PORT_IMPULSE(2)   /* Coin C */
2136   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
2137   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1)    PORT_IMPULSE(2)   /* Coin A */
2134   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)   /* Coin D */
2135   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)   /* Coin C */
2136   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
2137   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   /* Coin A */
21382138
21392139   PORT_START("IN2")
21402140   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
21412141   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
21422142   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
21432143   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2144   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
2144   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
21452145   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
2146   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
2147   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
2146   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
2147   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
21482148
21492149   PORT_START("IN3")
21502150   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
23212321   PORT_START("IN3")   /* d810 */
23222322   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
23232323   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2324   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1)   PORT_IMPULSE(2)   // Coin1?
2324   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   // Coin1?
23252325   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2326   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2)    PORT_IMPULSE(2)   // Coin2?
2327   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3)    PORT_IMPULSE(2)   // Coin3?
2328   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
2329   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN4)    PORT_IMPULSE(2)   // Coin4?
2326   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   // Coin2?
2327   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)   // Coin3?
2328   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
2329   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)   // Coin4?
23302330
23312331   PORT_START("IN4")   /* d811 */
23322332   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
23332333   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
23342334   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
23352335   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2336   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
2336   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
23372337   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
2338   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
2339   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
2338   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
2339   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
23402340
23412341   PORT_START("DSW1")
23422342   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW1:1")
r5338r5339
24772477   PORT_START("IN3")   /* d810 */
24782478   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
24792479   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2480   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1)   PORT_IMPULSE(2)   // Coin1?
2480   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   // Coin1?
24812481   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2482   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2)    PORT_IMPULSE(2)   // Coin2?
2483   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3)    PORT_IMPULSE(2)   // Coin3?
2484   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
2485   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN4)    PORT_IMPULSE(2)   // Coin4?
2482   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   // Coin2?
2483   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)   // Coin3?
2484   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
2485   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)   // Coin4?
24862486
24872487   PORT_START("IN4")   /* d811 */
24882488   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
24892489   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
24902490   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
24912491   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2492   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
2492   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
24932493   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
2494   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
2495   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
2494   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
2495   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
24962496
24972497   PORT_START("DSW1")
24982498   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )   PORT_DIPLOCATION("DSW1:1")
r5338r5339
26162616   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_H) PORT_NAME("Hopper Muenze (Hopper Coin")
26172617   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_J) PORT_NAME("Hopper Voll (Hopper Fill)")
26182618   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
2619   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Abschreib (Payout)")
2620   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Aufsteller (Supervisor)")
2621   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Buchhaltung (Bookkeeping)")
2619   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT ) PORT_NAME("Abschreib (Payout)")
2620   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Aufsteller (Supervisor)")
2621   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Buchhaltung (Bookkeeping)")
26222622
26232623   PORT_START("IN2")
26242624   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
26252625   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2626   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Hoch (High) / Stop 3")
2627   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Gamble (D-UP)")
2628   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("Nehmen (Take)")
2629   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Setzen (Bet)")
2630   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Tief (Low) / Stop 1 / Info")
2631   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Start / Stop 2")
2626   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) PORT_NAME("Hoch (High) / Stop 3")
2627   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) PORT_NAME("Gamble (D-UP)")
2628   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Nehmen (Take)")
2629   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Setzen (Bet)")
2630   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SLOT_STOP1 ) PORT_NAME("Tief (Low) / Stop 1 / Info")
2631   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SLOT_STOP2 ) PORT_NAME("Start / Stop 2")
26322632
26332633   PORT_START("DSW1")
26342634   PORT_DIPNAME( 0x03, 0x03, "Remote Credits" )   PORT_DIPLOCATION("DSW1:1,2")   /* OK */
r5338r5339
26962696   PORT_START("IN3")   /* d810 */
26972697   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
26982698   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2699   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1)   PORT_IMPULSE(2)   // Coin1?
2699   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   // Coin1?
27002700   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2701   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2)    PORT_IMPULSE(2)   // Coin2?
2702   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3)    PORT_IMPULSE(2)   // Coin3?
2703   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
2704   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN4)    PORT_IMPULSE(2)   // Coin4?
2701   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   // Coin2?
2702   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)   // Coin3?
2703   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
2704   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)   // Coin4?
27052705
27062706   PORT_START("IN4")   /* d811 */
27072707   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
27442744   PORT_START("IN0")
27452745   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
27462746   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2747   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Stop All / Big")
2748   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Stop 1 / D-UP")
2749   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Stop 3 / Take / Select Card")
2750   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Play (Bet)")
2751   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Stop 2 / Small / Info")
2752   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("Start")
2747   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP_ALL ) PORT_NAME("Stop All / Big")
2748   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SLOT_STOP1 ) PORT_NAME("Stop 1 / D-UP")
2749   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) PORT_NAME("Stop 3 / Take / Select Card")
2750   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Play (Bet)")
2751   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SLOT_STOP2 ) PORT_NAME("Stop 2 / Small / Info")
2752   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
27532753
27542754   PORT_START("IN1")
27552755   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
27582758   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
27592759   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
27602760   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2) PORT_NAME("Note In")      /* Note In */
2761   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")   /* Key In */
2761   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )   /* Key In */
27622762   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)                     /* Coin A */
27632763
27642764   PORT_START("IN2")
r5338r5339
27662766   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
27672767   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
27682768   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2769   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
2769   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
27702770   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
2771   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
2772   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
2771   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
2772   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
27732773
27742774   PORT_START("DSW1")
27752775   PORT_DIPNAME( 0x07, 0x03, "Game Level (Difficulty)" )   PORT_DIPLOCATION("DSW1:1,2,3")   /* OK */
r5338r5339
29162916   PORT_START("IN0")
29172917   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
29182918   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2919   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Stop All / Big")
2920   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Stop 1 / D-UP")
2921   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Stop 3 / Take / Select Card")
2922   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Play (Bet)")
2923   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Stop 2 / Small / Info")
2924   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("Start")
2919   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP_ALL ) PORT_NAME("Stop All / Big")
2920   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SLOT_STOP1 ) PORT_NAME("Stop 1 / D-UP")
2921   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) PORT_NAME("Stop 3 / Take / Select Card")
2922   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Play (Bet)")
2923   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SLOT_STOP2 ) PORT_NAME("Stop 2 / Small / Info")
2924   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
29252925
29262926   PORT_START("IN1")
29272927   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
29302930   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
29312931   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
29322932   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2) PORT_NAME("Note In")      /* Note In */
2933   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")   /* Key In */
2933   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )   /* Key In */
29342934   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)                     /* Coin A */
29352935
29362936   PORT_START("IN2")
r5338r5339
29382938   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
29392939   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
29402940   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2941   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
2941   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
29422942   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
2943   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
2944   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
2943   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
2944   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
29452945
29462946   PORT_START("DSW1")
29472947   PORT_DIPNAME( 0x07, 0x03, "Game Level (Difficulty)" )   PORT_DIPLOCATION("DSW1:1,2,3")   /* OK */
r5338r5339
30963096   PORT_START("IN0")
30973097   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
30983098   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3099   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Stop All / Big")
3100   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Stop 1 / D-UP")
3101   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Stop 3 / Take / Select Card")
3102   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Play (Bet)")
3103   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Stop 2 / Small")
3104   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("Start")
3099   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP_ALL ) PORT_NAME("Stop All / Big")
3100   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SLOT_STOP1 ) PORT_NAME("Stop 1 / D-UP")
3101   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) PORT_NAME("Stop 3 / Take / Select Card")
3102   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Play (Bet)")
3103   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SLOT_STOP2 ) PORT_NAME("Stop 2 / Small")
3104   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
31053105
31063106   PORT_START("IN1")
31073107   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
31103110   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
31113111   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
31123112   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2) PORT_NAME("Ticket In")      /* Ticket In */
3113   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")   /* Key In (not used)*/
3113   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )   /* Key In (not used)*/
31143114   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)                     /* Coin A */
31153115
31163116   PORT_START("IN2")
r5338r5339
32663266   PORT_START("IN0")
32673267   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
32683268   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3269   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Big")
3270   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("D-UP")
3271   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Take / Select Card")
3272   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Play (Bet)")
3273   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Small / Info")
3274   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("Start")
3269   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big")
3270   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) PORT_NAME("D-UP")
3271   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Take / Select Card")
3272   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Play (Bet)")
3273   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small / Info")
3274   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
32753275
32763276   PORT_START("IN1")
32773277   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
32883288   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
32893289   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
32903290   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3291   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
3291   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
32923292   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
3293   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
3294   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
3293   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
3294   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
32953295
32963296   PORT_START("DSW1")
32973297   PORT_DIPNAME( 0x07, 0x03, "Game Rate" )               PORT_DIPLOCATION("DSW1:1,2,3")   /* OK */
r5338r5339
34063406   PORT_START("IN0")
34073407   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
34083408   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3409   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Big")
3410   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("D-UP")
3411   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Take / Select Card")
3412   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Play (Bet)")
3413   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Small / Info")
3414   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("Start")
3409   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big")
3410   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) PORT_NAME("D-UP")
3411   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Take / Select Card")
3412   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Play (Bet)")
3413   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small / Info")
3414   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
34153415
34163416   PORT_START("IN1")
34173417   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
34283428   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
34293429   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
34303430   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3431   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
3431   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
34323432   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
3433   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
3434   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
3433   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
3434   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
34353435
34363436   PORT_START("DSW1")
34373437   PORT_DIPNAME( 0x07, 0x03, "Game Level (Difficulty)" )   PORT_DIPLOCATION("DSW1:1,2,3")   /* OK */
r5338r5339
35683568   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
35693569   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
35703570   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3571   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
3571   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
35723572   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
3573   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
3574   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
3573   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
3574   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
35753575
35763576   PORT_START("DSW1")
35773577   PORT_DIPNAME( 0x07, 0x03, "Game Level (Difficulty)" )   PORT_DIPLOCATION("DSW1:1,2,3")   /* OK */
r5338r5339
37143714   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Unknown3")
37153715   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Play (Bet)")
37163716   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Unknown2")
3717   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("Start")
3717   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
37183718
37193719   PORT_START("IN1")
37203720   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
37313731   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
37323732   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
37333733   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3734   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
3734   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
37353735   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
3736   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
3736   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
37373737   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
37383738
37393739   PORT_START("DSW1")
r5338r5339
38493849   PORT_START("IN0")
38503850   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
38513851   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3852   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Stop All / Big")
3853   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Stop 1 / D-UP")
3854   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Stop 3 / Take / Select Card")
3855   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Play (Bet)")
3856   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Stop 2 / Small / Info")
3857   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("Start")
3852   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP_ALL ) PORT_NAME("Stop All / Big")
3853   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SLOT_STOP1 ) PORT_NAME("Stop 1 / D-UP")
3854   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) PORT_NAME("Stop 3 / Take / Select Card")
3855   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Play (Bet)")
3856   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SLOT_STOP2 ) PORT_NAME("Stop 2 / Small / Info")
3857   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
38583858
38593859   PORT_START("IN1")
38603860   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
38713871   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
38723872   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
38733873   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3874   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
3874   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
38753875   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
3876   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
3877   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
3876   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
3877   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
38783878
38793879   PORT_START("DSW1")
38803880   PORT_DIPNAME( 0x07, 0x03, "Game Rate" )               PORT_DIPLOCATION("DSW1:1,2,3")   /* OK */
src/mame/drivers/skylncr.c
r5338r5339
465465
466466static INPUT_PORTS_START( skylncr )
467467   PORT_START("IN1")   /* $00 (PPI0 port A) */
468   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON6) PORT_CODE(KEYCODE_X) PORT_NAME("Stop 2")
468   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SLOT_STOP2)
469469   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN)
470   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON5) PORT_CODE(KEYCODE_Z) PORT_NAME("Stop 1")
470   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP1)
471471   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN)
472   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON7) PORT_CODE(KEYCODE_C) PORT_NAME("Stop 3")
472   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SLOT_STOP3)
473473   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN)
474474   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN)
475475   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN)
476476
477477   PORT_START("IN2")   /* $01 (PPI0 port B) */
478   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2) PORT_CODE(KEYCODE_2) PORT_NAME("Bet")
478   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_BET)
479479   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN)
480   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON9) PORT_CODE(KEYCODE_S) PORT_NAME("Option 2 (D-UP)")
480   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("Option 2 (D-UP)") PORT_CODE(KEYCODE_S)
481481   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN)
482   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1) PORT_CODE(KEYCODE_1) PORT_NAME("Start")
482   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1) PORT_NAME("Start")
483483   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN)
484484   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN)
485485   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN)
486486
487487   PORT_START("IN3")   /* $11 (PPI1 port B) */
488   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)
489   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2)
490   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN3 )   PORT_IMPULSE(2)
491   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
492   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_CODE(KEYCODE_A) PORT_NAME("Option 1 (D-UP)")
493   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_3) PORT_NAME("D-UP")
488   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)
489   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)
490   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)
491   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
492   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Option 1 (D-UP)") PORT_CODE(KEYCODE_A)
493   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP )
494494   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
495   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_4) PORT_NAME("Take Score")
495   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Take Score")
496496
497497   PORT_START("IN4")   /* $12 (PPI1 port C) */
498498   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN)
499499   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_R) PORT_NAME("Reset")
500   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
500   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
501501   PORT_SERVICE_NO_TOGGLE( 0x08, IP_ACTIVE_LOW )   /* Settings */
502502   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN)
503503   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN)
504504   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN)
505   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out")
505   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )
506506
507507   PORT_START("DSW1")   /* $02 (PPI0 port C) */
508508   PORT_DIPNAME( 0x11, 0x01, "D-UP Percentage" )
r5338r5339
837837GAME( 1995, skylncr,  0,       skylncr,  skylncr,  skylncr, ROT0, "Bordun International", "Sky Lancer (Bordun, ver.U450C)",    0 )
838838GAME( 1995, butrfly,  0,       skylncr,  skylncr,  skylncr, ROT0, "Bordun International", "Butterfly Video Game (ver.U350C)",  0 )
839839GAME( 1995, madzoo,   0,       skylncr,  skylncr,  skylncr, ROT0, "Bordun International", "Mad Zoo (ver.U450C)",               0 )
840GAME( 1995, leader,   0,       skylncr,  skylncr,  skylncr, ROT0, "Bootleg",              "Leader",                            GAME_NOT_WORKING )
840GAME( 1995, leader,   0,       skylncr,  skylncr,  skylncr, ROT0, "bootleg",              "Leader",                            GAME_NOT_WORKING )
src/mame/drivers/20pacgal.c
r5338r5339
327327   ROM_LOAD( "20th_101.u14", 0x0000, 0x8000, CRC(c19d9ad0) SHA1(002581fbc2c32cdf7cfb0b0f64061591a462ec14) )
328328ROM_END
329329
330ROM_START( 20pacgaa ) /* Version 1.01 */
330ROM_START( 20pacgala ) /* Version 1.01 */
331331   ROM_REGION( 0x100000, "maincpu", 0 )
332332   ROM_LOAD( "20th_101.u13", 0x00000, 0x40000, CRC(77159582) SHA1(c05e005a941cbdc806dcd76b315069362c792a72) )
333333
r5338r5339
344344 *************************************/
345345
346346GAME( 2000, 20pacgal,         0, 20pacgal, 20pacgal, 0, ROT90, "Namco", "Ms. Pac-Man/Galaga - 20 Year Reunion (V1.04)", GAME_IMPERFECT_GRAPHICS )
347GAME( 2000, 20pacgaa, 20pacgal, 20pacgal, 20pacgal, 0, ROT90, "Namco", "Ms. Pac-Man/Galaga - 20 Year Reunion (V1.01)", GAME_IMPERFECT_GRAPHICS )
347GAME( 2000, 20pacgala, 20pacgal, 20pacgal, 20pacgal, 0, ROT90, "Namco", "Ms. Pac-Man/Galaga - 20 Year Reunion (V1.01)", GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/limenko.c
r5338r5339
401401   }
402402}
403403
404static void copy_sprites(running_machine *machine, bitmap_t *bitmap, bitmap_t *sprites_bitmap, const rectangle *cliprect)
404static void copy_sprites(bitmap_t *bitmap, bitmap_t *sprites_bitmap, bitmap_t *priority_bitmap, const rectangle *cliprect)
405405{
406406   int y;
407407   for( y=cliprect->min_y; y<=cliprect->max_y; y++ )
r5338r5339
440440{
441441   // limenko_videoreg[4] ???? It always has this value: 0xffeffff8 (2 signed bytes? values: -17 and -8 ?)
442442
443   bitmap_fill(priority_bitmap,cliprect,0);
443   bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
444444
445445   tilemap_set_enable(bg_tilemap, limenko_videoreg[0] & 4);
446446   tilemap_set_enable(md_tilemap, limenko_videoreg[0] & 2);
r5338r5339
459459   tilemap_draw(bitmap,cliprect,fg_tilemap,0,1);
460460
461461   if(limenko_videoreg[0] & 8)
462      copy_sprites(screen->machine, bitmap, sprites_bitmap, cliprect);
462      copy_sprites(bitmap, sprites_bitmap, screen->machine->priority_bitmap, cliprect);
463463
464464   return 0;
465465}
src/mame/drivers/prehisle.c
r5338r5339
278278   ROM_LOAD( "gt4.4",  0x000000, 0x20000, CRC(85dfb9ec) SHA1(78c865e7ccffddb71dcddccab358fa945f521f25) )
279279ROM_END
280280
281ROM_START( prehislu )
281ROM_START( prehisleu )
282282   ROM_REGION( 0x40000, "maincpu", 0 )
283283   ROM_LOAD16_BYTE( "gt-u2.2h", 0x00000, 0x20000, CRC(a14f49bb) SHA1(6b39a894c3d3862be349a58c748d2d763d5a269c) ) /* red "U" stamped on printed label */
284284   ROM_LOAD16_BYTE( "gt-u3.3h", 0x00001, 0x20000, CRC(f165757e) SHA1(26cf369fed1713deec182852d76fe014ed46d6ac) ) /* red "U" stamped on printed label */
r5338r5339
338338
339339
340340GAME( 1989, prehisle, 0,        prehisle, prehisle, 0, ROT0, "SNK", "Prehistoric Isle in 1930 (World)", GAME_SUPPORTS_SAVE )
341GAME( 1989, prehislu, prehisle, prehisle, prehisle, 0, ROT0, "SNK of America", "Prehistoric Isle in 1930 (US)", GAME_SUPPORTS_SAVE )
341GAME( 1989, prehisleu,prehisle, prehisle, prehisle, 0, ROT0, "SNK of America", "Prehistoric Isle in 1930 (US)", GAME_SUPPORTS_SAVE )
342342GAME( 1989, gensitou, prehisle, prehisle, prehisle, 0, ROT0, "SNK", "Genshi-Tou 1930's", GAME_SUPPORTS_SAVE )
src/mame/drivers/simpsons.c
r5338r5339
333333   ROM_LOAD( "072-d04.1d", 0x100000, 0x040000, CRC(78778013) SHA1(edbd6d83b0d1a20df39bb160b92395586fa3c32d) )
334334ROM_END
335335
336ROM_START( simps4pa ) /* World 4 Player, later? (by use of later leters) */
336ROM_START( simpsons4pa ) /* World 4 Player, later? (by use of later leters) */
337337   ROM_REGION( 0x8b000, "maincpu", 0 ) /* code + banked roms + banked ram */
338338   ROM_LOAD( "072-g02.16c", 0x10000, 0x20000, CRC(580ce1d6) SHA1(5b07fb8e8041e1663980aa35d853fdc13b22dac5) )
339339   ROM_LOAD( "072-g01.17c", 0x30000, 0x20000, CRC(9f843def) SHA1(858432b59101b0577c5cec6ac0c7c20ab0780c9a) )
r5338r5339
361361ROM_END
362362
363363
364ROM_START( simpsn2p ) /* World 2 Player */
364ROM_START( simpsons2p ) /* World 2 Player */
365365   ROM_REGION( 0x8b000, "maincpu", 0 ) /* code + banked roms + banked ram */
366366   ROM_LOAD( "072-g02.16c",  0x10000, 0x20000, CRC(580ce1d6) SHA1(5b07fb8e8041e1663980aa35d853fdc13b22dac5) )
367367   ROM_LOAD( "072-p01.17c",  0x30000, 0x20000, CRC(07ceeaea) SHA1(c18255ae1d578c2d53de80d6323cdf41cbe47b57) )
r5338r5339
388388   ROM_LOAD( "072-d04.1d", 0x100000, 0x040000, CRC(78778013) SHA1(edbd6d83b0d1a20df39bb160b92395586fa3c32d) )
389389ROM_END
390390
391ROM_START( simps2pa ) /* World 2 Player, alt */
391ROM_START( simpsons2p2 ) /* World 2 Player, alt */
392392   ROM_REGION( 0x8b000, "maincpu", 0 ) /* code + banked roms + banked ram */
393393        ROM_LOAD( "072-g02.16c", 0x10000, 0x20000, CRC(580ce1d6) SHA1(5b07fb8e8041e1663980aa35d853fdc13b22dac5) )
394394   ROM_LOAD( "072-p01.17c", 0x30000, 0x20000, CRC(07ceeaea) SHA1(c18255ae1d578c2d53de80d6323cdf41cbe47b57) )
r5338r5339
415415   ROM_LOAD( "072-d04.1d", 0x100000, 0x040000, CRC(78778013) SHA1(edbd6d83b0d1a20df39bb160b92395586fa3c32d) )
416416ROM_END
417417
418ROM_START( simp2pa ) /* Asia 2 Player */
418ROM_START( simpsons2pa ) /* Asia 2 Player */
419419   ROM_REGION( 0x8b000, "maincpu", 0 ) /* code + banked roms + banked ram */
420420   ROM_LOAD( "072-g02.16c", 0x10000, 0x20000, CRC(580ce1d6) SHA1(5b07fb8e8041e1663980aa35d853fdc13b22dac5) ) /* Same as both world 2p sets */
421421   ROM_LOAD( "072-p01.17c", 0x30000, 0x20000, CRC(07ceeaea) SHA1(c18255ae1d578c2d53de80d6323cdf41cbe47b57) ) /* Same as both world 2p sets */
r5338r5339
442442   ROM_LOAD( "072-d04.1d", 0x100000, 0x040000, CRC(78778013) SHA1(edbd6d83b0d1a20df39bb160b92395586fa3c32d) )
443443ROM_END
444444
445ROM_START( simps2pj ) /* Japan 2 Player */
445ROM_START( simpsons2pj ) /* Japan 2 Player */
446446   ROM_REGION( 0x8b000, "maincpu", 0 ) /* code + banked roms + banked ram */
447447   ROM_LOAD( "072-s02.16c", 0x10000, 0x20000, CRC(265f7a47) SHA1(d39c19a5e303f822313409343b209947f4c47ae4) )
448448   ROM_LOAD( "072-t01.17c", 0x30000, 0x20000, CRC(91de5c2d) SHA1(1e18a5585ed821ec7cda69bdcdbfa4e6c71455c6) )
r5338r5339
482482}
483483
484484// the region warning, if one exists, is shown after the high-score screen in attract mode
485GAME( 1991, simpsons, 0,        simpsons, simpsons, simpsons, ROT0, "Konami", "The Simpsons (4 Players World, set 1)", 0 )
486GAME( 1991, simps4pa, simpsons, simpsons, simpsons, simpsons, ROT0, "Konami", "The Simpsons (4 Players World, set 2)", 0 )
487GAME( 1991, simpsn2p, simpsons, simpsons, simpsn2p, simpsons, ROT0, "Konami", "The Simpsons (2 Players World, set 1)", 0 )
488GAME( 1991, simps2pa, simpsons, simpsons, simpsons, simpsons, ROT0, "Konami", "The Simpsons (2 Players World, set 2)", 0 )
489GAME( 1991, simp2pa,  simpsons, simpsons, simpsn2p, simpsons, ROT0, "Konami", "The Simpsons (2 Players Asia)", 0 )
490GAME( 1991, simps2pj, simpsons, simpsons, simpsn2p, simpsons, ROT0, "Konami", "The Simpsons (2 Players Japan)", 0 )
485GAME( 1991, simpsons,    0,        simpsons, simpsons, simpsons, ROT0, "Konami", "The Simpsons (4 Players World, set 1)", 0 )
486GAME( 1991, simpsons4pa, simpsons, simpsons, simpsons, simpsons, ROT0, "Konami", "The Simpsons (4 Players World, set 2)", 0 )
487GAME( 1991, simpsons2p,  simpsons, simpsons, simpsn2p, simpsons, ROT0, "Konami", "The Simpsons (2 Players World, set 1)", 0 )
488GAME( 1991, simpsons2p2, simpsons, simpsons, simpsons, simpsons, ROT0, "Konami", "The Simpsons (2 Players World, set 2)", 0 )
489GAME( 1991, simpsons2pa, simpsons, simpsons, simpsn2p, simpsons, ROT0, "Konami", "The Simpsons (2 Players Asia)", 0 )
490GAME( 1991, simpsons2pj, simpsons, simpsons, simpsn2p, simpsons, ROT0, "Konami", "The Simpsons (2 Players Japan)", 0 )
src/mame/drivers/actfancr.c
r5338r5339
416416   ROM_LOAD( "18",   0x00000, 0x10000, CRC(5c55b242) SHA1(62ba60b2f02483875da12aefe849f7e2fd137ef1) )
417417ROM_END
418418
419ROM_START( actfanc1 )
419ROM_START( actfancr1 )
420420   ROM_REGION( 0x30000, "maincpu", 0 ) /* Need to allow full RAM allocation for now */
421421   ROM_LOAD( "08-1", 0x00000, 0x10000, CRC(3bf214a4) SHA1(f7513672b2292d3acb4332b392695888bf6560a5) )
422422   ROM_LOAD( "09-1", 0x10000, 0x10000, CRC(13ae78d5) SHA1(eba77d3dbfe273e18c7fa9c0ca305ac2468f9381) )
r5338r5339
449449   ROM_LOAD( "18",   0x00000, 0x10000, CRC(5c55b242) SHA1(62ba60b2f02483875da12aefe849f7e2fd137ef1) )
450450ROM_END
451451
452ROM_START( actfancj )
452ROM_START( actfancrj )
453453   ROM_REGION( 0x30000, "maincpu", 0 ) /* Need to allow full RAM allocation for now */
454454   ROM_LOAD( "fd08-1.bin", 0x00000, 0x10000, CRC(69004b60) SHA1(7c6b876ca04377d2aa2d3c3f19d8e6cc7345363d) )
455455   ROM_LOAD( "fd09-1.bin", 0x10000, 0x10000, CRC(a455ae3e) SHA1(960798271c8370c1c4ffce2a453f59d7a301c9f9) )
r5338r5339
516516ROM_END
517517
518518/* All roms are FF even the ones matching the parent FG roms */
519ROM_START( triothej )
519ROM_START( triothepj )
520520   ROM_REGION( 0x40000, "maincpu", 0 ) /* Need to allow full RAM allocation for now */
521521   ROM_LOAD( "ff-16.bin", 0x00000, 0x20000, CRC(84d7e1b6) SHA1(28381d2e1f6d22a959383eb2e8d73f2e03f4d39f) )
522522   ROM_LOAD( "ff-15.bin", 0x20000, 0x10000, CRC(6eada47c) SHA1(98fc4e93c47bc42ea7c20e8ac994b117cd7cb5a5) )
r5338r5339
594594
595595
596596GAME( 1989, actfancr, 0,        actfancr, actfancr, actfancr, ROT0, "Data East Corporation", "Act-Fancer Cybernetick Hyper Weapon (World revision 2)", GAME_SUPPORTS_SAVE )
597GAME( 1989, actfanc1, actfancr, actfancr, actfancr, actfancr, ROT0, "Data East Corporation", "Act-Fancer Cybernetick Hyper Weapon (World revision 1)", GAME_SUPPORTS_SAVE )
598GAME( 1989, actfancj, actfancr, actfancr, actfancr, actfancj, ROT0, "Data East Corporation", "Act-Fancer Cybernetick Hyper Weapon (Japan revision 1)", GAME_SUPPORTS_SAVE )
597GAME( 1989, actfancr1,actfancr, actfancr, actfancr, actfancr, ROT0, "Data East Corporation", "Act-Fancer Cybernetick Hyper Weapon (World revision 1)", GAME_SUPPORTS_SAVE )
598GAME( 1989, actfancrj,actfancr, actfancr, actfancr, actfancj, ROT0, "Data East Corporation", "Act-Fancer Cybernetick Hyper Weapon (Japan revision 1)", GAME_SUPPORTS_SAVE )
599599GAME( 1989, triothep, 0,        triothep, triothep, 0,        ROT0, "Data East Corporation", "Trio The Punch - Never Forget Me... (World)", GAME_SUPPORTS_SAVE )
600GAME( 1989, triothej, triothep, triothep, triothep, 0,        ROT0, "Data East Corporation", "Trio The Punch - Never Forget Me... (Japan)", GAME_SUPPORTS_SAVE )
600GAME( 1989, triothepj,triothep, triothep, triothep, 0,        ROT0, "Data East Corporation", "Trio The Punch - Never Forget Me... (Japan)", GAME_SUPPORTS_SAVE )
src/mame/drivers/polepos.c
r5338r5339
16371637    couple of extra roms.
16381638*/
16391639
1640ROM_START( poleps2a )
1640ROM_START( polepos2a )
16411641   /* Z80 memory/ROM data */
16421642   ROM_REGION( 0x10000, "maincpu", 0 )
16431643   ROM_LOAD( "136014.180",   0x0000, 0x2000, CRC(f85212c4) SHA1(666e55a7662247e72393b105b3e719be4233f1ff) )
r5338r5339
17201720ROM_END
17211721
17221722
1723ROM_START( poleps2b )
1723ROM_START( polepos2b )
17241724   /* Z80 memory/ROM data */
17251725   ROM_REGION( 0x10000, "maincpu", 0 )
17261726   ROM_LOAD( "136014.180",   0x0000, 0x2000, CRC(f85212c4) SHA1(666e55a7662247e72393b105b3e719be4233f1ff) )
r5338r5339
18401840GAME( 1982, topracra, polepos,   polepos, topracra, topracra, ROT0, "bootleg", "Top Racer (set 2)", 0 )
18411841GAME( 1983, topracrb, polepos,   polepos, polepos,  polepos,    ROT0, "bootleg", "Top Racer (set 3)", 0 )
18421842GAME( 1983, polepos2, 0,      polepos, polepos2, polepos2, ROT0, "Namco", "Pole Position II", 0 )
1843GAME( 1983, poleps2a, polepos2, polepos, polepos2, polepos2, ROT0, "Namco (Atari license)", "Pole Position II (Atari)", 0 )
1844GAME( 1983, poleps2b, polepos2, polepos, polepos2, polepos,    ROT0, "bootleg", "Pole Position II (bootleg)", 0 )
1843GAME( 1983, polepos2a,polepos2, polepos, polepos2, polepos2, ROT0, "Namco (Atari license)", "Pole Position II (Atari)", 0 )
1844GAME( 1983, polepos2b,polepos2, polepos, polepos2, polepos,    ROT0, "bootleg", "Pole Position II (bootleg)", 0 )
src/mame/drivers/cps1.c
r5338r5339
31253125ROM_END
31263126
31273127/* B-Board 88618B */
3128ROM_START( forgottu )
3128ROM_START( forgottnu )
31293129   ROM_REGION( CODE_SIZE, "maincpu", 0 )
31303130   ROM_LOAD16_BYTE( "lwu_11a.14f",    0x00000, 0x20000, CRC(ddf78831) SHA1(b9c815613efdfde933d4500b588798b7fb4c1854) )
31313131   ROM_LOAD16_BYTE( "lwu_15a.14g",    0x00001, 0x20000, CRC(f7ce2097) SHA1(44c06fabdb6de7d8afc2164458c90b0be9cf945d) )
r5338r5339
34823482ROM_END
34833483
34843484/* B-Board 89624B */
3485ROM_START( stridrua )
3485ROM_START( striderua )
34863486   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
34873487   ROM_LOAD16_BYTE( "strid.30",      0x00000, 0x20000, CRC(66aec273) SHA1(576b1e9062874e68d68f8725949c151509eb6d56) )
34883488   ROM_LOAD16_BYTE( "strid.35",      0x00001, 0x20000, CRC(50e0e865) SHA1(201ef385c228c124ed9412002233a501ea514efd) )
r5338r5339
56895689ROM_END
56905690
56915691/* B-Board 89624B */
5692ROM_START( 3wonderu )
5692ROM_START( 3wondersu )
56935693   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
56945694   ROM_LOAD16_BYTE( "3wonders.30",  0x00000, 0x20000, CRC(0b156fd8) SHA1(1ec811cd7cbd12066f876db7255394e754ceb25e) )
56955695   ROM_LOAD16_BYTE( "3wonders.35",  0x00001, 0x20000, CRC(57350bf4) SHA1(33e8685cce82eee7bcb7c2787318a130764e97e2) )
r5338r5339
58035803ROM_END
58045804
58055805/* Three Wonders (hack?) */
5806ROM_START( 3wonderh )
5806ROM_START( 3wondersh )
58075807   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
58085808   ROM_LOAD16_BYTE( "22.bin",      0x00000, 0x20000, CRC(e6071884) SHA1(5cf1a859739cf98846cb049b64fd083733acb29c) )
58095809   ROM_LOAD16_BYTE( "26.bin",      0x00001, 0x20000, CRC(a28447b7) SHA1(e3f11911f1d3d115c03edf1bb6c8a68fccd9e9b3) )
r5338r5339
60126012ROM_END
60136013
60146014/* B-Board 91635B */
6015ROM_START( captcomu )
6015ROM_START( captcommu )
60166016   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
60176017   ROM_LOAD16_WORD_SWAP( "23b",   0x000000, 0x80000, CRC(03da44fd) SHA1(0bf382933b4b44082bbaf63e96acd83ab8808a34) )
60186018   ROM_LOAD16_WORD_SWAP( "22c",   0x080000, 0x80000, CRC(9b82a052) SHA1(8247fe45fea8c47072a66d6707202bcdb8c62923) )
r5338r5339
60556055ROM_END
60566056
60576057/* B-Board 91635B */
6058ROM_START( captcomj )
6058ROM_START( captcommj )
60596059   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
60606060   ROM_LOAD16_WORD_SWAP( "cc23.bin",   0x000000, 0x80000, CRC(5b482b62) SHA1(c871aa1eb9ecc117c3079995d1f5212193bd2e12) )
60616061   ROM_LOAD16_WORD_SWAP( "cc22.bin",   0x080000, 0x80000, CRC(0fd34195) SHA1(fb2b9a53af43507f13c4f94eaebbf0b538b2e754) )
r5338r5339
61226122
61236123*/
61246124
6125ROM_START( captcomb )
6125ROM_START( captcommb )
61266126   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
61276127   ROM_LOAD16_BYTE( "25.bin",        0x000000, 0x80000, CRC(cb71ed7a) SHA1(84f76b4861a3c7a59e67f38777f2d68749f19337) )
61286128   ROM_LOAD16_BYTE( "27.bin",        0x000001, 0x80000, CRC(47cb2e87) SHA1(8a990a3a122045b50dd73d2e7b02fe60ab9af0a3) )
r5338r5339
77257725ROM_END
77267726
77277727/* B-Board 91635B */
7728ROM_START( punishru )
7728ROM_START( punisheru )
77297729   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
77307730   ROM_LOAD16_BYTE ( "psu26.rom",       0x000000, 0x20000, CRC(9236d121) SHA1(52d5d00009f61089157319943cde8f1a1ed48ad4) )
77317731   ROM_LOAD16_BYTE ( "psu30.rom",       0x000001, 0x20000, CRC(8320e501) SHA1(bb3b74135df9dd494a277a1bc3bef2917351203f) )
r5338r5339
77657765ROM_END
77667766
77677767/* B-Board 91635B */
7768ROM_START( punishrj )
7768ROM_START( punisherj )
77697769   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
77707770   ROM_LOAD16_WORD_SWAP( "psj23.bin",   0x000000, 0x80000, CRC(6b2fda52) SHA1(5f95a79b7b802609ae9ddd6641cc52610d428bf4) )
77717771   ROM_LOAD16_WORD_SWAP( "psj22.bin",   0x080000, 0x80000, CRC(e01036bc) SHA1(a01886014dabe8f9ab45619865c6bd9f27472eae) )
r5338r5339
79807980ROM_END
79817981
79827982/* FIXME B-Board uncertain but should be 91634B/91635B from the program ROM names */
7983ROM_START( slammasu )
7983ROM_START( slammastu )
79847984   ROM_REGION( CODE_SIZE, "maincpu", 0 )      /* 68000 code */
79857985   ROM_LOAD16_WORD_SWAP( "mbu-23e.rom",  0x000000, 0x80000, CRC(224f0062) SHA1(d961f2e7db7acac576539c24a69e7dd9bf8fc406) )
79867986   ROM_LOAD16_BYTE( "mbe_24b.rom",       0x080000, 0x20000, CRC(95d5e729) SHA1(df3be896e55c92eb50887a4317178a3d11048433) )
r5338r5339
85988598
85998599
86008600GAME( 1988, forgottn, 0,        cps1_10MHz, forgottn, forgottn, ROT0,   "Capcom", "Forgotten Worlds (World)", 0 )
8601GAME( 1988, forgottu, forgottn, cps1_10MHz, forgottn, forgottn, ROT0,   "Capcom", "Forgotten Worlds (US)", 0 )
8601GAME( 1988, forgottnu,forgottn, cps1_10MHz, forgottn, forgottn, ROT0,   "Capcom", "Forgotten Worlds (US)", 0 )
86028602GAME( 1988, lostwrld, forgottn, cps1_10MHz, forgottn, forgottn, ROT0,   "Capcom", "Lost Worlds (Japan)", 0 )
86038603GAME( 1988, lostwrldo,forgottn, cps1_10MHz, forgottn, forgottn, ROT0,   "Capcom", "Lost Worlds (Japan Old Ver.)", 0 )
86048604GAME( 1988, ghouls,   0,        cps1_10MHz, ghouls,   cps1,     ROT0,   "Capcom", "Ghouls'n Ghosts (World)" , 0)            // Wed.26.10.1988 in the ROMS
r5338r5339
86068606GAME( 1988, daimakai, ghouls,   cps1_10MHz, daimakai, cps1,     ROT0,   "Capcom", "Dai Makai-Mura (Japan)" , 0)               // Wed.26.10.1988 in the ROMS
86078607GAME( 1988, daimakair,ghouls,   cps1_10MHz, daimakai, cps1,     ROT0,   "Capcom", "Dai Makai-Mura (Japan Resale Ver.)" , 0)      // still Wed.26.10.1988 in the ROMS...
86088608GAME( 1989, strider,  0,        cps1_10MHz, strider,  cps1,     ROT0,   "Capcom", "Strider (US set 1)", 0 )
8609GAME( 1989, stridrua, strider,  cps1_10MHz, stridrua, cps1,     ROT0,   "Capcom", "Strider (US set 2)", 0 )
8609GAME( 1989, striderua,strider,  cps1_10MHz, stridrua, cps1,     ROT0,   "Capcom", "Strider (US set 2)", 0 )
86108610GAME( 1989, striderj, strider,  cps1_10MHz, strider,  cps1,     ROT0,   "Capcom", "Strider Hiryu (Japan)", 0 )
86118611GAME( 1989, striderjr,strider,  cps1_10MHz, strider,  cps1,     ROT0,   "Capcom", "Strider Hiryu (Japan Resale Ver.)", 0 )
86128612GAME( 1989, dynwar,   0,        cps1_10MHz, dynwar,   cps1,     ROT0,   "Capcom", "Dynasty Wars (US set 1)", 0 )            // (c) Capcom U.S.A.
r5338r5339
86568656GAME( 1991, sf2ja,    sf2,      cps1_10MHz, sf2j,     cps1,     ROT0,   "Capcom", "Street Fighter II - The World Warrior (Japan 910214)", 0 )
86578657GAME( 1991, sf2jc,    sf2,      cps1_10MHz, sf2j,     cps1,     ROT0,   "Capcom", "Street Fighter II - The World Warrior (Japan 910306)", 0 )
86588658GAME( 1991, 3wonders, 0,        cps1_10MHz, 3wonders, cps1,     ROT0,   "Capcom", "Three Wonders (World 910520)" , 0)               // "ETC"
8659GAME( 1991, 3wonderu, 3wonders, cps1_10MHz, 3wonders, cps1,     ROT0,   "Capcom", "Three Wonders (US 910520)", 0 )
8659GAME( 1991, 3wondersu,3wonders, cps1_10MHz, 3wonders, cps1,     ROT0,   "Capcom", "Three Wonders (US 910520)", 0 )
86608660GAME( 1991, wonder3,  3wonders, cps1_10MHz, 3wonders, cps1,     ROT0,   "Capcom", "Wonder 3 (Japan 910520)", 0 )
8661GAME( 1991, 3wonderh, 3wonders, cps1_10MHz, 3wonders, cps1,     ROT0,   "bootleg","Three Wonders (hack?)", 0 )
8661GAME( 1991, 3wondersh,3wonders, cps1_10MHz, 3wonders, cps1,     ROT0,   "bootleg","Three Wonders (hack?)", 0 )
86628662GAME( 1991, kod,      0,        cps1_10MHz, kod,      cps1,     ROT0,   "Capcom", "The King of Dragons (World 910711)" , 0)            // "ETC"
86638663GAME( 1991, kodu,     kod,      cps1_10MHz, kodj,     cps1,     ROT0,   "Capcom", "The King of Dragons (US 910910)", 0 )
86648664GAME( 1991, kodj,     kod,      cps1_10MHz, kodj,     cps1,     ROT0,   "Capcom", "The King of Dragons (Japan 910805)", 0 )
86658665GAME( 1991, captcomm, 0,        cps1_10MHz, captcomm, cps1,     ROT0,   "Capcom", "Captain Commando (World 911014)" , 0)            // "OTHER COUNTRY"
8666GAME( 1991, captcomu, captcomm, cps1_10MHz, captcomm, cps1,     ROT0,   "Capcom", "Captain Commando (US 910928)", 0 )
8667GAME( 1991, captcomj, captcomm, cps1_10MHz, captcomm, cps1,     ROT0,   "Capcom", "Captain Commando (Japan 911202)", 0 )
8668GAME( 1991, captcomb, captcomm, cps1_10MHz, captcomm, cps1,     ROT0,   "bootleg","Captain Commando (bootleg)", GAME_NOT_WORKING )
8666GAME( 1991, captcommu,captcomm, cps1_10MHz, captcomm, cps1,     ROT0,   "Capcom", "Captain Commando (US 910928)", 0 )
8667GAME( 1991, captcommj,captcomm, cps1_10MHz, captcomm, cps1,     ROT0,   "Capcom", "Captain Commando (Japan 911202)", 0 )
8668GAME( 1991, captcommb,captcomm, cps1_10MHz, captcomm, cps1,     ROT0,   "bootleg","Captain Commando (bootleg)", GAME_NOT_WORKING )
86698669GAME( 1991, knights,  0,        cps1_10MHz, knights,  cps1,     ROT0,   "Capcom", "Knights of the Round (World 911127)" , 0)         // "ETC"
86708670GAME( 1991, knightsu, knights,  cps1_10MHz, knights,  cps1,     ROT0,   "Capcom", "Knights of the Round (US 911127)", 0 )
86718671GAME( 1991, knightsj, knights,  cps1_10MHz, knights,  cps1,     ROT0,   "Capcom", "Knights of the Round (Japan 911127)", 0 )
8672GAME( 1991, knightsb, knights,  knightsb,   knights,  cps1,     ROT0,   "Capcom", "Knights of the Round (World 911127, bootleg)" , GAME_NOT_WORKING)
8672GAME( 1991, knightsb, knights,  knightsb,   knights,  cps1,     ROT0,   "bootleg", "Knights of the Round (World 911127, bootleg)" , GAME_NOT_WORKING)
86738673GAME( 1992, sf2ce,    0,        cps1_12MHz, sf2,      cps1,     ROT0,   "Capcom", "Street Fighter II' - Champion Edition (World 920313)" , 0)   // "ETC"
86748674GAME( 1992, sf2ceua,  sf2ce,    cps1_12MHz, sf2,      cps1,     ROT0,   "Capcom", "Street Fighter II' - Champion Edition (US 920313)", 0 )
86758675GAME( 1992, sf2ceub,  sf2ce,    cps1_12MHz, sf2,      cps1,     ROT0,   "Capcom", "Street Fighter II' - Champion Edition (US 920513)", 0 )
r5338r5339
87158715GAME( 1993, dinopic,  dino,     cpspicb,    dino,     dino ,    ROT0,   "bootleg", "Cadillacs and Dinosaurs (bootleg with PIC16c57, set 1)", GAME_NOT_WORKING )
87168716GAME( 1993, dinopic2, dino,     cpspicb,    dino,     dino ,    ROT0,   "bootleg", "Cadillacs and Dinosaurs (bootleg with PIC16c57, set 2)", GAME_NOT_WORKING )
87178717GAME( 1993, punisher, 0,        qsound,     punisher, punisher, ROT0,   "Capcom", "The Punisher (World 930422)" , 0)               // "ETC"
8718GAME( 1993, punishru, punisher, qsound,     punisher, punisher, ROT0,   "Capcom", "The Punisher (US 930422)", 0 )
8719GAME( 1993, punishrj, punisher, qsound,     punisher, punisher, ROT0,   "Capcom", "The Punisher (Japan 930422)", 0 )
8718GAME( 1993, punisheru,punisher, qsound,     punisher, punisher, ROT0,   "Capcom", "The Punisher (US 930422)", 0 )
8719GAME( 1993, punisherj,punisher, qsound,     punisher, punisher, ROT0,   "Capcom", "The Punisher (Japan 930422)", 0 )
87208720GAME( 1993, punipic,  punisher, cpspicb,    punisher, punisher, ROT0,   "Capcom", "The Punisher (bootleg with PIC16c57, set 1)" , GAME_NOT_WORKING)
87218721GAME( 1993, punipic2, punisher, cpspicb,    punisher, punisher, ROT0,   "Capcom", "The Punisher (bootleg with PIC16c57, set 2)" , GAME_NOT_WORKING)
87228722GAME( 1993, punipic3, punisher, cpspicb,    punisher, punisher, ROT0,   "Capcom", "The Punisher (bootleg with PIC16c57, set 3)" , GAME_NOT_WORKING)
87238723
87248724GAME( 1993, slammast, 0,        qsound,     slammast, slammast, ROT0,   "Capcom", "Saturday Night Slam Masters (World 930713)" , 0)      // "ETC"
8725GAME( 1993, slammasu, slammast, qsound,     slammast, slammast, ROT0,   "Capcom", "Saturday Night Slam Masters (US 930713)", 0 )
8725GAME( 1993, slammastu,slammast, qsound,     slammast, slammast, ROT0,   "Capcom", "Saturday Night Slam Masters (US 930713)", 0 )
87268726GAME( 1993, mbomberj, slammast, qsound,     slammast, slammast, ROT0,   "Capcom", "Muscle Bomber - The Body Explosion (Japan 930713)", 0 )
87278727GAME( 1993, mbombrd,  0,        qsound,     slammast, slammast, ROT0,   "Capcom", "Muscle Bomber Duo - Ultimate Team Battle (World 931206)" , 0)  // "ETC"
87288728GAME( 1993, mbombrdj, mbombrd,  qsound,     slammast, slammast, ROT0,   "Capcom", "Muscle Bomber Duo - Heat Up Warriors (Japan 931206)", 0 )
src/mame/drivers/yunsun16.c
r5338r5339
747747
748748ROM_END
749749
750ROM_START( magicbua )
750ROM_START( magicbuba )
751751
752752   ROM_REGION( 0x080000, "maincpu", 0 )      /* 68000 Code */
753753   ROM_LOAD16_BYTE( "u33.bin", 0x000000, 0x040000, CRC(a8164a02) SHA1(7275209d5d73881839f7fa3ac7d362194ef2cfd9) )
r5338r5339
921921***************************************************************************/
922922
923923GAME( 199?, magicbub, 0,        magicbub, magicbub, magicbub, ROT0,   "Yun Sung", "Magic Bubble", GAME_NO_COCKTAIL )
924GAME( 199?, magicbua, magicbub, magicbub, magicbua, magicbub, ROT0,   "Yun Sung", "Magic Bubble (Adult version)", GAME_NO_COCKTAIL )
924GAME( 199?, magicbuba,magicbub, magicbub, magicbua, magicbub, ROT0,   "Yun Sung", "Magic Bubble (Adult version)", GAME_NO_COCKTAIL )
925925GAME( 1996, paprazzi, 0,        shocking, paprazzi, 0,        ROT270, "Yun Sung", "Paparazzi",    GAME_NO_COCKTAIL )
926926GAME( 1997, shocking, 0,        shocking, shocking, 0,        ROT0,   "Yun Sung", "Shocking",     GAME_NO_COCKTAIL )
927927GAME( 1998, bombkick, 0,        shocking, bombkick, 0,        ROT0,   "Yun Sung", "Bomb Kick",    GAME_NO_COCKTAIL )
src/mame/drivers/namcos11.c
r5338r5339
12201220   ROM_RELOAD( 0x800000, 0x400000 )
12211221ROM_END
12221222
1223ROM_START( dunkmnic )
1223ROM_START( dunkmniaj )
12241224   ROM_REGION32_LE( 0x0400000, "user1", 0 ) /* main prg */
12251225   ROM_LOAD16_BYTE( "dm1verc.2l",   0x0000000, 0x100000, CRC(6c81654a) SHA1(00e84cc41b3dd49a8f0d3a364ea4a5d2662c45ff) )
12261226   ROM_LOAD16_BYTE( "dm1verc.2j",   0x0000001, 0x100000, CRC(10329b7e) SHA1(d214764e90c7d79abea01580e79092e34a58b695) )
r5338r5339
13531353   ROM_RELOAD( 0x800000, 0x400000 )
13541354ROM_END
13551355
1356ROM_START( souledga )
1356ROM_START( souledgea )
13571357   ROM_REGION32_LE( 0x0400000, "user1", 0 ) /* main prg */
13581358   ROM_LOAD16_BYTE( "so3verc.2l",   0x0000000, 0x100000, CRC(c90e343b) SHA1(83bd2fc67493c34b408b13148f6a2feba9a44ed0) )
13591359   ROM_LOAD16_BYTE( "so3verc.2j",   0x0000001, 0x100000, CRC(b7466db5) SHA1(c7a4c66e61812fb6de582fe555755293d78771c7) )
r5338r5339
13791379   ROM_RELOAD( 0x800000, 0x400000 )
13801380ROM_END
13811381
1382ROM_START( souledgb )
1382ROM_START( souledge1 )
13831383   ROM_REGION32_LE( 0x0400000, "user1", 0 ) /* main prg */
13841384   ROM_LOAD16_BYTE( "so3vera.2l",   0x0000000, 0x100000, CRC(19b39096) SHA1(9188cd1fd9b15e5545eb41ea2768a8bd42113379) )
13851385   ROM_LOAD16_BYTE( "so3vera.2j",   0x0000001, 0x100000, CRC(09eda46f) SHA1(24d04d2ba51af508ddc0656e8bb5e1335b08cc8a) )
r5338r5339
14041404   ROM_LOAD( "so1wave.8k",   0x800000, 0x400000, CRC(0e68836b) SHA1(c392b370a807803c7ab060105861253e1b407f49) )
14051405ROM_END
14061406
1407ROM_START( souledgc )
1407ROM_START( souledge1j )
14081408   ROM_REGION32_LE( 0x0400000, "user1", 0 ) /* main prg */
14091409   ROM_LOAD16_BYTE( "so1vera.2l",   0x0000000, 0x100000, CRC(bafb94c8) SHA1(92461ce74a537a9801a024280e18fc3d0a5e6e5c) )
14101410   ROM_LOAD16_BYTE( "so1vera.2j",   0x0000001, 0x100000, CRC(abe2d28e) SHA1(e9d858c8f8651b04bc72eb6de423da4925e94250) )
r5338r5339
16451645GAME( 1995, tekken2a,  tekken2,  coh100, tekken,   namcos11, ROT0, "Namco", "Tekken 2 Ver.B (TES2/VER.B)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
16461646GAME( 1995, tekken2b,  tekken2,  coh100, tekken,   namcos11, ROT0, "Namco", "Tekken 2 (TES2/VER.A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
16471647GAME( 1996, souledge,  0,        coh110, souledge, namcos11, ROT0, "Namco", "Soul Edge Ver. II (SO4/VER.C)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
1648GAME( 1995, souledga,  souledge, coh110, souledge, namcos11, ROT0, "Namco", "Soul Edge Ver. II (SO3/VER.C)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
1649GAME( 1995, souledgb,  souledge, coh110, souledge, namcos11, ROT0, "Namco", "Soul Edge (SO3/VER.A)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
1650GAME( 1995, souledgc,  souledge, coh110, souledge, namcos11, ROT0, "Namco", "Soul Edge (Japan, SO1/VER.A)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
1648GAME( 1995, souledgea, souledge, coh110, souledge, namcos11, ROT0, "Namco", "Soul Edge Ver. II (SO3/VER.C)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
1649GAME( 1995, souledge1, souledge, coh110, souledge, namcos11, ROT0, "Namco", "Soul Edge (SO3/VER.A)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
1650GAME( 1995, souledge1j,souledge, coh110, souledge, namcos11, ROT0, "Namco", "Soul Edge (Japan, SO1/VER.A)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
16511651GAME( 1995, dunkmnia,  0,        coh110, namcos11, namcos11, ROT0, "Namco", "Dunk Mania (DM2/VER.C)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
1652GAME( 1995, dunkmnic, dunkmnia, coh110, namcos11, namcos11, ROT0, "Namco", "Dunk Mania (Japan, DM1/VER.C)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
1652GAME( 1995, dunkmniaj, dunkmnia, coh110, namcos11, namcos11, ROT0, "Namco", "Dunk Mania (Japan, DM1/VER.C)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
16531653GAME( 1995, xevi3dg,   0,        coh110, namcos11, namcos11, ROT0, "Namco", "Xevious 3D/G (Japan, XV31/VER.A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
16541654GAME( 1996, primglex,  0,        coh110, tekken,   namcos11, ROT0, "Namco", "Prime Goal EX (Japan, PG1/VER.A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
16551655GAME( 1996, danceyes,  0,        coh110, namcos11, namcos11, ROT0, "Namco", "Dancing Eyes (Japan, DC1/VER.A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
src/mame/drivers/lethalj.c
r5338r5339
701701ROM_END
702702
703703
704ROM_START( eggvent8 )
704ROM_START( eggventr8 )
705705   ROM_REGION16_LE( 0x100000, "user1", 0 )      /* 34010 code */
706706   ROM_LOAD16_BYTE( "eggvc8.8", 0x000000, 0x020000, CRC(5a130c04) SHA1(00408912b436efa003bb02dce90fae4fe33a0180) )
707707   ROM_LOAD16_BYTE( "eggvc9.8", 0x000001, 0x020000, CRC(3ac0a95b) SHA1(7f3bd0e6d2d790af4aa6881ea8de8b296a64164a) )
r5338r5339
727727ROM_END
728728
729729
730ROM_START( eggvent7 )
730ROM_START( eggventr7 )
731731   ROM_REGION16_LE( 0x100000, "user1", 0 )      /* 34010 code */
732732   ROM_LOAD16_BYTE( "eggvc8.7", 0x000000, 0x020000, CRC(99999899) SHA1(e3908600fa711baa7f7562f86498ec7e988a5bea) )
733733   ROM_LOAD16_BYTE( "eggvc9.7", 0x000001, 0x020000, CRC(1b608155) SHA1(256dd981515d57f806a3770bdc6ff46b9000f7f3) )
r5338r5339
753753ROM_END
754754
755755
756ROM_START( eggventa ) /* Allied Leisure Australia, official license? */
756ROM_START( eggventra ) /* Allied Leisure Australia, official license? */
757757   ROM_REGION16_LE( 0x100000, "user1", 0 )      /* 34010 code */
758758   ROM_LOAD16_BYTE( "egr8.vc8", 0x000000, 0x080000, CRC(a62c4143) SHA1(a21d6b7efdba4965285265426ed79f3249a86685) )
759759   ROM_LOAD16_BYTE( "egr9.vc9", 0x000001, 0x080000, CRC(bc55bc7a) SHA1(d6e3fc76b4a0a20176af1338a32bb81f0599fdc0) )
r5338r5339
777777ROM_END
778778
779779
780ROM_START( eggvntdx )
780ROM_START( eggventrd )
781781   ROM_REGION16_LE( 0x100000, "user1", 0 )      /* 34010 code */
782782   ROM_LOAD16_BYTE( "eggdlx.vc8", 0x000000, 0x080000, CRC(d7f56141) SHA1(3c16b509fd1c763e452c27084fb0e90cde3947f7) )
783783   ROM_LOAD16_BYTE( "eggdlx.vc9", 0x000001, 0x080000, CRC(cc5f122e) SHA1(e719a3937378df605cdb86c59a534808473c8f90) )
r5338r5339
934934
935935GAME( 1996, lethalj,  0,        lethalj,  lethalj,  0,        ROT0,  "The Game Room", "Lethal Justice", 0 )
936936GAME( 1997, eggventr, 0,        gameroom, eggventr, 0,        ROT0,  "The Game Room", "Egg Venture (Release 10)", 0 )
937GAME( 1997, eggvent8, eggventr, gameroom, eggventr, 0,        ROT0,  "The Game Room", "Egg Venture (Release 8)", 0 )
938GAME( 1997, eggvent7, eggventr, gameroom, eggventr, 0,        ROT0,  "The Game Room", "Egg Venture (Release 7)", 0 )
939GAME( 1997, eggventa, eggventr, gameroom, eggventr, 0,        ROT0,  "The Game Room (Allied Leisure license)", "Egg Venture (A.L. Release)", 0 )
940GAME( 1997, eggvntdx, eggventr, gameroom, eggvntdx, 0,        ROT0,  "The Game Room", "Egg Venture Deluxe", 0 )
937GAME( 1997, eggventr8,eggventr, gameroom, eggventr, 0,        ROT0,  "The Game Room", "Egg Venture (Release 8)", 0 )
938GAME( 1997, eggventr7,eggventr, gameroom, eggventr, 0,        ROT0,  "The Game Room", "Egg Venture (Release 7)", 0 )
939GAME( 1997, eggventra,eggventr, gameroom, eggventr, 0,        ROT0,  "The Game Room (Allied Leisure license)", "Egg Venture (A.L. Release)", 0 )
940GAME( 1997, eggventrd,eggventr, gameroom, eggvntdx, 0,        ROT0,  "The Game Room", "Egg Venture Deluxe", 0 )
941941GAME( 1997, ripribit, 0,        gameroom, ripribit, ripribit, ROT0,  "LAI Games",     "Ripper Ribbit (Version 2.8.4)", 0 )
942942GAME( 1999, cfarm,    0,        gameroom, cfarm,    cfarm,    ROT90, "LAI Games",     "Chicken Farm (Version 2.0)", 0 )
943943GAME( 1999, cclownz,  0,        gameroom, cclownz,  cclownz,  ROT0,  "LAI Games",     "Crazzy Clownz (Version 1.0)", 0 )
src/mame/drivers/itech8.c
r5338r5339
20382038ROM_END
20392039
20402040
2041ROM_START( wfortuna )
2041ROM_START( wfortunea )
20422042   ROM_REGION( 0x1c000, "maincpu", 0 )
20432043   ROM_LOAD( "wofpgmr1.bin", 0x04000, 0x4000, CRC(c3d3eb21) SHA1(21137663afd19fba875e188640f0347fc8c5dcf0) )
20442044   ROM_CONTINUE(             0x10000, 0xc000 )
r5338r5339
22362236ROM_END
22372237
22382238
2239ROM_START( sliksh17 )
2239ROM_START( slikshot17 )
22402240   ROM_REGION( 0x1c000, "maincpu", 0 )
22412241   ROM_LOAD( "u5.bin", 0x04000, 0x4000, CRC(09d70554) SHA1(a009cd3b22261c60f1028694baef51f61713154f) )
22422242   ROM_CONTINUE(       0x10000, 0xc000 )
r5338r5339
22602260ROM_END
22612261
22622262
2263ROM_START( sliksh16 )
2263ROM_START( slikshot16 )
22642264   ROM_REGION( 0x1c000, "maincpu", 0 )
22652265   ROM_LOAD( "poolpgm-16.u5", 0x04000, 0x4000, CRC(c0f17012) SHA1(5d466e058daf91b4f52e634498df9d2a03627aaa) )
22662266   ROM_CONTINUE(              0x10000, 0xc000 )
r5338r5339
23762376ROM_END
23772377
23782378
2379ROM_START( hstenn10 )
2379ROM_START( hstennis10 )
23802380   ROM_REGION( 0x1c000, "maincpu", 0 )
23812381   ROM_LOAD( "tenbim.v10", 0x04000, 0x4000, CRC(d108a6e0) SHA1(1041e1d95b10245fc50f6484e710803db2706f9a) )
23822382   ROM_CONTINUE(           0x10000, 0xc000 )
r5338r5339
25092509ROM_END
25102510
25112511
2512ROM_START( rimrck20 )
2512ROM_START( rimrockn20 )
25132513   ROM_REGION( 0x34000, "maincpu", 0 )
25142514   ROM_LOAD( "rrb.bin",   0x04000, 0x4000, CRC(7e9d5545) SHA1(2aa028b3f5d05bec4ee289e7d39eaad30b3d4d5f) )
25152515   ROM_CONTINUE(          0x10000, 0x4000 )
r5338r5339
25342534ROM_END
25352535
25362536
2537ROM_START( rimrck16 )
2537ROM_START( rimrockn16 )
25382538   ROM_REGION( 0x34000, "maincpu", 0 )
25392539   ROM_LOAD( "rrbbv16.u5",0x04000, 0x4000, CRC(999cd502) SHA1(8ad0d641a9f853eff27be1d4de04ab86b9275d57) )
25402540   ROM_CONTINUE(          0x10000, 0x4000 )
r5338r5339
25592559ROM_END
25602560
25612561
2562ROM_START( rimrck12 )
2562ROM_START( rimrockn12 )
25632563   ROM_REGION( 0x34000, "maincpu", 0 )
25642564   ROM_LOAD( "rrbbv12.u5",0x04000, 0x4000, CRC(661761a6) SHA1(7224b1eac2fd0969d70657448ab241a433143df4) )
25652565   ROM_CONTINUE(          0x10000, 0x4000 )
r5338r5339
27342734
27352735/* Wheel of Fortune-style PCB */
27362736GAME( 1989, wfortune, 0,        wfortune,          wfortune, 0,        ROT0,   "GameTek", "Wheel Of Fortune", 0 )
2737GAME( 1989, wfortuna, wfortune, wfortune,          wfortune, 0,        ROT0,   "GameTek", "Wheel Of Fortune (alternate)", 0 )
2737GAME( 1989, wfortunea, wfortune, wfortune,          wfortune, 0,        ROT0,   "GameTek", "Wheel Of Fortune (alternate)", 0 )
27382738
27392739/* Grudge Match-style PCB */
27402740GAME( 1989, grmatch,  0,        grmatch,           grmatch,  grmatch,  ROT0,   "Yankee Game Technology", "Grudge Match (Yankee Game Technology)", 0 )
r5338r5339
27492749
27502750/* Slick Shot-style PCB */
27512751GAME( 1990, slikshot, 0,        slikshot_hi,       slikshot, slikshot, ROT90,  "Grand Products/Incredible Technologies", "Slick Shot (V2.2)", 0 )
2752GAME( 1990, sliksh17, slikshot, slikshot_hi,       slikshot, slikshot, ROT90,  "Grand Products/Incredible Technologies", "Slick Shot (V1.7)", 0 )
2753GAME( 1990, sliksh16, slikshot, slikshot_hi,       slikshot, slikshot, ROT90,  "Grand Products/Incredible Technologies", "Slick Shot (V1.6)", 0 )
2752GAME( 1990, slikshot17, slikshot, slikshot_hi,       slikshot, slikshot, ROT90,  "Grand Products/Incredible Technologies", "Slick Shot (V1.7)", 0 )
2753GAME( 1990, slikshot16, slikshot, slikshot_hi,       slikshot, slikshot, ROT90,  "Grand Products/Incredible Technologies", "Slick Shot (V1.6)", 0 )
27542754GAME( 1990, dynobop,  0,        slikshot_hi,       dynobop,  slikshot, ROT90,  "Grand Products/Incredible Technologies", "Dyno Bop", 0 )
27552755GAME( 1990, sstrike,  0,        sstrike,           sstrike,  sstrike,  ROT270, "Strata/Incredible Technologies", "Super Strike Bowling", 0 )
27562756GAME( 1991, pokrdice, 0,        slikshot_lo_noz80, pokrdice, 0,        ROT90,  "Strata/Incredible Technologies", "Poker Dice", 0 )
27572757
27582758/* Hot Shots Tennis-style PCB */
27592759GAME( 1990, hstennis, 0,        hstennis_hi,       hstennis, hstennis, ROT90,  "Strata/Incredible Technologies", "Hot Shots Tennis (V1.1)", 0 )
2760GAME( 1990, hstenn10, hstennis, hstennis_hi,       hstennis, hstennis, ROT90,  "Strata/Incredible Technologies", "Hot Shots Tennis (V1.0)", 0 )
2760GAME( 1990, hstennis10, hstennis, hstennis_hi,       hstennis, hstennis, ROT90,  "Strata/Incredible Technologies", "Hot Shots Tennis (V1.0)", 0 )
27612761GAME( 1991, arlingtn, 0,        hstennis_hi,       arlingtn, arligntn, ROT0,   "Strata/Incredible Technologies", "Arlington Horse Racing (v1.21-D)", 0 )
27622762GAME( 1991, peggle,   0,        hstennis_lo,       peggle,   peggle,   ROT90,  "Strata/Incredible Technologies", "Peggle (Joystick, v1.0)", 0 )
27632763GAME( 1991, pegglet,  peggle,   hstennis_lo,       pegglet,  peggle,   ROT90,  "Strata/Incredible Technologies", "Peggle (Trackball, v1.0)", 0 )
r5338r5339
27652765
27662766/* Rim Rockin' Basketball-style PCB */
27672767GAME( 1991, rimrockn, 0,        rimrockn,          rimrockn, rimrockn, ROT0,   "Strata/Incredible Technologies", "Rim Rockin' Basketball (V2.2)", 0 )
2768GAME( 1991, rimrck20, rimrockn, rimrockn,          rimrockn, rimrockn, ROT0,   "Strata/Incredible Technologies", "Rim Rockin' Basketball (V2.0)", 0 )
2769GAME( 1991, rimrck16, rimrockn, rimrockn,          rimrockn, rimrockn, ROT0,   "Strata/Incredible Technologies", "Rim Rockin' Basketball (V1.6)", 0 )
2770GAME( 1991, rimrck12, rimrockn, rimrockn,          rimrockn, rimrockn, ROT0,   "Strata/Incredible Technologies", "Rim Rockin' Basketball (V1.2)", 0 )
2768GAME( 1991, rimrockn20, rimrockn, rimrockn,          rimrockn, rimrockn, ROT0,   "Strata/Incredible Technologies", "Rim Rockin' Basketball (V2.0)", 0 )
2769GAME( 1991, rimrockn16, rimrockn, rimrockn,          rimrockn, rimrockn, ROT0,   "Strata/Incredible Technologies", "Rim Rockin' Basketball (V1.6)", 0 )
2770GAME( 1991, rimrockn12, rimrockn, rimrockn,          rimrockn, rimrockn, ROT0,   "Strata/Incredible Technologies", "Rim Rockin' Basketball (V1.2)", 0 )
27712771
27722772/* Ninja Clowns-style PCB */
27732773GAME( 1991, ninclown, 0,        ninclown,          ninclown, 0,        ROT0,   "Strata/Incredible Technologies", "Ninja Clowns (08/27/91)", 0 )
src/mame/drivers/bbusters.c
r5338r5339
827827   ROM_LOAD( "bb-pcmb.l3",  0x000000, 0x80000, CRC(c8d5dd53) SHA1(0f7e94532cc14852ca12c1b792e5479667af899e) )
828828ROM_END
829829
830ROM_START( bbusteru )
830ROM_START( bbustersu )
831831   ROM_REGION( 0x80000, "maincpu", 0 )
832832   ROM_LOAD16_BYTE( "bbv2-3.k10",   0x000000, 0x20000, CRC(6930088b) SHA1(265f0b584d81b6fdcda5c3a2e0bd15d56443bb35) )
833833   ROM_LOAD16_BYTE( "bbv2-5.k12",   0x000001, 0x20000, CRC(cfdb2c6c) SHA1(54a837dc84b74d12e931f607f3dc9ee06a7e4d31) )
r5338r5339
951951
952952// as soon as you calibrate the guns in test mode the game refuses to boot
953953GAME( 1989, bbusters, 0,        bbusters, bbusters, 0, ROT0,  "SNK", "Beast Busters (World)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
954GAME( 1989, bbusteru, bbusters, bbusters, bbusters, 0, ROT0,  "SNK", "Beast Busters (US, Version 2)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
954GAME( 1989, bbustersu,bbusters, bbusters, bbusters, 0, ROT0,  "SNK", "Beast Busters (US, Version 2)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
955955
956956GAME( 1989, mechatt,  0,        mechatt,  mechatt,  0, ROT0,  "SNK", "Mechanized Attack (World)", 0 )
957957GAME( 1989, mechattu, mechatt,  mechatt,  mechattu, 0, ROT0,  "SNK", "Mechanized Attack (US)", 0 )
src/mame/drivers/flstory.c
r5338r5339
907907   ROM_LOAD( "a52-11.32v",   0x1c000, 0x4000, CRC(d1dda6b3) SHA1(fadf1404e8a03ec7e3fafb6281d33bc73bb5c473) )
908908ROM_END
909909
910ROM_START( onna34ra )
910ROM_START( onna34roa )
911911   ROM_REGION( 0x10000, "maincpu", 0 )   /* 64k for the first CPU */
912912   ROM_LOAD( "ry-08.rom",    0x0000, 0x4000, CRC(e4587b85) SHA1(2fc4439953dd086eac11ba6d7937d8075fc39639) )
913913   ROM_LOAD( "ry-07.rom",    0x4000, 0x4000, CRC(6ffda515) SHA1(429e7bb22c66eb3c6d31981c2021af61c44ed51b) )
r5338r5339
10531053GAME( 1985, flstory,  0,        flstory,  flstory,  0, ROT180, "Taito", "The FairyLand Story", GAME_IMPERFECT_SOUND )
10541054GAME( 1985, flstoryj, flstory,  flstory,  flstory,  0, ROT180, "Taito", "The FairyLand Story (Japan)", GAME_IMPERFECT_SOUND )
10551055GAME( 1985, onna34ro, 0,        onna34ro, onna34ro, 0, ROT0,   "Taito", "Onna Sansirou - Typhoon Gal (set 1)", GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_SOUND )
1056GAME( 1985, onna34ra, onna34ro, onna34ro, onna34ro, 0, ROT0,   "Taito", "Onna Sansirou - Typhoon Gal (set 2)", GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_SOUND )
1056GAME( 1985, onna34roa,onna34ro, onna34ro, onna34ro, 0, ROT0,   "Taito", "Onna Sansirou - Typhoon Gal (set 2)", GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_SOUND )
10571057GAME( 1984, victnine, 0,        victnine, victnine, 0, ROT0,   "Taito", "Victorious Nine", GAME_IMPERFECT_SOUND )
src/mame/drivers/calomega.c
r5338r5339
10461046
10471047static INPUT_PORTS_START( gdrawpkr )
10481048   PORT_START("IN0-0")
1049   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)   /* credits */
1050   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Collect") PORT_CODE(KEYCODE_I)
1051   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Double Up") PORT_CODE(KEYCODE_3)
1052   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Deal/Draw") PORT_CODE(KEYCODE_2)
1053   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Cancel Discards") PORT_CODE(KEYCODE_N)
1054   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_NAME("Stand") PORT_CODE(KEYCODE_E)
1049   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   /* credits */
1050   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Collect") PORT_CODE(KEYCODE_Q)
1051   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP )
1052   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Draw")
1053   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) PORT_NAME("Cancel Discards")
1054   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_STAND )
10551055   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )   /* connected to SW2-5 */
10561056   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
10571057
10581058   PORT_START("IN0-1")
1059   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Payout") PORT_CODE(KEYCODE_Q)
1059   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
10601060   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1061   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Door Open") PORT_CODE(KEYCODE_D)
1062   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Test Mode") PORT_CODE(KEYCODE_9)   /* in some games you need to open the door first */
1063   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Hand Pay") PORT_CODE(KEYCODE_O)
1064   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Dispute") PORT_CODE(KEYCODE_0)      /* in some games you need to open the door first */
1061   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_DOOR ) PORT_NAME("Door Open")
1062   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Test Mode")   /* in some games you need to open the door first */
1063   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hand Pay") PORT_CODE(KEYCODE_W)
1064   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Dispute") PORT_CODE(KEYCODE_0)   /* in some games you need to open the door first */
10651065   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )   /* connected to SW2-5 */
10661066   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
10671067
10681068   PORT_START("IN0-2")
1069   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Discard 1") PORT_CODE(KEYCODE_Z)
1070   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Discard 2") PORT_CODE(KEYCODE_X)
1071   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Discard 3") PORT_CODE(KEYCODE_C)
1072   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Discard 4") PORT_CODE(KEYCODE_V)
1073   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Discard 5") PORT_CODE(KEYCODE_B)
1074   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Small") PORT_CODE(KEYCODE_S)
1069   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Discard 1")
1070   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Discard 2")
1071   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Discard 3")
1072   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Discard 4")
1073   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Discard 5")
1074   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small")
10751075   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )   /* connected to SW2-5 */
10761076   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
10771077
10781078   PORT_START("IN0-3")
10791079   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
1080   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_1)
1081   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Take") PORT_CODE(KEYCODE_4)
1082   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Big") PORT_CODE(KEYCODE_A)
1080   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
1081   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE )
1082   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big")
10831083   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("WT.Switch") PORT_CODE(KEYCODE_8)
10841084   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
10851085   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )   /* connected to SW2-5 */
r5338r5339
11491149
11501150static INPUT_PORTS_START( comg076 )
11511151   PORT_START("IN0-0")
1152   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)   /* credits */
1152   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   /* credits */
11531153   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1154   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Double Up") PORT_CODE(KEYCODE_3)
1155   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Deal/Draw") PORT_CODE(KEYCODE_2)
1156   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Cancel Discards") PORT_CODE(KEYCODE_N)
1154   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP )
1155   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Draw")
1156   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) PORT_NAME("Cancel Discards")
11571157   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
11581158   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
11591159   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
11601160
11611161   PORT_START("IN0-1")
1162   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2)   /* credits */
1162   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   /* credits */
11631163   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
11641164   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
11651165   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
11661166   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
1167   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Test Mode") PORT_CODE(KEYCODE_9)
1167   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Test Mode")
11681168   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
11691169   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
11701170
11711171   PORT_START("IN0-2")
1172   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Discard 1") PORT_CODE(KEYCODE_Z)
1173   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Discard 2") PORT_CODE(KEYCODE_X)
1174   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Discard 3") PORT_CODE(KEYCODE_C)
1175   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Discard 4") PORT_CODE(KEYCODE_V)
1176   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Discard 5") PORT_CODE(KEYCODE_B)
1177   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Small") PORT_CODE(KEYCODE_S)
1172   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Discard 1")
1173   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Discard 2")
1174   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Discard 3")
1175   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Discard 4")
1176   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Discard 5")
1177   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small")
11781178   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
11791179   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
11801180
11811181   PORT_START("IN0-3")
11821182   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
1183   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_1)
1184   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Take") PORT_CODE(KEYCODE_4)
1185   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Big") PORT_CODE(KEYCODE_A)
1183   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
1184   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE )
1185   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big")
11861186   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
11871187   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
11881188   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
r5338r5339
12521252
12531253static INPUT_PORTS_START( comg128 )
12541254   PORT_START("IN0-0")
1255   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)   /* credits */
1255   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   /* credits */
12561256   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1257   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Double Up") PORT_CODE(KEYCODE_3)
1258   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Deal/Draw") PORT_CODE(KEYCODE_2)
1259   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Cancel Discards") PORT_CODE(KEYCODE_N)
1257   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP )
1258   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Draw")
1259   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) PORT_NAME("Cancel Discards")
12601260   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
12611261   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
12621262   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
12631263
12641264   PORT_START("IN0-1")
1265   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Payout") PORT_CODE(KEYCODE_Q)
1265   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
12661266   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1267   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Door Open") PORT_CODE(KEYCODE_D)
1267   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_DOOR ) PORT_NAME("Door Open")
12681268   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
12691269   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
1270   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Test Mode") PORT_CODE(KEYCODE_9)
1270   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Test Mode")
12711271   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
12721272   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
12731273
12741274   PORT_START("IN0-2")
1275   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Discard 1") PORT_CODE(KEYCODE_Z)
1276   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Discard 2") PORT_CODE(KEYCODE_X)
1277   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Discard 3") PORT_CODE(KEYCODE_C)
1278   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Discard 4") PORT_CODE(KEYCODE_V)
1279   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Discard 5") PORT_CODE(KEYCODE_B)
1275   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Discard 1")
1276   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Discard 2")
1277   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Discard 3")
1278   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Discard 4")
1279   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Discard 5")
12801280   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
12811281   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
12821282   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
12831283
12841284   PORT_START("IN0-3")
12851285   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
1286   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_1)
1287   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Take") PORT_CODE(KEYCODE_4)
1288   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Big") PORT_CODE(KEYCODE_A)
1289   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Small") PORT_CODE(KEYCODE_S)
1286   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
1287   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE )
1288   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big")
1289   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small")
12901290   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
12911291   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
12921292   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
r5338r5339
13561356
13571357static INPUT_PORTS_START( elgrande )
13581358   PORT_START("IN0-0")
1359   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2)   /* credits */
1359   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   /* credits */
13601360   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1361   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Double Up") PORT_CODE(KEYCODE_3)
1362   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Deal/Draw") PORT_CODE(KEYCODE_2)
1363   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Cancel Holds") PORT_CODE(KEYCODE_N)
1361   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP )
1362   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Draw")
1363   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) PORT_NAME("Cancel Holds")
13641364   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
13651365   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
13661366   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
13671367
13681368   PORT_START("IN0-1")
1369   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)   /* credits */
1369   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   /* credits */
13701370   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1371   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Service") PORT_CODE(KEYCODE_8)
1371   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Service")
13721372   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
13731373   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
13741374   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
13761376   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
13771377
13781378   PORT_START("IN0-2")
1379   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
1380   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
1381   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
1382   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
1383   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
1379   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
1380   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
1381   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
1382   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
1383   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
13841384   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
13851385   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
13861386   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
13871387
13881388   PORT_START("IN0-3")
1389   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Test Mode") PORT_CODE(KEYCODE_F2)
1390   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_1)
1391   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Take") PORT_CODE(KEYCODE_4)
1392   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Odd") PORT_CODE(KEYCODE_A)
1393   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Even") PORT_CODE(KEYCODE_S)
1389   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Test Mode")
1390   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
1391   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE )
1392   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Odd")
1393   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Even")
13941394   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
13951395   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
13961396   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
r5338r5339
14221422
14231423static INPUT_PORTS_START( jjpoker )
14241424   PORT_START("IN0-0")
1425   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2)   /* credits */
1425   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   /* credits */
14261426   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1427   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Double Up") PORT_CODE(KEYCODE_3)
1428   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Deal/Draw") PORT_CODE(KEYCODE_2)
1429   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Cancel Discards") PORT_CODE(KEYCODE_N)
1427   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP )
1428   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Draw")
1429   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) PORT_NAME("Cancel Discards")
14301430   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
14311431   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
14321432   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
14331433
14341434   PORT_START("IN0-1")
1435   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)   /* credits */
1435   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   /* credits */
14361436   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1437   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Service") PORT_CODE(KEYCODE_8)
1437   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Service")
14381438   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
14391439   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
14401440   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
14421442   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
14431443
14441444   PORT_START("IN0-2")
1445   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Discard 1") PORT_CODE(KEYCODE_Z)
1446   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Discard 2") PORT_CODE(KEYCODE_X)
1447   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Discard 3") PORT_CODE(KEYCODE_C)
1448   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Discard 4") PORT_CODE(KEYCODE_V)
1449   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Discard 5") PORT_CODE(KEYCODE_B)
1445   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Discard 1")
1446   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Discard 2")
1447   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Discard 3")
1448   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Discard 4")
1449   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Discard 5")
14501450   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
14511451   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
14521452   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
14531453
14541454   PORT_START("IN0-3")
1455   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Test Mode") PORT_CODE(KEYCODE_F2)
1456   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_1)
1457   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Take") PORT_CODE(KEYCODE_4)
1458   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Odd") PORT_CODE(KEYCODE_A)
1459   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Even") PORT_CODE(KEYCODE_S)
1455   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Test Mode")
1456   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
1457   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE )
1458   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Odd")
1459   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Even")
14601460   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
14611461   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
14621462   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
r5338r5339
14881488
14891489static INPUT_PORTS_START( ssipkr )
14901490   PORT_START("IN0-0")
1491   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2)   /* credits */
1491   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)   /* credits */
14921492   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1493   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Double Up") PORT_CODE(KEYCODE_3)
1494   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Deal/Draw") PORT_CODE(KEYCODE_2)
1495   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Cancel Discards") PORT_CODE(KEYCODE_N)
1493   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP )
1494   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Draw")
1495   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) PORT_NAME("Cancel Discards")
14961496   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
14971497   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
14981498   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
14991499
15001500   PORT_START("IN0-1")
1501   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)   /* credits */
1501   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   /* credits */
15021502   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1503   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Service") PORT_CODE(KEYCODE_8)
1503   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Service")
15041504   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
15051505   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
15061506   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
15081508   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
15091509
15101510   PORT_START("IN0-2")
1511   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Discard 1") PORT_CODE(KEYCODE_Z)
1512   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Discard 2") PORT_CODE(KEYCODE_X)
1513   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Discard 3") PORT_CODE(KEYCODE_C)
1514   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Discard 4") PORT_CODE(KEYCODE_V)
1515   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Discard 5") PORT_CODE(KEYCODE_B)
1511   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Discard 1")
1512   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Discard 2")
1513   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Discard 3")
1514   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Discard 4")
1515   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Discard 5")
15161516   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
15171517   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
15181518   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
15191519
15201520   PORT_START("IN0-3")
1521   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Test Mode") PORT_CODE(KEYCODE_F2)
1522   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_1)
1523   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Take") PORT_CODE(KEYCODE_4)
1524   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Odd") PORT_CODE(KEYCODE_A)
1525   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Even") PORT_CODE(KEYCODE_S)
1521   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Test Mode")
1522   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
1523   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE )
1524   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Odd")
1525   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Even")
15261526   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
15271527   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
15281528   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
r5338r5339
15451545   PORT_DIPSETTING(    0x30, "Queens or Better" )
15461546   PORT_DIPSETTING(    0x00, "Kings or Better" )
15471547   PORT_DIPSETTING(    0x10, "Aces or Better" )
1548   PORT_DIPNAME( 0xC0, 0x40, "Maximum Bet")
1548   PORT_DIPNAME( 0xc0, 0x40, "Maximum Bet")
15491549   PORT_DIPSETTING(    0x00, "5" )
15501550   PORT_DIPSETTING(    0x40, "10" )
15511551   PORT_DIPSETTING(    0x80, "20" )
1552   PORT_DIPSETTING(    0xC0, "50" )
1552   PORT_DIPSETTING(    0xc0, "50" )
15531553INPUT_PORTS_END
15541554
15551555
src/mame/drivers/atetris.c
r5338r5339
454454ROM_END
455455
456456
457ROM_START( atetrsb2 )
457ROM_START( atetrisb2 )
458458   ROM_REGION( 0x18000, "maincpu", 0 )
459459   ROM_LOAD( "k1-01",    0x10000, 0x8000, CRC(fa056809) SHA1(e4ccccdf9b04b68127c7b03ae263519cf00f94cb) )
460460   ROM_CONTINUE(         0x08000, 0x8000 )
r5338r5339
464464ROM_END
465465
466466
467ROM_START( atetcktl )
467ROM_START( atetrisc )
468468   ROM_REGION( 0x18000, "maincpu", 0 )
469469   ROM_LOAD( "tetcktl1.rom", 0x10000, 0x8000, CRC(9afd1f4a) SHA1(323d1576d92c905e8e95108b39cabf6fa0c10db6) )
470470   ROM_CONTINUE(             0x08000, 0x8000 )
r5338r5339
474474ROM_END
475475
476476
477ROM_START( atetckt2 )
477ROM_START( atetrisc2 )
478478   ROM_REGION( 0x18000, "maincpu", 0 )
479479   ROM_LOAD( "136066-1102.45f", 0x10000, 0x8000, CRC(1bd28902) SHA1(ae8c34f082bce1f827bf60830f207c46cb282421) )
480480   ROM_CONTINUE(                0x08000, 0x8000 )
r5338r5339
510510GAME( 1988, atetris,  0,       atetris,  atetris,  atetris, ROT0,   "Atari Games", "Tetris (set 1)", GAME_SUPPORTS_SAVE )
511511GAME( 1988, atetrisa, atetris, atetris,  atetris,  atetris, ROT0,   "Atari Games", "Tetris (set 2)", GAME_SUPPORTS_SAVE )
512512GAME( 1988, atetrisb, atetris, atetris,  atetris,  atetris, ROT0,   "bootleg",     "Tetris (bootleg set 1)", GAME_SUPPORTS_SAVE )
513GAME( 1988, atetrsb2, atetris, atetrsb2, atetris,  atetris, ROT0,   "bootleg",     "Tetris (bootleg set 2)", GAME_SUPPORTS_SAVE )
514GAME( 1989, atetcktl, atetris, atetris,  atetcktl, atetris, ROT270, "Atari Games", "Tetris (cocktail set 1)", GAME_SUPPORTS_SAVE )
515GAME( 1989, atetckt2, atetris, atetris,  atetcktl, atetris, ROT270, "Atari Games", "Tetris (cocktail set 2)", GAME_SUPPORTS_SAVE )
513GAME( 1988, atetrisb2,atetris, atetrsb2, atetris,  atetris, ROT0,   "bootleg",     "Tetris (bootleg set 2)", GAME_SUPPORTS_SAVE )
514GAME( 1989, atetrisc, atetris, atetris,  atetcktl, atetris, ROT270, "Atari Games", "Tetris (cocktail set 1)", GAME_SUPPORTS_SAVE )
515GAME( 1989, atetrisc2,atetris, atetris,  atetcktl, atetris, ROT270, "Atari Games", "Tetris (cocktail set 2)", GAME_SUPPORTS_SAVE )
src/mame/drivers/4roses.c
r5338r5339
467467*************************/
468468
469469/*    YEAR  NAME     PARENT  MACHINE  INPUT   INIT    ROT    COMPANY    FULLNAME                        FLAGS  */
470GAME( 1999, 4roses,  0,      4roses,  4roses, 4roses, ROT0, "Unknown", "Four Roses (encrypted, set 1)", GAME_IMPERFECT_GRAPHICS | GAME_WRONG_COLORS | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND | GAME_NOT_WORKING )
471GAME( 1999, 4rosesa, 4roses, 4roses,  4roses, 4roses, ROT0, "Unknown", "Four Roses (encrypted, set 2)", GAME_IMPERFECT_GRAPHICS | GAME_WRONG_COLORS | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND | GAME_NOT_WORKING )
470GAME( 1999, 4roses,  0,      4roses,  4roses, 4roses, ROT0, "<unknown>", "Four Roses (encrypted, set 1)", GAME_IMPERFECT_GRAPHICS | GAME_WRONG_COLORS | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND | GAME_NOT_WORKING )
471GAME( 1999, 4rosesa, 4roses, 4roses,  4roses, 4roses, ROT0, "<unknown>", "Four Roses (encrypted, set 2)", GAME_IMPERFECT_GRAPHICS | GAME_WRONG_COLORS | GAME_UNEMULATED_PROTECTION | GAME_NO_SOUND | GAME_NOT_WORKING )
src/mame/drivers/kyugo.c
r5338r5339
599599ROM_END
600600
601601
602ROM_START( gyrodinc )
602ROM_START( gyrodinec )
603603   ROM_REGION( 0x10000, "maincpu", 0 )
604604   ROM_LOAD( "rom2",   0x0000, 0x2000, CRC(85ddea38) SHA1(fe7e8d7962850b17c39cac627994d78768b094f8) )
605605   ROM_LOAD( "a21.03", 0x2000, 0x2000, CRC(4e9323bd) SHA1(86ae4c6a29898fdb0e559ec2aac99fc874910fea) )
r5338r5339
789789   ROM_LOAD( "m1.2c",        0x0320, 0x0020, CRC(83a39201) SHA1(4fdc722c9e20ee152c890342ef0dce18e35e2ef8) ) /* timing? (not used) */
790790ROM_END
791791
792ROM_START( 99lstwra )
792ROM_START( 99lstwara )
793793   ROM_REGION( 0x10000, "maincpu", 0 )
794794   ROM_LOAD( "4f.bin",       0x0000, 0x2000, CRC(efe2908d) SHA1(4de8661f523f002c6a9368f81d865c7cc98926dd) )
795795   ROM_LOAD( "4h.bin",       0x2000, 0x2000, CRC(5b79c342) SHA1(293990dab3360139727a5c90aad0826d4a3746b7) )
r5338r5339
825825   ROM_LOAD( "m1.2c",        0x0320, 0x0020, CRC(83a39201) SHA1(4fdc722c9e20ee152c890342ef0dce18e35e2ef8) ) /* timing? (not used) */
826826ROM_END
827827
828ROM_START( 99lstwrk )
828ROM_START( 99lstwark )
829829   ROM_REGION( 0x10000, "maincpu", 0 )
830830   ROM_LOAD( "1999.4f",      0x0000, 0x2000, CRC(e3cfc09f) SHA1(e48905726c6308194c596117dd30444dcb748908) )
831831   ROM_LOAD( "1999.4h",      0x2000, 0x2000, CRC(fd58c6e1) SHA1(005f3114425fd2bfb9452c790d40653661b3d1d9) )
r5338r5339
901901   ROM_LOAD( "bpr.2c",       0x0320, 0x0020, CRC(83a39201) SHA1(4fdc722c9e20ee152c890342ef0dce18e35e2ef8) ) /* timing? (not used) */
902902ROM_END
903903
904ROM_START( flashgla )
904ROM_START( flashgala )
905905   ROM_REGION( 0x10000, "maincpu", 0 )
906906   ROM_LOAD( "flashgal.5",   0x0000, 0x2000, CRC(aa889ace) SHA1(7CAAC8FAE723485ADB6990367BDB8A94BD273322) )
907907   ROM_LOAD( "epr-7168.4h",  0x2000, 0x2000, CRC(00c4851f) SHA1(f29ef123702bb3506ac3740b2779ae2757d884c2) )
r5338r5339
12281228 *************************************/
12291229
12301230GAME( 1984, gyrodine, 0,        gyrodine, gyrodine, gyrodine, ROT90, "Crux (Taito Corporation license)", "Gyrodine (Taito Corporation license)", 0 )
1231GAME( 1984, gyrodinc, gyrodine, gyrodine, gyrodine, gyrodine, ROT90, "Crux", "Gyrodine", 0 )
1231GAME( 1984, gyrodinec,gyrodine, gyrodine, gyrodine, gyrodine, ROT90, "Crux", "Gyrodine", 0 )
12321232GAME( 1984, buzzard,  gyrodine, gyrodine, gyrodine, gyrodine, ROT90, "Crux", "Buzzard", 0 )
12331233GAME( 1985, sonofphx, 0,        sonofphx, sonofphx, 0,        ROT90, "Associated Overseas MFR, Inc", "Son of Phoenix", 0 )
12341234GAME( 1985, repulse,  sonofphx, sonofphx, sonofphx, 0,        ROT90, "Sega", "Repulse", 0 )
12351235GAME( 1985, 99lstwar, sonofphx, sonofphx, sonofphx, 0,        ROT90, "Proma", "'99: The Last War", 0 )
1236GAME( 1985, 99lstwra, sonofphx, sonofphx, sonofphx, 0,        ROT90, "Proma", "'99: The Last War (alternate)", 0 )
1237GAME( 1985, 99lstwrk, sonofphx, sonofphx, sonofphx, 0,        ROT90, "Kyugo", "'99: The Last War (Kyugo)", 0 )
1236GAME( 1985, 99lstwara,sonofphx, sonofphx, sonofphx, 0,        ROT90, "Proma", "'99: The Last War (alternate)", 0 )
1237GAME( 1985, 99lstwark,sonofphx, sonofphx, sonofphx, 0,        ROT90, "Kyugo", "'99: The Last War (Kyugo)", 0 )
12381238GAME( 1985, flashgal, 0,        flashgal, flashgal, 0,        ROT0,  "Sega", "Flashgal (set 1)", 0 )
1239GAME( 1985, flashgla, flashgal, flashgla, flashgal, 0,        ROT0,  "Sega", "Flashgal (set 2)", 0 )
1239GAME( 1985, flashgala,flashgal, flashgla, flashgal, 0,        ROT0,  "Sega", "Flashgal (set 2)", 0 )
12401240GAME( 1986, srdmissn, 0,        srdmissn, srdmissn, srdmissn, ROT90, "Taito Corporation", "S.R.D. Mission", 0 )
12411241GAME( 1986, fx,       srdmissn, srdmissn, srdmissn, srdmissn, ROT90, "bootleg", "F-X", 0 )
12421242GAME( 1986, legend,   0,        legend,   legend,   srdmissn, ROT0,  "Sega / Coreland", "Legend", 0 )
src/mame/drivers/leland.c
r5338r5339
13441344ROM_END
13451345
13461346
1347ROM_START( quartrba )
1347ROM_START( quarterba )
13481348   ROM_REGION( 0x20000, "master", 0 )
13491349   ROM_LOAD( "15219-02.49t",   0x00000, 0x10000, CRC(7fbe1e5a) SHA1(a4af54328935e348f2903fe7f7dea8612660b899) )
13501350   ROM_LOAD( "15218-02.48t",   0x10000, 0x10000, CRC(6fbd4b27) SHA1(8146f276af5e3ef968851fa95c8f979b8b969ef6) )
r5338r5339
24592459/* large master banks, small slave banks, 80186 sound */
24602460GAME( 1987, redlin2p, 0,       redline,  redline,  redlin2p, ROT270, "Cinematronics (Tradewest license)", "Redline Racer (2 players)", 0 )
24612461GAME( 1987, quarterb, 0,       quarterb, quarterb, quarterb, ROT270, "Leland Corp.", "Quarterback (set 1)", 0 )
2462GAME( 1987, quartrba, quarterb,quarterb, quarterb, quarterb, ROT270, "Leland Corp.", "Quarterback (set 2)", 0 )
2462GAME( 1987, quarterba,quarterb,quarterb, quarterb, quarterb, ROT270, "Leland Corp.", "Quarterback (set 2)", 0 )
24632463
24642464/* large master banks, large slave banks, 80186 sound */
24652465GAME( 1988, viper,    0,       lelandi,  dangerz,  viper,    ROT0,   "Leland Corp.", "Viper", 0 )
src/mame/drivers/blockade.c
r5338r5339
552552    ROM_LOAD_NIB_LOW(  "mineswee.uls", 0x0000, 0x0200, CRC(3a4f66e1) SHA1(bd7f6c51d568a79fb06414b2a6ef245d0d983c3e) )
553553ROM_END
554554
555ROM_START( minesw4p )
555ROM_START( mineswpr4 )
556556    ROM_REGION( 0x10000, "maincpu", 0 )
557557    ROM_LOAD_NIB_HIGH( "mineswee.h0p", 0x0000, 0x0400, CRC(5850a4ba) SHA1(9f097d31428f4494573187049c53fbed2075ff32) )
558558    ROM_LOAD_NIB_LOW(  "mineswee.l0p", 0x0000, 0x0400, CRC(05961379) SHA1(3d59341be8a663e8c54c1556442c992a6eb886ab) )
r5338r5339
562562    ROM_LOAD_NIB_LOW(  "mineswee.cls", 0x0000, 0x0200, CRC(70959755) SHA1(f62d448742da3fae8bbd96eb3a2714db500cecce) )
563563ROM_END
564564
565GAME( 1976, blockade, 0, blockade, blockade, blockade, ROT0, "Gremlin", "Blockade", GAME_IMPERFECT_SOUND )
566GAME( 1976, comotion, 0, comotion, comotion, blockade, ROT0, "Gremlin", "Comotion", GAME_IMPERFECT_SOUND )
567GAME( 1978, blasto,   0, blasto,   blasto,   blockade, ROT0, "Gremlin", "Blasto", GAME_IMPERFECT_SOUND )
568GAME( 1977, hustle,   0, hustle,   hustle,   blockade, ROT0, "Gremlin", "Hustle", GAME_IMPERFECT_SOUND )
569GAME( 1977, mineswpr, 0, blasto,   mineswpr, blockade, ROT0, "Amutech", "Minesweeper", GAME_IMPERFECT_SOUND )
570GAME( 1977, minesw4p, 0, blasto,   minesw4p, blockade, ROT0, "Amutech", "Minesweeper (4-Player)", GAME_IMPERFECT_SOUND )
565GAME( 1976, blockade,  0,        blockade, blockade, blockade, ROT0, "Gremlin", "Blockade", GAME_IMPERFECT_SOUND )
566GAME( 1976, comotion,  0,        comotion, comotion, blockade, ROT0, "Gremlin", "Comotion", GAME_IMPERFECT_SOUND )
567GAME( 1978, blasto,    0,        blasto,   blasto,   blockade, ROT0, "Gremlin", "Blasto", GAME_IMPERFECT_SOUND )
568GAME( 1977, hustle,    0,        hustle,   hustle,   blockade, ROT0, "Gremlin", "Hustle", GAME_IMPERFECT_SOUND )
569GAME( 1977, mineswpr,  0,        blasto,   mineswpr, blockade, ROT0, "Amutech", "Minesweeper", GAME_IMPERFECT_SOUND )
570GAME( 1977, mineswpr4, mineswpr, blasto,   minesw4p, blockade, ROT0, "Amutech", "Minesweeper (4-Player)", GAME_IMPERFECT_SOUND )
src/mame/drivers/toaplan1.c
r5338r5339
12531253   MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK | VIDEO_BUFFERS_SPRITERAM)
12541254
12551255   MDRV_SCREEN_ADD("screen", RASTER)
1256   MDRV_SCREEN_REFRESH_RATE(60)
1256   MDRV_SCREEN_REFRESH_RATE(55.14)    /* verified on pcb */
12571257   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
12581258   MDRV_SCREEN_SIZE(432, 262)   /* copied these from toaplan2, to be verified */
12591259   MDRV_SCREEN_VISIBLE_AREA(0, 319, 0, 239)
r5338r5339
12931293   MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
12941294
12951295   MDRV_SCREEN_ADD("screen", RASTER)
1296   MDRV_SCREEN_REFRESH_RATE(60)
1296   MDRV_SCREEN_REFRESH_RATE(57.59)   /* verified on pcb */
12971297   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
12981298   MDRV_SCREEN_SIZE(432, 262)   /* copied these from toaplan2, to be verified */
12991299   MDRV_SCREEN_VISIBLE_AREA(0, 319, 0, 239)
r5338r5339
14171417   MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
14181418
14191419   MDRV_SCREEN_ADD("screen", RASTER)
1420   MDRV_SCREEN_REFRESH_RATE(60)
1420   MDRV_SCREEN_REFRESH_RATE(55.14)      /* verified on pcb */
14211421   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
14221422   MDRV_SCREEN_SIZE(432, 262)   /* copied these from toaplan2, to be verified */
14231423   MDRV_SCREEN_VISIBLE_AREA(0, 319, 16, 255)
r5338r5339
15251525   MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
15261526
15271527   MDRV_SCREEN_ADD("screen", RASTER)
1528   MDRV_SCREEN_REFRESH_RATE(60)
1528   MDRV_SCREEN_REFRESH_RATE(57.59)   /* verified on pcb */
15291529   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
15301530   MDRV_SCREEN_SIZE(432, 262)   /* copied these from toaplan2, to be verified */
15311531   MDRV_SCREEN_VISIBLE_AREA(0, 319, 0, 239)
r5338r5339
16331633   ROM_LOAD( "6b.bpr",     0x20, 0x20, CRC(a1e17492) SHA1(9ddec4c97f2d541f69f3c32c47aaa21fd9699ae2) )   /* ??? */
16341634ROM_END
16351635
1636ROM_START( hellfir1 )
1636ROM_START( hellfire1 )
16371637   ROM_REGION( 0x040000, "maincpu", 0 )   /* Main 68K code */
16381638   ROM_LOAD16_BYTE( "b90_14x.0",   0x000000, 0x20000, CRC(a3141ea5) SHA1(9b456cb908e193198110a628d98567a3b8351591) )
16391639   ROM_LOAD16_BYTE( "b90_15x.1",   0x000001, 0x20000, CRC(e864daf4) SHA1(382f02df8419310cef5d7fb68a9376eeac2f3685) )
r5338r5339
16581658   ROM_LOAD( "6b.bpr",     0x20, 0x20, CRC(a1e17492) SHA1(9ddec4c97f2d541f69f3c32c47aaa21fd9699ae2) )   /* ??? */
16591659ROM_END
16601660
1661ROM_START( hellfir2 )/* Original version, by rom numbers (IE: 01 & 02) */
1661ROM_START( hellfire2 )/* Original version, by rom numbers (IE: 01 & 02) */
16621662   ROM_REGION( 0x040000, "maincpu", 0 )   /* Main 68K code */
16631663   ROM_LOAD16_BYTE( "b90_01.0",   0x000000, 0x20000, CRC(c94acf53) SHA1(5710861dbe976fe53b93d3428147d1ce7aaae18a) ) /* Territory block seems to have no effect and it's licensed */
16641664   ROM_LOAD16_BYTE( "b90_02.1",   0x000001, 0x20000, CRC(d17f03c3) SHA1(ac41e6c29aa507872caeeaec6a3bc24c705a3702) ) /* to "Taito Corp." the later set shows "Taito Corporation" */
r5338r5339
17101710   ROM_LOAD( "tp015_15.bpr",  0x20, 0x20, CRC(a1e17492) SHA1(9ddec4c97f2d541f69f3c32c47aaa21fd9699ae2) )   /* ??? */
17111711ROM_END
17121712
1713ROM_START( zerowng2 ) /* 2 player simultaneous version */
1713ROM_START( zerowing2 ) /* 2 player simultaneous version */
17141714   ROM_REGION( 0x080000, "maincpu", 0 )   /* Main 68K code */
17151715   ROM_LOAD16_BYTE( "o15-11iiw.bin",  0x000000, 0x08000, CRC(38b0bb5b) SHA1(e5a4c0b6c279a55701c82bf9e285a806054f8d23) )
17161716   ROM_LOAD16_BYTE( "o15-12iiw.bin",  0x000001, 0x08000, CRC(74c91e6f) SHA1(8cf5d10a5f4efda0903a4c5d56599861ccc8f1c1) )
r5338r5339
17661766   ROM_LOAD( "prom13.bpr",  0x20, 0x20, CRC(a1e17492) SHA1(9ddec4c97f2d541f69f3c32c47aaa21fd9699ae2) )   /* ??? */
17671767ROM_END
17681768
1769ROM_START( demonwl1 )
1769ROM_START( demonwld1 )
17701770   ROM_REGION( 0x040000, "maincpu", 0 )   /* Main 68K code */
17711771   ROM_LOAD16_BYTE( "o16-10.rom", 0x000000, 0x20000, CRC(036ee46c) SHA1(60868e5e08e0c9a538ae786de0de6b2531b30b11) )
17721772   ROM_LOAD16_BYTE( "o16-09.rom", 0x000001, 0x20000, CRC(bed746e3) SHA1(056668edb7df99bbd240e387af17cf252d1448f3) )
r5338r5339
17951795   ROM_LOAD( "prom13.bpr",  0x20, 0x20, CRC(a1e17492) SHA1(9ddec4c97f2d541f69f3c32c47aaa21fd9699ae2) )   /* ??? */
17961796ROM_END
17971797
1798ROM_START( demonwl2 )
1798ROM_START( demonwld2 )
17991799   ROM_REGION( 0x040000, "maincpu", 0 )   /* Main 68K code */
18001800   ROM_LOAD16_BYTE( "o16-10-2.bin", 0x000000, 0x20000, CRC(84ee5218) SHA1(dc2b017ee630330163be320008d8a0d761cb0cfb) )
18011801   ROM_LOAD16_BYTE( "o16-09-2.bin", 0x000001, 0x20000, CRC(cf474cb2) SHA1(5c049082b8d7118e0d2e50c6ae07f9d3d0110498) )
r5338r5339
18241824   ROM_LOAD( "prom13.bpr",  0x20, 0x20, CRC(a1e17492) SHA1(9ddec4c97f2d541f69f3c32c47aaa21fd9699ae2) )   /* ??? */
18251825ROM_END
18261826
1827ROM_START( demonwl3 )
1827ROM_START( demonwld3 )
18281828   ROM_REGION( 0x040000, "maincpu", 0 )   /* Main 68K code */
18291829   ROM_LOAD16_BYTE( "o16-10.bin", 0x000000, 0x20000, CRC(6f7468e0) SHA1(87ef7733fd0d00d0d375dbf30332cf0614480dc2) )
18301830   ROM_LOAD16_BYTE( "o16-09.bin", 0x000001, 0x20000, CRC(a572f5f7) SHA1(3d6a443cecd46734c7e1b761130909482c7a9914) )
r5338r5339
18531853   ROM_LOAD( "prom13.bpr",  0x20, 0x20, CRC(a1e17492) SHA1(9ddec4c97f2d541f69f3c32c47aaa21fd9699ae2) )   /* ??? */
18541854ROM_END
18551855
1856ROM_START( demonwl4 )
1856ROM_START( demonwld4 )
18571857   ROM_REGION( 0x040000, "maincpu", 0 )   /* Main 68K code */
18581858   ROM_LOAD16_BYTE( "o16_10ii", 0x000000, 0x20000, CRC(84EE5218) SHA1(DC2B017EE630330163BE320008D8A0D761CB0CFB) )
18591859   ROM_LOAD16_BYTE( "o16_09ii", 0x000001, 0x20000, CRC(CF474CB2) SHA1(5C049082B8D7118E0D2E50C6AE07F9D3D0110498) )
r5338r5339
19101910   ROM_LOAD( "prom15.20c",  0x20, 0x20, CRC(a1e17492) SHA1(9ddec4c97f2d541f69f3c32c47aaa21fd9699ae2) )   /* ??? */
19111911ROM_END
19121912
1913ROM_START( samesam2 )
1913ROM_START( samesame2 )
19141914   ROM_REGION( 0x080000, "maincpu", 0 )   /* Main 68K code */
19151915   ROM_LOAD16_BYTE( "o17_09x.bin", 0x000000, 0x08000, CRC(3472e03e) SHA1(a0f12622a1963bfac2d5f357afbfb5d7db2cd8df) )
19161916   ROM_LOAD16_BYTE( "o17_10x.bin", 0x000001, 0x08000, CRC(a3ac49b5) SHA1(c5adf026b9129b64acee5a079e102377a8488220) )
r5338r5339
19661966   ROM_LOAD( "prom15.20c",  0x20, 0x20, CRC(a1e17492) SHA1(9ddec4c97f2d541f69f3c32c47aaa21fd9699ae2) )   /* ??? */
19671967ROM_END
19681968
1969ROM_START( fireshd )
1969ROM_START( fireshrkd )
19701970   ROM_REGION( 0x080000, "maincpu", 0 )   /* Main 68K code */
19711971   ROM_LOAD16_BYTE( "o17_09dyn.8j",0x000000, 0x10000, CRC(e25eee27) SHA1(1ff3f838123180a0b6672c9beee6c0f0092a0f94) )
19721972   ROM_LOAD16_BYTE( "o17_10dyn.8l",0x000001, 0x10000, CRC(c4c58cf6) SHA1(5867ecf66cd6c16cfcc54a581d3f4a8b666fd839) )
r5338r5339
19941994   ROM_LOAD( "prom15.20c",  0x20, 0x20, CRC(a1e17492) SHA1(9ddec4c97f2d541f69f3c32c47aaa21fd9699ae2) )   /* ??? */
19951995ROM_END
19961996
1997ROM_START( fireshdh )
1997ROM_START( fireshrkdh )
19981998   ROM_REGION( 0x080000, "maincpu", 0 )   /* Main 68K code */
19991999   ROM_LOAD16_BYTE( "o17_09dyh.8j",0x000000, 0x10000, CRC(7b4c14dd) SHA1(d40dcf223f16c0f507aeb282d1524dbf1349c536) )
20002000   ROM_LOAD16_BYTE( "o17_10dyh.8l",0x000001, 0x10000, CRC(a3f159f9) SHA1(afc9630ca38da730f7cf4954d1333954e8d75787) )
r5338r5339
22402240GAME( 1988, rallybik, 0,        rallybik, rallybik, toaplan1, ROT270, "[Toaplan] Taito Corporation", "Rally Bike / Dash Yarou", 0 )
22412241GAME( 1988, truxton,  0,        truxton,  truxton,  toaplan1, ROT270, "[Toaplan] Taito Corporation", "Truxton / Tatsujin", 0 )
22422242GAME( 1989, hellfire, 0,        hellfire, hellfire, toaplan1, ROT0,   "Toaplan (Taito license)", "Hellfire (2P Ver.)", 0 )
2243GAME( 1989, hellfir1, hellfire, hellfire, hellfir1, toaplan1, ROT0,   "Toaplan (Taito license)", "Hellfire (1P Ver.)", 0 )
2244GAME( 1989, hellfir2, hellfire, hellfire, hellfire, toaplan1, ROT0,   "Toaplan (Taito license)", "Hellfire (2P Ver., first edition)", 0 )
2243GAME( 1989, hellfire1,hellfire, hellfire, hellfir1, toaplan1, ROT0,   "Toaplan (Taito license)", "Hellfire (1P Ver.)", 0 )
2244GAME( 1989, hellfire2,hellfire, hellfire, hellfire, toaplan1, ROT0,   "Toaplan (Taito license)", "Hellfire (2P Ver., first edition)", 0 )
22452245GAME( 1989, zerowing, 0,        zerowing, zerowing, toaplan1, ROT0,   "Toaplan", "Zero Wing", 0 )
2246GAME( 1989, zerowng2, zerowing, zerowing, zerowng2, toaplan1, ROT0,   "[Toaplan] Williams Electronics Games, Inc", "Zero Wing (2 player simultaneous ver.)", 0 )
2246GAME( 1989, zerowing2,zerowing, zerowing, zerowng2, toaplan1, ROT0,   "[Toaplan] Williams Electronics Games, Inc", "Zero Wing (2 player simultaneous ver.)", 0 )
22472247GAME( 1990, demonwld, 0,        demonwld, demonwld, demonwld, ROT0,   "Toaplan", "Demon's World / Horror Story (set 1)", 0 )
2248GAME( 1989, demonwl1, demonwld, demonwld, demonwl1, demonwld, ROT0,   "Toaplan", "Demon's World / Horror Story (Taito license, set 2)", 0 )
2249GAME( 1989, demonwl2, demonwld, demonwld, demonwl1, demonwld, ROT0,   "Toaplan", "Demon's World / Horror Story (set 3)", 0 )
2250GAME( 1989, demonwl3, demonwld, demonwld, demonwl1, demonwld, ROT0,   "Toaplan", "Demon's World / Horror Story (set 4)", 0 )
2251GAME( 1989, demonwl4, demonwld, demonwld, demonwl1, demonwld, ROT0,   "Toaplan", "Demon's World / Horror Story (set 5)", 0 )
2248GAME( 1989, demonwld1,demonwld, demonwld, demonwl1, demonwld, ROT0,   "Toaplan", "Demon's World / Horror Story (Taito license, set 2)", 0 )
2249GAME( 1989, demonwld2,demonwld, demonwld, demonwl1, demonwld, ROT0,   "Toaplan", "Demon's World / Horror Story (set 3)", 0 )
2250GAME( 1989, demonwld3,demonwld, demonwld, demonwl1, demonwld, ROT0,   "Toaplan", "Demon's World / Horror Story (set 4)", 0 )
2251GAME( 1989, demonwld4,demonwld, demonwld, demonwl1, demonwld, ROT0,   "Toaplan", "Demon's World / Horror Story (set 5)", 0 )
22522252GAME( 1990, fireshrk, 0,        samesame, fireshrk, toaplan1, ROT270, "Toaplan", "Fire Shark", GAME_NO_SOUND )
2253GAME( 1990, fireshd,  fireshrk, samesame, samesam2, toaplan1, ROT270, "Toaplan (Dooyong license)", "Fire Shark (Korea, set 1, easier)", GAME_NO_SOUND )
2254GAME( 1990, fireshdh, fireshrk, samesame, samesam2, toaplan1, ROT270, "Toaplan (Dooyong license)", "Fire Shark (Korea, set 2, harder)", GAME_NO_SOUND )
2253GAME( 1990, fireshrkd,  fireshrk, samesame, samesam2, toaplan1, ROT270, "Toaplan (Dooyong license)", "Fire Shark (Korea, set 1, easier)", GAME_NO_SOUND )
2254GAME( 1990, fireshrkdh, fireshrk, samesame, samesam2, toaplan1, ROT270, "Toaplan (Dooyong license)", "Fire Shark (Korea, set 2, harder)", GAME_NO_SOUND )
22552255GAME( 1989, samesame, fireshrk, samesame, samesame, toaplan1, ROT270, "Toaplan", "Same! Same! Same! (2 player alternating ver.)", GAME_NO_SOUND )
2256GAME( 1989, samesam2, fireshrk, samesame, samesam2, toaplan1, ROT270, "Toaplan", "Same! Same! Same!", GAME_NO_SOUND )
2256GAME( 1989, samesame2,fireshrk, samesame, samesam2, toaplan1, ROT270, "Toaplan", "Same! Same! Same!", GAME_NO_SOUND )
22572257GAME( 1990, outzone,  0,        outzone,  outzone,  toaplan1, ROT270, "Toaplan", "Out Zone (set 1)", 0 ) // later fixed version
22582258GAME( 1990, outzonea, outzone,  outzone,  outzone,  toaplan1, ROT270, "Toaplan", "Out Zone (set 2)", 0 )
22592259GAME( 1990, outzoneb, outzone,  outzone,  outzoneb, toaplan1, ROT270, "Toaplan", "Out Zone (set 3, prototype?)", 0 ) // early revision at least
src/mame/drivers/segag80r.c
r5338r5339
12471247   ROM_LOAD( "pr1512.u31",     0x0000, 0x0020, CRC(414ebe9b) SHA1(3df8694e3d26635d19fd4cdf02bd0998e8538b5b) )  /* U31 */
12481248ROM_END
12491249
1250ROM_START( monster2 )
1250ROM_START( monsterb2 )
12511251   ROM_REGION( 0xc000, "maincpu", 0 )
12521252   ROM_LOAD( "epr-1548",     0x0000, 0x2000, CRC(239f77c1) SHA1(2945e4b135c1c46bf3e0d947b3d9be052f12e8d8) )
12531253   ROM_LOAD( "epr-1549",     0x2000, 0x2000, CRC(40aeb223) SHA1(8e0cc1b53ded819673719ffe1fd69feb1ca6fa29) )
r5338r5339
15501550GAME( 1982, monsterb, 0,       monsterb, monsterb, monsterb, ROT270, "Sega", "Monster Bash", 0 )
15511551
15521552/* 2-board G-80 system */
1553GAME( 1982, monster2, monsterb,monsterb, monsterb, monster2, ROT270, "Sega", "Monster Bash (2 board version)", 0 )
1553GAME( 1982, monsterb2,monsterb,monsterb, monsterb, monster2, ROT270, "Sega", "Monster Bash (2 board version)", 0 )
15541554GAME( 1983, pignewt,  0,       pignewt,  pignewt,  pignewt,  ROT270, "Sega", "Pig Newton (version C)", GAME_IMPERFECT_SOUND )
15551555GAME( 1983, pignewta, pignewt, pignewt,  pignewta, pignewt,  ROT270, "Sega", "Pig Newton (version A)", GAME_IMPERFECT_SOUND )
15561556GAME( 1983, sindbadm, 0,       sindbadm, sindbadm, sindbadm, ROT270, "Sega", "Sindbad Mystery", 0 )
src/mame/drivers/magic10.c
r5338r5339
360360
361361static INPUT_PORTS_START( magic10 )
362362   PORT_START("INPUTS")
363   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
364   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
365   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
366   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
367   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
363   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
364   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
365   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
366   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
367   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
368368   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_START1 )
369   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Play (Bet/Take)") PORT_CODE(KEYCODE_A)
369   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Play (Bet / Take)")
370370   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Lots FC") PORT_CODE(KEYCODE_S)
371371   PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_COIN1 )
372372   PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_NAME("Note A")
r5338r5339
375375   PORT_SERVICE_NO_TOGGLE( 0x1000, IP_ACTIVE_LOW )
376376   PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Out Hole") PORT_CODE(KEYCODE_D)
377377   PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_COIN5 ) PORT_NAME("Note D") PORT_CODE(KEYCODE_9)
378   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Collect") PORT_CODE(KEYCODE_M)
378   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT ) PORT_NAME("Collect")
379379
380380   PORT_START("DSW")
381381   PORT_DIPNAME( 0x0001, 0x0001, "Display Logo" )
r5338r5339
436436   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED )
437437
438438   PORT_START("IN1")
439   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
440   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
441   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
442   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
443   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
439   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
440   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
441   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
442   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
443   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
444444   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_START1 )
445   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Bet") PORT_CODE(KEYCODE_2)
446   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Collect") PORT_CODE(KEYCODE_M)
445   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
446   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT ) PORT_NAME("Collect")
447447   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED )
448448
449449/*
r5338r5339
508508static INPUT_PORTS_START( hotslot )
509509   PORT_START("IN0")
510510   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Win-Tab") PORT_CODE(KEYCODE_A)
511   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
512   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
513   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
514   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("1/2 Win") PORT_CODE(KEYCODE_S)
511   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
512   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
513   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
514   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_GAMBLE_HALF ) PORT_NAME("1/2 Win")
515515   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_START1 )
516   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_2)
517   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_OTHER )   PORT_NAME("Hopper") PORT_CODE(KEYCODE_H)
516   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
517   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hopper") PORT_CODE(KEYCODE_H)
518518   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED )
519519
520520   PORT_START("IN1")
521521   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 )
522   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_NAME("Note A")
523   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_COIN3 )   PORT_NAME("Note B")
524   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_COIN4 )   PORT_NAME("Note C")
522   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_NAME("Note A")
523   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_NAME("Note B")
524   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_NAME("Note C")
525525   PORT_SERVICE_NO_TOGGLE( 0x0010, IP_ACTIVE_LOW )
526   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_OTHER )   PORT_NAME("Outhole") PORT_CODE(KEYCODE_Q)
527   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_COIN5 )   PORT_NAME("Note D") PORT_CODE(KEYCODE_9)
528   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_OTHER )   PORT_NAME("Door") PORT_CODE(KEYCODE_D)
526   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Outhole") PORT_CODE(KEYCODE_S)
527   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_COIN5 ) PORT_NAME("Note D") PORT_CODE(KEYCODE_9)
528   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_GAMBLE_DOOR )
529529   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED )
530530
531531    PORT_START("IN2")
r5338r5339
558558
559559static INPUT_PORTS_START( sgsafari )
560560   PORT_START("IN0")
561   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1")               PORT_CODE(KEYCODE_Z)
562   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2 / Head")        PORT_CODE(KEYCODE_X)
563   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3")               PORT_CODE(KEYCODE_C)
564   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4 / Tail")        PORT_CODE(KEYCODE_V)
565   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5 / Half Gamble") PORT_CODE(KEYCODE_B)
566   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_START1 )  PORT_NAME("Start")
567   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Play (Bet/Take/Cancel)") PORT_CODE(KEYCODE_A)
561   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
562   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Hold 2 / Head")
563   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
564   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Hold 4 / Tail")
565   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Hold 5 / Half Gamble")
566   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
567   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Play (Bet / Take / Cancel)")
568568   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN )
569569
570   PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_NAME("Coin 1")
571   PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_NAME("Coin 2")
572   PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_COIN3 )   PORT_NAME("Note B")
573   PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_COIN4 )   PORT_NAME("Note C")
570   PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_NAME("Coin 1")
571   PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_NAME("Coin 2")
572   PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_NAME("Note B")
573   PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_NAME("Note C")
574574   PORT_SERVICE_NO_TOGGLE( 0x1000, IP_ACTIVE_LOW )
575575   PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN )
576   PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_COIN5 )   PORT_NAME("Note D")               PORT_CODE(KEYCODE_9)
577   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Payout / Super Game")  PORT_CODE(KEYCODE_W)
576   PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_COIN5 ) PORT_NAME("Note D") PORT_CODE(KEYCODE_9)
577   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT ) PORT_NAME("Payout / Super Game")
578578
579579    PORT_START("DSW1")
580580    PORT_BIT( 0x00ff, IP_ACTIVE_HIGH, IPT_UNUSED )
r5338r5339
11371137GAME(  1997, magic102, 0,        magic102, magic102, magic102, ROT0, "ABM Games",            "Magic's 10 2 (ver 1.1)",       GAME_NOT_WORKING                 )
11381138GAME(  1997, suprpool, 0,        magic102, magic102, suprpool, ROT0, "ABM Games",            "Super Pool (9743 rev.01)",     GAME_NOT_WORKING                 )
11391139GAME(  1996, hotslot,  0,        hotslot,  hotslot,  hotslot,  ROT0, "ABM Electronics",      "Hot Slot (ver. 05.01)",        GAME_NOT_WORKING                 )
1140GAME(  1999, mcolors,  0,        magic102, magic102, magic102, ROT0, "unknown",              "Magic Colors (ver. 1.7a)",     GAME_NOT_WORKING                 )
1140GAME(  1999, mcolors,  0,        magic102, magic102, magic102, ROT0, "<unknown>",            "Magic Colors (ver. 1.7a)",     GAME_NOT_WORKING                 )
11411141GAMEL( 1996, sgsafari, 0,        sgsafari, sgsafari, sgsafari, ROT0, "New Impeuropex Corp.", "Super Gran Safari (ver 3.11)", 0,               layout_sgsafari )
src/mame/drivers/tmnt.c
r5338r5339
29832983   ROM_LOAD( "907d04.d3",    0x0000, 0x80000, CRC(090feb5e) SHA1(2394907b62ff0724c277642caf6375239249e2d7) )
29842984ROM_END
29852985
2986ROM_START( punksht2 )
2986ROM_START( punkshot2 )
29872987   ROM_REGION( 0x40000, "maincpu", 0 )   /* 2*128k for 68000 code */
29882988   ROM_LOAD16_BYTE( "907m02.i7",    0x00000, 0x20000, CRC(59e14575) SHA1(249fc98a2d5fa3e4779438c37d22c0256be8d3fa) )
29892989   ROM_LOAD16_BYTE( "907m03.i10",   0x00001, 0x20000, CRC(adb14b1e) SHA1(c5db1c3b70ab3e53cd6a600b82bdccda4db05f90) )
r5338r5339
30033003   ROM_LOAD( "907d04.d3",    0x0000, 0x80000, CRC(090feb5e) SHA1(2394907b62ff0724c277642caf6375239249e2d7) )
30043004ROM_END
30053005
3006ROM_START( punkshtj )
3006ROM_START( punkshotj )
30073007   ROM_REGION( 0x40000, "maincpu", 0 )   /* 2*128k for 68000 code */
30083008   ROM_LOAD16_BYTE( "907z02.i7",    0x00000, 0x20000, CRC(7a3a5c89) SHA1(240967b911df8939b048bbcdfcac668455fc82e9) )
30093009   ROM_LOAD16_BYTE( "907z03.i10",   0x00001, 0x20000, CRC(22a3d9d6) SHA1(76f016435956088aa680297ee9ba0abda446a7bb) )
r5338r5339
30433043   ROM_LOAD( "939a04.c5",    0x0000, 0x80000, CRC(c24e2b6e) SHA1(affc142883c2383afd08dcf156e48709ceca49fd) )
30443044ROM_END
30453045
3046ROM_START( lgtnfghu )
3046ROM_START( lgtnfghtu )
30473047   ROM_REGION( 0x40000, "maincpu", 0 )   /* 2*128k for 68000 code */
30483048   ROM_LOAD16_BYTE( "939m02.e11",   0x00000, 0x20000, CRC(61a12184) SHA1(f6d82aa0a444f885fd1e5d3d1464798b639a1710) )
30493049   ROM_LOAD16_BYTE( "939m03.e15",   0x00001, 0x20000, CRC(6db6659d) SHA1(def943b906eab68a0b86f9a28fb0b9a1f3b65e4c) )
r5338r5339
30633063   ROM_LOAD( "939a04.c5",    0x0000, 0x80000, CRC(c24e2b6e) SHA1(affc142883c2383afd08dcf156e48709ceca49fd) )
30643064ROM_END
30653065
3066ROM_START( lgtnfgha )
3066ROM_START( lgtnfghta )
30673067   ROM_REGION( 0x40000, "maincpu", 0 )   /* 2*128k for 68000 code */
30683068   ROM_LOAD16_BYTE( "939j_02.e11",   0x00000, 0x20000, CRC(bbbb4a74) SHA1(5ba5bb1a5b48a99aafc2b5b5bafe755566eda0e9) )
30693069   ROM_LOAD16_BYTE( "939j_03.e15",   0x00001, 0x20000, CRC(8d4da7b7) SHA1(0c5b0421ce6908eec458dcded3609d150a710b97) )
r5338r5339
31773177   ROM_LOAD( "061e04.1d",    0x0000, 0x100000, CRC(7921d8df) SHA1(19ca4850ec489cca245e90a41bfc22493cd52263) )
31783178ROM_END
31793179
3180ROM_START( glfgretj )
3180ROM_START( glfgreatj )
31813181   ROM_REGION( 0x40000, "maincpu", 0 ) /* 2*128k for 68000 code */
31823182   ROM_LOAD16_BYTE( "061j02.1h",   0x000000, 0x20000, CRC(7f0d95f4) SHA1(20b66cb07ca350dcc11d781511d04988bcff9019) )
31833183   ROM_LOAD16_BYTE( "061j03.4h",   0x000001, 0x20000, CRC(06caa38b) SHA1(95a08133f6b025db5f50f528aad480af579ebe3d) )
r5338r5339
33553355   ROM_LOAD( "064e06.1d",    0x0000, 0x100000, CRC(59810df9) SHA1(a0affc6330bdbfab1447dc0cf13c20ff708c2c71) )
33563356ROM_END
33573357
3358ROM_START( ssrdrebd )
3358ROM_START( ssridersebd )
33593359   ROM_REGION( 0xc0000, "maincpu", 0 ) /* 2*256k and 2*128k for 68000 code */
33603360   ROM_LOAD16_BYTE( "064ebd02.8e",  0x000000, 0x40000, CRC(8deef9ac) SHA1(406ef2b022a59ed958674f432ed50f6ed37fd3c4) )
33613361   ROM_LOAD16_BYTE( "064ebd03.8g",  0x000001, 0x40000, CRC(2370c107) SHA1(85d2bd8dde928f647a5d34ac98d2df2ed559f7a2) )
r5338r5339
33773377   ROM_LOAD( "064e06.1d",    0x0000, 0x100000, CRC(59810df9) SHA1(a0affc6330bdbfab1447dc0cf13c20ff708c2c71) )
33783378ROM_END
33793379
3380ROM_START( ssrdrebc )
3380ROM_START( ssridersebc )
33813381   ROM_REGION( 0xc0000, "maincpu", 0 ) /* 2*256k and 2*128k for 68000 code */
33823382   ROM_LOAD16_BYTE( "064ebc02.8e",  0x000000, 0x40000, CRC(9bd7d164) SHA1(492abdaf62fe7cb72b7e53076a05c987503c738a) )
33833383   ROM_LOAD16_BYTE( "064ebc03.8g",  0x000001, 0x40000, CRC(40fd4165) SHA1(c30d7560aae6e9f0bebe2d6d3e0e11b56634de0c) )
r5338r5339
33993399   ROM_LOAD( "064e06.1d",    0x0000, 0x100000, CRC(59810df9) SHA1(a0affc6330bdbfab1447dc0cf13c20ff708c2c71) )
34003400ROM_END
34013401
3402ROM_START( ssrdreaa )
3402ROM_START( ssriderseaa )
34033403   ROM_REGION( 0xc0000, "maincpu", 0 ) /* 2*256k and 2*128k for 68000 code */
34043404   ROM_LOAD16_BYTE( "064eaa02.8e",   0x000000, 0x40000, CRC(4844660f) SHA1(d2ef7a1b20f09cb63564e62dfe09bfed098a0faa) )
34053405   ROM_LOAD16_BYTE( "064eaa03.8g",   0x000001, 0x40000, CRC(0b9bcc7c) SHA1(d291da7f1eaa79ab1dfa402b862ba69061c83bdb) )
r5338r5339
34213421   ROM_LOAD( "064e06.1d",    0x0000, 0x100000, CRC(59810df9) SHA1(a0affc6330bdbfab1447dc0cf13c20ff708c2c71) )
34223422ROM_END
34233423
3424ROM_START( ssrdruda )
3424ROM_START( ssridersuda )
34253425   ROM_REGION( 0xc0000, "maincpu", 0 ) /* 2*256k and 2*128k for 68000 code */
34263426   ROM_LOAD16_BYTE( "064uda02.8e",  0x000000, 0x40000, CRC(5129a6b7) SHA1(8892d7043e7b0aee9eaffde9fa9bfd9bbfb7f15f) )
34273427   ROM_LOAD16_BYTE( "064uda03.8g",  0x000001, 0x40000, CRC(9f887214) SHA1(f5e22230b7dca42242f3f244e45e67a4bbbdb65f) )
r5338r5339
34433443   ROM_LOAD( "064e06.1d",    0x0000, 0x100000, CRC(59810df9) SHA1(a0affc6330bdbfab1447dc0cf13c20ff708c2c71) )
34443444ROM_END
34453445
3446ROM_START( ssrdruac )
3446ROM_START( ssridersuac )
34473447   ROM_REGION( 0xc0000, "maincpu", 0 ) /* 2*256k and 2*128k for 68000 code */
34483448   ROM_LOAD16_BYTE( "064uac02.8e",  0x000000, 0x40000, CRC(870473b6) SHA1(2e2fd5c6df3fa8da6655699043e08a8f918ef63c) )
34493449   ROM_LOAD16_BYTE( "064uac03.8g",  0x000001, 0x40000, CRC(eadf289a) SHA1(824230714ae0c1d065e83719bb344e76a5ca1fba) )
r5338r5339
34653465   ROM_LOAD( "064e06.1d",    0x0000, 0x100000, CRC(59810df9) SHA1(a0affc6330bdbfab1447dc0cf13c20ff708c2c71) )
34663466ROM_END
34673467
3468ROM_START( ssrdrubc )
3468ROM_START( ssridersubc )
34693469   ROM_REGION( 0xc0000, "maincpu", 0 ) /* 2*256k and 2*128k for 68000 code */
34703470   ROM_LOAD16_BYTE( "064ubc02.8e",  0x000000, 0x40000, CRC(aca7fda5) SHA1(318fdefbea70724e95f2537b1915bc3a7abbb644) )
34713471   ROM_LOAD16_BYTE( "064ubc03.8g",  0x000001, 0x40000, CRC(bb1fdeff) SHA1(1b74954258e3e8fdc80dd3c27785c945e57d36f8) )
r5338r5339
34873487   ROM_LOAD( "064e06.1d",    0x0000, 0x100000, CRC(59810df9) SHA1(a0affc6330bdbfab1447dc0cf13c20ff708c2c71) )
34883488ROM_END
34893489
3490ROM_START( ssrdrabd )
3490ROM_START( ssridersabd )
34913491   ROM_REGION( 0xc0000, "maincpu", 0 ) /* 2*256k and 2*128k for 68000 code */
34923492   ROM_LOAD16_BYTE( "064abd02.8e",  0x000000, 0x40000, CRC(713406cb) SHA1(23769413bfce6cf7039437d0fa25a7b4b9c86387) )
34933493   ROM_LOAD16_BYTE( "064abd03.8g",  0x000001, 0x40000, CRC(680feb3c) SHA1(379082cccdbc579a88afcf771f6deb64e4baf4d6) )
r5338r5339
35093509   ROM_LOAD( "064e06.1d",    0x0000, 0x100000, CRC(59810df9) SHA1(a0affc6330bdbfab1447dc0cf13c20ff708c2c71) )
35103510ROM_END
35113511
3512ROM_START( ssrdradd )
3512ROM_START( ssridersadd )
35133513   ROM_REGION( 0xc0000, "maincpu", 0 ) /* 2*256k and 2*128k for 68000 code */
35143514   ROM_LOAD16_BYTE( "064add02.8e",  0x000000, 0x40000, CRC(06b0138e) SHA1(6d8e00a62faae1b87fafed288a920edd5456b660) )
35153515   ROM_LOAD16_BYTE( "064add03.8g",  0x000001, 0x40000, CRC(03eb8b91) SHA1(e12f5e5eb89e59277d027f9942fdc38f67cb1066) )
r5338r5339
35313531   ROM_LOAD( "064e06.1d",    0x0000, 0x100000, CRC(59810df9) SHA1(a0affc6330bdbfab1447dc0cf13c20ff708c2c71) )
35323532ROM_END
35333533
3534ROM_START( ssrdrjbd )
3534ROM_START( ssridersjbd )
35353535   ROM_REGION( 0xc0000, "maincpu", 0 ) /* 2*256k and 2*128k for 68000 code */
35363536   ROM_LOAD16_BYTE( "064jbd02.8e",  0x000000, 0x40000, CRC(7acdc1e3) SHA1(09679403abe695758d01fb0161168bc93888f915) )
35373537   ROM_LOAD16_BYTE( "064jbd03.8g",  0x000001, 0x40000, CRC(6a424918) SHA1(3e7a66adc934b1ed4ecd75a36d5a1c133916ac66) )
r5338r5339
35533553   ROM_LOAD( "064e06.1d",    0x0000, 0x100000, CRC(59810df9) SHA1(a0affc6330bdbfab1447dc0cf13c20ff708c2c71) )
35543554ROM_END
35553555
3556ROM_START( sunsetbl )
3556ROM_START( ssridersb )
35573557   ROM_REGION( 0x100000, "maincpu", 0 ) /* 2*32k for 68000 code */
35583558   ROM_LOAD16_WORD_SWAP( "sunsetb.03",   0x000000, 0x080000, CRC(37ffe90b) SHA1(3f8542243f2a0c0718056672a906b70af5894a86) )
35593559   ROM_LOAD16_WORD_SWAP( "sunsetb.04",   0x080000, 0x080000, CRC(8ff647b7) SHA1(75144ce928fc4e7d24d9dd50a93e11ea41903bc4) )
r5338r5339
36623662   ROM_LOAD( "101a06.1d",    0x0000, 0x200000, CRC(4f48e043) SHA1(f50e8642d9d3a028c243777640e7cd13da1abf86) )
36633663ROM_END
36643664
3665ROM_START( prmrsocj )
3665ROM_START( prmrsocrj )
36663666   ROM_REGION( 0x80000, "maincpu", 0 ) /* 2*256k for 68000 code */
36673667   ROM_LOAD16_BYTE( "101jab08.1h", 0x000000, 0x40000, CRC(c22b528c) SHA1(6c96ba573f7bb5be1d52d9352f57d7a402bc96b4) )
36683668   ROM_LOAD16_BYTE( "101jab07.4h", 0x000001, 0x40000, CRC(06e7acaf) SHA1(d7197bb1c3b28cbe82dd4e25302e00f7c1838208) )
r5338r5339
39553955GAME( 1989, tmnt2po,  tmnt,     tmnt,     tmnt2p,   tmnt,     ROT0,  "Konami", "Teenage Mutant Ninja Turtles (Oceania 2 Players)", 0 )
39563956
39573957GAME( 1990, punkshot, 0,        punkshot, punkshot, gfx,      ROT0,  "Konami", "Punk Shot (US 4 Players)", 0 )
3958GAME( 1990, punksht2, punkshot, punkshot, punksht2, gfx,      ROT0,  "Konami", "Punk Shot (US 2 Players)", 0 )
3959GAME( 1990, punkshtj, punkshot, punkshot, punksht2, gfx,      ROT0,  "Konami", "Punk Shot (Japan 2 Players)", 0 )
3958GAME( 1990, punkshot2,punkshot, punkshot, punksht2, gfx,      ROT0,  "Konami", "Punk Shot (US 2 Players)", 0 )
3959GAME( 1990, punkshotj,punkshot, punkshot, punksht2, gfx,      ROT0,  "Konami", "Punk Shot (Japan 2 Players)", 0 )
39603960
39613961GAME( 1990, lgtnfght, 0,        lgtnfght, lgtnfght, gfx,      ROT90, "Konami", "Lightning Fighters (World)", 0 )
3962GAME( 1990, lgtnfgha, lgtnfght, lgtnfght, lgtnfght, gfx,      ROT90, "Konami", "Lightning Fighters (Asia)", 0 )
3963GAME( 1990, lgtnfghu, lgtnfght, lgtnfght, lgtnfght, gfx,      ROT90, "Konami", "Lightning Fighters (US)", 0 )
3962GAME( 1990, lgtnfghta,lgtnfght, lgtnfght, lgtnfght, gfx,      ROT90, "Konami", "Lightning Fighters (Asia)", 0 )
3963GAME( 1990, lgtnfghtu,lgtnfght, lgtnfght, lgtnfght, gfx,      ROT90, "Konami", "Lightning Fighters (US)", 0 )
39643964GAME( 1990, trigon,   lgtnfght, lgtnfght, lgtnfght, gfx,      ROT90, "Konami", "Trigon (Japan)", 0 )
39653965
39663966GAME( 1991, blswhstl, 0,        blswhstl, blswhstl, gfx,      ROT90, "Konami", "Bells & Whistles (Version L)", 0 )
39673967GAME( 1991, detatwin, blswhstl, blswhstl, blswhstl, gfx,      ROT90, "Konami", "Detana!! Twin Bee (Japan ver. J)", 0 )
39683968
39693969GAME( 1991, glfgreat, 0,        glfgreat, glfgreat, glfgreat, ROT0,  "Konami", "Golfing Greats", GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
3970GAME( 1991, glfgretj, glfgreat, glfgreat, glfgreat, glfgreat, ROT0,  "Konami", "Golfing Greats (Japan)", GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
3970GAME( 1991, glfgreatj,glfgreat, glfgreat, glfgreat, glfgreat, ROT0,  "Konami", "Golfing Greats (Japan)", GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
39713971
39723972GAME( 1991, tmnt2,    0,        tmnt2,    ssridr4p, gfx,      ROT0,  "Konami", "Teenage Mutant Ninja Turtles - Turtles in Time (4 Players ver UAA)", 0 ) // ver. UAA
39733973GAME( 1991, tmnt2a,   tmnt2,    tmnt2,    ssrid4ps, gfx,      ROT0,  "Konami", "Teenage Mutant Ninja Turtles - Turtles in Time (4 Players ver ADA)", 0 ) // ver. ADA
r5338r5339
39763976
39773977GAME( 1993, qgakumon, 0,        tmnt2,    qgakumon, gfx,      ROT0,  "Konami", "Quiz Gakumon no Susume (Japan ver. JA2 Type L)", 0 )
39783978
3979GAME( 1991, ssriders, 0,        ssriders, ssridr4p, gfx,      ROT0,  "Konami", "Sunset Riders (4 Players ver EAC)", GAME_IMPERFECT_GRAPHICS )
3980GAME( 1991, ssrdrebd, ssriders, ssriders, ssriders, gfx,      ROT0,  "Konami", "Sunset Riders (2 Players ver EBD)", GAME_IMPERFECT_GRAPHICS )
3981GAME( 1991, ssrdrebc, ssriders, ssriders, ssriders, gfx,      ROT0,  "Konami", "Sunset Riders (2 Players ver EBC)", GAME_IMPERFECT_GRAPHICS )
3982GAME( 1991, ssrdruda, ssriders, ssriders, ssrid4ps, gfx,      ROT0,  "Konami", "Sunset Riders (4 Players ver UDA)", GAME_IMPERFECT_GRAPHICS )
3983GAME( 1991, ssrdreaa, ssriders, ssriders, ssrid4ps, gfx,      ROT0,  "Konami", "Sunset Riders (4 Players ver EAA)", GAME_IMPERFECT_GRAPHICS )
3984GAME( 1991, ssrdruac, ssriders, ssriders, ssridr4p, gfx,      ROT0,  "Konami", "Sunset Riders (4 Players ver UAC)", GAME_IMPERFECT_GRAPHICS )
3985GAME( 1991, ssrdrubc, ssriders, ssriders, ssriders, gfx,      ROT0,  "Konami", "Sunset Riders (2 Players ver UBC)", GAME_IMPERFECT_GRAPHICS )
3986GAME( 1991, ssrdrabd, ssriders, ssriders, ssriders, gfx,      ROT0,  "Konami", "Sunset Riders (2 Players ver ABD)", GAME_IMPERFECT_GRAPHICS )
3987GAME( 1991, ssrdradd, ssriders, ssriders, ssrid4ps, gfx,      ROT0,  "Konami", "Sunset Riders (4 Players ver ADD)", GAME_IMPERFECT_GRAPHICS )
3988GAME( 1991, ssrdrjbd, ssriders, ssriders, ssriders, gfx,      ROT0,  "Konami", "Sunset Riders (2 Players ver JBD)", GAME_IMPERFECT_GRAPHICS )
3989GAME( 1991, sunsetbl, ssriders, sunsetbl, sunsetbl, gfx,      ROT0,  "Konami", "Sunset Riders (bootleg 4 Players ver ADD)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS )
3979GAME( 1991, ssriders,    0,        ssriders, ssridr4p, gfx,      ROT0,  "Konami", "Sunset Riders (4 Players ver EAC)", GAME_IMPERFECT_GRAPHICS )
3980GAME( 1991, ssridersebd, ssriders, ssriders, ssriders, gfx,      ROT0,  "Konami", "Sunset Riders (2 Players ver EBD)", GAME_IMPERFECT_GRAPHICS )
3981GAME( 1991, ssridersebc, ssriders, ssriders, ssriders, gfx,      ROT0,  "Konami", "Sunset Riders (2 Players ver EBC)", GAME_IMPERFECT_GRAPHICS )
3982GAME( 1991, ssridersuda, ssriders, ssriders, ssrid4ps, gfx,      ROT0,  "Konami", "Sunset Riders (4 Players ver UDA)", GAME_IMPERFECT_GRAPHICS )
3983GAME( 1991, ssriderseaa, ssriders, ssriders, ssrid4ps, gfx,      ROT0,  "Konami", "Sunset Riders (4 Players ver EAA)", GAME_IMPERFECT_GRAPHICS )
3984GAME( 1991, ssridersuac, ssriders, ssriders, ssridr4p, gfx,      ROT0,  "Konami", "Sunset Riders (4 Players ver UAC)", GAME_IMPERFECT_GRAPHICS )
3985GAME( 1991, ssridersubc, ssriders, ssriders, ssriders, gfx,      ROT0,  "Konami", "Sunset Riders (2 Players ver UBC)", GAME_IMPERFECT_GRAPHICS )
3986GAME( 1991, ssridersabd, ssriders, ssriders, ssriders, gfx,      ROT0,  "Konami", "Sunset Riders (2 Players ver ABD)", GAME_IMPERFECT_GRAPHICS )
3987GAME( 1991, ssridersadd, ssriders, ssriders, ssrid4ps, gfx,      ROT0,  "Konami", "Sunset Riders (4 Players ver ADD)", GAME_IMPERFECT_GRAPHICS )
3988GAME( 1991, ssridersjbd, ssriders, ssriders, ssriders, gfx,      ROT0,  "Konami", "Sunset Riders (2 Players ver JBD)", GAME_IMPERFECT_GRAPHICS )
3989GAME( 1991, ssridersb,   ssriders, sunsetbl, sunsetbl, gfx,      ROT0,  "Konami", "Sunset Riders (bootleg 4 Players ver ADD)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS )
39903990
39913991GAME( 1991, thndrx2,  0,        thndrx2,  thndrx2,  gfx,      ROT0,  "Konami", "Thunder Cross II (World)", 0 )
39923992GAME( 1991, thndrx2a, thndrx2,  thndrx2,  thndrx2,  gfx,      ROT0,  "Konami", "Thunder Cross II (Asia)", 0 )
39933993GAME( 1991, thndrx2j, thndrx2,  thndrx2,  thndrx2,  gfx,      ROT0,  "Konami", "Thunder Cross II (Japan)", 0 )
39943994
39953995GAME( 1993, prmrsocr, 0,        prmrsocr, prmrsocr, glfgreat, ROT0,  "Konami", "Premier Soccer (ver EAB)", 0 )
3996GAME( 1993, prmrsocj, prmrsocr, prmrsocr, prmrsocr, glfgreat, ROT0,  "Konami", "Premier Soccer (ver JAB)", 0 )
3996GAME( 1993, prmrsocrj,prmrsocr, prmrsocr, prmrsocr, glfgreat, ROT0,  "Konami", "Premier Soccer (ver JAB)", 0 )
src/mame/drivers/raiden2.c
r5338r5339
10901090   MDRV_VIDEO_ATTRIBUTES(VIDEO_UPDATE_AFTER_VBLANK)
10911091
10921092   MDRV_SCREEN_ADD("screen", RASTER)
1093   MDRV_SCREEN_REFRESH_RATE(60)
1093   MDRV_SCREEN_REFRESH_RATE(55.47)    /* verified on pcb */
10941094   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate *//2)
10951095   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
10961096#if 1
r5338r5339
16141614   ROM_REGION( 0x100000, "oki2", ROMREGION_ERASEFF )   /* ADPCM samples */
16151615ROM_END
16161616
1617ROM_START( zeroteaa )
1617ROM_START( zeroteama )
16181618   ROM_REGION( 0x200000, "user1", 0 ) /* v30 main cpu */
16191619   ROM_LOAD32_BYTE("1.bin",   0x000000, 0x40000, CRC(bd7b3f3a) SHA1(896413901a429d0efa3290f61920063c81730e9b) )
16201620   ROM_LOAD32_BYTE("3.bin",   0x000002, 0x40000, CRC(19e02822) SHA1(36c9b887eaa9b9b67d65c55e8f7eefd08fe0be15) )
r5338r5339
16451645   ROM_REGION( 0x100000, "oki2", ROMREGION_ERASEFF )   /* ADPCM samples */
16461646ROM_END
16471647
1648ROM_START( zerotsel )
1648ROM_START( zeroteams )
16491649   ROM_REGION( 0x200000, "user1", 0 ) /* v30 main cpu */
16501650   ROM_LOAD32_BYTE("1_sel.bin",   0x000000, 0x40000, CRC(d99d6273) SHA1(21dccd5d71c720b8364406835812b3c9defaff6c) )
16511651   ROM_LOAD32_BYTE("3_sel.bin",   0x000002, 0x40000, CRC(0a9fe0b1) SHA1(3588fe19788f77d07e9b5ab8182b94362ffd0024) )
r5338r5339
16771677ROM_END
16781678
16791679/* set contained only program roms, was marked as 'non-encrytped' but program isn't encrypted anyway?! */
1680ROM_START( zeroteab )
1680ROM_START( zeroteamb )
16811681   ROM_REGION( 0x200000, "user1", 0 ) /* v30 main cpu */
16821682   ROM_LOAD32_BYTE("z1",   0x000000, 0x40000, CRC(157743d0) SHA1(f9c84c9025319f76807ef0e79f1ee1599f915b45) )
16831683   ROM_LOAD32_BYTE("z3",   0x000002, 0x40000, CRC(fea7e4e8) SHA1(08c4bdff82362ae4bcf86fa56fcfc384bbf82b71) )
r5338r5339
17081708   ROM_REGION( 0x100000, "oki2", ROMREGION_ERASEFF )   /* ADPCM samples */
17091709ROM_END
17101710
1711ROM_START( zeroteac )
1711ROM_START( zeroteamc )
17121712   ROM_REGION( 0x200000, "user1", 0 ) /* v30 main cpu */
17131713   ROM_LOAD32_BYTE("b1.024",   0x000000, 0x40000, CRC(528de3b9) SHA1(9ca8cdc0212f2540e852d20ab4c04f68b967d024) )
17141714   ROM_LOAD32_BYTE("b3.023",   0x000002, 0x40000, CRC(3688739a) SHA1(f98f461fb8e7804b3b4020a5e3762d36d6458a62) )
r5338r5339
22212221GAME( 1993, raidndxj, raidndx, raiden2,  raidendx, raiden2,  ROT270, "Seibu Kaihatsu", "Raiden DX (Japan)", GAME_NOT_WORKING|GAME_NO_SOUND)
22222222GAME( 1993, raidndxt, raidndx, raiden2,  raidendx, raiden2,  ROT270, "Seibu Kaihatsu", "Raiden DX (Tuning license)", GAME_NOT_WORKING|GAME_NO_SOUND)
22232223GAME( 1993, zeroteam, 0,       raiden2,  raiden2,  raiden2,  ROT0,   "Seibu Kaihatsu", "Zero Team (set 1)", GAME_NOT_WORKING|GAME_NO_SOUND)
2224GAME( 1993, zeroteaa, zeroteam,raiden2,  raiden2,  raiden2,  ROT0,   "Seibu Kaihatsu", "Zero Team (set 2)", GAME_NOT_WORKING|GAME_NO_SOUND)
2225GAME( 1993, zeroteab, zeroteam,raiden2,  raiden2,  raiden2,  ROT0,   "Seibu Kaihatsu", "Zero Team (set 3)", GAME_NOT_WORKING|GAME_NO_SOUND)
2226GAME( 1993, zeroteac, zeroteam,raiden2,  raiden2,  raiden2,  ROT0,   "Seibu Kaihatsu", "Zero Team (set 4)", GAME_NOT_WORKING|GAME_NO_SOUND)
2227GAME( 1993, zerotsel, zeroteam,raiden2,  raiden2,  raiden2,  ROT0,   "Seibu Kaihatsu", "Zero Team Selection", GAME_NOT_WORKING|GAME_NO_SOUND)
2224GAME( 1993, zeroteama,zeroteam,raiden2,  raiden2,  raiden2,  ROT0,   "Seibu Kaihatsu", "Zero Team (set 2)", GAME_NOT_WORKING|GAME_NO_SOUND)
2225GAME( 1993, zeroteamb,zeroteam,raiden2,  raiden2,  raiden2,  ROT0,   "Seibu Kaihatsu", "Zero Team (set 3)", GAME_NOT_WORKING|GAME_NO_SOUND)
2226GAME( 1993, zeroteamc,zeroteam,raiden2,  raiden2,  raiden2,  ROT0,   "Seibu Kaihatsu", "Zero Team (set 4)", GAME_NOT_WORKING|GAME_NO_SOUND)
2227GAME( 1993, zeroteams,zeroteam,raiden2,  raiden2,  raiden2,  ROT0,   "Seibu Kaihatsu", "Zero Team Selection", GAME_NOT_WORKING|GAME_NO_SOUND)
22282228GAME( 1995, xsedae,   0,       raiden2,  raiden2,  xsedae,   ROT0,   "Dream Island",   "X Se Dae Quiz", GAME_NOT_WORKING|GAME_NO_SOUND)
22292229
22302230// 'V33 system type_b' - uses V33 CPU, COPX-D3 external protection rom, but still has the proper sound system
src/mame/drivers/vpoker.c
r0r5339
1/**************************************************************************************************************
2
3Videotronics Poker (c) 198? Videotronics
4
5preliminary driver by Angelo Salese
6
7Notes:
8- Looks like the 2nd generation of Noraut Poker / Draw Poker Hi-Lo HW.
9
10TODO:
11- Understand how the 6840PTM hooks up, needed to let it work properly;
12- I/Os;
13- sound;
14
15===============================================================================================================
16
17Bought as "old poker game by videotronics early 80's"
18
19Scratched on the CPU board  SN1069
20Scratched on the CPU board  SN1069
21
22CPU board
23.0  2716    stickered   DRAWPKR2    located top left
24                8-F
25                REV A
26
27.1  2716    stickered   DRAWPKR2    located next to .0
28                0-7
29                REV A
30
31ROM board
32Top of board left to right
33.R0 2716    stickered   RA
34                0-7
35
36.R1 2716    stickered   RA
37                8-F
38
39.R2 2716    stickered   BA
40                0-7
41
42.R3 2716    stickered   BA
43                8-F
44
45.R4 2716    stickered   GA
46                0-7
47
48.R5 2716    stickered   GA
49                8-F
50
51
52Below top row left to right
53.R6 2716    stickered   RB
54                0-7
55
56.R7 2716    stickered   RB
57                8-F
58
59.R8 2716    stickered   BB
60                0-7
61
62.R9 2716    stickered   BB
63                8-F
64
65.R10    2716    stickered   GB
66                0-7
67
68.R11    2716    stickered   GB
69                8-F
70
71ROM data showed cards
72
736809 cpu
744.000Mhz crystal
75MC6840P
76mm74c920J/mmc6551j-9    x2
77
78
79**************************************************************************************************************/
80
81#include "driver.h"
82#include "cpu/m6809/m6809.h"
83#include "machine/6840ptm.h"
84
85VIDEO_START( vpoker )
86{
87   videoram = auto_alloc_array(machine, UINT8, 0x200);
88}
89
90VIDEO_UPDATE( vpoker )
91{
92   const gfx_element *gfx = screen->machine->gfx[0];
93   int count = 0x0000;
94
95   int y,x;
96
97   for (y=0;y<0x10;y++)
98   {
99      for (x=0;x<0x20;x++)
100      {
101         int tile = videoram[count];
102         //int colour = tile>>12;
103         drawgfx_opaque(bitmap,cliprect,gfx,tile,0,0,0,x*16,y*16);
104
105         count++;
106      }
107   }
108
109   return 0;
110}
111
112static READ8_HANDLER( blitter_r )
113{
114   if(offset == 6)
115      return mame_rand(space->machine);
116
117   return 0;
118}
119
120static WRITE8_HANDLER( blitter_w )
121{
122   static UINT8 blit_ram[8];
123
124   blit_ram[offset] = data;
125
126   if(offset == 2)
127   {
128      int blit_offs;
129
130      blit_offs = (blit_ram[1] & 0x01)<<8|(blit_ram[2] & 0xff);
131
132      videoram[blit_offs] = blit_ram[0];
133//      printf("%02x %02x %02x %02x %02x %02x %02x %02x\n",blit_ram[0],blit_ram[1],blit_ram[2],blit_ram[3],blit_ram[4],blit_ram[5],blit_ram[6],blit_ram[7]);
134   }
135}
136
137static ADDRESS_MAP_START( main_map, ADDRESS_SPACE_PROGRAM, 8 )
138   AM_RANGE(0x0000, 0x00ff) AM_RAM
139   AM_RANGE(0x0400, 0x0407) AM_DEVREADWRITE("6840ptm", ptm6840_read, ptm6840_write)
140   AM_RANGE(0x0800, 0x0807) AM_READ(blitter_r) AM_WRITE(blitter_w)
141   AM_RANGE(0x2000, 0x2fff) AM_ROM
142   AM_RANGE(0xf000, 0xffff) AM_ROM
143ADDRESS_MAP_END
144
145static INPUT_PORTS_START( vpoker )
146   PORT_START("IN0")
147   PORT_DIPNAME( 0x01, 0x01, "IN0" )
148   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
149   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
150   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
151   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
152   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
153   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
154   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
155   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
156   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
157   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
158   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
159   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
160   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
161   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
162   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
163   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
164   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
165   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
166   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
167   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
168   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
169   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
170   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
171
172   PORT_START("IN1")
173   PORT_DIPNAME( 0x01, 0x01, "IN1" )
174   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
175   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
176   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
177   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
178   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
179   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
180   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
181   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
182   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
183   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
184   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
185   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
186   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
187   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
188   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
189   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
190   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
191   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
192   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
193   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
194   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
195   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
196   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
197
198   PORT_START("IN2")
199   PORT_DIPNAME( 0x01, 0x01, "IN2" )
200   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
201   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
202   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
203   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
204   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
205   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
206   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
207   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
208   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
209   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
210   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
211   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
212   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
213   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
214   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
215   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
216   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
217   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
218   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
219   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
220   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
221   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
222   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
223
224   PORT_START("IN3")
225   PORT_DIPNAME( 0x01, 0x01, "IN3" )
226   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
227   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
228   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
229   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
230   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
231   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
232   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
233   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
234   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
235   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
236   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
237   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
238   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
239   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
240   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
241   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
242   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
243   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
244   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
245   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
246   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
247   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
248   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
249
250   PORT_START("IN4")
251   PORT_DIPNAME( 0x01, 0x01, "IN4" )
252   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
253   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
254   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
255   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
256   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
257   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
258   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
259   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
260   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
261   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
262   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
263   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
264   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
265   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
266   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
267   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
268   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
269   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
270   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
271   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
272   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
273   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
274   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
275
276   PORT_START("IN5")
277   PORT_DIPNAME( 0x01, 0x01, "IN5" )
278   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
279   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
280   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
281   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
282   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
283   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
284   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
285   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
286   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
287   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
288   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
289   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
290   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
291   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
292   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
293   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
294   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
295   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
296   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
297   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
298   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
299   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
300   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
301
302   PORT_START("IN6")
303   PORT_DIPNAME( 0x01, 0x01, "IN6" )
304   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
305   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
306   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
307   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
308   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
309   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
310   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
311   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
312   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
313   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
314   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
315   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
316   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
317   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
318   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
319   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
320   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
321   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
322   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
323   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
324   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
325   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
326   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
327
328   PORT_START("IN7")
329   PORT_DIPNAME( 0x01, 0x01, "IN7" )
330   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
331   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
332   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
333   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
334   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
335   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
336   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
337   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
338   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
339   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
340   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
341   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
342   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
343   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
344   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
345   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
346   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
347   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
348   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
349   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
350   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
351   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
352   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
353INPUT_PORTS_END
354
355static const gfx_layout charlayout =
356{
357   16,16,
358   RGN_FRAC(1,4),
359   3,
360   { RGN_FRAC(0,4), RGN_FRAC(1,4),RGN_FRAC(2,4) },
361   { 0, 1, 2, 3, 4, 5, 6, 7 , 8, 9, 10, 11, 12, 13, 14, 15 },
362   { 0*16, 1*16, 2*16, 3*16, 4*16, 5*16, 6*16, 7*16, 8*16, 9*16, 10*16, 11*16, 12*16, 13*16, 14*16, 15*16  },
363   16*16
364};
365
366static GFXDECODE_START( vpoker )
367   GFXDECODE_ENTRY( "gfx1", 0, charlayout,     0, 1 )
368GFXDECODE_END
369
370static PALETTE_INIT( vpoker )
371{
372   int i;
373
374   for (i = 0; i < 7; i++)
375   {
376      rgb_t color;
377
378      color = MAKE_RGB(pal1bit((i & 4) >> 2),pal1bit(i & 1),pal1bit((i & 2) >> 1));
379
380      palette_set_color(machine, i, color);
381   }
382}
383
384static WRITE_LINE_DEVICE_HANDLER( ptm_irq )
385{
386   cputag_set_input_line(device->machine, "maincpu", M6809_IRQ_LINE, state ? ASSERT_LINE : CLEAR_LINE);
387}
388
389static const ptm6840_interface ptm_intf =
390{
391   XTAL_4MHz,
392   { 0, 0, 0 },
393   { DEVCB_NULL, DEVCB_NULL, DEVCB_NULL },
394   DEVCB_LINE(ptm_irq)
395};
396
397static MACHINE_DRIVER_START( vpoker )
398
399   /* basic machine hardware */
400   MDRV_CPU_ADD("maincpu",M6809,XTAL_4MHz)
401   MDRV_CPU_PROGRAM_MAP(main_map)
402//  MDRV_CPU_VBLANK_INT("screen",irq0_line_hold) //irq0 valid too
403
404   /* video hardware */
405   MDRV_SCREEN_ADD("screen", RASTER)
406   MDRV_SCREEN_REFRESH_RATE(60)
407   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) // not accurate
408   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
409   MDRV_SCREEN_SIZE(512, 256)
410   MDRV_SCREEN_VISIBLE_AREA(0*8, 512-1, 0*8, 256-1)
411   MDRV_GFXDECODE(vpoker)
412   MDRV_PALETTE_LENGTH(8)
413   MDRV_PALETTE_INIT(vpoker)
414
415   MDRV_VIDEO_START(vpoker)
416   MDRV_VIDEO_UPDATE(vpoker)
417
418   /* 6840 PTM */
419   MDRV_PTM6840_ADD("6840ptm", ptm_intf)
420
421   /* sound hardware */
422   MDRV_SPEAKER_STANDARD_MONO("mono")
423//  MDRV_SOUND_ADD("ay", AY8910, 8000000/4 /* guess */)
424//  MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
425MACHINE_DRIVER_END
426
427/***************************************************************************
428
429  Game driver(s)
430
431***************************************************************************/
432
433ROM_START( vpoker )
434   ROM_REGION( 0x10000, "maincpu", 0 )
435   ROM_LOAD( "vpoker.1",   0xf000, 0x0800, CRC(790f3c4e) SHA1(c60485cc44dd742a4a9398b98c2bde8a95f625f3) )
436   ROM_RELOAD(             0x2000, 0x0800 )
437   ROM_LOAD( "vpoker.0",   0xf800, 0x0800, CRC(8ad8ce66) SHA1(84b606ab9698b957b631070296a9e6e64fabdd8a) )
438   ROM_RELOAD(             0x2800, 0x0800 )
439
440   ROM_REGION( 0x8000, "gfx1", ROMREGION_ERASE00 )
441   ROM_LOAD16_BYTE( "vpoker.r0",  0x0000, 0x0800, CRC(1581202c) SHA1(7882fde76d0529fbfdd1235a39d04333e83f8a2f) )
442   ROM_LOAD16_BYTE( "vpoker.r1",  0x1000, 0x0800, CRC(27695350) SHA1(09d1e0e6d5d823f091fa941a96f7c5f045501145) )
443   ROM_LOAD16_BYTE( "vpoker.r2",  0x2000, 0x0800, CRC(1c0eab90) SHA1(19f3110088124f73de980502aab374888924d6a5) )
444   ROM_LOAD16_BYTE( "vpoker.r3",  0x3000, 0x0800, CRC(7a8cb6f9) SHA1(d233f0f592c22dab6827e34c2cb22dd301a054e1) )
445   ROM_LOAD16_BYTE( "vpoker.r4",  0x4000, 0x0800, CRC(755c4f02) SHA1(d19db1b1b2d41643cb69bb6eed46b1851de384c9) )
446   ROM_LOAD16_BYTE( "vpoker.r5",  0x5000, 0x0800, CRC(ccd32805) SHA1(fdff53942f06b5fc7a292364afb98721369cc0f4) )
447   ROM_LOAD16_BYTE( "vpoker.r6",  0x0001, 0x0800, CRC(77860770) SHA1(bffc8f38e9f63518706c093afd9254be8e15773d) )
448   ROM_LOAD16_BYTE( "vpoker.r7",  0x1001, 0x0800, CRC(1ca9e74e) SHA1(3a2e71fb2f21acfa864dda4e459f7f150bddb988) )
449   ROM_LOAD16_BYTE( "vpoker.r8",  0x2001, 0x0800, CRC(68022a42) SHA1(72a924a8ecf327821e444c5fb3ddd62510d4fc13) )
450   ROM_LOAD16_BYTE( "vpoker.r9",  0x3001, 0x0800, CRC(5a71f01c) SHA1(e86a40e0533b24e66a2245e97670f131bd68be06) )
451   ROM_LOAD16_BYTE( "vpoker.r10", 0x4001, 0x0800, CRC(5e0a7011) SHA1(9981f080581ef97f482e9a4b4ea0447c8bf89fc8) )
452   ROM_LOAD16_BYTE( "vpoker.r11", 0x5001, 0x0800, CRC(960b1e05) SHA1(c692835f3cd0be6c221623c3955977ba6d8fd0cf) )
453ROM_END
454
455GAME( 198?, vpoker,  0,       vpoker,  vpoker,  0, ROT0, "Videotronics", "Videotronics Poker", GAME_NOT_WORKING | GAME_NO_SOUND )
src/mame/drivers/igs009.c
r5338r5339
510510   PORT_DIPUNKNOWN( 0x80, 0x80 )
511511
512512   PORT_START("SERVICE")
513   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
513   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
514514   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_NAME("Memory Clear")   // stats, memory
515   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SPECIAL  ) PORT_CUSTOM( hopper_r, (void *)0 )   // hopper sensor
516   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN  )
517   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START2   ) PORT_NAME("Pay Out")
515   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM( hopper_r, (void *)0 )   // hopper sensor
516   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
517   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT ) PORT_NAME("Pay Out")
518518   PORT_SERVICE_NO_TOGGLE( 0x20, IP_ACTIVE_LOW )   // test (press during boot)
519   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("Records")
519   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Records")
520520   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN  )
521521
522522   PORT_START("COINS")
523   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1   )
523   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
524524   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
525   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2   )
526   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN3   ) PORT_NAME("Key In")
527   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4   ) PORT_NAME("Key Down")   // pays out
525   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )
526   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
527   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Down")   // pays out
528528   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
529529   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
530530   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
531531
532532   PORT_START("BUTTONS1")
533   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Stop 1")
534   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Stop 2")
535   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Stop 3")
536   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Stop")
533   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SLOT_STOP1 )
534   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SLOT_STOP2 )
535   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP3 )
536   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Stop")
537537   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
538538   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
539539   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
540540   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
541541
542542   PORT_START("BUTTONS2")
543   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1  ) PORT_NAME("Start/H_Dup")
544   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Small")
545   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Left Bet/H_Dup")
546   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START4  ) PORT_NAME("Take")
547   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Right Bet/Dup")
548   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Big")
543   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1  ) PORT_NAME("Start / H_Dup")
544   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small")
545   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Left Bet / H_Dup")
546   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE )
547   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Right Bet / Dup")
548   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big")
549549   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
550550   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
551551INPUT_PORTS_END
src/mame/drivers/psikyo.c
r5338r5339
13091309
13101310   /* video hardware */
13111311   MDRV_SCREEN_ADD("screen", RASTER)
1312   MDRV_SCREEN_REFRESH_RATE(59.3)
1312   MDRV_SCREEN_REFRESH_RATE(59.90)    /* verified on pcb */
13131313   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)   // we're using IPT_VBLANK
13141314   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
13151315   MDRV_SCREEN_SIZE(320, 256)
src/mame/drivers/esd16.c
r5338r5339
190190   AM_RANGE(0x320000, 0x323fff) AM_WRITE(esd16_vram_1_w) AM_BASE(&esd16_vram_1)                     //
191191   AM_RANGE(0x324000, 0x327fff) AM_WRITE(esd16_vram_1_w) AM_BASE(&esd16_vram_1)                     // mirror?
192192   AM_RANGE(0x400000, 0x400fff) AM_RAM_WRITE(paletteram16_xRRRRRGGGGGBBBBB_word_w) AM_BASE(&paletteram16)   // Palette
193    AM_RANGE(0x500000, 0x500001) AM_WRITENOP   // IRQ Ack
193   AM_RANGE(0x500000, 0x500001) AM_WRITENOP   // IRQ Ack
194194   AM_RANGE(0x500002, 0x500003) AM_READ_PORT("P1_P2")
195195   AM_RANGE(0x500004, 0x500005) AM_READ_PORT("SYSTEM")
196196   AM_RANGE(0x500006, 0x500007) AM_READ(esd_eeprom_r)
r5338r5339
318318   PORT_BIT(  0xff00, IP_ACTIVE_LOW, IPT_UNKNOWN )
319319
320320   PORT_START("DSW")   // $600006.w
321   PORT_SERVICE( 0x0001, IP_ACTIVE_LOW )
322   PORT_DIPNAME( 0x0002, 0x0002, "Coinage Type" )   // Not Supported
321   PORT_SERVICE_DIPLOC(  0x0001, IP_ACTIVE_LOW, "SW1:1" )
322   PORT_DIPNAME( 0x0002, 0x0002, "Coinage Type" )         PORT_DIPLOCATION("SW1:2")
323323   PORT_DIPSETTING(      0x0002, "1" )
324//  PORT_DIPSETTING(      0x0000, "2" )
325   PORT_DIPNAME( 0x0004, 0x0000, DEF_STR( Demo_Sounds ) )
324   PORT_DIPSETTING(      0x0000, "2" )
325   PORT_DIPNAME( 0x0004, 0x0000, DEF_STR( Demo_Sounds ) )      PORT_DIPLOCATION("SW1:3")
326326   PORT_DIPSETTING(      0x0004, DEF_STR( Off ) )
327327   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
328   PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Flip_Screen ) )
328   PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Flip_Screen ) )      PORT_DIPLOCATION("SW1:4")
329329   PORT_DIPSETTING(      0x0008, DEF_STR( Off ) )
330330   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
331   PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Coin_A ) )
332   PORT_DIPSETTING(      0x0010, DEF_STR( 2C_1C ) )
331   PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW1:5,6")
332   PORT_DIPSETTING(      0x0000, DEF_STR( 4C_1C ) )   PORT_CONDITION("DSW", 0x0002, PORTCOND_EQUALS, 0x0000)
333   PORT_DIPSETTING(      0x0010, DEF_STR( 3C_1C ) )   PORT_CONDITION("DSW", 0x0002, PORTCOND_EQUALS, 0x0000)
334   PORT_DIPSETTING(      0x0020, DEF_STR( 2C_1C ) )   PORT_CONDITION("DSW", 0x0002, PORTCOND_EQUALS, 0x0000)
335   PORT_DIPSETTING(      0x0010, DEF_STR( 2C_1C ) )   PORT_CONDITION("DSW", 0x0002, PORTCOND_EQUALS, 0x0002)
333336   PORT_DIPSETTING(      0x0030, DEF_STR( 1C_1C ) )
334   PORT_DIPSETTING(      0x0000, DEF_STR( 2C_3C ) )
335   PORT_DIPSETTING(      0x0020, DEF_STR( 1C_2C ) )
336   PORT_DIPNAME( 0x00c0, 0x00c0, DEF_STR( Coin_B ) )
337   PORT_DIPSETTING(      0x0040, DEF_STR( 2C_1C ) )
337   PORT_DIPSETTING(      0x0000, DEF_STR( 2C_3C ) )   PORT_CONDITION("DSW", 0x0002, PORTCOND_EQUALS, 0x0002)
338   PORT_DIPSETTING(      0x0020, DEF_STR( 1C_2C ) )   PORT_CONDITION("DSW", 0x0002, PORTCOND_EQUALS, 0x0002)
339   PORT_DIPNAME( 0x00c0, 0x00c0, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW1:7,8")
340   PORT_DIPSETTING(      0x0040, DEF_STR( 2C_1C ) )   PORT_CONDITION("DSW", 0x0002, PORTCOND_EQUALS, 0x0002)
338341   PORT_DIPSETTING(      0x00c0, DEF_STR( 1C_1C ) )
339   PORT_DIPSETTING(      0x0000, DEF_STR( 2C_3C ) )
340   PORT_DIPSETTING(      0x0080, DEF_STR( 1C_2C ) )
342   PORT_DIPSETTING(      0x0000, DEF_STR( 2C_3C ) )   PORT_CONDITION("DSW", 0x0002, PORTCOND_EQUALS, 0x0002)
343   PORT_DIPSETTING(      0x0080, DEF_STR( 1C_2C ) )   PORT_CONDITION("DSW", 0x0002, PORTCOND_EQUALS, 0x0002)
344   PORT_DIPSETTING(      0x0080, DEF_STR( 1C_3C ) )   PORT_CONDITION("DSW", 0x0002, PORTCOND_EQUALS, 0x0000)
345   PORT_DIPSETTING(      0x0040, DEF_STR( 1C_4C ) )   PORT_CONDITION("DSW", 0x0002, PORTCOND_EQUALS, 0x0000)
346   PORT_DIPSETTING(      0x0000, DEF_STR( 1C_6C ) )   PORT_CONDITION("DSW", 0x0002, PORTCOND_EQUALS, 0x0000)
341347
342//  PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Difficulty" ) )  CRASH CPP??
343   PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Difficulty ) )
348   PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW2:1,2")
344349   PORT_DIPSETTING(      0x0200, DEF_STR( Easy ) )
345350   PORT_DIPSETTING(      0x0300, DEF_STR( Normal ) )
346351   PORT_DIPSETTING(      0x0100, DEF_STR( Hard ) )
347352   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
348   PORT_DIPNAME( 0x0c00, 0x0c00, DEF_STR( Lives ) )
353   PORT_DIPNAME( 0x0c00, 0x0c00, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:3,4")
349354   PORT_DIPSETTING(      0x0000, "2" )
350355   PORT_DIPSETTING(      0x0c00, "3" )
351356   PORT_DIPSETTING(      0x0800, "4" )
352357   PORT_DIPSETTING(      0x0400, "5" )
353   PORT_DIPNAME( 0x1000, 0x1000, "Selectable Games" )
358   PORT_DIPNAME( 0x1000, 0x1000, "Selectable Games" )      PORT_DIPLOCATION("SW2:5")
354359   PORT_DIPSETTING(      0x1000, "3" )
355360   PORT_DIPSETTING(      0x0000, "4" )
356   PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Free_Play ) )
361   PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Free_Play ) )      PORT_DIPLOCATION("SW2:6")
357362   PORT_DIPSETTING(      0x2000, DEF_STR( Off ) )
358363   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
359   PORT_DIPNAME( 0x4000, 0x4000, "Unknown 2-6" )   // unused
360   PORT_DIPSETTING(      0x4000, DEF_STR( Off ) )
361   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
362   PORT_DIPNAME( 0x8000, 0x8000, "Unknown 2-7" )   // unused
363   PORT_DIPSETTING(      0x8000, DEF_STR( Off ) )
364   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
364   PORT_DIPUNUSED_DIPLOC( 0x4000, 0x4000, "SW2:7" )
365   PORT_DIPUNUSED_DIPLOC( 0x8000, 0x8000, "SW2:8" )
365366INPUT_PORTS_END
366367
367368
r5338r5339
712713   ROM_LOAD( "esd4.su10", 0x00000, 0x20000, CRC(6e741fcd) SHA1(742e0952916c00f67dd9f8d01e721a9a538d2fc4) )
713714ROM_END
714715
715ROM_START( multchmk )
716ROM_START( multchmpk )
716717   ROM_REGION( 0x080000, "maincpu", 0 )      /* 68000 Code */
717718   ROM_LOAD16_BYTE( "multchmp.u02", 0x000000, 0x040000, CRC(7da8c0df) SHA1(763a3240554a02d8a9a0b13b6bfcd384825a6c57) )
718719   ROM_LOAD16_BYTE( "multchmp.u03", 0x000001, 0x040000, CRC(5dc62799) SHA1(ff7882985efc20309c3f901a622f1beffa0c47be) )
r5338r5339
819820   ROM_LOAD( "ver0106_esd4.su10", 0x00000, 0x40000, CRC(ac8ae009) SHA1(2c1c30cc4b3e34a5f14d7dfb6f6e18ff21f526f5) )
820821ROM_END
821822
822ROM_START( mchampda )
823ROM_START( mchampdxa )
823824   ROM_REGION( 0x080000, "maincpu", 0 )      /* 68000 Code */
824825   ROM_LOAD16_BYTE( "esd2.cu02", 0x000000, 0x040000, CRC(4cca802c) SHA1(5e6e81febbb56b7c4630b530e546e7ab59c6c6c1) )
825826   ROM_LOAD16_BYTE( "esd1.cu03", 0x000001, 0x040000, CRC(0af1cd0a) SHA1(d2befcb596d83d523317d17b4c1c71f99de0d33e) )
r5338r5339
913914ROM_END
914915
915916
916ROM_START( hedpanif ) /* Story line in Japanese, game instructions in English */
917ROM_START( hedpanicf ) /* Story line in Japanese, game instructions in English */
917918   ROM_REGION( 0x080000, "maincpu", 0 )      /* 68000 Code */
918919   ROM_LOAD16_BYTE( "esd2", 0x000000, 0x040000, CRC(8cccc691) SHA1(d6a5dd6c21a67638b9023182f77780282b9b04e5) )
919920   ROM_LOAD16_BYTE( "esd1", 0x000001, 0x040000, CRC(d8574925) SHA1(bd4990778b90a49aa6b10f8cf6709ce2424f546a) )
r5338r5339
938939ROM_END
939940
940941
941ROM_START( hedpanio ) /* Story line & game instructions in English, copyright year is 1999 - uses older style sprites */
942ROM_START( hedpanico ) /* Story line & game instructions in English, copyright year is 1999 - uses older style sprites */
942943   ROM_REGION( 0x080000, "maincpu", 0 )      /* 68000 Code */
943944   ROM_LOAD16_BYTE( "esd2.rom", 0x000000, 0x040000, CRC(70b08424) SHA1(2ba4fb3b749e31db4239a9173b8509366400152f) )
944945   ROM_LOAD16_BYTE( "esd1.rom", 0x000001, 0x040000, CRC(4e0682c5) SHA1(f4117f31b6426d7bf126a6c62c489b9347885b42) )
r5338r5339
951952   ROM_CONTINUE(          0x10000, 0x34000)
952953
953954   ROM_REGION( 0x600000, "gfx1", 0 )   /* Sprites, 16x16x5 */
954   ROM_LOAD( "sm1.bin", 0x000000, 0x200000, CRC(8083813f) SHA1(9492e7e844e45d59f0506f69d40c338b27bd3ce3) )
955   ROM_LOAD( "sm2.bin", 0x200000, 0x200000, CRC(7a9610e4) SHA1(21ae3ec3fbddfc66416c109b091bd885d5ba0558) )
955   ROM_LOAD( "sm1.ju01", 0x000000, 0x200000, CRC(8083813f) SHA1(9492e7e844e45d59f0506f69d40c338b27bd3ce3) )
956   ROM_LOAD( "sm2.ju02", 0x200000, 0x200000, CRC(7a9610e4) SHA1(21ae3ec3fbddfc66416c109b091bd885d5ba0558) )
956957   /* expand this to take up 0x200000 bytes too so we can decode it */
957958   ROM_LOAD16_BYTE( "esd5.rom", 0x400000, 0x080000, CRC(82c5727f) SHA1(017f1d0c94475c51d17f12e24895f47a273a2dbb) )
958959   ROM_FILL(                    0x500000, 0x100000, 0 )
959960
960961   ROM_REGION( 0x400000, "gfx2", 0 )   /* Layers, 16x16x8 */
961   ROM_LOAD16_BYTE( "sm3.bin", 0x000000, 0x200000, CRC(94dd4cfc) SHA1(a3f9c49611f0bc9d26166dafb44e2c5ebbb31127) )
962   ROM_LOAD16_BYTE( "sm4.bin", 0x000001, 0x200000, CRC(6da0fb9e) SHA1(c4e7487953f45c5f6ce2ebe558b4c325f6ec54eb) )
962   ROM_LOAD16_BYTE( "sm3.fu35", 0x000000, 0x200000, CRC(94dd4cfc) SHA1(a3f9c49611f0bc9d26166dafb44e2c5ebbb31127) )
963   ROM_LOAD16_BYTE( "sm4.fu34", 0x000001, 0x200000, CRC(6da0fb9e) SHA1(c4e7487953f45c5f6ce2ebe558b4c325f6ec54eb) )
963964
964965   ROM_REGION( 0x40000, "oki", 0 )   /* Samples */
965966   ROM_LOAD( "esd4.rom", 0x000000, 0x020000, CRC(d7ca6806) SHA1(8ad668bfb5b7561cc0f3e36dfc3c936b136a4274) )
r5338r5339
11281129
11291130/* ESD 11-09-98 */
11301131GAME( 1999, multchmp, 0,        multchmp, multchmp, 0, ROT0, "ESD",         "Multi Champ (World)", 0 )
1131GAME( 1998, multchmk, multchmp, multchmp, multchmp, 0, ROT0, "ESD",         "Multi Champ (Korea)", 0 )
1132GAME( 1998, multchmpk,multchmp, multchmp, multchmp, 0, ROT0, "ESD",         "Multi Champ (Korea)", 0 )
11321133
11331134/* ESD 08-26-1999 */
11341135GAME( 2000, mchampdx, 0,        mchampdx, hedpanic, 0, ROT0, "ESD",         "Multi Champ Deluxe (ver. 0106, 06/01/2000)", 0 ) // 06/01/2000 ?
1135GAME( 1999, mchampda, mchampdx, mchampdx, hedpanic, 0, ROT0, "ESD",         "Multi Champ Deluxe (ver. 1126, 26/11/1999)", 0 ) // 26/11/1999 ?
1136GAME( 1999, mchampdxa,mchampdx, mchampdx, hedpanic, 0, ROT0, "ESD",         "Multi Champ Deluxe (ver. 1126, 26/11/1999)", 0 ) // 26/11/1999 ?
11361137GAME( 2000, hedpanic, 0,        hedpanic, hedpanic, 0, ROT0, "ESD",         "Head Panic (ver. 0117, 17/01/2000)", 0 ) // 17/01/2000 ?
1137GAME( 2000, hedpanif, hedpanic, hedpanic, hedpanic, 0, ROT0, "ESD / Fuuki", "Head Panic (ver. 0315, 15/03/2000)", 0 ) // 15/03/2000 ?
1138GAME( 1999, hedpanio, hedpanic, hedpanio, hedpanic, 0, ROT0, "ESD",         "Head Panic (ver. 0615, 15/06/1999)", 0 ) // 15/06/1999 ?
1138GAME( 2000, hedpanicf,hedpanic, hedpanic, hedpanic, 0, ROT0, "ESD / Fuuki", "Head Panic (ver. 0315, 15/03/2000)", 0 ) // 15/03/2000 ?
1139GAME( 1999, hedpanico,hedpanic, hedpanio, hedpanic, 0, ROT0, "ESD",         "Head Panic (ver. 0615, 15/06/1999)", 0 ) // 15/06/1999 ?
11391140
11401141/* ESD - This PCB looks identical to the ESD 08-26-1999 PCB */
11411142GAME( 2000, tangtang, 0,        tangtang, hedpanic, 0, ROT0, "ESD",         "Tang Tang (ver. 0526, 26/05/2000)", 0 ) // 26/05/2000 ?
src/mame/drivers/model3.c
r5338r5339
11801180   const char *name = machine->gamedrv->name;
11811181   if( mame_stricmp(name, "lostwsga") == 0 ||
11821182      mame_stricmp(name, "dirtdvls") == 0 ||
1183      mame_stricmp(name, "dirtdvla") == 0 ||
1183      mame_stricmp(name, "dirtdvlsa") == 0 ||
11841184      mame_stricmp(name, "lemans24") == 0 ||
11851185      mame_stricmp(name, "magtruck") == 0 ||
11861186      mame_stricmp(name, "von2") == 0 ||
r5338r5339
17511751            return (UINT64)vs299_prot_data[prot_data_ptr++] << 48;
17521752         }
17531753         else if (mame_stricmp(space->machine->gamedrv->name, "swtrilgy") == 0 ||
1754                mame_stricmp(space->machine->gamedrv->name, "swtrilga") == 0)
1754                mame_stricmp(space->machine->gamedrv->name, "swtrilgya") == 0)
17551755         {
17561756            UINT64 data = (UINT64)swt_prot_data[prot_data_ptr++] << 16;
17571757            if (prot_data_ptr > 0x38)
r5338r5339
36573657   ROM_FILL( 0x000000, 0x80000, 0 )
36583658ROM_END
36593659
3660ROM_START( swtrilga )   /* Step 2.1 */
3660ROM_START( swtrilgya )   /* Step 2.1 */
36613661   ROM_REGION64_BE( 0x4800000, "user1", 0 ) /* program + data ROMs */
36623662   // CROM
36633663   ROM_LOAD64_WORD_SWAP( "ep21379.17",  0x000006, 0x200000, CRC(61ad51d9) SHA1(b27ea929702bb94c86d03d6c1f479af32230b4d0) )
r5338r5339
37873787   ROM_FILL( 0x000000, 0x80000, 0 )
37883788ROM_END
37893789
3790ROM_START( dirtdvla )   /* Step 2.1 */
3790ROM_START( dirtdvlsa )   /* Step 2.1 */
37913791   ROM_REGION64_BE( 0x4800000, "user1", 0 ) /* program + data ROMs */
37923792   // CROM
37933793   ROM_LOAD64_WORD_SWAP( "epr-21058a", 0x000006, 0x200000, CRC(4d7fdc8d) SHA1(c45031b4e3ea65519de671e0e11f87e0965e3c93) )
r5338r5339
40734073   ROM_FILL( 0x000000, 0x80000, 0 )
40744074ROM_END
40754075
4076ROM_START( sraly2dx )   /* Step 2.0 */
4076ROM_START( srally2x )   /* Step 2.0 */
40774077   ROM_REGION64_BE( 0x4800000, "user1", 0 ) /* program + data ROMs */
40784078   // CROM
40794079   ROM_LOAD64_WORD_SWAP( "epr-20502.17",  0x000006, 0x200000, CRC(af16846d) SHA1(a0babc4dc3809ca1e71eaad4dc2f8c1597575e8b) )
r5338r5339
52915291GAME( 1997, harley,         0, model3_20, harley,     harley, ROT0, "Sega", "Harley-Davidson and L.A. Riders (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
52925292GAME( 1998, skichamp,       0, model3_20, skichamp, skichamp, ROT0, "Sega", "Ski Champ", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
52935293GAME( 1998, srally2,        0, model3_20, scud,      srally2, ROT0, "Sega", "Sega Rally 2", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5294GAME( 1998, sraly2dx,       0, model3_20, scud,      srally2, ROT0, "Sega", "Sega Rally 2 DX", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5294GAME( 1998, srally2x,       0, model3_20, scud,      srally2, ROT0, "Sega", "Sega Rally 2 DX", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
52955295GAME( 1998, von2,           0, model3_20, model3,       von2, ROT0, "Sega", "Virtual On 2: Oratorio Tangram (Revision B)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
52965296GAME( 1998, von254g,     von2, model3_20, model3,  model3_20, ROT0, "Sega", "Virtual On 2: Oratorio Tangram (ver 5.4g)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
52975297GAME( 1998, fvipers2,       0, model3_20, model3,  model3_20, ROT0, "Sega", "Fighting Vipers 2 (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
r5338r5339
53005300GAME( 1999, vs299,    vs2v991, model3_20, model3,      vs299, ROT0, "Sega", "Virtua Striker 2 '99", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
53015301
53025302/* Model 3 Step 2.1 */
5303GAME( 1998, daytona2,       0, model3_21, daytona2, daytona2, ROT0, "Sega", "Daytona USA 2 (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5304GAME( 1998, dayto2pe,       0, model3_21, daytona2, dayto2pe, ROT0, "Sega", "Daytona USA 2 Power Edition", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5305GAME( 1998, dirtdvls,       0, model3_21, model3,   dirtdvls, ROT0, "Sega", "Dirt Devils (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5306GAME( 1998, dirtdvla,dirtdvls, model3_21, model3,   dirtdvls, ROT0, "Sega", "Dirt Devils (alt) (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5307GAME( 1998, swtrilgy,       0, model3_21, swtrilgy, swtrilgy, ROT0, "Sega/LucasArts", "Star Wars Trilogy (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5308GAME( 1998, swtrilga,swtrilgy, model3_21, swtrilgy, swtrilga, ROT0, "Sega/LucasArts", "Star Wars Trilogy", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5309GAME( 1998, spikeout,       0, model3_21, model3,   spikeout, ROT0, "Sega", "Spikeout (Revision C)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5310GAME( 1998, spikeofe,       0, model3_21, model3,   spikeofe, ROT0, "Sega", "Spikeout Final Edition", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5311GAME( 1998, magtruck,       0, model3_21, model3,        eca, ROT0, "Sega", "Magical Truck Adventure", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5312GAME( 1999, eca,            0, model3_21, eca,           eca, ROT0, "Sega", "Emergency Call Ambulance", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5313GAME( 1999, ecax,         eca, model3_21, eca,           eca, ROT0, "Sega", "Emergency Call Ambulance (Export)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5303GAME( 1998, daytona2,         0, model3_21, daytona2, daytona2, ROT0, "Sega", "Daytona USA 2 (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5304GAME( 1998, dayto2pe,         0, model3_21, daytona2, dayto2pe, ROT0, "Sega", "Daytona USA 2 Power Edition", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5305GAME( 1998, dirtdvls,         0, model3_21, model3,   dirtdvls, ROT0, "Sega", "Dirt Devils (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5306GAME( 1998, dirtdvlsa, dirtdvls, model3_21, model3,   dirtdvls, ROT0, "Sega", "Dirt Devils (alt) (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5307GAME( 1998, swtrilgy,         0, model3_21, swtrilgy, swtrilgy, ROT0, "Sega/LucasArts", "Star Wars Trilogy (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5308GAME( 1998, swtrilgya, swtrilgy, model3_21, swtrilgy, swtrilga, ROT0, "Sega/LucasArts", "Star Wars Trilogy", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5309GAME( 1998, spikeout,         0, model3_21, model3,   spikeout, ROT0, "Sega", "Spikeout (Revision C)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5310GAME( 1998, spikeofe,         0, model3_21, model3,   spikeofe, ROT0, "Sega", "Spikeout Final Edition", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5311GAME( 1998, magtruck,         0, model3_21, model3,        eca, ROT0, "Sega", "Magical Truck Adventure", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5312GAME( 1999, eca,              0, model3_21, eca,           eca, ROT0, "Sega", "Emergency Call Ambulance", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
5313GAME( 1999, ecax,           eca, model3_21, eca,           eca, ROT0, "Sega", "Emergency Call Ambulance (Export)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND )
53145314
src/mame/drivers/funkyjet.c
r5338r5339
346346     ROM_LOAD( "jk03.15h",    0x00000, 0x20000, CRC(69a0eaf7) SHA1(05038e82ee03106625f05082fe9912e16be181ee) )
347347ROM_END
348348
349ROM_START( funkyjej )
349ROM_START( funkyjetj )
350350   ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 code */
351351   ROM_LOAD16_BYTE( "jh00-2.11f", 0x00000, 0x40000, CRC(5b98b700) SHA1(604bd04f4031b0a3b53db2fab4a0e160dff6936d) )
352352   ROM_LOAD16_BYTE( "jh01-2.13f", 0x00001, 0x40000, CRC(21280220) SHA1(b365b6c8aa778e21a14b2813e93b9c9d02e14995) )
r5338r5339
392392/******************************************************************************/
393393
394394GAME( 1992, funkyjet, 0,        funkyjet, funkyjet, funkyjet, ROT0, "[Data East] (Mitchell license)", "Funky Jet (World)", GAME_SUPPORTS_SAVE )
395GAME( 1992, funkyjej, funkyjet, funkyjet, funkyjej, funkyjet, ROT0, "Data East Corporation", "Funky Jet (Japan)", GAME_SUPPORTS_SAVE )
395GAME( 1992, funkyjetj,funkyjet, funkyjet, funkyjej, funkyjet, ROT0, "Data East Corporation", "Funky Jet (Japan)", GAME_SUPPORTS_SAVE )
396396GAME( 1995, sotsugyo, 0,        funkyjet, sotsugyo, funkyjet, ROT0, "Mitchell (Atlus license)", "Sotsugyo Shousho", GAME_SUPPORTS_SAVE )
src/mame/drivers/skullxbo.c
r5338r5339
343343ROM_END
344344
345345
346ROM_START( skullxb4 )
346ROM_START( skullxbo4 )
347347   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
348348   ROM_LOAD16_BYTE( "136072-4150.228a", 0x000000, 0x010000, CRC(607fc73b) SHA1(e6ebaf1a7570df1d12becae217becdd0a60d6aca) )
349349   ROM_LOAD16_BYTE( "136072-4151.228c", 0x000001, 0x010000, CRC(76bbf619) SHA1(2cbd61f414684587c0e634c223c758b0a28aafc0) )
r5338r5339
407407ROM_END
408408
409409
410ROM_START( skullxb3 )
410ROM_START( skullxbo3 )
411411   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
412412   ROM_LOAD16_BYTE( "136072-3150.228a", 0x000000, 0x010000, CRC(47083d59) SHA1(a713231c22a3c2de09af65aa2bae17ea41f10cf0) )
413413   ROM_LOAD16_BYTE( "136072-3151.228c", 0x000001, 0x010000, CRC(2c03feaf) SHA1(e7ad1568e3008386f520ed3ba90aefbfc9417a64) )
r5338r5339
471471ROM_END
472472
473473
474ROM_START( skullxb2 )
474ROM_START( skullxbo2 )
475475   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
476476   ROM_LOAD16_BYTE( "136072-2150.228a", 0x000000, 0x010000, CRC(8614f9ef) SHA1(981ba6fad7aa7002c3a5aa0d4dd859e664ca0fdb) )
477477   ROM_LOAD16_BYTE( "136072-2151.228c", 0x000001, 0x010000, CRC(47090acb) SHA1(12c47d6112bec88aaf25d10ba2d5335b6b474fb7) )
r5338r5339
535535ROM_END
536536
537537
538ROM_START( skullxb1 )
538ROM_START( skullxbo1 )
539539   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
540540   ROM_LOAD16_BYTE( "136072-1150.228a", 0x000000, 0x010000, CRC(376bb0c7) SHA1(195c8411f3ea9681e9ba6661a55418c194324339) )
541541   ROM_LOAD16_BYTE( "136072-1151.228c", 0x000001, 0x010000, CRC(858382f7) SHA1(6e18183962c36bf2599cf04b7dc824e840a94343) )
r5338r5339
621621 *
622622 *************************************/
623623
624GAME( 1989, skullxbo, 0,        skullxbo, skullxbo, skullxbo, ROT0, "Atari Games", "Skull & Crossbones (rev 5)", 0 )
625GAME( 1989, skullxb4, skullxbo, skullxbo, skullxbo, skullxbo, ROT0, "Atari Games", "Skull & Crossbones (rev 4)", 0 )
626GAME( 1989, skullxb3, skullxbo, skullxbo, skullxbo, skullxbo, ROT0, "Atari Games", "Skull & Crossbones (rev 3)", 0 )
627GAME( 1989, skullxb2, skullxbo, skullxbo, skullxbo, skullxbo, ROT0, "Atari Games", "Skull & Crossbones (rev 2)", 0 )
628GAME( 1989, skullxb1, skullxbo, skullxbo, skullxbo, skullxbo, ROT0, "Atari Games", "Skull & Crossbones (rev 1)", 0 )
624GAME( 1989, skullxbo,  0,        skullxbo, skullxbo, skullxbo, ROT0, "Atari Games", "Skull & Crossbones (rev 5)", 0 )
625GAME( 1989, skullxbo4, skullxbo, skullxbo, skullxbo, skullxbo, ROT0, "Atari Games", "Skull & Crossbones (rev 4)", 0 )
626GAME( 1989, skullxbo3, skullxbo, skullxbo, skullxbo, skullxbo, ROT0, "Atari Games", "Skull & Crossbones (rev 3)", 0 )
627GAME( 1989, skullxbo2, skullxbo, skullxbo, skullxbo, skullxbo, ROT0, "Atari Games", "Skull & Crossbones (rev 2)", 0 )
628GAME( 1989, skullxbo1, skullxbo, skullxbo, skullxbo, skullxbo, ROT0, "Atari Games", "Skull & Crossbones (rev 1)", 0 )
src/mame/drivers/glass.c
r5338r5339
114114
115115static INPUT_PORTS_START( glass )
116116   PORT_START("DSW1")
117   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coin_A ) )
118   PORT_DIPSETTING(    0x07, DEF_STR( 1C_1C ) )
119   PORT_DIPSETTING(    0x00, DEF_STR( 3C_4C ) )
120   PORT_DIPSETTING(    0x01, DEF_STR( 2C_3C ) )
121   PORT_DIPSETTING(    0x06, DEF_STR( 1C_2C ) )
122   PORT_DIPSETTING(    0x05, DEF_STR( 1C_3C ) )
123   PORT_DIPSETTING(    0x04, DEF_STR( 1C_4C ) )
124   PORT_DIPSETTING(    0x03, DEF_STR( 1C_5C ) )
125   PORT_DIPSETTING(    0x02, DEF_STR( 1C_6C ) )
126   PORT_DIPNAME( 0x38, 0x38, DEF_STR( Coin_B ) )
127   PORT_DIPSETTING(    0x10, DEF_STR( 6C_1C ) )
128   PORT_DIPSETTING(    0x18, DEF_STR( 5C_1C ) )
129   PORT_DIPSETTING(    0x20, DEF_STR( 4C_1C ) )
130   PORT_DIPSETTING(    0x28, DEF_STR( 3C_1C ) )
131   PORT_DIPSETTING(    0x30, DEF_STR( 2C_1C ) )
132   PORT_DIPSETTING(    0x08, DEF_STR( 3C_2C ) )
133   PORT_DIPSETTING(    0x00, DEF_STR( 4C_3C ) )
134   PORT_DIPSETTING(    0x38, DEF_STR( 1C_1C ) )
135   PORT_DIPNAME( 0x40, 0x40, "Credit configuration" )
136   PORT_DIPSETTING(    0x40, "Start 1C" )
137   PORT_DIPSETTING(    0x00, "Start 2C" )
138   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Free_Play ) )
139   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
140   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
117   PORT_DIPNAME( 0x07,    0x07, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW1:6,7,8")
118   PORT_DIPSETTING(       0x07, DEF_STR( 1C_1C ) )
119   PORT_DIPSETTING(       0x00, DEF_STR( 3C_4C ) )
120   PORT_DIPSETTING(       0x01, DEF_STR( 2C_3C ) )
121   PORT_DIPSETTING(       0x06, DEF_STR( 1C_2C ) )
122   PORT_DIPSETTING(       0x05, DEF_STR( 1C_3C ) )
123   PORT_DIPSETTING(       0x04, DEF_STR( 1C_4C ) )
124   PORT_DIPSETTING(       0x03, DEF_STR( 1C_5C ) )
125   PORT_DIPSETTING(       0x02, DEF_STR( 1C_6C ) )
126   PORT_DIPNAME( 0x38,    0x38, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW1:3,4,5")
127   PORT_DIPSETTING(       0x10, DEF_STR( 6C_1C ) )
128   PORT_DIPSETTING(       0x18, DEF_STR( 5C_1C ) )
129   PORT_DIPSETTING(       0x20, DEF_STR( 4C_1C ) )
130   PORT_DIPSETTING(       0x28, DEF_STR( 3C_1C ) )
131   PORT_DIPSETTING(       0x30, DEF_STR( 2C_1C ) )
132   PORT_DIPSETTING(       0x08, DEF_STR( 3C_2C ) )
133   PORT_DIPSETTING(       0x00, DEF_STR( 4C_3C ) )
134   PORT_DIPSETTING(       0x38, DEF_STR( 1C_1C ) )
135   PORT_DIPNAME( 0x40,    0x40, "Credit configuration" ) PORT_DIPLOCATION("SW1:2")
136   PORT_DIPSETTING(       0x40, "Start 1C" )
137   PORT_DIPSETTING(       0x00, "Start 2C" )
138   PORT_DIPNAME( 0x80,    0x80, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("SW1:1")
139   PORT_DIPSETTING(       0x80, DEF_STR( Off ) )
140   PORT_DIPSETTING(       0x00, DEF_STR( On ) )
141141
142142   PORT_START("DSW2")
143   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) )
144   PORT_DIPSETTING(    0x02, DEF_STR( Easy ) )
145   PORT_DIPSETTING(    0x03, DEF_STR( Normal ) )
146   PORT_DIPSETTING(    0x01, DEF_STR( Hard ) )
147   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
148   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Lives ) )
149   PORT_DIPSETTING(    0x0c, "3" )
150   PORT_DIPSETTING(    0x08, "1" )
151   PORT_DIPSETTING(    0x04, "2" )
152   PORT_DIPSETTING(    0x00, "4" )
153   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Version ) )
154   PORT_DIPSETTING(    0x10, DEF_STR( Normal ) )
155   PORT_DIPSETTING(    0x00, "Light" )
156   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Demo_Sounds ) )
157   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
158   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
159   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
160   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
161   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
162   PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
143   PORT_DIPNAME( 0x03,    0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:7,8")
144   PORT_DIPSETTING(       0x02, DEF_STR( Easy ) )
145   PORT_DIPSETTING(       0x03, DEF_STR( Normal ) )
146   PORT_DIPSETTING(       0x01, DEF_STR( Hard ) )
147   PORT_DIPSETTING(       0x00, DEF_STR( Hardest ) )
148   PORT_DIPNAME( 0x0c,    0x0c, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:5,6")
149   PORT_DIPSETTING(       0x0c, "3" )
150   PORT_DIPSETTING(       0x08, "1" )
151   PORT_DIPSETTING(       0x04, "2" )
152   PORT_DIPSETTING(       0x00, "4" )
153   PORT_DIPNAME( 0x10,    0x10, DEF_STR( Version ) ) PORT_DIPLOCATION("SW2:4")
154   PORT_DIPSETTING(       0x10, DEF_STR( Normal ) )
155   PORT_DIPSETTING(       0x00, "Light" )
156   PORT_DIPNAME( 0x20,    0x20, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:3")
157   PORT_DIPSETTING(       0x00, DEF_STR( Off ) )
158   PORT_DIPSETTING(       0x20, DEF_STR( On ) )
159   PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW2:2" ) /* Listed as "Unused" */
160   PORT_SERVICE_DIPLOC(   0x80, IP_ACTIVE_LOW, "SW2:1" )
163161
164162   PORT_START("P1")
165163   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1)
src/mame/drivers/seattle.c
r5338r5339
26252625ROM_END
26262626
26272627
2628ROM_START( calspeda )
2628ROM_START( calspeeda )
26292629   ROM_REGION32_LE( 0x80000, "user1", 0 )   /* Boot Code Version 1.2 (2/18/98) */
26302630   ROM_LOAD( "caspd1_2.u32", 0x000000, 0x80000, CRC(0a235e4e) SHA1(b352f10fad786260b58bd344b5002b6ea7aaf76d) )
26312631
r5338r5339
26492649ROM_END
26502650
26512651
2652ROM_START( vaportrp )
2652ROM_START( vaportrxp )
26532653   ROM_REGION32_LE( 0x80000, "user1", 0 )
26542654   ROM_LOAD( "vtrxboot.bin", 0x000000, 0x80000, CRC(ee487a6c) SHA1(fb9efda85047cf615f24f7276a9af9fd542f3354) )
26552655
r5338r5339
27332733ROM_END
27342734
27352735
2736ROM_START( carnevi1 )
2736ROM_START( carnevil1 )
27372737   ROM_REGION16_LE( 0x10000, "dcs", 0 )   /* ADSP-2115 data Version 1.02 */
27382738   ROM_LOAD16_BYTE( "sound102.u95", 0x000000, 0x8000, CRC(bec7d3ae) SHA1(db80aa4a645804a4574b07b9f34dec6b6b64190d) )
27392739
r5338r5339
29542954GAME( 1996, sfrush,   0,        flagstaff,         sfrush,   sfrush,   ROT0, "Atari Games",  "San Francisco Rush", GAME_SUPPORTS_SAVE )
29552955GAME( 1996, sfrushrk, 0,        flagstaff,         sfrushrk, sfrushrk, ROT0, "Atari Games",  "San Francisco Rush: The Rock", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
29562956GAME( 1998, calspeed, 0,        seattle150_widget, calspeed, calspeed, ROT0, "Atari Games",  "California Speed (Version 2.1a, 4/17/98)", GAME_SUPPORTS_SAVE )
2957GAME( 1998, calspeda, calspeed, seattle150_widget, calspeed, calspeed, ROT0, "Atari Games",  "California Speed (Version 1.0r7a 3/4/98)", GAME_SUPPORTS_SAVE )
2957GAME( 1998, calspeeda,calspeed, seattle150_widget, calspeed, calspeed, ROT0, "Atari Games",  "California Speed (Version 1.0r7a 3/4/98)", GAME_SUPPORTS_SAVE )
29582958GAME( 1998, vaportrx, 0,        seattle200_widget, vaportrx, vaportrx, ROT0, "Atari Games",  "Vapor TRX", GAME_SUPPORTS_SAVE )
2959GAME( 1998, vaportrp, vaportrx, seattle200_widget, vaportrx, vaportrx, ROT0, "Atari Games",  "Vapor TRX (prototype)", GAME_SUPPORTS_SAVE )
2959GAME( 1998, vaportrxp,vaportrx, seattle200_widget, vaportrx, vaportrx, ROT0, "Atari Games",  "Vapor TRX (prototype)", GAME_SUPPORTS_SAVE )
29602960
29612961/* Midway */
29622962GAME( 1997, biofreak, 0,        seattle150,        biofreak, biofreak, ROT0, "Midway Games", "BioFreaks (prototype)", GAME_SUPPORTS_SAVE )
r5338r5339
29652965GAME( 1998, blitz99,  0,        seattle150,        blitz99,  blitz99,  ROT0, "Midway Games", "NFL Blitz '99", GAME_SUPPORTS_SAVE )
29662966GAME( 1999, blitz2k,  0,        seattle150,        blitz99,  blitz2k,  ROT0, "Midway Games", "NFL Blitz 2000 Gold Edition", GAME_SUPPORTS_SAVE )
29672967GAME( 1998, carnevil, 0,        seattle150,        carnevil, carnevil, ROT0, "Midway Games", "CarnEvil (v1.0.3)", GAME_SUPPORTS_SAVE )
2968GAME( 1998, carnevi1, carnevil, seattle150,        carnevil, carnevil, ROT0, "Midway Games", "CarnEvil (v1.0.1)", GAME_SUPPORTS_SAVE )
2968GAME( 1998, carnevil1,carnevil, seattle150,        carnevil, carnevil, ROT0, "Midway Games", "CarnEvil (v1.0.1)", GAME_SUPPORTS_SAVE )
29692969GAME( 1998, hyprdriv, 0,        seattle200_widget, hyprdriv, hyprdriv, ROT0, "Midway Games", "Hyperdrive", GAME_SUPPORTS_SAVE )
src/mame/drivers/alpha68k.c
r5338r5339
5656
5757 3)  'paddlema'
5858
59  - "Game Time" Dip Switch is the time for match type A. Here is what you
60    have to add for games B to E :
59  - "Game Time" The effects of "Game Time" and "Match Type"
6160
62      Match Type       B        C        D        E
63      Time to add    00:10    01:00    01:30    02:00
61      Time Setting
62                       A            B            C            D            E
63       Match Type  1P vs Comp.  2P vs Comp.  1P vs 1P     2P vs 1P     2P vs 2P
64            A        1:00         1:10         2:00         2:30         3:00
65            B        1:10         1:20         2:10         2:40         3:10
66            C        1:20         1:30         2:20         2:50         3:20
67            D        1:30         1:40         2:30         3:00         3:30
6468
69
6570  - When "Game Mode" Dip Switch is set to "Win Match Against CPU", this has
6671    an effect on matches types A and B : player is awarded 99 points at the
6772    round, which is enough to win all matches then see the ending credits.
r5338r5339
496501
497502            if ((coin_id&0xff) == 0x22)
498503            {
499               if(!strcmp(space->machine->gamedrv->name, "btlfildb"))
504               if(!strcmp(space->machine->gamedrv->name, "btlfieldb"))
500505                  coinvalue = (input_port_read(space->machine, "IN4")>>0) & 7;
501506               else
502507                  coinvalue = (~input_port_read(space->machine, "IN4")>>0) & 7;
r5338r5339
519524
520525            if ((coin_id>>8) == 0x22)
521526            {
522               if(!strcmp(space->machine->gamedrv->name, "btlfildb"))
527               if(!strcmp(space->machine->gamedrv->name, "btlfieldb"))
523528                  coinvalue = (input_port_read(space->machine, "IN4")>>0) & 7;
524529               else
525530                  coinvalue = (~input_port_read(space->machine, "IN4")>>0) & 7;
r5338r5339
10871092   ALPHA68K_PLAYER_INPUT_MSB( 4, IPT_UNKNOWN, IPT_UNKNOWN, IP_ACTIVE_LOW )
10881093
10891094   PORT_START("IN3") //DSW0
1090   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_B ) )
1095   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW1:8,7")
10911096   PORT_DIPSETTING(    0x03, DEF_STR( 1C_2C ) )
10921097   PORT_DIPSETTING(    0x01, DEF_STR( 1C_3C ) )
10931098   PORT_DIPSETTING(    0x02, DEF_STR( 1C_4C ) )
10941099   PORT_DIPSETTING(    0x00, DEF_STR( 1C_6C ) )
1095   PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coin_A ) )
1100   PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW1:6,5")
10961101   PORT_DIPSETTING(    0x0c, DEF_STR( 4C_1C ) )
10971102   PORT_DIPSETTING(    0x04, DEF_STR( 3C_1C ) )
10981103   PORT_DIPSETTING(    0x08, DEF_STR( 2C_1C ) )
10991104   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
1100   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Game_Time ) )            // See notes
1101   PORT_DIPSETTING(    0x00, "1:00" )
1102   PORT_DIPSETTING(    0x20, "1:10" )
1103   PORT_DIPSETTING(    0x10, "1:20" )
1104   PORT_DIPSETTING(    0x30, "1:30" )
1105   PORT_DIPNAME( 0xc0, 0x40, "Match Type" )
1106   PORT_DIPSETTING(    0x80, "A to B" )
1107   PORT_DIPSETTING(    0x00, "A to C" )
1108   PORT_DIPSETTING(    0x40, "A to E" )
1109//  PORT_DIPSETTING(    0xc0, "A to B" )                // Possibility of "A only" in another version ?
1105   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Game_Time ) )   PORT_DIPLOCATION("SW1:4,3") /* See notes for Game Time / Match Type combos */
1106   PORT_DIPSETTING(    0x00, "Defualt Time" )
1107   PORT_DIPSETTING(    0x20, "+10 Seconds" )
1108   PORT_DIPSETTING(    0x10, "+20 Seconds" )
1109   PORT_DIPSETTING(    0x30, "+30 Seconds" )
1110   PORT_DIPNAME( 0xc0, 0x40, "Match Type" )      PORT_DIPLOCATION("SW1:2,1") /* Styles are for Upright/Table & Single/Dual controls???? */
1111   PORT_DIPSETTING(    0x80, "A to B" )   /* Manual shows "Upright Sytle B" */
1112   PORT_DIPSETTING(    0x00, "A to C" )   /* Manual shows "Upright Sytle A" */
1113   PORT_DIPSETTING(    0x40, "A to E" )   /* Manual shows "Table Sytle C"   */
1114//  PORT_DIPSETTING(    0xc0, "A to B" )    /* Manual shows "Table Sytle D"   */
11101115
11111116   PORT_START("IN4")   // DSW1
1112   PORT_SERVICE( 0x01, IP_ACTIVE_HIGH )
1113   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unused ) )
1114   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1115   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
1116   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unused ) )
1117   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1118   PORT_DIPSETTING(    0x04, DEF_STR( On ) )
1119   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unused ) )
1120   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1121   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
1122   PORT_DIPNAME( 0x30, 0x00, "Game Mode" )
1117   PORT_SERVICE_DIPLOC(  0x01, IP_ACTIVE_HIGH, "SW2:8" )
1118   PORT_DIPUNUSED_DIPLOC( 0x02, 0x01, "SW2:7" )      /* Listed as "Unused" */
1119   PORT_DIPUNUSED_DIPLOC( 0x04, 0x01, "SW2:6" )      /* Listed as "Unused" */
1120   PORT_DIPUNUSED_DIPLOC( 0x08, 0x01, "SW2:5" )      /* Listed as "Unused" */
1121   PORT_DIPNAME( 0x30, 0x00, "Game Mode" )         PORT_DIPLOCATION("SW2:4,3")
11231122   PORT_DIPSETTING(    0x20, "Demo Sounds Off" )
11241123   PORT_DIPSETTING(    0x00, "Demo Sounds On" )
11251124   PORT_DIPSETTING(    0x10, "Win Match Against CPU (Cheat)")
11261125   PORT_DIPSETTING(    0x30, "Freeze" )
1127   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Language ) )
1126   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Language ) )      PORT_DIPLOCATION("SW2:2") /* Manual shows "Off" for this dipswitch */
11281127   PORT_DIPSETTING(    0x00, DEF_STR( English ) )
11291128   PORT_DIPSETTING(    0x40, DEF_STR( Japanese ) )
1130   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Allow_Continue ) )
1129   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Allow_Continue ) )   PORT_DIPLOCATION("SW2:1")
11311130   PORT_DIPSETTING(    0x80, DEF_STR( No ) )
11321131   PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
11331132INPUT_PORTS_END
r5338r5339
11461145   PORT_SERVICE_NO_TOGGLE(0x02, IP_ACTIVE_LOW)
11471146
11481147   /* 2 physical sets of _6_ dip switches */
1149   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Flip_Screen ) )
1148   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:1")
11501149   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
11511150   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1152   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Difficulty ) )
1151   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:2,3")
11531152   PORT_DIPSETTING(    0x00, DEF_STR( Easy ) )
11541153   PORT_DIPSETTING(    0x18, DEF_STR( Normal ) )
11551154//  PORT_DIPSETTING(    0x08, DEF_STR( Normal ) )
1156   PORT_DIPSETTING(    0x10, DEF_STR( Hard ) )               /* "Difficult" */
1157   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Language ) )
1155   PORT_DIPSETTING(    0x10, DEF_STR( Hard ) )
1156   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Language ) )      PORT_DIPLOCATION("SW1:4")
11581157   PORT_DIPSETTING(    0x00, DEF_STR( English ) )
11591158   PORT_DIPSETTING(    0x20, DEF_STR( Japanese ) )
1160   PORT_DIPUNUSED( 0x40, 0x40 )                        /* See notes */
1161   PORT_DIPNAME( 0x80, 0x80, "Invulnerability (Cheat)")
1159   PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW1:5" )      /* Listed as "Unused" - See notes */
1160   PORT_DIPNAME( 0x80, 0x80, "Invulnerability (Cheat)")   PORT_DIPLOCATION("SW1:6") /* Listed in the manual as "Free Play" */
11621161   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
11631162   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
11641163
11651164   PORT_START("IN4") /* A 6 way dip switch */
11661165   ALPHA68K_COINAGE_BITS_0TO2
1167   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Demo_Sounds ) )
1166   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:3")
11681167   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
11691168   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1170   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
1169   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:2,1")
11711170   PORT_DIPSETTING(    0x30, "3" )
11721171   PORT_DIPSETTING(    0x20, "4" )
11731172   PORT_DIPSETTING(    0x10, "5" )
r5338r5339
12031202   PORT_DIPSETTING(    0x00, DEF_STR( Easy ) )
12041203   PORT_DIPSETTING(    0x18, DEF_STR( Normal ) )
12051204//  PORT_DIPSETTING(    0x08, DEF_STR( Normal ) )
1206   PORT_DIPSETTING(    0x10, DEF_STR( Hard ) )            /* "Difficult" */
1205   PORT_DIPSETTING(    0x10, DEF_STR( Hard ) )
12071206   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Language ) )         PORT_DIPLOCATION("SW1:4") /* Listed as "Unused". */
12081207   PORT_DIPSETTING(    0x00, DEF_STR( English ) )
12091208   PORT_DIPSETTING(    0x20, DEF_STR( Japanese ) )
12101209   PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW1:5" )         /* Listed as "Unused", see notes. */
1211   PORT_DIPNAME( 0x80, 0x80, "Invulnerability (Cheat)")   PORT_DIPLOCATION("SW1:6")
1210   PORT_DIPNAME( 0x80, 0x80, "Invulnerability (Cheat)")      PORT_DIPLOCATION("SW1:6")
12121211   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
12131212   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
12141213
r5338r5339
12171216   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Demo_Sounds ) )      PORT_DIPLOCATION("SW2:3")
12181217   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
12191218   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1220   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )         PORT_DIPLOCATION("SW2:1,2")
1219   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )         PORT_DIPLOCATION("SW2:2,1")
12211220   PORT_DIPSETTING(    0x30, "3" )
12221221   PORT_DIPSETTING(    0x20, "4" )
12231222   PORT_DIPSETTING(    0x10, "5" )
r5338r5339
12711270   PORT_SERVICE_NO_TOGGLE(0x02, IP_ACTIVE_LOW)
12721271
12731272   /* 2 physical sets of _6_ dip switches */
1274   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Flip_Screen ) )
1273   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:1")
12751274   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
12761275   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1277   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Difficulty ) )
1278   PORT_DIPSETTING(    0x08, DEF_STR( Easy ) )               // "1"
1279   PORT_DIPSETTING(    0x10, DEF_STR( Normal ) )            // "2"
1280   PORT_DIPSETTING(    0x18, DEF_STR( Hard ) )               // "3"
1281   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )            // "4"
1282   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Language ) )
1276   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:2,3")
1277   PORT_DIPSETTING(    0x08, DEF_STR( Easy ) )
1278   PORT_DIPSETTING(    0x10, DEF_STR( Normal ) )
1279   PORT_DIPSETTING(    0x18, DEF_STR( Hard ) )
1280   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
1281   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Language ) )      PORT_DIPLOCATION("SW1:4") /* Manual states "Always On" */
12831282   PORT_DIPSETTING(    0x00, DEF_STR( English ) )
12841283   PORT_DIPSETTING(    0x20, DEF_STR( Japanese ) )
1285   PORT_DIPNAME( 0x40, 0x40, "Manufacturer" )         // See notes
1284   PORT_DIPNAME( 0x40, 0x40, "Manufacturer" )      PORT_DIPLOCATION("SW1:5") /* Manual states "Always Off"  See notes */
12861285   PORT_DIPSETTING(    0x40, "SNK" )
12871286   PORT_DIPSETTING(    0x00, "Romstar" )
1288   PORT_DIPNAME( 0x80, 0x80, "Invulnerability (Cheat)")
1287   PORT_DIPNAME( 0x80, 0x80, "Invulnerability (Cheat)")   PORT_DIPLOCATION("SW1:6")
12891288   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
12901289   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
12911290
12921291   PORT_START("IN4") /* A 6 way dip switch */
12931292   ALPHA68K_COINAGE_BITS_0TO2
1294   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Demo_Sounds ) )
1293   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:3")
12951294   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
12961295   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1297   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
1296   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:2,1")
12981297   PORT_DIPSETTING(    0x30, "3" )
12991298   PORT_DIPSETTING(    0x20, "4" )
13001299   PORT_DIPSETTING(    0x10, "5" )
r5338r5339
13361335   PORT_SERVICE_NO_TOGGLE(0x02, IP_ACTIVE_LOW)
13371336
13381337   /* 2 physical sets of _6_ dip switches */
1339   PORT_DIPNAME( 0x04, 0x00, "Event Select" )         PORT_DIPLOCATION("SW1:1")
1338   PORT_DIPNAME( 0x04, 0x00, "Event Select" )      PORT_DIPLOCATION("SW1:1")
13401339   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
13411340   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
13421341   PORT_DIPNAME( 0x88, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW1:2,6")
r5338r5339
13441343   PORT_DIPSETTING(    0x80, "Upright 4 Players" )
13451344   PORT_DIPSETTING(    0x88, DEF_STR( Cocktail ) )
13461345   //PORT_DIPSETTING(  0x08, DEF_STR( Cocktail ) )     /* Not documented. */
1347   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START3 )         PORT_DIPLOCATION("SW1:3") /* Listed as "Always OFF". */
1346   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START3 )      PORT_DIPLOCATION("SW1:3") /* Listed as "Always OFF". */
13481347   PORT_DIPNAME( 0x20, 0x20, "Speed For 100M Dash" )   PORT_DIPLOCATION("SW1:4")
13491348   PORT_DIPSETTING(    0x00, "10 Beats For Max Speed" )
13501349   PORT_DIPSETTING(    0x20, "14 Beats For Max Speed" )
1351   PORT_DIPNAME( 0x40, 0x40, "Computer Demonstration" )PORT_DIPLOCATION("SW1:5")
1350   PORT_DIPNAME( 0x40, 0x40, "Computer Demonstration" )   PORT_DIPLOCATION("SW1:5")
13521351   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
13531352   PORT_DIPSETTING(    0x40, DEF_STR( On ) )
13541353
r5338r5339
14061405   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:2")
14071406   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
14081407   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1409   PORT_DIPNAME( 0x20, 0x20, "Freeze" )            PORT_DIPLOCATION("SW1:1")
1408   PORT_DIPNAME( 0x20, 0x20, "Freeze" )         PORT_DIPLOCATION("SW1:1")
14101409   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
14111410   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
14121411   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
r5338r5339
14201419   PORT_DIPNAME( 0x01, 0x00, "Price to Continue" )      PORT_DIPLOCATION("SW1:6")
14211420   PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
14221421   PORT_DIPSETTING(    0x00, "Same as Start" )
1423   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Allow_Continue ) )PORT_DIPLOCATION("SW1:5")
1422   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Allow_Continue ) )   PORT_DIPLOCATION("SW1:5")
14241423   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
14251424   PORT_DIPSETTING(    0x02, DEF_STR( Yes ) )
14261425   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:3,4")
r5338r5339
14491448   PORT_DIPSETTING(    0x0c, "3" )
14501449   PORT_DIPSETTING(    0x04, "4" )
14511450   PORT_DIPSETTING(    0x00, "5" )
1452   PORT_DIPNAME( 0x10, 0x00, "Timer Speed" )         PORT_DIPLOCATION("SW2:3") // Check code at 0x01923a
1453   PORT_DIPSETTING(    0x00, "Slow" )               // 1 second = 0x01ff
1451   PORT_DIPNAME( 0x10, 0x00, "Timer Speed" )      PORT_DIPLOCATION("SW2:3") // Check code at 0x01923a
1452   PORT_DIPSETTING(    0x00, "Slow" )         // 1 second = 0x01ff
14541453   PORT_DIPSETTING(    0x10, DEF_STR( Normal ) )      // 1 second = 0x013f
14551454   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:4,5")
14561455   PORT_DIPSETTING(    0x40, DEF_STR( Easy ) )
r5338r5339
14651464   PORT_DIPNAME( 0x01, 0x00, "Price to Continue" )      PORT_DIPLOCATION("SW1:6")
14661465   PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
14671466   PORT_DIPSETTING(    0x00, "Same as Start" )
1468   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Allow_Continue ) )PORT_DIPLOCATION("SW1:5")
1467   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Allow_Continue ) )   PORT_DIPLOCATION("SW1:5")
14691468   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
14701469   PORT_DIPSETTING(    0x02, DEF_STR( Yes ) )
14711470   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:3,4")
r5338r5339
14761475   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:2")
14771476   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
14781477   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1479   PORT_DIPNAME( 0x20, 0x20, "Freeze" )            PORT_DIPLOCATION("SW1:1")
1478   PORT_DIPNAME( 0x20, 0x20, "Freeze" )         PORT_DIPLOCATION("SW1:1")
14801479   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
14811480   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
14821481   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
r5338r5339
14931492   PORT_DIPSETTING(    0x00, "4" )
14941493
14951494   PORT_MODIFY("IN4") /* A 6 way dip switch */
1496   PORT_DIPNAME( 0x01, 0x00, "Coin Slots" )         PORT_DIPLOCATION("SW1:6")
1495   PORT_DIPNAME( 0x01, 0x00, "Coin Slots" )      PORT_DIPLOCATION("SW1:6")
14971496   PORT_DIPSETTING(    0x00, "1" )
14981497   PORT_DIPSETTING(    0x01, "2" )
14991498   PORT_DIPNAME( 0x0e, 0x0e, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:3,4,5")
r5338r5339
16221621   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Demo_Sounds ) )      PORT_DIPLOCATION("SW2:3") PORT_CONDITION("DSW2",0x08,PORTCOND_EQUALS,0x08)
16231622   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
16241623   PORT_DIPSETTING(    0x04, DEF_STR( On ) )
1625   PORT_DIPNAME( 0x04, 0x04, "Game Mode" )               PORT_DIPLOCATION("SW2:3") PORT_CONDITION("DSW2",0x08,PORTCOND_EQUALS,0x00)
1624   PORT_DIPNAME( 0x04, 0x04, "Game Mode" )            PORT_DIPLOCATION("SW2:3") PORT_CONDITION("DSW2",0x08,PORTCOND_EQUALS,0x00)
16261625   PORT_DIPSETTING(    0x00, "Freeze" )
16271626   PORT_DIPSETTING(    0x04, "Infinite Lives (Cheat)")
1628   PORT_DIPNAME( 0x08, 0x08, "SW2:3 Demo Sound/Game Mode" )PORT_DIPLOCATION("SW2:4")
1627   PORT_DIPNAME( 0x08, 0x08, "SW2:3 Demo Sound/Game Mode" )   PORT_DIPLOCATION("SW2:4")
16291628   PORT_DIPSETTING(    0x08, DEF_STR( Demo_Sounds ) )
16301629   PORT_DIPSETTING(    0x00, "Game Mode" )
16311630   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )      PORT_DIPLOCATION("SW2:5,6")
r5338r5339
25422541   ROM_LOAD( "bf.21",           0x1c0000, 0x20000, CRC(bc3b3944) SHA1(6c99d2b093e5cb04dc3422c2f0f81a20f5a504b5) )
25432542ROM_END
25442543
2545ROM_START( timesol1 )
2544ROM_START( timesold1 )
25462545   ROM_REGION( 0x40000, "maincpu", 0 )
25472546   ROM_LOAD16_BYTE( "3",          0x00000,  0x10000, CRC(bc069a29) SHA1(891a6809931871a1da0a5a4d313623a8b92326e3) )
25482547   ROM_LOAD16_BYTE( "4",          0x00001,  0x10000, CRC(ac7dca56) SHA1(4322d601ea5abe222f2d707fbfbfb3b207509760) )
r5338r5339
26062605   ROM_LOAD( "bf.21",           0x1c0000, 0x20000, CRC(bc3b3944) SHA1(6c99d2b093e5cb04dc3422c2f0f81a20f5a504b5) )
26072606ROM_END
26082607
2609ROM_START( btlfildb )
2608ROM_START( btlfieldb )
26102609   ROM_REGION( 0x40000, "maincpu", 0 )
26112610   ROM_LOAD16_BYTE( "3.bin",      0x00000, 0x10000, CRC(141f10ca) SHA1(4f6a59975964c92693476576533aba80c089b5ef) )
26122611   ROM_LOAD16_BYTE( "1.bin",      0x00001, 0x10000, CRC(caa09adf) SHA1(5df0775119b3e957bbe620142a5454e337bdf4b8) )
r5338r5339
27322731ROM_END
27332732
27342733// it runs in an Alpha-68K96III system board
2735ROM_START( goldmeda )
2734ROM_START( goldmedla )
27362735   ROM_REGION( 0x40000, "maincpu", 0 )
27372736   ROM_LOAD16_BYTE( "gm3-7.bin", 0x00000, 0x10000, CRC(11a63f4c) SHA1(840a8f1f6d80d0395c65f8ad30cc6bfe5a9693f4) )
27382737   ROM_LOAD16_BYTE( "gm4-7.bin", 0x00001, 0x10000, CRC(e19966af) SHA1(a2523627fcc9f5e4a82b4ebec937880fc0e0e9f3) )
r5338r5339
27612760ROM_END
27622761
27632762//AT: the bootleg set has strong resemblance of "goldmed7" on an Alpha-68K96III system board
2764ROM_START( goldmedb )
2763ROM_START( goldmedlb )
27652764   ROM_REGION( 0x40000, "maincpu", 0 )
27662765   ROM_LOAD16_BYTE( "l_3.bin",   0x00000,  0x10000, CRC(5e106bcf) SHA1(421ddfdd5ef1e9b5b7c45617fd690df982d63c4b) )
27672766   ROM_LOAD16_BYTE( "l_4.bin",   0x00001,  0x10000, CRC(e19966af) SHA1(a2523627fcc9f5e4a82b4ebec937880fc0e0e9f3) )
r5338r5339
28142813   ROM_LOAD( "sachr0",         0x1e0000, 0x80000, CRC(e281b204) SHA1(50a041c701970013b84826d67c8002ccd291bfdd) )
28152814ROM_END
28162815
2817ROM_START( skyadvnu )
2816ROM_START( skyadvntu )
28182817   ROM_REGION( 0x40000, "maincpu", 0 )
28192818   ROM_LOAD16_BYTE( "sa_v3.1",   0x00000,  0x20000, CRC(862393b5) SHA1(6c9176a6ae286854f2fa7512c293984a3b952f10) )
28202819   ROM_LOAD16_BYTE( "sa_v3.2",   0x00001,  0x20000, CRC(fa7a14d1) SHA1(d941042cff726f02e1e645a158b6a2484869464b) )
r5338r5339
28362835   ROM_LOAD( "sachr0",         0x1e0000, 0x80000, CRC(e281b204) SHA1(50a041c701970013b84826d67c8002ccd291bfdd) )
28372836ROM_END
28382837
2839ROM_START( skyadvnj )
2838ROM_START( skyadvntj )
28402839   ROM_REGION( 0x40000, "maincpu", 0 )
28412840   ROM_LOAD16_BYTE( "saj1.c19",  0x00000,  0x20000, CRC(662cb4b8) SHA1(853ad557ee7942cef542253f0e643955e27f0ed2) )
28422841   ROM_LOAD16_BYTE( "saj2.e19",  0x00001,  0x20000, CRC(06d6130a) SHA1(3411ac90e3039e46887451fc97ec2a22ad0f18fe) )
r5338r5339
29332932   ROM_LOAD16_BYTE( "u4",        0x00001,  0x20000, CRC(43f7f5d3) SHA1(13ea03cfae97d0067dcfdc6febb53dbe268a91eb) )
29342933ROM_END
29352934
2936ROM_START( gangwarb )
2935ROM_START( gangwarsb )
29372936   ROM_REGION( 0x40000, "maincpu", 0 )
29382937   ROM_LOAD16_BYTE( "gwb_ic.m15", 0x00000, 0x20000, CRC(7752478e) SHA1(7266dd0d2c57433191ae4d1d4e17b32c8c3c8c73) )
29392938   ROM_LOAD16_BYTE( "gwb_ic.m16", 0x00001, 0x20000, CRC(c2f3b85e) SHA1(79c215d8b43ec7728e3745b359e64f6bb8240881) )
r5338r5339
33133312GAME( 1987, jongbou,  0,        jongbou,       jongbou,  jongbou,  ROT90, "SNK",                "Mahjong Block Jongbou (Japan)", GAME_SUPPORTS_SAVE )
33143313GAME( 1988, paddlema, 0,        alpha68k_I,    paddlema, paddlema, ROT90, "SNK",                "Paddle Mania", GAME_SUPPORTS_SAVE )
33153314GAME( 1987, timesold, 0,        alpha68k_II,   timesold, timesold, ROT90, "[Alpha Denshi Co.] (SNK/Romstar license)", "Time Soldiers (US Rev 3)", GAME_SUPPORTS_SAVE )
3316GAME( 1987, timesol1, timesold, alpha68k_II,   timesold, timesol1, ROT90, "[Alpha Denshi Co.] (SNK/Romstar license)", "Time Soldiers (US Rev 1)", GAME_SUPPORTS_SAVE )
3315GAME( 1987, timesold1,timesold, alpha68k_II,   timesold, timesol1, ROT90, "[Alpha Denshi Co.] (SNK/Romstar license)", "Time Soldiers (US Rev 1)", GAME_SUPPORTS_SAVE )
33173316GAME( 1987, btlfield, timesold, alpha68k_II,   btlfield, btlfield, ROT90, "[Alpha Denshi Co.] (SNK license)", "Battle Field (Japan)", GAME_SUPPORTS_SAVE )
3318GAME( 1987, btlfildb, timesold, btlfildb,      btlfildb, btlfildb, ROT90, "bootleg",            "Battle Field (bootleg)", GAME_SUPPORTS_SAVE )
3317GAME( 1987, btlfieldb,timesold, btlfildb,      btlfildb, btlfildb, ROT90, "bootleg",            "Battle Field (bootleg)", GAME_SUPPORTS_SAVE )
33193318GAME( 1988, skysoldr, 0,        alpha68k_II,   skysoldr, skysoldr, ROT90, "[Alpha Denshi Co.] (SNK of America/Romstar license)", "Sky Soldiers (US)", GAME_SUPPORTS_SAVE )
33203319GAME( 1988, goldmedl, 0,        alpha68k_II_gm,goldmedl, goldmedl, ROT0,  "SNK",                "Gold Medalist", GAME_SUPPORTS_SAVE )
3321GAME( 1988, goldmeda, goldmedl, alpha68k_II_gm,goldmedl, goldmeda, ROT0,  "SNK",                "Gold Medalist (alt)", GAME_SUPPORTS_SAVE )
3322GAME( 1988, goldmedb, goldmedl, alpha68k_II_gm,goldmedl, goldmeda, ROT0,  "bootleg",            "Gold Medalist (bootleg)", GAME_NOT_WORKING )
3320GAME( 1988, goldmedla,goldmedl, alpha68k_II_gm,goldmedl, goldmeda, ROT0,  "SNK",                "Gold Medalist (alt)", GAME_SUPPORTS_SAVE )
3321GAME( 1988, goldmedlb,goldmedl, alpha68k_II_gm,goldmedl, goldmeda, ROT0,  "bootleg",            "Gold Medalist (bootleg)", GAME_NOT_WORKING )
33233322GAME( 1989, skyadvnt, 0,        alpha68k_V,    skyadvnt, skyadvnt, ROT90, "Alpha Denshi Co.",   "Sky Adventure (World)", GAME_SUPPORTS_SAVE )
3324GAME( 1989, skyadvnu, skyadvnt, alpha68k_V,    skyadvnu, skyadvnu, ROT90, "Alpha Denshi Co. (SNK of America license)", "Sky Adventure (US)", GAME_SUPPORTS_SAVE )
3325GAME( 1989, skyadvnj, skyadvnt, alpha68k_V,    skyadvnt, skyadvnt, ROT90, "Alpha Denshi Co.",   "Sky Adventure (Japan)", GAME_SUPPORTS_SAVE )
3323GAME( 1989, skyadvntu,skyadvnt, alpha68k_V,    skyadvnu, skyadvnu, ROT90, "Alpha Denshi Co. (SNK of America license)", "Sky Adventure (US)", GAME_SUPPORTS_SAVE )
3324GAME( 1989, skyadvntj,skyadvnt, alpha68k_V,    skyadvnt, skyadvnt, ROT90, "Alpha Denshi Co.",   "Sky Adventure (Japan)", GAME_SUPPORTS_SAVE )
33263325GAME( 1989, gangwars, 0,        alpha68k_V,    gangwars, gangwars, ROT0,  "Alpha Denshi Co.",   "Gang Wars (US)", GAME_SUPPORTS_SAVE )
3327GAME( 1989, gangwarb, gangwars, alpha68k_V,    gangwarb, gangwarb, ROT0,  "bootleg",            "Gang Wars (bootleg)", GAME_SUPPORTS_SAVE )
3326GAME( 1989, gangwarsb,gangwars, alpha68k_V,    gangwarb, gangwarb, ROT0,  "bootleg",            "Gang Wars (bootleg)", GAME_SUPPORTS_SAVE )
33283327#if SBASEBAL_HACK
33293328GAME( 1989, sbasebal, 0,        alpha68k_V_sb, sbasebal, sbasebal, ROT0,  "Alpha Denshi Co.",   "Super Champion Baseball (Japan)", GAME_SUPPORTS_SAVE )
33303329#else
src/mame/drivers/tmaster.c
r5338r5339
2222
2323To be dumped and added:
2424
25Touch Master 2000
26Touch Master 6000
25Touch Master 6000 <-- There doesn't seem to be a "6000" version
2726Touch Master 7000 *
2827Touch Master 8000 *
2928
3029* There is a reported "Minnesota" version with modifications due to legal issues
3130  Touch Master (current set) is a Euro version, all other sets are "DOMESTIC" (AKA "Standard").
3231  Is there a Touch Master 6000?  TM5K is version 7.10, then TM7K is version 8, TM8K is version 9.xx
33  Starting with Touch Master 2000, each later version is a chipswap for the mainboard.
32
33- There are known regional versions like California, Minnesota and likely others.  The difference
34  between regional sets are not known at this time.
35
36- Starting with Touch Master 2000, each later version is a chipswap for the mainboard.
3437   IE: Touch Master 8000 chips can update any Touch Master mainboard 2000 through 7000
3538  Each version (IE: 2000, 3000, 7000 ect) has different girls for Strip Poker ;-)
3639
r5338r5339
905908
906909/***************************************************************************
907910
911Touchmaster 2000
912by Midway (c) 1996
913touchscreen game
914
915Name_Board Location        Version               Use             Checksum
916-------------------------------------------------------------------------
917TM2K_v402.u51              4.02 Game Program & Cpu instructions   c625
918TM2K_v402.u52              4.02 Game Program & Cpu instructions   e8a7
919
920TM2K_graphic.u36           4.0  Video Images & Graphics           20cb
921TM2K_graphic.u37           4.0  Video Images & Graphics           f5cf
922TM2K_graphic.u38           4.0  Video Images & Graphics           14c7
923TM2K_graphic.u39           4.0  Video Images & Graphics           043e
924TM2K_sound.u8              4.0  Audio Program & sounds            9307
925u62 (NOT INCLUDED)         N/A  Battery Memory Module             N/A
926
927Does not require a security key
928
929***************************************************************************/
930
931ROM_START( tm2k )
932   ROM_REGION( 0x200000, "maincpu", 0 ) // 68000 Code
933   ROM_LOAD16_BYTE( "tm2k_v402.u51", 0x000000, 0x100000, CRC(fa6d168c) SHA1(c458d1114c658ac963a22cdb74ee5ea489ddcbba) ) /* Ver: 4.02 Standard 5-30-97 */
934   ROM_LOAD16_BYTE( "tm2k_v402.u52", 0x000001, 0x100000, CRC(4e9c2d42) SHA1(67e34778f21010c43c1247179faa3f7ede5ad8d0) ) /* Ver: 4.02 Standard 5-30-97 */
935
936   ROM_REGION( 0x400000, "gfx1", ROMREGION_ERASE )   // Blitter gfx
937   ROM_LOAD16_BYTE( "tm2k_graphic.u38", 0x100000, 0x080000, CRC(22bb6cc5) SHA1(fc6cfd4e1e6e1455d648a7b63f2c8e37cdfe86d6) )
938   ROM_LOAD16_BYTE( "tm2k_graphic.u36", 0x100001, 0x080000, CRC(7f0840ac) SHA1(1c3af419d571579a3f2c561617d55914d28ef22b) )
939   ROM_LOAD16_BYTE( "tm2k_graphic.u39", 0x300000, 0x080000, CRC(059e1bd8) SHA1(7451c1cfa0d090b0566e353738a1ffba732a8ad2) )
940   ROM_LOAD16_BYTE( "tm2k_graphic.u37", 0x300001, 0x080000, CRC(4cf65950) SHA1(74d49166da19ecc4b8fc1e8e3f01361dfb645eea) )
941
942   ROM_REGION( 0x100000, "oki", 0 ) // Samples
943   ROM_LOAD( "tm2k_sound.u8", 0x40000, 0x040000, CRC(f39ad4cf) SHA1(9bcb9a5dd3636d6541eeb3e737c7253ab0ed4e8d) )
944   ROM_CONTINUE(              0xc0000, 0x040000 )
945ROM_END
946
947/***************************************************************************
948
908949Touchmaster 3000
909950by Midway (c) 1997
910951touchscreen game
r5338r5339
10851126   ROM_LOAD( "tm5k_sound.u8", 0x00000, 0x100000, CRC(c6070a60) SHA1(2dc20bf2217a36374b5a691133ad43f53dbe29ca) ) /* Mask rom labeled 5341-15951-03 U8 VIDEO IMAGE */
10861127ROM_END
10871128
1129ROM_START( tm5ka )
1130   ROM_REGION( 0x200000, "maincpu", 0 ) // 68000 Code
1131   ROM_LOAD16_BYTE( "tm5k_v7_01.u51", 0x000000, 0x100000, CRC(3ff68213) SHA1(ec4939899a69f56d2437c806fdd0a5b50e58ec6a) ) /* TOUCHMASTER 5000 U51 DOMESTIC 7.01 (Standard 8-21-98) (pink label) */
1132   ROM_LOAD16_BYTE( "tm5k_v7_01.u52", 0x000001, 0x100000, CRC(b3de607c) SHA1(4ede5b8c50177d1934a3b93d311a240ef354c450) ) /* TOUCHMASTER 5000 U52 DOMESTIC 7.01 (Standard 8-21-98) (pink label) */
1133
1134   ROM_REGION( 0x600000, "gfx1", 0 )   // Blitter gfx
1135   ROM_LOAD16_BYTE( "tm5k_graphic.u38", 0x000000, 0x100000, CRC(93038e7c) SHA1(448f69bf51ac992f6b35b471cba9675c67984cd7) ) /* Mask rom labeled 5341-15951-07 U38 VIDEO IMAGE */
1136   ROM_LOAD16_BYTE( "tm5k_graphic.u36", 0x000001, 0x100000, CRC(5453a44a) SHA1(094439a56336ca933b0b7ede8c057546d1d490b2) ) /* Mask rom labeled 5341-15951-06 U36 VIDEO IMAGE */
1137   ROM_LOAD16_BYTE( "tm5k_graphic.u39", 0x200000, 0x100000, CRC(1349fdc7) SHA1(5118983be584455320f0d6006133f38e6a8ee0d8) ) /* Mask rom labeled 5341-15951-05 U39 VIDEO IMAGE */
1138   ROM_LOAD16_BYTE( "tm5k_graphic.u37", 0x200001, 0x100000, CRC(8bcc376c) SHA1(0588f6f96090b26a3ce0eb3a933a5cc9d8ce742d) ) /* Mask rom labeled 5341-15951-04 U37 VIDEO IMAGE */
1139   ROM_LOAD16_BYTE( "tm5k_graphic.u41", 0x400000, 0x100000, CRC(c8717fef) SHA1(fbd13321db0f35b7bdf207468f28792a7666bb2e) ) /* Mask rom labeled 5341-15951-09 U41 VIDEO IMAGE */
1140   ROM_LOAD16_BYTE( "tm5k_graphic.u40", 0x400001, 0x100000, CRC(cff3f962) SHA1(2389d94ffa0eaf2d2f62315822273db031eea033) ) /* Mask rom labeled 5341-15951-08 U40 VIDEO IMAGE */
1141
1142   ROM_REGION( 0x100000, "oki", 0 ) // Samples
1143   ROM_LOAD( "tm5k_sound.u8", 0x00000, 0x100000, CRC(c6070a60) SHA1(2dc20bf2217a36374b5a691133ad43f53dbe29ca) ) /* Mask rom labeled 5341-15951-03 U8 VIDEO IMAGE */
1144ROM_END
1145
10881146/***************************************************************************
10891147
10901148Touchmaster 7000
r5338r5339
13251383
13261384}
13271385
1386static DRIVER_INIT( tm5ka )
1387{
1388   UINT16 *ROM = (UINT16 *)memory_region( machine, "maincpu" );
1389
1390   // protection
1391   ROM[0x96b30/2] = 0x4e75;
1392
1393   ROM[0x96ae6/2] = 0x601a;
1394   ROM[0x96b26/2] = 0x6002;
1395/*
1396Protection starts:
1397
1398 96AD6: addi.w  #$384, D0       0640 0384
1399 96ADA: move.w  D0, $207cb4.l   33C0 0020 7CB4
1400 96AE0: btst    #$7, ($1,A5)    082D 0007 0001
1401 96AE6: beq     $96b02          671A           <-- First patch goes here
1402
1403*/
1404
1405}
1406
13281407static DRIVER_INIT( tm7k )
13291408{
13301409   UINT16 *ROM = (UINT16 *)memory_region( machine, "maincpu" );
r5338r5339
14291508}
14301509
14311510GAME( 1996, tm,       0,    tm,       tm,       0,        ROT0, "Midway",                         "Touchmaster (v3.00 Euro)",           0 )
1511GAME( 1996, tm2k,     0,    tm3k,     tmaster,  0,        ROT0, "Midway",                         "Touchmaster 2000 (v4.02 Standard)",  0 )
14321512GAME( 1997, tm3k,     0,    tm3k,     tmaster,  0,        ROT0, "Midway",                         "Touchmaster 3000 (v5.02 Standard)",  0 )
14331513GAME( 1997, tm3ka,    tm3k, tm3k,     tmaster,  0,        ROT0, "Midway",                         "Touchmaster 3000 (v5.01 Standard)",  0 )
14341514GAME( 1998, tm4k,     0,    tm3k,     tmaster,  tm4k,     ROT0, "Midway",                         "Touchmaster 4000 (v6.02 Standard)",  0 )
14351515GAME( 1998, tm5k,     0,    tm3k,     tmaster,  tm5k,     ROT0, "Midway",                         "Touchmaster 5000 (v7.10 Standard)",  0 )
14361516GAME( 1998, tm5kca,   tm5k, tm3k,     tmaster,  tm5kca,   ROT0, "Midway",                         "Touchmaster 5000 (v7.10 California)",  0 )
1517GAME( 1998, tm5ka,    tm5k, tm3k,     tmaster,  tm5ka,    ROT0, "Midway",                         "Touchmaster 5000 (v7.01 Standard)",  0 )
14371518GAME( 1999, tm7k,     0,    tm3k,     tmaster,  tm7k,     ROT0, "Midway",                         "Touchmaster 7000 (v8.04 Standard)",  0 )
14381519GAME( 1999, tm7ka,    tm7k, tm3k,     tmaster,  tm7ka,    ROT0, "Midway",                         "Touchmaster 7000 (v8.00 Standard)",  0 )
14391520GAME( 1999, tm7keval, tm7k, tm3k,     tmaster,  tm7keval, ROT0, "Midway",                         "Touchmaster 7000 (v8.1X Evaluation)",  0 )
src/mame/drivers/namcos22.c
r5338r5339
40254025   ROM_LOAD( "rv1eeprm.9e", 0x0000, 0x2000, CRC(801222e6) SHA1(a97ba76ad73f75fe7289e2c0d60b2dfdf2a99604) ) /* EPROM */
40264026ROM_END
40274027
4028ROM_START( raveraja )
4028ROM_START( raveracja )
40294029   ROM_REGION( 0x200000, "maincpu", 0 ) /* main program */
40304030   ROM_LOAD32_BYTE( "rv1prll.4d", 0x00003, 0x80000, CRC(5dfce6cd) SHA1(1aeeca1e507ae4cbe3d39ca5efd1cc4fe1ab03a8) )
40314031   ROM_LOAD32_BYTE( "rv1prlm.2d", 0x00002, 0x80000, CRC(0d4d9f74) SHA1(f886b0629cbf5a369af1f44e53c6fd3f51b3fbc9) )
r5338r5339
41384138   ROM_REGION( 0x2000, "user2", ROMREGION_ERASE00 )
41394139ROM_END
41404140
4141ROM_START( ridger2a )
4141ROM_START( ridgera2j )
41424142   ROM_REGION( 0x200000, "maincpu", 0 ) /* main program */
41434143   ROM_LOAD32_BYTE( "rrs1prllb.4d", 0x00003, 0x80000, CRC(22f069e5) SHA1(fcaec3aa83853c39d713ed01c511060663027ccd) )
41444144   ROM_LOAD32_BYTE( "rrs1prlmb.2d", 0x00002, 0x80000, CRC(8e86f199) SHA1(7bd9ec9147ef0380864508f66203ef2c6ad1f7f6) )
r5338r5339
41904190
41914191ROM_END
41924192
4193ROM_START( ridger2b )
4193ROM_START( ridgera2ja )
41944194   ROM_REGION( 0x200000, "maincpu", 0 ) /* main program */
41954195   ROM_LOAD32_BYTE( "rrs1prll.4d", 0x00003, 0x80000, CRC(fbf785a2) SHA1(b9333c7623f68f48aa6ae50913a22a527a19576a) )
41964196   ROM_LOAD32_BYTE( "rrs1prlm.2d", 0x00002, 0x80000, CRC(562f747a) SHA1(79d818b87c9a992fc9706fb39e6d560c2b0aa392) )
r5338r5339
42924292   ROM_REGION( 0x2000, "user2", ROMREGION_ERASE00 )
42934293ROM_END
42944294
4295ROM_START( ridgerab )
4295ROM_START( ridgeracb )
42964296   ROM_REGION( 0x200000, "maincpu", 0 ) /* main program */
42974297   ROM_LOAD32_BYTE( "rr1prll.4d", 0x00003, 0x80000, CRC(4bb7fc86) SHA1(8291375b8ec4d37e0d9e3bf38da2d5907b0f31bd) )
42984298   ROM_LOAD32_BYTE( "rr1prlm.2d", 0x00002, 0x80000, CRC(68e13830) SHA1(ddc447c7afbb5c4238969d7e78bfe9cf8fac6061) )
r5338r5339
43434343   ROM_REGION( 0x2000, "user2", ROMREGION_ERASE00 )
43444344ROM_END
43454345
4346ROM_START( ridgeraj )
4346ROM_START( ridgeracj )
43474347   ROM_REGION( 0x200000, "maincpu", 0 ) /* main program */
43484348   ROM_LOAD32_BYTE( "rr1prll.4d", 0x00003, 0x80000, CRC(4bb7fc86) SHA1(8291375b8ec4d37e0d9e3bf38da2d5907b0f31bd) )
43494349   ROM_LOAD32_BYTE( "rr1prlm.2d", 0x00002, 0x80000, CRC(68e13830) SHA1(ddc447c7afbb5c4238969d7e78bfe9cf8fac6061) )
r5338r5339
44494449   ROM_LOAD( "ts1waveb.1l", 0x800000, 0x200000, CRC(bf4d7272) SHA1(c7c7b3620e7b3176644b6784ee36e679c9e31cc1) )
44504450ROM_END
44514451
4452ROM_START( timecrsa )
4452ROM_START( timecrisa )
44534453   ROM_REGION( 0x400000, "maincpu", 0 ) /* main program */
44544454   ROM_LOAD32_WORD_SWAP( "ts2ver-a.1", 0x00002, 0x200000, CRC(d57eb74b) SHA1(536dd9305d0ac44110c575776333310cc57b5242) )
44554455   ROM_LOAD32_WORD_SWAP( "ts2ver-a.2", 0x00000, 0x200000, CRC(671588af) SHA1(63f992c6795521fd263a0ebf230f8dc88cbfc443) )
r5338r5339
56215621
56225622/*     YEAR, NAME,    PARENT,    MACHINE,   INPUT,    INIT,     MNTR,  COMPANY, FULLNAME,                                    FLAGS */
56235623/* System22 games */
5624GAME( 1995, cybrcomm, 0,        namcos22,  cybrcomm, cybrcomm, ROT0, "Namco", "Cyber Commando (Rev. CY1, Japan)"          , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS|GAME_NOT_WORKING )
5625GAME( 1995, raveracw, 0,        namcos22,  raveracw, raveracw, ROT0, "Namco", "Rave Racer (Rev. RV2, World)"              , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS )
5626GAME( 1995, raveracj, raveracw, namcos22,  raveracw, raveracw, ROT0, "Namco", "Rave Racer (Rev. RV1 Ver.B, Japan)"        , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS )
5627GAME( 1995, raveraja, raveracw, namcos22,  raveracw, raveracw, ROT0, "Namco", "Rave Racer (Rev. RV1, Japan)"              , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS )
5628GAME( 1993, ridgerac, 0,        namcos22,  ridgera,  ridgeraj, ROT0, "Namco", "Ridge Racer (Rev. RR3, World)"             , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) /* 1993-10-07 */
5629GAME( 1993, ridgerab, ridgerac, namcos22,  ridgera,  ridgeraj, ROT0, "Namco", "Ridge Racer (Rev. RR2, World)"             , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) /* 1993-10-07 */
5630GAME( 1993, ridgeraj, ridgerac, namcos22,  ridgera,  ridgeraj, ROT0, "Namco", "Ridge Racer (Rev. RR1, Japan)"             , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) /* 1993-10-07 */
5631GAME( 1994, ridgera2, 0,        namcos22,  ridgera,  ridger2j, ROT0, "Namco", "Ridge Racer 2 (Rev. RRS2, US)"             , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS|GAME_NOT_WORKING ) /* POSTs but doesn's start */
5632GAME( 1994, ridger2a, ridgera2, namcos22,  ridgera,  ridger2j, ROT0, "Namco", "Ridge Racer 2 (Rev. RRS1, Ver.B, Japan)"   , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS|GAME_NOT_WORKING )
5633GAME( 1994, ridger2b, ridgera2, namcos22,  ridgera,  ridger2j, ROT0, "Namco", "Ridge Racer 2 (Rev. RRS1, Japan)"          , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS|GAME_NOT_WORKING )
5634GAME( 1994, acedrvrw, 0,        namcos22,  acedrvr,  acedrvr,  ROT0, "Namco", "Ace Driver (Rev. AD2, World)"              , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS )
5635GAME( 1996, victlapw, 0,        namcos22,  victlap,  victlap,  ROT0, "Namco", "Ace Driver: Victory Lap (Rev. ADV2, World)", GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS )
5624GAME( 1995, cybrcomm,  0,        namcos22,  cybrcomm, cybrcomm, ROT0, "Namco", "Cyber Commando (Rev. CY1, Japan)"          , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS|GAME_NOT_WORKING )
5625GAME( 1995, raveracw,  0,        namcos22,  raveracw, raveracw, ROT0, "Namco", "Rave Racer (Rev. RV2, World)"              , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS )
5626GAME( 1995, raveracj,  raveracw, namcos22,  raveracw, raveracw, ROT0, "Namco", "Rave Racer (Rev. RV1 Ver.B, Japan)"        , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS )
5627GAME( 1995, raveracja, raveracw, namcos22,  raveracw, raveracw, ROT0, "Namco", "Rave Racer (Rev. RV1, Japan)"              , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS )
5628GAME( 1993, ridgerac,  0,        namcos22,  ridgera,  ridgeraj, ROT0, "Namco", "Ridge Racer (Rev. RR3, World)"             , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) /* 1993-10-07 */
5629GAME( 1993, ridgeracb, ridgerac, namcos22,  ridgera,  ridgeraj, ROT0, "Namco", "Ridge Racer (Rev. RR2, World)"             , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) /* 1993-10-07 */
5630GAME( 1993, ridgeracj, ridgerac, namcos22,  ridgera,  ridgeraj, ROT0, "Namco", "Ridge Racer (Rev. RR1, Japan)"             , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) /* 1993-10-07 */
5631GAME( 1994, ridgera2,  0,        namcos22,  ridgera,  ridger2j, ROT0, "Namco", "Ridge Racer 2 (Rev. RRS2, US)"             , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS|GAME_NOT_WORKING ) /* POSTs but doesn's start */
5632GAME( 1994, ridgera2j, ridgera2, namcos22,  ridgera,  ridger2j, ROT0, "Namco", "Ridge Racer 2 (Rev. RRS1, Ver.B, Japan)"   , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS|GAME_NOT_WORKING )
5633GAME( 1994, ridgera2ja,ridgera2, namcos22,  ridgera,  ridger2j, ROT0, "Namco", "Ridge Racer 2 (Rev. RRS1, Japan)"          , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS|GAME_NOT_WORKING )
5634GAME( 1994, acedrvrw,  0,        namcos22,  acedrvr,  acedrvr,  ROT0, "Namco", "Ace Driver (Rev. AD2, World)"              , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS )
5635GAME( 1996, victlapw,  0,        namcos22,  victlap,  victlap,  ROT0, "Namco", "Ace Driver: Victory Lap (Rev. ADV2, World)", GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS )
56365636
56375637/* Super System22 games */
56385638GAME( 1995, airco22b, 0,        namcos22s, airco22,  airco22,  ROT0, "Namco", "Air Combat 22 (Rev. ACS1 Ver.B, Japan)"           , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS|GAME_NOT_WORKING ) /* boots but missing sprite clear DMA? */
r5338r5339
56415641GAME( 1995, cybrcycc, 0,        namcos22s, cybrcycc, cybrcyc,  ROT0, "Namco", "Cyber Cycles (Rev. CB2 Ver.C)"             , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS )
56425642//GAME( 1995, dirtdshx, "Dirt Dash")
56435643GAME( 1995, timecris, 0,        namcos22s, timecris, timecris, ROT0, "Namco", "Time Crisis (Rev. TS2 Ver.B)"              , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS )
5644GAME( 1995, timecrsa, timecris, namcos22s, timecris, timecris, ROT0, "Namco", "Time Crisis (Rev. TS2 Ver.A)"              , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS )
5644GAME( 1995, timecrisa,timecris, namcos22s, timecris, timecris, ROT0, "Namco", "Time Crisis (Rev. TS2 Ver.A)"              , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS )
56455645GAME( 1996, alpinr2b, 0,        namcos22s, alpiner,  alpiner2, ROT0, "Namco", "Alpine Racer 2 (Rev. ARS2 Ver.B)"          , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS )
56465646GAME( 1996, alpinr2a, alpinr2b, namcos22s, alpiner,  alpiner2, ROT0, "Namco", "Alpine Racer 2 (Rev. ARS2 Ver.A)"          , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS|GAME_NOT_WORKING )   /* issues with step lock */
56475647GAME( 1996, alpinesa, 0,        namcos22s, alpiner,  alpinesa, ROT0, "Namco", "Alpine Surfer (Rev. AF2 Ver.A)"            , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/atarisy1.c
r5338r5339
11871187ROM_END
11881188
11891189
1190ROM_START( indytem2 )
1190ROM_START( indytemp2 )
11911191   ROM_REGION( 0x88000, "maincpu", 0 )   /* 8.5*64k for 68000 code & slapstic ROM */
11921192    MOTHERBOARD_BIOS
11931193   ROM_LOAD16_BYTE( "136036.470",   0x10000, 0x08000, CRC(7fac1dd8) SHA1(043daf709209e76115899a1e301f8fb262b3a749) )
r5338r5339
12371237ROM_END
12381238
12391239
1240ROM_START( indytem3 )
1240ROM_START( indytemp3 )
12411241   ROM_REGION( 0x88000, "maincpu", 0 )   /* 8.5*64k for 68000 code & slapstic ROM */
12421242    MOTHERBOARD_BIOS
12431243   ROM_LOAD16_BYTE( "232.10b",      0x10000, 0x08000, CRC(1e80108f) SHA1(663ef81b865c4d13fd73eca4f82ee64a4bdeaad5) )
r5338r5339
12871287ROM_END
12881288
12891289
1290ROM_START( indytem4 )
1290ROM_START( indytemp4 )
12911291   ROM_REGION( 0x88000, "maincpu", 0 )   /* 8.5*64k for 68000 code & slapstic ROM */
12921292    MOTHERBOARD_BIOS
12931293   ROM_LOAD16_BYTE( "136036.332",   0x10000, 0x08000, CRC(a5563773) SHA1(52701b53e62aae691f7b9483f5e843d805223a0a) )
r5338r5339
13371337ROM_END
13381338
13391339
1340ROM_START( indytemc ) /* Dedicated boardset marked 'ATARI SYSTEM I LSI CARTRIDGE COCKTAIL A043310' */
1340ROM_START( indytempc ) /* Dedicated boardset marked 'ATARI SYSTEM I LSI CARTRIDGE COCKTAIL A043310' */
13411341   ROM_REGION( 0x88000, "maincpu", 0 )   /* 8.5*64k for 68000 code & slapstic ROM */
13421342   ROM_LOAD16_BYTE( "136032.116",   0x00000, 0x04000, CRC(195c54ad) SHA1(d7cda3cd3db4c6f77074ca05e96ae11b62e048b7) )
13431343   ROM_LOAD16_BYTE( "136032.117",   0x00001, 0x04000, CRC(9af9fe29) SHA1(1d5077662e4111ece9f8a5124394dad8b1abdc13) )
r5338r5339
13841384ROM_END
13851385
13861386
1387ROM_START( indytemd )
1387ROM_START( indytempd )
13881388   ROM_REGION( 0x88000, "maincpu", 0 )   /* 8.5*64k for 68000 code & slapstic ROM */
13891389    MOTHERBOARD_BIOS
13901390   ROM_LOAD16_BYTE( "136036.462",   0x10000, 0x08000, CRC(317dc430) SHA1(563f09fb1b096bd40e1a73acb7f11d3809f9f19f) )
r5338r5339
15011501ROM_END
15021502
15031503
1504ROM_START( roadrun2 )
1504ROM_START( roadrunn2 )
15051505   ROM_REGION( 0x88000, "maincpu", 0 )   /* 8.5*64k for 68000 code & slapstic ROM */
15061506    MOTHERBOARD_BIOS
15071507   ROM_LOAD16_BYTE( "136040-x28.11c",  0x010000, 0x008000, CRC(fbd43085) SHA1(57f2f2f01e235f4525507583887d52b09f6267b4) )
r5338r5339
15641564ROM_END
15651565
15661566
1567ROM_START( roadrun1 )
1567ROM_START( roadrunn1 )
15681568   ROM_REGION( 0x88000, "maincpu", 0 )   /* 8.5*64k for 68000 code & slapstic ROM */
15691569    MOTHERBOARD_BIOS
15701570   ROM_LOAD16_BYTE( "136040-128.11c",  0x010000, 0x008000, CRC(5e39d540) SHA1(69fae4c7db247062dffda0138a6e3bfb697f17bf) )
r5338r5339
17061706ROM_END
17071707
17081708
1709ROM_START( roadblsg )
1709ROM_START( roadblstg )
17101710   ROM_REGION( 0x88000, "maincpu", 0 )   /* 8.5*64k for 68000 code & slapstic ROM */
17111711    MOTHERBOARD_BIOS
17121712   ROM_LOAD16_BYTE( "136048-2257.11c", 0x010000, 0x008000, CRC(6e9de790) SHA1(348d4953b63f577b2b1ad747c6fb32c8ec55d310) )
r5338r5339
17741774ROM_END
17751775
17761776
1777ROM_START( roadbls3 )
1777ROM_START( roadblst3 )
17781778   ROM_REGION( 0x88000, "maincpu", 0 )   /* 8.5*64k for 68000 code & slapstic ROM */
17791779    MOTHERBOARD_BIOS
17801780   ROM_LOAD16_BYTE( "136048-3157.11c", 0x010000, 0x008000, CRC(ce88fe34) SHA1(72a311e7e2e5f588226168e048905281f71f0aef) )
r5338r5339
18421842ROM_END
18431843
18441844
1845ROM_START( roadblg2 )
1845ROM_START( roadblstg2 )
18461846   ROM_REGION( 0x88000, "maincpu", 0 )   /* 8.5*64k for 68000 code & slapstic ROM */
18471847    MOTHERBOARD_BIOS
18481848   ROM_LOAD16_BYTE( "136048-1239.11c", 0x010000, 0x008000, CRC(3b2bb14b) SHA1(e5eac61a4249a644fbc27908b443a3830d4488e6) )
r5338r5339
19101910ROM_END
19111911
19121912
1913ROM_START( roadbls2 )
1913ROM_START( roadblst2 )
19141914   ROM_REGION( 0x88000, "maincpu", 0 )   /* 8.5*64k for 68000 code & slapstic ROM */
19151915    MOTHERBOARD_BIOS
19161916   ROM_LOAD16_BYTE( "136048-1139.11c", 0x010000, 0x008000, CRC(b73c1bd5) SHA1(c4de0267a75225db22c771bec14b8da2fc9f06bf) )
r5338r5339
19781978ROM_END
19791979
19801980
1981ROM_START( roadblg1 )
1981ROM_START( roadblstg1 )
19821982   ROM_REGION( 0x88000, "maincpu", 0 )   /* 8.5*64k for 68000 code & slapstic ROM */
19831983    MOTHERBOARD_BIOS
19841984   ROM_LOAD16_BYTE( "136048-1251.11c", 0x010000, 0x008000, CRC(7e94d6a2) SHA1(985b7537dc484975b458a9ae5780e32a5f742d1c) )
r5338r5339
20462046ROM_END
20472047
20482048
2049ROM_START( roadbls1 )
2049ROM_START( roadblst1 )
20502050   ROM_REGION( 0x88000, "maincpu", 0 )   /* 8.5*64k for 68000 code & slapstic ROM */
20512051    MOTHERBOARD_BIOS
20522052   ROM_LOAD16_BYTE( "136048-2151.11c", 0x010000, 0x008000, CRC(ea6b3060) SHA1(0786f2e528c6a77ad7422ae199d06b7261cb4f2c) )
r5338r5339
21142114ROM_END
21152115
21162116
2117ROM_START( roadblsc )
2117ROM_START( roadblstc )
21182118   ROM_REGION( 0x88000, "maincpu", 0 )   /* 8.5*64k for 68000 code & slapstic ROM */
21192119    MOTHERBOARD_BIOS
21202120   ROM_LOAD16_BYTE( "136048-1179.7p",  0x010000, 0x008000, CRC(ef448f96) SHA1(238a6c435e317383a1983702ef0a1f2b757ebe8c) )
r5338r5339
21822182ROM_END
21832183
21842184
2185ROM_START( roadblcg )
2185ROM_START( roadblstcg )
21862186   ROM_REGION( 0x88000, "maincpu", 0 )   /* 8.5*64k for 68000 code & slapstic ROM */
21872187    MOTHERBOARD_BIOS
21882188   ROM_LOAD16_BYTE( "136048-1235.7p",  0x010000, 0x008000, CRC(58b2998f) SHA1(7e9f4ca2b15cf60c61e0615f214f9fcc518cb194) )
r5338r5339
22502250ROM_END
22512251
22522252
2253ROM_START( roadblc1 )
2253ROM_START( roadblstc1 )
22542254   ROM_REGION( 0x88000, "maincpu", 0 )   /* 8.5*64k for 68000 code & slapstic ROM */
22552255    MOTHERBOARD_BIOS
22562256   ROM_LOAD16_BYTE( "136048-2135.7p",  0x010000, 0x008000, CRC(c0ef86df) SHA1(7dd4d2acba55dc001e009c37fae5a97a53ea1e66) )
r5338r5339
24032403GAME( 1984, peterpak, atarisy1, atarisy1, peterpak, peterpak, ROT0, "Atari Games", "Peter Pack-Rat", 0 )
24042404
24052405GAME( 1985, indytemp, atarisy1, atarisy1, indytemp, indytemp, ROT0, "Atari Games", "Indiana Jones and the Temple of Doom (set 1)", 0 )
2406GAME( 1985, indytem2, indytemp, atarisy1, indytemp, indytemp, ROT0, "Atari Games", "Indiana Jones and the Temple of Doom (set 2)", 0 )
2407GAME( 1985, indytem3, indytemp, atarisy1, indytemp, indytemp, ROT0, "Atari Games", "Indiana Jones and the Temple of Doom (set 3)", 0 )
2408GAME( 1985, indytem4, indytemp, atarisy1, indytemp, indytemp, ROT0, "Atari Games", "Indiana Jones and the Temple of Doom (set 4)", 0 )
2409GAME( 1985, indytemd, indytemp, atarisy1, indytemp, indytemp, ROT0, "Atari Games", "Indiana Jones and the Temple of Doom (German)", 0 )
2410GAME( 1985, indytemc, indytemp, atarisy1, indytemc, indytemp, ROT0, "Atari Games", "Indiana Jones and the Temple of Doom (Cocktail)", GAME_IMPERFECT_GRAPHICS )
2406GAME( 1985, indytemp2,indytemp, atarisy1, indytemp, indytemp, ROT0, "Atari Games", "Indiana Jones and the Temple of Doom (set 2)", 0 )
2407GAME( 1985, indytemp3,indytemp, atarisy1, indytemp, indytemp, ROT0, "Atari Games", "Indiana Jones and the Temple of Doom (set 3)", 0 )
2408GAME( 1985, indytemp4,indytemp, atarisy1, indytemp, indytemp, ROT0, "Atari Games", "Indiana Jones and the Temple of Doom (set 4)", 0 )
2409GAME( 1985, indytempd,indytemp, atarisy1, indytemp, indytemp, ROT0, "Atari Games", "Indiana Jones and the Temple of Doom (German)", 0 )
2410GAME( 1985, indytempc,indytemp, atarisy1, indytemc, indytemp, ROT0, "Atari Games", "Indiana Jones and the Temple of Doom (Cocktail)", GAME_IMPERFECT_GRAPHICS )
24112411
24122412GAME( 1985, roadrunn, atarisy1, atarisy1, roadrunn, roadrunn, ROT0, "Atari Games", "Road Runner (rev 2)", 0 )
2413GAME( 1985, roadrun2, roadrunn, atarisy1, roadrunn, roadrunn, ROT0, "Atari Games", "Road Runner (rev 1+)", 0 )
2414GAME( 1985, roadrun1, roadrunn, atarisy1, roadrunn, roadrunn, ROT0, "Atari Games", "Road Runner (rev 1)", 0 )
2413GAME( 1985, roadrunn2,roadrunn, atarisy1, roadrunn, roadrunn, ROT0, "Atari Games", "Road Runner (rev 1+)", 0 )
2414GAME( 1985, roadrunn1,roadrunn, atarisy1, roadrunn, roadrunn, ROT0, "Atari Games", "Road Runner (rev 1)", 0 )
24152415
2416GAME( 1987, roadblst, atarisy1, atarisy1, roadblst, roadb110, ROT0, "Atari Games", "Road Blasters (upright, rev 4)", 0 )
2417GAME( 1987, roadblsg, roadblst, atarisy1, roadblst, roadb109, ROT0, "Atari Games", "Road Blasters (upright, German, rev 3)", 0 )
2418GAME( 1987, roadbls3, roadblst, atarisy1, roadblst, roadb109, ROT0, "Atari Games", "Road Blasters (upright, rev 3)", 0 )
2419GAME( 1987, roadblg2, roadblst, atarisy1, roadblst, roadb110, ROT0, "Atari Games", "Road Blasters (upright, German, rev 2)", 0 )
2420GAME( 1987, roadbls2, roadblst, atarisy1, roadblst, roadb110, ROT0, "Atari Games", "Road Blasters (upright, rev 2)", 0 )
2421GAME( 1987, roadblg1, roadblst, atarisy1, roadblst, roadb109, ROT0, "Atari Games", "Road Blasters (upright, German, rev 1)", 0 )
2422GAME( 1987, roadbls1, roadblst, atarisy1, roadblst, roadb109, ROT0, "Atari Games", "Road Blasters (upright, rev 1)", 0 )
2423GAME( 1987, roadblsc, roadblst, atarisy1, roadblst, roadb110, ROT0, "Atari Games", "Road Blasters (cockpit, rev 2)", 0 )
2424GAME( 1987, roadblcg, roadblst, atarisy1, roadblst, roadb109, ROT0, "Atari Games", "Road Blasters (cockpit, German, rev 1)", GAME_IMPERFECT_GRAPHICS )
2425GAME( 1987, roadblc1, roadblst, atarisy1, roadblst, roadb109, ROT0, "Atari Games", "Road Blasters (cockpit, rev 1)", GAME_IMPERFECT_GRAPHICS )
2416GAME( 1987, roadblst,   atarisy1, atarisy1, roadblst, roadb110, ROT0, "Atari Games", "Road Blasters (upright, rev 4)", 0 )
2417GAME( 1987, roadblstg,  roadblst, atarisy1, roadblst, roadb109, ROT0, "Atari Games", "Road Blasters (upright, German, rev 3)", 0 )
2418GAME( 1987, roadblst3,  roadblst, atarisy1, roadblst, roadb109, ROT0, "Atari Games", "Road Blasters (upright, rev 3)", 0 )
2419GAME( 1987, roadblstg2, roadblst, atarisy1, roadblst, roadb110, ROT0, "Atari Games", "Road Blasters (upright, German, rev 2)", 0 )
2420GAME( 1987, roadblst2,  roadblst, atarisy1, roadblst, roadb110, ROT0, "Atari Games", "Road Blasters (upright, rev 2)", 0 )
2421GAME( 1987, roadblstg1, roadblst, atarisy1, roadblst, roadb109, ROT0, "Atari Games", "Road Blasters (upright, German, rev 1)", 0 )
2422GAME( 1987, roadblst1,  roadblst, atarisy1, roadblst, roadb109, ROT0, "Atari Games", "Road Blasters (upright, rev 1)", 0 )
2423GAME( 1987, roadblstc,  roadblst, atarisy1, roadblst, roadb110, ROT0, "Atari Games", "Road Blasters (cockpit, rev 2)", 0 )
2424GAME( 1987, roadblstcg, roadblst, atarisy1, roadblst, roadb109, ROT0, "Atari Games", "Road Blasters (cockpit, German, rev 1)", GAME_IMPERFECT_GRAPHICS )
2425GAME( 1987, roadblstc1, roadblst, atarisy1, roadblst, roadb109, ROT0, "Atari Games", "Road Blasters (cockpit, rev 1)", GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/gumbo.c
r5338r5339
291291   ROM_LOAD( "u511.bin", 0x20000, 0x20000, CRC(1411451b) SHA1(941d5f311f727e3a8d41ecbbe35b687d48cc2cef) )
292292ROM_END
293293
294ROM_START( mspuzzlg ) /* This version is a clone of Gumbo... NOT the other Miss Puzzle sets */
294ROM_START( mspuzzleg ) /* This version is a clone of Gumbo... NOT the other Miss Puzzle sets */
295295   ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 Code */
296296   ROM_LOAD16_BYTE( "u1", 0x00001, 0x20000, CRC(95218ff1) SHA1(9617d979d026872dbe68eaae21c3ab1f5f9f4bfd) ) /* Korean bootleg / clone / hack??? */
297297   ROM_LOAD16_BYTE( "u2", 0x00000, 0x20000, CRC(7ea7d96c) SHA1(17b9afb3214a07b1af5913f1926c7aeac27ea0e8) )
r5338r5339
344344   ROM_LOAD( "u511.bin", 0x40000, 0x40000, CRC(3d6b6c78) SHA1(3016423102b4d47c0f1296471cf1670258acc856) )
345345ROM_END
346346
347ROM_START( mspuzzln )
347ROM_START( mspuzzlen )
348348   /* all the roms for this game could do with checking on another board, this one was in pretty bad condition
349349       and reads weren't always consistent */
350350   ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 Code */
r5338r5339
383383ROM_END
384384
385385/* based on the labels this doesn't seem to be an original Min Corp. board */
386ROM_START( dblpoind )
386ROM_START( dblpointd )
387387   ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 Code */
388388   ROM_LOAD16_BYTE( "d12.bin", 0x00001, 0x20000, CRC(44bc1bd9) SHA1(8b72909c53b09b9287bf90bcd8970bdf9c1b8798) )
389389   ROM_LOAD16_BYTE( "d13.bin", 0x00000, 0x20000, CRC(625a311b) SHA1(38fa0d240b253fcc8dc89438582a9c446410b636) )
r5338r5339
401401ROM_END
402402
403403GAME( 1994, gumbo,    0,        gumbo,    gumbo,    0, ROT0,  "Min Corp.", "Gumbo", 0 )
404GAME( 1994, mspuzzlg, gumbo,    gumbo,    gumbo,    0, ROT0,  "Min Corp.", "Miss Puzzle (Clone of Gumbo)", 0 )
404GAME( 1994, mspuzzleg,gumbo,    gumbo,    gumbo,    0, ROT0,  "Min Corp.", "Miss Puzzle (Clone of Gumbo)", 0 )
405405GAME( 1994, msbingo,  0,        mspuzzle, msbingo,  0, ROT0,  "Min Corp.", "Miss Bingo", 0 )
406406GAME( 1994, mspuzzle, 0,        mspuzzle, mspuzzle, 0, ROT90, "Min Corp.", "Miss Puzzle", 0 )
407GAME( 1994, mspuzzln, mspuzzle, mspuzzle, mspuzzle, 0, ROT90, "Min Corp.", "Miss Puzzle (Nudes)", GAME_NOT_WORKING )
407GAME( 1994, mspuzzlen,mspuzzle, mspuzzle, mspuzzle, 0, ROT90, "Min Corp.", "Miss Puzzle (Nudes)", GAME_NOT_WORKING )
408408GAME( 1995, dblpoint, 0,        dblpoint, dblpoint, 0, ROT0,  "Min Corp.", "Double Point", 0 )
409GAME( 1995, dblpoind, dblpoint, dblpoint, dblpoint, 0, ROT0,  "Dong Bang Electron", "Double Point (Dong Bang Electron, bootleg?)", 0 )
409GAME( 1995, dblpointd,dblpoint, dblpoint, dblpoint, 0, ROT0,  "Dong Bang Electron", "Double Point (Dong Bang Electron, bootleg?)", 0 )
src/mame/drivers/dec0.c
r5338r5339
18401840   ROM_LOAD( "ep02", 0x00000, 0x10000, CRC(711ce46f) SHA1(939a8545e53776ff2180d2c7e63bc997689c088e) )
18411841ROM_END
18421842
1843ROM_START( robocpu0 )
1843ROM_START( robocopu0 )
18441844   ROM_REGION( 0x60000, "maincpu", 0 ) /* 68000 code */
18451845   ROM_LOAD16_BYTE( "ep05", 0x00000, 0x10000, CRC(c465bdd8) SHA1(a1d5435ea2664ac38db84577b97ba74304e09473) )
18461846   ROM_LOAD16_BYTE( "ep01", 0x00001, 0x10000, CRC(1352d36e) SHA1(7bfdce66020b6c9465b768bac2ba7c9fe458242e) )
r5338r5339
21252125   ROM_LOAD( "ew03",         0x0000, 0x10000, CRC(b606924d) SHA1(b759fcec10b333465cf5cd1b30987bf2d62186b2) )
21262126ROM_END
21272127
2128ROM_START( ffantasa )
2128ROM_START( ffantasya )
21292129   ROM_REGION( 0x60000, "maincpu", 0 )   /* 4*64k for 68000 code */
21302130   ROM_LOAD16_BYTE( "ev02",         0x00000, 0x10000, CRC(797a7860) SHA1(aaab24c99e96b393d2bda435f18b0dc4003cdf09) )
21312131   ROM_LOAD16_BYTE( "ev01",         0x00001, 0x10000, CRC(0f17184d) SHA1(c1bcd6347df9bee2d2d9ca29b22af9235493871c) )
r5338r5339
26162616   ROM_LOAD( "ta-16.21k",          0x0000, 0x0100, CRC(ad26e8d4) SHA1(827337aeb8904429a1c050279240ae38aa6ce064) )   /* Priority (not used) */
26172617ROM_END
26182618
2619ROM_START( bouldshj )
2619ROM_START( bouldashj )
26202620   ROM_REGION( 0x60000, "maincpu", 0 ) /* 68000 code */
26212621   ROM_LOAD16_BYTE( "fn-15-1.17l",  0x00000, 0x10000, CRC(d3ef20f8) SHA1(87a32a3865bec086afee5d97c0691087a41f4870) )
26222622   ROM_LOAD16_BYTE( "fn-12-1.9l",   0x00001, 0x10000, CRC(f4a10b45) SHA1(12c42d8abc7b21fbdef4f02d588a800cef222754) )
r5338r5339
27042704GAME( 1988, robocopw, robocop,  robocop,  robocop,  robocop,  ROT0,   "Data East Corporation", "Robocop (World revision 3)", 0 )
27052705GAME( 1988, robocopj, robocop,  robocop,  robocop,  robocop,  ROT0,   "Data East Corporation", "Robocop (Japan)", 0 )
27062706GAME( 1988, robocopu, robocop,  robocop,  robocop,  robocop,  ROT0,   "Data East USA",         "Robocop (US revision 1)", 0 )
2707GAME( 1988, robocpu0, robocop,  robocop,  robocop,  robocop,  ROT0,   "Data East USA",         "Robocop (US revision 0)", 0 )
2707GAME( 1988, robocopu0,robocop,  robocop,  robocop,  robocop,  ROT0,   "Data East USA",         "Robocop (US revision 0)", 0 )
27082708GAME( 1988, robocopb, robocop,  robocopb, robocop,  robocop,  ROT0,   "bootleg",               "Robocop (World bootleg)", 0)
27092709GAME( 1988, automat,  robocop,  automat,  robocop,  robocop,  ROT0,   "bootleg",               "Automat (bootleg of Robocop)", GAME_NOT_WORKING )
27102710GAME( 1989, hippodrm, 0,        hippodrm, hippodrm, hippodrm, ROT0,   "Data East USA",         "Hippodrome (US)", 0 )
27112711GAME( 1989, ffantasy, hippodrm, hippodrm, hippodrm, hippodrm, ROT0,   "Data East Corporation", "Fighting Fantasy (Japan revision 2)", 0 )
2712GAME( 1989, ffantasa, hippodrm, hippodrm, hippodrm, hippodrm, ROT0,   "Data East Corporation", "Fighting Fantasy (Japan)", 0 )
2712GAME( 1989, ffantasya,hippodrm, hippodrm, hippodrm, hippodrm, ROT0,   "Data East Corporation", "Fighting Fantasy (Japan)", 0 )
27132713GAME( 1989, slyspy,   0,        slyspy,   slyspy,   slyspy,   ROT0,   "Data East USA",         "Sly Spy (US revision 3)", 0 )
27142714GAME( 1989, slyspy2,  slyspy,   slyspy,   slyspy,   slyspy,   ROT0,   "Data East USA",         "Sly Spy (US revision 2)", 0 )
27152715GAME( 1989, secretag, slyspy,   slyspy,   slyspy,   slyspy,   ROT0,   "Data East Corporation", "Secret Agent (World)", 0 )
r5338r5339
27192719GAME( 1989, midresj,  midres,   midres,   midres,   0,        ROT0,   "Data East Corporation", "Midnight Resistance (Japan)", 0 )
27202720GAME( 1989, midresb,  midres,   midres,   midres,   0,        ROT0,   "bootleg",               "Midnight Resistance (bootleg with 68705)", GAME_NOT_WORKING ) // need to hook up 68705
27212721GAME( 1990, bouldash, 0,        slyspy,   bouldash, slyspy,   ROT0,   "Data East Corporation (licensed from First Star)", "Boulder Dash / Boulder Dash Part 2 (World)", 0 )
2722GAME( 1990, bouldshj, bouldash, slyspy,   bouldash, slyspy,   ROT0,   "Data East Corporation (licensed from First Star)", "Boulder Dash / Boulder Dash Part 2 (Japan)", 0 )
2722GAME( 1990, bouldashj,bouldash, slyspy,   bouldash, slyspy,   ROT0,   "Data East Corporation (licensed from First Star)", "Boulder Dash / Boulder Dash Part 2 (Japan)", 0 )
src/mame/drivers/ssv.c
r5338r5339
39993999   ROM_LOAD( "gal16v8b.u5",   0x0000, 0x0117, CRC(378ce368) SHA1(cc068c9b63e6f91165f9caec581645ad45b2d3d0) )
40004000ROM_END
40014001
4002ROM_START( survartu )
4002ROM_START( survartsu )
40034003   ROM_REGION16_LE( 0x100000, "user1", 0 )      /* V60 Code */
40044004   ROM_LOAD16_BYTE( "usa-pr-l.u4", 0x000000, 0x080000, CRC(fa328673) SHA1(f7217eaa2a8d3fb7f706fa1aecaaa5b1b8d5e32c) )
40054005   ROM_LOAD16_BYTE( "usa-pr-h.u3", 0x000001, 0x080000, CRC(6bee2635) SHA1(a2d0517bf599331ef47beb8a902589039e4502e0) )
r5338r5339
46424642GAME( 1993,  srmp4,    0,        srmp4,    srmp4,    srmp4,    ROT0,   "Seta",               "Super Real Mahjong PIV (Japan)",                   GAME_NO_COCKTAIL )
46434643GAME( 1993,  srmp4o,   srmp4,    srmp4,    srmp4,    srmp4,    ROT0,   "Seta",               "Super Real Mahjong PIV (Japan, older set)",        GAME_NO_COCKTAIL ) // by the numbering of the program roms this should be older
46444644GAME( 1993,  survarts, 0,        survarts, survarts, survarts, ROT0,   "Sammy",              "Survival Arts (World)",                            GAME_NO_COCKTAIL )
4645GAME( 1993,  survartu, survarts, survarts, survarts, survarts, ROT0,   "American Sammy",     "Survival Arts (USA)",                              GAME_NO_COCKTAIL )
4645GAME( 1993,  survartsu,survarts, survarts, survarts, survarts, ROT0,   "American Sammy",     "Survival Arts (USA)",                              GAME_NO_COCKTAIL )
46464646GAME( 1994,  drifto94, 0,        drifto94, drifto94, drifto94, ROT0,   "Visco",              "Drift Out '94 - The Hard Order (Japan)",           GAME_NO_COCKTAIL )
46474647GAME( 1994,  eaglshot, 0,        eaglshot, eaglshot, eaglshot, ROT0,   "Sammy",              "Eagle Shot Golf",                                  GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS )
46484648GAME( 1995,  hypreact, 0,        hypreact, hypreact, hypreact, ROT0,   "Sammy",              "Mahjong Hyper Reaction (Japan)",                   GAME_NO_COCKTAIL )
src/mame/drivers/vindictr.c
r5338r5339
257257ROM_END
258258
259259
260ROM_START( vindicte )
260ROM_START( vindictre )
261261   ROM_REGION( 0x60000, "maincpu", 0 )   /* 6*64k for 68000 code */
262262   ROM_LOAD16_BYTE( "136059-5717.d1",  0x000000, 0x010000, CRC(af5ba4a8) SHA1(fdb6e7f0707af94b39368cc39ae45c53209ce32e) )
263263   ROM_LOAD16_BYTE( "136059-5718.d3",  0x000001, 0x010000, CRC(c87b0581) SHA1(f33c72e83e8c811d3405deb470573327c7b68ea6) )
r5338r5339
295295ROM_END
296296
297297
298ROM_START( vindictg )
298ROM_START( vindictrg )
299299   ROM_REGION( 0x60000, "maincpu", 0 )   /* 6*64k for 68000 code */
300300   ROM_LOAD16_BYTE( "136059-1217.d1",  0x000000, 0x010000, CRC(0a589e9a) SHA1(6770212b57599cd9bcdeb126aec30d9815608005) )
301301   ROM_LOAD16_BYTE( "136059-1218.d3",  0x000001, 0x010000, CRC(e8b7959a) SHA1(b63747934b188f44a5e59a54f52d15b33f9d676b) )
r5338r5339
333333ROM_END
334334
335335
336ROM_START( vindice4 )
336ROM_START( vindictre4 )
337337   ROM_REGION( 0x60000, "maincpu", 0 )   /* 6*64k for 68000 code */
338338   ROM_LOAD16_BYTE( "136059-1117.d1",  0x000000, 0x010000, CRC(2e5135e4) SHA1(804b3ba201088ac2c35cfcbd530acbd73548ea8c) )
339339   ROM_LOAD16_BYTE( "136059-1118.d3",  0x000001, 0x010000, CRC(e357fa79) SHA1(220a10287f4bf9d981fd412c8dd0a9c106eaf342) )
r5338r5339
371371ROM_END
372372
373373
374ROM_START( vindict4 )
374ROM_START( vindictr4 )
375375   ROM_REGION( 0x60000, "maincpu", 0 )   /* 6*64k for 68000 code */
376376   ROM_LOAD16_BYTE( "136059-1117.d1",  0x000000, 0x010000, CRC(2e5135e4) SHA1(804b3ba201088ac2c35cfcbd530acbd73548ea8c) )
377377   ROM_LOAD16_BYTE( "136059-1118.d3",  0x000001, 0x010000, CRC(e357fa79) SHA1(220a10287f4bf9d981fd412c8dd0a9c106eaf342) )
r5338r5339
409409ROM_END
410410
411411
412ROM_START( vindice3 )
412ROM_START( vindictre3 )
413413   ROM_REGION( 0x60000, "maincpu", 0 )   /* 6*64k for 68000 code */
414414   ROM_LOAD16_BYTE( "136059-3117.d1",  0x000000, 0x010000, CRC(af5ba4a8) SHA1(fdb6e7f0707af94b39368cc39ae45c53209ce32e) )
415415   ROM_LOAD16_BYTE( "136059-3118.d3",  0x000001, 0x010000, CRC(c87b0581) SHA1(f33c72e83e8c811d3405deb470573327c7b68ea6) )
r5338r5339
447447ROM_END
448448
449449
450ROM_START( vindict2 )
450ROM_START( vindictr2 )
451451   ROM_REGION( 0x60000, "maincpu", 0 )   /* 6*64k for 68000 code */
452452   ROM_LOAD16_BYTE( "136059-1117.d1",  0x000000, 0x010000, CRC(2e5135e4) SHA1(804b3ba201088ac2c35cfcbd530acbd73548ea8c) )
453453   ROM_LOAD16_BYTE( "136059-1118.d3",  0x000001, 0x010000, CRC(e357fa79) SHA1(220a10287f4bf9d981fd412c8dd0a9c106eaf342) )
r5338r5339
485485ROM_END
486486
487487
488ROM_START( vindict1 )
488ROM_START( vindictr1 )
489489   ROM_REGION( 0x60000, "maincpu", 0 )   /* 6*64k for 68000 code */
490490   ROM_LOAD16_BYTE( "136059-1117.d1",  0x000000, 0x010000, CRC(2e5135e4) SHA1(804b3ba201088ac2c35cfcbd530acbd73548ea8c) )
491491   ROM_LOAD16_BYTE( "136059-1118.d3",  0x000001, 0x010000, CRC(e357fa79) SHA1(220a10287f4bf9d981fd412c8dd0a9c106eaf342) )
r5338r5339
544544 *
545545 *************************************/
546546
547GAME( 1988, vindictr, 0,        vindictr, vindictr, vindictr, ROT0, "Atari Games", "Vindicators (rev 5)", 0 )
548GAME( 1988, vindicte, vindictr, vindictr, vindictr, vindictr, ROT0, "Atari Games", "Vindicators (Europe, rev 5)", 0 )
549GAME( 1988, vindictg, vindictr, vindictr, vindictr, vindictr, ROT0, "Atari Games", "Vindicators (German, rev 1)", 0 )
550GAME( 1988, vindice4, vindictr, vindictr, vindictr, vindictr, ROT0, "Atari Games", "Vindicators (Europe, rev 4)", 0 )
551GAME( 1988, vindict4, vindictr, vindictr, vindictr, vindictr, ROT0, "Atari Games", "Vindicators (rev 4)", 0 )
552GAME( 1988, vindice3, vindictr, vindictr, vindictr, vindictr, ROT0, "Atari Games", "Vindicators (Europe, rev 3)", 0 )
553GAME( 1988, vindict2, vindictr, vindictr, vindictr, vindictr, ROT0, "Atari Games", "Vindicators (rev 2)", 0 )
554GAME( 1988, vindict1, vindictr, vindictr, vindictr, vindictr, ROT0, "Atari Games", "Vindicators (rev 1)", 0 )
547GAME( 1988, vindictr,  0,        vindictr, vindictr, vindictr, ROT0, "Atari Games", "Vindicators (rev 5)", 0 )
548GAME( 1988, vindictre, vindictr, vindictr, vindictr, vindictr, ROT0, "Atari Games", "Vindicators (Europe, rev 5)", 0 )
549GAME( 1988, vindictrg, vindictr, vindictr, vindictr, vindictr, ROT0, "Atari Games", "Vindicators (German, rev 1)", 0 )
550GAME( 1988, vindictre4,vindictr, vindictr, vindictr, vindictr, ROT0, "Atari Games", "Vindicators (Europe, rev 4)", 0 )
551GAME( 1988, vindictr4, vindictr, vindictr, vindictr, vindictr, ROT0, "Atari Games", "Vindicators (rev 4)", 0 )
552GAME( 1988, vindictre3,vindictr, vindictr, vindictr, vindictr, ROT0, "Atari Games", "Vindicators (Europe, rev 3)", 0 )
553GAME( 1988, vindictr2, vindictr, vindictr, vindictr, vindictr, ROT0, "Atari Games", "Vindicators (rev 2)", 0 )
554GAME( 1988, vindictr1, vindictr, vindictr, vindictr, vindictr, ROT0, "Atari Games", "Vindicators (rev 1)", 0 )
src/mame/drivers/laserbas.c
r5338r5339
204204   ROM_LOAD( "mb8516.8",   0xf000, 0x0800, CRC(623f558f) SHA1(be6c6565df658555f21c43a8c2459cf399794a84) )
205205ROM_END
206206
207ROM_START( laserbsa )
207ROM_START( laserbasa )
208208   ROM_REGION( 0x10000, "maincpu", 0 )
209209   ROM_LOAD( "2732.u1",       0x0000, 0x1000, CRC(f3ab00dc) SHA1(4730b13b55c93c71ed483463e180e71e506cfbd6) )
210210   ROM_LOAD( "2732.u2",       0x1000, 0x1000, CRC(0ba2236c) SHA1(416e4be957c395b05537d2e513e0c4561d8ca7c5) )
r5338r5339
237237ROM_END
238238
239239GAME( 1981, laserbas, 0,        laserbas, laserbas, 0, ROT270, "Amstar/HOEI", "Laser Base (set 1)", GAME_NO_SOUND | GAME_NOT_WORKING)
240GAME( 1981, laserbsa, laserbas, laserbas, laserbas, 0, ROT270, "Amstar/HOEI", "Laser Base (set 2)", GAME_NO_SOUND | GAME_NOT_WORKING )
240GAME( 1981, laserbasa,laserbas, laserbas, laserbas, 0, ROT270, "Amstar/HOEI", "Laser Base (set 2)", GAME_NO_SOUND | GAME_NOT_WORKING )
241241GAME( 1981, futflash, laserbas, laserbas, laserbas, 0, ROT270, "HOEI",        "Future Flash",       GAME_NO_SOUND | GAME_NOT_WORKING)
src/mame/drivers/midvunit.c
r5338r5339
11661166ROM_END
11671167
11681168
1169ROM_START( crusnu40 ) /* Version 4.0, Wed Feb 08 1995 - 10:45:14 */
1169ROM_START( crusnusa40 ) /* Version 4.0, Wed Feb 08 1995 - 10:45:14 */
11701170   ROM_REGION16_LE( 0x1000000, "dcs", ROMREGION_ERASEFF )   /* sound data */
11711171   ROM_LOAD16_BYTE( "cusa.u2",  0x000000, 0x80000, CRC(b9338332) SHA1(e5c420e63c4eba0010a68c7e0a57ef210e2c83d2) )
11721172   ROM_LOAD16_BYTE( "cusa.u3",  0x200000, 0x80000, CRC(cd8325d6) SHA1(d65d7263e056ca1d637adb44cafef523e0831a34) )
r5338r5339
12011201ROM_END
12021202
12031203
1204ROM_START( crusnu21 ) /* Version 2.1, Wed Nov 09 1994 - 16:28:10 */
1204ROM_START( crusnusa21 ) /* Version 2.1, Wed Nov 09 1994 - 16:28:10 */
12051205   ROM_REGION16_LE( 0x1000000, "dcs", ROMREGION_ERASEFF )   /* sound data */
12061206   ROM_LOAD16_BYTE( "cusa.u2",  0x000000, 0x80000, CRC(b9338332) SHA1(e5c420e63c4eba0010a68c7e0a57ef210e2c83d2) )
12071207   ROM_LOAD16_BYTE( "cusa.u3",  0x200000, 0x80000, CRC(cd8325d6) SHA1(d65d7263e056ca1d637adb44cafef523e0831a34) )
r5338r5339
12671267ROM_END
12681268
12691269
1270ROM_START( crusnw23 ) /* Version 2.3, Fri Jan 09 1998 - 10:25:49 */
1270ROM_START( crusnwld23 ) /* Version 2.3, Fri Jan 09 1998 - 10:25:49 */
12711271   ROM_REGION16_LE( 0x1000000, "dcs", ROMREGION_ERASEFF )   /* sound data */
12721272   ROM_LOAD16_BYTE( "cwld.u2",  0x000000, 0x80000, CRC(7a233c89) SHA1(ecfad4bc48a69cd3399e3b3266c81574082e0169) )
12731273   ROM_LOAD16_BYTE( "cwld.u3",  0x200000, 0x80000, CRC(be9a5ff0) SHA1(98d69dbfa6aa8462cdd46772e991ee418b79c653) )
r5338r5339
12981298ROM_END
12991299
13001300
1301ROM_START( crusnw20 ) /* Version 2.0, Tue Mar 18 1997 - 12:32:57 */
1301ROM_START( crusnwld20 ) /* Version 2.0, Tue Mar 18 1997 - 12:32:57 */
13021302   ROM_REGION16_LE( 0x1000000, "dcs", ROMREGION_ERASEFF )   /* sound data */
13031303   ROM_LOAD16_BYTE( "cwld.u2",  0x000000, 0x80000, CRC(7a233c89) SHA1(ecfad4bc48a69cd3399e3b3266c81574082e0169) )
13041304   ROM_LOAD16_BYTE( "cwld.u3",  0x200000, 0x80000, CRC(be9a5ff0) SHA1(98d69dbfa6aa8462cdd46772e991ee418b79c653) )
r5338r5339
13291329ROM_END
13301330
13311331
1332ROM_START( crusnw17 ) /* Version 1.7, Fri Jan 24 1997 - 16:23:59 */
1332ROM_START( crusnwld17 ) /* Version 1.7, Fri Jan 24 1997 - 16:23:59 */
13331333   ROM_REGION16_LE( 0x1000000, "dcs", ROMREGION_ERASEFF )   /* sound data */
13341334   ROM_LOAD16_BYTE( "cwld.u2",  0x000000, 0x80000, CRC(7a233c89) SHA1(ecfad4bc48a69cd3399e3b3266c81574082e0169) )
13351335   ROM_LOAD16_BYTE( "cwld.u3",  0x200000, 0x80000, CRC(be9a5ff0) SHA1(98d69dbfa6aa8462cdd46772e991ee418b79c653) )
r5338r5339
13601360ROM_END
13611361
13621362
1363ROM_START( crusnw13 ) /* Version 1.3, Mon Nov 25 1996 - 23:22:45 */
1363ROM_START( crusnwld13 ) /* Version 1.3, Mon Nov 25 1996 - 23:22:45 */
13641364   ROM_REGION16_LE( 0x1000000, "dcs", ROMREGION_ERASEFF )   /* sound data */
13651365   ROM_LOAD16_BYTE( "cwld.u2",  0x000000, 0x80000, CRC(7a233c89) SHA1(ecfad4bc48a69cd3399e3b3266c81574082e0169) )
13661366   ROM_LOAD16_BYTE( "cwld.u3",  0x200000, 0x80000, CRC(be9a5ff0) SHA1(98d69dbfa6aa8462cdd46772e991ee418b79c653) )
r5338r5339
14221422ROM_END
14231423
14241424
1425ROM_START( offrodc4 ) /* Version 1.40, Mon 10-06-97 */
1425ROM_START( offroadc4 ) /* Version 1.40, Mon 10-06-97 */
14261426   ROM_REGION16_LE( 0x1000000, "dcs", ROMREGION_ERASEFF )   /* sound data */
14271427   ROM_LOAD16_BYTE( "offroadc.u2",  0x000000, 0x80000, CRC(69976e9d) SHA1(63c886ac2563c43a10840f49f929f8613cd94de2) )
14281428   ROM_LOAD16_BYTE( "offroadc.u3",  0x200000, 0x80000, CRC(2db9b548) SHA1(4f454a3e6a8851b0ef5d325dd28102d57ea11a11) )
r5338r5339
14531453ROM_END
14541454
14551455
1456ROM_START( offrodc3 ) /* Version 1.30, Mon 09-15-97 */
1456ROM_START( offroadc3 ) /* Version 1.30, Mon 09-15-97 */
14571457   ROM_REGION16_LE( 0x1000000, "dcs", ROMREGION_ERASEFF )   /* sound data */
14581458   ROM_LOAD16_BYTE( "offroadc.u2",  0x000000, 0x80000, CRC(69976e9d) SHA1(63c886ac2563c43a10840f49f929f8613cd94de2) )
14591459   ROM_LOAD16_BYTE( "offroadc.u3",  0x200000, 0x80000, CRC(2db9b548) SHA1(4f454a3e6a8851b0ef5d325dd28102d57ea11a11) )
r5338r5339
14841484ROM_END
14851485
14861486
1487ROM_START( offrodc1 ) /* Version 1.10, Mon 08-18-97 */
1487ROM_START( offroadc1 ) /* Version 1.10, Mon 08-18-97 */
14881488   ROM_REGION16_LE( 0x1000000, "dcs", ROMREGION_ERASEFF )   /* sound data */
14891489   ROM_LOAD16_BYTE( "offroadc.u2",  0x000000, 0x80000, CRC(69976e9d) SHA1(63c886ac2563c43a10840f49f929f8613cd94de2) )
14901490   ROM_LOAD16_BYTE( "offroadc.u3",  0x200000, 0x80000, CRC(2db9b548) SHA1(4f454a3e6a8851b0ef5d325dd28102d57ea11a11) )
r5338r5339
16771677 *
16781678 *************************************/
16791679
1680GAME( 1994, crusnusa, 0,        midvunit, crusnusa, crusnusa, ROT0, "Midway", "Cruis'n USA (rev L4.1)", GAME_SUPPORTS_SAVE )
1681GAME( 1994, crusnu40, crusnusa, midvunit, crusnusa, crusnu40, ROT0, "Midway", "Cruis'n USA (rev L4.0)", GAME_SUPPORTS_SAVE )
1682GAME( 1994, crusnu21, crusnusa, midvunit, crusnusa, crusnu21, ROT0, "Midway", "Cruis'n USA (rev L2.1)", GAME_SUPPORTS_SAVE )
1683GAME( 1996, crusnwld, 0,        midvunit, crusnwld, crusnwld, ROT0, "Midway", "Cruis'n World (rev L2.4)", GAME_SUPPORTS_SAVE )
1684GAME( 1996, crusnw23, crusnwld, midvunit, crusnwld, crusnwld, ROT0, "Midway", "Cruis'n World (rev L2.3)", GAME_SUPPORTS_SAVE )
1685GAME( 1996, crusnw20, crusnwld, midvunit, crusnwld, crusnwld, ROT0, "Midway", "Cruis'n World (rev L2.0)", GAME_SUPPORTS_SAVE )
1686GAME( 1996, crusnw17, crusnwld, midvunit, crusnwld, crusnwld, ROT0, "Midway", "Cruis'n World (rev L1.7)", GAME_SUPPORTS_SAVE )
1687GAME( 1996, crusnw13, crusnwld, midvunit, crusnwld, crusnwld, ROT0, "Midway", "Cruis'n World (rev L1.3)", GAME_SUPPORTS_SAVE )
1688GAME( 1997, offroadc, 0,        midvunit, offroadc, offroadc, ROT0, "Midway", "Off Road Challenge (v1.63)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
1689GAME( 1997, offrodc4, offroadc, midvunit, offroadc, offroadc, ROT0, "Midway", "Off Road Challenge (v1.40)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
1690GAME( 1997, offrodc3, offroadc, midvunit, offroadc, offroadc, ROT0, "Midway", "Off Road Challenge (v1.30)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
1691GAME( 1997, offrodc1, offroadc, midvunit, offroadc, offroadc, ROT0, "Midway", "Off Road Challenge (v1.10)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
1680GAME( 1994, crusnusa,   0,        midvunit, crusnusa, crusnusa, ROT0, "Midway", "Cruis'n USA (rev L4.1)", GAME_SUPPORTS_SAVE )
1681GAME( 1994, crusnusa40, crusnusa, midvunit, crusnusa, crusnu40, ROT0, "Midway", "Cruis'n USA (rev L4.0)", GAME_SUPPORTS_SAVE )
1682GAME( 1994, crusnusa21, crusnusa, midvunit, crusnusa, crusnu21, ROT0, "Midway", "Cruis'n USA (rev L2.1)", GAME_SUPPORTS_SAVE )
16921683
1684GAME( 1996, crusnwld,   0,        midvunit, crusnwld, crusnwld, ROT0, "Midway", "Cruis'n World (rev L2.4)", GAME_SUPPORTS_SAVE )
1685GAME( 1996, crusnwld23, crusnwld, midvunit, crusnwld, crusnwld, ROT0, "Midway", "Cruis'n World (rev L2.3)", GAME_SUPPORTS_SAVE )
1686GAME( 1996, crusnwld20, crusnwld, midvunit, crusnwld, crusnwld, ROT0, "Midway", "Cruis'n World (rev L2.0)", GAME_SUPPORTS_SAVE )
1687GAME( 1996, crusnwld17, crusnwld, midvunit, crusnwld, crusnwld, ROT0, "Midway", "Cruis'n World (rev L1.7)", GAME_SUPPORTS_SAVE )
1688GAME( 1996, crusnwld13, crusnwld, midvunit, crusnwld, crusnwld, ROT0, "Midway", "Cruis'n World (rev L1.3)", GAME_SUPPORTS_SAVE )
1689
1690GAME( 1997, offroadc,  0,        midvunit, offroadc, offroadc, ROT0, "Midway", "Off Road Challenge (v1.63)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
1691GAME( 1997, offroadc4, offroadc, midvunit, offroadc, offroadc, ROT0, "Midway", "Off Road Challenge (v1.40)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
1692GAME( 1997, offroadc3, offroadc, midvunit, offroadc, offroadc, ROT0, "Midway", "Off Road Challenge (v1.30)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
1693GAME( 1997, offroadc1, offroadc, midvunit, offroadc, offroadc, ROT0, "Midway", "Off Road Challenge (v1.10)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
1694
16931695GAME( 1995, wargods,  0,        midvplus, wargods,  wargods,  ROT0, "Midway", "War Gods", GAME_SUPPORTS_SAVE )
src/mame/drivers/shadfrce.c
r5338r5339
635635   ROM_LOAD( "32j9-0.76",  0x000000, 0x080000, CRC(16001e81) SHA1(67928d2024f963aee91f1498b6f4c76101d2f3b8) )
636636ROM_END
637637
638ROM_START( shadfrcj )
638ROM_START( shadfrcej )
639639   ROM_REGION( 0x100000, "maincpu", 0 ) /* 68000 Code */
640640   ROM_LOAD16_BYTE( "32a12-011.34", 0x00001, 0x40000, CRC(0c041e08) SHA1(7b9d52cb1f6bc217c6e64287bd9630aa37243513) ) /* Japan Version 3 */
641641   ROM_LOAD16_BYTE( "32a13-010.26", 0x00000, 0x40000, CRC(00985361) SHA1(e9da1b096b25a6ee46bab6230dda66dccdd4bed8) )
r5338r5339
664664   ROM_LOAD( "32j9-0.76",  0x000000, 0x080000, CRC(16001e81) SHA1(67928d2024f963aee91f1498b6f4c76101d2f3b8) )
665665ROM_END
666666
667ROM_START( shadfrcjv2 )
667ROM_START( shadfrcejv2 )
668668   ROM_REGION( 0x100000, "maincpu", 0 ) /* 68000 Code */
669669   ROM_LOAD16_BYTE( "32j12-01.34", 0x00001, 0x40000, CRC(38fdbe1d) SHA1(476d8ef2c0d2a8c568ce44631f93f8c730f91b08) ) /* Japan Version 2 */
670670   ROM_LOAD16_BYTE( "32j13-01.26", 0x00000, 0x40000, CRC(6e1df6f1) SHA1(c165553fe967b437413dd7ddc87a267548dd0ca9) )
r5338r5339
694694ROM_END
695695
696696
697GAME( 1993, shadfrce,   0,        shadfrce, shadfrce, 0, ROT0, "Technos Japan", "Shadow Force (US Version 2)", GAME_NO_COCKTAIL )
698GAME( 1993, shadfrcj,   shadfrce, shadfrce, shadfrce, 0, ROT0, "Technos Japan", "Shadow Force (Japan Version 3)", GAME_NO_COCKTAIL )
699GAME( 1993, shadfrcjv2, shadfrce, shadfrce, shadfrce, 0, ROT0, "Technos Japan", "Shadow Force (Japan Version 2)", GAME_NO_COCKTAIL )
697GAME( 1993, shadfrce,    0,        shadfrce, shadfrce, 0, ROT0, "Technos Japan", "Shadow Force (US Version 2)", GAME_NO_COCKTAIL )
698GAME( 1993, shadfrcej,   shadfrce, shadfrce, shadfrce, 0, ROT0, "Technos Japan", "Shadow Force (Japan Version 3)", GAME_NO_COCKTAIL )
699GAME( 1993, shadfrcejv2, shadfrce, shadfrce, shadfrce, 0, ROT0, "Technos Japan", "Shadow Force (Japan Version 2)", GAME_NO_COCKTAIL )
src/mame/drivers/bigevglf.c
r5338r5339
518518   ROM_LOAD( "a67-15",   0x18000, 0x8000, CRC(1d261428) SHA1(0f3e6d83a8a462436fa414de4e1e4306db869d3e))
519519ROM_END
520520
521ROM_START( bigevglj )
521ROM_START( bigevglfj )
522522   ROM_REGION( 0x90000, "maincpu", 0 )
523523   ROM_LOAD( "a67-02-2.10", 0x00000, 0x8000, CRC(b3edbb78) SHA1(7873b1a94cca830f1d1c143376cb49f6e48dbf0b))
524524   ROM_LOAD( "a67-01-2.9",  0x08000, 0x4000, CRC(7788b5d0) SHA1(f331138352c4d7b4566d342047785ed97e7b5990))
r5338r5339
550550ROM_END
551551
552552GAME( 1986, bigevglf, 0,        bigevglf, bigevglf, 0, ROT270, "Taito America Corporation", "Big Event Golf (US)", GAME_NO_COCKTAIL)
553GAME( 1986, bigevglj, bigevglf, bigevglf, bigevglj, 0, ROT270, "Taito Corporation", "Big Event Golf (Japan)", GAME_NO_COCKTAIL)
553GAME( 1986, bigevglfj,bigevglf, bigevglf, bigevglj, 0, ROT270, "Taito Corporation", "Big Event Golf (Japan)", GAME_NO_COCKTAIL)
src/mame/drivers/n8080.c
r5338r5339
644644   ROM_LOAD( "sf.prm",   0x0000, 0x0020, CRC(c5914ec1) SHA1(198875fcab36d09c8726bb21e2fdff9882f6721a) )
645645ROM_END
646646
647ROM_START( spacefva )
647ROM_START( spacefeva )
648648   ROM_REGION( 0x8000, "maincpu", 0 )
649649   ROM_LOAD( "sf-a.f1",  0x0000, 0x0400, CRC(7fa305e8) SHA1(cda9fc9c76f57800de25ddf65f69fef19fd28481) )
650650   ROM_LOAD( "sf-a.f2",  0x0400, 0x0400, CRC(7c1429aa) SHA1(8d8e0a4fc09fb1ecbfb86c67c20000ef30ab3fac) )
r5338r5339
679679   ROM_LOAD( "sf.prm",   0x0000, 0x0020, CRC(c5914ec1) SHA1(198875fcab36d09c8726bb21e2fdff9882f6721a) )
680680ROM_END
681681
682ROM_START( highspla )
682ROM_START( highsplta )
683683   ROM_REGION( 0x10000, "maincpu", 0 )
684684   ROM_LOAD( "hs.f1",    0x0000, 0x0400, CRC(b8887351) SHA1(ccd49937f1cbd7a157b3715474ccc3e8fdcea2b2) )
685685   ROM_LOAD( "hs.f2",    0x0400, 0x0400, CRC(cda933a7) SHA1(a0447c8c98e24674081c9bf4b1ef07dc186c6e2b) )
r5338r5339
771771   ROM_LOAD( "hf.snd",   0x0000, 0x0400, CRC(9d77a31f) SHA1(36db9b5087b6661de88042854874bc247c92d985) )
772772ROM_END
773773
774ROM_START( helifira )
774ROM_START( helifirea )
775775   ROM_REGION( 0x8000, "maincpu", 0 )
776776   ROM_LOAD( "hf-a.f1",  0x0000, 0x0400, CRC(92c9d6c1) SHA1(860a7b3980e9e11d48769fad347c965e04ed3f89) )
777777   ROM_LOAD( "hf-a.f2",  0x0400, 0x0400, CRC(a264dde8) SHA1(48f972ad5af6c2ab61117f60d9244df6df6d313c) )
r5338r5339
790790
791791
792792GAME( 1979, spacefev, 0,        spacefev, spacefev, 0, ROT270, "Nintendo", "Space Fever (set 1)", 0 )
793GAME( 1979, spacefva, spacefev, spacefev, spacefev, 0, ROT270, "Nintendo", "Space Fever (set 2)", 0 )
793GAME( 1979, spacefeva,spacefev, spacefev, spacefev, 0, ROT270, "Nintendo", "Space Fever (set 2)", 0 )
794794GAME( 1979, highsplt, 0,        spacefev, highsplt, 0, ROT270, "Nintendo", "Space Fever High Splitter (set 1)", 0 )
795GAME( 1979, highspla, highsplt, spacefev, highsplt, 0, ROT270, "Nintendo", "Space Fever High Splitter (set 2)", 0 )
795GAME( 1979, highsplta,highsplt, spacefev, highsplt, 0, ROT270, "Nintendo", "Space Fever High Splitter (set 2)", 0 )
796796GAME( 1979, spacelnc, 0,        spacefev, spacelnc, 0, ROT270, "Nintendo", "Space Launcher", GAME_NOT_WORKING )
797797GAME( 1979, sheriff,  0,        sheriff,  sheriff,  0, ROT270, "Nintendo", "Sheriff", 0 )
798798GAME( 1980, bandido,  sheriff,  sheriff,  bandido,  0, ROT270, "Exidy",    "Bandido", 0 )
799799GAME( 1980, helifire, 0,        helifire, helifire, 0, ROT270, "Nintendo", "HeliFire (set 1)", GAME_NOT_WORKING | GAME_NO_COCKTAIL )
800GAME( 1980, helifira, helifire, helifire, helifire, 0, ROT270, "Nintendo", "HeliFire (set 2)", GAME_NOT_WORKING | GAME_NO_COCKTAIL )
800GAME( 1980, helifirea,helifire, helifire, helifire, 0, ROT270, "Nintendo", "HeliFire (set 2)", GAME_NOT_WORKING | GAME_NO_COCKTAIL )
src/mame/drivers/spdodgeb.c
r5338r5339
604604
605605GAME( 1987, spdodgeb, 0,        spdodgeb, spdodgeb, 0, ROT0, "Technos Japan", "Super Dodge Ball (US)", 0 )
606606GAME( 1987, nkdodge,  spdodgeb, spdodgeb, spdodgeb, 0, ROT0, "Technos Japan", "Nekketsu Koukou Dodgeball Bu (Japan)", 0 )
607GAME( 1987, nkdodgeb, spdodgeb, spdodgeb, spdodgeb, 0, ROT0, "Technos Japan", "Nekketsu Koukou Dodgeball Bu (Japan, bootleg)", 0 )
607GAME( 1987, nkdodgeb, spdodgeb, spdodgeb, spdodgeb, 0, ROT0, "bootleg", "Nekketsu Koukou Dodgeball Bu (Japan, bootleg)", 0 )
src/mame/drivers/cvs.c
r5338r5339
11921192   CVS_COMMON_ROMS
11931193ROM_END
11941194
1195ROM_START( hunchbka )
1195ROM_START( hunchbaka )
11961196   ROM_REGION( 0x8000, "maincpu", 0 )
11971197   ROM_LOAD_STAGGERED( "1b.gp1", 0x0000, CRC(c816860b) SHA1(1109639645496d4644564d21c816b8baf8c84cf7) )
11981198   ROM_LOAD_STAGGERED( "2a.gp2", 0x0400, CRC(cab1e524) SHA1(c3fd7ac9ce5893fd2602a15ad0f6e3267a4ca122) )
r5338r5339
12761276   CVS_COMMON_ROMS
12771277ROM_END
12781278
1279ROM_START( radarzn1 )
1279ROM_START( radarzon1 )
12801280   ROM_REGION( 0x8000, "maincpu", 0 )
12811281   ROM_LOAD_STAGGERED( "r1-gp1.bin", 0x0000, CRC(7c73c21f) SHA1(1113025ea16cfcc500b9624a031f3d25290db163) )
12821282   ROM_LOAD_STAGGERED( "r1-gp2.bin", 0x0400, CRC(dedbd2ce) SHA1(ef80bf1b4a9561ad7f54e795c78e72664abf0501) )
r5338r5339
12971297   CVS_COMMON_ROMS
12981298ROM_END
12991299
1300ROM_START( radarznt )
1300ROM_START( radarzont )
13011301   ROM_REGION( 0x8000, "maincpu", 0 )
13021302   ROM_LOAD_STAGGERED( "rt-gp1.bin", 0x0000, CRC(43573974) SHA1(854fe7022e9bdd94bb119c014156e9ffdb6682fa) )
13031303   ROM_LOAD_STAGGERED( "rt-gp2.bin", 0x0400, CRC(257a11ce) SHA1(ca7f9260d9879ebce202f83a41838cb6dc9a6480) )
r5338r5339
16511651GAME( 1982, dazzler,  0,        cvs,     dazzler,  0,        ROT90, "Century Electronics", "Dazzler", GAME_NO_COCKTAIL )
16521652GAME( 1982, wallst,   0,        cvs,     wallst,   0,        ROT90, "Century Electronics", "Wall Street", GAME_NO_COCKTAIL )
16531653GAME( 1982, radarzon, 0,        cvs,     radarzon, 0,        ROT90, "Century Electronics", "Radar Zone", GAME_NO_COCKTAIL )
1654GAME( 1982, radarzn1, radarzon, cvs,     radarzon, 0,        ROT90, "Century Electronics", "Radar Zone (Rev.1)", GAME_NO_COCKTAIL )
1655GAME( 1982, radarznt, radarzon, cvs,     radarzon, 0,        ROT90, "Century Electronics (Tuni Electro Service Inc)", "Radar Zone (Tuni)", GAME_NO_COCKTAIL )
1654GAME( 1982, radarzon1,radarzon, cvs,     radarzon, 0,        ROT90, "Century Electronics", "Radar Zone (Rev.1)", GAME_NO_COCKTAIL )
1655GAME( 1982, radarzont,radarzon, cvs,     radarzon, 0,        ROT90, "Century Electronics (Tuni Electro Service Inc)", "Radar Zone (Tuni)", GAME_NO_COCKTAIL )
16561656GAME( 1982, outline,  radarzon, cvs,     radarzon, 0,        ROT90, "Century Electronics", "Outline", GAME_NO_COCKTAIL )
16571657GAME( 1982, goldbug,  0,        cvs,     goldbug,  0,        ROT90, "Century Electronics", "Gold Bug", GAME_NO_COCKTAIL )
16581658GAME( 1982, diggerc,  0,        cvs,     diggerc,  0,        ROT90, "Century Electronics", "Digger (CVS)", GAME_NO_COCKTAIL )
16591659GAME( 1983, heartatk, 0,        cvs,     heartatk, 0,        ROT90, "Century Electronics", "Heart Attack", GAME_NO_COCKTAIL )
16601660GAME( 1983, hunchbak, 0,        cvs,     hunchbak, 0,        ROT90, "Century Electronics", "Hunchback (set 1)", GAME_NO_COCKTAIL )
1661GAME( 1983, hunchbka, hunchbak, cvs,     hunchbak, hunchbka, ROT90, "Century Electronics", "Hunchback (set 2)", GAME_NO_COCKTAIL )
1661GAME( 1983, hunchbaka,hunchbak, cvs,     hunchbak, hunchbka, ROT90, "Century Electronics", "Hunchback (set 2)", GAME_NO_COCKTAIL )
16621662GAME( 1983, superbik, 0,        cvs,     superbik, superbik, ROT90, "Century Electronics", "Superbike", GAME_NO_COCKTAIL )
16631663GAME( 1983, raiders,  0,        cvs,     raiders,  raiders,  ROT90, "Century Electronics", "Raiders", GAME_NO_COCKTAIL )
16641664GAME( 1983, hero,     0,        cvs,     hero,     hero,     ROT90, "Seatongrove Ltd",     "Hero", GAME_NO_COCKTAIL )
src/mame/drivers/tnzs.c
r5338r5339
19971997   ROM_LOAD( "b06-08.17f", 0x00200, 0x200, CRC(10c9aac3) SHA1(09d6f791dea358e78099af7a370b00b8504ffc97) )   /* lo bytes, AM27S29 or compatible like MB7124 */
19981998ROM_END
19991999
2000ROM_START( extrmatu )
2000ROM_START( extrmatnu )
20012001   ROM_REGION( 0x30000, "maincpu", 0 )            /* Region 0 - main cpu */
20022002   ROM_LOAD( "b06-20.11c", 0x00000, 0x08000, CRC(04e3fc1f) SHA1(b1cf2f79f43fa33d6175368c897f84ec6aa6e746) )
20032003   ROM_CONTINUE(           0x18000, 0x08000 )            /* banked at 8000-bfff */
r5338r5339
20212021   ROM_LOAD( "b06-08.17f", 0x00200, 0x200, CRC(10c9aac3) SHA1(09d6f791dea358e78099af7a370b00b8504ffc97) )   /* lo bytes, AM27S29 or compatible like MB7124 */
20222022ROM_END
20232023
2024ROM_START( extrmatj )
2024ROM_START( extrmatnj )
20252025   ROM_REGION( 0x30000, "maincpu", 0 )            /* Region 0 - main cpu */
20262026   ROM_LOAD( "b06-05.11c", 0x00000, 0x08000, CRC(918e1fe3) SHA1(1aa69e7ae393f275d440b3d5bf817475e443045d) )
20272027   ROM_CONTINUE(           0x18000, 0x08000 )            /* banked at 8000-bfff */
r5338r5339
20692069   ROM_LOAD( "b08-07.16f",   0x00200, 0x200, CRC(ea34d9f7) SHA1(9a46edc64f961bd96908419cabd92445d300fc19) )   /* lo bytes, AM27S29 or compatible like MB7124 */
20702070ROM_END
20712071
2072ROM_START( arknid2u )
2072ROM_START( arknoid2u )
20732073   ROM_REGION( 0x30000, "maincpu", 0 )            /* Region 0 - main cpu */
20742074   ROM_LOAD( "b08_11.11c", 0x00000, 0x08000, CRC(99555231) SHA1(2798f3f5b3f1fa27598fe7a6e95c75d9142c8d34) )
20752075   ROM_CONTINUE(           0x18000, 0x08000 )         /* banked at 8000-bfff */
r5338r5339
20932093   ROM_LOAD( "b08-07.16f",   0x00200, 0x200, CRC(ea34d9f7) SHA1(9a46edc64f961bd96908419cabd92445d300fc19) )   /* lo bytes, AM27S29 or compatible like MB7124 */
20942094ROM_END
20952095
2096ROM_START( arknid2j )
2096ROM_START( arknoid2j )
20972097   ROM_REGION( 0x30000, "maincpu", 0 )            /* Region 0 - main cpu */
20982098   ROM_LOAD( "b08_05.11c", 0x00000, 0x08000, CRC(136edf9d) SHA1(f632321650897eee585511a84f451a205d1f7704) )
20992099   ROM_CONTINUE(           0x18000, 0x08000 )         /* banked at 8000-bfff */
r5338r5339
21452145   ROM_LOAD( "b19-12.16f", 0x0200, 0x200, CRC(5754e9d8) SHA1(8c7d29e22c90b1f72929b95675dc15e431aae044) )   /* lo bytes, AM27S29 or compatible like MB7124 */
21462146ROM_END
21472147
2148ROM_START( drtopplu )
2148ROM_START( drtoppelu )
21492149   ROM_REGION( 0x30000, "maincpu", 0 )   /* 64k + bankswitch areas for the first CPU */
21502150   ROM_LOAD( "b19-09.11c", 0x00000, 0x08000, CRC(3e654f82) SHA1(d9e351d82546b08eb7887ea1d976fa97a259db6e) )
21512151   ROM_CONTINUE(           0x18000, 0x08000 )            /* banked at 8000-bfff */
r5338r5339
21732173   ROM_LOAD( "b19-12.16f", 0x0200, 0x200, CRC(5754e9d8) SHA1(8c7d29e22c90b1f72929b95675dc15e431aae044) )   /* lo bytes, AM27S29 or compatible like MB7124 */
21742174ROM_END
21752175
2176ROM_START( drtopplj )
2176ROM_START( drtoppelj )
21772177   ROM_REGION( 0x30000, "maincpu", 0 )   /* 64k + bankswitch areas for the first CPU */
21782178   ROM_LOAD( "b19-09.11c", 0x00000, 0x08000, CRC(3e654f82) SHA1(d9e351d82546b08eb7887ea1d976fa97a259db6e) )
21792179   ROM_CONTINUE(           0x18000, 0x08000 )            /* banked at 8000-bfff */
r5338r5339
23412341   ROM_LOAD( "b44-08.a02", 0xe0000, 0x20000, CRC(6cb1e8fc) SHA1(4ab0c2cce1de2616044a9bfb9bf17f95a49baffd) )
23422342ROM_END
23432343
2344ROM_START( chukatau )
2344ROM_START( chukataiu )
23452345   ROM_REGION( 0x30000, "maincpu", 0 )   /* 64k + bankswitch areas for the first CPU */
23462346   ROM_LOAD( "b44-10", 0x00000, 0x08000, CRC(8c69e008) SHA1(7825965f517f3562a508345b7c0d32b8a57bd38a) )
23472347   ROM_CONTINUE(       0x18000, 0x08000 )            /* banked at 8000-bfff */
r5338r5339
23652365   ROM_LOAD( "b44-08.a02", 0xe0000, 0x20000, CRC(6cb1e8fc) SHA1(4ab0c2cce1de2616044a9bfb9bf17f95a49baffd) )
23662366ROM_END
23672367
2368ROM_START( chukataj )
2368ROM_START( chukataij )
23692369   ROM_REGION( 0x30000, "maincpu", 0 )   /* 64k + bankswitch areas for the first CPU */
23702370   ROM_LOAD( "b44-10", 0x00000, 0x08000, CRC(8c69e008) SHA1(7825965f517f3562a508345b7c0d32b8a57bd38a) )
23712371   ROM_CONTINUE(       0x18000, 0x08000 )            /* banked at 8000-bfff */
r5338r5339
26862686/*  ( YEAR  NAME      PARENT    MACHINE   INPUT     INIT      MONITOR COMPANY    FULLNAME     FLAGS ) */
26872687GAME( 1987, plumppop, 0,        drtoppel, plumppop, plumpop,  ROT0,   "Taito Corporation", "Plump Pop (Japan)", 0 )
26882688GAME( 1987, extrmatn, 0,        arknoid2, extrmatn, extrmatn, ROT270, "Taito Corporation Japan", "Extermination (World)", 0 )
2689GAME( 1987, extrmatu, extrmatn, arknoid2, extrmatn, extrmatn, ROT270, "[Taito] World Games", "Extermination (US)", 0 )
2690GAME( 1987, extrmatj, extrmatn, arknoid2, extrmatn, extrmatn, ROT270, "Taito Corporation", "Extermination (Japan)", 0 )
2689GAME( 1987, extrmatnu,extrmatn, arknoid2, extrmatn, extrmatn, ROT270, "[Taito] World Games", "Extermination (US)", 0 )
2690GAME( 1987, extrmatnj,extrmatn, arknoid2, extrmatn, extrmatn, ROT270, "Taito Corporation", "Extermination (Japan)", 0 )
26912691GAME( 1987, arknoid2, 0,        arknoid2, arknoid2, arknoid2, ROT270, "Taito Corporation Japan", "Arkanoid - Revenge of DOH (World)", 0 )
2692GAME( 1987, arknid2u, arknoid2, arknoid2, arknid2u, arknoid2, ROT270, "Taito America Corporation (Romstar license)", "Arkanoid - Revenge of DOH (US)", 0 )
2693GAME( 1987, arknid2j, arknoid2, arknoid2, arknid2u, arknoid2, ROT270, "Taito Corporation", "Arkanoid - Revenge of DOH (Japan)", 0 )
2692GAME( 1987, arknoid2u,arknoid2, arknoid2, arknid2u, arknoid2, ROT270, "Taito America Corporation (Romstar license)", "Arkanoid - Revenge of DOH (US)", 0 )
2693GAME( 1987, arknoid2j,arknoid2, arknoid2, arknid2u, arknoid2, ROT270, "Taito Corporation", "Arkanoid - Revenge of DOH (Japan)", 0 )
26942694GAME( 1987, drtoppel, 0,        drtoppel, drtoppel, drtoppel, ROT90,  "Taito Corporation Japan", "Dr. Toppel's Adventure (World)", 0 ) /* Possible region hack */
2695GAME( 1987, drtopplu, drtoppel, drtoppel, drtopplu, drtoppel, ROT90,  "Taito America Corporation", "Dr. Toppel's Adventure (US)", 0 ) /* Possible region hack */
2696GAME( 1987, drtopplj, drtoppel, drtoppel, drtopplu, drtoppel, ROT90,  "Taito Corporation", "Dr. Toppel's Tankentai (Japan)", 0 )
2695GAME( 1987, drtoppelu,drtoppel, drtoppel, drtopplu, drtoppel, ROT90,  "Taito America Corporation", "Dr. Toppel's Adventure (US)", 0 ) /* Possible region hack */
2696GAME( 1987, drtoppelj,drtoppel, drtoppel, drtopplu, drtoppel, ROT90,  "Taito Corporation", "Dr. Toppel's Tankentai (Japan)", 0 )
26972697GAME( 1988, kageki,   0,        kageki,   kageki,   kageki,   ROT90,  "Taito America Corporation (Romstar license)", "Kageki (US)", 0 )
26982698GAME( 1988, kagekij,  kageki,   kageki,   kagekij,  kageki,   ROT90,  "Taito Corporation", "Kageki (Japan)", 0 )
26992699GAME( 1992, kagekih,  kageki,   kageki,   kageki,   kageki,   ROT90,  "Taito Corporation", "Kageki (hack)", 0 ) // date is hacked at least, might also be a Japan set hacked to show english
27002700GAME( 1988, chukatai, 0,        tnzs,     chukatai, chukatai, ROT0,   "Taito Corporation Japan", "Chuka Taisen (World)", 0 ) /* Possible region hack */
2701GAME( 1988, chukatau, chukatai, tnzs,     chukatau, chukatai, ROT0,   "Taito America Corporation", "Chuka Taisen (US)", 0 ) /* Possible region hack */
2702GAME( 1988, chukataj, chukatai, tnzs,     chukatau, chukatai, ROT0,   "Taito Corporation", "Chuka Taisen (Japan)", 0 )
2701GAME( 1988, chukataiu,chukatai, tnzs,     chukatau, chukatai, ROT0,   "Taito America Corporation", "Chuka Taisen (US)", 0 ) /* Possible region hack */
2702GAME( 1988, chukataij,chukatai, tnzs,     chukatau, chukatai, ROT0,   "Taito Corporation", "Chuka Taisen (Japan)", 0 )
27032703GAME( 1988, tnzs,     0,        tnzsb,    tnzs,     tnzsb,    ROT0,   "Taito Corporation Japan", "The NewZealand Story (World, new version) (newer PCB)", 0 )
27042704GAME( 1988, tnzsj,    tnzs,     tnzsb,    tnzsj,    tnzsb,    ROT0,   "Taito Corporation", "The NewZealand Story (Japan, new version) (newer PCB)", 0 )
27052705GAME( 1988, tnzsjo,   tnzs,     tnzs,     tnzsjo,   tnzs,     ROT0,   "Taito Corporation", "The NewZealand Story (Japan, old version) (older PCB)", 0 )
src/mame/drivers/rohga.c
r5338r5339
12361236   ROM_LOAD( "mb7122h.16l", 0x00000,  0x400,  CRC(2bee57cc) SHA1(bc48670aa7c39f6ff7fae4c819eab22ed2db875b) )   /* Priority (unused) */
12371237ROM_END
12381238
1239ROM_START( wizdfiru )
1239ROM_START( wizdfireu )
12401240   ROM_REGION(0x200000, "maincpu", 0 ) /* 68000 code */
12411241   ROM_LOAD16_BYTE( "jf-01.3d", 0x000000, 0x20000, CRC(bde42a41) SHA1(0379de9c4cdcce35554b5dc15241ed2c4f0d7611) ) /* Version 1.1 US */
12421242   ROM_LOAD16_BYTE( "jf-00.3a", 0x000001, 0x20000, CRC(bca3c995) SHA1(dbebc9e301c04ee82ca4b658d3ab870790d1605b) )
r5338r5339
12801280   ROM_LOAD( "mb7122h.16l", 0x00000,  0x400,  CRC(2bee57cc) SHA1(bc48670aa7c39f6ff7fae4c819eab22ed2db875b) )   /* Priority (unused) */
12811281ROM_END
12821282
1283ROM_START( darksel2 )
1283ROM_START( darkseal2 )
12841284   ROM_REGION(0x200000, "maincpu", 0 ) /* 68000 code */
12851285   ROM_LOAD16_BYTE( "jb-01-3.3d", 0x000000, 0x20000, CRC(82308c01) SHA1(aa0733e244f14f2c84b6929236771cbc99532bb2) ) /* Version 2.1 Japan */
12861286   ROM_LOAD16_BYTE( "jb-00-3.3a", 0x000001, 0x20000, CRC(1d38113a) SHA1(69dc5a4dbe9d9737df198240f3db6f2115e311a5) )
r5338r5339
14961496GAME( 1991, rohgau,   rohga,   rohga,    rohga,    rohga,    ROT0,   "Data East Corporation", "Rohga Armor Force (US v1.0)", 0 )
14971497GAME( 1991, wolffang, rohga,   rohga,    rohga,    rohga,    ROT0,   "Data East Corporation", "Wolf Fang -Kuhga 2001- (Japan)", 0 )
14981498GAME( 1992, wizdfire, 0,       wizdfire, wizdfire, wizdfire, ROT0,   "Data East Corporation", "Wizard Fire (Over Sea v2.1)", 0 )
1499GAME( 1992, wizdfiru, wizdfire,wizdfire, wizdfire, wizdfire, ROT0,   "Data East Corporation", "Wizard Fire (US v1.1)", 0 )
1500GAME( 1992, darksel2, wizdfire,wizdfire, wizdfire, wizdfire, ROT0,   "Data East Corporation", "Dark Seal 2 (Japan v2.1)", 0 )
1499GAME( 1992, wizdfireu,wizdfire,wizdfire, wizdfire, wizdfire, ROT0,   "Data East Corporation", "Wizard Fire (US v1.1)", 0 )
1500GAME( 1992, darkseal2,wizdfire,wizdfire, wizdfire, wizdfire, ROT0,   "Data East Corporation", "Dark Seal 2 (Japan v2.1)", 0 )
15011501GAME( 1992, nitrobal, 0,       nitrobal, nitrobal, nitrobal, ROT270, "Data East Corporation", "Nitro Ball (US)", 0 )
15021502GAME( 1992, gunball,  nitrobal,nitrobal, nitrobal, nitrobal, ROT270, "Data East Corporation", "Gun Ball (Japan)", 0 )
15031503GAME( 1993, schmeisr, 0,       schmeisr, schmeisr, schmeisr, ROT0,   "Hot B",                 "Schmeiser Robo (Japan)", 0 )
src/mame/drivers/plygonet.c
r5338r5339
723723ROM_START( plygonet )
724724   /* main program */
725725   ROM_REGION( 0x200000, "maincpu", 0)
726   ROM_LOAD32_BYTE( "305a01.4k", 0x000003, 512*1024, CRC(8bdb6c95) SHA1(e981833842f8fd89b9726901fbe2058444204792) )
727   ROM_LOAD32_BYTE( "305a02.2k", 0x000002, 512*1024, CRC(4d7e32b3) SHA1(25731526535036972577637d186f02ae467296bd) )
728   ROM_LOAD32_BYTE( "305a03.2h", 0x000001, 512*1024, CRC(36e4e3fe) SHA1(e8fcad4f196c9b225a0fbe70791493ff07c648a9) )
729   ROM_LOAD32_BYTE( "305a04.4h", 0x000000, 512*1024, CRC(d8394e72) SHA1(eb6bcf8aedb9ba5843204ab8aacb735cbaafb74d) )
726   ROM_LOAD32_BYTE( "305uaa01.4k", 0x000003, 512*1024, CRC(8bdb6c95) SHA1(e981833842f8fd89b9726901fbe2058444204792) ) /* Boards exist without the "UA" in the label IE: 305a01, ect... */
727   ROM_LOAD32_BYTE( "305uaa02.2k", 0x000002, 512*1024, CRC(4d7e32b3) SHA1(25731526535036972577637d186f02ae467296bd) )
728   ROM_LOAD32_BYTE( "305uaa03.2h", 0x000001, 512*1024, CRC(36e4e3fe) SHA1(e8fcad4f196c9b225a0fbe70791493ff07c648a9) )
729   ROM_LOAD32_BYTE( "305uaa04.4h", 0x000000, 512*1024, CRC(d8394e72) SHA1(eb6bcf8aedb9ba5843204ab8aacb735cbaafb74d) )
730730
731731   /* Z80 sound program */
732732   ROM_REGION( 0x30000, "soundcpu", 0 )
r5338r5339
749749ROM_START( polynetw )
750750   /* main program */
751751   ROM_REGION( 0x200000, "maincpu", 0)
752        ROM_LOAD32_BYTE( "305jaa01.4k",  0x000003, 0x080000, CRC(ea889bd9) SHA1(102e7c0f0c064662c0f6137ad5da97a9ccd49a97) )
753        ROM_LOAD32_BYTE( "305jaa02.2k",  0x000002, 0x080000, CRC(d0710379) SHA1(cf0970d63e8d021edf2d404838c658a5b7cb8fb8) )
754        ROM_LOAD32_BYTE( "305jaa03.2h",  0x000001, 0x080000, CRC(278b5928) SHA1(2ea96054e2ef637731cd64f2bef0b5b2bbe7e24f) )
755        ROM_LOAD32_BYTE( "305jaa04.4h",  0x000000, 0x080000, CRC(b069353b) SHA1(12fbe2df09328bb7193e89a49d84a61eab5bfdcb) )
752   ROM_LOAD32_BYTE( "305jaa01.4k", 0x000003, 0x080000, CRC(ea889bd9) SHA1(102e7c0f0c064662c0f6137ad5da97a9ccd49a97) )
753   ROM_LOAD32_BYTE( "305jaa02.2k", 0x000002, 0x080000, CRC(d0710379) SHA1(cf0970d63e8d021edf2d404838c658a5b7cb8fb8) )
754   ROM_LOAD32_BYTE( "305jaa03.2h", 0x000001, 0x080000, CRC(278b5928) SHA1(2ea96054e2ef637731cd64f2bef0b5b2bbe7e24f) )
755   ROM_LOAD32_BYTE( "305jaa04.4h", 0x000000, 0x080000, CRC(b069353b) SHA1(12fbe2df09328bb7193e89a49d84a61eab5bfdcb) )
756756
757757   /* Z80 sound program */
758758   ROM_REGION( 0x30000, "soundcpu", 0 )
759        ROM_LOAD( "305jaa05.7b", 0x000000, 0x020000, CRC(06053db6) SHA1(c7d43c2650d949ee552a49db93dece842c17e68d) )
759   ROM_LOAD( "305jaa05.7b", 0x000000, 0x020000, CRC(06053db6) SHA1(c7d43c2650d949ee552a49db93dece842c17e68d) )
760760   ROM_RELOAD( 0x10000, 0x20000)
761761
762762   /* TTL text plane tiles */
763763   ROM_REGION( 0x20000, "gfx1", 0 )
764        ROM_LOAD( "305a06.18g",    0x000000, 0x020000, CRC(4b9b7e9c) SHA1(8c3c0f1ec7e26fd9552f6da1e6bdd7ff4453ba57) )
764   ROM_LOAD( "305a06.18g", 0x000000, 0x020000, CRC(4b9b7e9c) SHA1(8c3c0f1ec7e26fd9552f6da1e6bdd7ff4453ba57) )
765765
766766   /* '936 tiles */
767767    ROM_REGION( 0x40000, "gfx2", 0 )
768        ROM_LOAD( "305a07.20d",  0x000000, 0x020000, CRC(0959283b) SHA1(482caf96e8e430b87810508b1a1420cd3b58f203) )
768   ROM_LOAD( "305a07.20d", 0x000000, 0x020000, CRC(0959283b) SHA1(482caf96e8e430b87810508b1a1420cd3b58f203) )
769769
770770   /* sound data */
771771   ROM_REGION( 0x400000, "shared", 0 )
772        ROM_LOAD( "305a08.2e",    0x000000, 0x200000, CRC(7ddb8a52) SHA1(3199b347fc433ffe0de8521001df77672d40771e) )
773        ROM_LOAD( "305a09.3e",    0x200000, 0x200000, CRC(6da1be58) SHA1(d63ac16ac551193ff8a6036724fb59e1d702e06b) )
772   ROM_LOAD( "305a08.2e", 0x000000, 0x200000, CRC(7ddb8a52) SHA1(3199b347fc433ffe0de8521001df77672d40771e) )
773   ROM_LOAD( "305a09.3e", 0x200000, 0x200000, CRC(6da1be58) SHA1(d63ac16ac551193ff8a6036724fb59e1d702e06b) )
774774ROM_END
775775
776776/*          ROM       parent   machine   inp        init */
src/mame/drivers/nemesis.c
r5338r5339
20702070   ROM_LOAD(      "400-a02.fse",  0x00100, 0x0100, CRC(2f44f970) SHA1(7ab46f9d5d587665782cefc623b8de0124a6d38a) )
20712071ROM_END
20722072
2073ROM_START( nemesuk )
2073ROM_START( nemesisuk )
20742074   ROM_REGION( 0x40000, "maincpu", 0 )    /* 4 * 64k for code and rom */
20752075   ROM_LOAD16_BYTE( "456-e01.12a",   0x00000, 0x8000, CRC(e1993f91) SHA1(6759bb9ba0ce28ad4d7f61b824a7d0fe43215bdc) )
20762076   ROM_LOAD16_BYTE( "456-e05.12c",   0x00001, 0x8000, CRC(c9761c78) SHA1(bfd63517efa820a05a0d9a908dd0917cd0d01b77) )
r5338r5339
21852185   ROM_LOAD(      "587-c01.10a",      0x00000, 0x20000, CRC(09fe0632) SHA1(4c3b29c623d70bbe8a938a0beb4638912c46fb6a) ) /* Mask rom */
21862186ROM_END
21872187
2188ROM_START( salamanj )
2188ROM_START( salamandj )
21892189   ROM_REGION( 0x80000, "maincpu", 0 )
21902190   ROM_LOAD16_BYTE( "587-j02.18b",  0x00000, 0x10000, CRC(f68ee99a) SHA1(aec1f4720abe2529120ae711daa9e7e7d966b351) )
21912191   ROM_LOAD16_BYTE( "587-j05.18c",  0x00001, 0x10000, CRC(72c16128) SHA1(6921445caa0b1121e483c9c62c17aad8aa42cc18) )
r5338r5339
22192219   ROM_LOAD(      "587-c01.10a",      0x00000, 0x20000, CRC(09fe0632) SHA1(4c3b29c623d70bbe8a938a0beb4638912c46fb6a) ) /* Mask rom */
22202220ROM_END
22212221
2222ROM_START( lifefrcj )
2222ROM_START( lifefrcej )
22232223   ROM_REGION( 0x80000, "maincpu", 0 )
22242224   ROM_LOAD16_BYTE( "587-n02.18b",  0x00000, 0x10000, CRC(235dba71) SHA1(f3a0092a7d002436253054953e36d0865ce95b80) )
22252225   ROM_LOAD16_BYTE( "587-n05.18c",  0x00001, 0x10000, CRC(054e569f) SHA1(e810f7e3e762875e2e71e4356997257e1bbe0da1) )
r5338r5339
22682268   ROM_LOAD(      "787-e01.1k",  0x00000, 0x80000, CRC(edc34d01) SHA1(b1465d1a7364a7cebc14b96cd01dc78e57975972) )
22692269ROM_END
22702270
2271ROM_START( citybmrj )
2271ROM_START( citybombj )
22722272   ROM_REGION( 0x1c0000, "maincpu", 0 )
22732273   ROM_LOAD16_BYTE( "787-h10.15k",  0x000000, 0x10000, CRC(66fecf69) SHA1(5881ec019ef6228a693af5c9f6c26e05bdee3846) )
22742274   ROM_LOAD16_BYTE( "787-h09.15h",  0x000001, 0x10000, CRC(a0e29468) SHA1(78971da14a748ade6ea94770080a393c7617b97d) )
r5338r5339
24712471
24722472
24732473GAME( 1985, nemesis,   0,         nemesis,    nemesis,   nemesis,  ROT0,   "Konami", "Nemesis",  GAME_SUPPORTS_SAVE )
2474GAME( 1985, nemesuk,  nemesis,   nemesis,    nemesuk,   nemesis,  ROT0,   "Konami", "Nemesis (World?)",  GAME_SUPPORTS_SAVE )
2474GAME( 1985, nemesisuk, nemesis,   nemesis,    nemesuk,   nemesis,  ROT0,   "Konami", "Nemesis (World?)",  GAME_SUPPORTS_SAVE )
24752475GAME( 1985, konamigt,  0,         konamigt,   konamigt,  nemesis,  ROT0,   "Konami", "Konami GT",  GAME_SUPPORTS_SAVE )
24762476GAME( 1985, rf2,       konamigt,  rf2_gx400,  rf2,       nemesis,  ROT0,   "Konami", "Konami RF2 - Red Fighter",  GAME_SUPPORTS_SAVE )
24772477GAME( 1985, twinbee,   0,         gx400,      twinbee,   nemesis,  ROT90,  "Konami", "TwinBee",  GAME_SUPPORTS_SAVE )
24782478GAME( 1985, gradius,   nemesis,   gx400,      gradius,   nemesis,  ROT0,   "Konami", "Gradius",  GAME_SUPPORTS_SAVE )
24792479GAME( 1985, gwarrior,  0,         gx400,      gwarrior,  nemesis,  ROT0,   "Konami", "Galactic Warriors",  GAME_SUPPORTS_SAVE )
24802480GAME( 1986, salamand,  0,         salamand,   salamand,  nemesis,  ROT0,   "Konami", "Salamander (version D)",  GAME_SUPPORTS_SAVE )
2481GAME( 1986, salamanj, salamand,  salamand,   salamand,  nemesis,  ROT0,   "Konami", "Salamander (version J)",  GAME_SUPPORTS_SAVE )
2481GAME( 1986, salamandj, salamand,  salamand,   salamand,  nemesis,  ROT0,   "Konami", "Salamander (version J)",  GAME_SUPPORTS_SAVE )
24822482GAME( 1986, lifefrce,  salamand,  salamand,   salamand,  nemesis,  ROT0,   "Konami", "Lifeforce (US)",  GAME_SUPPORTS_SAVE )
2483GAME( 1987, lifefrcj, salamand,  salamand,   lifefrcj,  nemesis,  ROT0,   "Konami", "Lifeforce (Japan)",  GAME_SUPPORTS_SAVE )
2483GAME( 1987, lifefrcej, salamand,  salamand,   lifefrcj,  nemesis,  ROT0,   "Konami", "Lifeforce (Japan)",  GAME_SUPPORTS_SAVE )
24842484GAME( 1987, blkpnthr,  0,         blkpnthr,   blkpnthr,  nemesis,  ROT0,   "Konami", "Black Panther",  GAME_SUPPORTS_SAVE )
24852485GAME( 1987, citybomb,  0,         citybomb,   citybomb,  nemesis,  ROT270, "Konami", "City Bomber (World)",  GAME_SUPPORTS_SAVE )
2486GAME( 1987, citybmrj, citybomb,  citybomb,   citybomb,  nemesis,  ROT270, "Konami", "City Bomber (Japan)",  GAME_SUPPORTS_SAVE )
2486GAME( 1987, citybombj, citybomb,  citybomb,   citybomb,  nemesis,  ROT270, "Konami", "City Bomber (Japan)",  GAME_SUPPORTS_SAVE )
24872487GAME( 1987, hcrash,    0,         hcrash,     hcrash,    nemesis,  ROT0,   "Konami", "Hyper Crash (version D)",  GAME_SUPPORTS_SAVE )
24882488GAME( 1987, hcrashc,   hcrash,    hcrash,     hcrash,    nemesis,  ROT0,   "Konami", "Hyper Crash (version C)",  GAME_SUPPORTS_SAVE )
24892489GAME( 1988, kittenk,   0,         nyanpani,   nyanpani,  nemesis,  ROT0,   "Konami", "Kitten Kaboodle",  GAME_SUPPORTS_SAVE )
src/mame/drivers/progolf.c
r5338r5339
518518static DRIVER_INIT( progolfa )
519519{
520520   int A;
521   const address_space *space = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM);
521522   UINT8 *rom = memory_region(machine, "maincpu");
523   UINT8* decrypted = auto_alloc_array(machine, UINT8, 0x10000);
522524
523   /* TODO: data is likely to not be encrypted, just the opcodes are. */
524   for (A = 0x0000;A < 0x10000;A++)
525   {
526      switch(A & 0x1f)
527      {
528         // 0xda (1011) -> 0xea (1110)
529         // 0xc5 (1100) -> 0xa5 (1010)
530         // 0x4c (0100) -> 0x4c (0100) <- data!!!
531         case 0x03: rom[A] = BITSWAP8(rom[A],7,4,6,5,3,2,1,0); break;
532         // 0x59 (0101) -> 0xc9 (1100)
533         case 0x05: rom[A] = BITSWAP8(rom[A],4,6,7,5,3,2,1,0); break;
534         //case 0x04: rom[A] = BITSWAP8(rom[A],7,,4,3,2,1,0); break;
535         case 0x0b: rom[A] = BITSWAP8(rom[A],7,5,6,4,3,2,1,0); break;
536         // 0x6a (0110) -> 0x9a (1001)
537         case 0x0d: rom[A] = BITSWAP8(rom[A],6,7,4,5,3,2,1,0); break;
538         // 0x70 (0111) -> 0xd0 (1101)
539         case 0x0f: rom[A] = BITSWAP8(rom[A],5,6,7,4,3,2,1,0); break;
540         case 0x13: rom[A] = BITSWAP8(rom[A],5,6,7,4,3,2,1,0); break;
541         // 0xc0 (1100) -> 0xa0 (1010)
542         // 0x4d (0100) -> 0x8d (1000)
543         case 0x17: rom[A] = BITSWAP8(rom[A],6,5,7,4,3,2,1,0); break;
544         // 0xed (1110) -> 0xbd (1011)
545         case 0x1b: rom[A] = BITSWAP8(rom[A],7,4,6,5,3,2,1,0); break;
546         // 0xcd (1100) -> 0xad (1010)
547         case 0x1f: rom[A] = BITSWAP8(rom[A],6,5,7,4,3,2,1,0); break;
548      }
549   }
525   memory_set_decrypted_region(space,0x0000,0xffff, decrypted);
526
527   /* data is likely to not be encrypted, just the opcodes are. */
528   for (A = 0x0000 ; A < 0x10000 ; A++)
529      if (A & 1)
530         decrypted[A] = BITSWAP8(rom[A],6,4,7,5,3,2,1,0);
531      else
532         decrypted[A] = rom[A];
550533}
551534
552535/* Maybe progolf is a bootleg? progolfa uses DECO CPU-6 as custom module CPU (the same as Zoar) */
src/mame/drivers/jackie.c
r5338r5339
315315}
316316
317317static INPUT_PORTS_START( jackie )
318
319318   PORT_START("DSW1")
320319   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SWA:8")
321320   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
r5338r5339
386385   PORT_DIPUNKNOWN( 0x40, 0x40 )
387386   PORT_DIPUNKNOWN( 0x80, 0x80 )
388387
389
390388   PORT_START("SERVICE")
391   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_0) PORT_NAME("Attendent")
392   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SPECIAL  ) PORT_CUSTOM( hopper_r, (void *)0 ) PORT_NAME("HPSW")   // hopper sensor
393   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_4) PORT_NAME("Payout")
389   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_9) PORT_NAME("Attendent")
390   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM( hopper_r, (void *)0 ) PORT_NAME("HPSW")   // hopper sensor
391   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
394392   PORT_SERVICE_NO_TOGGLE( 0x20, IP_ACTIVE_LOW )   // test (press during boot)
395   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F1) PORT_NAME("Statistics")
393   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Statistics")
396394
397395   PORT_START("COINS")
398396   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
399397   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED )
400398   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 )
401   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN3  ) PORT_NAME("Key In")
402   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4  ) PORT_NAME("Clear")   // pays out
403   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER  ) PORT_CODE(KEYCODE_T) PORT_NAME("Togglemode")   // Used
399   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN ) PORT_NAME("Key In")
400   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Clear")   // pays out
401   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_T) PORT_NAME("Togglemode")   // Used
404402   PORT_BIT( 0xC0, IP_ACTIVE_HIGH, IPT_UNUSED )
405403
406404   PORT_START("BUTTONS1")
407   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_A) PORT_NAME("Stop 1")
408   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_S) PORT_NAME("Stop 2")
409   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_D) PORT_NAME("Stop 3")
410   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_F) PORT_NAME("Stop")
405   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SLOT_STOP1 )
406   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SLOT_STOP2 )
407   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP3 )
408   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_V) PORT_NAME("Stop")
411409   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
412410   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
413411   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
415413
416414   PORT_START("BUTTONS2")   // OK
417415   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
418   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C)   PORT_NAME("Small/Right Hammer")
419   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B)   PORT_NAME("Bet")
420   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z)   PORT_NAME("Take/Left Hammer")
421   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V)   PORT_NAME("W-Up")
422   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X)   PORT_NAME("Big/Center Hammer")
416   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_D) PORT_NAME("Small / Right Hammer")
417   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
418   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_A)   PORT_NAME("Take/Left Hammer")
419   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_3)   PORT_NAME("W-Up")
420   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_S) PORT_NAME("Big / Center Hammer")
423421   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
424
425422INPUT_PORTS_END
426423
427424
src/mame/drivers/warriorb.c
r5338r5339
610610//  ROM_LOAD( "C07-16.79", 0x00000, 0x00?00, NO_DUMP )
611611ROM_END
612612
613ROM_START( drius2do )
613ROM_START( darius2do )
614614   ROM_REGION( 0x100000, "maincpu", 0 )   /* 512K for 68000 code */
615615   ROM_LOAD16_BYTE( "c07_20-1.74", 0x00000, 0x20000, CRC(48b0804a) SHA1(932fb2cd55e6bfef84cf3cfaf3e75b4297a92b34) )
616616   ROM_LOAD16_BYTE( "c07_19-1.73", 0x00001, 0x20000, CRC(1f9a4f83) SHA1(d02caef350bdcac0ff771b5c92bb4e7435e0c9fa) )
r5338r5339
717717/* Working Games */
718718
719719GAME( 1989, darius2d, darius2,  darius2d, darius2d, 0, ROT0, "Taito Corporation", "Darius II (dual screen) (Japan)", 0 )
720GAME( 1989, drius2do, darius2,  darius2d, darius2d, 0, ROT0, "Taito Corporation", "Darius II (dual screen) (Japan old version)", 0 )
720GAME( 1989, darius2do,darius2,  darius2d, darius2d, 0, ROT0, "Taito Corporation", "Darius II (dual screen) (Japan old version)", 0 )
721721GAME( 1991, warriorb, 0,        warriorb, warriorb, 0, ROT0, "Taito Corporation", "Warrior Blade - Rastan Saga Episode III (Japan)", 0 )
src/mame/drivers/alg.c
r5338r5339
601601   ROM_LOAD16_BYTE( "cp2_1.3_2.bin", 0x000001, 0x20000, CRC(dbdaa79a) SHA1(998044909d5c93e3bd1baafefab818fdb7b3f55e) )
602602ROM_END
603603
604ROM_START( crime211 )
604ROM_START( crimep211 )
605605   ALG_BIOS
606606
607607   ROM_REGION( 0x40000, "user2", ROMREGION_ERASEFF )
r5338r5339
798798  /* all good, but no holster */
799799GAME( 1993, crimepat, alg_bios, alg_r2,   alg_2p, palr6,    ROT0,  "American Laser Games", "Crime Patrol v1.4", GAME_NOT_WORKING | GAME_NO_SOUND | GAME_IMPERFECT_GRAPHICS )
800800GAME( 1993, crimep2,  alg_bios, alg_r2,   alg_2p, palr6,    ROT0,  "American Laser Games", "Crime Patrol 2: Drug Wars v1.3", GAME_NOT_WORKING | GAME_NO_SOUND | GAME_IMPERFECT_GRAPHICS )
801GAME( 1993, crime211, crimep2, alg_r2,   alg_2p, palr6,    ROT0,  "American Laser Games", "Crime Patrol 2: Drug Wars v1.1", GAME_NOT_WORKING | GAME_NO_SOUND | GAME_IMPERFECT_GRAPHICS )
801GAME( 1993, crimep211,crimep2, alg_r2,   alg_2p, palr6,    ROT0,  "American Laser Games", "Crime Patrol 2: Drug Wars v1.1", GAME_NOT_WORKING | GAME_NO_SOUND | GAME_IMPERFECT_GRAPHICS )
802802GAME( 1994, lastbh,   alg_bios, alg_r2,   alg_2p, palr6,    ROT0,  "American Laser Games", "The Last Bounty Hunter v0.06", GAME_NOT_WORKING | GAME_NO_SOUND | GAME_IMPERFECT_GRAPHICS )
803803GAME( 1995, fastdraw, alg_bios, alg_r2,   alg_2p, palr6,    ROT90, "American Laser Games", "Fast Draw Showdown v1.3", GAME_NOT_WORKING | GAME_NO_SOUND | GAME_IMPERFECT_GRAPHICS )
804804  /* works ok but uses right player (2) controls only for trigger and holster */
src/mame/drivers/bombjack.c
r5338r5339
396396   ROM_LOAD( "02_p04t.bin",  0x0000, 0x1000, CRC(398d4a02) SHA1(ac18a8219f99ba9178b96c9564de3978e39c59fd) )
397397ROM_END
398398
399ROM_START( bombjac2 )
399ROM_START( bombjack2 )
400400   ROM_REGION( 0x10000, "maincpu", 0 )
401401   ROM_LOAD( "09_j01b.bin",  0x0000, 0x2000, CRC(c668dc30) SHA1(51dd6a2688b42e9f28f0882bd76f75be7ec3222a) )
402402   ROM_LOAD( "10_l01b.bin",  0x2000, 0x2000, CRC(52a1e5fb) SHA1(e1cdc4b4efbc6c7a1e4fa65019486617f2acba1b) )
r5338r5339
428428
429429
430430GAME( 1984, bombjack, 0,        bombjack, bombjack, 0, ROT90, "Tehkan", "Bomb Jack (set 1)", GAME_SUPPORTS_SAVE )
431GAME( 1984, bombjac2, bombjack, bombjack, bombjack, 0, ROT90, "Tehkan", "Bomb Jack (set 2)", GAME_SUPPORTS_SAVE )
431GAME( 1984, bombjack2,bombjack, bombjack, bombjack, 0, ROT90, "Tehkan", "Bomb Jack (set 2)", GAME_SUPPORTS_SAVE )
src/mame/drivers/unico.c
r5338r5339
7272   AM_RANGE(0x800116, 0x800117) AM_WRITE(SMH_RAM) AM_BASE(&unico_scrollx_1)            //
7373   AM_RANGE(0x800120, 0x800121) AM_WRITE(SMH_RAM) AM_BASE(&unico_scrolly_1)            //
7474   AM_RANGE(0x800188, 0x800189) AM_DEVREADWRITE8("oki", okim6295_r, okim6295_w, 0x00ff)   // Sound
75   AM_RANGE(0x80018a, 0x80018d) AM_DEVREADWRITE8("ym", ym3812_r, ym3812_w, 0xff00)         //
75   AM_RANGE(0x80018a, 0x80018b) AM_DEVWRITE8("ym", ym3812_write_port_w, 0xff00         )   //
76   AM_RANGE(0x80018c, 0x80018d) AM_DEVREADWRITE8("ym", ym3812_status_port_r, ym3812_control_port_w, 0xff00      )   //
7677   AM_RANGE(0x80018e, 0x80018f) AM_DEVWRITE("oki", burglarx_sound_bank_w)               //
7778   AM_RANGE(0x8001e0, 0x8001e1) AM_WRITENOP                                    // IRQ Ack
7879   AM_RANGE(0x904000, 0x907fff) AM_RAM_WRITE(unico_vram_1_w) AM_BASE(&unico_vram_1   )      // Layers
src/mame/drivers/segag80v.c
r5338r5339
11421142   ROM_LOAD( "6331.speech-u30", 0x0420, 0x0020, CRC(adcb81d0) SHA1(74b0efc7e8362b0c98e54a6107981cff656d87e1) )   /* speech board addressing */
11431143ROM_END
11441144
1145ROM_START( spacfura ) /* Revision A */
1145ROM_START( spacfurya ) /* Revision A */
11461146   ROM_REGION( 0xc000, "maincpu", 0 )
11471147   ROM_LOAD( "969a.cpu-u25",    0x0000, 0x0800, CRC(896a615c) SHA1(542386196eca9fd822e36508e173201ee8a962ed) )
11481148   ROM_LOAD( "960a.prom-u1",    0x0800, 0x0800, CRC(e1ea7964) SHA1(9c84c525973fcf1437b062d98195272723249d02) )
r5338r5339
11691169   ROM_LOAD( "6331.speech-u30", 0x0420, 0x0020, CRC(adcb81d0) SHA1(74b0efc7e8362b0c98e54a6107981cff656d87e1) )   /* speech board addressing */
11701170ROM_END
11711171
1172ROM_START( spacfurb ) /* Revision B */
1172ROM_START( spacfuryb ) /* Revision B */
11731173   ROM_REGION( 0xc000, "maincpu", 0 )
11741174   ROM_LOAD( "969a.cpu-u25",    0x0000, 0x0800, CRC(896a615c) SHA1(542386196eca9fd822e36508e173201ee8a962ed) )
11751175   ROM_LOAD( "960b.prom-u1",    0x0800, 0x0800, CRC(8a99b63f) SHA1(4b9ec152e0fad50afeea11f5d61331f3211da606) )
r5338r5339
14401440GAME( 1981, elim4,     elim2,    elim2,    elim4,    elim4,    ORIENTATION_FLIP_Y,   "Gremlin", "Eliminator (4 Players)", 0 )
14411441GAME( 1981, elim4p,     elim2,   elim2,     elim4,   elim4,     ORIENTATION_FLIP_Y,   "Gremlin", "Eliminator (4 Players, prototype)", 0 )
14421442GAME( 1981, spacfury, 0,        spacfury, spacfury, spacfury, ORIENTATION_FLIP_Y,   "Sega", "Space Fury (revision C)", 0 )
1443GAME( 1981, spacfura, spacfury, spacfury, spacfury, spacfury, ORIENTATION_FLIP_Y,   "Sega", "Space Fury (revision A)", 0 )
1444GAME( 1981, spacfurb, spacfury, spacfury, spacfury, spacfury, ORIENTATION_FLIP_Y,   "Sega", "Space Fury (revision B)", 0 )
1443GAME( 1981, spacfurya,spacfury, spacfury, spacfury, spacfury, ORIENTATION_FLIP_Y,   "Sega", "Space Fury (revision A)", 0 )
1444GAME( 1981, spacfuryb,spacfury, spacfury, spacfury, spacfury, ORIENTATION_FLIP_Y,   "Sega", "Space Fury (revision B)", 0 )
14451445GAME( 1982, zektor,   0,        zektor,   zektor,   zektor,   ORIENTATION_FLIP_Y,   "Sega", "Zektor (revision B)", 0 )
14461446GAME( 1982, tacscan,  0,        tacscan,  tacscan,  tacscan,  ORIENTATION_FLIP_X ^ ROT270, "Sega", "Tac/Scan", GAME_IMPERFECT_SOUND )
14471447GAME( 1982, startrek, 0,        startrek, startrek, startrek, ORIENTATION_FLIP_Y,   "Sega", "Star Trek", GAME_IMPERFECT_SOUND )
src/mame/drivers/gatron.c
r5338r5339
362362
363363static INPUT_PORTS_START( poker41 )
364364   PORT_START("IN0")
365   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Discard 4") PORT_CODE(KEYCODE_V)
366   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Bet / Ante") PORT_CODE(KEYCODE_N)
367   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Deal / Hit") PORT_CODE(KEYCODE_2)
368   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)   /* Coin A */
369   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Free Bonus Draw / Stand") PORT_CODE(KEYCODE_3)
370   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Start") PORT_CODE(KEYCODE_1)
371   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Discard 5 / High / Double Down") PORT_CODE(KEYCODE_B)
372   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Discard 3") PORT_CODE(KEYCODE_C)
365   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Discard 4")
366   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Bet / Ante")
367   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Hit")
368   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)   /* Coin A */
369   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_STAND ) PORT_NAME("Free Bonus Draw / Stand")
370   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
371   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Discard 5 / High / Double Down")
372   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Discard 3")
373373
374374   PORT_START("IN1")
375375   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
376   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON6 )  PORT_NAME("Discard 2") PORT_CODE(KEYCODE_X)
377   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("Service 2 (Test Mode Out / Coin Stuck)") PORT_CODE(KEYCODE_0)
376   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )  PORT_NAME("Discard 2")
377   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Service 2 (Test Mode Out / Coin Stuck)")
378378   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )   /* Payout? */
379379   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
380   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_NAME("Service 1 (Test/Settings)") PORT_CODE(KEYCODE_9)
380   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Service 1 (Test/Settings)")
381381   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
382   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Discard 1 / Low") PORT_CODE(KEYCODE_Z)
382   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Discard 1 / Low")
383383INPUT_PORTS_END
384384
385385static INPUT_PORTS_START( pulltabs )
r5338r5339
387387   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
388388   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Ante") PORT_CODE(KEYCODE_1)
389389   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
390   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 )  PORT_IMPULSE(2)   /* Coin A */
390   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 )  PORT_IMPULSE(2)   /* Coin A */
391391   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
392392   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
393393   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Big Bar Ticket") PORT_CODE(KEYCODE_C)
src/mame/drivers/m62.c
r5338r5339
11841184   ROM_LOAD( "b-6f-.bin",    0x0620, 0x0100, CRC(82c20d12) SHA1(268903f7d9be58a70d030b02bf31a2d6b5b6e249) )   /* video timing - same as battroad */
11851185ROM_END
11861186
1187ROM_START( kungfud )
1187ROM_START( kungfumd )
11881188   ROM_REGION( 0x10000, "maincpu", 0 )
11891189   ROM_LOAD( "snx_a-4e-d", 0x0000, 0x4000, CRC(fc330a46) SHA1(50edbd6131310afa17d476e278a7098ab1cfae73) )
11901190   ROM_LOAD( "snx_a-4d-d", 0x4000, 0x4000, CRC(1b2fd32f) SHA1(34487dacf2ec9fbf55148953a9f248fae9442568) )
r5338r5339
15471547   ROM_LOAD( "lr3-b-6f",     0x0720, 0x0100, CRC(34d88d3c) SHA1(727f4c5cfff33538886fa0a29fd119aa085d7008) )   /* video timing - common to the other games */
15481548ROM_END
15491549
1550ROM_START( ldrun3jp )
1550ROM_START( ldrun3j )
15511551   ROM_REGION( 0x10000, "maincpu", 0 )
15521552   ROM_LOAD( "lr3-a-4e",     0x0000, 0x4000, CRC(5b334e8e) SHA1(018ee450f88feaf5da025e01d2d839b29d5f1559) )
15531553   ROM_LOAD( "lr3-a-4d.a",   0x4000, 0x4000, CRC(a84bc931) SHA1(0348d238a85a059a6423794910adec4462e14f27) )
r5338r5339
19161916   ROM_LOAD( "sprb.6f",      0x0820, 0x0100, CRC(34d88d3c) SHA1(727f4c5cfff33538886fa0a29fd119aa085d7008) )   /* video timing - common to the other games */
19171917ROM_END
19181918
1919ROM_START( spelnkrj )
1919ROM_START( spelunkrj )
19201920   ROM_REGION( 0x18000, "maincpu", 0 )   /* main CPU */
19211921   ROM_LOAD( "spr_a4ec.bin", 0x00000, 0x4000, CRC(4e94a80c) SHA1(591ec5aa3fb508eedd120d9f7fb9454c3547148a) )
19221922   ROM_LOAD( "spr_a4dd.bin", 0x04000, 0x4000, CRC(e7c0cbce) SHA1(19f914e9155972c91ccc8dc5b133f35246613c52) )
r5338r5339
21812181}
21822182
21832183GAME( 1984, kungfum,  0,        kungfum,  kungfum,  0,        ROT0,   "Irem", "Kung-Fu Master", 0 )
2184GAME( 1984, kungfud, kungfum,  kungfum,  kungfum,  0,        ROT0,   "Irem (Data East license)", "Kung-Fu Master (Data East)", 0 )
2184GAME( 1984, kungfumd, kungfum,  kungfum,  kungfum,  0,        ROT0,   "Irem (Data East license)", "Kung-Fu Master (Data East)", 0 )
21852185GAME( 1984, spartanx, kungfum,  kungfum,  kungfum,  0,        ROT0,   "Irem", "Spartan X (Japan)", 0 )
21862186GAME( 1984, kungfub,  kungfum,  kungfum,  kungfum,  0,        ROT0,   "bootleg", "Kung-Fu Master (bootleg set 1)", 0 )
21872187GAME( 1984, kungfub2, kungfum,  kungfum,  kungfum,  0,        ROT0,   "bootleg", "Kung-Fu Master (bootleg set 2)", 0 )
r5338r5339
21902190GAME( 1984, ldruna,   ldrun,    ldrun,    ldrun,    0,        ROT0,   "Irem (licensed from Broderbund)", "Lode Runner (set 2)", 0 )
21912191GAME( 1984, ldrun2,   0,        ldrun2,   ldrun2,   ldrun2,   ROT0,   "Irem (licensed from Broderbund)", "Lode Runner II - The Bungeling Strikes Back" , 0)   /* Japanese version is called Bangeringu Teikoku No Gyakushuu */
21922192GAME( 1985, ldrun3,   0,        ldrun3,   ldrun3,   0,        ROT0,   "Irem (licensed from Broderbund)", "Lode Runner III - The Golden Labyrinth", 0 )
2193GAME( 1985, ldrun3jp, ldrun3,   ldrun3,   ldrun3,   0,        ROT0,   "Irem (licensed from Broderbund)", "Lode Runner III - Majin No Fukkatsu", 0 )
2193GAME( 1985, ldrun3j, ldrun3,   ldrun3,   ldrun3,   0,        ROT0,   "Irem (licensed from Broderbund)", "Lode Runner III - Majin No Fukkatsu", 0 )
21942194GAME( 1986, ldrun4,   0,        ldrun4,   ldrun4,   ldrun4,   ROT0,   "Irem (licensed from Broderbund)", "Lode Runner IV - Teikoku Karano Dasshutsu", 0 )
21952195GAME( 1985, lotlot,   0,        lotlot,   lotlot,   0,        ROT0,   "Irem (licensed from Tokuma Shoten)", "Lot Lot", 0 )
21962196GAME( 1986, kidniki,  0,        kidniki,  kidniki,  kidniki,  ROT0,   "Irem", "Kid Niki - Radical Ninja (World)", GAME_IMPERFECT_SOUND )
r5338r5339
21982198GAME( 1986, yanchamr, kidniki,  kidniki,  kidniki,  kidniki,  ROT0,   "Irem", "Kaiketsu Yanchamaru (Japan)", GAME_IMPERFECT_SOUND )
21992199GAME( 1987, lithero,  kidniki,  kidniki,  kidniki,  kidniki,  ROT0,   "bootleg", "Little Hero", GAME_IMPERFECT_SOUND )
22002200GAME( 1985, spelunkr, 0,        spelunkr, spelunkr, spelunkr, ROT0,   "Irem (licensed from Broderbund)", "Spelunker", 0 )
2201GAME( 1985, spelnkrj, spelunkr, spelunkr, spelunkr, spelunkr, ROT0,   "Irem (licensed from Broderbund)", "Spelunker (Japan)", 0 )
2201GAME( 1985, spelunkrj,spelunkr, spelunkr, spelunkr, spelunkr, ROT0,   "Irem (licensed from Broderbund)", "Spelunker (Japan)", 0 )
22022202GAME( 1986, spelunk2, 0,        spelunk2, spelunk2, spelunk2, ROT0,   "Irem (licensed from Broderbund)", "Spelunker II", GAME_IMPERFECT_SOUND )
22032203GAME( 1986, youjyudn, 0,        youjyudn, youjyudn, youjyudn, ROT270, "Irem", "Youjyuden (Japan)", 0 )
22042204GAME( 1985, horizon,  0,        horizon,  horizon,  0,        ROT0,   "Irem", "Horizon", GAME_IMPERFECT_SOUND )
src/mame/drivers/megazone.c
r5338r5339
331331   ROM_LOAD( "319b15.e8",   0x0240, 0x020, CRC(31fd7ab9) SHA1(04d6e51b4930619c8ee12fb0d7b5f981e4d6d8d3) ) /* timing (not used) */
332332ROM_END
333333
334ROM_START( megaznik )
334ROM_START( megazonei )
335335   ROM_REGION( 2*0x10000, "maincpu", 0 )
336336   ROM_LOAD( "ic59_cpu.bin",  0x6000, 0x2000, CRC(f41922a0) SHA1(9f54509da18721a76593921c6e52085e62e6ea6b) )
337337   ROM_LOAD( "ic58_cpu.bin",  0x8000, 0x2000, CRC(7fd7277b) SHA1(e773247e0c9419cae49e04962ea362a2976c2db2) )
r5338r5339
414414
415415*/
416416
417ROM_START( megazona )
417ROM_START( megazonea )
418418   ROM_REGION( 0x10000, "maincpu", 0 )
419419   ROM_LOAD( "7.12g",  0x6000, 0x2000, CRC(d42d67bf) SHA1(adac80d183ad26a9b1ec25a2da7ebbb33b441b63) )
420420   ROM_LOAD( "6.10g",  0x8000, 0x2000, CRC(692398eb) SHA1(518001d738c2fb9417e52edfe9a7b74a074af3b0) )
r5338r5339
446446   ROM_LOAD( "319b15.e8",   0x0240, 0x020, CRC(31fd7ab9) SHA1(04d6e51b4930619c8ee12fb0d7b5f981e4d6d8d3) ) /* timing (not used) */
447447ROM_END
448448
449ROM_START( megazonb )
449ROM_START( megazoneb )
450450   ROM_REGION( 0x10000, "maincpu", 0 )
451451   ROM_LOAD( "319-j07",  0x6000, 0x2000,  CRC(5161a523) SHA1(90b456c30bccaaca96c75c2f421af3a2875b0b6b) )
452452   ROM_LOAD( "319-j06",  0x8000, 0x2000,  CRC(7344c3de) SHA1(d3867738d4828afa50c8b43116d68cc6074d6cb5) )
r5338r5339
478478   ROM_LOAD( "319b15.e8",   0x0240, 0x020, CRC(31fd7ab9) SHA1(04d6e51b4930619c8ee12fb0d7b5f981e4d6d8d3) ) /* timing (not used) */
479479ROM_END
480480
481ROM_START( megazonc )
481ROM_START( megazonec )
482482   ROM_REGION( 0x10000, "maincpu", 0 )
483483   ROM_LOAD( "319-h07",  0x6000, 0x2000,  CRC(8ca47f64) SHA1(1a20db5ac504b9b004116cfa6992d63a86a04cc5) )
484484   ROM_LOAD( "319-h06",  0x8000, 0x2000,  CRC(ed35b12e) SHA1(69e88c4801c838a24aba0a867af205a7169ad089) )
r5338r5339
518518
519519/* these just display a Konami copyright, no logo */
520520GAME( 1983, megazone, 0,        megazone, megazone, megazone, ROT90, "Konami",                       "Mega Zone (Konami set 1)", 0 )
521GAME( 1983, megazona, megazone, megazone, megazona, megazone, ROT90, "Konami",                       "Mega Zone (Konami set 2)", 0 )
521GAME( 1983, megazonea, megazone, megazone, megazona, megazone, ROT90, "Konami",                       "Mega Zone (Konami set 2)", 0 )
522522
523523/* these display Konami and Kosuka copyright, no logo */
524GAME( 1983, megazonb, megazone, megazone, megazone, megazone, ROT90, "Konami / Kosuka",              "Mega Zone (Kosuka set 1)", 0 )
525GAME( 1983, megazonc, megazone, megazone, megazone, megazone, ROT90, "Konami / Kosuka",              "Mega Zone (Kosuka set 2)", 0 )
524GAME( 1983, megazoneb, megazone, megazone, megazone, megazone, ROT90, "Konami / Kosuka",              "Mega Zone (Kosuka set 1)", 0 )
525GAME( 1983, megazonec, megazone, megazone, megazone, megazone, ROT90, "Konami / Kosuka",              "Mega Zone (Kosuka set 2)", 0 )
526526
527527/* this displays Konami and Kosuka copyright with a Konami / Interlogic logo */
528GAME( 1983, megaznik, megazone, megazone, megazone, megazone, ROT90, "Konami / Interlogic + Kosuka", "Mega Zone (Interlogic + Kosuka)", 0 )
528GAME( 1983, megazonei, megazone, megazone, megazone, megazone, ROT90, "Konami / Interlogic + Kosuka", "Mega Zone (Interlogic + Kosuka)", 0 )
src/mame/drivers/galaga.c
r5338r5339
10661066   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_COCKTAIL
10671067
10681068   PORT_START("DSWA")
1069   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) )
1069   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:1,2")
10701070   PORT_DIPSETTING(    0x01, DEF_STR( Easy ) )
10711071   PORT_DIPSETTING(    0x03, DEF_STR( Medium ) )
10721072   PORT_DIPSETTING(    0x02, DEF_STR( Hardest ) )
10731073   PORT_DIPSETTING(    0x00, "Auto" )
1074   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
1074   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:3")
10751075   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
10761076   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1077   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Demo_Sounds ) )
1077   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Demo_Sounds ) )    PORT_DIPLOCATION("SW1:4")
10781078   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
10791079   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1080   PORT_DIPNAME( 0x10, 0x10, "Freeze" )
1080   PORT_DIPNAME( 0x10, 0x10, "Freeze" )         PORT_DIPLOCATION("SW1:5")
10811081   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
10821082   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1083   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Allow_Continue ) )
1083   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Allow_Continue ) )   PORT_DIPLOCATION("SW1:6")
10841084   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
10851085   PORT_DIPSETTING(    0x20, DEF_STR( Yes ) )
1086   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
1087   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
1088   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1089   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
1086   PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW1:7" )      /* Listed as "Unused" */
1087   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW1:8")
10901088   PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
10911089   PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
10921090
10931091   PORT_START("DSWB")
1094   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coinage ) )
1092   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW2:1,2,3")
10951093   PORT_DIPSETTING(    0x01, DEF_STR( 4C_1C ) )
10961094   PORT_DIPSETTING(    0x02, DEF_STR( 3C_1C ) )
10971095   PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
r5338r5339
11011099   PORT_DIPSETTING(    0x05, DEF_STR( 1C_3C ) )
11021100   PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
11031101   /* TODO: bonus scores are different for 5 lives */
1104   PORT_DIPNAME( 0x38, 0x08, "Bonus Fighter" )
1105   PORT_DIPSETTING(    0x30, "15K 50K" )
1106   PORT_DIPSETTING(    0x38, "20K 70K" )
1107   PORT_DIPSETTING(    0x08, "10K 50K 50K" )
1108   PORT_DIPSETTING(    0x10, "15K 50K 50K" )
1109   PORT_DIPSETTING(    0x18, "15K 70K 70K" )
1110   PORT_DIPSETTING(    0x20, "20K 70K 70K" )
1111   PORT_DIPSETTING(    0x28, "30K 100K 100K" )
1112   PORT_DIPSETTING(    0x00, DEF_STR( None ) )
1113   PORT_DIPNAME( 0xc0, 0x80, DEF_STR( Lives ) )
1102   PORT_DIPNAME( 0x38, 0x08, "Bonus Fighter" )      PORT_DIPLOCATION("SW2:4,5,6")
1103   PORT_DIPSETTING(    0x30, "15K and 50K Only" )      PORT_CONDITION("DSWB",0xc0,PORTCOND_NOTEQUALS,0xc0)   /* Began with 1, 2 or 3 fighters */
1104   PORT_DIPSETTING(    0x38, "20K and 70K Only" )      PORT_CONDITION("DSWB",0xc0,PORTCOND_NOTEQUALS,0xc0)
1105   PORT_DIPSETTING(    0x08, "10K, 50K, Every 50K" )   PORT_CONDITION("DSWB",0xc0,PORTCOND_NOTEQUALS,0xc0)
1106   PORT_DIPSETTING(    0x10, "15K, 50K, Every 50K" )   PORT_CONDITION("DSWB",0xc0,PORTCOND_NOTEQUALS,0xc0)
1107   PORT_DIPSETTING(    0x18, "15K, 70K, Every 70K" )   PORT_CONDITION("DSWB",0xc0,PORTCOND_NOTEQUALS,0xc0)
1108   PORT_DIPSETTING(    0x20, "20K, 70K, Every 70K" )   PORT_CONDITION("DSWB",0xc0,PORTCOND_NOTEQUALS,0xc0)
1109   PORT_DIPSETTING(    0x28, "30K, 100K, Every 100K" ) PORT_CONDITION("DSWB",0xc0,PORTCOND_NOTEQUALS,0xc0)
1110   PORT_DIPSETTING(    0x00, DEF_STR( None ) )         PORT_CONDITION("DSWB",0xc0,PORTCOND_NOTEQUALS,0xc0)
1111   PORT_DIPSETTING(    0x30, "30K, 100K, Every 100K" ) PORT_CONDITION("DSWB",0xc0,PORTCOND_EQUALS,0xc0)      /* Began with 5 fighters */
1112   PORT_DIPSETTING(    0x38, "30K, 120K, Every 120K" ) PORT_CONDITION("DSWB",0xc0,PORTCOND_EQUALS,0xc0)
1113   PORT_DIPSETTING(    0x08, "15K and 70K Only" )      PORT_CONDITION("DSWB",0xc0,PORTCOND_EQUALS,0xc0)
1114   PORT_DIPSETTING(    0x10, "20K and 70K Only" )      PORT_CONDITION("DSWB",0xc0,PORTCOND_EQUALS,0xc0)
1115   PORT_DIPSETTING(    0x18, "20K and 100K Only" )     PORT_CONDITION("DSWB",0xc0,PORTCOND_EQUALS,0xc0)
1116   PORT_DIPSETTING(    0x20, "30K and 120K Only" )     PORT_CONDITION("DSWB",0xc0,PORTCOND_EQUALS,0xc0)
1117   PORT_DIPSETTING(    0x28, "30K, 80K, Every 80K" )   PORT_CONDITION("DSWB",0xc0,PORTCOND_EQUALS,0xc0)
1118   PORT_DIPSETTING(    0x00, DEF_STR( None ) )         PORT_CONDITION("DSWB",0xc0,PORTCOND_EQUALS,0xc0)
1119   PORT_DIPNAME( 0xc0, 0x80, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:7,8")
11141120   PORT_DIPSETTING(    0x00, "1" )
11151121   PORT_DIPSETTING(    0x40, "2" )
11161122   PORT_DIPSETTING(    0x80, "3" )
r5338r5339
11211127   PORT_INCLUDE( bosco )
11221128
11231129   PORT_MODIFY("DSWA")
1124   PORT_DIPNAME( 0x01, 0x01, "2 Credits Game" )
1130   PORT_DIPNAME( 0x01, 0x01, "2 Credits Game" )      PORT_DIPLOCATION("SW1:1")
11251131   PORT_DIPSETTING(    0x00, "1 Player" )
11261132   PORT_DIPSETTING(    0x01, "2 Players" )
1127   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Difficulty ) )
1133   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:2,3")
11281134   PORT_DIPSETTING(    0x02, DEF_STR( Easy ) )
11291135   PORT_DIPSETTING(    0x06, DEF_STR( Medium ) )
11301136   PORT_DIPSETTING(    0x04, DEF_STR( Hardest ) )
11311137   PORT_DIPSETTING(    0x00, "Auto" )
1132   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Allow_Continue ) )
1138   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Allow_Continue ) )   PORT_DIPLOCATION("SW1:4")
11331139   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
11341140   PORT_DIPSETTING(    0x08, DEF_STR( Yes ) )
1135   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )
1141   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:5")
11361142   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
11371143   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1138   PORT_DIPNAME( 0x20, 0x20, "Freeze" )
1144   PORT_DIPNAME( 0x20, 0x20, "Freeze" )         PORT_DIPLOCATION("SW1:6")
11391145   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
11401146   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1141   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
1142   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
1143   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1144   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
1145   PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
1146   PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
11471147INPUT_PORTS_END
11481148
11491149
r5338r5339
11731173   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_COCKTAIL
11741174
11751175   PORT_START("DSWA")
1176   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) )
1176   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:1,2")
11771177   PORT_DIPSETTING(    0x03, DEF_STR( Easy ) )
11781178   PORT_DIPSETTING(    0x00, DEF_STR( Medium ) )
11791179   PORT_DIPSETTING(    0x01, DEF_STR( Hard ) )
11801180   PORT_DIPSETTING(    0x02, DEF_STR( Hardest ) )
1181   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
1182   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
1183   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1184   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Demo_Sounds ) )
1181   PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "SW1:3" )      /* Listed as "Unused" */
1182   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:4")
11851183   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
11861184   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1187   PORT_DIPNAME( 0x10, 0x10, "Freeze" )
1185   PORT_DIPNAME( 0x10, 0x10, "Freeze" )         PORT_DIPLOCATION("SW1:5")
11881186   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
11891187   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1190   PORT_DIPNAME( 0x20, 0x20, "Rack Test" )
1188   PORT_DIPNAME( 0x20, 0x20, "Rack Test" )         PORT_DIPLOCATION("SW1:6")
11911189   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
11921190   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1193   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
1194   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
1195   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1196   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
1191   PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW1:7" )      /* Listed as "Unused" */
1192   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW1:8")
11971193   PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
11981194   PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
11991195
12001196   PORT_START("DSWB")
1201   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coinage ) )
1197   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW2:1,2,3")
12021198   PORT_DIPSETTING(    0x04, DEF_STR( 4C_1C ) )
12031199   PORT_DIPSETTING(    0x02, DEF_STR( 3C_1C ) )
12041200   PORT_DIPSETTING(    0x06, DEF_STR( 2C_1C ) )
r5338r5339
12071203   PORT_DIPSETTING(    0x03, DEF_STR( 1C_2C ) )
12081204   PORT_DIPSETTING(    0x05, DEF_STR( 1C_3C ) )
12091205   PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
1210   /* TODO: bonus scores are different for 5 lives */
1211   PORT_DIPNAME( 0x38, 0x10, DEF_STR( Bonus_Life ) )
1212   PORT_DIPSETTING(    0x20, "20K 60K 60K" )
1213   PORT_DIPSETTING(    0x18, "20K 60K" )
1214   PORT_DIPSETTING(    0x10, "20K 70K 70K" )
1215   PORT_DIPSETTING(    0x30, "20K 80K 80K" )
1216   PORT_DIPSETTING(    0x38, "30K 80K" )
1217   PORT_DIPSETTING(    0x08, "30K 100K 100K" )
1218   PORT_DIPSETTING(    0x28, "30K 120K 120K" )
1219   PORT_DIPSETTING(    0x00, DEF_STR( None ) )
1220   PORT_DIPNAME( 0xc0, 0x80, DEF_STR( Lives ) )
1206   PORT_DIPNAME( 0x38, 0x10, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5,6")
1207   PORT_DIPSETTING(    0x20, "20K, 60K, Every 60K" )   PORT_CONDITION("DSWB",0xc0,PORTCOND_NOTEQUALS,0xc0)   /* Began with 2, 3 or 4 fighters */
1208   PORT_DIPSETTING(    0x18, "20K and 60K Only" )      PORT_CONDITION("DSWB",0xc0,PORTCOND_NOTEQUALS,0xc0)
1209   PORT_DIPSETTING(    0x10, "20K, 70K, Every 70K" )   PORT_CONDITION("DSWB",0xc0,PORTCOND_NOTEQUALS,0xc0)
1210   PORT_DIPSETTING(    0x30, "20K, 80K, Every 80K" )   PORT_CONDITION("DSWB",0xc0,PORTCOND_NOTEQUALS,0xc0)
1211   PORT_DIPSETTING(    0x38, "30K and 80K Only" )      PORT_CONDITION("DSWB",0xc0,PORTCOND_NOTEQUALS,0xc0)
1212   PORT_DIPSETTING(    0x08, "30K, 100K, Every 100K" ) PORT_CONDITION("DSWB",0xc0,PORTCOND_NOTEQUALS,0xc0)
1213   PORT_DIPSETTING(    0x28, "30K, 120K, Every 120K" ) PORT_CONDITION("DSWB",0xc0,PORTCOND_NOTEQUALS,0xc0)
1214   PORT_DIPSETTING(    0x00, DEF_STR( None ) )         PORT_CONDITION("DSWB",0xc0,PORTCOND_NOTEQUALS,0xc0)
1215   PORT_DIPSETTING(    0x20, "30K, 100K, Every 100K" ) PORT_CONDITION("DSWB",0xc0,PORTCOND_EQUALS,0xc0)      /* Began with 5 fighters */
1216   PORT_DIPSETTING(    0x18, "30K and 150K Only" )     PORT_CONDITION("DSWB",0xc0,PORTCOND_EQUALS,0xc0)
1217   PORT_DIPSETTING(    0x10, "30K, 120K, Every 120K" ) PORT_CONDITION("DSWB",0xc0,PORTCOND_EQUALS,0xc0)
1218   PORT_DIPSETTING(    0x30, "30K, 150K, Every 150K" ) PORT_CONDITION("DSWB",0xc0,PORTCOND_EQUALS,0xc0)
1219   PORT_DIPSETTING(    0x38, "30K Only" )              PORT_CONDITION("DSWB",0xc0,PORTCOND_EQUALS,0xc0)
1220   PORT_DIPSETTING(    0x08, "30K and 100K Only" )     PORT_CONDITION("DSWB",0xc0,PORTCOND_EQUALS,0xc0)
1221   PORT_DIPSETTING(    0x28, "30K and 120K Only" )     PORT_CONDITION("DSWB",0xc0,PORTCOND_EQUALS,0xc0)
1222   PORT_DIPSETTING(    0x00, DEF_STR( None ) )         PORT_CONDITION("DSWB",0xc0,PORTCOND_EQUALS,0xc0)
1223   PORT_DIPNAME( 0xc0, 0x80, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:7,8")
12211224   PORT_DIPSETTING(    0x00, "2" )
12221225   PORT_DIPSETTING(    0x80, "3" )
12231226   PORT_DIPSETTING(    0x40, "4" )
r5338r5339
12281231   PORT_INCLUDE( galaga )
12291232
12301233   PORT_MODIFY("DSWA")
1231   PORT_DIPNAME( 0x01, 0x01, "2 Credits Game" )
1234   PORT_DIPNAME( 0x01, 0x01, "2 Credits Game" )      PORT_DIPLOCATION("SW1:1")
12321235   PORT_DIPSETTING(    0x00, "1 Player" )
12331236   PORT_DIPSETTING(    0x01, "2 Players" )
1234   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Difficulty ) )
1237   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:2,3")
12351238   PORT_DIPSETTING(    0x06, DEF_STR( Easy ) )
12361239   PORT_DIPSETTING(    0x00, DEF_STR( Medium ) )
12371240   PORT_DIPSETTING(    0x02, DEF_STR( Hard ) )
12381241   PORT_DIPSETTING(    0x04, DEF_STR( Hardest ) )
1239   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Demo_Sounds ) )
1240   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
1241   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1242   PORT_DIPNAME( 0x10, 0x10, "Freeze" )
1243   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1244   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1245   PORT_DIPNAME( 0x20, 0x20, "Rack Test" )
1246   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
1247   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1248   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
1249   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
1250   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1251   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
1252   PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
1253   PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
12541242INPUT_PORTS_END
12551243
12561244/* the same as galaga but with vertical movement */
r5338r5339
12971285   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_COCKTAIL
12981286
12991287   PORT_START("DSWA")
1300   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_A ) )
1288   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_A ) )   PORT_DIPLOCATION("SW1:1,2")
13011289   PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
13021290   PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
13031291   PORT_DIPSETTING(    0x00, DEF_STR( 2C_3C ) )
13041292   PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
1305   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Bonus_Life ) )
1306   PORT_DIPSETTING(    0x18, "10K 40K 40K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_NOTEQUALS,0x00)
1307   PORT_DIPSETTING(    0x14, "10K 50K 50K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_NOTEQUALS,0x00)
1308   PORT_DIPSETTING(    0x10, "20K 50K 50K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_NOTEQUALS,0x00)
1309   PORT_DIPSETTING(    0x1c, "20K 60K 60K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_NOTEQUALS,0x00)
1310   PORT_DIPSETTING(    0x0c, "20K 70K 70K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_NOTEQUALS,0x00)
1311   PORT_DIPSETTING(    0x08, "20K 80K 80K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_NOTEQUALS,0x00)
1312   PORT_DIPSETTING(    0x04, "20K 60K" )       PORT_CONDITION("DSWA",0x60,PORTCOND_NOTEQUALS,0x00)
1313   PORT_DIPSETTING(    0x00, DEF_STR( None ) ) PORT_CONDITION("DSWA",0x60,PORTCOND_NOTEQUALS,0x00)
1314   PORT_DIPSETTING(    0x18, "10K 50K 50K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_EQUALS,0x00)
1315   PORT_DIPSETTING(    0x14, "20K 50K 50K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_EQUALS,0x00)
1316   PORT_DIPSETTING(    0x10, "20K 60K 60K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_EQUALS,0x00)
1317   PORT_DIPSETTING(    0x1c, "20K 70K 70K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_EQUALS,0x00)
1318   PORT_DIPSETTING(    0x0c, "20K 80K 80K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_EQUALS,0x00)
1319   PORT_DIPSETTING(    0x08, "30K 100K 100K" ) PORT_CONDITION("DSWA",0x60,PORTCOND_EQUALS,0x00)
1320   PORT_DIPSETTING(    0x04, "20K 80K" )       PORT_CONDITION("DSWA",0x60,PORTCOND_EQUALS,0x00)
1321   PORT_DIPSETTING(    0x00, DEF_STR( None ) ) PORT_CONDITION("DSWA",0x60,PORTCOND_EQUALS,0x00)
1322   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Lives ) )
1293   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW1:3,4,5")
1294   PORT_DIPSETTING(    0x18, "10K, 40K, Every 40K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_NOTEQUALS,0x00)
1295   PORT_DIPSETTING(    0x14, "10K, 50K, Every 50K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_NOTEQUALS,0x00)
1296   PORT_DIPSETTING(    0x10, "20K, 50K, Every 50K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_NOTEQUALS,0x00)
1297   PORT_DIPSETTING(    0x1c, "20K, 60K, Every 60K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_NOTEQUALS,0x00)
1298   PORT_DIPSETTING(    0x0c, "20K, 70K, Every 70K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_NOTEQUALS,0x00)
1299   PORT_DIPSETTING(    0x08, "20K, 80K, Every 80K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_NOTEQUALS,0x00)
1300   PORT_DIPSETTING(    0x04, "20K and 60K Only" )      PORT_CONDITION("DSWA",0x60,PORTCOND_NOTEQUALS,0x00)
1301   PORT_DIPSETTING(    0x00, DEF_STR( None ) )         PORT_CONDITION("DSWA",0x60,PORTCOND_NOTEQUALS,0x00)
1302   PORT_DIPSETTING(    0x18, "10K, 50K, Every 50K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_EQUALS,0x00)
1303   PORT_DIPSETTING(    0x14, "20K, 50K, Every 50K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_EQUALS,0x00)
1304   PORT_DIPSETTING(    0x10, "20K, 60K, Every 60K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_EQUALS,0x00)
1305   PORT_DIPSETTING(    0x1c, "20K, 70K, Every 70K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_EQUALS,0x00)
1306   PORT_DIPSETTING(    0x0c, "20K, 80K, Every 80K" )   PORT_CONDITION("DSWA",0x60,PORTCOND_EQUALS,0x00)
1307   PORT_DIPSETTING(    0x08, "30K, 100K, Every 100K" ) PORT_CONDITION("DSWA",0x60,PORTCOND_EQUALS,0x00)
1308   PORT_DIPSETTING(    0x04, "20K and 80K Only" )      PORT_CONDITION("DSWA",0x60,PORTCOND_EQUALS,0x00)
1309   PORT_DIPSETTING(    0x00, DEF_STR( None ) )         PORT_CONDITION("DSWA",0x60,PORTCOND_EQUALS,0x00)
1310   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Lives ) )   PORT_DIPLOCATION("SW1:6,7")
13231311   PORT_DIPSETTING(    0x40, "1" )
13241312   PORT_DIPSETTING(    0x20, "2" )
13251313   PORT_DIPSETTING(    0x60, "3" )
13261314   PORT_DIPSETTING(    0x00, "5" )
1327   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
1315   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )   PORT_DIPLOCATION("SW1:8")
13281316   PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
13291317   PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
13301318
13311319   PORT_START("DSWB")
13321320   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )
1333   PORT_DIPNAME( 0x02, 0x02, "Flags Award Bonus Life" )
1321   PORT_DIPNAME( 0x02, 0x02, "Flags Award Bonus Life" )   PORT_DIPLOCATION("SW2:2")
13341322   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
13351323   PORT_DIPSETTING(    0x02, DEF_STR( Yes ) )
1336   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coin_B ) )
1324   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW2:3,4")
13371325   PORT_DIPSETTING(    0x04, DEF_STR( 2C_1C ) )
13381326   PORT_DIPSETTING(    0x0c, DEF_STR( 1C_1C ) )
13391327   PORT_DIPSETTING(    0x00, DEF_STR( 2C_3C ) )
13401328   PORT_DIPSETTING(    0x08, DEF_STR( 1C_2C ) )
13411329   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL
1342   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) )
1330   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
13431331   PORT_DIPSETTING(    0x40, DEF_STR( Easy ) )
13441332   PORT_DIPSETTING(    0x60, DEF_STR( Normal ) )
13451333   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
13461334   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
1347   PORT_DIPNAME( 0x80, 0x80, "Freeze" )
1335   PORT_DIPNAME( 0x80, 0x80, "Freeze" )         PORT_DIPLOCATION("SW2:8")
13481336   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
13491337   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
13501338INPUT_PORTS_END
r5338r5339
13541342   PORT_INCLUDE( xevious )
13551343
13561344   PORT_MODIFY("DSWB")
1357   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )
1358   PORT_DIPNAME( 0x02, 0x02, "Flags Award Bonus Life" )
1359   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
1360   PORT_DIPSETTING(    0x02, DEF_STR( Yes ) )
1361   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coin_B ) )
1345   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW2:3,4")
13621346   PORT_DIPSETTING(    0x0c, DEF_STR( 1C_1C ) )
13631347   PORT_DIPSETTING(    0x08, DEF_STR( 1C_2C ) )
13641348   PORT_DIPSETTING(    0x04, DEF_STR( 1C_3C ) )
13651349   PORT_DIPSETTING(    0x00, DEF_STR( 1C_6C ) )
1366   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL
1367   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) )
1368   PORT_DIPSETTING(    0x40, DEF_STR( Easy ) )
1369   PORT_DIPSETTING(    0x60, DEF_STR( Normal ) )
1370   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
1371   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
13721350   /* when switch is on Namco, high score names are 10 letters long */
1373   PORT_DIPNAME( 0x80, 0x80, "Copyright" )
1351   PORT_DIPNAME( 0x80, 0x80, "Copyright" )         PORT_DIPLOCATION("SW2:8")
13741352   PORT_DIPSETTING(    0x00, "Namco" )
13751353   PORT_DIPSETTING(    0x80, "Atari/Namco" )
13761354INPUT_PORTS_END
r5338r5339
13801358   PORT_INCLUDE( xevious )
13811359
13821360   PORT_MODIFY("DSWB")
1383   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )
1384   PORT_DIPNAME( 0x02, 0x02, "Flags Award Bonus Life" )
1385   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
1386   PORT_DIPSETTING(    0x02, DEF_STR( Yes ) )
1387   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coin_B ) )
1388   PORT_DIPSETTING(    0x04, DEF_STR( 2C_1C ) )
1389   PORT_DIPSETTING(    0x0c, DEF_STR( 1C_1C ) )
1390   PORT_DIPSETTING(    0x00, DEF_STR( 2C_3C ) )
1391   PORT_DIPSETTING(    0x08, DEF_STR( 1C_2C ) )
1392   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL
1393   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) )
1394   PORT_DIPSETTING(    0x40, DEF_STR( Easy ) )
1395   PORT_DIPSETTING(    0x60, DEF_STR( Normal ) )
1396   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
1397   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
13981361   /* when switch is on Namco, high score names are 10 letters long */
1399   PORT_DIPNAME( 0x80, 0x80, "Copyright" )
1362   PORT_DIPNAME( 0x80, 0x80, "Copyright" )         PORT_DIPLOCATION("SW2:8")
14001363   PORT_DIPSETTING(    0x00, "Namco" )
14011364   PORT_DIPSETTING(    0x80, "Atari/Namco" )
14021365INPUT_PORTS_END
r5338r5339
14061369   PORT_INCLUDE( xevious )
14071370
14081371   PORT_MODIFY("DSWB")
1409   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )
1410   PORT_DIPNAME( 0x02, 0x02, "Flags Award Bonus Life" )
1411   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
1412   PORT_DIPSETTING(    0x02, DEF_STR( Yes ) )
1413   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coin_B ) )
1372   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW2:3,4")
14141373   PORT_DIPSETTING(    0x0c, DEF_STR( 1C_1C ) )
14151374   PORT_DIPSETTING(    0x08, DEF_STR( 1C_2C ) )
14161375   PORT_DIPSETTING(    0x04, DEF_STR( 1C_3C ) )
14171376   PORT_DIPSETTING(    0x00, DEF_STR( 1C_6C ) )
1418   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL
1419   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) )
1420   PORT_DIPSETTING(    0x40, DEF_STR( Easy ) )
1421   PORT_DIPSETTING(    0x60, DEF_STR( Normal ) )
1422   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
1423   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
1424   PORT_DIPNAME( 0x80, 0x00, "Freeze" )
1377   PORT_DIPNAME( 0x80, 0x00, "Freeze" )         PORT_DIPLOCATION("SW2:8")
14251378   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
14261379   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
14271380INPUT_PORTS_END
r5338r5339
14531406   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
14541407
14551408   PORT_START("DSWA")
1456   PORT_DIPNAME( 0x07, 0x01, DEF_STR( Coin_B ) )
1409   PORT_DIPNAME( 0x07, 0x01, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW1:1,2,3")
14571410   PORT_DIPSETTING(    0x07, DEF_STR( 3C_1C ) )
14581411   PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
14591412   PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
r5338r5339
14621415   PORT_DIPSETTING(    0x02, DEF_STR( 1C_3C ) )
14631416   PORT_DIPSETTING(    0x04, DEF_STR( 1C_6C ) )
14641417   PORT_DIPSETTING(    0x00, DEF_STR( 1C_7C ) )
1465   PORT_DIPNAME( 0x38, 0x18, DEF_STR( Bonus_Life ) )
1466   PORT_DIPSETTING(    0x20, "10K 40K 40K" )   PORT_CONDITION("DSWA",0xc0,PORTCOND_NOTEQUALS,0xc0)
1467   PORT_DIPSETTING(    0x10, "10K 50K 50K" )   PORT_CONDITION("DSWA",0xc0,PORTCOND_NOTEQUALS,0xc0)
1468   PORT_DIPSETTING(    0x30, "20K 60K 60K" )   PORT_CONDITION("DSWA",0xc0,PORTCOND_NOTEQUALS,0xc0)
1469   PORT_DIPSETTING(    0x08, "20K 70K 70K" )   PORT_CONDITION("DSWA",0xc0,PORTCOND_NOTEQUALS,0xc0)
1470   PORT_DIPSETTING(    0x28, "10K 40K" )       PORT_CONDITION("DSWA",0xc0,PORTCOND_NOTEQUALS,0xc0)
1471   PORT_DIPSETTING(    0x18, "20K 60K" )       PORT_CONDITION("DSWA",0xc0,PORTCOND_NOTEQUALS,0xc0)
1472   PORT_DIPSETTING(    0x38, "10K" )           PORT_CONDITION("DSWA",0xc0,PORTCOND_NOTEQUALS,0xc0)
1473   PORT_DIPSETTING(    0x00, DEF_STR( None ) ) PORT_CONDITION("DSWA",0xc0,PORTCOND_NOTEQUALS,0xc0)
1474   PORT_DIPSETTING(    0x20, "20K 60K 60K" )   PORT_CONDITION("DSWA",0xc0,PORTCOND_EQUALS,0xc0)
1475   PORT_DIPSETTING(    0x10, "30K 80K 80K" )   PORT_CONDITION("DSWA",0xc0,PORTCOND_EQUALS,0xc0)
1476   PORT_DIPSETTING(    0x30, "20K 50K" )       PORT_CONDITION("DSWA",0xc0,PORTCOND_EQUALS,0xc0)
1477   PORT_DIPSETTING(    0x08, "20K 60K" )       PORT_CONDITION("DSWA",0xc0,PORTCOND_EQUALS,0xc0)
1478   PORT_DIPSETTING(    0x28, "30K 70K" )       PORT_CONDITION("DSWA",0xc0,PORTCOND_EQUALS,0xc0)
1479   PORT_DIPSETTING(    0x18, "20K" )           PORT_CONDITION("DSWA",0xc0,PORTCOND_EQUALS,0xc0)
1480   PORT_DIPSETTING(    0x38, "30K" )           PORT_CONDITION("DSWA",0xc0,PORTCOND_EQUALS,0xc0)
1418   PORT_DIPNAME( 0x38, 0x18, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW1:4,5,6")
1419   PORT_DIPSETTING(    0x20, "10K, 40K, Every 40K" ) PORT_CONDITION("DSWA",0xc0,PORTCOND_NOTEQUALS,0xc0)
1420   PORT_DIPSETTING(    0x10, "10K, 50K, Every 50K" ) PORT_CONDITION("DSWA",0xc0,PORTCOND_NOTEQUALS,0xc0)
1421   PORT_DIPSETTING(    0x30, "20K, 60K, Every 60K" ) PORT_CONDITION("DSWA",0xc0,PORTCOND_NOTEQUALS,0xc0)
1422   PORT_DIPSETTING(    0x08, "20K, 70K, Every 70K" ) PORT_CONDITION("DSWA",0xc0,PORTCOND_NOTEQUALS,0xc0)
1423   PORT_DIPSETTING(    0x28, "10K and 40K Only" )    PORT_CONDITION("DSWA",0xc0,PORTCOND_NOTEQUALS,0xc0)
1424   PORT_DIPSETTING(    0x18, "20K and 60K Only" )    PORT_CONDITION("DSWA",0xc0,PORTCOND_NOTEQUALS,0xc0)
1425   PORT_DIPSETTING(    0x38, "10K Only" )            PORT_CONDITION("DSWA",0xc0,PORTCOND_NOTEQUALS,0xc0)
1426   PORT_DIPSETTING(    0x00, DEF_STR( None ) )       PORT_CONDITION("DSWA",0xc0,PORTCOND_NOTEQUALS,0xc0)
1427   PORT_DIPSETTING(    0x20, "20K, 60K, Every 60K" ) PORT_CONDITION("DSWA",0xc0,PORTCOND_EQUALS,0xc0)
1428   PORT_DIPSETTING(    0x10, "30K, 80K, Every 80K" ) PORT_CONDITION("DSWA",0xc0,PORTCOND_EQUALS,0xc0)
1429   PORT_DIPSETTING(    0x30, "20K and 50K Only" )    PORT_CONDITION("DSWA",0xc0,PORTCOND_EQUALS,0xc0)
1430   PORT_DIPSETTING(    0x08, "20K and 60K Only" )    PORT_CONDITION("DSWA",0xc0,PORTCOND_EQUALS,0xc0)
1431   PORT_DIPSETTING(    0x28, "30K and 70K Only" )    PORT_CONDITION("DSWA",0xc0,PORTCOND_EQUALS,0xc0)
1432   PORT_DIPSETTING(    0x18, "20K Only" )            PORT_CONDITION("DSWA",0xc0,PORTCOND_EQUALS,0xc0)
1433   PORT_DIPSETTING(    0x38, "30K Only" )            PORT_CONDITION("DSWA",0xc0,PORTCOND_EQUALS,0xc0)
14811434   PORT_DIPSETTING(    0x00, DEF_STR( None ) ) PORT_CONDITION("DSWA",0xc0,PORTCOND_EQUALS,0xc0)
1482   PORT_DIPNAME( 0xc0, 0x80, DEF_STR( Lives ) )
1435   PORT_DIPNAME( 0xc0, 0x80, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:7,8")
14831436   PORT_DIPSETTING(    0x00, "1" )
14841437   PORT_DIPSETTING(    0x40, "2" )
14851438   PORT_DIPSETTING(    0x80, "3" )
r5338r5339
14891442   PORT_BIT( 0x0f, 0x00, IPT_SPECIAL ) PORT_CUSTOM(shifted_port_r, "DSWA")
14901443
14911444   PORT_START("DSWB")
1492   PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_A ) )
1445   PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW2:1,2")
14931446   PORT_DIPSETTING(    0x40, DEF_STR( 2C_1C ) )
14941447   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
14951448   PORT_DIPSETTING(    0xc0, DEF_STR( 2C_3C ) )
14961449   PORT_DIPSETTING(    0x80, DEF_STR( 1C_2C ) )
1497   PORT_DIPNAME( 0x20, 0x20, "Freeze" )
1450   PORT_DIPNAME( 0x20, 0x20, "Freeze" )         PORT_DIPLOCATION("SW2:3")
14981451   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
14991452   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1500   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )
1453   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:4")
15011454   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
15021455   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1503   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Allow_Continue ) )
1456   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Allow_Continue ) )   PORT_DIPLOCATION("SW2:5")
15041457   PORT_DIPSETTING(    0x08, DEF_STR( No ) )
15051458   PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
1506   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Cabinet ) )
1459   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:6")
15071460   PORT_DIPSETTING(    0x04, DEF_STR( Upright ) )
15081461   PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
1509   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Difficulty ) )
1462   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:7,8")
15101463   PORT_DIPSETTING(    0x00, DEF_STR( Easy ) )
15111464   PORT_DIPSETTING(    0x02, DEF_STR( Medium ) )
15121465   PORT_DIPSETTING(    0x01, DEF_STR( Hard ) )
src/mame/drivers/good.c
r5338r5339
299299   ROM_LOAD16_BYTE( "grp-04", 0x40001, 0x20000, CRC(83dbbb52) SHA1(e597f3cbb54b5cdf2230ea6318f970319061e31b) )
300300ROM_END
301301
302GAME( 1998, good,0,good,good,0, ROT0,  "unknown", "Good (Korea)", 0 )
302GAME( 1998, good,0,good,good,0, ROT0,  "<unknown>", "Good (Korea)", 0 )
src/mame/drivers/8080bw.c
r5338r5339
18831883   ROM_LOAD( "earthinv.e",   0x1800, 0x0800, CRC(df397b12) SHA1(e7e8c080cb6baf342ec637532e05d38129ae73cf) )
18841884ROM_END
18851885
1886ROM_START( searthia )
1886ROM_START( searthina )
18871887   ROM_REGION( 0x10000, "maincpu", 0 )
18881888   ROM_LOAD( "unkh.h1",   0x0000, 0x0400, CRC(272b9bf3) SHA1(dd57d6a88d42024a39640931114107b547b4c520) )
18891889   ROM_LOAD( "unkg.g1",   0x0400, 0x0400, CRC(61bb6101) SHA1(8fc8bbd8ac93d239e0cf0e4881f709860ec2c973) )
r5338r5339
20662066   ROM_LOAD( "3306.u7",      0x1400, 0x1000, CRC(0df142a7) SHA1(2f1c32d6fe7eafb7808fef0bdeb69b4909427417) )
20672067ROM_END
20682068
2069ROM_START( jspectr2 )
2069ROM_START( jspecter2 )
20702070   ROM_REGION( 0x10000, "maincpu", 0 )
20712071   ROM_LOAD( "unksi.b2",     0x0000, 0x1000, CRC(0584b6c4) SHA1(c130021b878bde2beda4a189f71bbfed61088535) )
20722072   ROM_LOAD( "unksi.a2",     0x1400, 0x1000, CRC(58095955) SHA1(545df3bb9ee4ff09f491d7a4b704e31aa311a8d7) )
r5338r5339
21202120   ROM_LOAD( "invrvnge.e",   0x1800, 0x0800, CRC(1ec8dfc8) SHA1(fc8fbe1161958f57c9f4ccbcab8a769184b1c562) )
21212121ROM_END
21222122
2123ROM_START( invrvnga )
2123ROM_START( invrvngea )
21242124   ROM_REGION( 0x10000, "maincpu", 0 )
21252125   ROM_LOAD( "5m.bin",       0x0000, 0x0800, CRC(b145cb71) SHA1(127eb11de7ab9835f06510fb12838c0b728c0d42) )
21262126   ROM_LOAD( "5n.bin",       0x0800, 0x0800, CRC(660e8af3) SHA1(bd52eadf4ee3d717fd5bd7206e1e87d729250c92) )
r5338r5339
21742174   ROM_LOAD( "univgw2.5",    0x4400, 0x0400, CRC(6036d7bf) SHA1(36c2ad2ffdb47bbecc40fd67ced6ab51a5cd2f3e) )
21752175ROM_END
21762176
2177ROM_START( galxwar2 )
2177ROM_START( galxwars2 )
21782178   ROM_REGION( 0x10000, "maincpu", 0 )
21792179   ROM_LOAD( "3192.h6",      0x0000, 0x1000, CRC(bde6860b) SHA1(e04b8add32d8f7ea588fae6d6a387f1d40495f1b) )
21802180   ROM_LOAD( "3193.h7",      0x4000, 0x1000, CRC(a17cd507) SHA1(554ab0e8bdc0e7af4a30b0ddc8aa053c8e70255c) ) /* 2nd half unused */
21812181ROM_END
21822182
2183ROM_START( galxwart )
2183ROM_START( galxwarst )
21842184   ROM_REGION( 0x10000, "maincpu", 0 )
21852185   ROM_LOAD( "galxwars.0",   0x0000, 0x0400, CRC(608bfe7f) SHA1(a41a40a2f0a1bb61a70b9ff8a7da925ab1db7f74) )
21862186   ROM_LOAD( "galxwars.1",   0x0400, 0x0400, CRC(a810b258) SHA1(030a72fffcf240f643bc3006028cb4883cf58bbc) )
r5338r5339
24582458   ROM_LOAD( "taitofr.001",        0xf800, 0x800, CRC(55d688c6) SHA1(574a3a2ca73cabb4b8f3444aa4464e6d64daa3ad) )
24592459ROM_END
24602460
2461ROM_START( schasrcv )
2461ROM_START( schasercv )
24622462   ROM_REGION( 0x10000, "maincpu", 0 )
24632463   ROM_LOAD( "1",             0x0000, 0x0400, CRC(bec2b16b) SHA1(c62210ecb64d7c38e5b63481d7fe04eb59bb1068) )
24642464   ROM_LOAD( "2",             0x0400, 0x0400, CRC(9d25e608) SHA1(4cc52a93a3ab96a0ec1d07593e17832fa59b30a1) )
r5338r5339
25442544   ROM_LOAD( "mw06",         0x4800, 0x0800, CRC(99ca2eae) SHA1(8d0f220f68043eff0c85d2de7bee7fd4365fb51c) )
25452545ROM_END
25462546
2547ROM_START( ozmawar2 )
2547ROM_START( ozmawars2 )
25482548   ROM_REGION( 0x10000, "maincpu", 0 )
25492549   ROM_LOAD( "mw01",         0x0000, 0x0800, CRC(31f4397d) SHA1(bba9765aadd608d19e2515a5edf8e0eceb70916a) )
25502550   ROM_LOAD( "mw02",         0x0800, 0x0800, CRC(d8e77c62) SHA1(84fc81cf9a924ecbb13a008cd7435b7d465bddf6) )
r5338r5339
26102610   ROM_LOAD( "yd7.bin",      0x1c00, 0x0400, CRC(2744e68b) SHA1(5ad5a7a615d36f57b6d560425e035c15e25e9005) )
26112611ROM_END
26122612
2613ROM_START( yosakdoa )
2613ROM_START( yosakdona )
26142614   ROM_REGION( 0x10000, "maincpu", 0 )
26152615   ROM_LOAD( "yosaku1",      0x0000, 0x0400, CRC(d132f4f0) SHA1(373c7ea1bd6debcb3dad5881793b8c31dc7a01e6) )
26162616   ROM_LOAD( "yd2.bin",      0x0400, 0x0400, CRC(78336df4) SHA1(b0b6254568d191d2d0b9c9280a3ccf2417ef3f38) )
r5338r5339
26942694GAME( 1978, sisv,     invaders, invadpt2, sicv,     0, ROT270, "Taito", "Space Invaders (SV Version)", GAME_SUPPORTS_SAVE )
26952695GAME( 1978, sisv2,    invaders, invadpt2, sicv,     0, ROT270, "Taito", "Space Invaders (SV Version 2)", GAME_SUPPORTS_SAVE )
26962696GAMEL(1979, galxwars, 0,        invaders, galxwars, 0, ROT270, "Universal", "Galaxy Wars (Universal set 1)", GAME_SUPPORTS_SAVE, layout_invaders )
2697GAMEL(1979, galxwar2, galxwars, invaders, galxwars, 0, ROT270, "Universal", "Galaxy Wars (Universal set 2)", GAME_SUPPORTS_SAVE, layout_invaders )
2698GAMEL(1979, galxwart, galxwars, invaders, galxwars, 0, ROT270, "Taito?", "Galaxy Wars (Taito?)" , GAME_SUPPORTS_SAVE, layout_invaders) /* Copyright Not Displayed */
2697GAMEL(1979, galxwars2,galxwars, invaders, galxwars, 0, ROT270, "Universal", "Galaxy Wars (Universal set 2)", GAME_SUPPORTS_SAVE, layout_invaders )
2698GAMEL(1979, galxwarst,galxwars, invaders, galxwars, 0, ROT270, "Taito?", "Galaxy Wars (Taito?)" , GAME_SUPPORTS_SAVE, layout_invaders) /* Copyright Not Displayed */
26992699GAMEL(1979, starw,    galxwars, invaders, galxwars, 0, ROT270, "bootleg", "Star Wars", GAME_SUPPORTS_SAVE, layout_invaders )
27002700GAME( 1979, lrescue,  0,        lrescue,  lrescue,  0, ROT270, "Taito", "Lunar Rescue", GAME_SUPPORTS_SAVE )
27012701GAME( 1980, mlander,  lrescue,  invaders, lrescue,  0, ROT270, "[Taito] (Leisure Time Electronics bootleg)", "Moon Lander (bootleg of Lunar Rescue)", GAME_SUPPORTS_SAVE )
r5338r5339
27062706GAME( 1980, invaddlx, invadpt2, invaders, invadpt2, 0, ROT270, "Midway", "Space Invaders Deluxe", GAME_SUPPORTS_SAVE )
27072707GAME( 1979, cosmo,    0,        cosmo,    cosmo,    0, ROT90,  "TDS & Mints", "Cosmo", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND )
27082708GAME( 1979, schaser,  0,        schaser,  schaser,  0, ROT270, "Taito", "Space Chaser", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_COLORS )
2709GAME( 1979, schasrcv, schaser,  schasrcv, schasrcv, 0, ROT270, "Taito", "Space Chaser (CV version)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_COLORS )
2709GAME( 1979, schasercv,schaser,  schasrcv, schasrcv, 0, ROT270, "Taito", "Space Chaser (CV version)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_COLORS )
27102710GAME( 1979, sflush,   0,        sflush,   sflush,   0, ROT270, "Taito", "Straight Flush",GAME_SUPPORTS_SAVE | GAME_NO_SOUND | GAME_IMPERFECT_COLORS | GAME_NO_COCKTAIL)
27112711GAME( 1980, lupin3,   0,        lupin3,   lupin3,   0, ROT270, "Taito", "Lupin III (set 1)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND )
27122712GAME( 1980, lupin3a,  lupin3,   lupin3a,  lupin3a,  0, ROT270, "Taito", "Lupin III (set 2)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND )
r5338r5339
27192719/* Misc. manufacturers */
27202720
27212721GAMEL(1980, searthin, invaders, invaders, searthin, 0, ROT270, "bootleg", "Super Earth Invasion (set 1)", GAME_SUPPORTS_SAVE, layout_invaders )
2722GAMEL(1980, searthia, invaders, invaders, searthin, 0, ROT270, "bootleg", "Super Earth Invasion (set 2)", GAME_SUPPORTS_SAVE, layout_invaders )
2722GAMEL(1980, searthina,invaders, invaders, searthin, 0, ROT270, "bootleg", "Super Earth Invasion (set 2)", GAME_SUPPORTS_SAVE, layout_invaders )
27232723GAMEL(1978, invadrmr, invaders, invaders, invadrmr, 0, ROT270, "Model Racing", "Space Invaders (Model Racing)", GAME_SUPPORTS_SAVE, layout_invaders )
27242724GAMEL(1978, spaceatt, invaders, invaders, sicv,     0, ROT270, "Video Games GMBH", "Space Attack", GAME_SUPPORTS_SAVE, layout_invaders )
27252725GAMEL(1980, spaceat2, invaders, invaders, spaceatt, 0, ROT270, "Zenitone-Microsec Ltd", "Space Attack II", GAME_SUPPORTS_SAVE, layout_invaders )
r5338r5339
27342734GAMEL(1978, invaderl, invaders, invaders, sicv,     0, ROT270, "Logitec", "Space Invaders (Logitec)", GAME_SUPPORTS_SAVE, layout_invaders )
27352735GAMEL(1978, invader4, invaders, invaders, sicv,     0, ROT270, "bootleg", "Space Invaders Part Four", GAME_SUPPORTS_SAVE, layout_invaders )
27362736GAMEL(1979, jspecter, invaders, invaders, jspecter, 0, ROT270, "Jatre", "Jatre Specter (set 1)", GAME_SUPPORTS_SAVE, layout_invaders )
2737GAMEL(1979, jspectr2, invaders, invaders, jspecter, 0, ROT270, "Jatre", "Jatre Specter (set 2)", GAME_SUPPORTS_SAVE, layout_invaders )
2737GAMEL(1979, jspecter2,invaders, invaders, jspecter, 0, ROT270, "Jatre", "Jatre Specter (set 2)", GAME_SUPPORTS_SAVE, layout_invaders )
27382738GAMEL(1979, cosmicmo, invaders, invaders, cosmicmo, 0, ROT270, "Universal", "Cosmic Monsters", GAME_SUPPORTS_SAVE, layout_invaders )
27392739GAMEL(1979, cosmicm2, invaders, invaders, cosmicmo, 0, ROT270, "Universal", "Cosmic Monsters 2", GAME_SUPPORTS_SAVE, layout_invaders )
27402740GAMEL(19??, superinv, invaders, invaders, superinv, 0, ROT270, "bootleg", "Super Invaders", GAME_SUPPORTS_SAVE, layout_invaders )
r5338r5339
27422742GAME( 19??, darthvdr, invaders, darthvdr, darthvdr, 0, ROT270, "bootleg", "Darth Vader", GAME_SUPPORTS_SAVE | GAME_NO_SOUND )
27432743GAME( 1979, moonbase, invadpt2, invadpt2, invadpt2, 0, ROT270, "Nichibutsu", "Moon Base", GAME_SUPPORTS_SAVE )
27442744GAMEL(19??, invrvnge, 0,        invrvnge, invrvnge, 0, ROT270, "Zenitone-Microsec Ltd.", "Invader's Revenge",  GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND, layout_invrvnge )
2745GAMEL(19??, invrvnga, invrvnge, invrvnge, invrvnge, 0, ROT270, "Zenitone-Microsec Ltd. (Dutchford license)", "Invader's Revenge (Dutchford)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND, layout_invrvnge )
2745GAMEL(19??, invrvngea,invrvnge, invrvnge, invrvnge, 0, ROT270, "Zenitone-Microsec Ltd. (Dutchford license)", "Invader's Revenge (Dutchford)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND, layout_invrvnge )
27462746GAME( 1980, spclaser, 0,        invaders, spclaser, 0, ROT270, "Taito", "Space Laser", GAME_SUPPORTS_SAVE )
27472747GAME( 1980, intruder, spclaser, invadpt2, spclaser, 0, ROT270, "GamePlan (Taito)", "Intruder", GAME_SUPPORTS_SAVE )
27482748GAME( 1980, laser,    spclaser, invaders, spclaser, 0, ROT270, "Leisure Time Electronics Inc.", "Astro Laser", GAME_SUPPORTS_SAVE )
27492749GAME( 1979, spcewarl, spclaser, invaders, spclaser, 0, ROT270, "Leijac Corporation (Konami)","Space War (Leijac Corporation)", GAME_SUPPORTS_SAVE )
27502750GAME( 1979, rollingc, 0,        rollingc, rollingc, 0, ROT270, "Nichibutsu", "Rolling Crash / Moon Base", GAME_SUPPORTS_SAVE )
27512751GAME( 1979, ozmawars, 0,        invaders, ozmawars, 0, ROT270, "SNK", "Ozma Wars (set 1)", GAME_SUPPORTS_SAVE )
2752GAME( 1979, ozmawar2, ozmawars, invaders, ozmawars, 0, ROT270, "SNK", "Ozma Wars (set 2)", GAME_SUPPORTS_SAVE ) /* Uses Taito's three board color version of Space Invaders PCB */
2752GAME( 1979, ozmawars2,ozmawars, invaders, ozmawars, 0, ROT270, "SNK", "Ozma Wars (set 2)", GAME_SUPPORTS_SAVE ) /* Uses Taito's three board color version of Space Invaders PCB */
27532753GAME( 1979, solfight, ozmawars, invaders, ozmawars, 0, ROT270, "bootleg", "Solar Fight", GAME_SUPPORTS_SAVE )
27542754GAME( 1979, spaceph,  ozmawars, invaders, spaceph,  0, ROT270, "Zilec Games", "Space Phantoms", GAME_SUPPORTS_SAVE )
27552755GAME( 1979, yosakdon, 0,        yosakdon, yosakdon, 0, ROT270, "Wing", "Yosaku To Donbei (set 1)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) /* bootleg? */
2756GAME( 1979, yosakdoa, yosakdon, yosakdon, yosakdon, 0, ROT270, "Wing", "Yosaku To Donbei (set 2)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) /* bootleg? */
2756GAME( 1979, yosakdona,yosakdon, yosakdon, yosakdon, 0, ROT270, "Wing", "Yosaku To Donbei (set 2)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) /* bootleg? */
27572757GAMEL(1979, shuttlei, 0,        shuttlei, shuttlei, 0, ROT270, "Omori", "Shuttle Invader", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL, layout_shuttlei )
27582758
src/mame/drivers/othunder.c
r5338r5339
784784   ROM_LOAD( "pal20l8b-b67-10.ic33",  0x0600, 0x0144, CRC(4ced09c7) SHA1(519e6152cc5e4cb3ec24c4dc09101dddf22988aa) )
785785ROM_END
786786
787ROM_START( othundu )
787ROM_START( othunderu )
788788   ROM_REGION( 0x80000, "maincpu", 0 )   /* 512K for 68000 code */
789789   ROM_LOAD16_BYTE( "b67-20-1.63", 0x00000, 0x20000, CRC(851a453b) SHA1(48b8c379e78cd79463f1e24dc23816a97cf819b8) )
790790   ROM_LOAD16_BYTE( "b67-22-1.64", 0x00001, 0x20000, CRC(19480dc0) SHA1(8bbc982c89f0878e7639330970df5aa93ecbb083) )
r5338r5339
820820   ROM_LOAD( "pal20l8b-b67-10.ic33",  0x0600, 0x0144, CRC(4ced09c7) SHA1(519e6152cc5e4cb3ec24c4dc09101dddf22988aa) )
821821ROM_END
822822
823ROM_START( othunduo )
823ROM_START( othunderuo )
824824   ROM_REGION( 0x80000, "maincpu", 0 )   /* 512K for 68000 code */
825825   ROM_LOAD16_BYTE( "b67-20.63",   0x00000, 0x20000, CRC(21439ea2) SHA1(d5b5a194e9698cf43513c0d56146772e8132ab07) )
826826   ROM_LOAD16_BYTE( "b67-22.64",   0x00001, 0x20000, CRC(0f99ad3c) SHA1(dd6c9e822470ca867ec01e642443a871e879bae5) )
r5338r5339
856856   ROM_LOAD( "pal20l8b-b67-10.ic33",  0x0600, 0x0144, CRC(4ced09c7) SHA1(519e6152cc5e4cb3ec24c4dc09101dddf22988aa) )
857857ROM_END
858858
859ROM_START( othundrj )
859ROM_START( othunderj )
860860   ROM_REGION( 0x80000, "maincpu", 0 )   /* 512K for 68000 code */
861861   ROM_LOAD16_BYTE( "b67-20.63",   0x00000, 0x20000, CRC(21439ea2) SHA1(d5b5a194e9698cf43513c0d56146772e8132ab07) )
862862   ROM_LOAD16_BYTE( "b67-21.64",   0x00001, 0x20000, CRC(9690fc86) SHA1(4e695554fc9cc91c5f8cff95dc290333bb56d571) )
r5338r5339
894894
895895
896896
897GAME( 1988, othunder, 0,        othunder, othunder, 0, ORIENTATION_FLIP_X, "Taito Corporation Japan", "Operation Thunderbolt (World)", 0 )
898GAME( 1988, othundu,  othunder, othunder, othundu,  0, ORIENTATION_FLIP_X, "Taito America Corporation", "Operation Thunderbolt (US)", 0 )
899GAME( 1988, othunduo, othunder, othunder, othundu,  0, ORIENTATION_FLIP_X, "Taito America Corporation", "Operation Thunderbolt (US, older)", 0 )
900GAME( 1988, othundrj, othunder, othunder, othundrj, 0, ORIENTATION_FLIP_X, "Taito Corporation", "Operation Thunderbolt (Japan)", 0 )
897GAME( 1988, othunder,   0,        othunder, othunder, 0, ORIENTATION_FLIP_X, "Taito Corporation Japan", "Operation Thunderbolt (World)", 0 )
898GAME( 1988, othunderu,  othunder, othunder, othundu,  0, ORIENTATION_FLIP_X, "Taito America Corporation", "Operation Thunderbolt (US)", 0 )
899GAME( 1988, othunderuo, othunder, othunder, othundu,  0, ORIENTATION_FLIP_X, "Taito America Corporation", "Operation Thunderbolt (US, older)", 0 )
900GAME( 1988, othunderj,  othunder, othunder, othundrj, 0, ORIENTATION_FLIP_X, "Taito Corporation", "Operation Thunderbolt (Japan)", 0 )
src/mame/drivers/psikyo4.c
r5338r5339
944944   ROM_LOAD( "snd0.u10", 0x000000, 0x800000, CRC(2da3788f) SHA1(199d4d750a107cbdf8c16cd5b097171743769d9c) ) // Fails hidden rom test (banking problem?)
945945ROM_END
946946
947ROM_START( loderdfa )
947ROM_START( loderndfa )
948948   ROM_REGION( 0x100000, "maincpu", 0)
949949   ROM_LOAD32_WORD_SWAP( "12.u23", 0x000002, 0x080000, CRC(661d372e) SHA1(c509c3ad9ca01e0f58bfc319b2738ecc36865ffd) )
950950   ROM_LOAD32_WORD_SWAP( "3.u22", 0x000000, 0x080000, CRC(0a63529f) SHA1(05dd7877041b69d46e41c5bddb877c083620294b) )
r5338r5339
10811081GAME( 2000, hotgm4ev, 0,        ps4big,    hotgmck,  hotgmck,  ROT0,   "Psikyo", "Taisen Hot Gimmick 4 Ever (Japan)", 0 )
10821082GAME( 2001, hotgmcki, 0,        ps4big,    hotgmck,  hotgmck,  ROT0,   "Psikyo", "Mahjong Hot Gimmick Integral (Japan)", 0 )
10831083GAME( 2000, loderndf, 0,        ps4small,  loderndf, loderndf, ROT0,   "Psikyo", "Lode Runner - The Dig Fight (ver. B)", 0 )
1084GAME( 2000, loderdfa, loderndf, ps4small,  loderndf, loderdfa, ROT0,   "Psikyo", "Lode Runner - The Dig Fight (ver. A)", 0 )
1084GAME( 2000, loderndfa,loderndf, ps4small,  loderndf, loderdfa, ROT0,   "Psikyo", "Lode Runner - The Dig Fight (ver. A)", 0 )
10851085GAME( 2000, hotdebut, 0,        ps4small,  hotdebut, hotdebut, ROT0,   "Psikyo / Moss", "Quiz de Idol! Hot Debut (Japan)", 0 )
src/mame/drivers/sidearms.c
r5338r5339
845845   ROM_LOAD( "63s081.3j",    0x0300, 0x0020, CRC(c5817816) SHA1(cc642daafa0bcb160ee04e74e2d168fd44087608) )   // unknown
846846ROM_END
847847
848ROM_START( sidearmr )
848ROM_START( sidearmsr )
849849   ROM_REGION( 0x20000, "maincpu", 0 )     /* 64k for code + banked ROMs images */
850850   ROM_LOAD( "03",           0x00000, 0x08000, CRC(9a799c45) SHA1(cf6836108506929ee2449546a4867a7cbf00bcc8) )        /* CODE */
851851   ROM_LOAD( "a_14e.rom",    0x10000, 0x08000, CRC(4925ed03) SHA1(b11dbd9889db89cff008ca21beb6b1b70d983e16) )        /* 0+1 */
r5338r5339
890890   ROM_LOAD( "63s081.3j",    0x0300, 0x0020, CRC(c5817816) SHA1(cc642daafa0bcb160ee04e74e2d168fd44087608) )   // unknown
891891ROM_END
892892
893ROM_START( sidearjp )
893ROM_START( sidearmsj )
894894   ROM_REGION( 0x20000, "maincpu", 0 )     /* 64k for code + banked ROMs images */
895895   ROM_LOAD( "a_15e.rom",    0x00000, 0x08000, CRC(61ceb0cc) SHA1(bacf28e5e02b90a9d404c3ade0267e0a7cd73cd8) )        /* CODE */
896896   ROM_LOAD( "a_14e.rom",    0x10000, 0x08000, CRC(4925ed03) SHA1(b11dbd9889db89cff008ca21beb6b1b70d983e16) )        /* 0+1 */
r5338r5339
968968   ROM_LOAD( "t-16.9f",   0x00000, 0x08000, CRC(1a5a45d7) SHA1(51ceeae938fbda207c3f8ce65593d271dc8c4a41) )
969969ROM_END
970970
971ROM_START( turtshij )
971ROM_START( turtshipj )
972972   ROM_REGION( 0x20000, "maincpu", 0 )     /* 64k for code + banked ROMs images */
973973   ROM_LOAD( "t-3.5g",    0x00000, 0x08000, CRC(0863fc1c) SHA1(b583e06e05e466c2344a4a420a47227c9ab8705c) )
974974   ROM_LOAD( "t-2.3g",    0x10000, 0x08000, CRC(2327b35a) SHA1(bf7b5e11c3f75aff7d09c0fc4ad61fb4bcb38100) )
r5338r5339
10011001   ROM_LOAD( "t-16.9f",   0x00000, 0x08000, CRC(1a5a45d7) SHA1(51ceeae938fbda207c3f8ce65593d271dc8c4a41) )
10021002ROM_END
10031003
1004ROM_START( turtshik )
1004ROM_START( turtshipk )
10051005   ROM_REGION( 0x20000, "maincpu", 0 )     /* 64k for code + banked ROMs images */
10061006   ROM_LOAD( "turtship.003",  0x00000, 0x08000, CRC(e7a7fc2e) SHA1(1a9147e82a5e56e8e5b68bbce144f96261e88669) )
10071007   ROM_LOAD( "turtship.002",  0x10000, 0x08000, CRC(e576f482) SHA1(3be3792cb437bff0345681a3a2fdefefa3439357) )
r5338r5339
11691169static DRIVER_INIT( whizz    ) { sidearms_gameid = 3; }
11701170
11711171GAME( 1986, sidearms, 0,        sidearms, sidearms, sidearms, ROT0,   "Capcom", "Side Arms - Hyper Dyne (World)", GAME_IMPERFECT_GRAPHICS )
1172GAME( 1986, sidearmr, sidearms, sidearms, sidearms, sidearms, ROT0,   "Capcom (Romstar license)", "Side Arms - Hyper Dyne (US)", GAME_IMPERFECT_GRAPHICS )
1173GAME( 1986, sidearjp, sidearms, sidearms, sidearms, sidearms, ROT0,   "Capcom", "Side Arms - Hyper Dyne (Japan)", GAME_IMPERFECT_GRAPHICS )
1172GAME( 1986, sidearmsr,sidearms, sidearms, sidearms, sidearms, ROT0,   "Capcom (Romstar license)", "Side Arms - Hyper Dyne (US)", GAME_IMPERFECT_GRAPHICS )
1173GAME( 1986, sidearmsj,sidearms, sidearms, sidearms, sidearms, ROT0,   "Capcom", "Side Arms - Hyper Dyne (Japan)", GAME_IMPERFECT_GRAPHICS )
11741174GAME( 1988, turtship, 0,        turtship, turtship, turtship, ROT0,   "Philko (Sharp Image license)", "Turtle Ship (North America)", 0 )
1175GAME( 1988, turtshij, turtship, turtship, turtship, turtship, ROT0,   "Philko (Pacific Games license)", "Turtle Ship (Japan)", 0 )
1176GAME( 1988, turtshik, turtship, turtship, turtship, turtship, ROT0,   "Philko", "Turtle Ship (Korea)", 0 )
1175GAME( 1988, turtshipj,turtship, turtship, turtship, turtship, ROT0,   "Philko (Pacific Games license)", "Turtle Ship (Japan)", 0 )
1176GAME( 1988, turtshipk,turtship, turtship, turtship, turtship, ROT0,   "Philko", "Turtle Ship (Korea)", 0 )
11771177GAME( 1989, dyger,    0,        turtship, dyger,    dyger,    ROT270, "Philko", "Dyger (Korea set 1)", 0 )
11781178GAME( 1989, dygera,   dyger,    turtship, dyger,    dyger,    ROT270, "Philko", "Dyger (Korea set 2)", 0 )
11791179GAME( 1989, twinfalc, 0,        whizz,    whizz,    whizz,    ROT0,   "Philko (Poara Enterprises license)", "Twin Falcons", 0 )
src/mame/drivers/taito_x.c
r5338r5339
501501   AM_RANGE(0xf200, 0xf200) AM_WRITE(sound_bankswitch_w)
502502ADDRESS_MAP_END
503503
504static ADDRESS_MAP_START( ballbros_sound_map, ADDRESS_SPACE_PROGRAM, 8 )
505   AM_RANGE(0x0000, 0x3fff) AM_ROM
506   AM_RANGE(0x4000, 0x7fff) AM_ROMBANK(2)
507   AM_RANGE(0xc000, 0xdfff) AM_RAM
508   AM_RANGE(0xe000, 0xe003) AM_DEVREADWRITE("ym", ym2610_r, ym2610_w)
509   AM_RANGE(0xe200, 0xe200) AM_READNOP AM_WRITE(taitosound_slave_port_w)
510   AM_RANGE(0xe201, 0xe201) AM_READWRITE(taitosound_slave_comm_r, taitosound_slave_comm_w)
511   AM_RANGE(0xe400, 0xe403) AM_WRITENOP /* pan */
512   AM_RANGE(0xea00, 0xea00) AM_READNOP
513   AM_RANGE(0xee00, 0xee00) AM_WRITENOP /* ? */
514   AM_RANGE(0xf000, 0xf000) AM_WRITENOP /* ? */
515   AM_RANGE(0xf200, 0xf200) AM_WRITE(sound_bankswitch_w) /* bankswitch ? */
516ADDRESS_MAP_END
517504
518
519505/**************************************************************************/
520506
521507static INPUT_PORTS_START( taitox_generic )
r5338r5339
998984   MDRV_CPU_VBLANK_INT("screen", irq2_line_hold)
999985
1000986   MDRV_CPU_ADD("audiocpu", Z80, 4000000)   /* 4 MHz ??? */
1001   MDRV_CPU_PROGRAM_MAP(ballbros_sound_map)
987   MDRV_CPU_PROGRAM_MAP(sound_map)
1002988
1003989   MDRV_QUANTUM_TIME(HZ(600))   /* 10 CPU slices per frame - enough for the sound CPU to read all commands */
1004990
r5338r5339
10371023   MDRV_CPU_VBLANK_INT("screen", irq2_line_hold)
10381024
10391025   MDRV_CPU_ADD("audiocpu", Z80, 4000000)   /* 4 MHz ??? */
1040   MDRV_CPU_PROGRAM_MAP(ballbros_sound_map)
1026   MDRV_CPU_PROGRAM_MAP(sound_map)
10411027
10421028   MDRV_QUANTUM_TIME(HZ(600))   /* 10 CPU slices per frame - enough for the sound CPU to read all commands */
10431029
r5338r5339
12241210   ROM_LOAD( "east_9.3j", 0x100000, 0x80000, CRC(5c5e6898) SHA1(f348ac752a571902c55f36e21aa3fb9ef97528e3) ) /* Plane 2, 3 */
12251211   ROM_LOAD( "east_6.3k", 0x180000, 0x80000, CRC(52db30e9) SHA1(0b6d73f2c6e6c1ad5fcb2a9edf50069cd0691483) )
12261212
1227   ROM_REGION( 0x80000, "ym.deltat", 0 )   /* ADPCM samples */
1213   ROM_REGION( 0x80000, "ym.deltat", 0 )      /* Delta-T samples */
12281214   ROM_LOAD( "east-11.16f", 0x00000, 0x80000, CRC(92111f96) SHA1(e781f24761b7a923388f4cda64c7b31388fd64c5) )
12291215
1230   ROM_REGION( 0x80000, "ym", 0 )   /* Delta-T samples */
1216   ROM_REGION( 0x80000, "ym", 0 )   /* ADPCM samples */
12311217   ROM_LOAD( "east-10.16e", 0x00000, 0x80000, CRC(ca0ac419) SHA1(b29f30a8ff1286c65b741353b6551918a45bcafe) )
12321218ROM_END
12331219
r5338r5339
12481234   ROM_LOAD( "east_9.3j", 0x100000, 0x80000, CRC(5c5e6898) SHA1(f348ac752a571902c55f36e21aa3fb9ef97528e3) ) /* Plane 2, 3 */
12491235   ROM_LOAD( "east_6.3k", 0x180000, 0x80000, CRC(52db30e9) SHA1(0b6d73f2c6e6c1ad5fcb2a9edf50069cd0691483) )
12501236
1251   ROM_REGION( 0x80000, "ym.deltat", 0 )   /* ADPCM samples */
1237   ROM_REGION( 0x80000, "ym.deltat", 0 )   /* Delta-T samples */
12521238   ROM_LOAD( "east-11.16f", 0x00000, 0x80000, CRC(92111f96) SHA1(e781f24761b7a923388f4cda64c7b31388fd64c5) )
12531239
1254   ROM_REGION( 0x80000, "ym", 0 )   /* Delta-T samples */
1240   ROM_REGION( 0x80000, "ym", 0 )   /* ADPCM samples */
12551241   ROM_LOAD( "east-10.16e", 0x00000, 0x80000, CRC(ca0ac419) SHA1(b29f30a8ff1286c65b741353b6551918a45bcafe) )
12561242ROM_END
12571243
r5338r5339
12701256   ROM_LOAD( "m-8-1.u5",     0x40000, 0x20000, CRC(9d95aad6) SHA1(3391b14196fea12223ab247d909791bc68fc8d56) )
12711257   ROM_LOAD( "m-8-0.u6",     0x60000, 0x20000, CRC(0dfb6ed3) SHA1(0937614c8f97040d0216363bfb2bc21161128a3c) )
12721258
1273   ROM_REGION( 0x80000, "ym.deltat", 0 )   /* ADPCM samples */
1259   ROM_REGION( 0x80000, "ym.deltat", 0 )   /* Delta-T samples */
12741260   ROM_LOAD( "m-8-5.u2",     0x00000, 0x20000, CRC(d9d90e0a) SHA1(1011548b4fb5f1a194c93ded512e74cda2c06ceb) )
12751261
1276   ROM_REGION( 0x80000, "ym", 0 )   /* Delta-T samples */
1262   ROM_REGION( 0x80000, "ym", 0 )   /* ADPCM samples */
12771263   ROM_LOAD( "m-8-4.u1",     0x00000, 0x20000, CRC(d3f6047a) SHA1(0db6d762bbe2d68cddf30e06125b904e1021b96d) )
12781264ROM_END
12791265
r5338r5339
12921278   ROM_LOAD( "1", 0x040000, 0x20000, CRC(8196d624) SHA1(c859e3b1d3b481f38cfe47576efc1dcdbe6cde28) )
12931279   ROM_LOAD( "0", 0x060000, 0x20000, CRC(1cc584e5) SHA1(18cf607fa06c095d088b80cea2a1e507d19c7126) )
12941280
1295   ROM_REGION( 0x80000, "ym.deltat", 0 )   /* ADPCM samples */
1281   ROM_REGION( 0x80000, "ym.deltat", 0 )   /* Delta-T samples */
12961282   ROM_LOAD( "east-11", 0x00000, 0x80000, CRC(92111f96) SHA1(e781f24761b7a923388f4cda64c7b31388fd64c5) )
12971283
1298   ROM_REGION( 0x80000, "ym", 0 )   /* Delta-T samples */
1284   ROM_REGION( 0x80000, "ym", 0 )   /* ADPCM samples */
12991285   ROM_LOAD( "east-10", 0x00000, 0x80000, CRC(ca0ac419) SHA1(b29f30a8ff1286c65b741353b6551918a45bcafe) )
13001286ROM_END
13011287
src/mame/drivers/kingobox.c
r5338r5339
658658   ROM_LOAD( "82s129.1a",    0x0100, 0x0100, CRC(d345cbb3) SHA1(6318022ebbbe59d4c0a207801fffed1167b98a66) )   /* blue component */
659659ROM_END
660660
661ROM_START( ringkin2 )
661ROM_START( ringking2 )
662662   ROM_REGION( 0x10000, "maincpu", 0 )
663663   ROM_LOAD( "rkngm1.bin",   0x00000, 0x8000, CRC(086921ea) SHA1(c5a594be0738a80c5f912dc819332ff61aa6fc4b) )
664664   ROM_LOAD( "rkngm2.bin",   0x08000, 0x4000, CRC(c0b636a4) SHA1(c3640a5597242e735673e1dbf8bf866e9122a20f) )
r5338r5339
695695   ROM_LOAD( "82s129.1a",    0x0100, 0x0100, CRC(d345cbb3) SHA1(6318022ebbbe59d4c0a207801fffed1167b98a66) )   /* blue component */
696696ROM_END
697697
698ROM_START( ringkin3 )
698ROM_START( ringking3 )
699699   ROM_REGION( 0x10000, "maincpu", 0 )
700700   ROM_LOAD( "14.9d",        0x00000, 0x4000, CRC(63627b8b) SHA1(eea736c8eec59fa561b9d1b5aa43df5410d8dde7) )
701701   ROM_LOAD( "15.9e",        0x04000, 0x4000, CRC(e7557489) SHA1(49dce8f6ce26283fbdca17d75699de4d636a900a) )
r5338r5339
737737   ROM_LOAD( "82s129.1a",    0x0200, 0x0100, CRC(d345cbb3) SHA1(6318022ebbbe59d4c0a207801fffed1167b98a66) )   /* blue component */
738738ROM_END
739739
740ROM_START( ringkinw )
740ROM_START( ringkingw )
741741   ROM_REGION( 0x10000, "maincpu", 0 )
742742   ROM_LOAD( "15.9d",        0x00000, 0x4000, CRC(8263f517) SHA1(942012bfcc98dd2cd0437e015a164933c99d0f36) )
743743   ROM_LOAD( "16.9e",        0x04000, 0x4000, CRC(daadd700) SHA1(2405e954a28d18ae8c30955d0ad7c25c9abb2bd3) )
r5338r5339
814814
815815
816816
817GAME( 1985, kingofb,  0,       kingofb,  kingofb,  0,        ROT90, "Woodplace", "King of Boxer (English)", 0 )
818GAME( 1985, ringking, kingofb, ringking, ringking, 0,        ROT90, "Data East USA", "Ring King (US set 1)", 0 )
819GAME( 1985, ringkin2, kingofb, ringking, ringking, 0,        ROT90, "Data East USA", "Ring King (US set 2)", 0 )
820GAME( 1985, ringkin3, kingofb, kingofb,  kingofb,  ringkin3, ROT90, "Data East USA", "Ring King (US set 3)", 0 )
821GAME( 1985, ringkinw, kingofb, kingofb,  kingofb,  ringkinw, ROT90, "Woodplace", "Ring King (US, Woodplace license)", 0 )
817GAME( 1985, kingofb,   0,       kingofb,  kingofb,  0,        ROT90, "Woodplace", "King of Boxer (English)", 0 )
818GAME( 1985, ringking,  kingofb, ringking, ringking, 0,        ROT90, "Data East USA", "Ring King (US set 1)", 0 )
819GAME( 1985, ringking2, kingofb, ringking, ringking, 0,        ROT90, "Data East USA", "Ring King (US set 2)", 0 )
820GAME( 1985, ringking3, kingofb, kingofb,  kingofb,  ringkin3, ROT90, "Data East USA", "Ring King (US set 3)", 0 )
821GAME( 1985, ringkingw, kingofb, kingofb,  kingofb,  ringkinw, ROT90, "Woodplace", "Ring King (US, Woodplace license)", 0 )
src/mame/drivers/blockout.c
r5338r5339
240240   ROM_LOAD( "mb7114h.25",   0x0000, 0x0100, CRC(b25bbda7) SHA1(840f1470886bd0019db3cd29e3d1d80205a65f48) )   /* unknown */
241241ROM_END
242242
243ROM_START( blckout2 )
243ROM_START( blockout2 )
244244   ROM_REGION( 0x40000, "maincpu", 0 )   /* 2*128k for 68000 code */
245245   ROM_LOAD16_BYTE( "29a0",         0x00000, 0x20000, CRC(605f931e) SHA1(65fa7227dafde1fc8564e09fa949fe575b394d8a) )
246246   ROM_LOAD16_BYTE( "29a1",         0x00001, 0x20000, CRC(38f07000) SHA1(e4070e3067d77cc1b0d8d0c63786f2729c5c703a) )
r5338r5339
255255   ROM_LOAD( "mb7114h.25",   0x0000, 0x0100, CRC(b25bbda7) SHA1(840f1470886bd0019db3cd29e3d1d80205a65f48) )   /* unknown */
256256ROM_END
257257
258ROM_START( blckoutj )
258ROM_START( blockoutj )
259259   ROM_REGION( 0x40000, "maincpu", 0 )   /* 2*128k for 68000 code */
260260   ROM_LOAD16_BYTE( "2.bin",         0x00000, 0x20000, CRC(e16cf065) SHA1(541b30b054cf08f10d6ca4746423759f4326c005) )
261261   ROM_LOAD16_BYTE( "1.bin",         0x00001, 0x20000, CRC(950b28a3) SHA1(7d1635ac2a3fc1efdd2f78cd6038bd7b4c907b1b) )
r5338r5339
358358
359359
360360GAME( 1989, blockout, 0,        blockout, blockout, 0, ROT0, "Technos Japan + California Dreams", "Block Out (set 1)", 0 )
361GAME( 1989, blckout2, blockout, blockout, blockout, 0, ROT0, "Technos Japan + California Dreams", "Block Out (set 2)", 0 )
362GAME( 1989, blckoutj, blockout, blockout, blckoutj, 0, ROT0, "Technos Japan + California Dreams", "Block Out (Japan)", 0 )
361GAME( 1989, blockout2,blockout, blockout, blockout, 0, ROT0, "Technos Japan + California Dreams", "Block Out (set 2)", 0 )
362GAME( 1989, blockoutj,blockout, blockout, blckoutj, 0, ROT0, "Technos Japan + California Dreams", "Block Out (Japan)", 0 )
363363GAME( 1991, agress,   0,        blockout, agress,   0, ROT0, "Palco", "Agress", 0 )
364364GAME( 2003, agressb,  agress,   blockout, agress,   0, ROT0, "Palco", "Agress (English bootleg)", 0 )
src/mame/drivers/ettrivia.c
r5338r5339
302302   ROM_LOAD( "soaps.hi3",    0x38000, 0x8000, CRC(9e20614d) SHA1(02121f2c17768763658e77bf19ccaae38a07e509) )
303303ROM_END
304304
305ROM_START( promutra )
305ROM_START( promutrva )
306306   ROM_REGION( 0x10000, "maincpu", 0 )
307307   ROM_LOAD( "u16.u16",      0x0000, 0x8000, CRC(e37d48be) SHA1(1d700cff0c28e50fa2851e0c46de21aa47a23416) )
308308
r5338r5339
329329   ROM_LOAD( "enter3.hi3",   0x38000, 0x8000, CRC(a8cf603b) SHA1(6efa5753d8d252452b3f5be8635a28364e4d8de1) )
330330ROM_END
331331
332ROM_START( promutrb )
332ROM_START( promutrvb )
333333   ROM_REGION( 0x10000, "maincpu", 0 )
334334   ROM_LOAD( "u16.u16",      0x0000, 0x8000, CRC(e37d48be) SHA1(1d700cff0c28e50fa2851e0c46de21aa47a23416) )
335335
r5338r5339
360360   ROM_LOAD( "pal16l8a-ep-0.u9",  0x0200, 0x0104, CRC(180e95ad) SHA1(9c8dbe159aaf2595b9934fd4afff16b2e9ab584c) )
361361ROM_END
362362
363ROM_START( promutrc )
363ROM_START( promutrvc )
364364   ROM_REGION( 0x10000, "maincpu", 0 )
365365   ROM_LOAD( "u16.u16",      0x0000, 0x8000, CRC(e37d48be) SHA1(1d700cff0c28e50fa2851e0c46de21aa47a23416) )
366366
r5338r5339
419419ROM_END
420420
421421GAME( 1985, promutrv, 0,        ettrivia, ettrivia, 0, ROT270, "Enerdyne Technologies Inc.", "Progressive Music Trivia (Question set 1)", 0 )
422GAME( 1985, promutra, promutrv, ettrivia, ettrivia, 0, ROT270, "Enerdyne Technologies Inc.", "Progressive Music Trivia (Question set 2)", 0 )
423GAME( 1985, promutrb, promutrv, ettrivia, ettrivia, 0, ROT270, "Enerdyne Technologies Inc.", "Progressive Music Trivia (Question set 3)", 0 )
424GAME( 1985, promutrc, promutrv, ettrivia, ettrivia, 0, ROT270, "Enerdyne Technologies Inc.", "Progressive Music Trivia (Question set 4)", 0 )
422GAME( 1985, promutrva,promutrv, ettrivia, ettrivia, 0, ROT270, "Enerdyne Technologies Inc.", "Progressive Music Trivia (Question set 2)", 0 )
423GAME( 1985, promutrvb,promutrv, ettrivia, ettrivia, 0, ROT270, "Enerdyne Technologies Inc.", "Progressive Music Trivia (Question set 3)", 0 )
424GAME( 1985, promutrvc,promutrv, ettrivia, ettrivia, 0, ROT270, "Enerdyne Technologies Inc.", "Progressive Music Trivia (Question set 4)", 0 )
425425GAME( 1986, strvmstr, 0,        ettrivia, ettrivia, 0, ROT270, "Enerdyne Technologies Inc.", "Super Trivia Master", GAME_WRONG_COLORS )
src/mame/drivers/lvcards.c
r5338r5339
194194
195195static INPUT_PORTS_START( lvcards )
196196   PORT_START("IN0")
197   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Analyzer") PORT_CODE(KEYCODE_0)
197   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Analyzer")
198198   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
199199   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
200200   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
201201   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
202202   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
203   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Red") PORT_CODE(KEYCODE_N)
204   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Black") PORT_CODE(KEYCODE_M)
203   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Red")
204   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Black")
205205
206206   PORT_START("IN1")
207   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
208   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
209   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
210   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
211   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
212   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Deal / Double") PORT_CODE(KEYCODE_LALT)
213   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Bet") PORT_CODE(KEYCODE_LCONTROL)
207   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
208   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
209   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
210   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
211   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
212   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Double")
213   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
214214   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
215215
216216   PORT_START("IN2")
217217   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
218   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Cancel / Take Score") PORT_CODE(KEYCODE_SPACE)
218   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) PORT_NAME("Cancel / Take Score")
219219   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
220220   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
221221   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(3)
r5338r5339
284284   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("Clear Stats")
285285   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
286286   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_EQUALS) PORT_NAME("Hopper Reset")
287   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Red")
288   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Black")
287   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Red")
288   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Black")
289289
290290   PORT_START("IN1")
291   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Hold 1")
292   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_X) PORT_NAME("Hold 2")
293   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_C) PORT_NAME("Hold 3")
294   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_V) PORT_NAME("Hold 4")
295   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_CODE(KEYCODE_B) PORT_NAME("Hold 5")
296   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Deal/Double")
297   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_2) PORT_NAME("Bet")
298   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE3 ) PORT_NAME("Remove Credit as coins") PORT_CODE(KEYCODE_A)
291   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
292   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
293   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
294   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
295   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
296   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Double")
297   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
298   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE3 ) PORT_NAME("Remove Credit as coins")
299299
300300   PORT_START("IN2")
301301   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SPECIAL ) // Token Drop
302   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_SPACE) PORT_NAME("Cancel / Take Score")
302   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) PORT_NAME("Cancel / Take Score")
303303   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(3)
304304   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(3)
305305   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(3)
src/mame/drivers/namcos2.c
r5338r5339
3131    Final Lap 3:
3232    - uses unaligned 32x32 sprites, which aren't handled correctly in video/namcos2.c yet
3333
34    Four Trax
35    - some graphics glitches (POSIRQ-related?)
36    - sprite banking (for rear view mirror) isn't working
37
3834    Suzuka 8 Hours II
3935    - some sprite cropping issues
4036
r5338r5339
4238    - gives ADSMISS error on startup
4339
4440    Bubble Trouble (Golly Ghost II)
41    - no artwork
4542    - MCU not dumped
4643
4744The Namco System II board is a 5 ( only 4 are emulated ) CPU system. The
r5338r5339
395392-------------------------------------
396393YBNK        VBLANK          VBLANK
397394IRQ4        SCIRQ           SCIRQ       (Serial comms IC Interrupt)
398IRQ3        POSIRQ          POSIRQ      (Comes from C116, pixel generator, Position interrup ?? line based ??)
395IRQ3        POSIRQ          POSIRQ      (Comes from C116, pixel generator, line based position interrupt?)
399396IRQ2        EXIRQ           EXIRQ       (Goes to video board but does not appear to be connected)
400397IRQ1        SCPUIRQ         MCPUIRQ     (Master/Slave interrupts)
401398
r5338r5339
457454
458455#include "finallap.lh"
459456
457/* Define clocks based on actual OSC on the PCB */
460458
459#define MAIN_OSC_CLOCK      XTAL_49_152MHz
460#define M68K_CPU_CLOCK      (MAIN_OSC_CLOCK / 4)      /* 12.288MHz clock for 68000 (Master & Slave) */
461#define M68B09_CPU_CLOCK   (MAIN_OSC_CLOCK / 24)      /* 2.048MHz clock for 68B09 sound CPU */
462#define C65_CPU_CLOCK      (MAIN_OSC_CLOCK / 24)      /* 2.048MHz clock for 63705 (or 63B05) I/O CPU */
463#define YM2151_SOUND_CLOCK   XTAL_3_579545MHz      /* 3.579545MHz FM clock */
464#define C140_SOUND_CLOCK   (MAIN_OSC_CLOCK / 384 / 6)   /* 21.333kHz C140 clock (was 8000000/374 or 21.390kHz) */
465
466
461467/*************************************************************/
462468/* 68000/6809/63705 Shared memory area - DUAL PORT Memory    */
463469/*************************************************************/
r5338r5339
15751581/*************************************************************/
15761582
15771583static MACHINE_DRIVER_START( default )
1578   MDRV_CPU_ADD("maincpu", M68000, 12288000)
1584   MDRV_CPU_ADD("maincpu", M68000, M68K_CPU_CLOCK) /* 12.288MHz (49.152MHz OSC/4) */
15791585   MDRV_CPU_PROGRAM_MAP(master_default_am)
15801586   MDRV_CPU_VBLANK_INT("screen", namcos2_68k_master_vblank)
15811587
1582   MDRV_CPU_ADD("slave", M68000, 12288000)
1588   MDRV_CPU_ADD("slave", M68000, M68K_CPU_CLOCK) /*  12.288MHz (49.152MHz OSC/4) */
15831589   MDRV_CPU_PROGRAM_MAP(slave_default_am)
15841590   MDRV_CPU_VBLANK_INT("screen", namcos2_68k_slave_vblank)
15851591
1586   MDRV_CPU_ADD("audiocpu", M6809,3072000) // Sound handling
1592   MDRV_CPU_ADD("audiocpu", M6809, M68B09_CPU_CLOCK) /* 2.048MHz (49.152MHz OSC/24) - Sound handling */
15871593   MDRV_CPU_PROGRAM_MAP(sound_default_am)
15881594   MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,2)
15891595   MDRV_CPU_PERIODIC_INT(irq1_line_hold, 120)
15901596
1591   MDRV_CPU_ADD("mcu", HD63705,2048000) // I/O handling
1597   MDRV_CPU_ADD("mcu", HD63705, C65_CPU_CLOCK) /* 2.048MHz (49.152MHz OSC/24) - I/O handling */
15921598   MDRV_CPU_PROGRAM_MAP(mcu_default_am)
15931599   MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
15941600
1595   MDRV_QUANTUM_TIME(HZ(6000)) /* CPU slices per frame */
1601   MDRV_QUANTUM_TIME(HZ(12000)) /* CPU slices per frame */
15961602
15971603   MDRV_MACHINE_START(namcos2)
15981604   MDRV_MACHINE_RESET(namcos2)
r5338r5339
16141620
16151621   MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
16161622
1617   MDRV_SOUND_ADD("c140", C140, 8000000/374)
1623   MDRV_SOUND_ADD("c140", C140, C140_SOUND_CLOCK) /* 21.333kHz */
16181624   MDRV_SOUND_CONFIG(c140_config)
16191625   MDRV_SOUND_ROUTE(0, "lspeaker", 0.75)
16201626   MDRV_SOUND_ROUTE(1, "rspeaker", 0.75)
16211627
1622   MDRV_SOUND_ADD("ym", YM2151, 3579580)
1628   MDRV_SOUND_ADD("ym", YM2151, YM2151_SOUND_CLOCK) /* 3.579545MHz */
16231629   MDRV_SOUND_ROUTE(0, "lspeaker", 0.80)
16241630   MDRV_SOUND_ROUTE(1, "rspeaker", 0.80)
16251631MACHINE_DRIVER_END
r5338r5339
16281634static MACHINE_DRIVER_START( default2 )
16291635   MDRV_IMPORT_FROM(default)
16301636
1631   MDRV_SOUND_REPLACE("c140", C140, 8000000/374)
1637   MDRV_SOUND_REPLACE("c140", C140, C140_SOUND_CLOCK) /* 21.333kHz */
16321638   MDRV_SOUND_CONFIG(c140_config)
16331639   MDRV_SOUND_ROUTE(0, "lspeaker", 1.0)
16341640   MDRV_SOUND_ROUTE(1, "rspeaker", 1.0)
r5338r5339
16381644static MACHINE_DRIVER_START( default3 )
16391645   MDRV_IMPORT_FROM(default)
16401646
1641   MDRV_SOUND_REPLACE("c140", C140, 8000000/374)
1647   MDRV_SOUND_REPLACE("c140", C140, C140_SOUND_CLOCK) /* 21.333kHz */
16421648   MDRV_SOUND_CONFIG(c140_config)
16431649   MDRV_SOUND_ROUTE(0, "lspeaker", 0.45)
16441650   MDRV_SOUND_ROUTE(1, "rspeaker", 0.45)
16451651
1646   MDRV_SOUND_REPLACE("ym", YM2151, 3579580)
1652   MDRV_SOUND_REPLACE("ym", YM2151, YM2151_SOUND_CLOCK) /* 3.579545MHz */
16471653   MDRV_SOUND_ROUTE(0, "lspeaker", 1.0)
16481654   MDRV_SOUND_ROUTE(1, "rspeaker", 1.0)
16491655MACHINE_DRIVER_END
16501656
16511657static MACHINE_DRIVER_START( gollygho )
1652   MDRV_CPU_ADD("maincpu", M68000, 12288000)
1658   MDRV_CPU_ADD("maincpu", M68000, M68K_CPU_CLOCK) /* 12.288MHz (49.152MHz OSC/4) */
16531659   MDRV_CPU_PROGRAM_MAP(master_default_am)
16541660   MDRV_CPU_VBLANK_INT("screen", namcos2_68k_master_vblank)
16551661
1656   MDRV_CPU_ADD("slave", M68000, 12288000)
1662   MDRV_CPU_ADD("slave", M68000, M68K_CPU_CLOCK) /* 12.288MHz (49.152MHz OSC/4) */
16571663   MDRV_CPU_PROGRAM_MAP(slave_default_am)
16581664   MDRV_CPU_VBLANK_INT("screen", namcos2_68k_slave_vblank)
16591665
1660   MDRV_CPU_ADD("audiocpu", M6809,3072000) // Sound handling
1666   MDRV_CPU_ADD("audiocpu", M6809, M68B09_CPU_CLOCK) /* 2.048MHz (49.152MHz OSC/24) - Sound handling */
16611667   MDRV_CPU_PROGRAM_MAP(sound_default_am)
16621668   MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,2)
16631669   MDRV_CPU_PERIODIC_INT(irq1_line_hold, 120)
16641670
1665   MDRV_CPU_ADD("mcu", HD63705,2048000) // I/O handling
1671   MDRV_CPU_ADD("mcu", HD63705, C65_CPU_CLOCK) /* 2.048MHz (49.152MHz OSC/24) - I/O handling */
16661672   MDRV_CPU_PROGRAM_MAP(mcu_default_am)
16671673   MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
16681674
r5338r5339
16881694
16891695   MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
16901696
1691   MDRV_SOUND_ADD("c140", C140, 8000000/374)
1697   MDRV_SOUND_ADD("c140", C140, C140_SOUND_CLOCK) /* 21.333kHz */
16921698   MDRV_SOUND_CONFIG(c140_config)
16931699   MDRV_SOUND_ROUTE(0, "lspeaker", 0.75)
16941700   MDRV_SOUND_ROUTE(1, "rspeaker", 0.75)
16951701
1696   MDRV_SOUND_ADD("ym", YM2151, 3579580)
1702   MDRV_SOUND_ADD("ym", YM2151, YM2151_SOUND_CLOCK) /* 3.579545MHz */
16971703   MDRV_SOUND_ROUTE(0, "lspeaker", 0.80)
16981704   MDRV_SOUND_ROUTE(1, "rspeaker", 0.80)
16991705MACHINE_DRIVER_END
17001706
17011707static MACHINE_DRIVER_START( finallap )
1702   MDRV_CPU_ADD("maincpu", M68000, 12288000)
1708   MDRV_CPU_ADD("maincpu", M68000, M68K_CPU_CLOCK) /* 12.288MHz (49.152MHz OSC/4) */
17031709   MDRV_CPU_PROGRAM_MAP(master_finallap_am)
17041710   MDRV_CPU_VBLANK_INT("screen", namcos2_68k_master_vblank)
17051711
1706   MDRV_CPU_ADD("slave", M68000, 12288000)
1712   MDRV_CPU_ADD("slave", M68000, M68K_CPU_CLOCK) /* 12.288MHz (49.152MHz OSC/4) */
17071713   MDRV_CPU_PROGRAM_MAP(slave_finallap_am)
17081714   MDRV_CPU_VBLANK_INT("screen", namcos2_68k_slave_vblank)
17091715
1710   MDRV_CPU_ADD("audiocpu", M6809,3072000) // Sound handling
1716   MDRV_CPU_ADD("audiocpu", M6809, M68B09_CPU_CLOCK) /* 2.048MHz (49.152MHz OSC/24) - Sound handling */
17111717   MDRV_CPU_PROGRAM_MAP(sound_default_am)
17121718   MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,2)
17131719   MDRV_CPU_PERIODIC_INT(irq1_line_hold, 120)
17141720
1715   MDRV_CPU_ADD("mcu", HD63705,2048000) // I/O handling
1721   MDRV_CPU_ADD("mcu", HD63705, C65_CPU_CLOCK) /* 2.048MHz (49.152MHz OSC/24) - I/O handling */
17161722   MDRV_CPU_PROGRAM_MAP(mcu_default_am)
17171723   MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
17181724
r5338r5339
17381744
17391745   MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
17401746
1741   MDRV_SOUND_ADD("c140", C140, 8000000/374)
1747   MDRV_SOUND_ADD("c140", C140, C140_SOUND_CLOCK) /* 21.333kHz */
17421748   MDRV_SOUND_CONFIG(c140_config)
17431749   MDRV_SOUND_ROUTE(0, "lspeaker", 0.75)
17441750   MDRV_SOUND_ROUTE(1, "rspeaker", 0.75)
17451751
1746   MDRV_SOUND_ADD("ym", YM2151, 3579580)
1752   MDRV_SOUND_ADD("ym", YM2151, YM2151_SOUND_CLOCK) /* 3.579545MHz */
17471753   MDRV_SOUND_ROUTE(0, "lspeaker", 0.80)
17481754   MDRV_SOUND_ROUTE(1, "rspeaker", 0.80)
17491755MACHINE_DRIVER_END
17501756
17511757static MACHINE_DRIVER_START( sgunner )
1752   MDRV_CPU_ADD("maincpu", M68000, 12288000)
1758   MDRV_CPU_ADD("maincpu", M68000, M68K_CPU_CLOCK) /* 12.288MHz (49.152MHz OSC/4) */
17531759   MDRV_CPU_PROGRAM_MAP(master_sgunner_am)
17541760   MDRV_CPU_VBLANK_INT("screen", namcos2_68k_master_vblank)
17551761
1756   MDRV_CPU_ADD("slave", M68000, 12288000)
1762   MDRV_CPU_ADD("slave", M68000, M68K_CPU_CLOCK) /* 12.288MHz (49.152MHz OSC/4) */
17571763   MDRV_CPU_PROGRAM_MAP(slave_sgunner_am)
17581764   MDRV_CPU_VBLANK_INT("screen", namcos2_68k_slave_vblank)
17591765
1760   MDRV_CPU_ADD("audiocpu", M6809,3072000) // Sound handling
1766   MDRV_CPU_ADD("audiocpu", M6809, M68B09_CPU_CLOCK) /* 2.048MHz (49.152MHz OSC/24) - Sound handling */
17611767   MDRV_CPU_PROGRAM_MAP(sound_default_am)
17621768   MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,2)
17631769   MDRV_CPU_PERIODIC_INT(irq1_line_hold, 120)
17641770
1765   MDRV_CPU_ADD("mcu", HD63705,2048000) // I/O handling
1771   MDRV_CPU_ADD("mcu", HD63705, C65_CPU_CLOCK) /* 2.048MHz (49.152MHz OSC/24) - I/O handling */
17661772   MDRV_CPU_PROGRAM_MAP(mcu_default_am)
17671773   MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
17681774
r5338r5339
17881794
17891795   MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
17901796
1791   MDRV_SOUND_ADD("c140", C140, 8000000/374)
1797   MDRV_SOUND_ADD("c140", C140, C140_SOUND_CLOCK) /* 21.333kHz */
17921798   MDRV_SOUND_CONFIG(c140_config)
17931799   MDRV_SOUND_ROUTE(0, "lspeaker", 0.75)
17941800   MDRV_SOUND_ROUTE(1, "rspeaker", 0.75)
17951801
1796   MDRV_SOUND_ADD("ym", YM2151, 3579580)
1802   MDRV_SOUND_ADD("ym", YM2151, YM2151_SOUND_CLOCK) /* 3.579545MHz */
17971803   MDRV_SOUND_ROUTE(0, "lspeaker", 0.80)
17981804   MDRV_SOUND_ROUTE(1, "rspeaker", 0.80)
17991805MACHINE_DRIVER_END
18001806
18011807static MACHINE_DRIVER_START( luckywld )
1802   MDRV_CPU_ADD("maincpu", M68000, 12288000)
1808   MDRV_CPU_ADD("maincpu", M68000, M68K_CPU_CLOCK) /* 12.288MHz (49.152MHz OSC/4) */
18031809   MDRV_CPU_PROGRAM_MAP(master_luckywld_am)
18041810   MDRV_CPU_VBLANK_INT("screen", namcos2_68k_master_vblank)
18051811
1806   MDRV_CPU_ADD("slave", M68000, 12288000)
1812   MDRV_CPU_ADD("slave", M68000, M68K_CPU_CLOCK) /* 12.288MHz (49.152MHz OSC/4) */
18071813   MDRV_CPU_PROGRAM_MAP(slave_luckywld_am)
18081814   MDRV_CPU_VBLANK_INT("screen", namcos2_68k_slave_vblank)
18091815
1810   MDRV_CPU_ADD("audiocpu", M6809,3072000) /* Sound handling */
1816   MDRV_CPU_ADD("audiocpu", M6809, M68B09_CPU_CLOCK) /* 2.048MHz (49.152MHz OSC/24) - Sound handling */
18111817   MDRV_CPU_PROGRAM_MAP(sound_default_am)
18121818   MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,2)
18131819   MDRV_CPU_PERIODIC_INT(irq1_line_hold,120)
18141820
1815   MDRV_CPU_ADD("mcu", HD63705,2048000) /* I/O handling */
1821   MDRV_CPU_ADD("mcu", HD63705, C65_CPU_CLOCK) /* 2.048MHz (49.152MHz OSC/24) - I/O handling */
18161822   MDRV_CPU_PROGRAM_MAP(mcu_default_am)
18171823   MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
18181824
r5338r5339
18381844
18391845   MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
18401846
1841   MDRV_SOUND_ADD("c140", C140, 8000000/374)
1847   MDRV_SOUND_ADD("c140", C140, C140_SOUND_CLOCK) /* 21.333kHz */
18421848   MDRV_SOUND_CONFIG(c140_config)
18431849   MDRV_SOUND_ROUTE(0, "lspeaker", 0.75)
18441850   MDRV_SOUND_ROUTE(1, "rspeaker", 0.75)
18451851
1846   MDRV_SOUND_ADD("ym", YM2151, 3579580)
1852   MDRV_SOUND_ADD("ym", YM2151, YM2151_SOUND_CLOCK) /* 3.579545MHz */
18471853   MDRV_SOUND_ROUTE(0, "lspeaker", 0.80)
18481854   MDRV_SOUND_ROUTE(1, "rspeaker", 0.80)
18491855MACHINE_DRIVER_END
18501856
18511857static MACHINE_DRIVER_START( metlhawk )
1852   MDRV_CPU_ADD("maincpu", M68000, 12288000)
1858   MDRV_CPU_ADD("maincpu", M68000, M68K_CPU_CLOCK) /* 12.288MHz (49.152MHz OSC/4) */
18531859   MDRV_CPU_PROGRAM_MAP(master_metlhawk_am)
18541860   MDRV_CPU_VBLANK_INT("screen", namcos2_68k_master_vblank)
18551861
1856   MDRV_CPU_ADD("slave", M68000, 12288000)
1862   MDRV_CPU_ADD("slave", M68000, M68K_CPU_CLOCK) /* 12.288MHz (49.152MHz OSC/4) */
18571863   MDRV_CPU_PROGRAM_MAP(slave_metlhawk_am)
18581864   MDRV_CPU_VBLANK_INT("screen", namcos2_68k_slave_vblank)
18591865
1860   MDRV_CPU_ADD("audiocpu", M6809,3072000) /* Sound handling */
1866   MDRV_CPU_ADD("audiocpu", M6809, M68B09_CPU_CLOCK) /* 2.048MHz (49.152MHz OSC/24) - Sound handling */
18611867   MDRV_CPU_PROGRAM_MAP(sound_default_am)
18621868   MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,2)
18631869   MDRV_CPU_PERIODIC_INT(irq1_line_hold,120)
18641870
1865   MDRV_CPU_ADD("mcu", HD63705,2048000) /* I/O handling */
1871   MDRV_CPU_ADD("mcu", HD63705, C65_CPU_CLOCK) /* 2.048MHz (49.152MHz OSC/24) - I/O handling */
18661872   MDRV_CPU_PROGRAM_MAP(mcu_default_am)
18671873   MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
18681874
r5338r5339
18801886   MDRV_SCREEN_SIZE(384, 264)
18811887   MDRV_SCREEN_VISIBLE_AREA(0*8, 36*8-1, 0*8, 28*8-1)
18821888
1883    MDRV_GFXDECODE(metlhawk)
1889   MDRV_GFXDECODE(metlhawk)
18841890   MDRV_PALETTE_LENGTH(0x2000)
18851891
18861892   MDRV_VIDEO_START(metlhawk)
r5338r5339
18881894
18891895   MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
18901896
1891   MDRV_SOUND_ADD("c140", C140, 8000000/374)
1897   MDRV_SOUND_ADD("c140", C140, C140_SOUND_CLOCK) /* 21.333kHz */
18921898   MDRV_SOUND_CONFIG(c140_config)
18931899   MDRV_SOUND_ROUTE(0, "lspeaker", 1.0)
18941900   MDRV_SOUND_ROUTE(1, "rspeaker", 1.0)
18951901
1896   MDRV_SOUND_ADD("ym", YM2151, 3579580)
1902   MDRV_SOUND_ADD("ym", YM2151, YM2151_SOUND_CLOCK) /* 3.579545MHz */
18971903   MDRV_SOUND_ROUTE(0, "lspeaker", 0.80)
18981904   MDRV_SOUND_ROUTE(1, "rspeaker", 0.80)
18991905MACHINE_DRIVER_END
r5338r5339
21552161   ROM_LOAD( "bu_voi-1.bin",  0x000000, 0x080000, CRC(99d8a239) SHA1(1ebc586048e757ac0ac68dc9cc171f4849e67cef) )
21562162ROM_END
21572163
2158ROM_START( burnfrco )
2164ROM_START( burnforco )
21592165   ROM_REGION( 0x040000, "maincpu", 0 ) /* Master CPU */
21602166   ROM_LOAD16_BYTE( "bu1_mpr0.bin",  0x000000, 0x020000, CRC(096B73E2) SHA1(ED96CA336DD0CE368F6B07CF1A80C55CF16919C9) )
21612167   ROM_LOAD16_BYTE( "bu1_mpr1.bin",  0x000001, 0x020000, CRC(7EAD4CBF) SHA1(FF8CF722E57FBE9E035CC542180806FE045206F5) )
r5338r5339
22542260ROM_END
22552261
22562262/* COSMO GANG THE VIDEO (JAPAN) */
2257ROM_START( cosmognj )
2263ROM_START( cosmogngj )
22582264   ROM_REGION( 0x040000, "maincpu", 0 ) /* Master CPU */
22592265   ROM_LOAD16_BYTE( "co1mpr0.bin",  0x000000, 0x020000, CRC(d1b4c8db) SHA1(d14974edc458b95cca02defef073804f1af0f5de) )
22602266   ROM_LOAD16_BYTE( "co1mpr1.bin",  0x000001, 0x020000, CRC(2f391906) SHA1(d97e58eecaca84127caa3bc55d6aa256628e35d7) )
r5338r5339
25022508ROM_END
25032509
25042510/* FINAL LAP (revision D) */
2505ROM_START( finalapd )
2511ROM_START( finallapd )
25062512   ROM_REGION( 0x040000, "maincpu", 0 ) /* Master CPU */
25072513   ROM_LOAD16_BYTE( "fl2-mp0d",  0x000000, 0x010000, CRC(3576d3aa) SHA1(4928cfc5c929de8cc5ec12ea87c678188d314c39) )
25082514   ROM_LOAD16_BYTE( "fl2-mp1d",  0x000001, 0x010000, CRC(22d3906d) SHA1(63f3076eeefca57daf427633f82fdea353a52da2) )
r5338r5339
25572563ROM_END
25582564
25592565/* FINAL LAP (revision C) */
2560ROM_START( finalapc )
2566ROM_START( finallapc )
25612567   ROM_REGION( 0x040000, "maincpu", 0 ) /* Master CPU */
25622568   ROM_LOAD16_BYTE( "fl2-mp0c",  0x000000, 0x010000, CRC(f667f2c9) SHA1(79096bd600c001b21020ddf468e55c34dad9f1eb) )
25632569   ROM_LOAD16_BYTE( "fl2-mp1c",  0x000001, 0x010000, CRC(b8615d33) SHA1(f72ce75047cf41d47684d6657aa3bd1b00f68056) )
r5338r5339
26122618ROM_END
26132619
26142620/* FINAL LAP (Rev C - Japan) */
2615ROM_START( finlapjc )
2621ROM_START( finallapjc )
26162622   ROM_REGION( 0x040000, "maincpu", 0 ) /* Master CPU */
26172623   ROM_LOAD16_BYTE( "fl1_mp0c.bin",  0x000000, 0x010000, CRC(63cd7304) SHA1(f9342a03b6e3c599946fec1690f34be2d0fe0307) )
26182624   ROM_LOAD16_BYTE( "fl1_mp1c.bin",  0x000001, 0x010000, CRC(cc9c5fb6) SHA1(7da82f5c8c1574c92432ee003c8433b7dde9d393) )
r5338r5339
26672673ROM_END
26682674
26692675/* FINAL LAP  (REV B - JAPAN) */
2670ROM_START( finlapjb )
2676ROM_START( finallapjb )
26712677   ROM_REGION( 0x040000, "maincpu", 0 ) /* Master CPU */
26722678   ROM_LOAD16_BYTE( "fl1_mp0b.bin",  0x000000, 0x010000, CRC(870a482a) SHA1(776afe0206385732f9bcad4a75399ad7cc8fcda1) )
26732679   ROM_LOAD16_BYTE( "fl1_mp1b.bin",  0x000001, 0x010000, CRC(af52c991) SHA1(23d440cc0f53872739fce1d0837ef906a5e75f98) )
r5338r5339
27752781ROM_END
27762782
27772783/* FINAL LAP 2 (Japan) */
2778ROM_START( finalp2j )
2784ROM_START( finalap2j )
27792785   ROM_REGION( 0x040000, "maincpu", 0 ) /* Master CPU */
27802786   ROM_LOAD16_BYTE( "fls1_mp0.bin",  0x000000, 0x020000, CRC(05ea8090) SHA1(edd3d8780e9f849f45fff1593821aed6b7711a57) )
27812787   ROM_LOAD16_BYTE( "fls1_mp1.bin",  0x000001, 0x020000, CRC(fb189f50) SHA1(9436aea727adf9e11e8061d0ded4e4b00df90b70) )
r5338r5339
28862892ROM_END
28872893
28882894/* FINAL LAP 3 JAPAN */
2889ROM_START( finalp3j )
2895ROM_START( finalap3j )
28902896   ROM_REGION( 0x040000, "maincpu", 0 ) /* Master CPU */
28912897   ROM_LOAD16_BYTE( "fltmp0",  0x000000, 0x020000, CRC(2f2a997a) SHA1(02c805b0727d55bd7782d3352d3563c490694fdb) )
28922898   ROM_LOAD16_BYTE( "fltmp1",  0x000001, 0x020000, CRC(b505ca0b) SHA1(2dd6c264806a32466df78a0bc1f44e2e2796f81e) )
r5338r5339
29963002   ROM_LOAD( "fh1_vo1.bin",  0x000000, 0x080000, CRC(07560fc7) SHA1(76f3855f5a4567dc65d513e37072072c2a011e7e) )
29973003ROM_END
29983004
2999/* FOUR TRAX */
3005/*
3006
3007Four Trax
3008Namco 1989
3009
3010The video board and CPU board are the same type as those used on Final Lap.
3011
3012PCB Layouts
3013-----------
3014
3015Top Board
3016
30178618961200
3018(8618963200)
3019|--------------------------------------------------------------------|
3020| TA7630  C116     M5M5178                                 49.152MHz |
3021|  TL084  TL084    M5M5178                                      137  |
3022| LC7880 YM3012    M5M5178   FX_CHR-7.9S  FX_CHR-3.11S   FX_DAT0.13S |
3023| LA4700     156         123 FX_CHR-6.9R  FX2_CH2.11R    FX_DAT2.13R |
3024|                            FX_CHR-5.9P  FX_CHR-1.11P   FX_DAT1.13P |
3025|140              FX_SHA.7N  FX_CHR-4.9N  FX_CHR-0.11N   FX_DAT3.13N |
3026|      3N*                                                           |
3027|  FX_VOI-1.3M        145     84256                                  |
3028|J     3L*                    84256       65256          65256       |
3029|A                                                                   |
3030|M   8464       2018                      FX2_SP0.11K    FX2_SP1.13K |
3031|M              2018                                                 |
3032|A   YM2151                  FX1_SD0.7J                              |
3033|          121  68B09           7G*            68000         148     |
3034|          SYS87B-1(PAL)   8464                                      |
3035|               SYS87B-2B(PAL)                                       |
3036|        SYS2C65C.3F                                                 |
3037|N                                                                   |
3038|A  DSW(8)    C65                                                    |
3039|M 3.579545MHz           MB8422                                      |
3040|C   149           LB1760     SYS87B-3(PAL)     65256       65256    |
3041|O                 LB1760          139                               |
3042|4                                  HN58C65  FX2_MP0.11D  FX2_MP1.13D|
3043|8         MB3771 PC900 6N137   M5M5179               68000      148 |
3044|--------------------------------------------------------------------|
3045Notes:
3046      68000 clocks - 12.288MHz [49.152/4]
3047      68B09 clock  - 2.048MHz [49.152/24]
3048      YM2151 clock - 3.579545MHz
3049      C65 clock    - 2.048MHz [49.152/24], 8.192MHz [49.152/6]
3050      C140 clocks  - 1.365333334MHz [49.152/36], 42.6667kHz, 85.3334kHz, 128.000kHz [49.152/384],
3051                     256.000kHz [49.152/192], 512.000kHz [49.152/96], 4.096MHz [49.152/12],
3052                     2.730666667MHz [49.152/18], 2.048MHz [49.152/24], 12.288MHz [49.152/4],
3053                     8.192MHz [49.152/6]
3054      *            - Unpopulated socket
3055
3056      Namco customs
3057      -------------
3058                    C116 (QFP80)
3059                    156  (QFP64)
3060                    123  (QFP80)
3061                    145  (QFP80)
3062                    148  (QFP64, x2)
3063                    139  (QFP64)
3064                    C65  (QFP80). This is a 63B05 MCU
3065                    149  (DIP28)
3066                    137  (DIP28)
3067                    140  (QFP120)
3068                    121  (QFP64)
3069
3070      Measurements
3071      ------------
3072      HSync - 15.9398kHz
3073      VSync - 60.6061Hz
3074      OSC1  - 49.15200MHz
3075      OSC2  - 3.57962MHz
3076
3077
3078Bottom Board
3079
3080V56 VIDEO
30812272961200
3082(2272963100)
3083|--------------------------------------------------------------------|
3084|                                                                    |
3085|                TMM2063     135                                     |
3086|                                              137                   |
3087| FL1-1(PAL)     TMM2063                                             |
3088|                                     LH5762                         |
3089|                TMM2063                                             |
3090|                                                                    |
3091|                TMM2063                                             |
3092|                                          2018             2018     |
3093|                134                                                 |
3094|                           J203           2018             2018     |
3095|                                                                    |
3096|                                                                    |
3097|   45                                                               |
3098|                                                                    |
3099|                                                         FL1-2(PAL) |
3100|                                                                    |
3101|                                                                    |
3102|                        4H*      5H*                                |
3103|                                                145                 |
3104|                        4F*      5F*                                |
3105|                                                                    |
3106|  MB81464  MB81464                                                  |
3107|                                                                    |
3108|  MB81464  MB81464                                                  |
3109|                    2018    107                                     |
3110|                                                                    |
3111|                    2018    FX1-1.5B                                |
3112|--------------------------------------------------------------------|
3113Notes:
3114      FX1-1.5B - PROM type MB7118
3115      *        - Unpopulated socket
3116
3117      Namco customs:
3118                    45   (QFP80)
3119                    107  (SDIP64)
3120                    145  (QFP80)
3121                    134  (NDIP28)
3122                    135  (NDIP28)
3123                    137  (NDIP28)
3124
3125
3126ROM Board (mounts onto J203 of VIDEO board)
3127
31282294961301
3129(2294963201)
3130|--------------------------------------|
3131|      JP1       J2                    |
3132| 74F244  74F139    74F244             |
3133|                                      |
3134| 74F244  74F244    74F244             |
3135|               J1                     |
3136|                                      |
3137|FX_OBJ-12.8A     FX_OBJ-8.8C          |
3138|                                      |
3139|FX_OBJ-13.7A     FX_OBJ-9.7C          |
3140|                                      |
3141|FX_OBJ-14.6A     FX_OBJ10.6C          |
3142|                                      |
3143|FX_OBJ15.5A      FX_OBJ-11.5C         |
3144|                                      |
3145|                                      |
3146|                                      |
3147|FX_OBJ-4.4A      FX_OBJ-0.4C          |
3148|                                      |
3149|FX_OBJ-5.3A      FX_OBJ-1.3C          |
3150|                                      |
3151|FX_OBJ6.2A       FX_OBJ2.2C           |
3152|                                      |
3153|FX_OBJ7.1A       FX_OBJ-3.1C          |
3154|                                      |
3155|                                      |
3156|--------------------------------------|
3157Notes: (All ICs shown)
3158      JP1 - jumper, set to 2M. Alt setting is 4M
3159      J1  - 32 pin connector joining to VIDEO board
3160      J2  - 2 pin connector tied with 1 wire to a logic chip on the VIDEO board. If the connector
3161            is unplugged, all of the bike sprites are bad. The scenary and spectator objects are not affected.
3162      All ROMs are 2MBit. ROMs at 1A, 2A, 5A, 2C and 6C are 27C2001 EPROMs, all others
3163      are 2M 32 pin MASK ROMs.
3164*/
3165
30003166ROM_START( fourtrax )
30013167   ROM_REGION( 0x040000, "maincpu", 0 ) /* Master CPU */
3002   ROM_LOAD16_BYTE( "fx2mp0",  0x000000, 0x020000, CRC(f147cd6b) SHA1(7cdadd68d55dd8fa9b19cbee1434d9266ae1f4b9) )
3003   ROM_LOAD16_BYTE( "fx2mp1",  0x000001, 0x020000, CRC(8af4a309) SHA1(538076359cfd08e99e42c05bcccd95df71856696) )
3168   ROM_LOAD16_BYTE( "fx2_mp0.11d",  0x000000, 0x020000, CRC(f147cd6b) SHA1(7cdadd68d55dd8fa9b19cbee1434d9266ae1f4b9) )
3169   ROM_LOAD16_BYTE( "fx2_mp1.13d",  0x000001, 0x020000, CRC(8af4a309) SHA1(538076359cfd08e99e42c05bcccd95df71856696) )
30043170
30053171   ROM_REGION( 0x040000, "slave", 0 ) /* Slave CPU */
3006   ROM_LOAD16_BYTE( "fx2sp0",  0x000000, 0x020000, CRC(48548e78) SHA1(b3a9de8682fe63c1c3ecab3e3f9380a884efd4af) )
3007   ROM_LOAD16_BYTE( "fx2sp1",  0x000001, 0x020000, CRC(d2861383) SHA1(36be5a8c8a19f35f9a9bd3ef725a83c5e58ccbe0) )
3172   ROM_LOAD16_BYTE( "fx2_sp0.11k", 0x000000, 0x020000, CRC(48548e78) SHA1(b3a9de8682fe63c1c3ecab3e3f9380a884efd4af) )
3173   ROM_LOAD16_BYTE( "fx2_sp1.13k", 0x000001, 0x020000, CRC(d2861383) SHA1(36be5a8c8a19f35f9a9bd3ef725a83c5e58ccbe0) )
30083174
30093175   ROM_REGION( 0x030000, "audiocpu", 0 ) /* Sound CPU (Banked) */
3010   ROM_LOAD( "fx1sd0", 0x00c000, 0x004000, CRC(acccc934) SHA1(98f1a823ba7e3f258a73d5780953f9339d438e1a) )
3176   ROM_LOAD( "fx1_sd0.7j", 0x00c000, 0x004000, CRC(acccc934) SHA1(98f1a823ba7e3f258a73d5780953f9339d438e1a) )
30113177   ROM_CONTINUE( 0x010000, 0x01c000 )
3012   ROM_RELOAD(  0x010000, 0x020000 )
3178   ROM_RELOAD(  0x010000, 0x020000 )
30133179
30143180   ROM_REGION( 0x010000, "mcu", 0 ) /* I/O MCU */
30153181   ROM_LOAD( "sys2mcpu.bin",  0x000000, 0x002000, CRC(a342a97e) SHA1(2c420d34dba21e409bf78ddca710fc7de65a6642) )
30163182   ROM_LOAD( "sys2c65c.bin",  0x008000, 0x008000, CRC(a5b2a4ff) SHA1(068bdfcc71a5e83706e8b23330691973c1c214dc) )
30173183
30183184   ROM_REGION( 0x400000, "gfx1", 0 ) /* Sprites */
3019   ROM_LOAD( "fxobj0",  0x000000, 0x040000, CRC(1aa60ffa) SHA1(1fa625a52c763b8db718af14e9f3cc3e076ff83b) )
3020   ROM_LOAD( "fxobj1",  0x040000, 0x040000, CRC(7509bc09) SHA1(823d8d884afc685dda26c1256c2d241c7f626f9e) )
3021   ROM_LOAD( "fxobj4",  0x080000, 0x040000, CRC(30add52a) SHA1(ff782d9dca96967233e435c3dd7d69ffde45db43) )
3022   ROM_LOAD( "fxobj5",  0x0c0000, 0x040000, CRC(e3cd2776) SHA1(6155e9ad90b8a885125c8a76e9c068247e7693ae) )
3023   ROM_LOAD( "fxobj8",  0x100000, 0x040000, CRC(b165acab) SHA1(86bd2cc22e25ddbf73e62426762aa72205868660) )
3024   ROM_LOAD( "fxobj9",  0x140000, 0x040000, CRC(90f0735b) SHA1(2adbe72c6547075c0cc0386789cc1b8c1a0bc84f) )
3025   ROM_LOAD( "fxobj12", 0x180000, 0x040000, CRC(f5e23b78) SHA1(99896bd7c6663e3f57cb5d206964b81b5d64c8b6) )
3026   ROM_LOAD( "fxobj13", 0x1c0000, 0x040000, CRC(04a25007) SHA1(0c33450b0d6907754dbf1914849d1630baa824bd) )
3027   ROM_LOAD( "fxobj2",  0x200000, 0x040000, CRC(243affc7) SHA1(738d62960e79b95079b2208ec48fa0f3738c7611) )
3028   ROM_LOAD( "fxobj3",  0x240000, 0x040000, CRC(b7e5d17d) SHA1(3d8ea7cbf33b595ddf739024e8d0fccd5f9e073b) )
3029   ROM_LOAD( "fxobj6",  0x280000, 0x040000, CRC(a2d5ce4a) SHA1(bbe9df3914632a573a95fcba76442404d149fb9d) )
3030   ROM_LOAD( "fxobj7",  0x2c0000, 0x040000, CRC(4d91c929) SHA1(97470a4ad7b28df83c632bfc8c309b24701275fe) )
3031   ROM_LOAD( "fxobj10", 0x300000, 0x040000, CRC(7a01e86f) SHA1(5fde10e53cb192df0f3873cd6d59c725430948f5) )
3032   ROM_LOAD( "fxobj11", 0x340000, 0x040000, CRC(514b3fe5) SHA1(19562ba2ac04a16d335bdc81b34d929f7ff9161c) )
3033   ROM_LOAD( "fxobj14", 0x380000, 0x040000, CRC(c1658c77) SHA1(ec689d0e5cf95085c193aa8949c6ec6e7243338b) )
3034   ROM_LOAD( "fxobj15", 0x3c0000, 0x040000, CRC(2bc909b3) SHA1(29c668d6d12ccdee25e97373bc4786894858d463) )
3185   ROM_LOAD( "fx_obj-0.4c",  0x000000, 0x040000, CRC(1aa60ffa) SHA1(1fa625a52c763b8db718af14e9f3cc3e076ff83b) )
3186   ROM_LOAD( "fx_obj-1.3c",  0x040000, 0x040000, CRC(7509bc09) SHA1(823d8d884afc685dda26c1256c2d241c7f626f9e) )
3187   ROM_LOAD( "fx_obj-4.4a",  0x080000, 0x040000, CRC(30add52a) SHA1(ff782d9dca96967233e435c3dd7d69ffde45db43) )
3188   ROM_LOAD( "fx_obj-5.3a",  0x0c0000, 0x040000, CRC(e3cd2776) SHA1(6155e9ad90b8a885125c8a76e9c068247e7693ae) )
3189   ROM_LOAD( "fx_obj-8.8c",  0x100000, 0x040000, CRC(b165acab) SHA1(86bd2cc22e25ddbf73e62426762aa72205868660) )
3190   ROM_LOAD( "fx_obj-9.7c",  0x140000, 0x040000, CRC(90f0735b) SHA1(2adbe72c6547075c0cc0386789cc1b8c1a0bc84f) )
3191   ROM_LOAD( "fx_obj-12.8a", 0x180000, 0x040000, CRC(f5e23b78) SHA1(99896bd7c6663e3f57cb5d206964b81b5d64c8b6) )
3192   ROM_LOAD( "fx_obj-13.7a", 0x1c0000, 0x040000, CRC(04a25007) SHA1(0c33450b0d6907754dbf1914849d1630baa824bd) )
3193   ROM_LOAD( "fx_obj2.2c",   0x200000, 0x040000, CRC(243affc7) SHA1(738d62960e79b95079b2208ec48fa0f3738c7611) )
3194   ROM_LOAD( "fx_obj-3.1c",  0x240000, 0x040000, CRC(b7e5d17d) SHA1(3d8ea7cbf33b595ddf739024e8d0fccd5f9e073b) )
3195   ROM_LOAD( "fx_obj6.2a",   0x280000, 0x040000, CRC(a2d5ce4a) SHA1(bbe9df3914632a573a95fcba76442404d149fb9d) )
3196   ROM_LOAD( "fx_obj7.1a",   0x2c0000, 0x040000, CRC(4d91c929) SHA1(97470a4ad7b28df83c632bfc8c309b24701275fe) )
3197   ROM_LOAD( "fx_obj10.6c",  0x300000, 0x040000, CRC(7a01e86f) SHA1(5fde10e53cb192df0f3873cd6d59c725430948f5) )
3198   ROM_LOAD( "fx_obj-11.5c", 0x340000, 0x040000, CRC(514b3fe5) SHA1(19562ba2ac04a16d335bdc81b34d929f7ff9161c) )
3199   ROM_LOAD( "fx_obj-14.6a", 0x380000, 0x040000, CRC(c1658c77) SHA1(ec689d0e5cf95085c193aa8949c6ec6e7243338b) )
3200   ROM_LOAD( "fx_obj15.5a",  0x3c0000, 0x040000, CRC(2bc909b3) SHA1(29c668d6d12ccdee25e97373bc4786894858d463) )
30353201
30363202   ROM_REGION( 0x400000, "gfx2", 0 ) /* Tiles */
3037   NAMCOS2_GFXROM_LOAD_128K( "fxchr0",  0x000000, CRC(6658c1c3) SHA1(64b5466e0f94cf5f3cb92915a26331748f67041a) )
3038   NAMCOS2_GFXROM_LOAD_128K( "fxchr1",  0x080000, CRC(3a888943) SHA1(6540b417003045dfa1401a1ff04ac55b86cc177f) )
3039   NAMCOS2_GFXROM_LOAD_128K( "fxch2",    0x100000, CRC(fdf1e86b) SHA1(91a61c10a9e92f8bbc26ffc9cb72deb31378a843) )
3040   NAMCOS2_GFXROM_LOAD_128K( "fxchr3",  0x180000, CRC(47fa7e61) SHA1(cc2eed81ddb4f942dd7a07e474760e4608eb4da0) )
3041   NAMCOS2_GFXROM_LOAD_128K( "fxchr4",  0x200000, CRC(c720c5f5) SHA1(f68f369bbefe01c770314ea597dd88587638c62a) )
3042   NAMCOS2_GFXROM_LOAD_128K( "fxchr5",  0x280000, CRC(9eacdbc8) SHA1(ca4061afc9e61eeb543f2a3740812abf6a1049bc) )
3043   NAMCOS2_GFXROM_LOAD_128K( "fxchr6",  0x300000, CRC(c3dba42e) SHA1(2b5a8fabec11ccd44156ecfccf86fc713845d262) )
3044   NAMCOS2_GFXROM_LOAD_128K( "fxchr7",  0x380000, CRC(c009f3ae) SHA1(394beed29bda97f4f5ba532bc0bd22177154746b) )
3203   NAMCOS2_GFXROM_LOAD_128K( "fx_chr-0.11n", 0x000000, CRC(6658c1c3) SHA1(64b5466e0f94cf5f3cb92915a26331748f67041a) )
3204   NAMCOS2_GFXROM_LOAD_128K( "fx_chr-1.11p", 0x080000, CRC(3a888943) SHA1(6540b417003045dfa1401a1ff04ac55b86cc177f) )
3205   NAMCOS2_GFXROM_LOAD_128K( "fx2_ch2.11r",  0x100000, CRC(fdf1e86b) SHA1(91a61c10a9e92f8bbc26ffc9cb72deb31378a843) )
3206   NAMCOS2_GFXROM_LOAD_128K( "fx_chr-3.11s", 0x180000, CRC(47fa7e61) SHA1(cc2eed81ddb4f942dd7a07e474760e4608eb4da0) )
3207   NAMCOS2_GFXROM_LOAD_128K( "fx_chr-4.9n",  0x200000, CRC(c720c5f5) SHA1(f68f369bbefe01c770314ea597dd88587638c62a) )
3208   NAMCOS2_GFXROM_LOAD_128K( "fx_chr-5.9p",  0x280000, CRC(9eacdbc8) SHA1(ca4061afc9e61eeb543f2a3740812abf6a1049bc) )
3209   NAMCOS2_GFXROM_LOAD_128K( "fx_chr-6.9r",  0x300000, CRC(c3dba42e) SHA1(2b5a8fabec11ccd44156ecfccf86fc713845d262) )
3210   NAMCOS2_GFXROM_LOAD_128K( "fx_chr-7.9s",  0x380000, CRC(c009f3ae) SHA1(394beed29bda97f4f5ba532bc0bd22177154746b) )
30453211
30463212   ROM_REGION( 0x400000, "gfx3", ROMREGION_ERASEFF ) /* ROZ Tiles */
30473213   /* No ROZ files in zip */
30483214
30493215   ROM_REGION( 0x080000, "gfx4", 0 ) /* Mask shape */
3050   NAMCOS2_GFXROM_LOAD_128K( "fxsha",   0x000000, CRC(f7aa4af7) SHA1(b18ffda9e35beb0f072825e2899691be370f33b1) )
3216   NAMCOS2_GFXROM_LOAD_128K( "fx_sha.7n", 0x000000, CRC(f7aa4af7) SHA1(b18ffda9e35beb0f072825e2899691be370f33b1) )
30513217
30523218   ROM_REGION16_BE( 0x200000, "user1", 0 ) /* Shared data roms */
3053   NAMCOS2_DATA_LOAD_E_256K( "fxdat0",  0x000000, CRC(63abf69b) SHA1(6776991eeff434bf9720f49ad6e62c37fc7ddf40) )
3054   NAMCOS2_DATA_LOAD_O_256K( "fxdat1",  0x000000, CRC(725bed14) SHA1(bbf886ac7f8c2c7857bc0b5d7f8fc7e63e8e9559) )
3055   NAMCOS2_DATA_LOAD_E_256K( "fxdat2",  0x100000, CRC(71e4a5a0) SHA1(a0188c920a43c5e69e25464627094b6b6ed26a59) )
3056   NAMCOS2_DATA_LOAD_O_256K( "fxdat3",  0x100000, CRC(605725f7) SHA1(b94ce0ec37f879a5e46a097058cb2dd57e2281f1) )
3219   NAMCOS2_DATA_LOAD_E_256K( "fx_dat0.13s", 0x000000, CRC(63abf69b) SHA1(6776991eeff434bf9720f49ad6e62c37fc7ddf40) )
3220   NAMCOS2_DATA_LOAD_O_256K( "fx_dat1.13r", 0x000000, CRC(725bed14) SHA1(bbf886ac7f8c2c7857bc0b5d7f8fc7e63e8e9559) )
3221   NAMCOS2_DATA_LOAD_E_256K( "fx_dat2.13p", 0x100000, CRC(71e4a5a0) SHA1(a0188c920a43c5e69e25464627094b6b6ed26a59) )
3222   NAMCOS2_DATA_LOAD_O_256K( "fx_dat3.13n", 0x100000, CRC(605725f7) SHA1(b94ce0ec37f879a5e46a097058cb2dd57e2281f1) )
30573223
30583224   ROM_REGION( 0x100, "user3", 0 ) /* prom for road colors */
30593225   ROM_LOAD( "fx1_1.5b", 0, 0x100, CRC(85ffd753) SHA1(7dbc8c295204877f41289141a146aa4f5f9f9c96) )
30603226
30613227   ROM_REGION( 0x100000, "c140", 0 ) /* Sound voices */
3062   ROM_LOAD( "fxvoi1", 0x000000, 0x080000, CRC(6173364f) SHA1(cc426f49b7e87b11f1f51e8e10db7cad87ffb44d) )
3228   ROM_LOAD( "fx_voi-1.3m", 0x000000, 0x080000, CRC(6173364f) SHA1(cc426f49b7e87b11f1f51e8e10db7cad87ffb44d) )
30633229ROM_END
30643230
30653231/* MARVEL LAND (USA) */
r5338r5339
31143280ROM_END
31153281
31163282/* MARVEL LAND (JAPAN) */
3117ROM_START( marvlanj )
3283ROM_START( marvlandj )
31183284   ROM_REGION( 0x040000, "maincpu", 0 ) /* Master CPU */
31193285   ROM_LOAD16_BYTE( "mv1-mpr0.bin",  0x000000, 0x010000, CRC(8369120f) SHA1(58cf481bf97f74a91ecc5ff77696528441b41b04) )
31203286   ROM_LOAD16_BYTE( "mv1-mpr1.bin",  0x000001, 0x010000, CRC(6d5442cc) SHA1(8cdaf6e1ec735740ace78393df2d867a213a4725) )
r5338r5339
32313397ROM_END
32323398
32333399/* METAL HAWK (Japan) */
3234ROM_START( metlhwkj )
3400ROM_START( metlhawkj )
32353401   ROM_REGION( 0x040000, "maincpu", 0 ) /* Master CPU */
32363402   ROM_LOAD16_BYTE( "mh1mpr0f.11d",  0x000000, 0x020000, CRC(e22dfb6e) SHA1(41a8d30081bc7206aae655626dcef01e8f744905) )
32373403   ROM_LOAD16_BYTE( "mh1mpr1f.13d",  0x000001, 0x020000, CRC(d139a7b7) SHA1(ba68221ca6f91ab619e9b2c478d8988abfc86c8c) )
r5338r5339
37133879ROM_END
37143880
37153881/* STEEL GUNNER 2 */
3716ROM_START( sgunner2)
3882ROM_START( sgunner2 )
37173883   ROM_REGION( 0x040000, "maincpu", 0 ) /* Master CPU */
37183884   ROM_LOAD16_BYTE( "sns2mpr0.bin",  0x000000, 0x020000, CRC(f1a44039) SHA1(c8e73c786a69780d9c66c5d599713976d541e36c) )
37193885   ROM_LOAD16_BYTE( "sns2mpr1.bin",  0x000001, 0x020000, CRC(9184c4db) SHA1(ef3208157d6e5278a99baca0b31f0d43e5ffd89a) )
r5338r5339
37653931ROM_END
37663932
37673933/* STEEL GUNNER 2 (Japan) */
3768ROM_START( sgunnr2j)
3934ROM_START( sgunner2j )
37693935   ROM_REGION( 0x040000, "maincpu", 0 ) /* Master CPU */
37703936   ROM_LOAD16_BYTE( "sns1mpr0.a",  0x000000, 0x020000, CRC(e7216ad7) SHA1(ebc8e31ee6909d89bc4f40889e80f3c8b46dcd85) )
37713937   ROM_LOAD16_BYTE( "sns1mpr1.a",  0x000001, 0x020000, CRC(6caef2ee) SHA1(8003517ff8b74480147786af3abdc7a78ba9d379) )
r5338r5339
40534219ROM_END /* suzuka8h */
40544220
40554221/* SUZUKA 8 HOURS (Japan) */
4056ROM_START( suzuk8hj )
4222ROM_START( suzuka8hj )
40574223   ROM_REGION( 0x040000, "maincpu", 0 ) /* Master CPU */
40584224   ROM_LOAD16_BYTE( "eh1-mp0b.bin",  0x000000, 0x020000, CRC(2850f469) SHA1(65142451db8ddbd1500f4bb5d5a6b2ede5871dd5) )
40594225   ROM_LOAD16_BYTE( "eh1-mp1b.bin",  0x000001, 0x020000, CRC(be83eb2c) SHA1(f54ca4469050f734e4c2d7d681e3e51cc067f2c2) )
r5338r5339
42744440ROM_END
42754441
42764442/* KYUUKAI DOUCHUUKI (OLD) */
4277ROM_START( kyukaido )
4443ROM_START( kyukaidko )
42784444   ROM_REGION( 0x040000, "maincpu", 0 )     /* Master CPU */
42794445   ROM_LOAD16_BYTE( "ky1_mp0.bin",  0x000000, 0x010000, CRC(01978a19) SHA1(dac40f6629ee025733ac160d83523488c99794c7) )
42804446   ROM_LOAD16_BYTE( "ky1_mp1.bin",  0x000001, 0x010000, CRC(b40717a7) SHA1(10a0e4eaa2502f51f34949007e6cc9d3bf031554) )
r5338r5339
45884754ROM_END
45894755
45904756/* LUCKY & WILD (Japan) */
4591ROM_START( lckywldj )
4757ROM_START( luckywldj )
45924758   ROM_REGION( 0x040000, "maincpu", 0 ) /* Master CPU */
45934759   ROM_LOAD16_BYTE( "lw1mpr0.11d",   0x000000, 0x020000, CRC(7dce8ba6) SHA1(6cd307e5d88038eda6e061113d7ef2c059da915e) )
45944760   ROM_LOAD16_BYTE( "lw1mpr1.13d",   0x000001, 0x020000, CRC(ce3b0f37) SHA1(e9edb953eae21465ea231de9d6f2e7f1072c4440) )
r5338r5339
48605026/* and metal hawk have the B version and dragon saber has the C version       */
48615027
48625028/*    YEAR, NAME,     PARENT,   MACHINE,  INPUT,    INIT,     MONITOR, COMPANY, FULLNAME */
4863GAMEL(1987, finallap, 0,        finallap, finallap, finallap, ROT0,   "Namco", "Final Lap (Rev E)", GAME_IMPERFECT_GRAPHICS, layout_finallap )
4864GAMEL(1987, finalapd, finallap, finallap, finallap, finallap, ROT0,   "Namco", "Final Lap (Rev D)", GAME_IMPERFECT_GRAPHICS, layout_finallap )
4865GAMEL(1987, finalapc, finallap, finallap, finallap, finallap, ROT0,   "Namco", "Final Lap (Rev C)", GAME_IMPERFECT_GRAPHICS, layout_finallap )
4866GAMEL(1987, finlapjc, finallap, finallap, finallap, finallap, ROT0,   "Namco", "Final Lap (Japan - Rev C)", GAME_IMPERFECT_GRAPHICS, layout_finallap )
4867GAMEL(1987, finlapjb, finallap, finallap, finallap, finallap, ROT0,   "Namco", "Final Lap (Japan - Rev B)", GAME_IMPERFECT_GRAPHICS, layout_finallap )
4868GAME( 1988, assault,  0,        default2, assault,  assault , ROT90,  "Namco", "Assault" , 0)      /* adjusted */
4869GAME( 1988, assaultj, assault,  default2, assault,  assaultj, ROT90,  "Namco", "Assault (Japan)" , 0)   /* adjusted */
4870GAME( 1988, assaultp, assault,  default2, assault,  assaultp, ROT90,  "Namco", "Assault Plus (Japan)" , 0)   /* adjusted */
4871GAME( 1988, metlhawk, 0,        metlhawk, metlhawk, metlhawk, ROT90,  "Namco", "Metal Hawk", 0)
4872GAME( 1988, metlhwkj, metlhawk, metlhawk, metlhawk, metlhawk, ROT90,  "Namco", "Metal Hawk (Japan)", 0)
4873GAME( 1988, ordyne,   0,        default,  default,  ordyne,   ROT180, "Namco", "Ordyne (Japan, English Version)", 0 )
4874GAME( 1988, ordynej,  ordyne,   default,  default,  ordyne,   ROT180, "Namco", "Ordyne (Japan)", 0 )
4875GAME( 1988, mirninja, 0,        default,  default,  mirninja, ROT0,   "Namco", "Mirai Ninja (Japan)", 0 )
4876GAME( 1988, phelios,  0,        default2, default,  phelios , ROT90,  "Namco", "Phelios (Japan)" , 0)   /* adjusted */
4877GAME( 1989, dirtfoxj, 0,        default2, dirtfox,  dirtfoxj, ROT90,  "Namco", "Dirt Fox (Japan)" , 0)   /* adjusted */
4878GAME( 1989, fourtrax, 0,        finallap, fourtrax, fourtrax, ROT0,   "Namco", "Four Trax", GAME_IMPERFECT_GRAPHICS )
4879GAME( 1989, valkyrie, 0,        default3, default,  valkyrie, ROT90,  "Namco", "Valkyrie No Densetsu (Japan)", 0 )
4880GAME( 1989, finehour, 0,        default2, default,  finehour, ROT0,   "Namco", "Finest Hour (Japan)" , 0)      /* adjusted */
4881GAME( 1989, burnforc, 0,        default3, default,  burnforc, ROT0,   "Namco", "Burning Force (Japan new version)", 0 )
4882GAME( 1989, burnfrco, burnforc, default3, default,  burnforc, ROT0,   "Namco", "Burning Force (Japan old version)", 0 )
4883GAME( 1989, marvland, 0,        default,  default,  marvland, ROT0,   "Namco", "Marvel Land (US)", 0 )
4884GAME( 1989, marvlanj, marvland, default,  default,  marvlanj, ROT0,   "Namco", "Marvel Land (Japan)", 0 )
4885GAME( 1990, kyukaidk, 0,        default,  kyukaidk, kyukaidk, ROT0,   "Namco", "Kyuukai Douchuuki (Japan new version)", 0 )
4886GAME( 1990, kyukaido, kyukaidk, default,  kyukaidk, kyukaidk, ROT0,   "Namco", "Kyuukai Douchuuki (Japan old version)", 0 )
4887GAME( 1990, dsaber,   0,        default3, default,  dsaber,   ROT90,  "Namco", "Dragon Saber", 0 )
4888GAME( 1990, dsaberj,  dsaber,   default3, default,  dsaberj,  ROT90,  "Namco", "Dragon Saber (Japan)", 0 )
4889GAMEL(1990, finalap2, 0,        finallap, finallap, finalap2, ROT0,   "Namco", "Final Lap 2", GAME_IMPERFECT_GRAPHICS, layout_finallap  )
4890GAMEL(1990, finalp2j, finalap2, finallap, finallap, finalap2, ROT0,   "Namco", "Final Lap 2 (Japan)", GAME_IMPERFECT_GRAPHICS, layout_finallap  )
4891GAME( 1990, gollygho, 0,        gollygho, gollygho, gollygho, ROT180, "Namco", "Golly! Ghost!", 0 )
4892GAME( 1990, rthun2,   0,        default3, default,  rthun2,   ROT0,   "Namco", "Rolling Thunder 2", 0 )
4893GAME( 1990, rthun2j,  rthun2,   default3, default,  rthun2j,  ROT0,   "Namco", "Rolling Thunder 2 (Japan)", 0 )
4894GAME( 1990, sgunner,  0,        sgunner,  sgunner,  sgunner2, ROT0,   "Namco", "Steel Gunner", 0 )
4895GAME( 1990, sgunnerj, sgunner,  sgunner,  sgunner,  sgunner2, ROT0,   "Namco", "Steel Gunner (Japan)", 0 )
4896GAME( 1991, sgunner2, 0,        sgunner,  sgunner,  sgunner2, ROT0,   "Namco", "Steel Gunner 2 (US)", 0 )
4897GAME( 1991, sgunnr2j, sgunner2, sgunner,  sgunner,  sgunner2, ROT0,   "Namco", "Steel Gunner 2 (Japan)", 0 )
4898GAME( 1991, cosmogng, 0,        default,  default,  cosmogng, ROT90,  "Namco", "Cosmo Gang the Video (US)", 0 )
4899GAME( 1991, cosmognj, cosmogng, default,  default,  cosmogng, ROT90,  "Namco", "Cosmo Gang the Video (Japan)", 0 )
4900GAME( 1992, bubbletr, 0,        gollygho, bubbletr, bubbletr, ROT180, "Namco", "Bubble Trouble (Japan)", GAME_IMPERFECT_GRAPHICS )   /* missing external artwork */
4901GAMEL(1992, finalap3, 0,        finallap, finalap3, finalap3, ROT0,   "Namco", "Final Lap 3 (World)", GAME_IMPERFECT_GRAPHICS, layout_finallap  )
4902GAMEL(1992, finalp3j, finalap3, finallap, finalap3, finalap3, ROT0,   "Namco", "Final Lap 3 (Japan)", GAME_IMPERFECT_GRAPHICS, layout_finallap  )
4903GAME( 1992, luckywld, 0,        luckywld, luckywld, luckywld, ROT0,   "Namco", "Lucky & Wild", 0 )
4904GAME( 1992, lckywldj, luckywld, luckywld, luckywld, luckywld, ROT0,   "Namco", "Lucky & Wild (Japan)", 0 )
4905GAME( 1992, suzuka8h, 0,        luckywld, suzuka,   suzuka8h, ROT0,   "Namco", "Suzuka 8 Hours (World)", GAME_IMPERFECT_GRAPHICS )
4906GAME( 1992, suzuk8hj, suzuka8h, luckywld, suzuka,   suzuka8h, ROT0,   "Namco", "Suzuka 8 Hours (Japan)", GAME_IMPERFECT_GRAPHICS  )
4907GAME( 1992, sws,      0,        default,  default,  sws,      ROT0,   "Namco", "Super World Stadium (Japan)", 0 )
4908GAME( 1992, sws92,    0,        default,  default,  sws92,    ROT0,   "Namco", "Super World Stadium '92 (Japan)", 0 )
4909GAME( 1992, sws92g,   sws92,    default,  default,  sws92g,   ROT0,   "Namco", "Super World Stadium '92 Gekitouban (Japan)", 0 )
4910GAME( 1993, suzuk8h2, 0,        luckywld, suzuka,   suzuk8h2, ROT0,   "Namco", "Suzuka 8 Hours 2 (World)", GAME_IMPERFECT_GRAPHICS )
4911GAME( 1993, sws93,    0,        default,  default,  sws93,    ROT0,   "Namco", "Super World Stadium '93 (Japan)", 0 )
5029GAMEL(1987, finallap,  0,        finallap, finallap, finallap, ROT0,   "Namco", "Final Lap (Rev E)", GAME_IMPERFECT_GRAPHICS, layout_finallap )
5030GAMEL(1987, finallapd, finallap, finallap, finallap, finallap, ROT0,   "Namco", "Final Lap (Rev D)", GAME_IMPERFECT_GRAPHICS, layout_finallap )
5031GAMEL(1987, finallapc, finallap, finallap, finallap, finallap, ROT0,   "Namco", "Final Lap (Rev C)", GAME_IMPERFECT_GRAPHICS, layout_finallap )
5032GAMEL(1987, finallapjc,finallap, finallap, finallap, finallap, ROT0,   "Namco", "Final Lap (Japan - Rev C)", GAME_IMPERFECT_GRAPHICS, layout_finallap )
5033GAMEL(1987, finallapjb,finallap, finallap, finallap, finallap, ROT0,   "Namco", "Final Lap (Japan - Rev B)", GAME_IMPERFECT_GRAPHICS, layout_finallap )
5034GAME( 1988, assault,   0,        default2, assault,  assault , ROT90,  "Namco", "Assault" , 0)      /* adjusted */
5035GAME( 1988, assaultj,  assault,  default2, assault,  assaultj, ROT90,  "Namco", "Assault (Japan)" , 0)   /* adjusted */
5036GAME( 1988, assaultp,  assault,  default2, assault,  assaultp, ROT90,  "Namco", "Assault Plus (Japan)" , 0)   /* adjusted */
5037GAME( 1988, metlhawk,  0,        metlhawk, metlhawk, metlhawk, ROT90,  "Namco", "Metal Hawk", 0)
5038GAME( 1988, metlhawkj, metlhawk, metlhawk, metlhawk, metlhawk, ROT90,  "Namco", "Metal Hawk (Japan)", 0)
5039GAME( 1988, ordyne,    0,        default,  default,  ordyne,   ROT180, "Namco", "Ordyne (Japan, English Version)", 0 )
5040GAME( 1988, ordynej,   ordyne,   default,  default,  ordyne,   ROT180, "Namco", "Ordyne (Japan)", 0 )
5041GAME( 1988, mirninja,  0,        default,  default,  mirninja, ROT0,   "Namco", "Mirai Ninja (Japan)", 0 )
5042GAME( 1988, phelios,   0,        default2, default,  phelios , ROT90,  "Namco", "Phelios (Japan)" , 0)   /* adjusted */
5043GAME( 1989, dirtfoxj,  0,        default2, dirtfox,  dirtfoxj, ROT90,  "Namco", "Dirt Fox (Japan)" , 0)   /* adjusted */
5044GAME( 1989, fourtrax,  0,        finallap, fourtrax, fourtrax, ROT0,   "Namco", "Four Trax", GAME_IMPERFECT_GRAPHICS )
5045GAME( 1989, valkyrie,  0,        default3, default,  valkyrie, ROT90,  "Namco", "Valkyrie No Densetsu (Japan)", 0 )
5046GAME( 1989, finehour,  0,        default2, default,  finehour, ROT0,   "Namco", "Finest Hour (Japan)" , 0)      /* adjusted */
5047GAME( 1989, burnforc,  0,        default3, default,  burnforc, ROT0,   "Namco", "Burning Force (Japan new version)", 0 )
5048GAME( 1989, burnforco, burnforc, default3, default,  burnforc, ROT0,   "Namco", "Burning Force (Japan old version)", 0 )
5049GAME( 1989, marvland,  0,        default,  default,  marvland, ROT0,   "Namco", "Marvel Land (US)", 0 )
5050GAME( 1989, marvlandj, marvland, default,  default,  marvlanj, ROT0,   "Namco", "Marvel Land (Japan)", 0 )
5051GAME( 1990, kyukaidk,  0,        default,  kyukaidk, kyukaidk, ROT0,   "Namco", "Kyuukai Douchuuki (Japan new version)", 0 )
5052GAME( 1990, kyukaidko, kyukaidk, default,  kyukaidk, kyukaidk, ROT0,   "Namco", "Kyuukai Douchuuki (Japan old version)", 0 )
5053GAME( 1990, dsaber,    0,        default3, default,  dsaber,   ROT90,  "Namco", "Dragon Saber", 0 )
5054GAME( 1990, dsaberj,   dsaber,   default3, default,  dsaberj,  ROT90,  "Namco", "Dragon Saber (Japan)", 0 )
5055GAMEL(1990, finalap2,  0,        finallap, finallap, finalap2, ROT0,   "Namco", "Final Lap 2", GAME_IMPERFECT_GRAPHICS, layout_finallap  )
5056GAMEL(1990, finalap2j, finalap2, finallap, finallap, finalap2, ROT0,   "Namco", "Final Lap 2 (Japan)", GAME_IMPERFECT_GRAPHICS, layout_finallap  )
5057GAME( 1990, gollygho,  0,        gollygho, gollygho, gollygho, ROT180, "Namco", "Golly! Ghost!", 0 )
5058GAME( 1990, rthun2,    0,        default3, default,  rthun2,   ROT0,   "Namco", "Rolling Thunder 2", 0 )
5059GAME( 1990, rthun2j,   rthun2,   default3, default,  rthun2j,  ROT0,   "Namco", "Rolling Thunder 2 (Japan)", 0 )
5060GAME( 1990, sgunner,   0,        sgunner,  sgunner,  sgunner2, ROT0,   "Namco", "Steel Gunner", 0 )
5061GAME( 1990, sgunnerj,  sgunner,  sgunner,  sgunner,  sgunner2, ROT0,   "Namco", "Steel Gunner (Japan)", 0 )
5062GAME( 1991, sgunner2,  0,        sgunner,  sgunner,  sgunner2, ROT0,   "Namco", "Steel Gunner 2 (US)", 0 )
5063GAME( 1991, sgunner2j, sgunner2, sgunner,  sgunner,  sgunner2, ROT0,   "Namco", "Steel Gunner 2 (Japan)", 0 )
5064GAME( 1991, cosmogng,  0,        default,  default,  cosmogng, ROT90,  "Namco", "Cosmo Gang the Video (US)", 0 )
5065GAME( 1991, cosmogngj, cosmogng, default,  default,  cosmogng, ROT90,  "Namco", "Cosmo Gang the Video (Japan)", 0 )
5066GAME( 1992, bubbletr,  0,        gollygho, bubbletr, bubbletr, ROT180, "Namco", "Bubble Trouble (Japan)", GAME_IMPERFECT_GRAPHICS )   /* missing external artwork */
5067GAMEL(1992, finalap3,  0,        finallap, finalap3, finalap3, ROT0,   "Namco", "Final Lap 3 (World)", GAME_IMPERFECT_GRAPHICS, layout_finallap  )
5068GAMEL(1992, finalap3j, finalap3, finallap, finalap3, finalap3, ROT0,   "Namco", "Final Lap 3 (Japan)", GAME_IMPERFECT_GRAPHICS, layout_finallap  )
5069GAME( 1992, luckywld,  0,        luckywld, luckywld, luckywld, ROT0,   "Namco", "Lucky & Wild", 0 )
5070GAME( 1992, luckywldj, luckywld, luckywld, luckywld, luckywld, ROT0,   "Namco", "Lucky & Wild (Japan)", 0 )
5071GAME( 1992, suzuka8h,  0,        luckywld, suzuka,   suzuka8h, ROT0,   "Namco", "Suzuka 8 Hours (World)", GAME_IMPERFECT_GRAPHICS )
5072GAME( 1992, suzuka8hj, suzuka8h, luckywld, suzuka,   suzuka8h, ROT0,   "Namco", "Suzuka 8 Hours (Japan)", GAME_IMPERFECT_GRAPHICS  )
5073GAME( 1992, sws,       0,        default,  default,  sws,      ROT0,   "Namco", "Super World Stadium (Japan)", 0 )
5074GAME( 1992, sws92,     0,        default,  default,  sws92,    ROT0,   "Namco", "Super World Stadium '92 (Japan)", 0 )
5075GAME( 1992, sws92g,    sws92,    default,  default,  sws92g,   ROT0,   "Namco", "Super World Stadium '92 Gekitouban (Japan)", 0 )
5076GAME( 1993, suzuk8h2,  0,        luckywld, suzuka,   suzuk8h2, ROT0,   "Namco", "Suzuka 8 Hours 2 (World)", GAME_IMPERFECT_GRAPHICS )
5077GAME( 1993, sws93,     0,        default,  default,  sws93,    ROT0,   "Namco", "Super World Stadium '93 (Japan)", 0 )
src/mame/drivers/tx1.c
r5338r5339
11421142    - CPU Board (labeled TC041, middle board, uses 15.000 MHz xtal)
11431143    - Video Board (labeled TC042, bottom board, uses 18.000 MHz xtal)
11441144*/
1145ROM_START( buggybjr )
1145ROM_START( buggyboyjr )
11461146   ROM_REGION( 0x100000, "main_cpu", 0 )
11471147   ROM_LOAD16_BYTE( "bug1a.214", 0x20000, 0x8000, CRC(92797c25) SHA1(8f7434abbd7f557d3202abb01b1e4899c82c67a5) )
11481148   ROM_LOAD16_BYTE( "bug4a.175", 0x20001, 0x8000, CRC(40ce3930) SHA1(4bf62ebeea1549a13a21a32cb860717f064b186a) )
r5338r5339
12461246 *
12471247 *************************************/
12481248
1249GAMEL( 1983, tx1,      0,        tx1,      tx1,      0, ROT0, "Tatsumi", "TX-1",                                   GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND, layout_tx1 )
1250GAMEL( 1983, tx1a,     tx1,      tx1,      tx1a,     0, ROT0, "Tatsumi", "TX-1 (Atari/Namco/Taito license)",       GAME_IMPERFECT_SOUND, layout_tx1 )
1251GAMEL( 1985, buggyboy, 0,        buggyboy, buggyboy, 0, ROT0, "Tatsumi", "Buggy Boy/Speed Buggy (cockpit)",        0, layout_buggyboy )
1252GAMEL( 1986, buggybjr, buggyboy, buggybjr, buggybjr, 0, ROT0, "Tatsumi", "Buggy Boy Junior/Speed Buggy (upright)", 0, layout_buggybjr )
1249GAMEL( 1983, tx1,        0,        tx1,      tx1,      0, ROT0, "Tatsumi", "TX-1",                                   GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND, layout_tx1 )
1250GAMEL( 1983, tx1a,       tx1,      tx1,      tx1a,     0, ROT0, "Tatsumi", "TX-1 (Atari/Namco/Taito license)",       GAME_IMPERFECT_SOUND, layout_tx1 )
1251GAMEL( 1985, buggyboy,   0,        buggyboy, buggyboy, 0, ROT0, "Tatsumi", "Buggy Boy/Speed Buggy (cockpit)",        0, layout_buggyboy )
1252GAMEL( 1986, buggyboyjr, buggyboy, buggybjr, buggybjr, 0, ROT0, "Tatsumi", "Buggy Boy Junior/Speed Buggy (upright)", 0, layout_buggybjr )
src/mame/drivers/merit.c
r5338r5339
17091709   ROM_LOAD( "phrz.6",       0x50000, 0x8000, CRC(48e24f17) SHA1(f50c85505f6ab2360f0885494001f174224f8575) )
17101710ROM_END
17111711
1712ROM_START( phrcraza )
1712ROM_START( phrcrazea )
17131713   ROM_REGION( 0x10000, "maincpu", 0 )
17141714   ROM_LOAD( "merit5.u5",      0x00000, 0x8000, CRC(d04c7657) SHA1(0b59fbf553eb5b68544ee2f94cf8106ab30ff1ed) )
17151715
r5338r5339
17341734   ROM_LOAD( "merit2_0.9",     0x90000, 0x8000, CRC(367f1dfa) SHA1(01d69004c365acefb0e52ac12593a3874c16ab9d) )
17351735ROM_END
17361736
1737ROM_START( phrcrazs )
1737ROM_START( phrcrazes )
17381738   ROM_REGION( 0x10000, "maincpu", 0 )
17391739   ROM_LOAD( "u5.bin",       0x00000, 0x8000, CRC(6122b5bb) SHA1(9952b14334287a992eefefbdc887b9a9215304ef) )
17401740
r5338r5339
19101910GAME( 1985, tictac,   0,       tictac,   tictac,   key_4,  ROT0,  "Merit", "Tic Tac Trivia",                              GAME_SUPPORTS_SAVE )
19111911
19121912GAME( 1986, phrcraze, 0,       phrcraze, phrcraze, key_7,  ROT0,  "Merit", "Phraze Craze (set 1)",                        GAME_SUPPORTS_SAVE )
1913GAME( 1986, phrcraza, phrcraze,phrcraze, phrcraze, key_7,  ROT0,  "Merit", "Phraze Craze (set 2)",                        GAME_SUPPORTS_SAVE )
1914GAME( 1986, phrcrazs, phrcraze,phrcraze, phrcrazs, key_7,  ROT90, "Merit", "Phraze Craze (Sex Kit)",                      GAME_SUPPORTS_SAVE )
1913GAME( 1986, phrcrazea,phrcraze,phrcraze, phrcraze, key_7,  ROT0,  "Merit", "Phraze Craze (set 2)",                        GAME_SUPPORTS_SAVE )
1914GAME( 1986, phrcrazes,phrcraze,phrcraze, phrcrazs, key_7,  ROT90, "Merit", "Phraze Craze (Sex Kit)",                      GAME_SUPPORTS_SAVE )
19151915
19161916GAME( 1986, bigappg,  0,       bigappg,  bigappg,  0,      ROT0,  "Merit", "Big Apple Games",                             GAME_SUPPORTS_SAVE )
19171917
src/mame/drivers/blstroid.c
r5338r5339
263263ROM_END
264264
265265
266ROM_START( blstroi3 )
266ROM_START( blstroid3 )
267267   ROM_REGION( 0x40000, "maincpu", 0 )   /* 4*64k for 68000 code */
268268   ROM_LOAD16_BYTE( "136057-3123.6c",  0x000000, 0x010000, CRC(8fb050f5) SHA1(4944ffb0843262afe41fc6b876ab6858dcefc95f) )
269269   ROM_LOAD16_BYTE( "136057-3121.6b",  0x000001, 0x010000, CRC(21fae262) SHA1(2516a75d76bcfdea5ab41a4898d47ed166bd1996) )
r5338r5339
300300ROM_END
301301
302302
303ROM_START( blstroi2 )
303ROM_START( blstroid2 )
304304   ROM_REGION( 0x40000, "maincpu", 0 )   /* 4*64k for 68000 code */
305305   ROM_LOAD16_BYTE( "136057-2123.6c",  0x000000, 0x010000, CRC(5a092513) SHA1(11396125842ea3a43d61b4ce266bb8053fdefd73) )
306306   ROM_LOAD16_BYTE( "136057-2121.6b",  0x000001, 0x010000, CRC(486aac51) SHA1(5e7fe7eb225d1c2701c21658ba2bad14ef7b64b1) )
r5338r5339
337337ROM_END
338338
339339
340ROM_START( blstroig )
340ROM_START( blstroidg )
341341   ROM_REGION( 0x40000, "maincpu", 0 )   /* 4*64k for 68000 code */
342342   ROM_LOAD16_BYTE( "136057-2223.6c",  0x000000, 0x010000, CRC(cc82108b) SHA1(487a80cac2a196e9b17c64c5d0b884d1ed8da401) )
343343   ROM_LOAD16_BYTE( "136057-2221.6b",  0x000001, 0x010000, CRC(84822e68) SHA1(763edc9b3605e583506ca1d9befab66411fc720a) )
r5338r5339
374374ROM_END
375375
376376
377ROM_START( blsthead )
377ROM_START( blstroidh )
378378   ROM_REGION( 0x40000, "maincpu", 0 )   /* 4*64k for 68000 code */
379379   ROM_LOAD16_BYTE( "eheadh0.c6",  0x00000, 0x10000, CRC(061f0898) SHA1(a277399aa8af665b1fb40c2bb4cf5d36d333db8d) )
380380   ROM_LOAD16_BYTE( "eheadl0.b6",  0x00001, 0x10000, CRC(ae8df7cb) SHA1(9eaf377bbfa09e2d3ae77764dbf09ff79b65b34f) )
r5338r5339
432432 *
433433 *************************************/
434434
435GAME( 1987, blstroid, 0,        blstroid, blstroid, blstroid, ROT0, "Atari Games", "Blasteroids (rev 4)", 0 )
436GAME( 1987, blstroi3, blstroid, blstroid, blstroid, blstroid, ROT0, "Atari Games", "Blasteroids (rev 3)", 0 )
437GAME( 1987, blstroi2, blstroid, blstroid, blstroid, blstroid, ROT0, "Atari Games", "Blasteroids (rev 2)", 0 )
438GAME( 1987, blstroig, blstroid, blstroid, blstroid, blstroid, ROT0, "Atari Games", "Blasteroids (German, rev 2)", 0 )
439GAME( 1987, blsthead, blstroid, blstroid, blstroid, blstroid, ROT0, "Atari Games", "Blasteroids (with heads)", 0 )
435GAME( 1987, blstroid,  0,        blstroid, blstroid, blstroid, ROT0, "Atari Games", "Blasteroids (rev 4)", 0 )
436GAME( 1987, blstroid3, blstroid, blstroid, blstroid, blstroid, ROT0, "Atari Games", "Blasteroids (rev 3)", 0 )
437GAME( 1987, blstroid2, blstroid, blstroid, blstroid, blstroid, ROT0, "Atari Games", "Blasteroids (rev 2)", 0 )
438GAME( 1987, blstroidg, blstroid, blstroid, blstroid, blstroid, ROT0, "Atari Games", "Blasteroids (German, rev 2)", 0 )
439GAME( 1987, blstroidh, blstroid, blstroid, blstroid, blstroid, ROT0, "Atari Games", "Blasteroids (with heads)", 0 )
src/mame/drivers/cchance.c
r5338r5339
222222   ROM_LOAD( "prom2", 0x0200, 0x0200, NO_DUMP )
223223ROM_END
224224
225GAME( 1987?, cchance,  0,    cchance, cchance,  0, ROT0, "unknown", "Cherry Chance", GAME_NOT_WORKING | GAME_WRONG_COLORS )
226
225GAME( 1987?, cchance,  0,    cchance, cchance,  0, ROT0, "<unknown>", "Cherry Chance", GAME_NOT_WORKING | GAME_WRONG_COLORS )
src/mame/drivers/retofinv.c
r5338r5339
433433   ROM_LOAD( "82s191n",   0x0300, 0x0800, CRC(93c891e3) SHA1(643a0107717b6a434432dda73a0102e6e8adbca7) )   /* lookup table */
434434ROM_END
435435
436ROM_START( retofin1 )
436ROM_START( retofinv1 )
437437   ROM_REGION( 0x10000, "maincpu", 0 )
438438   ROM_LOAD( "roi.02",  0x0000, 0x2000, CRC(d98fd462) SHA1(fd35e13b7dee58639a01b040b8f84d42bb40b633) )
439439   ROM_LOAD( "roi.01b", 0x2000, 0x2000, CRC(3379f930) SHA1(c67d687a10b6240bd6e2fbdb15e1b7d276e6fc07) )
r5338r5339
465465   ROM_LOAD( "82s191n",   0x0300, 0x0800, CRC(93c891e3) SHA1(643a0107717b6a434432dda73a0102e6e8adbca7) )   /* lookup table */
466466ROM_END
467467
468ROM_START( retofin2 )
468ROM_START( retofinv2 )
469469   ROM_REGION( 0x10000, "maincpu", 0 )
470470   ROM_LOAD( "ri-c.1e", 0x0000, 0x2000, CRC(e3c31260) SHA1(cc8774251c567da2e4a54091223927c95f497fe8) )
471471   ROM_LOAD( "roi.01b", 0x2000, 0x2000, CRC(3379f930) SHA1(c67d687a10b6240bd6e2fbdb15e1b7d276e6fc07) )
r5338r5339
500500
501501
502502GAME( 1985, retofinv, 0,        retofinv, retofinv, 0, ROT90, "Taito Corporation", "Return of the Invaders", 0 )
503GAME( 1985, retofin1, retofinv, retofinb, retofinv, 0, ROT90, "bootleg", "Return of the Invaders (bootleg set 1)", 0 )
504GAME( 1985, retofin2, retofinv, retofinb, retofin2, 0, ROT90, "bootleg", "Return of the Invaders (bootleg set 2)", 0 )
503GAME( 1985, retofinv1,retofinv, retofinb, retofinv, 0, ROT90, "bootleg", "Return of the Invaders (bootleg set 1)", 0 )
504GAME( 1985, retofinv2,retofinv, retofinb, retofin2, 0, ROT90, "bootleg", "Return of the Invaders (bootleg set 2)", 0 )
src/mame/drivers/dotrikun.c
r5338r5339
9191   ROM_LOAD( "14479a.mpr",   0x0000, 0x4000, CRC(b77a50db) SHA1(2a5d812d39f0f58f5c3e1b46f80aca75aa225115) )
9292ROM_END
9393
94ROM_START( dotriku2 )
94ROM_START( dotrikun2 )
9595   ROM_REGION( 0x10000, "maincpu", 0 )
9696   ROM_LOAD( "14479.mpr",   0x0000, 0x4000, CRC(a6aa7fa5) SHA1(4dbea33fb3541fdacf2195355751078a33bb30d5) )
9797ROM_END
9898
9999
100100GAME( 1990, dotrikun, 0,        dotrikun, dotrikun, 0, ROT0, "Sega", "Dottori Kun (new version)", GAME_SUPPORTS_SAVE | GAME_NO_SOUND )
101GAME( 1990, dotriku2, dotrikun, dotrikun, dotrikun, 0, ROT0, "Sega", "Dottori Kun (old version)", GAME_SUPPORTS_SAVE | GAME_NO_SOUND )
101GAME( 1990, dotrikun2,dotrikun, dotrikun, dotrikun, 0, ROT0, "Sega", "Dottori Kun (old version)", GAME_SUPPORTS_SAVE | GAME_NO_SOUND )
102102
src/mame/drivers/meadows.c
r5338r5339
338338}
339339
340340
341
342341/*************************************
343342 *
344343 *  Main CPU memory handlers
r5338r5339
358357   AM_RANGE(0x1c00, 0x1fff) AM_RAM_WRITE(meadows_videoram_w) AM_BASE(&videoram) AM_SIZE(&videoram_size)
359358ADDRESS_MAP_END
360359
360static ADDRESS_MAP_START( bowl3d_main_map, ADDRESS_SPACE_PROGRAM, 8 )
361   AM_RANGE(0x0000, 0x0bff) AM_ROM
362   AM_RANGE(0x0c00, 0x0c00) AM_READ_PORT("INPUTS1")
363   AM_RANGE(0x0c01, 0x0c01) AM_READ_PORT("INPUTS2")
364   AM_RANGE(0x0c02, 0x0c02) AM_READ(hsync_chain_r)
365   AM_RANGE(0x0c03, 0x0c03) AM_READ_PORT("DSW")
366   AM_RANGE(0x0c00, 0x0c03) AM_WRITE(meadows_audio_w)
367   AM_RANGE(0x0d00, 0x0d0f) AM_WRITE(meadows_spriteram_w) AM_BASE(&spriteram)
368   AM_RANGE(0x0e00, 0x0eff) AM_RAM
369   AM_RANGE(0x1000, 0x1bff) AM_ROM
370   AM_RANGE(0x1c00, 0x1fff) AM_RAM_WRITE(meadows_videoram_w) AM_BASE(&videoram) AM_SIZE(&videoram_size)
371ADDRESS_MAP_END
361372
362373static ADDRESS_MAP_START( minferno_main_map, ADDRESS_SPACE_PROGRAM, 8 )
363374   AM_RANGE(0x0000, 0x0bff) AM_ROM
r5338r5339
411422   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
412423
413424   PORT_START("STICK")
414   PORT_BIT( 0xff, 0x80, IPT_AD_STICK_X ) PORT_MINMAX(0x10,0xf0) PORT_SENSITIVITY(100) PORT_KEYDELTA(10)
425   PORT_BIT( 0xff, 0x80, IPT_AD_STICK_X ) PORT_MINMAX(0x10,0xf0) PORT_SENSITIVITY(20) PORT_KEYDELTA(10) PORT_CENTERDELTA(0)
415426
416427   PORT_START("DSW")
417428   PORT_DIPNAME( 0x07, 0x01, DEF_STR( Lives ) ) PORT_DIPLOCATION("DSW1:3,2,1")
r5338r5339
442453   PORT_BIT( 0x8e, IP_ACTIVE_LOW, IPT_UNUSED )
443454INPUT_PORTS_END
444455
456static INPUT_PORTS_START( bowl3d )
457   PORT_START("INPUTS1")
458   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
459   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
460   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2        ) PORT_PLAYER(1)
461   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1        ) PORT_PLAYER(1)
462   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1)
463   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  ) PORT_PLAYER(1)
464   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START1         )
465   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
445466
467   PORT_START("INPUTS2")
468   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
469   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
470   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2        ) PORT_PLAYER(2)
471   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1        ) PORT_PLAYER(2)
472   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(2)
473   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  ) PORT_PLAYER(2)
474   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2         )
475   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
476
477   PORT_START("DSW")
478   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unused ) )
479   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
480   PORT_DIPSETTING(    0x01, DEF_STR( On ) )
481   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unused ) )
482   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
483   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
484   PORT_DIPNAME( 0x04, 0x00, "Coin Option" )
485   PORT_DIPSETTING(    0x00, "2 Players / 1 Coin" )
486   PORT_DIPSETTING(    0x04, "1/2 Player(s) / 1/2 Coin(s)" )
487   PORT_DIPNAME( 0x08, 0x00, "Beer Frame" )
488   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
489   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
490   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unused ) )
491   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
492   PORT_DIPSETTING(    0x10, DEF_STR( On ) )
493   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unused ) )
494   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
495   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
496   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unused ) )
497   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
498   PORT_DIPSETTING(    0x40, DEF_STR( On ) )
499   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unused ) )
500   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
501   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
502
503   PORT_START("FAKE")
504   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_CHANGED(coin_inserted, 0)
505   PORT_BIT( 0x8e, IP_ACTIVE_LOW, IPT_UNUSED )
506INPUT_PORTS_END
507
446508static INPUT_PORTS_START( minferno )
447509   PORT_START("JOY1")
448510   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(1)
r5338r5339
653715
654716static MACHINE_DRIVER_START( bowl3d )
655717   /* basic machine hardware */
656   MDRV_IMPORT_FROM(meadows)
718   MDRV_CPU_ADD("maincpu", S2650, MASTER_CLOCK/8)    /* 5MHz / 8 = 625 kHz */
719   MDRV_CPU_PROGRAM_MAP(bowl3d_main_map)
720   MDRV_CPU_VBLANK_INT("screen", meadows_interrupt)    /* one interrupt per frame!? */
657721
722   MDRV_CPU_ADD("audiocpu", S2650, MASTER_CLOCK/8)    /* 5MHz / 8 = 625 kHz */
723   MDRV_CPU_PROGRAM_MAP(audio_map)
724   MDRV_CPU_PERIODIC_INT(audio_interrupt, (double)5000000/131072)
725
726   MDRV_QUANTUM_TIME(HZ(600))
727
728   /* video hardware */
729   MDRV_SCREEN_ADD("screen", RASTER)
730   MDRV_SCREEN_REFRESH_RATE(60)
731   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
732   MDRV_SCREEN_SIZE(32*8, 30*8)
733   MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
734
735   MDRV_GFXDECODE(meadows)
736   MDRV_PALETTE_LENGTH(2)
737
738   MDRV_PALETTE_INIT(meadows)
739   MDRV_VIDEO_START(meadows)
740   MDRV_VIDEO_UPDATE(meadows)
741
742   /* audio hardware */
743   MDRV_SPEAKER_STANDARD_MONO("mono")
744
745   MDRV_SOUND_ADD("dac", DAC, 0)
746   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
747
748   MDRV_SOUND_ADD("samples", SAMPLES, 0)
749   MDRV_SOUND_CONFIG(meadows_samples_interface)
750   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
751
658752    /* audio hardware */
659753   MDRV_SOUND_ADD("samples2", SAMPLES, 0)
660754   MDRV_SOUND_CONFIG(bowl3d_samples_interface)
r5338r5339
831925 *************************************/
832926
833927GAMEL( 1978, deadeye,  0, meadows,  meadows,  0,        ROT0,  "Meadows", "Dead Eye", 0, layout_deadeye )
834GAME ( 1978, bowl3d,   0, bowl3d,   meadows,  0,        ROT90, "Meadows", "3-D Bowling", GAME_NOT_WORKING )
928GAME ( 1978, bowl3d,   0, bowl3d,   bowl3d,  0,        ROT90, "Meadows", "3-D Bowling", GAME_NO_SOUND )
835929GAMEL( 1978, gypsyjug, 0, meadows,  meadows,  gypsyjug, ROT0,  "Meadows", "Gypsy Juggler", GAME_IMPERFECT_GRAPHICS, layout_gypsyjug )
836930GAME ( 1978, minferno, 0, minferno, minferno, minferno, ROT0,  "Meadows", "Inferno (Meadows)", GAME_NO_SOUND )
src/mame/drivers/harddriv.c
r5338r5339
13301330ROM_END
13311331
13321332
1333ROM_START( harddrvg )
1333ROM_START( harddrivg )
13341334   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
13351335   ROM_LOAD16_BYTE( "136052-7205.200r", 0x000000, 0x010000, CRC(b50b1968) SHA1(b6fd9f0600cba995bf31fd0f30f15f091bbbfb09) )
13361336   ROM_LOAD16_BYTE( "136052-7213.210r", 0x000001, 0x010000, CRC(e6d57108) SHA1(a4eda6db4ec67b1cb8f9bfee17d8adc93675ef8a) )
r5338r5339
13591359ROM_END
13601360
13611361
1362ROM_START( harddrvj )
1362ROM_START( harddrivj )
13631363   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
13641364   ROM_LOAD16_BYTE( "136052-7805.200r", 0x000000, 0x010000, CRC(f170c842) SHA1(842cef66646a664300a7e2b827c0bbd53e5f27ad) )
13651365   ROM_LOAD16_BYTE( "136052-7813.210r", 0x000001, 0x010000, CRC(e5a3367d) SHA1(96b3a6fb5561fa59d7ac4b840fa1891d02f1bd8c) )
r5338r5339
13901390ROM_END
13911391
13921392
1393ROM_START( harddrvb )
1393ROM_START( harddrivb )
13941394   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
13951395   ROM_LOAD16_BYTE( "136052-7905.200r", 0x000000, 0x010000, CRC(c4379a2e) SHA1(41dc66c1576c591520543343a798e0d80def2188) )
13961396   ROM_LOAD16_BYTE( "136052-7913.210r", 0x000001, 0x010000, CRC(1e76fa17) SHA1(80ec1de4c8a4622fb5c65ec3e8c194a8eabacc38) )
r5338r5339
14191419ROM_END
14201420
14211421
1422ROM_START( harddrb6 )
1422ROM_START( harddrivb6 )
14231423   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
14241424   ROM_LOAD16_BYTE( "136052-6905.200r", 0x000000, 0x010000, CRC(b1f38593) SHA1(958622128c7c687071211343ef657c38f928e25a) )
14251425   ROM_LOAD16_BYTE( "136052-6913.210r", 0x000001, 0x010000, CRC(15eb0da5) SHA1(0200328582c77d4d64e9f7df1f8755f7f4975ac3) )
r5338r5339
14481448ROM_END
14491449
14501450
1451ROM_START( harddrj6 )
1451ROM_START( harddrivj6 )
14521452   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
14531453   ROM_LOAD16_BYTE( "136052-6805.200r", 0x000000, 0x010000, CRC(e61ce7af) SHA1(38115a5a44f330abf1f7d684e630a1a232769f7c) )
14541454   ROM_LOAD16_BYTE( "136052-6813.210r", 0x000001, 0x010000, CRC(adfef1e7) SHA1(dc1bdb5ce9143a94d734ce9ecdf9195589608b65) )
r5338r5339
14791479ROM_END
14801480
14811481
1482ROM_START( harddrb5 )
1482ROM_START( harddrivb5 )
14831483   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
14841484   ROM_LOAD16_BYTE( "136052-5905.200r", 0x000000, 0x010000, CRC(6dd28313) SHA1(c1f860470070dad7d8865aca508ecf5eb92fa8c5) )
14851485   ROM_LOAD16_BYTE( "136052-5913.210r", 0x000001, 0x010000, CRC(2e5a006f) SHA1(8a2da1868bbad54b33e993f5bf9ba61186caef5b) )
r5338r5339
15081508ROM_END
15091509
15101510
1511ROM_START( harddrg4 )
1511ROM_START( harddrivg4 )
15121512   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
15131513   ROM_LOAD16_BYTE( "136052-4205.200r", 0x000000, 0x010000, CRC(94db6d9e) SHA1(98a509daacb9f18c7171246d1782d09a6456e241) )
15141514   ROM_LOAD16_BYTE( "136052-4213.210r", 0x000001, 0x010000, CRC(cacaf671) SHA1(7bd0f531402b2f10cb00bb8f7ca0b62eed23bffa) )
r5338r5339
15371537ROM_END
15381538
15391539
1540ROM_START( harddrv3 )
1540ROM_START( harddriv3 )
15411541   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
15421542   ROM_LOAD16_BYTE( "136052-3105.200r", 0x000000, 0x010000, CRC(a42a2c69) SHA1(66233f25533106aab69df21db69f96368f1399a9) )
15431543   ROM_LOAD16_BYTE( "136052-3113.210r", 0x000001, 0x010000, CRC(358995b5) SHA1(f18c0da58ec7befefc61d5f0d35787516b775c92) )
r5338r5339
15661566ROM_END
15671567
15681568
1569ROM_START( harddrv2 )
1569ROM_START( harddriv2 )
15701570   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
15711571   ROM_LOAD16_BYTE( "136052-2105.200r", 0x000000, 0x010000, CRC(967903b9) SHA1(4363f3b3f08d00819f47a3682462fd0e5dc4e0ac) )
15721572   ROM_LOAD16_BYTE( "136052-2113.210r", 0x000001, 0x010000, CRC(c87f7067) SHA1(3d85d2ba818739ed05086502cd8e57438251b20b) )
r5338r5339
15951595ROM_END
15961596
15971597
1598ROM_START( harddrv1 )
1598ROM_START( harddriv1 )
15991599   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
16001600   ROM_LOAD16_BYTE( "136052-1105.200r", 0x000000, 0x010000, CRC(1dfda789) SHA1(83be0d66fe21e974f8d4582b0ab60245f1db7e55) )
16011601   ROM_LOAD16_BYTE( "136052-1113.210r", 0x000001, 0x010000, CRC(db2f6593) SHA1(864ea5604cea2507b180a91b35e349d3924bf9bc) )
r5338r5339
16241624ROM_END
16251625
16261626
1627ROM_START( harddrvc )
1627ROM_START( harddrivc )
16281628   ROM_REGION( 0x100000, "maincpu", 0 )   /* 1MB for 68000 code */
16291629   ROM_LOAD16_BYTE( "136068-2102.200r", 0x000000, 0x010000, CRC(6252048b) SHA1(64caf3adfad6965768fc6d39a8bcde62fe6dfa9e) )
16301630   ROM_LOAD16_BYTE( "136068-2101.210r", 0x000001, 0x010000, CRC(4805ba06) SHA1(e0c2d935ced05b8162f2925520422184a81d5294) )
r5338r5339
16531653ROM_END
16541654
16551655
1656ROM_START( harddrcg )
1656ROM_START( harddrivcg )
16571657   ROM_REGION( 0x100000, "maincpu", 0 )   /* 1MB for 68000 code */
16581658   ROM_LOAD16_BYTE( "136068-2202.200r", 0x000000, 0x010000, CRC(ea09bdc2) SHA1(9e38ed0a47a2bfb6b80cbf1e0b3e891b94f30c10) )
16591659   ROM_LOAD16_BYTE( "136068-2201.210r", 0x000001, 0x010000, CRC(a5e9947f) SHA1(75973346c9399752d8ae82fbada3a24c6d5fec94) )
r5338r5339
16821682ROM_END
16831683
16841684
1685ROM_START( harddrcb )
1685ROM_START( harddrivcb )
16861686   ROM_REGION( 0x100000, "maincpu", 0 )   /* 1MB for 68000 code */
16871687   ROM_LOAD16_BYTE( "136068-2102.200r", 0x000000, 0x010000, CRC(6252048b) SHA1(64caf3adfad6965768fc6d39a8bcde62fe6dfa9e) )
16881688   ROM_LOAD16_BYTE( "136068-2101.210r", 0x000001, 0x010000, CRC(4805ba06) SHA1(e0c2d935ced05b8162f2925520422184a81d5294) )
r5338r5339
17111711ROM_END
17121712
17131713
1714ROM_START( harddrc1 )
1714ROM_START( harddrivc1 )
17151715   ROM_REGION( 0x100000, "maincpu", 0 )   /* 1MB for 68000 code */
17161716   ROM_LOAD16_BYTE( "136068-1102.200r", 0x000000, 0x010000, CRC(f1d3779f) SHA1(1ab84fc920f6810aa7c1af80b0472ea17d07e58b) )
17171717   ROM_LOAD16_BYTE( "136068-1101.210r", 0x000001, 0x010000, CRC(3ea4d3d9) SHA1(3901e8c07bed35bf6a55ab92f5c7eb9335675792) )
r5338r5339
19501950ROM_END
19511951
19521952
1953ROM_START( stunrn3e )
1953ROM_START( stunrun3e )
19541954   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
19551955   ROM_LOAD16_BYTE( "136070-2102.200r", 0x000000, 0x010000, CRC(e0ed54d8) SHA1(15850568d8308b6499cbe55b5d8308041d906a29) )
19561956   ROM_LOAD16_BYTE( "136070-2101.210r", 0x000001, 0x010000, CRC(3008bcf8) SHA1(9d3a20b639969bab68441f76467ed60e395c10e3) )
r5338r5339
20202020ROM_END
20212021
20222022
2023ROM_START( stunrn2e )
2023ROM_START( stunrun2e )
20242024   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
20252025   ROM_LOAD16_BYTE( "136070-2102.200r", 0x000000, 0x010000, CRC(e0ed54d8) SHA1(15850568d8308b6499cbe55b5d8308041d906a29) )
20262026   ROM_LOAD16_BYTE( "136070-2101.210r", 0x000001, 0x010000, CRC(3008bcf8) SHA1(9d3a20b639969bab68441f76467ed60e395c10e3) )
r5338r5339
21702170ROM_END
21712171
21722172
2173ROM_START( racedrvb )
2173ROM_START( racedrivb )
21742174   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
21752175   ROM_LOAD16_BYTE( "136077-5002.200r", 0x000000, 0x010000, CRC(0a78adca) SHA1(a44722340ff7c99253107be092bec2e87cae340b) )
21762176   ROM_LOAD16_BYTE( "136077-5001.210r", 0x000001, 0x010000, CRC(74b4cd49) SHA1(48fc4344c092c9eb14249874ac305b87bba53e7e) )
r5338r5339
22152215ROM_END
22162216
22172217
2218ROM_START( racedrvg )
2218ROM_START( racedrivg )
22192219   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
22202220   ROM_LOAD16_BYTE( "136077-5202.200r", 0x000000, 0x010000, CRC(69016b69) SHA1(8da1314b4b6da6fc95479b9034190181bf778b25) )
22212221   ROM_LOAD16_BYTE( "136077-5201.210r", 0x000001, 0x010000, CRC(439a1ce7) SHA1(fc376c654c494d2895bcf85d5d8a9d6f17b6887e) )
r5338r5339
22602260ROM_END
22612261
22622262
2263ROM_START( racedrv4 )
2263ROM_START( racedriv4 )
22642264   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
22652265   ROM_LOAD16_BYTE( "136077-4002.200r", 0x000000, 0x010000, CRC(afe1beb5) SHA1(66dba58f2a02eaa2d6306e53adffb662a8021031) )
22662266   ROM_LOAD16_BYTE( "136077-4001.210r", 0x000001, 0x010000, CRC(8a449e44) SHA1(03800b96a3992baa4bd37db20e559e08b12e55d1) )
r5338r5339
23052305ROM_END
23062306
23072307
2308ROM_START( racedrb4 )
2308ROM_START( racedrivb4 )
23092309   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
23102310   ROM_LOAD16_BYTE( "136077-4002.200r", 0x000000, 0x010000, CRC(afe1beb5) SHA1(66dba58f2a02eaa2d6306e53adffb662a8021031) )
23112311   ROM_LOAD16_BYTE( "136077-4001.210r", 0x000001, 0x010000, CRC(8a449e44) SHA1(03800b96a3992baa4bd37db20e559e08b12e55d1) )
r5338r5339
23502350ROM_END
23512351
23522352
2353ROM_START( racedrg4 )
2353ROM_START( racedrivg4 )
23542354   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
23552355   ROM_LOAD16_BYTE( "136077-4202.200r", 0x000000, 0x010000, CRC(a8c7e15e) SHA1(6aa4b819e5c8562c8eef92a411b2dc91ed35ae4c) )
23562356   ROM_LOAD16_BYTE( "136077-4201.210r", 0x000001, 0x010000, CRC(1dfa4df2) SHA1(1db0676f0ff1e7996c9791b041d9cd4ca9c70261) )
r5338r5339
23952395ROM_END
23962396
23972397
2398ROM_START( racedrv3 )
2398ROM_START( racedriv3 )
23992399   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
24002400   ROM_LOAD16_BYTE( "136077-3002.200r", 0x000000, 0x010000, CRC(78771253) SHA1(88fdae99eb4feb40db8ad171b3435315db3adedb) )
24012401   ROM_LOAD16_BYTE( "136077-3001.210r", 0x000001, 0x010000, CRC(c75373a4) SHA1(d2f14190218cfedf4478806a26c77edd4d7c73eb) )
r5338r5339
24402440ROM_END
24412441
24422442
2443ROM_START( racedrv2 )
2443ROM_START( racedriv2 )
24442444   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
24452445   ROM_LOAD16_BYTE( "136077-2002.200r", 0x000000, 0x010000, CRC(6b440e10) SHA1(8074a1de01e2cdc497a51339f9c05329d6f540b0) )
24462446   ROM_LOAD16_BYTE( "136077-2001.210r", 0x000001, 0x010000, CRC(eee12973) SHA1(0cd2e88c431d08fba5a73c903327f39f8692f3aa) )
r5338r5339
24852485ROM_END
24862486
24872487
2488ROM_START( racedrv1 )
2488ROM_START( racedriv1 )
24892489   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
24902490   ROM_LOAD16_BYTE( "136077-1002.200r", 0x000000, 0x010000, CRC(d39f6d53) SHA1(c278cd4109a65304a21dd1d8ba27375713a8b107) )
24912491   ROM_LOAD16_BYTE( "136077-1001.210r", 0x000001, 0x010000, CRC(e29e011c) SHA1(7044e7f9c8551309b5867a06672796411007a427) )
r5338r5339
25302530ROM_END
25312531
25322532
2533ROM_START( racedrg1 )
2533ROM_START( racedrivg1 )
25342534   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
25352535   ROM_LOAD16_BYTE( "136077-1202.200r", 0x000000, 0x010000, CRC(bd363903) SHA1(8f0937725adabf5ee9e0ac015c83916e2575670a) )
25362536   ROM_LOAD16_BYTE( "136077-1201.210r", 0x000001, 0x010000, CRC(748c3be4) SHA1(ddf149f333d23e9c782ae447f6fb3f780680b3f5) )
r5338r5339
25752575ROM_END
25762576
25772577
2578ROM_START( racedrb1 )
2578ROM_START( racedrivb1 )
25792579   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
25802580   ROM_LOAD16_BYTE( "136077-2002.200r", 0x000000, 0x010000, CRC(6b440e10) SHA1(8074a1de01e2cdc497a51339f9c05329d6f540b0) )
25812581   ROM_LOAD16_BYTE( "136077-2001.210r", 0x000001, 0x010000, CRC(eee12973) SHA1(0cd2e88c431d08fba5a73c903327f39f8692f3aa) )
r5338r5339
26202620ROM_END
26212621
26222622
2623ROM_START( racedrvc )
2623ROM_START( racedrivc )
26242624   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
26252625   ROM_LOAD16_BYTE( "136078-5002.200r", 0x000000, 0x010000, CRC(ae8f79bd) SHA1(054f2d1948d6d03832c4557c3dd7667c0784716d) )
26262626   ROM_LOAD16_BYTE( "136078-5001.210r", 0x000001, 0x010000, CRC(ad896e7f) SHA1(7b047f0c972fac075db00faf19cdf9ccdcef5c63) )
r5338r5339
26652665ROM_END
26662666
26672667
2668ROM_START( racedrcb )
2668ROM_START( racedrivcb )
26692669   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
26702670   ROM_LOAD16_BYTE( "136078-5002.200r", 0x000000, 0x010000, CRC(ae8f79bd) SHA1(054f2d1948d6d03832c4557c3dd7667c0784716d) )
26712671   ROM_LOAD16_BYTE( "136078-5001.210r", 0x000001, 0x010000, CRC(ad896e7f) SHA1(7b047f0c972fac075db00faf19cdf9ccdcef5c63) )
r5338r5339
27102710ROM_END
27112711
27122712
2713ROM_START( racedrcg )
2713ROM_START( racedrivcg )
27142714   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
27152715   ROM_LOAD16_BYTE( "136078-5202.200r", 0x000000, 0x010000, CRC(c37b5281) SHA1(1ff7a879853dd1e10881fd56e8ae0962676ef319) )
27162716   ROM_LOAD16_BYTE( "136078-5201.210r", 0x000001, 0x010000, CRC(80072dad) SHA1(ba33465f639431cf6e9ce377ed31e538a0304dc5) )
r5338r5339
27552755ROM_END
27562756
27572757
2758ROM_START( racedrc4 )
2758ROM_START( racedrivc4 )
27592759   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
27602760   ROM_LOAD16_BYTE( "136078-4002.200r", 0x000000, 0x010000, CRC(d6522b97) SHA1(0e4c4ce9f6147cc3878a3f1e60cf58f00bfe9e4c) )
27612761   ROM_LOAD16_BYTE( "136078-4001.210r", 0x000001, 0x010000, CRC(d658a8ed) SHA1(59d823d8150de62ba5c4fddf87584bd2044e87f7) )
r5338r5339
28002800ROM_END
28012801
28022802
2803ROM_START( racedcb4 )
2803ROM_START( racedrivcb4 )
28042804   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
28052805   ROM_LOAD16_BYTE( "136078-4002.200r", 0x000000, 0x010000, CRC(d6522b97) SHA1(0e4c4ce9f6147cc3878a3f1e60cf58f00bfe9e4c) )
28062806   ROM_LOAD16_BYTE( "136078-4001.210r", 0x000001, 0x010000, CRC(d658a8ed) SHA1(59d823d8150de62ba5c4fddf87584bd2044e87f7) )
r5338r5339
28452845ROM_END
28462846
28472847
2848ROM_START( racedcg4 )
2848ROM_START( racedrivcg4 )
28492849   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
28502850   ROM_LOAD16_BYTE( "136078-4202.200r", 0x000000, 0x010000, CRC(be58215d) SHA1(0497efbd696e8d2db4e42678dd6cfe6cd3f78688) )
28512851   ROM_LOAD16_BYTE( "136078-4201.210r", 0x000001, 0x010000, CRC(609c5f23) SHA1(a66e1f10f8ad9d25fca5b681ad543967287f2036) )
r5338r5339
28902890ROM_END
28912891
28922892
2893ROM_START( racedrc2 )
2893ROM_START( racedrivc2 )
28942894   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
28952895   ROM_LOAD16_BYTE( "136078-2002.200r", 0x000000, 0x010000, CRC(669fe6fe) SHA1(1775ee3ef4817f553113772cf0fb35cbbe2e73a5) )
28962896   ROM_LOAD16_BYTE( "136078-2001.210r", 0x000001, 0x010000, CRC(9312fd5f) SHA1(9dd1b30ebceedf50fb18d744540e2003a8110d09) )
r5338r5339
29352935ROM_END
29362936
29372937
2938ROM_START( racedrc1 )
2938ROM_START( racedrivc1 )
29392939   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
29402940   ROM_LOAD16_BYTE( "136078-1002.200r", 0x000000, 0x010000, CRC(ed997f08) SHA1(9512f347120174345dbe8c756e5c239fdce438a5) )
29412941   ROM_LOAD16_BYTE( "136078-1001.210r", 0x000001, 0x010000, CRC(5540ee7d) SHA1(f1d16cfa20b61f1cf075e3275ea4af0b46aa5470) )
r5338r5339
30383038ROM_END
30393039
30403040
3041ROM_START( steeltag )
3041ROM_START( steeltalg )
30423042   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
30433043   ROM_LOAD16_BYTE( "136087-1002.200r", 0x000000, 0x010000, CRC(31bf01a9) SHA1(cd08a839dbb5283a6e2bb35bc9e1578a14e3c2e6) )
30443044   ROM_LOAD16_BYTE( "136087-1001.210r", 0x000001, 0x010000, CRC(b4fa2900) SHA1(5e92ab4af31321b891c072305f8b8ef30a3e1fb0) )
r5338r5339
30963096ROM_END
30973097
30983098
3099ROM_START( steelta1 )
3099ROM_START( steeltal1 )
31003100   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
31013101   ROM_LOAD16_BYTE( "136087-1002.200r", 0x000000, 0x010000, CRC(31bf01a9) SHA1(cd08a839dbb5283a6e2bb35bc9e1578a14e3c2e6) )
31023102   ROM_LOAD16_BYTE( "136087-1001.210r", 0x000001, 0x010000, CRC(b4fa2900) SHA1(5e92ab4af31321b891c072305f8b8ef30a3e1fb0) )
r5338r5339
31543154ROM_END
31553155
31563156
3157ROM_START( steeltap )
3157ROM_START( steeltalp )
31583158   ROM_REGION( 0x100000, "maincpu", 0 )      /* 1MB for 68000 code */
31593159   ROM_LOAD16_BYTE( "rom-200r.bin", 0x00000, 0x10000, CRC(72a9ce3b) SHA1(6706ff32173735d16d9da1321b64a4a9bb317b2e) )
31603160   ROM_LOAD16_BYTE( "rom-210r.bin", 0x00001, 0x10000, CRC(46d83b42) SHA1(85b178781f0595b5af0375fee32d0dd8cdba8fca) )
r5338r5339
33093309ROM_END
33103310
33113311
3312ROM_START( hdrivaip )
3312ROM_START( hdrivairp )
33133313   ROM_REGION( 0x200000, "maincpu", 0 )      /* 2MB for 68000 code */
33143314   ROM_LOAD16_BYTE( "stest.0h",    0x000000, 0x20000, CRC(bf4bb6a0) SHA1(e38ec5ce245f98bfe8084ba684bffc85dc19d3be) )
33153315   ROM_LOAD16_BYTE( "stest.0l",    0x000001, 0x20000, CRC(f462b511) SHA1(d88efb8cc30322a8332a1f50de775a204758e176) )
r5338r5339
39233923 *
39243924 *************************************/
39253925
3926GAME( 1988, harddriv, 0,        harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, rev 7)", 0 )
3927GAME( 1988, harddrvb, harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, British, rev 7)", 0 )
3928GAME( 1988, harddrvg, harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, German, rev 7)", 0 )
3929GAME( 1988, harddrvj, harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, Japan, rev 7)", 0 )
3930GAME( 1988, harddrb6, harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, British, rev 6)", 0 )
3931GAME( 1988, harddrj6, harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, Japan, rev 6)", 0 )
3932GAME( 1988, harddrb5, harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, British, rev 5)", 0 )
3933GAME( 1988, harddrg4, harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, German, rev 4)", 0 )
3934GAME( 1988, harddrv3, harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, rev 3)", 0 )
3935GAME( 1988, harddrv2, harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, rev 2)", 0 )
3936GAME( 1988, harddrv1, harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, rev 1)", GAME_NOT_WORKING )
3926GAME( 1988, harddriv,   0,        harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, rev 7)", 0 )
3927GAME( 1988, harddrivb,  harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, British, rev 7)", 0 )
3928GAME( 1988, harddrivg,  harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, German, rev 7)", 0 )
3929GAME( 1988, harddrivj,  harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, Japan, rev 7)", 0 )
3930GAME( 1988, harddrivb6, harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, British, rev 6)", 0 )
3931GAME( 1988, harddrivj6, harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, Japan, rev 6)", 0 )
3932GAME( 1988, harddrivb5, harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, British, rev 5)", 0 )
3933GAME( 1988, harddrivg4, harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, German, rev 4)", 0 )
3934GAME( 1988, harddriv3,  harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, rev 3)", 0 )
3935GAME( 1988, harddriv2,  harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, rev 2)", 0 )
3936GAME( 1988, harddriv1,  harddriv, harddriv, harddriv, harddriv, ROT0, "Atari Games", "Hard Drivin' (cockpit, rev 1)", GAME_NOT_WORKING )
39373937
3938GAME( 1990, harddrvc, harddriv, harddrvc, racedrvc, harddrvc, ROT0, "Atari Games", "Hard Drivin' (compact, rev 2)", 0 )
3939GAME( 1990, harddrcg, harddriv, harddrvc, racedrvc, harddrvc, ROT0, "Atari Games", "Hard Drivin' (compact, German, rev 2)", 0 )
3940GAME( 1990, harddrcb, harddriv, harddrvc, racedrvc, harddrvc, ROT0, "Atari Games", "Hard Drivin' (compact, British, rev 2)", 0 )
3941GAME( 1990, harddrc1, harddriv, harddrvc, racedrvc, harddrvc, ROT0, "Atari Games", "Hard Drivin' (compact, rev 1)", 0 )
3938GAME( 1990, harddrivc,  harddriv, harddrvc, racedrvc, harddrvc, ROT0, "Atari Games", "Hard Drivin' (compact, rev 2)", 0 )
3939GAME( 1990, harddrivcg, harddriv, harddrvc, racedrvc, harddrvc, ROT0, "Atari Games", "Hard Drivin' (compact, German, rev 2)", 0 )
3940GAME( 1990, harddrivcb, harddriv, harddrvc, racedrvc, harddrvc, ROT0, "Atari Games", "Hard Drivin' (compact, British, rev 2)", 0 )
3941GAME( 1990, harddrivc1, harddriv, harddrvc, racedrvc, harddrvc, ROT0, "Atari Games", "Hard Drivin' (compact, rev 1)", 0 )
39423942
3943GAME( 1989, stunrun,  0,        stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 6)", 0 )
3944GAME( 1989, stunrunj, stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 7, Japan)", 0 )
3945GAME( 1989, stunrun5, stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 5)", 0 )
3946GAME( 1989, stunrune, stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 5, Europe)", 0 )
3947GAME( 1989, stunrun4, stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 4)", 0 )
3948GAME( 1989, stunrun3, stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 3)", 0 )
3949GAME( 1989, stunrn3e, stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 3, Europe)", 0 )
3950GAME( 1989, stunrun2, stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 2)", 0 )
3951GAME( 1989, stunrn2e, stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 2, Europe)", 0 )
3952GAME( 1989, stunrun0, stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 0)", 0 )
3953GAME( 1989, stunrunp, stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (upright prototype)", 0 )
3943GAME( 1989, stunrun,   0,        stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 6)", 0 )
3944GAME( 1989, stunrunj,  stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 7, Japan)", 0 )
3945GAME( 1989, stunrun5,  stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 5)", 0 )
3946GAME( 1989, stunrune,  stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 5, Europe)", 0 )
3947GAME( 1989, stunrun4,  stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 4)", 0 )
3948GAME( 1989, stunrun3,  stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 3)", 0 )
3949GAME( 1989, stunrun3e, stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 3, Europe)", 0 )
3950GAME( 1989, stunrun2,  stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 2)", 0 )
3951GAME( 1989, stunrun2e, stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 2, Europe)", 0 )
3952GAME( 1989, stunrun0,  stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (rev 0)", 0 )
3953GAME( 1989, stunrunp,  stunrun,  stunrun,  stunrun,  stunrun,  ROT0, "Atari Games", "S.T.U.N. Runner (upright prototype)", 0 )
39543954
3955GAME( 1990, racedriv, 0,        racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, rev 5)", 0 )
3956GAME( 1990, racedrvb, racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, British, rev 5)", 0 )
3957GAME( 1990, racedrvg, racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, German, rev 5)", 0 )
3958GAME( 1990, racedrv4, racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, rev 4)", 0 )
3959GAME( 1990, racedrb4, racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, British, rev 4)", 0 )
3960GAME( 1990, racedrg4, racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, German, rev 4)", 0 )
3961GAME( 1990, racedrv3, racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, rev 3)", 0 )
3962GAME( 1990, racedrv2, racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, rev 2)", GAME_NOT_WORKING )
3963GAME( 1990, racedrv1, racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, rev 1)", GAME_NOT_WORKING )
3964GAME( 1990, racedrb1, racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, British, rev 1)", GAME_NOT_WORKING )
3965GAME( 1990, racedrg1, racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, German, rev 2)", GAME_NOT_WORKING )
3955GAME( 1990, racedriv,   0,        racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, rev 5)", 0 )
3956GAME( 1990, racedrivb,  racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, British, rev 5)", 0 )
3957GAME( 1990, racedrivg,  racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, German, rev 5)", 0 )
3958GAME( 1990, racedriv4,  racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, rev 4)", 0 )
3959GAME( 1990, racedrivb4, racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, British, rev 4)", 0 )
3960GAME( 1990, racedrivg4, racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, German, rev 4)", 0 )
3961GAME( 1990, racedriv3,  racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, rev 3)", 0 )
3962GAME( 1990, racedriv2,  racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, rev 2)", GAME_NOT_WORKING )
3963GAME( 1990, racedriv1,  racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, rev 1)", GAME_NOT_WORKING )
3964GAME( 1990, racedrivb1, racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, British, rev 1)", GAME_NOT_WORKING )
3965GAME( 1990, racedrivg1, racedriv, racedriv, racedriv, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, German, rev 2)", GAME_NOT_WORKING )
39663966
3967GAME( 1990, racedrvc, racedriv, racedrvc, racedrvc, racedrvc, ROT0, "Atari Games", "Race Drivin' (compact, rev 5)", 0 )
3968GAME( 1990, racedrcb, racedriv, racedrvc, racedrvc, racedrvc, ROT0, "Atari Games", "Race Drivin' (compact, British, rev 5)", 0 )
3969GAME( 1990, racedrcg, racedriv, racedrvc, racedrvc, racedrvc, ROT0, "Atari Games", "Race Drivin' (compact, German, rev 5)", 0 )
3970GAME( 1990, racedrc4, racedriv, racedrvc, racedrvc, racedrvc, ROT0, "Atari Games", "Race Drivin' (compact, rev 4)", 0 )
3971GAME( 1990, racedcb4, racedriv, racedrvc, racedrvc, racedrvc, ROT0, "Atari Games", "Race Drivin' (compact, British, rev 4)", 0 )
3972GAME( 1990, racedcg4, racedriv, racedrvc, racedrvc, racedrvc, ROT0, "Atari Games", "Race Drivin' (compact, German, rev 4)", 0 )
3973GAME( 1990, racedrc2, racedriv, racedrvc, racedrvc, racedrc1, ROT0, "Atari Games", "Race Drivin' (compact, rev 2)", 0 )
3974GAME( 1990, racedrc1, racedriv, racedrvc, racedrvc, racedrc1, ROT0, "Atari Games", "Race Drivin' (compact, rev 1)", 0 )
3967GAME( 1990, racedrivc,   racedriv, racedrvc, racedrvc, racedrvc, ROT0, "Atari Games", "Race Drivin' (compact, rev 5)", 0 )
3968GAME( 1990, racedrivcb,  racedriv, racedrvc, racedrvc, racedrvc, ROT0, "Atari Games", "Race Drivin' (compact, British, rev 5)", 0 )
3969GAME( 1990, racedrivcg,  racedriv, racedrvc, racedrvc, racedrvc, ROT0, "Atari Games", "Race Drivin' (compact, German, rev 5)", 0 )
3970GAME( 1990, racedrivc4,  racedriv, racedrvc, racedrvc, racedrvc, ROT0, "Atari Games", "Race Drivin' (compact, rev 4)", 0 )
3971GAME( 1990, racedrivcb4, racedriv, racedrvc, racedrvc, racedrvc, ROT0, "Atari Games", "Race Drivin' (compact, British, rev 4)", 0 )
3972GAME( 1990, racedrivcg4, racedriv, racedrvc, racedrvc, racedrvc, ROT0, "Atari Games", "Race Drivin' (compact, German, rev 4)", 0 )
3973GAME( 1990, racedrivc2,  racedriv, racedrvc, racedrvc, racedrc1, ROT0, "Atari Games", "Race Drivin' (compact, rev 2)", 0 )
3974GAME( 1990, racedrivc1,  racedriv, racedrvc, racedrvc, racedrc1, ROT0, "Atari Games", "Race Drivin' (compact, rev 1)", 0 )
39753975
3976GAME( 1991, steeltal, 0,        steeltal, steeltal, steeltal, ROT0, "Atari Games", "Steel Talons (rev 2)", 0 )
3977GAME( 1991, steeltag, steeltal, steeltal, steeltal, steeltal, ROT0, "Atari Games", "Steel Talons (German, rev 2)", 0 )
3978GAME( 1991, steelta1, steeltal, steeltal, steeltal, steelta1, ROT0, "Atari Games", "Steel Talons (rev 1)", 0 )
3979GAME( 1991, steeltap, steeltal, steeltal, steeltal, steeltap, ROT0, "Atari Games", "Steel Talons (prototype)", GAME_NOT_WORKING )
3976GAME( 1991, steeltal,  0,        steeltal, steeltal, steeltal, ROT0, "Atari Games", "Steel Talons (rev 2)", 0 )
3977GAME( 1991, steeltalg, steeltal, steeltal, steeltal, steeltal, ROT0, "Atari Games", "Steel Talons (German, rev 2)", 0 )
3978GAME( 1991, steeltal1, steeltal, steeltal, steeltal, steelta1, ROT0, "Atari Games", "Steel Talons (rev 1)", 0 )
3979GAME( 1991, steeltalp, steeltal, steeltal, steeltal, steeltap, ROT0, "Atari Games", "Steel Talons (prototype)", GAME_NOT_WORKING )
39803980
39813981GAME( 1993, strtdriv, 0,        strtdriv, strtdriv, strtdriv, ROT0, "Atari Games", "Street Drivin' (prototype)", GAME_NO_SOUND )
39823982
3983GAME( 1993, hdrivair, 0,        hdrivair, hdrivair, hdrivair, ROT0, "Atari Games", "Hard Drivin's Airborne (prototype)", GAME_NO_SOUND )
3984GAME( 1993, hdrivaip, hdrivair, hdrivair, hdrivair, hdrivaip, ROT0, "Atari Games", "Hard Drivin's Airborne (prototype, early rev)", GAME_NOT_WORKING | GAME_NO_SOUND )
3983GAME( 1993, hdrivair,  0,        hdrivair, hdrivair, hdrivair, ROT0, "Atari Games", "Hard Drivin's Airborne (prototype)", GAME_NO_SOUND )
3984GAME( 1993, hdrivairp, hdrivair, hdrivair, hdrivair, hdrivaip, ROT0, "Atari Games", "Hard Drivin's Airborne (prototype, early rev)", GAME_NOT_WORKING | GAME_NO_SOUND )
src/mame/drivers/spoker.c
r5338r5339
268268   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_NAME("Memory Clear")   // stats, memory
269269   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SPECIAL  ) PORT_CUSTOM( hopper_r, (void *)0 ) PORT_NAME("HPSW")   // hopper sensor
270270   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN  )
271   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_4) PORT_NAME("Payout")
271   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
272272   PORT_SERVICE_NO_TOGGLE( 0x20, IP_ACTIVE_LOW )
273   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F1) PORT_NAME("Statistics")
273   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Statistics")
274274   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN  )
275275
276276   PORT_START("COINS")
277277   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1   )
278278   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
279279   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2   )
280   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_CODE(KEYCODE_Q) PORT_NAME("Key In")
281   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Down")
280   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
281   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Down")
282282   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
283283   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
284284   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
288288
289289   PORT_START("BUTTONS2")
290290   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
291   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold1/High/Low")
292   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold5/Bet")
293   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold4/Take")
294   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold3/W-Up")
295   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold2/Red/Black")
291   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Hold 1 / High / Low")
292   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Hold 5 / Bet")
293   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Hold 4 / Take")
294   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Hold 3 / W-Up")
295   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Hold 2 / Red / Black")
296296   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
297297INPUT_PORTS_END
298298
r5338r5339
444444   ROM_LOAD( "7.bin",   0x0000, 0x40000, CRC(67789f1c) SHA1(1bef621b4d6399f76020c6310e2e1c2f861679de) )
445445ROM_END
446446
447GAME( 1993?, spk116it, 0,        spoker, spoker,  spk116it, ROT0, "IGS",    "Super Poker (v116IT)",                      0 )
448GAME( 1993?, spk115it, spk116it, spoker, spoker,  spk116it, ROT0, "IGS",    "Super Poker (v115IT)",                      0 )
449
447GAME( 1993?, spk116it, 0,        spoker, spoker,  spk116it, ROT0, "IGS", "Super Poker (v116IT)", 0 )
448GAME( 1993?, spk115it, spk116it, spoker, spoker,  spk116it, ROT0, "IGS", "Super Poker (v115IT)", 0 )
src/mame/drivers/snk68.c
r5338r5339
750750   ROM_LOAD( "pl20l10a.1n", 0x0000, 0x00cc, NO_DUMP ) /* PAL is read protected */
751751ROM_END
752752
753ROM_START( streets1 )
753ROM_START( streetsm1 )
754754   ROM_REGION( 0x40000, "maincpu", 0 )
755755   ROM_LOAD16_BYTE( "s2-1ver1.9c",  0x00000, 0x20000, CRC(b59354c5) SHA1(086c87541d422f90bdaad8d63b14d0d520c12564) )
756756   ROM_LOAD16_BYTE( "s2-2ver1.10c", 0x00001, 0x20000, CRC(e448b68b) SHA1(08d674ab3d9bd3d3b1d50967a56fa6a002ce0b8d) )
r5338r5339
776776   ROM_LOAD( "s2-6.18d",    0x000000, 0x20000, CRC(47db1605) SHA1(ae00e633eb98567f04ff97e3d63e04e049d955ec) )
777777ROM_END
778778
779ROM_START( streetsw )
779ROM_START( streetsmw )
780780   ROM_REGION( 0x40000, "maincpu", 0 )
781781   ROM_LOAD16_BYTE( "s-smart1.bin", 0x00000, 0x20000, CRC(a1f5ceab) SHA1(74f5a4288618fbce6ed3dc75b6ccfa695396193c) )
782782   ROM_LOAD16_BYTE( "s-smart2.bin", 0x00001, 0x20000, CRC(263f615d) SHA1(4576f9d2abb31ecf747a5075716579e75613d57c) )
r5338r5339
802802   ROM_LOAD( "s2-6.18d",    0x000000, 0x20000, CRC(47db1605) SHA1(ae00e633eb98567f04ff97e3d63e04e049d955ec) )
803803ROM_END
804804
805ROM_START( streetsj )
805ROM_START( streetsmj )
806806   ROM_REGION( 0x40000, "maincpu", 0 )
807807   ROM_LOAD16_BYTE( "s2v1j_01.bin", 0x00000, 0x20000, CRC(f031413c) SHA1(5d7dfeac03f786736914f047c28a7a0488175176) )
808808   ROM_LOAD16_BYTE( "s2v1j_02.bin", 0x00001, 0x20000, CRC(e403a40b) SHA1(e740848d716586737eff6e3c201fb3e3da048a09) )
r5338r5339
946946   ROM_LOAD16_BYTE( "bhw.4", 0x000001, 0x20000, CRC(16d8525c) SHA1(0098b0a7fcb23de2661bbec9a05254aa46579bb2) )
947947ROM_END
948948
949ROM_START( sercharu )
949ROM_START( searcharu )
950950   ROM_REGION( 0x40000, "maincpu", 0 )
951951   ROM_LOAD16_BYTE( "bh.2",  0x000000, 0x20000, CRC(c852e2e2) SHA1(c4b1b366f452122549046a3dec9b6b375bc273af) )
952952   ROM_LOAD16_BYTE( "bh.3",  0x000001, 0x20000, CRC(bc04a4a1) SHA1(aa91583b987248a3e99813ab5e8ee03c02dac9b9) )
r5338r5339
976976   ROM_LOAD16_BYTE( "bh.4",  0x000001, 0x20000, CRC(eabc5ddf) SHA1(08a2a8fcdf6a08a2694e00f4232a5bfbec98fd27) )
977977ROM_END
978978
979ROM_START( sercharj )
979ROM_START( searcharj )
980980   ROM_REGION( 0x40000, "maincpu", 0 )
981981   ROM_LOAD16_BYTE( "bh2ver3j.9c", 0x000000, 0x20000, CRC(7ef7b172) SHA1(85669ba72f59e4ff3a483bf611bf41c73f4e1930) )
982982   ROM_LOAD16_BYTE( "bh3ver3j.10c", 0x000001, 0x20000, CRC(3fdea793) SHA1(49bafb53466afb7e4486a4894e4fd6fa08ea2eb2) )
r5338r5339
10181018GAME( 1988, pow,      0,        pow,      pow,      0,        ROT0,  "SNK", "P.O.W. - Prisoners of War (US version 1)", 0 )
10191019GAME( 1988, powj,     pow,      pow,      powj,     0,        ROT0,  "SNK", "Datsugoku - Prisoners of War (Japan)", 0 )
10201020GAME( 1989, streetsm, 0,        pow,      streetsm, 0,        ROT0,  "SNK", "Street Smart (US version 2)", 0 )
1021GAME( 1989, streets1, streetsm, searchar, streetsm, 0,        ROT0,  "SNK", "Street Smart (US version 1)", 0 )
1022GAME( 1989, streetsw, streetsm, searchar, streetsj, 0,        ROT0,  "SNK", "Street Smart (World version 1)", 0 )
1023GAME( 1989, streetsj, streetsm, searchar, streetsj, 0,        ROT0,  "SNK", "Street Smart (Japan version 1)", 0 )
1021GAME( 1989, streetsm1,streetsm, searchar, streetsm, 0,        ROT0,  "SNK", "Street Smart (US version 1)", 0 )
1022GAME( 1989, streetsmw,streetsm, searchar, streetsj, 0,        ROT0,  "SNK", "Street Smart (World version 1)", 0 )
1023GAME( 1989, streetsmj,streetsm, searchar, streetsj, 0,        ROT0,  "SNK", "Street Smart (Japan version 1)", 0 )
10241024GAME( 1989, ikari3,   0,        searchar, ikari3,   searchar, ROT0,  "SNK", "Ikari III - The Rescue (Rotary Joystick)", 0 )
10251025GAME( 1989, ikari3nr, ikari3,   searchar, ikari3,   searchar, ROT0,  "SNK", "Ikari III - The Rescue (8-Way Joystick)", 0 )
10261026GAME( 1989, searchar, 0,        searchar, searchar, searchar, ROT90, "SNK", "SAR - Search And Rescue (World)", 0 )
1027GAME( 1989, sercharu, searchar, searchar, searchar, searchar, ROT90, "SNK", "SAR - Search And Rescue (US)", 0 )
1028GAME( 1989, sercharj, searchar, searchar, searchar, searchar, ROT90, "SNK", "SAR - Search And Rescue (Japan)", 0 )
1027GAME( 1989, searcharu,searchar, searchar, searchar, searchar, ROT90, "SNK", "SAR - Search And Rescue (US)", 0 )
1028GAME( 1989, searcharj,searchar, searchar, searchar, searchar, ROT90, "SNK", "SAR - Search And Rescue (Japan)", 0 )
src/mame/drivers/madalien.c
r5338r5339
382382
383383***************************************************************************/
384384
385ROM_START( madalina )
385ROM_START( madaliena )
386386   ROM_REGION( 0x10000, "maincpu", 0 )                   /* main CPU */
387387   ROM_LOAD( "2716.4c", 0xb000, 0x0800, CRC(90be68af) SHA1(472ccfd2e04d6d49be47d919cba0c55d850b2887) )
388388   ROM_LOAD( "2716.4e", 0xb800, 0x0800, CRC(aba10cbb) SHA1(6ca213ded8ed7f4f310ab5ae25220cf867dd1d00) )
r5338r5339
420420
421421/*          set       parent    machine   inp       init */
422422GAME( 1980, madalien, 0,        madalien, madalien, 0, ROT270, "Data East Corporation", "Mad Alien", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE )
423GAME( 1980, madalina, madalien, madalien, madalien, 0, ROT270, "Data East Corporation", "Mad Alien (Highway Chase)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE )
423GAME( 1980, madaliena, madalien, madalien, madalien, 0, ROT270, "Data East Corporation", "Mad Alien (Highway Chase)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE )
src/mame/drivers/stlforce.c
r5338r5339
368368   ROM_COPY( "user1", 0x060000, 0x0e0000, 0x020000)
369369ROM_END
370370
371ROM_START( twinbrta )
371ROM_START( twinbrata )
372372   ROM_REGION( 0x40000, "cpu", 0 ) /* 68000 Code */
373373   ROM_LOAD16_BYTE( "2.bin", 0x00000, 0x20000, CRC(5e75f568) SHA1(f42d2a73d737e6b01dd049eea2a10fc8c8096d8f) )
374374   ROM_LOAD16_BYTE( "3.bin", 0x00001, 0x20000, CRC(0e3fa9b0) SHA1(0148cc616eac84dc16415e1557ec6040d14392d4) )
r5338r5339
416416
417417GAME( 1994, stlforce, 0,        stlforce, stlforce, stlforce, ROT0, "Electronic Devices Italy / Ecogames S.L. Spain", "Steel Force", 0 )
418418GAME( 1995, twinbrat, 0,        twinbrat, stlforce, twinbrat, ROT0, "Elettronica Video-Games S.R.L.", "Twin Brats (set 1)", 0 )
419GAME( 1995, twinbrta, twinbrat, twinbrat, stlforce, twinbrat, ROT0, "Elettronica Video-Games S.R.L.", "Twin Brats (set 2)", 0 )
419GAME( 1995, twinbrata,twinbrat, twinbrat, stlforce, twinbrat, ROT0, "Elettronica Video-Games S.R.L.", "Twin Brats (set 2)", 0 )
src/mame/drivers/zr107.c
r5338r5339
859859
860860/*****************************************************************************/
861861
862ROM_START(midnrun)
862ROM_START( midnrun )
863863   ROM_REGION(0x200000, "user1", 0)   /* PowerPC program roms */
864864   ROM_LOAD32_BYTE( "476ea1a01.20u", 0x000003, 0x80000, CRC(ea70edf2) SHA1(51c882383a150ba118ccd39eb869525fcf5eee3c) )
865865   ROM_LOAD32_BYTE( "476ea1a02.17u", 0x000002, 0x80000, CRC(1462994f) SHA1(c8614c6c416f81737cc77c46eea6d8d440bc8cf3) )
r5338r5339
885885   ROM_LOAD( "477a08.5r", 0x400000, 0x200000, CRC(d320dbde) SHA1(eb602cad6ac7c7151c9f29d39b10041d5a354164) )
886886ROM_END
887887
888ROM_START(windheat)
888ROM_START( windheat )
889889   ROM_REGION(0x200000, "user1", 0)   /* PowerPC program roms */
890890   ROM_LOAD32_BYTE( "677eaa01.20u", 0x000003, 0x080000, CRC(500b61f4) SHA1(ec39165412978c0dbd3cbf1f7b6989b5d7ba20a0) )
891891   ROM_LOAD32_BYTE( "677eaa02.17u", 0x000002, 0x080000, CRC(99f9fd3b) SHA1(aaec5d7f4e46648aab3738ab09e46b312caee58f) )
r5338r5339
911911   ROM_LOAD( "677a08.5r", 0x400000, 0x200000, CRC(bde38850) SHA1(aaf1bdfc25ecdffc1f6076c9c1b2edbe263171d2) )
912912ROM_END
913913
914ROM_START(windheau)
914ROM_START( windheatu )
915915   ROM_REGION(0x200000, "user1", 0)   /* PowerPC program roms */
916916   ROM_LOAD32_BYTE( "677ubc01.20u", 0x000003, 0x080000, CRC(63198721) SHA1(7f34131bf51d573d0c683b28df2567a0b911c98c) )
917917   ROM_LOAD32_BYTE( "677ubc02.17u", 0x000002, 0x080000, CRC(bdb00e2d) SHA1(c54b2250047576e12e9936300989e40494b4659d) )
r5338r5339
937937   ROM_LOAD( "677a08.5r", 0x400000, 0x200000, CRC(bde38850) SHA1(aaf1bdfc25ecdffc1f6076c9c1b2edbe263171d2) )
938938ROM_END
939939
940ROM_START(jetwave)
940ROM_START( jetwave )
941941   ROM_REGION(0x200000, "user1", 0)   /* PowerPC program roms */
942942   ROM_LOAD32_BYTE( "678uab01.20u", 0x000003, 0x080000, CRC(a9b9ceed) SHA1(36f0d18481d7c3e7358e02473e54bc6b52d5c26b) )
943943   ROM_LOAD32_BYTE( "678uab02.17u", 0x000002, 0x080000, CRC(5ed24ac8) SHA1(d659c751558d4f8d89314466a37c04ac2df46879) )
r5338r5339
967967
968968GAME( 1995, midnrun,  0,        zr107,   midnrun,  zr107,   ROT0, "Konami", "Midnight Run (Euro v1.11)", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND )
969969GAME( 1996, windheat, 0,        zr107,   windheat, zr107,   ROT0, "Konami", "Winding Heat (EAA, Euro v2.11)", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND )
970GAME( 1996, windheau, windheat, zr107,   windheat, zr107,   ROT0, "Konami", "Winding Heat (UBC, USA v2.22)", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND )
970GAME( 1996, windheatu,windheat, zr107,   windheat, zr107,   ROT0, "Konami", "Winding Heat (UBC, USA v2.22)", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND )
971971GAME( 1996, jetwave,  0,        jetwave, jetwave,  jetwave, ROT0, "Konami", "Jet Wave (UAB, USA v1.04)", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING )
src/mame/drivers/sbrkout.c
r5338r5339
126126   if (scanline == video_screen_get_visible_area(machine->primary_screen)->max_y + 1)
127127   {
128128      UINT8 potvalue = input_port_read(machine, "PADDLE");
129      timer_adjust_oneshot(pot_timer, video_screen_get_time_until_pos(machine->primary_screen, 72 + (potvalue / 2), (potvalue % 2) * 128), 0);
129      timer_adjust_oneshot(pot_timer, video_screen_get_time_until_pos(machine->primary_screen, 56 + (potvalue / 2), (potvalue % 2) * 128), 0);
130130   }
131131
132132   /* call us back in 4 scanlines */
src/mame/drivers/bladestl.c
r5338r5339
336336   ROM_LOAD( "797a04",   0x80000, 0x40000, CRC(9ac8ea4e) SHA1(9f81eff970c9e8aea6f67d8a7d89805fae044ae1) )
337337ROM_END
338338
339ROM_START( bladstle )
339ROM_START( bladestle )
340340   ROM_REGION( 0x18000, "maincpu", 0 ) /* code + banked roms */
341341   ROM_LOAD( "797e01", 0x10000, 0x08000, CRC(f8472e95) SHA1(8b6caa905fb1642300dd9da508871b00429872c3) )   /* fixed ROM */
342342   ROM_CONTINUE(      0x08000, 0x08000 )            /* banked ROM */
r5338r5339
358358
359359
360360GAME( 1987, bladestl, 0,        bladestl, bladestl, 0, ROT90, "Konami", "Blades of Steel (version T)", 0 )
361GAME( 1987, bladstle, bladestl, bladestl, bladstle, 0, ROT90, "Konami", "Blades of Steel (version E)", 0 )
361GAME( 1987, bladestle,bladestl, bladestl, bladstle, 0, ROT90, "Konami", "Blades of Steel (version E)", 0 )
src/mame/drivers/bwidow.c
r5338r5339
826826   ROM_LOAD( "136002-125.n4",    0x0000, 0x0100, CRC(5903af03) SHA1(24bc0366f394ad0ec486919212e38be0f08d0239) )
827827ROM_END
828828
829ROM_START( gravitr2 )
829ROM_START( gravitar2 )
830830   ROM_REGION( 0x10000, "maincpu", 0 )
831831   /* Vector ROM */
832832   ROM_LOAD( "136010.210",   0x2800, 0x0800, CRC(debcb243) SHA1(2c50cd38d60739c126f1d0d8e7fbd46a0bde6e1c) )
r5338r5339
943943GAME( 1980, spacduel, 0,        spacduel, spacduel, 0, ROT0, "Atari", "Space Duel", GAME_SUPPORTS_SAVE )
944944GAME( 1982, bwidow,   0,        bwidow,   bwidow,   0, ROT0, "Atari", "Black Widow", GAME_SUPPORTS_SAVE )
945945GAME( 1982, gravitar, 0,        gravitar, gravitar, 0, ROT0, "Atari", "Gravitar (version 3)", GAME_SUPPORTS_SAVE )
946GAME( 1982, gravitr2, gravitar, gravitar, gravitar, 0, ROT0, "Atari", "Gravitar (version 2)", GAME_SUPPORTS_SAVE )
946GAME( 1982, gravitar2,gravitar, gravitar, gravitar, 0, ROT0, "Atari", "Gravitar (version 2)", GAME_SUPPORTS_SAVE )
947947GAME( 1982, gravp,    gravitar, gravitar, gravitar, 0, ROT0, "Atari", "Gravitar (prototype)", GAME_SUPPORTS_SAVE )
948948GAME( 1982, lunarbat, gravitar, gravitar, gravitar, 0, ROT0, "Atari", "Lunar Battle (prototype, later)", GAME_SUPPORTS_SAVE )
949949GAME( 1982, lunarba1, gravitar, lunarbat, lunarbat, 0, ROT0, "Atari", "Lunar Battle (prototype, earlier)", GAME_SUPPORTS_SAVE )
src/mame/drivers/srumbler.c
r5338r5339
337337   ROM_LOAD( "63s141.8j",    0x0200, 0x0100, CRC(1a89a7ff) SHA1(437160ad5d61a257b7deaf5f5e8b3d4cf56a9663) )   /* priority (not used) */
338338ROM_END
339339
340ROM_START( srumblr2 )
340ROM_START( srumbler2 )
341341   ROM_REGION( 0x40000, "user1", 0 ) /* Paged ROMs */
342342   ROM_LOAD( "14e_sr04.bin", 0x00000, 0x08000, CRC(a68ce89c) SHA1(cb5dd8c47c24f9d8ac9a6135c0b7942d16002d25) )  /* RC4 */
343343   ROM_LOAD( "rc03.13e",     0x08000, 0x08000, CRC(e82f78d4) SHA1(39cb5d9c18e7635d48aa29221ae99e6a500e2841) )  /* RC3 (different) */
r5338r5339
426426
427427
428428GAME( 1986, srumbler, 0,        srumbler, srumbler, 0, ROT270, "Capcom", "The Speed Rumbler (set 1)", 0 )
429GAME( 1986, srumblr2, srumbler, srumbler, srumbler, 0, ROT270, "Capcom", "The Speed Rumbler (set 2)", 0 )
429GAME( 1986, srumbler2,srumbler, srumbler, srumbler, 0, ROT270, "Capcom", "The Speed Rumbler (set 2)", 0 )
430430GAME( 1986, rushcrsh, srumbler, srumbler, srumbler, 0, ROT270, "Capcom", "Rush & Crash (Japan)", 0 )
src/mame/drivers/mcr68.c
r5338r5339
11521152ROM_END
11531153
11541154
1155ROM_START( spyhnt2a )
1155ROM_START( spyhunt2a )
11561156   ROM_REGION( 0x40000, "maincpu", 0 )
11571157   ROM_LOAD16_BYTE( "3c",  0x00000, 0x10000, CRC(5b92aadf) SHA1(0d0e2606fc5346e396f0a7b8ceb190ee42e485c3) )
11581158   ROM_LOAD16_BYTE( "3b",  0x00001, 0x10000, CRC(6ed0a25f) SHA1(542f77889b0cfdfeeff47e5beaef97c7516b77e1) )
r5338r5339
12711271ROM_END
12721272
12731273
1274ROM_START( archriv2 )
1274ROM_START( archrivl2 )
12751275   ROM_REGION( 0x40000, "maincpu", 0 )
12761276   ROM_LOAD16_BYTE( "archrivl.4",  0x00000, 0x10000, CRC(3c545740) SHA1(84a467756c959385a3ec3b97026823470bbab7ab) )
12771277   ROM_LOAD16_BYTE( "archrivl.2",  0x00001, 0x10000, CRC(bc4df2b9) SHA1(7314d03d4cf7e8a83135fa67969dda3088e212fb) )
r5338r5339
15081508GAME( 1984, zwackery, 0,        zwackery, zwackery, zwackery, ROT0,   "Bally Midway", "Zwackery", GAME_SUPPORTS_SAVE )
15091509GAME( 1987, xenophob, 0,        xenophob, xenophob, xenophob, ROT0,   "Bally Midway", "Xenophobe", GAME_SUPPORTS_SAVE )
15101510GAME( 1987, spyhunt2, 0,        spyhunt2, spyhunt2, spyhunt2, ROT0,   "Bally Midway", "Spy Hunter 2 (rev 2)", GAME_SUPPORTS_SAVE )
1511GAME( 1987, spyhnt2a, spyhunt2, spyhunt2, spyhunt2, spyhunt2, ROT0,   "Bally Midway", "Spy Hunter 2 (rev 1)", GAME_SUPPORTS_SAVE )
1511GAME( 1987, spyhunt2a,spyhunt2, spyhunt2, spyhunt2, spyhunt2, ROT0,   "Bally Midway", "Spy Hunter 2 (rev 1)", GAME_SUPPORTS_SAVE )
15121512GAME( 1988, blasted,  0,        xenophob, blasted,  blasted,  ROT0,   "Bally Midway", "Blasted", GAME_SUPPORTS_SAVE )
15131513GAME( 1989, archrivl, 0,        archrivl, archrivl, archrivl, ROT0,   "Bally Midway", "Arch Rivals (rev 4.0)", GAME_SUPPORTS_SAVE )
1514GAME( 1989, archriv2, archrivl, archrivl, archrivl, archrivl, ROT0,   "Bally Midway", "Arch Rivals (rev 2.0)", GAME_SUPPORTS_SAVE )
1514GAME( 1989, archrivl2,archrivl, archrivl, archrivl, archrivl, ROT0,   "Bally Midway", "Arch Rivals (rev 2.0)", GAME_SUPPORTS_SAVE )
15151515GAME( 1989, trisport, 0,        trisport, trisport, trisport, ROT270, "Bally Midway", "Tri-Sports", GAME_SUPPORTS_SAVE )
15161516GAME( 1990, pigskin,  0,        pigskin,  pigskin,  pigskin,  ROT0,   "Midway", "Pigskin 621AD", GAME_SUPPORTS_SAVE )
src/mame/drivers/pbaction.c
r5338r5339
341341ROM_END
342342
343343
344ROM_START( pbactio2 )
344ROM_START( pbaction2 )
345345   ROM_REGION( 0x10000, "maincpu", 0 )
346346   ROM_LOAD( "pba16.bin",     0x0000, 0x4000, CRC(4a239ebd) SHA1(74e6da0485ac78093b4f09953fa3accb14bc3e43) )
347347   ROM_LOAD( "pba15.bin",     0x4000, 0x4000, CRC(3afef03a) SHA1(dec714415d2fd00c9021171a48f6c94b40888ae8) )
r5338r5339
370370   ROM_LOAD( "b-f7.bin",     0x04000, 0x2000, CRC(af6e9817) SHA1(56f47d25761b3850c49a3a81b5ea35f12bd77b14) )
371371ROM_END
372372
373ROM_START( pbactio3 )
373ROM_START( pbaction3 )
374374   ROM_REGION( 2*0x10000, "maincpu", 0 )
375375   ROM_LOAD( "14.bin",     0x0000, 0x4000, CRC(f17a62eb) SHA1(8dabfc0ad127c154c0293a65df32d52d57dd9755) )
376376   ROM_LOAD( "12.bin",     0x4000, 0x4000, CRC(ec3c64c6) SHA1(6130b80606d717f95e219316c2d3fa0a1980ea1d) )
r5338r5339
396396   ROM_LOAD( "b-f7.bin",     0x04000, 0x2000, CRC(af6e9817) SHA1(56f47d25761b3850c49a3a81b5ea35f12bd77b14) )
397397ROM_END
398398
399ROM_START( pbaction4 )
400   ROM_REGION( 2*0x10000, "maincpu", 0 )
401   ROM_LOAD( "pinball_09.bin",     0x0000, 0x4000, CRC(c8e81ece) SHA1(04eafbd79263225f6c6fb5f04951b54179144f17) )
402   ROM_IGNORE(0x4000)
403   ROM_LOAD( "pinball_10.bin",     0x4000, 0x8000, CRC(04b56c7c) SHA1(d09c22fd0235e1c6a9b1978ba69338bb1ae5667d) )
399404
405   ROM_REGION( 0x10000, "audiocpu", 0 )   /* 64k for sound board */
406   ROM_LOAD( "pinball_01.bin",     0x0000,  0x2000, CRC(8b69b933) SHA1(eb0762579d52ed9f5b1a002ffe7e517c59650e22) )
407
408   ROM_REGION( 0x06000, "fgchars", 0 )
409   ROM_LOAD( "pinball_06.bin",     0x00000, 0x2000, CRC(9a74a8e1) SHA1(bd27439b91f41db3fd7eedb44e828d61b793bda0) )
410   ROM_LOAD( "pinball_07.bin",     0x02000, 0x2000, CRC(5ca6ad3c) SHA1(7c8eff087f18cc2ff0572ea45e681a3a1ec94fad) )
411   ROM_LOAD( "pinball_08.bin",     0x04000, 0x2000, CRC(9f00b757) SHA1(74b6d926b8f456c8d0101f0232c5d3662423b396) )
412
413   ROM_REGION( 0x10000, "bgchars", 0 )
414   ROM_LOAD( "pinball_02.bin",     0x00000, 0x4000, CRC(01ba32c9) SHA1(196f8c6e037a7ebdcefc80b453f3801b3b6eb075) )
415   ROM_IGNORE(0x4000)
416   ROM_LOAD( "pinball_03.bin",     0x04000, 0x4000, CRC(f605ae40) SHA1(9a28869014d2df513090d15ccb478de9f5d65b24) )
417   ROM_IGNORE(0x4000)
418   ROM_LOAD( "pinball_04.bin",     0x08000, 0x4000, CRC(9e23a780) SHA1(2d49ee79b9261bdb8367b28bfca9940b4527c87a) )
419   ROM_IGNORE(0x4000)
420   ROM_LOAD( "pinball_05.bin",     0x0c000, 0x4000, CRC(c9a4dfea) SHA1(38fb34f21773d652b14108e4a083d7c7acecdd03) )
421   ROM_IGNORE(0x4000)
422
423   ROM_REGION( 0x06000, "sprites", 0 )
424   ROM_LOAD( "pinball_14.bin",     0x00000, 0x2000, CRC(d1795ef5) SHA1(69ad8e419e340d2f548468ed7838102789b978da) )
425   ROM_LOAD( "pinball_13.bin",     0x02000, 0x2000, CRC(f28df203) SHA1(060f70ed6386c808303a488c97691257681bd8f3) )
426   ROM_LOAD( "pinball_12.bin",     0x04000, 0x2000, CRC(af6e9817) SHA1(56f47d25761b3850c49a3a81b5ea35f12bd77b14) )
427ROM_END
428
429
400430static READ8_HANDLER( pbactio3_prot_kludge_r )
401431{
402432   /* on startup, the game expect this location to NOT act as RAM */
r5338r5339
424454   memory_install_read8_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0xc000, 0xc000, 0, 0, pbactio3_prot_kludge_r );
425455}
426456
457static DRIVER_INIT( pbactio4 )
458{
459   /* this one only has the Sega decryption */
460   pbaction_decode(machine, "maincpu");
461}
427462
463
464
428465GAME( 1985, pbaction, 0,        pbaction, pbaction, 0,        ROT90, "Tehkan", "Pinball Action (set 1)", 0 )
429GAME( 1985, pbactio2, pbaction, pbaction, pbaction, 0,        ROT90, "Tehkan", "Pinball Action (set 2)", 0 )
430GAME( 1985, pbactio3, pbaction, pbaction, pbaction, pbactio3, ROT90, "Tehkan", "Pinball Action (set 3, encrypted)", 0 )
466GAME( 1985, pbaction2,pbaction, pbaction, pbaction, 0,        ROT90, "Tehkan", "Pinball Action (set 2)", 0 )
467GAME( 1985, pbaction3,pbaction, pbaction, pbaction, pbactio3, ROT90, "Tehkan", "Pinball Action (set 3, encrypted)", 0 )
468GAME( 1985, pbaction4,pbaction, pbaction, pbaction, pbactio4, ROT90, "Tehkan", "Pinball Action (set 4, encrypted)", 0 )
src/mame/drivers/re900.c
r5338r5339
325325
326326static INPUT_PORTS_START( bs94 )
327327   PORT_START("IN0")
328   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Bet")       PORT_CODE(KEYCODE_2)
329   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Double")    PORT_CODE(KEYCODE_3)
330   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Deal/Draw") PORT_CODE(KEYCODE_1)
331   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 5")    PORT_CODE(KEYCODE_B)
332   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Take")      PORT_CODE(KEYCODE_4)
333   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Hold 4")    PORT_CODE(KEYCODE_V)
334   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Cancel")    PORT_CODE(KEYCODE_N)
335   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Hold 3")    PORT_CODE(KEYCODE_C)
328   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
329   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) PORT_NAME("Double")
330   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Draw")
331   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
332   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE )
333   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
334   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POKER_CANCEL )
335   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
336336
337337   PORT_START("IN1")
338   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Operator")  PORT_TOGGLE PORT_CODE(KEYCODE_0)
339   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2")    PORT_CODE(KEYCODE_X)
340   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Card High") PORT_CODE(KEYCODE_A)
341   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 1")    PORT_CODE(KEYCODE_Z)
342   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Card Low")  PORT_CODE(KEYCODE_S)
343   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Key In")    PORT_CODE(KEYCODE_5)
344   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Key Out")   PORT_CODE(KEYCODE_8)
345   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Auditor")   PORT_CODE(KEYCODE_9)
338   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Operator") PORT_TOGGLE PORT_CODE(KEYCODE_0)
339   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
340   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Card High")
341   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
342   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Card Low")
343   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
344   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )
345   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Auditor") PORT_CODE(KEYCODE_9)
346346INPUT_PORTS_END
347347
348348
src/mame/drivers/funworld.c
r5338r5339
3636    * Royal Card (austrian, set 1),                     TAB-Austria,        1991.
3737    * Royal Card (austrian, set 2),                     TAB-Austria,        1991.
3838    * Royal Card (slovak, encrypted),                   Evona Electronic,   1991.
39    * Royal Card Professional 2.0,                      Digital Dreams,     1993.
3940    * Lucky Lady (3x3 deal),                            TAB-Austria,        1991.
4041    * Lucky Lady (4x1 aces),                            TAB-Austria,        1991.
4142    * Magic Card II (bulgarian),                        Impera,             1996.
r5338r5339
218219    These games don't operate with regular coins/tokens. Only remote credits are allowed.
219220
220221
222    * Royal Card Professional 2.0 (Digital Dreams)
223
224    Same generated code as Jolly Card Professional.
225
226
221227    * Magic Card II (Impera)
222228
223229    Impera made 2 graphics sets for this game. One of them is encrypted, and meant for the TAB blue board.
r5338r5339
10741080
10751081static WRITE8_DEVICE_HANDLER(pia1_ca2_w)
10761082{
1077/* TAB and Impera games are writting 0x01 constantly, and 0x00 with each screen change */
1083/* TAB and Impera games are writting 0x01 constantly, and 0x00 with each screen change.
1084   This line is tied to sort of reset circuitery.
1085*/
10781086//  popmessage("PIA1 CA2: %02X", data);
10791087}
10801088
r5338r5339
11771185
11781186static INPUT_PORTS_START( funworld )
11791187   PORT_START("IN0")
1180   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Remote") PORT_CODE(KEYCODE_Q)
1181   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )   PORT_NAME("Halten (Hold) 1") PORT_CODE(KEYCODE_Z)
1182   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 )   PORT_NAME("Loeschen (Cancel) / Kassieren (Take)") PORT_CODE(KEYCODE_N)
1183   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )      PORT_NAME("Geben (Start) / Gamble (Play)")
1184   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )   PORT_NAME("Halten (Hold) 5 / Half Gamble") PORT_CODE(KEYCODE_B)
1185   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )   PORT_NAME("Buchhalt (Service1)")
1186   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )   PORT_NAME("Einstellen (Service2)")
1187   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 )   PORT_NAME("Halten (Hold) 4 / Hoch (High)") PORT_CODE(KEYCODE_V)
1188   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE )   PORT_NAME("Remote")
1189   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )   PORT_NAME("Halten (Hold) 1")
1190   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )   PORT_NAME("Loeschen (Cancel) / Kassieren (Take)")
1191   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )         PORT_NAME("Geben (Start) / Gamble (Play)")
1192   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )   PORT_NAME("Halten (Hold) 5 / Half Gamble")
1193   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )      PORT_NAME("Buchhalt (Service1)")
1194   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )      PORT_NAME("Einstellen (Service2)")
1195   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )   PORT_NAME("Halten (Hold) 4 / Hoch (High)")
11881196
11891197   PORT_START("IN1")
1190   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )   PORT_NAME("Halten (Hold) 2 / Tief (Low)") PORT_CODE(KEYCODE_X)
1191   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )   PORT_NAME("Halten (Hold) 3") PORT_CODE(KEYCODE_C)
1198   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )   PORT_NAME("Halten (Hold) 2 / Tief (Low)")
1199   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )   PORT_NAME("Halten (Hold) 3")
11921200   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
11931201   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1194   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Hoppersch") PORT_CODE(KEYCODE_W)
1202   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE )      PORT_NAME("Hoppersch") PORT_CODE(KEYCODE_H)
11951203   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
11961204   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1197   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 )   PORT_NAME("Abschreib (Payout)") PORT_CODE(KEYCODE_M)
1205   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )   PORT_NAME("Abschreib (Payout)")
11981206
11991207   PORT_START("IN2")
12001208   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
r5338r5339
12381246
12391247static INPUT_PORTS_START( jolycdcr )
12401248   PORT_START("IN0")
1241   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Navijanje (Remote)") PORT_CODE(KEYCODE_Q)
1242   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )   PORT_NAME("Stop (Hold) 1") PORT_CODE(KEYCODE_Z)
1243   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 )   PORT_NAME("Ponistavange (Cancel) / Kasiranje (Take) / Autohold") PORT_CODE(KEYCODE_N)
1244   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )      PORT_NAME("Djelenje (Start) / Gamble (Play)")
1245   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )   PORT_NAME("Stop (Hold) 5 / Ulog (Bet) / Half Gamble") PORT_CODE(KEYCODE_B)
1246   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )   PORT_NAME("Konobar (Service1)")
1247   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )   PORT_NAME("Namjestit (Service2)")
1248   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 )   PORT_NAME("Stop (Hold) 4 / Veca (High)") PORT_CODE(KEYCODE_V)
1249   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE )   PORT_NAME("Navijanje (Remote)")
1250   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )   PORT_NAME("Stop (Hold) 1")
1251   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )   PORT_NAME("Ponistavange (Cancel) / Kasiranje (Take) / Autohold")
1252   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )         PORT_NAME("Djelenje (Start) / Gamble (Play)")
1253   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )   PORT_NAME("Stop (Hold) 5 / Ulog (Bet) / Half Gamble")
1254   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )      PORT_NAME("Konobar (Service1)")
1255   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )      PORT_NAME("Namjestit (Service2)")
1256   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )   PORT_NAME("Stop (Hold) 4 / Veca (High)")
12491257
12501258   PORT_START("IN1")
1251   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )   PORT_NAME("Stop (Hold) 2 / Manja (Low)") PORT_CODE(KEYCODE_X)
1252   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )   PORT_NAME("Stop (Hold) 3") PORT_CODE(KEYCODE_C)
1259   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )   PORT_NAME("Stop (Hold) 2 / Manja (Low)")
1260   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )   PORT_NAME("Stop (Hold) 3")
12531261   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
12541262   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
12551263   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
12561264   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
12571265   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1258   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 )   PORT_NAME("Vratiti Nazad (Payout)") PORT_CODE(KEYCODE_M)
1266   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )   PORT_NAME("Vratiti Nazad (Payout)")
12591267
12601268   PORT_START("IN2")
12611269   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
12991307
13001308static INPUT_PORTS_START( jolycdit )
13011309   PORT_START("IN0")
1302   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Remote") PORT_CODE(KEYCODE_Q)
1303   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )   PORT_NAME("Stop (Hold) 1 / Alta (High)") PORT_CODE(KEYCODE_Z)
1304   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 )   PORT_NAME("Clear / Doppio (Double) / Autohold") PORT_CODE(KEYCODE_N)
1305   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )      PORT_NAME("Start")
1306   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )   PORT_NAME("Stop (Hold) 5 / Half Gamble") PORT_CODE(KEYCODE_B)
1310   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE )   PORT_NAME("Remote")
1311   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )   PORT_NAME("Stop (Hold) 1 / Alta (High)")
1312   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )   PORT_NAME("Clear / Doppio (Double) / Autohold")
1313   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )         PORT_NAME("Start")
1314   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )   PORT_NAME("Stop (Hold) 5 / Half Gamble")
13071315   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )
13081316   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )
1309   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 )   PORT_NAME("Stop (Hold) 4 / Accredito (Take)") PORT_CODE(KEYCODE_V)
1317   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )   PORT_NAME("Stop (Hold) 4 / Accredito (Take)")
13101318
13111319   PORT_START("IN1")
1312   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )   PORT_NAME("Stop (Hold) 2") PORT_CODE(KEYCODE_X)
1313   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )   PORT_NAME("Stop (Hold) 3 / Bassa (Low)") PORT_CODE(KEYCODE_C)
1320   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )   PORT_NAME("Stop (Hold) 2")
1321   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )   PORT_NAME("Stop (Hold) 3 / Bassa (Low)")
13141322   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
13151323   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
13161324   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
13171325   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
13181326   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1319   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 )   PORT_NAME("Payout") PORT_CODE(KEYCODE_M)
1327   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
13201328
13211329   PORT_START("IN2")
13221330   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
r5338r5339
13591367
13601368static INPUT_PORTS_START( jolycdib )
13611369   PORT_START("IN0")
1362   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Remote") PORT_CODE(KEYCODE_Q)
1363   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )   PORT_NAME("Stop (Hold) 1") PORT_CODE(KEYCODE_Z)
1364   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 )   PORT_NAME("Cancel / Autohold / Accredito (Take)") PORT_CODE(KEYCODE_N)
1365   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )      PORT_NAME("Start / Doppio (Double)")
1366   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )   PORT_NAME("Stop (Hold) 5 / Bet / Half Gamble") PORT_CODE(KEYCODE_B)
1370   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE )   PORT_NAME("Remote")
1371   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )   PORT_NAME("Stop (Hold) 1")
1372   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )   PORT_NAME("Cancel / Autohold / Accredito (Take)")
1373   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )         PORT_NAME("Start / Doppio (Double)")
1374   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )   PORT_NAME("Stop (Hold) 5 / Bet / Half Gamble")
13671375   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )
13681376   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )
1369   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 )   PORT_NAME("Stop (Hold) 4 / Alta (High)") PORT_CODE(KEYCODE_V)
1377   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )   PORT_NAME("Stop (Hold) 4 / Alta (High)")
13701378
13711379   PORT_START("IN1")
1372   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )   PORT_NAME("Stop (Hold) 2 / Bassa (Low)") PORT_CODE(KEYCODE_X)
1373   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )   PORT_NAME("Stop (Hold) 3") PORT_CODE(KEYCODE_C)
1374   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("test1") PORT_CODE(KEYCODE_A)
1375   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("test2") PORT_CODE(KEYCODE_S)
1376   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("test3") PORT_CODE(KEYCODE_D)
1380   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )   PORT_NAME("Stop (Hold) 2 / Bassa (Low)")
1381   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )   PORT_NAME("Stop (Hold) 3")
1382   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE )      PORT_NAME("test1") PORT_CODE(KEYCODE_A)
1383   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )      PORT_NAME("test2") PORT_CODE(KEYCODE_S)
1384   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE )      PORT_NAME("test3") PORT_CODE(KEYCODE_D)
13771385   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
1378   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("test4") PORT_CODE(KEYCODE_F)
1379   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 )   PORT_NAME("Payout") PORT_CODE(KEYCODE_M)
1386   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE )      PORT_NAME("test4") PORT_CODE(KEYCODE_F)
1387   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
13801388
13811389   PORT_START("IN2")
13821390   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
r5338r5339
14201428
14211429static INPUT_PORTS_START( jolyc980 )
14221430   PORT_START("IN0")
1423   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Navijanje (Remote)") PORT_CODE(KEYCODE_Q)
1424   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )   PORT_NAME("Stop (Hold) 1") PORT_CODE(KEYCODE_Z)
1425   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 )   PORT_NAME("Ponistavange (Cancel) / Kasiranje (Take) / Autohold") PORT_CODE(KEYCODE_N)
1426   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )      PORT_NAME("Djelenje (Start) / Gamble (Play)")
1427   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )   PORT_NAME("Stop (Hold) 5 / Ulog (Bet) / Half Gamble") PORT_CODE(KEYCODE_B)
1428   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )   PORT_NAME("Konobar (Service1)")
1429   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )   PORT_NAME("Namjestit (Service2)")
1430   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 )   PORT_NAME("Stop (Hold) 4 / Veca (High)") PORT_CODE(KEYCODE_V)
1431   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE )   PORT_NAME("Navijanje (Remote)")
1432   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )   PORT_NAME("Stop (Hold) 1")
1433   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )   PORT_NAME("Ponistavange (Cancel) / Kasiranje (Take) / Autohold")
1434   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )         PORT_NAME("Djelenje (Start) / Gamble (Play)")
1435   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )   PORT_NAME("Stop (Hold) 5 / Ulog (Bet) / Half Gamble")
1436   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )      PORT_NAME("Konobar (Service1)")
1437   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )      PORT_NAME("Namjestit (Service2)")
1438   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )   PORT_NAME("Stop (Hold) 4 / Veca (High)")
14311439
14321440   PORT_START("IN1")
1433   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )   PORT_NAME("Stop (Hold) 2 / Manja (Low)") PORT_CODE(KEYCODE_X)
1434   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )   PORT_NAME("Stop (Hold) 3") PORT_CODE(KEYCODE_C)
1441   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )   PORT_NAME("Stop (Hold) 2 / Manja (Low)")
1442   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )   PORT_NAME("Stop (Hold) 3")
14351443   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
14361444   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
14371445   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
14381446   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
14391447   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1440   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 )   PORT_NAME("Vratiti Nazad (Payout)") PORT_CODE(KEYCODE_M)
1448   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )   PORT_NAME("Vratiti Nazad (Payout)")
14411449
14421450   PORT_START("IN2")
14431451   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r5338r5339
14781486
14791487static INPUT_PORTS_START( bigdeal )
14801488   PORT_START("IN0")
1481   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Remote") PORT_CODE(KEYCODE_Q)
1482   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
1483   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Clear / Take") PORT_CODE(KEYCODE_N)
1484   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )  PORT_NAME("Start")
1485   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5 / Stake") PORT_CODE(KEYCODE_B)
1489   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE )   PORT_NAME("Remote")
1490   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )   PORT_NAME("Hold 1")
1491   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )   PORT_NAME("Clear / Take")
1492   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )         PORT_NAME("Start")
1493   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )   PORT_NAME("Hold 5 / Stake")
14861494   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )
14871495   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )
1488   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4 / Nagy (High)") PORT_CODE(KEYCODE_V)
1496   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )   PORT_NAME("Hold 4 / Nagy (High)")
14891497
14901498   PORT_START("IN1")
1491   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2 / Icsi (Low)") PORT_CODE(KEYCODE_X)
1492   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3 / Half Gamble") PORT_CODE(KEYCODE_C)
1499   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )   PORT_NAME("Hold 2 / Icsi (Low)")
1500   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )   PORT_NAME("Hold 3 / Half Gamble")
14931501   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
14941502   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
14951503   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
14961504   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
14971505   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1498   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_M)
1506   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
14991507
15001508   PORT_START("IN2")
15011509   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
r5338r5339
15401548
15411549static INPUT_PORTS_START( magicrd2 )
15421550   PORT_START("IN0")
1543   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Remote") PORT_CODE(KEYCODE_Q)
1544   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
1545   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Clear / Take") PORT_CODE(KEYCODE_N)
1546   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )  PORT_NAME("Start")
1547   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5 / Stake") PORT_CODE(KEYCODE_B)
1551   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE )   PORT_NAME("Remote")
1552   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )   PORT_NAME("Hold 1")
1553   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )   PORT_NAME("Clear / Take")
1554   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )         PORT_NAME("Start")
1555   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )   PORT_NAME("Hold 5 / Stake")
15481556   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )
15491557   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )
1550   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4 / High") PORT_CODE(KEYCODE_V)
1558   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )   PORT_NAME("Hold 4 / High")
15511559
15521560   PORT_START("IN1")
1553   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2 / Low") PORT_CODE(KEYCODE_X)
1554   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
1561   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )   PORT_NAME("Hold 2 / Low")
1562   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )   PORT_NAME("Hold 3")
15551563   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
15561564   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1557   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Hopper SW") PORT_CODE(KEYCODE_8)
1565   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE )      PORT_NAME("Hopper SW") PORT_CODE(KEYCODE_H)
15581566   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
15591567   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1560   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_M)
1568   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
15611569
15621570   PORT_START("IN2")
15631571   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
r5338r5339
16011609
16021610static INPUT_PORTS_START( royalcrd )
16031611   PORT_START("IN0")
1604   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Remote") PORT_CODE(KEYCODE_Q)
1605   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Halten (Hold) 1 / Hoch (High)") PORT_CODE(KEYCODE_Z)
1606   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Loeschen/Gamble (Cancel/Play)") PORT_CODE(KEYCODE_N)
1607   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )  PORT_NAME("Geben (Start)")
1608   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Halten (Hold) 5 / Half Gamble") PORT_CODE(KEYCODE_B)
1609   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_NAME("Buchhalt (Service1)")
1610   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("Einstellen (Service2)")
1611   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Halten (Hold) 4 / Kassieren (Take)") PORT_CODE(KEYCODE_V)
1612   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE )   PORT_NAME("Remote")
1613   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )   PORT_NAME("Halten (Hold) 1 / Hoch (High)")
1614   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )   PORT_NAME("Loeschen/Gamble (Cancel/Play)")
1615   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )         PORT_NAME("Geben (Start)")
1616   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )   PORT_NAME("Halten (Hold) 5 / Half Gamble")
1617   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )      PORT_NAME("Buchhalt (Service1)")
1618   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )      PORT_NAME("Einstellen (Service2)")
1619   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )   PORT_NAME("Halten (Hold) 4 / Kassieren (Take)")
16121620
16131621   PORT_START("IN1")
1614   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Halten (Hold) 2") PORT_CODE(KEYCODE_X)
1615   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Halten (Hold) 3 / Tief (Low)") PORT_CODE(KEYCODE_C)
1622   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )   PORT_NAME("Halten (Hold) 2")
1623   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )   PORT_NAME("Halten (Hold) 3 / Tief (Low)")
16161624   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
1617   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("unknown bit 08") PORT_CODE(KEYCODE_E)
1618   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Hoppersch") PORT_CODE(KEYCODE_W)
1625   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )      PORT_NAME("unknown bit 08") PORT_CODE(KEYCODE_8)
1626   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE )      PORT_NAME("Hoppersch") PORT_CODE(KEYCODE_H)
16191627   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
16201628   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1621   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Abschreib (Payout)") PORT_CODE(KEYCODE_M)
1629   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )   PORT_NAME("Abschreib (Payout)")
16221630
16231631   PORT_START("IN2")
16241632   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
r5338r5339
16631671static INPUT_PORTS_START( cuoreuno )
16641672   PORT_START("IN0")
16651673   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )   /* no remote credits */
1666   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )   PORT_NAME("Stop 1 / Switch Bet (1-Max)") PORT_CODE(KEYCODE_Z)
1667   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 )   PORT_NAME("Clear / Bet / Prendi (Take)") PORT_CODE(KEYCODE_N)
1668   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )      PORT_NAME("Start / Gioca (Play)")
1669   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )   PORT_NAME("Stop 5 / Half Gamble / Super Game") PORT_CODE(KEYCODE_B)
1674   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )   PORT_NAME("Stop 1 / Switch Bet (1-Max)")
1675   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )   PORT_NAME("Clear / Bet / Prendi (Take)")
1676   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )         PORT_NAME("Start / Gioca (Play)")
1677   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )   PORT_NAME("Stop 5 / Half Gamble / Super Game")
16701678   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )
16711679   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )
1672   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 )   PORT_NAME("Stop 4 / Alta (High)") PORT_CODE(KEYCODE_V)
1680   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )   PORT_NAME("Stop 4 / Alta (High)")
16731681
16741682   PORT_START("IN1")
1675   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )   PORT_NAME("Stop 2 / Bassa (Low)") PORT_CODE(KEYCODE_X)
1676   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )   PORT_NAME("Stop 3") PORT_CODE(KEYCODE_C)
1677   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Ticket") PORT_CODE(KEYCODE_T)
1678   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Hopper") PORT_CODE(KEYCODE_H)
1683   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )   PORT_NAME("Stop 2 / Bassa (Low)")
1684   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )   PORT_NAME("Stop 3")
1685   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE )      PORT_NAME("Ticket") PORT_CODE(KEYCODE_8)
1686   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )      PORT_NAME("Hopper") PORT_CODE(KEYCODE_H)
16791687   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
16801688   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
16811689   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1682   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 )   PORT_NAME("Payout") PORT_CODE(KEYCODE_M)
1690   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
16831691
16841692   PORT_START("IN2")
16851693   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
r5338r5339
17231731static INPUT_PORTS_START( pool10 )
17241732   PORT_START("IN0")
17251733   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )   /* no remote credits */
1726   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )   PORT_NAME("Stop 1 / Switch Bet (1-Max)") PORT_CODE(KEYCODE_Z)
1727   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 )   PORT_NAME("Clear / Bet / Prendi (Take)") PORT_CODE(KEYCODE_N)
1728   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )      PORT_NAME("Start / Gioca (Play)")
1729   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )   PORT_NAME("Stop 5 / Half Gamble / Super Game") PORT_CODE(KEYCODE_B)
1734   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )   PORT_NAME("Stop 1 / Switch Bet (1-Max)")
1735   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )   PORT_NAME("Clear / Bet / Prendi (Take)")
1736   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )         PORT_NAME("Start / Gioca (Play)")
1737   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )   PORT_NAME("Stop 5 / Half Gamble / Super Game")
17301738   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )
17311739   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )
1732   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 )   PORT_NAME("Stop 4 / Alta (High)") PORT_CODE(KEYCODE_V)
1740   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )   PORT_NAME("Stop 4 / Alta (High)")
17331741
17341742   PORT_START("IN1")
1735   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )   PORT_NAME("Stop 2 / Bassa (Low)") PORT_CODE(KEYCODE_X)
1736   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )   PORT_NAME("Stop 3") PORT_CODE(KEYCODE_C)
1737   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Ticket") PORT_CODE(KEYCODE_T)
1738   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Hopper") PORT_CODE(KEYCODE_H)
1743   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )   PORT_NAME("Stop 2 / Bassa (Low)")
1744   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )   PORT_NAME("Stop 3")
1745   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE )      PORT_NAME("Ticket") PORT_CODE(KEYCODE_8)
1746   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )      PORT_NAME("Hopper") PORT_CODE(KEYCODE_H)
17391747   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
17401748   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
17411749   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1742   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 )   PORT_NAME("Payout") PORT_CODE(KEYCODE_M)
1750   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
17431751
17441752   PORT_START("IN2")
17451753   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
r5338r5339
17811789
17821790static INPUT_PORTS_START( jolyjkra )
17831791   PORT_START("IN0")
1784   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Remote") PORT_CODE(KEYCODE_Q)
1785   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )   PORT_NAME("Halten (Hold) 1") PORT_CODE(KEYCODE_Z)
1786   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 )   PORT_NAME("Loeschen (Cancel) / Kassieren (Take)") PORT_CODE(KEYCODE_N)
1787   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )      PORT_NAME("Geben (Start) / Gamble (Play)")
1788   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )   PORT_NAME("Halten (Hold) 5 / Half Gamble") PORT_CODE(KEYCODE_B)
1789   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )   PORT_NAME("Buchhalt (Service1)")
1790   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )   PORT_NAME("Einstellen (Service2)")
1791   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 )   PORT_NAME("Halten (Hold) 4 / Hoch (High)") PORT_CODE(KEYCODE_V)
1792   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE )   PORT_NAME("Remote")
1793   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )   PORT_NAME("Halten (Hold) 1")
1794   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )   PORT_NAME("Loeschen (Cancel) / Kassieren (Take)")
1795   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )         PORT_NAME("Geben (Start) / Gamble (Play)")
1796   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )   PORT_NAME("Halten (Hold) 5 / Half Gamble")
1797   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )      PORT_NAME("Buchhalt (Service1)")
1798   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )      PORT_NAME("Einstellen (Service2)")
1799   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )   PORT_NAME("Halten (Hold) 4 / Hoch (High)")
17921800
17931801   PORT_START("IN1")
1794   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )   PORT_NAME("Halten (Hold) 2 / Tief (Low)") PORT_CODE(KEYCODE_X)
1795   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )   PORT_NAME("Halten (Hold) 3") PORT_CODE(KEYCODE_C)
1802   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )   PORT_NAME("Halten (Hold) 2 / Tief (Low)")
1803   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )   PORT_NAME("Halten (Hold) 3")
17961804   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
17971805   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1798   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE )   PORT_NAME("Hoppersch") PORT_CODE(KEYCODE_W)
1806   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE )      PORT_NAME("Hoppersch") PORT_CODE(KEYCODE_H)
17991807   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
18001808   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1801   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 )   PORT_NAME("Abschreib (Payout)") PORT_CODE(KEYCODE_M)
1809   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )   PORT_NAME("Abschreib (Payout)")
18021810
18031811   PORT_START("IN2")
18041812   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
r5338r5339
19421950***********************/
19431951
19441952static const pia6821_interface pia0_intf =
1953/*
1954    TAB light green board
1955    ---------------------
1956
1957                PIA 0                                       PIA 1
1958         .--------u--------.                         .--------u--------.
1959         |01 VSS     CA1 40|- GND                    |01 VSS     CA1 40|- GND
1960         |02 PA0     CA2 39|- N/C                    |02 PA0     CA2 39|- RESET circuitery
1961         |03 PA1   /IRQA 38|- N/C                    |03 PA1   /IRQA 38|- 04 CPU (65C02)
1962         |04 PA2   /IRQB 37|- N/C                    |04 PA2   /IRQB 37|- N/C
1963         |05 PA3    /RS0 36|- 10 ROM(PRG)            |05 PA3    /RS0 36|- 10 ROM(PRG)
1964         |06 PA4    /RS1 35|- 09 ROM(PRG)            |06 PA4    /RS1 35|- 23 AY(SOUND)
1965         |07 PA5  /RESET 34|- 09 GAL/PAL             |07 PA5  /RESET 34|- 37 AY(SOUND)
1966         |08 PA6      D0 33|                         |08 PA6      D0 33|
1967         |09 PA7      D1 32|                         |09 PA7      D1 32|
1968         |10 PB0      D2 31|                         |10 PB0      D2 31|
1969         |11 PB1      D3 30|                         |11 PB1      D3 30|
1970         |12 PB2      D4 29|                         |12 PB2      D4 29|
1971         |13 PB3      D5 28|                         |13 PB3      D5 28|
1972         |14 PB4      D6 27|                         |14 PB4      D6 27|
1973         |15 PB5      D7 26|                         |15 PB5      D7 26|
1974         |16 PB6       E 25|                         |16 PB6       E 25|
1975         |17 PB7     CS1 24|                         |17 PB7     CS1 24|
1976    GND -|18 CB1    /CS2 23|                    N/C -|18 CB1    /CS2 23|
1977    GND -|19 CB2     CS0 22|                    N/C -|19 CB2     CS0 22|
1978         |20 VCC     R/W 21|                         |20 VCC     R/W 21|
1979         '-----------------'                         '-----------------'
1980
1981*/
19451982{
19461983   DEVCB_INPUT_PORT("IN0"),      /* port A in */
19471984   DEVCB_INPUT_PORT("IN1"),      /* port B in */
r5338r5339
20682105static MACHINE_DRIVER_START( royalcrd )
20692106   MDRV_IMPORT_FROM(funworld)
20702107
2071   MDRV_CPU_REPLACE("maincpu", M65C02, MASTER_CLOCK/8)   /* 2MHz */
2108   MDRV_CPU_REPLACE("maincpu", M65C02, MASTER_CLOCK/8)   /* (G65SC02P in pro version) 2MHz */
20722109   MDRV_CPU_PROGRAM_MAP(magicrd2_map)
20732110MACHINE_DRIVER_END
20742111
r5338r5339
26872724   ROM_LOAD( "2-peel18cv8p.bin",   0x0400, 0x0155, NO_DUMP )   /* not present in the set */
26882725ROM_END
26892726
2727ROM_START( royalcdp )
2728   ROM_REGION( 0x10000, "maincpu", 0 )
2729   ROM_LOAD( "u16_m27c256b.bin", 0x8000, 0x8000, CRC(162996ff) SHA1(122c13ee9842e692d31490f216eb972df2321b7f) )
2730
2731   ROM_REGION( 0x10000, "gfx1", 0 )
2732   ROM_LOAD( "u11_tms27c256.bin",0x0000, 0x8000, CRC(d6834c3a) SHA1(4b071b9826c086439b9763393b23c671261b3788) )
2733   ROM_LOAD( "u4_nmc27c256.bin", 0x8000, 0x8000, CRC(41f7a0b3) SHA1(9aff2b8832d2a4f868daa9849a0bfe5e44f88fc0) )
2734
2735   ROM_REGION( 0x0200, "proms", 0 )   /* not present in the set */
2736   ROM_LOAD( "n82s147.bin",      0x0000, 0x0200, CRC(8bc86f48) SHA1(4c677ab9314a1f571e35104b22659e6811aeb194) )
2737
2738   ROM_REGION( 0x0200, "plds", 0 )   /* correct PAL dump */
2739   ROM_LOAD( "palce16v8h_1.bin", 0x0000, 0x0117, CRC(c89d2f52) SHA1(f9d52d9c42ef95b7b85bbf6d09888ebdeac11fd3) )
2740ROM_END
2741
26902742ROM_START( lluck3x3 )
26912743   ROM_REGION( 0x10000, "maincpu", 0 )
26922744   ROM_LOAD( "l3x3.bin", 0x8000, 0x8000, CRC(dbdb07ff) SHA1(6be43aa0b2c10d83373f20f477606cb031bc6dd9) )
r5338r5339
28952947*  Driver Initialization  *
28962948**************************/
28972949
2898static DRIVER_INIT( funworld )
2899{
2900}
2901
29022950static DRIVER_INIT( tabblue )
29032951{
29042952/****************************************************************************************************
r5338r5339
31283176*      Game Drivers      *
31293177*************************/
31303178
3131/*    YEAR  NAME      PARENT    MACHINE   INPUT     INIT             COMPANY            FULLNAME                                          FLAGS  */
3132GAME( 1985, jollycrd, 0,        funworld, funworld, funworld, ROT0, "TAB-Austria",     "Jolly Card (austrian)",                           0 )
3133GAME( 1985, jolyc3x3, jollycrd, funworld, funworld, funworld, ROT0, "TAB-Austria",     "Jolly Card (3x3 deal)",                           0 )
3179/*    YEAR  NAME      PARENT    MACHINE   INPUT     INIT      ROT    COMPANY            FULLNAME                                          FLAGS  */
3180GAME( 1985, jollycrd, 0,        funworld, funworld, 0,        ROT0, "TAB-Austria",     "Jolly Card (austrian)",                           0 )
3181GAME( 1985, jolyc3x3, jollycrd, funworld, funworld, 0,        ROT0, "TAB-Austria",     "Jolly Card (3x3 deal)",                           0 )
31343182GAME( 2000, jolyc980, jollycrd, jolyc980, jolyc980, jolyc980, ROT0, "Spale-Soft",      "Jolly Card Professional 2.0",                     0 )
3135GAME( 1998, jolycdev, jollycrd, funworld, funworld, funworld, ROT0, "TAB/Evona",       "Jolly Card (Evona Electronic)",                   0 )
3136GAME( 1985, jolyccra, jollycrd, cuoreuno, jolycdcr, funworld, ROT0, "TAB-Austria",     "Jolly Card (croatian, set 1)",                    0 )
3137GAME( 1993, jolyccrb, jollycrd, cuoreuno, jolycdcr, funworld, ROT0, "Soft Design",     "Jolly Card (croatian, set 2)",                    0 )
3183GAME( 1998, jolycdev, jollycrd, funworld, funworld, 0,        ROT0, "TAB/Evona",       "Jolly Card (Evona Electronic)",                   0 )
3184GAME( 1985, jolyccra, jollycrd, cuoreuno, jolycdcr, 0,        ROT0, "TAB-Austria",     "Jolly Card (croatian, set 1)",                    0 )
3185GAME( 1993, jolyccrb, jollycrd, cuoreuno, jolycdcr, 0,        ROT0, "Soft Design",     "Jolly Card (croatian, set 2)",                    0 )
31383186GAME( 199?, jolycdit, jollycrd, cuoreuno, jolycdit, tabblue,  ROT0, "bootleg",         "Jolly Card (italian, blue TAB board, encrypted)", 0 )
31393187GAME( 1990, jolycdib, jollycrd, cuoreuno, jolycdib, tabblue,  ROT0, "bootleg",         "Jolly Card (italian, encrypted bootleg)",         0 )   /* not a real TAB blue PCB */
3140GAME( 1985, sjcd2kx3, jollycrd, funworld, funworld, funworld, ROT0, "M.P.",            "Super Joly 2000 - 3x",                            0 )
3141GAME( 1986, jolycdab, jollycrd, funworld, funworld, funworld, ROT0, "Inter Games",     "Jolly Card (austrian, Funworld, bootleg)",        GAME_NOT_WORKING )
3142GAME( 1986, bigdeal,  0,        funworld, bigdeal,  funworld, ROT0, "Funworld",        "Big Deal (hungarian, set 1)",                     GAME_IMPERFECT_COLORS )
3143GAME( 1986, bigdealb, bigdeal,  funworld, bigdeal,  funworld, ROT0, "Funworld",        "Big Deal (hungarian, set 2)",                     GAME_IMPERFECT_COLORS )
3144GAME( 1986, jolycdat, bigdeal,  funworld, bigdeal,  funworld, ROT0, "Funworld",        "Jolly Card (austrian, Funworld)",                 GAME_IMPERFECT_COLORS )
3145GAME( 1996, cuoreuno, 0,        cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Cuore 1 (italian)",                               0 )
3146GAME( 1997, elephfam, 0,        cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Elephant Family (italian, new)",                  0 )
3147GAME( 1996, elephfmb, elephfam, cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Elephant Family (italian, old)",                  0 )
3148GAME( 1996, pool10,   0,        cuoreuno, pool10,   funworld, ROT0, "C.M.C.",          "Pool 10 (italian, set 1)",                        0 )
3149GAME( 1996, pool10b,  pool10,   cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Pool 10 (italian, set 2)",                        0 )
3150GAME( 1996, pool10c,  pool10,   cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Pool 10 (italian, set 3)",                        0 )
3151GAME( 1997, pool10d,  pool10,   cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Pool 10 (italian, set 4)",                        0 )
3152GAME( 1997, tortufam, 0,        cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Tortuga Family (italian)",                        0 )
3153GAME( 1996, potgame,  0,        cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Pot Game (italian)",                              0 )
3154GAME( 1996, bottle10, 0,        cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Bottle 10 (italian, set 1)",                      0 )
3155GAME( 1996, bottl10b, bottle10, cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Bottle 10 (italian, set 2)",                      0 )
3156GAME( 1991, royalcrd, 0,        royalcrd, royalcrd, funworld, ROT0, "TAB-Austria",     "Royal Card (austrian, set 1)",                    0 )
3157GAME( 1991, royalcdb, royalcrd, royalcrd, royalcrd, funworld, ROT0, "TAB-Austria",     "Royal Card (austrian, set 2)",                    0 )
3158GAME( 1991, royalcdc, royalcrd, royalcrd, royalcrd, funworld, ROT0, "Evona Electronic","Royal Card (slovak, encrypted)",                  GAME_WRONG_COLORS | GAME_NOT_WORKING )
3159GAME( 1991, lluck3x3, royalcrd, cuoreuno, royalcrd, funworld, ROT0, "TAB-Austria",     "Lucky Lady (3x3 deal)",                           0 )
3160GAME( 1991, lluck4x1, royalcrd, royalcrd, royalcrd, funworld, ROT0, "TAB-Austria",     "Lucky Lady (4x1 aces)",                           0 )
3161GAME( 1996, magicrd2, 0,        magicrd2, magicrd2, funworld, ROT0, "Impera",          "Magic Card II (bulgarian)",                       GAME_IMPERFECT_SOUND )
3188GAME( 1985, sjcd2kx3, jollycrd, funworld, funworld, 0,        ROT0, "M.P.",            "Super Joly 2000 - 3x",                            0 )
3189GAME( 1986, jolycdab, jollycrd, funworld, funworld, 0,        ROT0, "Inter Games",     "Jolly Card (austrian, Funworld, bootleg)",        GAME_NOT_WORKING )
3190GAME( 1986, bigdeal,  0,        funworld, bigdeal,  0,        ROT0, "Funworld",        "Big Deal (hungarian, set 1)",                     GAME_IMPERFECT_COLORS )
3191GAME( 1986, bigdealb, bigdeal,  funworld, bigdeal,  0,        ROT0, "Funworld",        "Big Deal (hungarian, set 2)",                     GAME_IMPERFECT_COLORS )
3192GAME( 1986, jolycdat, bigdeal,  funworld, bigdeal,  0,        ROT0, "Funworld",        "Jolly Card (austrian, Funworld)",                 GAME_IMPERFECT_COLORS )
3193GAME( 1996, cuoreuno, 0,        cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Cuore 1 (italian)",                               0 )
3194GAME( 1997, elephfam, 0,        cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Elephant Family (italian, new)",                  0 )
3195GAME( 1996, elephfmb, elephfam, cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Elephant Family (italian, old)",                  0 )
3196GAME( 1996, pool10,   0,        cuoreuno, pool10,   0,        ROT0, "C.M.C.",          "Pool 10 (italian, set 1)",                        0 )
3197GAME( 1996, pool10b,  pool10,   cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Pool 10 (italian, set 2)",                        0 )
3198GAME( 1996, pool10c,  pool10,   cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Pool 10 (italian, set 3)",                        0 )
3199GAME( 1997, pool10d,  pool10,   cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Pool 10 (italian, set 4)",                        0 )
3200GAME( 1997, tortufam, 0,        cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Tortuga Family (italian)",                        0 )
3201GAME( 1996, potgame,  0,        cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Pot Game (italian)",                              0 )
3202GAME( 1996, bottle10, 0,        cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Bottle 10 (italian, set 1)",                      0 )
3203GAME( 1996, bottl10b, bottle10, cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Bottle 10 (italian, set 2)",                      0 )
3204GAME( 1991, royalcrd, 0,        royalcrd, royalcrd, 0,        ROT0, "TAB-Austria",     "Royal Card (austrian, set 1)",                    0 )
3205GAME( 1991, royalcdb, royalcrd, royalcrd, royalcrd, 0,        ROT0, "TAB-Austria",     "Royal Card (austrian, set 2)",                    0 )
3206GAME( 1991, royalcdc, royalcrd, royalcrd, royalcrd, 0,        ROT0, "Evona Electronic","Royal Card (slovak, encrypted)",                  GAME_WRONG_COLORS | GAME_NOT_WORKING )
3207GAME( 1993, royalcdp, royalcrd, cuoreuno, royalcrd, 0,        ROT0, "Digital Dreams",  "Royal Card v2.0 Professional",                    GAME_WRONG_COLORS | GAME_NOT_WORKING )
3208GAME( 1991, lluck3x3, royalcrd, cuoreuno, royalcrd, 0,        ROT0, "TAB-Austria",     "Lucky Lady (3x3 deal)",                           0 )
3209GAME( 1991, lluck4x1, royalcrd, royalcrd, royalcrd, 0,        ROT0, "TAB-Austria",     "Lucky Lady (4x1 aces)",                           0 )
3210GAME( 1996, magicrd2, 0,        magicrd2, magicrd2, 0,        ROT0, "Impera",          "Magic Card II (bulgarian)",                       GAME_IMPERFECT_SOUND )
31623211GAME( 1996, magicd2a, magicrd2, magicrd2, magicrd2, magicd2a, ROT0, "Impera",          "Magic Card II (green TAB or Impera board)",       GAME_NOT_WORKING )
31633212GAME( 1996, magicd2b, magicrd2, magicrd2, magicrd2, magicd2b, ROT0, "Impera",          "Magic Card II (blue TAB board, encrypted)",       GAME_NOT_WORKING )
3164GAME( 1993, vegasslw, 0,        funworld, funworld, funworld, ROT0, "Funworld",        "Royal Vegas Joker Card (slow deal)",              0 )
3165GAME( 1993, vegasfst, vegasslw, funworld, funworld, funworld, ROT0, "Soft Design",     "Royal Vegas Joker Card (fast deal)",              0 )
3166GAME( 1993, vegasfte, vegasslw, funworld, funworld, funworld, ROT0, "Soft Design",     "Royal Vegas Joker Card (fast deal, english gfx)", 0 )
3167GAME( 198?, jolyjokr, 0,        funworld, funworld, funworld, ROT0, "Impera",          "Jolly Joker",                                     0 )
3168GAME( 198?, jolyjkra, jolyjokr, funworld, jolyjkra, funworld, ROT0, "Impera",          "Jolly Joker (50bet)",                             0 )
3169GAME( 1993, jokercrd, 0,        funworld, funworld, funworld, ROT0, "Vesely Svet",     "Joker Card (Ver.A267BC, encrypted)",              GAME_WRONG_COLORS | GAME_NOT_WORKING )
3170GAME( 199?, mongolnw, 0,        royalmcu, royalcrd, funworld, ROT0, "bootleg",         "Mongolfier New (italian)",                        GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
3213GAME( 1993, vegasslw, 0,        funworld, funworld, 0,        ROT0, "Funworld",        "Royal Vegas Joker Card (slow deal)",              0 )
3214GAME( 1993, vegasfst, vegasslw, funworld, funworld, 0,        ROT0, "Soft Design",     "Royal Vegas Joker Card (fast deal)",              0 )
3215GAME( 1993, vegasfte, vegasslw, funworld, funworld, 0,        ROT0, "Soft Design",     "Royal Vegas Joker Card (fast deal, english gfx)", 0 )
3216GAME( 198?, jolyjokr, 0,        funworld, funworld, 0,        ROT0, "Impera",          "Jolly Joker",                                     0 )
3217GAME( 198?, jolyjkra, jolyjokr, funworld, jolyjkra, 0,        ROT0, "Impera",          "Jolly Joker (50bet)",                             0 )
3218GAME( 1993, jokercrd, 0,        funworld, funworld, 0,        ROT0, "Vesely Svet",     "Joker Card (Ver.A267BC, encrypted)",              GAME_WRONG_COLORS | GAME_NOT_WORKING )
3219GAME( 199?, mongolnw, 0,        royalmcu, royalcrd, 0,        ROT0, "bootleg",         "Mongolfier New (italian)",                        GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
31713220GAME( 199?, soccernw, 0,        royalcrd, royalcrd, soccernw, ROT0, "bootleg",         "Soccer New (italian)",                            GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
3172GAME( 198?, saloon,   0,        saloon,   saloon,   saloon,   ROT0, "Unknown",         "Saloon (french, encrypted)",                      GAME_NO_SOUND | GAME_WRONG_COLORS | GAME_IMPERFECT_GRAPHICS | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
3221GAME( 198?, saloon,   0,        saloon,   saloon,   saloon,   ROT0, "<unknown>",       "Saloon (french, encrypted)",                      GAME_NO_SOUND | GAME_WRONG_COLORS | GAME_IMPERFECT_GRAPHICS | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
src/mame/drivers/jackpool.c
r5338r5339
199199   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE2 )
200200   PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
201201   PORT_START("PAYOUT")
202   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_W)
202   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
203203   PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
204204   PORT_START("START1")
205205   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
r5338r5339
208208   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START2 )
209209   PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
210210   PORT_START("BET")
211   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Bet / Cancel") PORT_CODE(KEYCODE_A)
211   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Bet / Cancel")
212212   PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
213213   PORT_START("HOLD1")
214   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
214   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
215215   PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
216216   PORT_START("HOLD2")
217   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
217   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
218218   PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
219219   PORT_START("HOLD3")
220   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
220   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
221221   PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
222222   PORT_START("HOLD4")
223   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
223   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
224224   PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
225225   PORT_START("HOLD5")
226   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
226   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
227227   PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
228228INPUT_PORTS_END
229229
src/mame/drivers/lethal.c
r5338r5339
690690   ROM_LOAD( "191a03", 0x000000, 0x200000, CRC(9b13fbe8) SHA1(19b02dbd9d6da54045b0ba4dfe7b282c72745c9c))
691691ROM_END
692692
693ROM_START( lethalej )   // Japan version JAD
693ROM_START( lethalenj )   // Japan version JAD
694694   ROM_REGION( 0x50000, "maincpu", 0 )
695695   /* main program */
696696   ROM_LOAD( "191jad01.u4",    0x10000,  0x40000, CRC(160a25c0) SHA1(1d3ed5a158e461a73c079fe24a8e9d5e2a87e126) )
r5338r5339
724724   ROM_LOAD( "191a03", 0x000000, 0x200000, CRC(9b13fbe8) SHA1(19b02dbd9d6da54045b0ba4dfe7b282c72745c9c))
725725ROM_END
726726
727ROM_START( lethalux )   // US version ?, proto / hack?, very different to other sets
727ROM_START( lethalenux )   // US version ?, proto / hack?, very different to other sets
728728   ROM_REGION( 0x50000, "maincpu", 0 )
729729   /* main program */
730730   ROM_LOAD( "191xxx01.u4",    0x10000,  0x40000, CRC(a3b9e790) SHA1(868b422850be129952c8b11c3c4aa730d8ea1544) ) // hacked? fails rom test
r5338r5339
758758   ROM_LOAD( "191a03", 0x000000, 0x200000, CRC(9b13fbe8) SHA1(19b02dbd9d6da54045b0ba4dfe7b282c72745c9c))
759759ROM_END
760760
761ROM_START( letheab )   // Euro ver. EAB
761ROM_START( lethaleneab )   // Euro ver. EAB
762762   ROM_REGION( 0x50000, "maincpu", 0 )
763763   /* main program */
764764   ROM_LOAD( "191eab01.u4",    0x10000,  0x40000, CRC(d7ce111e) SHA1(e56137a0ba7664f09b5d05bb39ec6eb4d1e412c7) )
r5338r5339
792792   ROM_LOAD( "191a03", 0x000000, 0x200000, CRC(9b13fbe8) SHA1(19b02dbd9d6da54045b0ba4dfe7b282c72745c9c))
793793ROM_END
794794
795ROM_START( letheae )   // Euro ver. EAE
795ROM_START( lethaleneae )   // Euro ver. EAE
796796   ROM_REGION( 0x50000, "maincpu", 0 )
797797   /* main program */
798798   ROM_LOAD( "191eae01.u4",    0x10000,  0x40000, CRC(c6a3c6ac) SHA1(96a209a3a5b4af40af36bd7090c59a74f8c8df59) )
r5338r5339
826826   ROM_LOAD( "191a03", 0x000000, 0x200000, CRC(9b13fbe8) SHA1(19b02dbd9d6da54045b0ba4dfe7b282c72745c9c))
827827ROM_END
828828
829ROM_START( lethalua )   // *might* be UAA (writes UA to Eeprom)
829ROM_START( lethalenua )   // *might* be UAA (writes UA to Eeprom)
830830   ROM_REGION( 0x50000, "maincpu", 0 )
831831   /* main program */
832832   ROM_LOAD( "6_usa.u4",    0x10000,  0x40000, CRC(ab6b8f16) SHA1(8de6c429a6e71144270e79d18ad47b5aad13fe04) )
r5338r5339
869869   konami_rom_deinterleave_2(machine, "gfx4");
870870}
871871
872GAME( 1992, lethalen, 0,        lethalen, lethalen, lethalen, ORIENTATION_FLIP_Y, "Konami", "Lethal Enforcers (ver UAE, 11/19/92 15:04)", GAME_IMPERFECT_GRAPHICS) // writes UE to eeprom
873GAME( 1992, lethalua, lethalen, lethalen, lethalen, lethalen, ORIENTATION_FLIP_Y, "Konami", "Lethal Enforcers (ver unknown, US, 08/17/92 21:38)", GAME_IMPERFECT_GRAPHICS) // UAA? (writes UA to eeprom)
874GAME( 1992, lethalux, lethalen, lethalen, lethalen, lethalen, ORIENTATION_FLIP_Y, "Konami", "Lethal Enforcers (ver unknown, US, 08/06/92 15:11, hacked/proto?)", GAME_IMPERFECT_GRAPHICS) // writes UA to eeprom but earlier than suspected UAA set, might be a proto, might be hacked, fails rom test
875GAME( 1992, letheab,  lethalen, lethalen, lethalen, lethalen, ORIENTATION_FLIP_Y, "Konami", "Lethal Enforcers (ver EAB, 10/14/92 19:53)", GAME_IMPERFECT_GRAPHICS) // writes EC to eeprom?!
876GAME( 1992, letheae,  lethalen, lethalen, lethalen, lethalen, ORIENTATION_FLIP_Y, "Konami", "Lethal Enforcers (ver EAE, 11/19/92 16:24)", GAME_IMPERFECT_GRAPHICS) // writes EE to eeprom
872GAME( 1992, lethalen,   0,        lethalen, lethalen, lethalen, ORIENTATION_FLIP_Y, "Konami", "Lethal Enforcers (ver UAE, 11/19/92 15:04)", GAME_IMPERFECT_GRAPHICS) // writes UE to eeprom
873GAME( 1992, lethalenua, lethalen, lethalen, lethalen, lethalen, ORIENTATION_FLIP_Y, "Konami", "Lethal Enforcers (ver unknown, US, 08/17/92 21:38)", GAME_IMPERFECT_GRAPHICS) // UAA? (writes UA to eeprom)
874GAME( 1992, lethalenux, lethalen, lethalen, lethalen, lethalen, ORIENTATION_FLIP_Y, "Konami", "Lethal Enforcers (ver unknown, US, 08/06/92 15:11, hacked/proto?)", GAME_IMPERFECT_GRAPHICS) // writes UA to eeprom but earlier than suspected UAA set, might be a proto, might be hacked, fails rom test
875GAME( 1992, lethaleneab,lethalen, lethalen, lethalen, lethalen, ORIENTATION_FLIP_Y, "Konami", "Lethal Enforcers (ver EAB, 10/14/92 19:53)", GAME_IMPERFECT_GRAPHICS) // writes EC to eeprom?!
876GAME( 1992, lethaleneae,lethalen, lethalen, lethalen, lethalen, ORIENTATION_FLIP_Y, "Konami", "Lethal Enforcers (ver EAE, 11/19/92 16:24)", GAME_IMPERFECT_GRAPHICS) // writes EE to eeprom
877877// different mirror / display setup, shoot off the top of the screen to reload..
878GAME( 1992, lethalej, lethalen, lethalej, lethalej, lethalen, ORIENTATION_FLIP_X, "Konami", "Lethal Enforcers (ver JAD, 12/04/92 17:16)", GAME_IMPERFECT_GRAPHICS) // writes JC to eeprom?!
878GAME( 1992, lethalenj, lethalen, lethalej, lethalej, lethalen, ORIENTATION_FLIP_X, "Konami", "Lethal Enforcers (ver JAD, 12/04/92 17:16)", GAME_IMPERFECT_GRAPHICS) // writes JC to eeprom?!
src/mame/drivers/exprraid.c
r5338r5339
551551   ROM_LOAD( "pal16r4a.5e",   0x0200, 0x0104, CRC(9a8766a7) SHA1(5f84ad9e633daeb14531ef527827ef3d9b269437) )
552552ROM_END
553553
554ROM_START( exprrada )
554ROM_START( exprraida )
555555   ROM_REGION( 0x10000, "maincpu", 0 )
556556   ROM_LOAD( "cz01-2e.15a", 0x4000, 0x4000, CRC(a0ae6756) SHA1(7f7ec1efddbb62e9d201c6013bca8ab72c3f75f6) )
557557   ROM_LOAD( "cz00-4e.16b", 0x8000, 0x8000, CRC(910f6ccc) SHA1(1dbf164a7add9335d90ee07b6db9a162a28e407b) )
r5338r5339
629629   ROM_LOAD( "pal16r4a.5e",   0x0200, 0x0104, CRC(9a8766a7) SHA1(5f84ad9e633daeb14531ef527827ef3d9b269437) )
630630ROM_END
631631
632ROM_START( wexpresb )
632ROM_START( wexpressb )
633633   ROM_REGION( 0x10000, "maincpu", 0 )
634634   ROM_LOAD( "wexpress.3", 0x4000, 0x4000, CRC(b4dd0fa4) SHA1(8d17eb28ae92486c67859871ea2bef8f50f39dbd) )
635635   ROM_LOAD( "wexpress.1", 0x8000, 0x8000, CRC(e8466596) SHA1(dbbd3b84d0f017292595fc19f7412b984851221a) )
r5338r5339
664664   ROM_LOAD( "cz14.prm", 0x0300, 0x0100, CRC(52aad300) SHA1(ff09772b930afa87e28d0628ef85a589a3d149c9) ) /* ??? */
665665ROM_END
666666
667ROM_START( wexpresc )
667ROM_START( wexpressb2 )
668668   ROM_REGION( 0x10000, "maincpu", 0 )
669669   ROM_LOAD( "s2",      0x4000, 0x4000, CRC(40d70fcb) SHA1(1327d39f872a39e020972952e5756ca59c55f9d0) )
670670   ROM_LOAD( "s1",      0x8000, 0x8000, CRC(7c573824) SHA1(f5e4d4f0866c08c88d012a77e8aa2e74a779f986) )
r5338r5339
757757
758758
759759GAME( 1986, exprraid, 0,        exprraid, exprraid, exprraid, ROT0, "Data East USA", "Express Raider (US set 1)", 0 )
760GAME( 1986, exprrada, exprraid, exprraid, exprraid, exprraid, ROT0, "Data East USA", "Express Raider (US set 2)", 0 )
760GAME( 1986, exprraida,exprraid, exprraid, exprraid, exprraid, ROT0, "Data East USA", "Express Raider (US set 2)", 0 )
761761GAME( 1986, wexpress, exprraid, exprraid, exprraid, wexpress, ROT0, "Data East Corporation", "Western Express (World?)", 0 )
762GAME( 1986, wexpresb, exprraid, exprboot, exprraid, wexpresb, ROT0, "bootleg", "Western Express (bootleg set 1)", 0 )
763GAME( 1986, wexpresc, exprraid, exprboot, exprraid, wexpresc, ROT0, "bootleg", "Western Express (bootleg set 2)", 0 )
762GAME( 1986, wexpressb, exprraid, exprboot, exprraid, wexpresb, ROT0, "bootleg", "Western Express (bootleg set 1)", 0 )
763GAME( 1986, wexpressb2,exprraid, exprboot, exprraid, wexpresc, ROT0, "bootleg", "Western Express (bootleg set 2)", 0 )
src/mame/drivers/naughtyb.c
r5338r5339
468468   ROM_LOAD( "6301-1.64", 0x0100, 0x0100, CRC(909107d4) SHA1(138ace7845424bc3ca86b0889be634943c8c2d19) ) /* palette high bits */
469469ROM_END
470470
471ROM_START( naughtya )
471ROM_START( naughtyba )
472472   ROM_REGION( 0x10000, "maincpu", 0 )
473473   ROM_LOAD( "91",       0x0000, 0x0800, CRC(42b14bc7) SHA1(a5890834105b83f6761a5ea819e94533473f0e44) )
474474   ROM_LOAD( "92",       0x0800, 0x0800, CRC(a24674b4) SHA1(2d93981c2f0dea190745cbc3926b012cfd561ec3) )
r5338r5339
496496   ROM_LOAD( "6301-1.64", 0x0100, 0x0100, CRC(909107d4) SHA1(138ace7845424bc3ca86b0889be634943c8c2d19) ) /* palette high bits */
497497ROM_END
498498
499ROM_START( naughtyc )
499ROM_START( naughtybc )
500500   ROM_REGION( 0x10000, "maincpu", 0 )
501501   ROM_LOAD( "nb1ic30",   0x0000, 0x0800, CRC(3f482fa3) SHA1(5c670ad37be5bed12a65b8b02330525cfe5ae303) )
502502   ROM_LOAD( "nb2ic29",   0x0800, 0x0800, CRC(7ddea141) SHA1(8a725614b156f1fdb249c2767ddb3f04681e7a3f) )
r5338r5339
544544   ROM_LOAD( "ic54",        0x0100, 0x0100, CRC(236bc771) SHA1(5c078eecdd9df2fbc791e440f96bc4c79476b211) ) /* palette high bits */
545545ROM_END
546546
547ROM_START( popflama )
547ROM_START( popflamea )
548548   ROM_REGION( 0x10000, "maincpu", 0 )
549549   ROM_LOAD( "ic86.pop",     0x0000, 0x1000, CRC(5e32bbdf) SHA1(b75e3125301d05f5fb6bcef85d0028de2ee75fab) )
550550   ROM_LOAD( "ic80.pop",     0x1000, 0x1000, CRC(b77abf3d) SHA1(8626af8fe7d10c52bea7570dd6237de60607bab6) )
r5338r5339
564564   ROM_LOAD( "ic54",        0x0100, 0x0100, CRC(236bc771) SHA1(5c078eecdd9df2fbc791e440f96bc4c79476b211) ) /* palette high bits */
565565ROM_END
566566
567ROM_START( popflamb )
567ROM_START( popflameb )
568568   ROM_REGION( 0x10000, "maincpu", 0 )
569569   ROM_LOAD( "popflama.30",    0x0000, 0x1000, CRC(a9bb0e8a) SHA1(1948be9545401b8163e0f2fa8e962ea66c26d9e0) )
570570   ROM_LOAD( "popflama.28",    0x1000, 0x1000, CRC(debe6d03) SHA1(2365c57a0a08563bea31ab150934dcfc1e6eba58) )
r5338r5339
602602This romset comes from a bootleg pcb.It's a Naughty Boy conversion.
603603*/
604604
605ROM_START( popflamn )
605ROM_START( popflamen )
606606   ROM_REGION( 0x10000, "maincpu", 0 )
607607   ROM_LOAD( "pfb2-1.bin",     0x0000, 0x0800, CRC(88cd3faa) SHA1(5232aaadfc0a7275e19176a6e49e178c29cd463b) )
608608   ROM_LOAD( "pfb2-2.bin",     0x0800, 0x0800, CRC(a09892e8) SHA1(7a56878e3b01023cfa412f7ce7515e34877ff062) )
r5338r5339
818818
819819
820820GAME( 1982, naughtyb, 0,      naughtyb, naughtyb, 0,        ROT90, "Jaleco", "Naughty Boy", 0 )
821GAME( 1982, naughtya, naughtyb, naughtyb, naughtyb, 0,        ROT90, "bootleg", "Naughty Boy (bootleg)", 0 )
822GAME( 1982, naughtyc, naughtyb, naughtyb, naughtyb, 0,        ROT90, "Jaleco (Cinematronics license)", "Naughty Boy (Cinematronics)", 0 )
821GAME( 1982, naughtyba,naughtyb, naughtyb, naughtyb, 0,        ROT90, "bootleg", "Naughty Boy (bootleg)", 0 )
822GAME( 1982, naughtybc,naughtyb, naughtyb, naughtyb, 0,        ROT90, "Jaleco (Cinematronics license)", "Naughty Boy (Cinematronics)", 0 )
823823GAME( 1982, popflame, 0,      popflame, naughtyb, popflame, ROT90, "Jaleco", "Pop Flamer (protected)", 0 )
824GAME( 1982, popflama, popflame, popflame, naughtyb, 0,        ROT90, "Jaleco", "Pop Flamer (not protected)", 0 )
825GAME( 1982, popflamb, popflame, popflame, naughtyb, 0,        ROT90, "Jaleco", "Pop Flamer (hack?)", 0 )
826GAME( 1982, popflamn, popflame, naughtyb, naughtyb, 0,        ROT90, "Jaleco", "Pop Flamer (bootleg on Naughty Boy PCB)", 0 )
824GAME( 1982, popflamea,popflame, popflame, naughtyb, 0,        ROT90, "Jaleco", "Pop Flamer (not protected)", 0 )
825GAME( 1982, popflameb,popflame, popflame, naughtyb, 0,        ROT90, "Jaleco", "Pop Flamer (hack?)", 0 )
826GAME( 1982, popflamen,popflame, naughtyb, naughtyb, 0,        ROT90, "Jaleco", "Pop Flamer (bootleg on Naughty Boy PCB)", 0 )
827827GAME( 1985, trvmstr,  0,      naughtyb, trvmstr,  trvmstr,  ROT90, "Enerdyne Technologies Inc.", "Trivia Master (set 1)", 0 )
828828GAME( 1985, trvmstra, trvmstr,  naughtyb, trvmstr,  trvmstr,  ROT90, "Enerdyne Technologies Inc.", "Trivia Master (set 2)", 0 )
829829GAME( 1985, trvmstrb, trvmstr,  naughtyb, trvmstr,  trvmstr,  ROT90, "Enerdyne Technologies Inc.", "Trivia Master (set 3)", 0 )
src/mame/drivers/taitogn.c
r5338r5339
11151115   DISK_IMAGE( "chaosheat", 0, SHA1(c13b7d7025eee05f1f696d108801c7bafb3f1356))
11161116ROM_END
11171117
1118ROM_START(chaoshej)
1118ROM_START(chaosheaj)
11191119   TAITOGNET_BIOS
11201120
11211121   DISK_REGION( "card" )
r5338r5339
11381138   DISK_IMAGE( "spuzbobl", 0, SHA1(1b1c72fb7e5656021485fefaef8f2ba48e2b4ea8))
11391139ROM_END
11401140
1141ROM_START(spuzbobj)
1141ROM_START(spuzboblj)
11421142   TAITOGNET_BIOS
11431143
11441144   DISK_REGION( "card" )
r5338r5339
12861286GAME( 1997, taitogn,  0,        coh3002t, coh3002t, coh3002t, ROT0,   "Sony/Taito", "Taito GNET", GAME_IS_BIOS_ROOT )
12871287
12881288GAME( 1998, chaoshea, taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Chaos Heat (V2.09O)", GAME_IMPERFECT_SOUND )
1289GAME( 1998, chaoshej, chaoshea, coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Chaos Heat (V2.08J)", GAME_IMPERFECT_SOUND )
1289GAME( 1998, chaosheaj,chaoshea, coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Chaos Heat (V2.08J)", GAME_IMPERFECT_SOUND )
12901290GAME( 1998, raycris,  taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Ray Crisis (V2.03J)", GAME_IMPERFECT_SOUND )
12911291GAME( 1999, spuzbobl, taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Super Puzzle Bobble (V2.05O)", GAME_IMPERFECT_SOUND )
1292GAME( 1999, spuzbobj, spuzbobl, coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Super Puzzle Bobble (V2.04J)", GAME_IMPERFECT_SOUND )
1292GAME( 1999, spuzboblj,spuzbobl, coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Super Puzzle Bobble (V2.04J)", GAME_IMPERFECT_SOUND )
12931293GAME( 1999, gobyrc,   taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Go By RC (V2.03O)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) // custom inputs need calibrating
12941294GAME( 1999, rcdego,   gobyrc,   coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "RC De Go (V2.03J)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) // custom inputs need calibrating
12951295GAME( 1999, flipmaze, taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Taito/Moss", "Flip Maze (V2.04J)", GAME_IMPERFECT_SOUND )
src/mame/drivers/taito_z.c
r5338r5339
700700
701701Strange page in test mode which lets you alter all sorts of settings,
702702may relate to sit-in cockpit version. Can't find a dip that disables
703this.
703this. <- Test Mode 1? That's used for lamps and motor testing... -AS
704704
705Does a variety of writes to TC0220IOC offset 3... significant?
705Motors (located at the 0xe000**) are mirrored, they uses both bytes of a
706word, the high one is used during gameplay and the other one is used on service
707mode. The gameplay port is xor'ed (!).
708It works like this:
709--xx xx-- Force Feedback power
710---- --x- "Reverse" motor
711---- ---x "Turn" motor
706712
713TC0220IOC offset 3 is used for lamps, both upright and cockpit version afaik:
714x--- ---- spot 2 lamp (right)
715-x-- ---- spot 1 lamp (left)
716--x- ---- motor lamp 3 (right)
717---x ---- motor lamp 2 (center)
718---- x--- motor lamp 1 (left)
719---- -x-- trigger lamp
720---- --x- start lamp
721---- ---x shot lamp
722The two spot lamps are big red lamps located at the sides of the screen (at least
723in the upright version), they lights when the player gets hit and/or if he's dying.
707724
725
708726Aqua Jack
709727---------
710728
r5338r5339
16301648   AM_RANGE(0xc00000, 0xc0ffff) AM_READWRITE(TC0100SCN_word_0_r, TC0100SCN_word_0_w)   /* tilemaps */
16311649   AM_RANGE(0xc20000, 0xc2000f) AM_READWRITE(TC0100SCN_ctrl_word_0_r, TC0100SCN_ctrl_word_0_w)
16321650   AM_RANGE(0xd00000, 0xd007ff) AM_RAM AM_BASE(&spriteram16) AM_SIZE(&spriteram_size)
1633//  AM_RANGE(0xe00000, 0xe00001) AM_WRITENOP    /* ??? */
1634//  AM_RANGE(0xe00008, 0xe00009) AM_WRITENOP    /* ??? */
1635//  AM_RANGE(0xe00010, 0xe00011) AM_WRITENOP    /* ??? */
1651   AM_RANGE(0xe00000, 0xe00001) AM_WRITENOP    /* Motor 1 (left) */
1652   AM_RANGE(0xe00008, 0xe00009) AM_WRITENOP    /* Motor 2 (center) */
1653   AM_RANGE(0xe00010, 0xe00011) AM_WRITENOP    /* Motor 3 (right) */
16361654   AM_RANGE(0xe40000, 0xe40007) AM_READWRITE(nightstr_stick_r, bshark_stick_w)
16371655ADDRESS_MAP_END
16381656
r5338r5339
34663484   ROM_LOAD( "b33-18.17",   0x00000, 0x00100, CRC(fbf81f30) SHA1(c868452c334792345dcced075f6df69cff9e31ca) )   // road A/B internal priority
34673485ROM_END
34683486
3469ROM_START( contcrcu )
3487ROM_START( contcircu )
34703488   ROM_REGION( 0x40000, "maincpu", 0 )   /* 256K for 68000 code (CPU A) */
34713489   ROM_LOAD16_BYTE( "ic25", 0x00000, 0x20000, CRC(f5c92e42) SHA1(42dfa1895e601df76d7022b83f05c4e5c843fd12) )
34723490   ROM_LOAD16_BYTE( "ic26", 0x00001, 0x20000, CRC(e7c1d1fa) SHA1(75e851629a54facb8804ee8a953ab3265633bbf4) )
r5338r5339
35083526   ROM_LOAD( "b33-18.17",   0x00000, 0x00100, CRC(fbf81f30) SHA1(c868452c334792345dcced075f6df69cff9e31ca) )   // road A/B internal priority
35093527ROM_END
35103528
3511ROM_START( contcrua )
3529ROM_START( contcircua )
35123530   ROM_REGION( 0x40000, "maincpu", 0 )   /* 256K for 68000 code (CPU A) */
35133531   ROM_LOAD16_BYTE( "b33-34.ic25", 0x00000, 0x20000, CRC(e1e016c1) SHA1(d6ca3bcf03828dc296eab73185f773860bbaaae6) )
35143532   ROM_LOAD16_BYTE( "b33-33.ic26", 0x00001, 0x20000, CRC(f539d44b) SHA1(1b77d97376f9bf3bbd728d459f0a0afbadc6d756) )
r5338r5339
42644282   ROM_LOAD( "b91-33.bin", 0x00000, 0x0100,  CRC(89719d17) SHA1(50181b8172b0fc08b149db18caf10659be9c517f) )   // road/sprite priority and palette select
42654283ROM_END
42664284
4267ROM_START( nghtstru )
4285ROM_START( nightstru )
42684286   ROM_REGION( 0x80000, "maincpu", 0 )   /* 512K for 68000 code (CPU A) */
42694287   ROM_LOAD16_BYTE( "b91-45.bin", 0x00000, 0x20000, CRC(7ad63421) SHA1(4ecfc3c8cd691d878e5d9212ccff0d225bb06bd9) )
42704288   ROM_LOAD16_BYTE( "b91-44.bin", 0x00001, 0x20000, CRC(4bc30adf) SHA1(531d6ee9c8ff0d4ed07c15465ec7cb78cf976115) )
r5338r5339
43184336   ROM_LOAD( "b91-33.bin", 0x00000, 0x0100,  CRC(89719d17) SHA1(50181b8172b0fc08b149db18caf10659be9c517f) )   // road/sprite priority and palette select
43194337ROM_END
43204338
4321ROM_START( nghtstrj )
4339ROM_START( nightstrj )
43224340   ROM_REGION( 0x80000, "maincpu", 0 )   /* 512K for 68000 code (CPU A) */
43234341   ROM_LOAD16_BYTE( "b91-45.bin", 0x00000, 0x20000, CRC(7ad63421) SHA1(4ecfc3c8cd691d878e5d9212ccff0d225bb06bd9) )
43244342   ROM_LOAD16_BYTE( "b91-44.bin", 0x00001, 0x20000, CRC(4bc30adf) SHA1(531d6ee9c8ff0d4ed07c15465ec7cb78cf976115) )
r5338r5339
44124430/*  (no unused roms in my set, there should be an 0x10000 one like the rest) */
44134431ROM_END
44144432
4415ROM_START( aquajckj )
4433ROM_START( aquajackj )
44164434   ROM_REGION( 0x40000, "maincpu", 0 )   /* 256K for 68000 code (CPU A) */
44174435   ROM_LOAD16_BYTE( "b77-22.rom", 0x00000, 0x20000, CRC(67400dde) SHA1(1e47c4fbd4449f2d973ac962ad58f22502d59198) )
44184436   ROM_LOAD16_BYTE( "b77-21.rom", 0x00001, 0x20000, CRC(23436845) SHA1(e62111c902453e1b655c7f25bcea938a6f13aed2) )
r5338r5339
46524670
46534671
46544672
4655GAMEL(1987, contcirc, 0,        contcirc, contcirc, taitoz,   ROT0,               "Taito Corporation Japan", "Continental Circus (World)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4656GAMEL(1987, contcrcu, contcirc, contcirc, contcrcu, taitoz,   ROT0,               "Taito America Corporation", "Continental Circus (US set 1)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4657GAMEL(1987, contcrua, contcirc, contcirc, contcrcu, taitoz,   ROT0,               "Taito America Corporation", "Continental Circus (US set 2)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4658GAMEL(1988, chasehq,  0,        chasehq,  chasehq,  taitoz,   ROT0,               "Taito Corporation Japan", "Chase H.Q. (World)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4659GAMEL(1988, chasehqj, chasehq,  chasehq,  chasehqj, taitoz,   ROT0,               "Taito Corporation", "Chase H.Q. (Japan)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4660GAMEL(1988, chasehqu, chasehq,  chasehq,  chasehq,  taitoz,   ROT0,               "Taito America Corporation", "Chase H.Q. (US)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4661GAME( 1988, enforce,  0,        enforce,  enforce,  taitoz,   ROT0,               "Taito Corporation", "Enforce (Japan)", GAME_IMPERFECT_GRAPHICS )
4662GAME( 1989, bshark,   0,        bshark,   bshark,   bshark,   ORIENTATION_FLIP_X, "Taito America Corporation", "Battle Shark (US)", GAME_IMPERFECT_GRAPHICS )
4663GAME( 1989, bsharkj,  bshark,   bshark,   bsharkj,  bshark,   ORIENTATION_FLIP_X, "Taito Corporation", "Battle Shark (Japan)", GAME_IMPERFECT_GRAPHICS )
4664GAMEL(1989, sci,      0,        sci,      sci,      taitoz,   ROT0,               "Taito Corporation Japan", "Special Criminal Investigation (World set 1)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4665GAMEL(1989, scia,     sci,      sci,      sci,      taitoz,   ROT0,               "Taito Corporation Japan", "Special Criminal Investigation (World set 2)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4666GAMEL(1989, scij,     sci,      sci,      scij,     taitoz,   ROT0,               "Taito Corporation", "Special Criminal Investigation (Japan)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4667GAMEL(1989, sciu,     sci,      sci,      sciu,     taitoz,   ROT0,               "Taito America Corporation", "Special Criminal Investigation (US)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4668GAMEL(1991, scin,     sci,      sci,      sci,      taitoz,   ROT0,               "Taito Corporation Japan", "Super Special Criminal Investigation (Negro Torino hack)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4669GAME( 1989, nightstr, 0,        nightstr, nightstr, taitoz,   ROT0,               "Taito Corporation Japan", "Night Striker (World)", GAME_IMPERFECT_GRAPHICS )
4670GAME( 1989, nghtstrj, nightstr, nightstr, nghtstrj, taitoz,   ROT0,               "Taito Corporation", "Night Striker (Japan)", GAME_IMPERFECT_GRAPHICS )
4671GAME( 1989, nghtstru, nightstr, nightstr, nghtstru, taitoz,   ROT0,               "Taito America Corporation", "Night Striker (US)", GAME_IMPERFECT_GRAPHICS )
4672GAME( 1990, aquajack, 0,        aquajack, aquajack, taitoz,   ROT0,               "Taito Corporation Japan", "Aqua Jack (World)", GAME_IMPERFECT_GRAPHICS )
4673GAME( 1990, aquajckj, aquajack, aquajack, aquajckj, taitoz,   ROT0,               "Taito Corporation", "Aqua Jack (Japan)", GAME_IMPERFECT_GRAPHICS )
4674GAME( 1990, spacegun, 0,        spacegun, spacegun, bshark,   ORIENTATION_FLIP_X, "Taito Corporation Japan", "Space Gun (World)", 0 )
4675GAMEL(1991, dblaxle,  0,        dblaxle,  dblaxle,  taitoz,   ROT0,               "Taito America Corporation", "Double Axle (US)", GAME_IMPERFECT_GRAPHICS, layout_dblaxle )
4676GAME( 1991, pwheelsj, dblaxle,  dblaxle,  pwheelsj, taitoz,   ROT0,               "Taito Corporation", "Power Wheels (Japan)", GAME_IMPERFECT_GRAPHICS )
4677GAME( 1991, racingb,  0,        racingb,  dblaxle,  taitoz,   ROT0,               "Taito Corporation Japan", "Racing Beat (World)", GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING )
4673GAMEL(1987, contcirc,  0,        contcirc, contcirc, taitoz,   ROT0,               "Taito Corporation Japan", "Continental Circus (World)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4674GAMEL(1987, contcircu, contcirc, contcirc, contcrcu, taitoz,   ROT0,               "Taito America Corporation", "Continental Circus (US set 1)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4675GAMEL(1987, contcircua,contcirc, contcirc, contcrcu, taitoz,   ROT0,               "Taito America Corporation", "Continental Circus (US set 2)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4676GAMEL(1988, chasehq,   0,        chasehq,  chasehq,  taitoz,   ROT0,               "Taito Corporation Japan", "Chase H.Q. (World)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4677GAMEL(1988, chasehqj,  chasehq,  chasehq,  chasehqj, taitoz,   ROT0,               "Taito Corporation", "Chase H.Q. (Japan)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4678GAMEL(1988, chasehqu,  chasehq,  chasehq,  chasehq,  taitoz,   ROT0,               "Taito America Corporation", "Chase H.Q. (US)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4679GAME( 1988, enforce,   0,        enforce,  enforce,  taitoz,   ROT0,               "Taito Corporation", "Enforce (Japan)", GAME_IMPERFECT_GRAPHICS )
4680GAME( 1989, bshark,    0,        bshark,   bshark,   bshark,   ORIENTATION_FLIP_X, "Taito America Corporation", "Battle Shark (US)", GAME_IMPERFECT_GRAPHICS )
4681GAME( 1989, bsharkj,   bshark,   bshark,   bsharkj,  bshark,   ORIENTATION_FLIP_X, "Taito Corporation", "Battle Shark (Japan)", GAME_IMPERFECT_GRAPHICS )
4682GAMEL(1989, sci,       0,        sci,      sci,      taitoz,   ROT0,               "Taito Corporation Japan", "Special Criminal Investigation (World set 1)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4683GAMEL(1989, scia,      sci,      sci,      sci,      taitoz,   ROT0,               "Taito Corporation Japan", "Special Criminal Investigation (World set 2)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4684GAMEL(1989, scij,      sci,      sci,      scij,     taitoz,   ROT0,               "Taito Corporation", "Special Criminal Investigation (Japan)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4685GAMEL(1989, sciu,      sci,      sci,      sciu,     taitoz,   ROT0,               "Taito America Corporation", "Special Criminal Investigation (US)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4686GAMEL(1991, scin,      sci,      sci,      sci,      taitoz,   ROT0,               "Taito Corporation Japan", "Super Special Criminal Investigation (Negro Torino hack)", GAME_IMPERFECT_GRAPHICS, layout_contcirc )
4687GAME( 1989, nightstr,  0,        nightstr, nightstr, taitoz,   ROT0,               "Taito Corporation Japan", "Night Striker (World)", GAME_IMPERFECT_GRAPHICS )
4688GAME( 1989, nightstrj, nightstr, nightstr, nghtstrj, taitoz,   ROT0,               "Taito Corporation", "Night Striker (Japan)", GAME_IMPERFECT_GRAPHICS )
4689GAME( 1989, nightstru, nightstr, nightstr, nghtstru, taitoz,   ROT0,               "Taito America Corporation", "Night Striker (US)", GAME_IMPERFECT_GRAPHICS )
4690GAME( 1990, aquajack,  0,        aquajack, aquajack, taitoz,   ROT0,               "Taito Corporation Japan", "Aqua Jack (World)", GAME_IMPERFECT_GRAPHICS )
4691GAME( 1990, aquajackj, aquajack, aquajack, aquajckj, taitoz,   ROT0,               "Taito Corporation", "Aqua Jack (Japan)", GAME_IMPERFECT_GRAPHICS )
4692GAME( 1990, spacegun,  0,        spacegun, spacegun, bshark,   ORIENTATION_FLIP_X, "Taito Corporation Japan", "Space Gun (World)", 0 )
4693GAMEL(1991, dblaxle,   0,        dblaxle,  dblaxle,  taitoz,   ROT0,               "Taito America Corporation", "Double Axle (US)", GAME_IMPERFECT_GRAPHICS, layout_dblaxle )
4694GAME( 1991, pwheelsj,  dblaxle,  dblaxle,  pwheelsj, taitoz,   ROT0,               "Taito Corporation", "Power Wheels (Japan)", GAME_IMPERFECT_GRAPHICS )
4695GAME( 1991, racingb,   0,        racingb,  dblaxle,  taitoz,   ROT0,               "Taito Corporation Japan", "Racing Beat (World)", GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING )
src/mame/drivers/mappy.c
r5338r5339
979979NAMCO_56DSW0
980980
981981   PORT_START("DSW1")   /* 56XX #1 pins 22-29 */
982   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Difficulty ) )
982   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:1,2,3,4")
983983   PORT_DIPSETTING(    0x0f, "Rank 0-Normal" )
984984   PORT_DIPSETTING(    0x0e, "Rank 1-Easiest" )
985985   PORT_DIPSETTING(    0x0d, "Rank 2" )
r5338r5339
996996   PORT_DIPSETTING(    0x02, "Rank D-Auto" )
997997   PORT_DIPSETTING(    0x01, "Rank E-Auto" )
998998   PORT_DIPSETTING(    0x00, "Rank F-Hard Auto" )
999   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_B ) )
999   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW1:5,6")
10001000   PORT_DIPSETTING(    0x10, DEF_STR( 2C_1C ) )
10011001   PORT_DIPSETTING(    0x30, DEF_STR( 1C_1C ) )
10021002   PORT_DIPSETTING(    0x00, DEF_STR( 2C_3C ) )
10031003   PORT_DIPSETTING(    0x20, DEF_STR( 1C_2C ) )
1004   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Demo_Sounds ) )
1004   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:7")
10051005   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
10061006   PORT_DIPSETTING(    0x40, DEF_STR( On ) )
1007   PORT_DIPNAME( 0x80, 0x80, "Freeze" )
1007   PORT_DIPNAME( 0x80, 0x80, "Freeze" )         PORT_DIPLOCATION("SW1:8")
10081008   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
10091009   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
10101010
10111011   PORT_START("DSW2")   /* 56XX #1 pins 38-41 multiplexed */
1012   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coin_A ) )
1012   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW2:1,2,3")
10131013   PORT_DIPSETTING(    0x00, DEF_STR( 3C_1C ) )
10141014   PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
10151015   PORT_DIPSETTING(    0x07, DEF_STR( 1C_1C ) )
r5338r5339
10181018   PORT_DIPSETTING(    0x05, DEF_STR( 1C_3C ) )
10191019   PORT_DIPSETTING(    0x04, DEF_STR( 1C_6C ) )
10201020   PORT_DIPSETTING(    0x03, DEF_STR( 1C_7C ) )
1021   PORT_DIPNAME( 0x38, 0x38, DEF_STR( Bonus_Life ) )
1022   PORT_DIPSETTING(    0x08, "30k" )            PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x00)
1023   PORT_DIPSETTING(    0x30, "30k 80k" )         PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x00)
1024   PORT_DIPSETTING(    0x20, "30k 80k 80k" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x00)
1025   PORT_DIPSETTING(    0x38, "30k 100k" )         PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x00)
1026   PORT_DIPSETTING(    0x18, "30k 100k 100k" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x00)
1027   PORT_DIPSETTING(    0x28, "30k 120k" )         PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x00)
1028   PORT_DIPSETTING(    0x10, "30k 120k 120k" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x00)
1021   PORT_DIPNAME( 0x38, 0x38, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5,6")
1022   PORT_DIPSETTING(    0x08, "30k Only" )         PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x00)
1023   PORT_DIPSETTING(    0x30, "30k & 80k Only" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x00)
1024   PORT_DIPSETTING(    0x20, "30k, 80k & Every 80k" )   PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x00)
1025   PORT_DIPSETTING(    0x38, "30k & 100k Only" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x00)
1026   PORT_DIPSETTING(    0x18, "30k, 100k & Every 100k" )   PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x00)
1027   PORT_DIPSETTING(    0x28, "30k & 120k Only" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x00)
1028   PORT_DIPSETTING(    0x10, "30k, 120k & Every 120k" )   PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x00)
10291029   PORT_DIPSETTING(    0x00, DEF_STR( None ) )
1030   PORT_DIPSETTING(    0x10, "30k" )            PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x00)
1031   PORT_DIPSETTING(    0x38, "30k 100k" )         PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x00)
1032   PORT_DIPSETTING(    0x20, "30k 100k 100k" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x00)
1033   PORT_DIPSETTING(    0x30, "30k 120k" )         PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x00)
1034   PORT_DIPSETTING(    0x08, "40k" )            PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x00)
1035   PORT_DIPSETTING(    0x28, "40k 120k" )         PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x00)
1036   PORT_DIPSETTING(    0x18, "40k 120k 120k" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x00)
1037   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )
1030   PORT_DIPSETTING(    0x10, "30k Only" )         PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x00) /* Manual shows 100k only, Test Mode shows 30k which is what we use */
1031   PORT_DIPSETTING(    0x38, "30k & 100k Only" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x00)
1032   PORT_DIPSETTING(    0x20, "30k, 100k & Every 100k" )   PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x00)
1033   PORT_DIPSETTING(    0x30, "30k & 120k Only" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x00)
1034   PORT_DIPSETTING(    0x08, "40k Only" )         PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x00)
1035   PORT_DIPSETTING(    0x28, "40k & 120k Only" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x00)
1036   PORT_DIPSETTING(    0x18, "40k, 120k & Every 120k" )   PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x00)
1037   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:7,8")
10381038   PORT_DIPSETTING(    0x80, "1" )
10391039   PORT_DIPSETTING(    0x40, "2" )
10401040   PORT_DIPSETTING(    0xc0, "3" )
r5338r5339
10481048NAMCO_56DSW0
10491049
10501050   PORT_START("DSW1")   /* ???? #1 pins ??-?? */
1051   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coin_A ) )
1051   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW1:1,2,3")
10521052   PORT_DIPSETTING(    0x00, DEF_STR( 3C_1C ) )
10531053   PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
10541054   PORT_DIPSETTING(    0x07, DEF_STR( 1C_1C ) )
r5338r5339
10571057   PORT_DIPSETTING(    0x05, DEF_STR( 1C_3C ) )
10581058   PORT_DIPSETTING(    0x04, DEF_STR( 1C_6C ) )
10591059   PORT_DIPSETTING(    0x03, DEF_STR( 1C_7C ) )
1060   PORT_DIPNAME( 0x38, 0x30, DEF_STR( Bonus_Life ) )
1061   PORT_DIPSETTING(    0x20, "20k 70k" )         PORT_CONDITION("DSW1",0xc0,PORTCOND_NOTEQUALS,0x00)
1062   PORT_DIPSETTING(    0x30, "20k 70k 70k" )      PORT_CONDITION("DSW1",0xc0,PORTCOND_NOTEQUALS,0x00)
1063   PORT_DIPSETTING(    0x00, "30k" )            PORT_CONDITION("DSW1",0xc0,PORTCOND_NOTEQUALS,0x00)
1064   PORT_DIPSETTING(    0x18, "30k 70k" )         PORT_CONDITION("DSW1",0xc0,PORTCOND_NOTEQUALS,0x00)
1065   PORT_DIPSETTING(    0x10, "30k 80k" )         PORT_CONDITION("DSW1",0xc0,PORTCOND_NOTEQUALS,0x00)
1066   PORT_DIPSETTING(    0x28, "30k 80k 80k" )      PORT_CONDITION("DSW1",0xc0,PORTCOND_NOTEQUALS,0x00)
1067   PORT_DIPSETTING(    0x08, "30k 100k" )         PORT_CONDITION("DSW1",0xc0,PORTCOND_NOTEQUALS,0x00)
1068   PORT_DIPSETTING(    0x08, "30k" )            PORT_CONDITION("DSW1",0xc0,PORTCOND_EQUALS,0x00)
1069   PORT_DIPSETTING(    0x00, "40k" )            PORT_CONDITION("DSW1",0xc0,PORTCOND_EQUALS,0x00)
1070   PORT_DIPSETTING(    0x20, "30k 80k" )         PORT_CONDITION("DSW1",0xc0,PORTCOND_EQUALS,0x00)
1071   PORT_DIPSETTING(    0x30, "30k 80k 80k" )      PORT_CONDITION("DSW1",0xc0,PORTCOND_EQUALS,0x00)
1072   PORT_DIPSETTING(    0x18, "30k 100k" )         PORT_CONDITION("DSW1",0xc0,PORTCOND_EQUALS,0x00)
1073   PORT_DIPSETTING(    0x10, "40k 120k" )         PORT_CONDITION("DSW1",0xc0,PORTCOND_EQUALS,0x00)
1074   PORT_DIPSETTING(    0x28, "40k 100k 100k" )      PORT_CONDITION("DSW1",0xc0,PORTCOND_EQUALS,0x00)
1060   PORT_DIPNAME( 0x38, 0x30, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW1:4,5,6")
1061   PORT_DIPSETTING(    0x20, "20k & 70k Only" )      PORT_CONDITION("DSW1",0xc0,PORTCOND_NOTEQUALS,0x00)
1062   PORT_DIPSETTING(    0x30, "20k, 70k & Every 70k" )   PORT_CONDITION("DSW1",0xc0,PORTCOND_NOTEQUALS,0x00)
1063   PORT_DIPSETTING(    0x00, "30k Only" )         PORT_CONDITION("DSW1",0xc0,PORTCOND_NOTEQUALS,0x00)
1064   PORT_DIPSETTING(    0x18, "30k & 70k Only" )      PORT_CONDITION("DSW1",0xc0,PORTCOND_NOTEQUALS,0x00)
1065   PORT_DIPSETTING(    0x10, "30k & 80k Only" )      PORT_CONDITION("DSW1",0xc0,PORTCOND_NOTEQUALS,0x00)
1066   PORT_DIPSETTING(    0x28, "30k, 100k & Every 80k" )   PORT_CONDITION("DSW1",0xc0,PORTCOND_NOTEQUALS,0x00)
1067   PORT_DIPSETTING(    0x08, "30k & 100k Only" )      PORT_CONDITION("DSW1",0xc0,PORTCOND_NOTEQUALS,0x00)
1068   PORT_DIPSETTING(    0x08, "30k Only" )         PORT_CONDITION("DSW1",0xc0,PORTCOND_EQUALS,0x00)
1069   PORT_DIPSETTING(    0x00, "40k Only" )         PORT_CONDITION("DSW1",0xc0,PORTCOND_EQUALS,0x00)
1070   PORT_DIPSETTING(    0x20, "30k & 80k Only" )      PORT_CONDITION("DSW1",0xc0,PORTCOND_EQUALS,0x00)
1071   PORT_DIPSETTING(    0x30, "30k, 80k & Every 80k" )   PORT_CONDITION("DSW1",0xc0,PORTCOND_EQUALS,0x00)
1072   PORT_DIPSETTING(    0x18, "30k & 100k Only" )      PORT_CONDITION("DSW1",0xc0,PORTCOND_EQUALS,0x00)
1073   PORT_DIPSETTING(    0x10, "40k & 120k Only" )      PORT_CONDITION("DSW1",0xc0,PORTCOND_EQUALS,0x00)
1074   PORT_DIPSETTING(    0x28, "40k, 100k & Every 100k" )   PORT_CONDITION("DSW1",0xc0,PORTCOND_EQUALS,0x00)
10751075   PORT_DIPSETTING(    0x38, DEF_STR( None ) )
1076   PORT_DIPNAME( 0xc0, 0x40, DEF_STR( Lives ) )
1076   PORT_DIPNAME( 0xc0, 0x40, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:7,8")
10771077   PORT_DIPSETTING(    0xc0, "1" )
10781078   PORT_DIPSETTING(    0x80, "2" )
10791079   PORT_DIPSETTING(    0x40, "3" )
10801080   PORT_DIPSETTING(    0x00, "5" )
10811081
10821082   PORT_START("DSW2")   /* ???? #1 pins ??-?? */
1083   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_B ) )
1083   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW2:1,2")
10841084   PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
10851085   PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
10861086   PORT_DIPSETTING(    0x00, DEF_STR( 2C_3C ) )
10871087   PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
1088   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )
1088   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:3,4")
10891089   PORT_DIPSETTING(    0x0c, "Rank A" )
10901090   PORT_DIPSETTING(    0x08, "Rank B" )
10911091   PORT_DIPSETTING(    0x04, "Rank C" )
10921092   PORT_DIPSETTING(    0x00, "Rank D" )
1093   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) )
1094   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1095   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1096   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) )
1097   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
1098   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1099   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) )
1100   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
1101   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1102   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) )
1103   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
1104   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1093   PORT_DIPUNUSED_DIPLOC( 0x10, 0x10, "SW2:5" )
1094   PORT_DIPUNUSED_DIPLOC( 0x20, 0x20, "SW2:6" )
1095   PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW2:7" )
1096   PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW2:8" )
11051097INPUT_PORTS_END
11061098
11071099
r5338r5339
11181110   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )   // service mode again
11191111
11201112   PORT_START("DSW1")   /* 56XX #1 pins 22-29 */
1121   PORT_SERVICE( 0x01, IP_ACTIVE_LOW )
1122   PORT_DIPNAME( 0x0e, 0x08, DEF_STR( Coin_A ) )
1113   PORT_SERVICE_DIPLOC(  0x01, IP_ACTIVE_LOW, "SW1:1" )
1114   PORT_DIPNAME( 0x0e, 0x08, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW1:2,3,4")
11231115   PORT_DIPSETTING(    0x00, DEF_STR( 4C_1C ) )
11241116   PORT_DIPSETTING(    0x02, DEF_STR( 3C_1C ) )
11251117   PORT_DIPSETTING(    0x06, DEF_STR( 2C_1C ) )
r5338r5339
11281120   PORT_DIPSETTING(    0x0a, DEF_STR( 1C_2C ) )
11291121   PORT_DIPSETTING(    0x0e, DEF_STR( 1C_3C ) )
11301122   PORT_DIPSETTING(    0x0c, DEF_STR( 1C_4C ) )
1131   PORT_DIPNAME( 0x70, 0x40, DEF_STR( Coin_B ) )
1123   PORT_DIPNAME( 0x70, 0x40, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW1:5,6,7")
11321124   PORT_DIPSETTING(    0x00, DEF_STR( 4C_1C ) )
11331125   PORT_DIPSETTING(    0x10, DEF_STR( 3C_1C ) )
11341126   PORT_DIPSETTING(    0x30, DEF_STR( 2C_1C ) )
r5338r5339
11371129   PORT_DIPSETTING(    0x50, DEF_STR( 1C_2C ) )
11381130   PORT_DIPSETTING(    0x70, DEF_STR( 1C_3C ) )
11391131   PORT_DIPSETTING(    0x60, DEF_STR( 1C_4C ) )
1140   PORT_DIPNAME( 0x80, 0x80, "Freeze" )
1132   PORT_DIPNAME( 0x80, 0x80, "Freeze" )         PORT_DIPLOCATION("SW1:8")
11411133   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
11421134   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
11431135
11441136   PORT_START("DSW2")   /* 56XX #1 pins 38-41 multiplexed */
1145   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
1137   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
11461138   PORT_DIPSETTING(    0x02, "1" )
11471139   PORT_DIPSETTING(    0x01, "2" )
11481140   PORT_DIPSETTING(    0x03, "3" )
11491141   PORT_DIPSETTING(    0x00, "5" )
1150   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )
1142   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:3,4")
11511143   PORT_DIPSETTING(    0x0c, "Rank A" )
11521144   PORT_DIPSETTING(    0x08, "Rank B" )
11531145   PORT_DIPSETTING(    0x04, "Rank C" )
11541146   PORT_DIPSETTING(    0x00, "Rank D" )
1155   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Demo_Sounds ) )
1147   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:5")
11561148   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
11571149   PORT_DIPSETTING(    0x10, DEF_STR( On ) )
1158   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Level_Select ) )
1150   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Level_Select ) )   PORT_DIPLOCATION("SW2:6")
11591151   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
11601152   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
11611153   PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Bonus_Life ) )
1162   PORT_DIPSETTING(    0x00, "10k 50k and every 50k" )
1163   PORT_DIPSETTING(    0x40, "10k 30k" )
1164   PORT_DIPSETTING(    0xc0, "10k" )
1154   PORT_DIPSETTING(    0x00, "10k, 50k & Every 50k" )   PORT_DIPLOCATION("SW2:7,8")
1155   PORT_DIPSETTING(    0x40, "10k & 30k Only" )
1156   PORT_DIPSETTING(    0xc0, "10k Only" )
11651157   PORT_DIPSETTING(    0x80, DEF_STR( None ) )
11661158INPUT_PORTS_END
11671159
r5338r5339
11721164NAMCO_56DSW0
11731165
11741166   PORT_START("DSW1")   /* 56XX #1 pins 22-29 */
1175   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
1167   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:1")
11761168   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
11771169   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1178   PORT_DIPNAME( 0x0e, 0x0e, DEF_STR( Difficulty ) )
1170   PORT_DIPNAME( 0x0e, 0x0e, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:2,3,4")
11791171   PORT_DIPSETTING(    0x0e, "Rank 0" )
11801172   PORT_DIPSETTING(    0x0c, "Rank 1" )
11811173   PORT_DIPSETTING(    0x0a, "Rank 2" )
r5338r5339
11851177   PORT_DIPSETTING(    0x02, "Rank 6" )
11861178   PORT_DIPSETTING(    0x00, "Rank 7" )
11871179   // when level select is on, press P1 start during the game and move joystick to select level to jump to
1188   PORT_DIPNAME( 0x10, 0x10, "Level Select (Cheat)" )
1180   PORT_DIPNAME( 0x10, 0x10, "Level Select (Cheat)" )   PORT_DIPLOCATION("SW1:5")
11891181   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
11901182   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
11911183   // when stop mode is on, press P1 start to pause the game
1192   PORT_DIPNAME( 0x20, 0x20, "Stop Mode (Cheat)" )
1184   PORT_DIPNAME( 0x20, 0x20, "Stop Mode (Cheat)" )      PORT_DIPLOCATION("SW1:6")
11931185   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
11941186   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1195   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Coin_B ) )
1187   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW1:7,8")
11961188   PORT_DIPSETTING(    0x40, DEF_STR( 2C_1C ) )
11971189   PORT_DIPSETTING(    0xc0, DEF_STR( 1C_1C ) )
11981190   PORT_DIPSETTING(    0x00, DEF_STR( 2C_3C ) )
11991191   PORT_DIPSETTING(    0x80, DEF_STR( 1C_2C ) )
12001192
12011193   PORT_START("DSW2")   /* 56XX #1 pins 38-41 multiplexed */
1202   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
1194   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
12031195   PORT_DIPSETTING(    0x02, "1" )
12041196   PORT_DIPSETTING(    0x03, "3" )
12051197   PORT_DIPSETTING(    0x01, "4" )
12061198   PORT_DIPSETTING(    0x00, "5" )
1207   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Bonus_Life ) )
1208   PORT_DIPSETTING(    0x08, "20k 80k" )               PORT_CONDITION("DSW2",0x02,PORTCOND_NOTEQUALS,0x00)
1209   PORT_DIPSETTING(    0x10, "20k 80k and every 80k" )      PORT_CONDITION("DSW2",0x02,PORTCOND_NOTEQUALS,0x00)
1210   PORT_DIPSETTING(    0x04, "30k" )                  PORT_CONDITION("DSW2",0x02,PORTCOND_NOTEQUALS,0x00)
1211   PORT_DIPSETTING(    0x18, "30k 60k" )               PORT_CONDITION("DSW2",0x02,PORTCOND_NOTEQUALS,0x00)
1212   PORT_DIPSETTING(    0x1c, "30k 100k" )               PORT_CONDITION("DSW2",0x02,PORTCOND_NOTEQUALS,0x00)
1213//  PORT_DIPSETTING(    0x14, "30k 100k" )  // repeated     PORT_CONDITION("DSW2",0x02,PORTCOND_NOTEQUALS,0x00)
1214   PORT_DIPSETTING(    0x0c, "30k 120k and every 120k" )   PORT_CONDITION("DSW2",0x02,PORTCOND_NOTEQUALS,0x00)
1215   PORT_DIPSETTING(    0x0c, "20k 80k" )               PORT_CONDITION("DSW2",0x02,PORTCOND_EQUALS,0x00)
1216   PORT_DIPSETTING(    0x08, "30k" )                  PORT_CONDITION("DSW2",0x02,PORTCOND_EQUALS,0x00)
1217   PORT_DIPSETTING(    0x10, "30k 100k and every 100k" )   PORT_CONDITION("DSW2",0x02,PORTCOND_EQUALS,0x00)
1218   PORT_DIPSETTING(    0x1c, "30k 100k" )               PORT_CONDITION("DSW2",0x02,PORTCOND_EQUALS,0x00)
1199   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:3,4,5")
1200   PORT_DIPSETTING(    0x08, "20k & 80k Only" )      PORT_CONDITION("DSW2",0x02,PORTCOND_NOTEQUALS,0x00)
1201   PORT_DIPSETTING(    0x10, "20k, 80k & Every 80k" )   PORT_CONDITION("DSW2",0x02,PORTCOND_NOTEQUALS,0x00)
1202   PORT_DIPSETTING(    0x04, "30k Only" )         PORT_CONDITION("DSW2",0x02,PORTCOND_NOTEQUALS,0x00)
1203   PORT_DIPSETTING(    0x18, "30k & 60k Only" )      PORT_CONDITION("DSW2",0x02,PORTCOND_NOTEQUALS,0x00)
1204   PORT_DIPSETTING(    0x1c, "30k & 100k Only" )      PORT_CONDITION("DSW2",0x02,PORTCOND_NOTEQUALS,0x00)
1205//  PORT_DIPSETTING(    0x14, "30k 100k" )  // repeated         PORT_CONDITION("DSW2",0x02,PORTCOND_NOTEQUALS,0x00)
1206   PORT_DIPSETTING(    0x0c, "30k, 120k & Every 120k" )   PORT_CONDITION("DSW2",0x02,PORTCOND_NOTEQUALS,0x00)
1207   PORT_DIPSETTING(    0x0c, "20k & 80k Only" )      PORT_CONDITION("DSW2",0x02,PORTCOND_EQUALS,0x00)
1208   PORT_DIPSETTING(    0x08, "30k" )         PORT_CONDITION("DSW2",0x02,PORTCOND_EQUALS,0x00)
1209   PORT_DIPSETTING(    0x10, "30k, 100k & Every 100k" )   PORT_CONDITION("DSW2",0x02,PORTCOND_EQUALS,0x00)
1210   PORT_DIPSETTING(    0x1c, "30k & 100k Only" )      PORT_CONDITION("DSW2",0x02,PORTCOND_EQUALS,0x00)
12191211//  PORT_DIPSETTING(    0x14, "30k 100k" )  // repeated     PORT_CONDITION("DSW2",0x02,PORTCOND_EQUALS,0x00)
1220   PORT_DIPSETTING(    0x18, "40k 80k" )               PORT_CONDITION("DSW2",0x02,PORTCOND_EQUALS,0x00)
1221   PORT_DIPSETTING(    0x04, "100k" )                  PORT_CONDITION("DSW2",0x02,PORTCOND_EQUALS,0x00)
1212   PORT_DIPSETTING(    0x18, "40k & 80k Only" )      PORT_CONDITION("DSW2",0x02,PORTCOND_EQUALS,0x00)
1213   PORT_DIPSETTING(    0x04, "100k Only" )         PORT_CONDITION("DSW2",0x02,PORTCOND_EQUALS,0x00)
12221214   PORT_DIPSETTING(    0x00, DEF_STR( None ) )
1223   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coin_A ) )
1215   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW2:6,7,8")
12241216   PORT_DIPSETTING(    0x00, DEF_STR( 3C_1C ) )
12251217   PORT_DIPSETTING(    0x40, DEF_STR( 2C_1C ) )
12261218   PORT_DIPSETTING(    0xe0, DEF_STR( 1C_1C ) )
r5338r5339
12481240
12491241   PORT_START("DSW1")   /* 58XX #1 pins 22-29 */
12501242/* According to the manual, 0x04, 0x08 and 0x10 should always be off, but... */
1251   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty )  )
1243   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty )  )      PORT_DIPLOCATION("SW1:1,2,3")
12521244   PORT_DIPSETTING(    0x07, "Rank A" )
12531245   PORT_DIPSETTING(    0x06, "Rank B" )
12541246   PORT_DIPSETTING(    0x05, "Rank C" )
r5338r5339
12571249   PORT_DIPSETTING(    0x02, "Rank F" )
12581250   PORT_DIPSETTING(    0x01, "Rank G" )
12591251   PORT_DIPSETTING(    0x00, "Rank H" )
1260   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Coin_B ) )
1252   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Coin_B ) )         PORT_DIPLOCATION("SW1:4,5")
12611253   PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
12621254   PORT_DIPSETTING(    0x18, DEF_STR( 1C_1C ) )
12631255   PORT_DIPSETTING(    0x10, DEF_STR( 1C_5C) )
12641256   PORT_DIPSETTING(    0x08, DEF_STR( 1C_7C ) )
1265   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Demo_Sounds ) )
1257   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Demo_Sounds ) )      PORT_DIPLOCATION("SW1:6")
12661258   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
12671259   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
1268   PORT_DIPNAME( 0x40, 0x40, "Rack Test (Cheat)" ) PORT_CODE(KEYCODE_F1)
1260   PORT_DIPNAME( 0x40, 0x40, "Rack Test (Cheat)" ) PORT_CODE(KEYCODE_F1)   PORT_DIPLOCATION("SW1:7")
12691261   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
12701262   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1271   PORT_DIPNAME( 0x80, 0x80, "Freeze" )
1263   PORT_DIPNAME( 0x80, 0x80, "Freeze" )            PORT_DIPLOCATION("SW1:8")
12721264   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
12731265   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
12741266
12751267   PORT_START("DSW2")   /* 58XX #1 pins 38-41 multiplexed */
1276   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coin_A ) )
1268   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coin_A ) )         PORT_DIPLOCATION("SW2:1,2,3")
12771269   PORT_DIPSETTING(    0x01, DEF_STR( 3C_1C ) )
12781270   PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
12791271   PORT_DIPSETTING(    0x00, DEF_STR( 3C_2C ) )
r5338r5339
12821274   PORT_DIPSETTING(    0x06, DEF_STR( 1C_2C ) )
12831275   PORT_DIPSETTING(    0x05, DEF_STR( 1C_3C ) )
12841276   PORT_DIPSETTING(    0x04, DEF_STR( 1C_6C ) )
1285   PORT_DIPNAME( 0x38, 0x38, DEF_STR( Bonus_Life ) )
1286   PORT_DIPSETTING(    0x18, "20k" )                  PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x80)
1287   PORT_DIPSETTING(    0x30, "20k 60k" )               PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x80)
1288   PORT_DIPSETTING(    0x38, "20k 70k" )               PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x80)
1289   PORT_DIPSETTING(    0x10, "20k 70k and every 70k" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x80)
1290   PORT_DIPSETTING(    0x28, "20k 80k" )               PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x80)
1291   PORT_DIPSETTING(    0x08, "20k 80k and every 80k" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x80)
1292   PORT_DIPSETTING(    0x20, "30k 100k" )               PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x80)
1293   PORT_DIPSETTING(    0x20, "30k" )                  PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x80)
1294   PORT_DIPSETTING(    0x38, "30k 80k" )               PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x80)
1295   PORT_DIPSETTING(    0x30, "30k 100k" )               PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x80)
1296   PORT_DIPSETTING(    0x10, "30k 100k and every 100k" )   PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x80)
1297   PORT_DIPSETTING(    0x28, "30k 120k" )               PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x80)
1298   PORT_DIPSETTING(    0x18, "40k" )                  PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x80)
1299   PORT_DIPSETTING(    0x08, "40k 120k and every 120k" )   PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x80)
1277   PORT_DIPNAME( 0x38, 0x38, DEF_STR( Bonus_Life ) )      PORT_DIPLOCATION("SW2:4,5,6")
1278   PORT_DIPSETTING(    0x18, "20k Only" )         PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x80)
1279   PORT_DIPSETTING(    0x30, "20k & 60k Only" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x80)
1280   PORT_DIPSETTING(    0x38, "20k & 70k Only" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x80)
1281   PORT_DIPSETTING(    0x10, "20k, 70k & Every 70k" )   PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x80)
1282   PORT_DIPSETTING(    0x28, "20k & 80k Only" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x80)
1283   PORT_DIPSETTING(    0x08, "20k, 80k & Every 80k" )   PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x80)
1284   PORT_DIPSETTING(    0x20, "30k & 100k Only" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_NOTEQUALS,0x80)
1285   PORT_DIPSETTING(    0x20, "30k Only" )         PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x80)
1286   PORT_DIPSETTING(    0x38, "30k & 80k Only" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x80)
1287   PORT_DIPSETTING(    0x30, "30k & 100k Only" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x80)
1288   PORT_DIPSETTING(    0x10, "30k, 100k & Every 100k" )   PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x80)
1289   PORT_DIPSETTING(    0x28, "30k & 120k Only" )      PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x80)
1290   PORT_DIPSETTING(    0x18, "40k Only" )         PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x80)
1291   PORT_DIPSETTING(    0x08, "40k, 120k & Every 120k" )   PORT_CONDITION("DSW2",0xc0,PORTCOND_EQUALS,0x80)
13001292   PORT_DIPSETTING(    0x00, DEF_STR( None ) )
1301   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )
1293   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )         PORT_DIPLOCATION("SW2:7,8")
13021294   PORT_DIPSETTING(    0x40, "1" )
13031295   PORT_DIPSETTING(    0x00, "2" )
13041296   PORT_DIPSETTING(    0xc0, "3" )
r5338r5339
13191311   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )   // service mode again
13201312
13211313   PORT_START("DSW1")   /* 56XX #1 pins 22-29 */
1322   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
1314   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:1,2")
13231315   PORT_DIPSETTING(    0x01, "1" )
13241316   PORT_DIPSETTING(    0x02, "2" )
13251317   PORT_DIPSETTING(    0x03, "3" )
13261318   PORT_DIPSETTING(    0x00, "5" )
1327   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coin_A ) )
1319   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW1:3,4")
13281320   PORT_DIPSETTING(    0x00, DEF_STR( 3C_1C ) )
13291321   PORT_DIPSETTING(    0x08, DEF_STR( 2C_1C ) )
13301322   PORT_DIPSETTING(    0x0c, DEF_STR( 1C_1C ) )
13311323   PORT_DIPSETTING(    0x04, DEF_STR( 1C_2C ) )
1332   PORT_DIPNAME( 0x10, 0x10, "Freeze" )
1324   PORT_DIPNAME( 0x10, 0x10, "Freeze" )         PORT_DIPLOCATION("SW1:5")
13331325   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
13341326   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1335   PORT_SERVICE( 0x20, IP_ACTIVE_LOW )
1336   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Coin_B ) )
1327   PORT_SERVICE_DIPLOC(  0x20, IP_ACTIVE_LOW, "SW1:6" )
1328   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW1:7,8")
13371329   PORT_DIPSETTING(    0x00, DEF_STR( 3C_1C ) )
13381330   PORT_DIPSETTING(    0x80, DEF_STR( 2C_1C ) )
13391331   PORT_DIPSETTING(    0xc0, DEF_STR( 1C_1C ) )
13401332   PORT_DIPSETTING(    0x40, DEF_STR( 1C_2C ) )
13411333
13421334   PORT_START("DSW2")   /* 56XX #1 pins 38-41 multiplexed */
1343   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) )
1344   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
1345   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1346   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unused ) )
1347   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
1348   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1349   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unused ) )
1350   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
1351   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1352   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unused ) )
1353   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
1354   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1355   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) )
1356   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1357   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1358   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) )
1359   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
1360   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1361   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) )
1362   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
1363   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1364   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) )
1365   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
1366   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1335   PORT_DIPUNUSED_DIPLOC( 0x01, 0x01, "SW2:1" )
1336   PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW2:2" )
1337   PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "SW2:3" )
1338   PORT_DIPUNUSED_DIPLOC( 0x08, 0x08, "SW2:4" )
1339   PORT_DIPUNUSED_DIPLOC( 0x10, 0x10, "SW2:5" )
1340   PORT_DIPUNUSED_DIPLOC( 0x20, 0x20, "SW2:6" )
1341   PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW2:7" )
1342   PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW2:8" )
13671343INPUT_PORTS_END
13681344
13691345
r5338r5339
13801356   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )   // service mode again
13811357
13821358   PORT_START("DSW1")   /* 56XX #1 pins 22-29 */
1383   PORT_SERVICE( 0x01, IP_ACTIVE_LOW )
1384   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Lives ) )
1359   PORT_SERVICE_DIPLOC(  0x01, IP_ACTIVE_LOW, "SW1:1" )
1360   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:2")
13851361   PORT_DIPSETTING(    0x02, "3" )
13861362   PORT_DIPSETTING(    0x00, "5" )
1387   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coinage ) )
1363   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:3,4")
13881364   PORT_DIPSETTING(    0x00, DEF_STR( 3C_1C ) )
13891365   PORT_DIPSETTING(    0x08, DEF_STR( 2C_1C ) )
13901366   PORT_DIPSETTING(    0x0c, DEF_STR( 1C_1C ) )
13911367   PORT_DIPSETTING(    0x04, DEF_STR( 1C_2C ) )
1392   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )
1368   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW1:5,6")
13931369   PORT_DIPSETTING(    0x30, "30k 80k and ..." )
13941370   PORT_DIPSETTING(    0x20, "30k 100k and ..." )
13951371   PORT_DIPSETTING(    0x10, "30k 120k and ..." )
13961372   PORT_DIPSETTING(    0x00, "30k 150k and..." )
1397   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Level_Select ) )
1373   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Level_Select ) )   PORT_DIPLOCATION("SW1:7")
13981374   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
13991375   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1400   PORT_DIPNAME( 0x80, 0x80, "Freeze" )
1376   PORT_DIPNAME( 0x80, 0x80, "Freeze" )         PORT_DIPLOCATION("SW1:8")
14011377   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
14021378   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
14031379
14041380   PORT_START("DSW2")   /* 56XX #1 pins 38-41 multiplexed */
1405   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) )
1406   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
1407   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1408   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unused ) )
1409   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
1410   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1411   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unused ) )
1412   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
1413   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1414   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unused ) )
1415   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
1416   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1417   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) )
1418   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1419   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1420   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) )
1421   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
1422   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1423   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) )
1424   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
1425   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1426   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) )
1427   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
1428   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1381   PORT_DIPUNUSED_DIPLOC( 0x01, 0x01, "SW2:1" )
1382   PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW2:2" )
1383   PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "SW2:3" )
1384   PORT_DIPUNUSED_DIPLOC( 0x08, 0x08, "SW2:4" )
1385   PORT_DIPUNUSED_DIPLOC( 0x10, 0x10, "SW2:5" )
1386   PORT_DIPUNUSED_DIPLOC( 0x20, 0x20, "SW2:6" )
1387   PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW2:7" )
1388   PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW2:8" )
14291389INPUT_PORTS_END
14301390
14311391
r5338r5339
14421402   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )   // service mode again
14431403
14441404   PORT_START("DSW1")   /* 56XX #1 pins 22-29 */
1445   PORT_SERVICE( 0x01, IP_ACTIVE_LOW )
1446   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Coinage ) )
1405   PORT_SERVICE_DIPLOC(  0x01, IP_ACTIVE_LOW, "SW1:1" )
1406   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:2,3")
14471407   PORT_DIPSETTING(    0x00, DEF_STR( 3C_1C ) )
14481408   PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
14491409   PORT_DIPSETTING(    0x06, DEF_STR( 1C_1C ) )
14501410   PORT_DIPSETTING(    0x04, DEF_STR( 1C_2C ) )
1451   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) )
1411   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:4")
14521412   PORT_DIPSETTING(    0x08, "3" )
14531413   PORT_DIPSETTING(    0x00, "5" )
1454   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Difficulty ) )
1414   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:5")
14551415   PORT_DIPSETTING(    0x10, "Rank A" )
14561416   PORT_DIPSETTING(    0x00, "Rank B" )
1457   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Bonus_Life ) )
1417   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW1:6,7")
14581418   PORT_DIPSETTING(    0x60, "10k 30k and every 50k" )
14591419   PORT_DIPSETTING(    0x40, "20k and every 50k" )
14601420   PORT_DIPSETTING(    0x20, "30k and every 70k" )
14611421   PORT_DIPSETTING(    0x00, "20k 70k" )
1462   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Demo_Sounds ) )
1422   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:8")
14631423   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
14641424   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
14651425
14661426   PORT_START("DSW2")   /* 56XX #1 pins 38-41 multiplexed */
1467   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) )
1468   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
1469   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1470   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unused ) )
1471   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
1472   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1473   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unused ) )
1474   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
1475   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1476   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unused ) )
1477   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
1478   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1479   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) )
1480   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1481   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1482   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) )
1483   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
1484   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1485   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) )
1486   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
1487   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1488   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) )
1489   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
1490   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1427   PORT_DIPUNUSED_DIPLOC( 0x01, 0x01, "SW2:1" )
1428   PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW2:2" )
1429   PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "SW2:3" )
1430   PORT_DIPUNUSED_DIPLOC( 0x08, 0x08, "SW2:4" )
1431   PORT_DIPUNUSED_DIPLOC( 0x10, 0x10, "SW2:5" )
1432   PORT_DIPUNUSED_DIPLOC( 0x20, 0x20, "SW2:6" )
1433   PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW2:7" )
1434   PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW2:8" )
14911435INPUT_PORTS_END
14921436
14931437
r5338r5339
17381682   ROM_LOAD( "superpac.3m",  0x0000, 0x0100, CRC(ad43688f) SHA1(072f427453efb1dda8147da61804fff06e1bc4d5) )
17391683ROM_END
17401684
1741ROM_START( superpcm )
1685ROM_START( superpacm )
17421686   ROM_REGION( 0x10000, "maincpu", 0 )
17431687   ROM_LOAD( "spc-2.1c",     0xc000, 0x2000, CRC(1a38c30e) SHA1(ae0ee9f3df0991a80698fe745a7a853a4bb60710) )
17441688   ROM_LOAD( "spc-1.1b",     0xe000, 0x2000, CRC(730e95a9) SHA1(ca73c8bcb03c2f5c05968c707a5d3f7f9956b886) )
r5338r5339
20181962   ROM_LOAD( "td1-3.3m",   0x0000, 0x0100, CRC(07104c40) SHA1(16db55525034bacb71e7dc8bd2a7c3c4464d4808) )
20191963ROM_END
20201964
2021ROM_START( todruago )
1965ROM_START( todruagao )
20221966   ROM_REGION( 0x10000, "maincpu", 0 )     /* 64k for code for the first CPU  */
20231967   ROM_LOAD( "td1_3.1d",   0x8000, 0x4000, CRC(7ab4f5b2) SHA1(65035a5ecdff14bf23e01fe0f5e0935d156d94ff) )
20241968   ROM_LOAD( "td1_1.1b",   0xc000, 0x4000, CRC(8c20ef10) SHA1(12ea4875ce4d4590b88862139d3379ab9f5cec03) )
r5338r5339
21482092
21492093/* 2x6809, static tilemap, 2bpp sprites (Super Pacman type)  */
21502094GAME( 1982, superpac, 0,        superpac, superpac, 56_56,    ROT90, "Namco", "Super Pac-Man", GAME_SUPPORTS_SAVE )
2151GAME( 1982, superpcm, superpac, superpac, superpac, 56_56,    ROT90, "[Namco] (Bally Midway license)", "Super Pac-Man (Midway)", GAME_SUPPORTS_SAVE )
2095GAME( 1982, superpacm,superpac, superpac, superpac, 56_56,    ROT90, "[Namco] (Bally Midway license)", "Super Pac-Man (Midway)", GAME_SUPPORTS_SAVE )
21522096GAME( 1983, pacnpal,  0,        superpac, pacnpal,  56out_59, ROT90, "Namco", "Pac & Pal", GAME_SUPPORTS_SAVE )
21532097GAME( 1983, pacnpal2, pacnpal,  superpac, pacnpal,  56out_59, ROT90, "Namco", "Pac & Pal (older)", GAME_SUPPORTS_SAVE )
21542098GAME( 1983, pacnchmp, pacnpal,  superpac, pacnpal,  56out_59, ROT90, "Namco", "Pac-Man & Chomp Chomp", GAME_SUPPORTS_SAVE )
r5338r5339
21632107GAME( 1983, mappy,    0,        mappy,    mappy,    58_58,    ROT90, "Namco", "Mappy (US)", GAME_SUPPORTS_SAVE )
21642108GAME( 1983, mappyj,   mappy,    mappy,    mappy,    58_58,    ROT90, "Namco", "Mappy (Japan)", GAME_SUPPORTS_SAVE )
21652109GAME( 1984, todruaga, 0,        todruaga, todruaga, 58_56,    ROT90, "Namco", "Tower of Druaga (New Ver.)", GAME_SUPPORTS_SAVE )
2166GAME( 1984, todruago, todruaga, todruaga, todruaga, 58_56,    ROT90, "Namco", "Tower of Druaga (Old Ver.)", GAME_SUPPORTS_SAVE )
2110GAME( 1984, todruagao,todruaga, todruaga, todruaga, 58_56,    ROT90, "Namco", "Tower of Druaga (Old Ver.)", GAME_SUPPORTS_SAVE )
21672111GAME( 1985, digdug2,  0,        digdug2,  digdug2,  digdug2,  ROT90, "Namco", "Dig Dug II (New Ver.)", GAME_SUPPORTS_SAVE )
21682112GAME( 1985, digdug2o, digdug2,  digdug2,  digdug2,  digdug2,  ROT90, "Namco", "Dig Dug II (Old Ver.)", GAME_SUPPORTS_SAVE )
21692113GAME( 1985, motos,    0,        mappy,    motos,    56out_56, ROT90, "Namco", "Motos", GAME_SUPPORTS_SAVE )
src/mame/drivers/rastan.c
r5338r5339
546546   ROM_LOAD( "b04-20.76", 0x0000, 0x10000, CRC(fd1a34cc) SHA1(b1682959521fa295769207b75cf7d839e9ec95fd) )
547547ROM_END
548548
549ROM_START( rastsag1 )
549ROM_START( rastsaga1 )
550550   ROM_REGION( 0x60000, "maincpu", 0 )   /* 6*64k for 68000 code */
551551   ROM_LOAD16_BYTE( "b04-14.19",   0x00000, 0x10000, CRC(a38ac909) SHA1(66d792fee03c6bd87d15060b9d5cae74137c5ebd) )
552552   ROM_LOAD16_BYTE( "b04-13.7",    0x00001, 0x10000, CRC(bad60872) SHA1(e020f79b3ac3d2abccfcd5d135d2dc49e1335c7d) )
r5338r5339
580580GAME( 1987, rastanu,  rastan, rastan, rastsaga, 0, ROT0, "Taito America Corporation", "Rastan (US, set 1)", 0)
581581GAME( 1987, rastanu2, rastan, rastan, rastsaga, 0, ROT0, "Taito America Corporation", "Rastan (US, set 2)", 0)
582582GAME( 1987, rastsaga, rastan, rastan, rastsaga, 0, ROT0, "Taito Corporation", "Rastan Saga (Japan)", 0)
583GAME( 1987, rastsag1, rastan, rastan, rastsaga, 0, ROT0, "Taito Corporation", "Rastan Saga (Japan Rev 1)", 0)
583GAME( 1987, rastsaga1,rastan, rastan, rastsaga, 0, ROT0, "Taito Corporation", "Rastan Saga (Japan Rev 1)", 0)
src/mame/drivers/equites.c
r5338r5339
14881488All roms 2764
14891489All Proms TBP24S10
14901490*/
1491ROM_START( bullfgts )
1491ROM_START( bullfgtrs )
14921492   ROM_REGION( 0x10000, "maincpu", 0 ) // 68000 ROMs
14931493   ROM_LOAD16_BYTE( "m_d13.bin",  0x00001, 0x2000, CRC(7c35dd4b) SHA1(6bd604ee32c0c5db17f90e24aa254ec7072d27dd) )
14941494   ROM_LOAD16_BYTE( "m_b13.bin",  0x00000, 0x2000, CRC(c4adddce) SHA1(48b6ddbad52a3941d3e651642b26d9adf70f71f5) )
r5338r5339
18741874GAME( 1984, equites,  0,        equites,  equites,  equites,  ROT90, "Alpha Denshi Co.",                "Equites", GAME_IMPERFECT_SOUND )
18751875GAME( 1984, equitess, equites,  equites,  equites,  equites,  ROT90, "Alpha Denshi Co. (Sega license)", "Equites (Sega)", GAME_IMPERFECT_SOUND )
18761876GAME( 1984, bullfgtr, 0,        equites,  bullfgtr, bullfgtr, ROT90, "Alpha Denshi Co.",                "Bull Fighter", GAME_IMPERFECT_SOUND )
1877GAME( 1984, bullfgts, bullfgtr, equites,  bullfgtr, bullfgtr, ROT90, "Alpha Denshi Co. (Sega license)", "Bull Fighter (Sega)", GAME_IMPERFECT_SOUND )
1877GAME( 1984, bullfgtrs,bullfgtr, equites,  bullfgtr, bullfgtr, ROT90, "Alpha Denshi Co. (Sega license)", "Bull Fighter (Sega)", GAME_IMPERFECT_SOUND )
18781878GAME( 1985, kouyakyu, 0,        equites,  kouyakyu, kouyakyu, ROT0,  "Alpha Denshi Co.",                "The Koukouyakyuh", GAME_IMPERFECT_SOUND )
18791879GAME( 1985, gekisou,  0,        gekisou,  gekisou,  gekisou,  ROT90, "Eastern Corp.",                   "Gekisou (Japan)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS )
18801880
src/mame/drivers/gradius3.c
r5338r5339
387387   ROM_LOAD( "945_l11b.c20",         0x60000, 0x20000, CRC(89ea3baf) SHA1(8edcbaa7969185cfac48c02559826d1b8b081f3f) )
388388ROM_END
389389
390ROM_START( grdius3a )
390ROM_START( gradius3a )
391391   ROM_REGION( 0x40000, "maincpu", 0 )
392392   ROM_LOAD16_BYTE( "945_13.f15",      0x00000, 0x20000, CRC(9974fe6b) SHA1(c18ad8d7c93bf58d886715d8e210177cf49f220b) )
393393   ROM_LOAD16_BYTE( "945_12.e15",      0x00001, 0x20000, CRC(e9771b91) SHA1(c9f4610b897c13742b44b546e2bed8ee21945f61) )
r5338r5339
429429   ROM_LOAD( "945_l11b.c20",         0x60000, 0x20000, CRC(89ea3baf) SHA1(8edcbaa7969185cfac48c02559826d1b8b081f3f) )
430430ROM_END
431431
432ROM_START( grdius3e )
432ROM_START( gradius3e )
433433   ROM_REGION( 0x40000, "maincpu", 0 )
434434   ROM_LOAD16_BYTE( "945_r13.f15",      0x00000, 0x20000, CRC(cffd103f) SHA1(6bd15e8c2e6e5223d7de9b0b375f36f3e81f60ba) )
435435   ROM_LOAD16_BYTE( "945_r12.e15",      0x00001, 0x20000, CRC(0b968ef6) SHA1(ba28d16d94b13aac791b11d3d91df26f78e2e477) )
r5338r5339
480480
481481
482482GAME( 1989, gradius3, 0,        gradius3, gradius3, gradius3, ROT0, "Konami", "Gradius III (Japan)", 0 )
483GAME( 1989, grdius3a, gradius3, gradius3, gradius3, gradius3, ROT0, "Konami", "Gradius III (Asia)", 0 )
484GAME( 1989, grdius3e, gradius3, gradius3, gradius3, gradius3, ROT0, "Konami", "Gradius III (World ?)", 0 )
483GAME( 1989, gradius3a, gradius3, gradius3, gradius3, gradius3, ROT0, "Konami", "Gradius III (Asia)", 0 )
484GAME( 1989, gradius3e, gradius3, gradius3, gradius3, gradius3, ROT0, "Konami", "Gradius III (World ?)", 0 )
src/mame/drivers/decocass.c
r5338r5339
149149   PORT_BIT( 0xff, 0x80, IPT_AD_STICK_Y ) PORT_MINMAX(0x10,0xf0) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_PLAYER(2)
150150
151151   PORT_START("DSW1")
152   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_A ) )
153   PORT_DIPSETTING(   0x00, DEF_STR( 2C_1C ) )
154   PORT_DIPSETTING(   0x03, DEF_STR( 1C_1C ) )
155   PORT_DIPSETTING(   0x02, DEF_STR( 1C_2C ) )
156   PORT_DIPSETTING(   0x01, DEF_STR( 1C_3C ) )
157   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coin_B ) )
158   PORT_DIPSETTING(   0x00, DEF_STR( 2C_1C ) )
159   PORT_DIPSETTING(   0x0c, DEF_STR( 1C_1C ) )
160   PORT_DIPSETTING(   0x08, DEF_STR( 1C_2C ) )
161   PORT_DIPSETTING(   0x04, DEF_STR( 1C_3C ) )
162   PORT_DIPNAME( 0x30, 0x30, "Board type" )    /* used by the "bios" */
163   PORT_DIPSETTING(   0x00, "old" )
164   PORT_DIPSETTING(   0x10, "invalid?" )
165   PORT_DIPSETTING(   0x20, "invalid?" )
166   PORT_DIPSETTING(   0x30, "new" )
167   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Cabinet ) )
168   PORT_DIPSETTING(   0x00, DEF_STR( Upright ) )
169   PORT_DIPSETTING(   0x40, DEF_STR( Cocktail ) )
170   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK   )
152   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW1:1,2")
153   PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
154   PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
155   PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
156   PORT_DIPSETTING(    0x01, DEF_STR( 1C_3C ) )
157   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW1:3,4")
158   PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
159   PORT_DIPSETTING(    0x0c, DEF_STR( 1C_1C ) )
160   PORT_DIPSETTING(    0x08, DEF_STR( 1C_2C ) )
161   PORT_DIPSETTING(    0x04, DEF_STR( 1C_3C ) )
162   PORT_DIPNAME( 0x30, 0x30, "Type of Tape" )       PORT_DIPLOCATION("SW1:5,6")   /* Used by the "bios" */
163   PORT_DIPSETTING(    0x00, "MT (Big)" )         /* Was listed as "Board Type" with this being "OLD" */
164   PORT_DIPSETTING(    0x10, "invalid?" )
165   PORT_DIPSETTING(    0x20, "invalid?" )
166   PORT_DIPSETTING(    0x30, "MD (Small)" )      /* Was listed as "Board Type" with this being "NEW" */
167   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW1:7")
168   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
169   PORT_DIPSETTING(    0x40, DEF_STR( Cocktail ) )
170   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK)
171171
172   PORT_START("DSW2")
173   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
174   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
175   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
176   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
177   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
178   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
179   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
180   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
181   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
182   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
183   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
184   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
185   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
172   PORT_START("DSW2") /* Start with all Unknown as each can change per game, except for Country Code */
173   PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x01, "SW2:1")      /* Most Dipswitch Settings sheets show this as "Number of Players" (Lives) */
174   PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "SW2:2")      /* Most Dipswitch Settings sheets show 2 & 3 as "Bonus Players" */
175   PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "SW2:3")
176   PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "SW2:4")      /* Most Dipswitch Settings sheets show 4 (with/without 5) as some form of Diffculty */
177   PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x10, "SW2:5")
178   PORT_DIPNAME( 0xe0, 0xe0, "Country Code" )      PORT_DIPLOCATION("SW2:6,7,8") /* Always Listed as "DON'T CHANGE" */
179   PORT_DIPSETTING(    0xe0, "A" )
180   PORT_DIPSETTING(    0xc0, "B" )
181   PORT_DIPSETTING(    0xa0, "C" )
182   PORT_DIPSETTING(    0x80, "D" )
183   PORT_DIPSETTING(    0x60, "E" )
184   PORT_DIPSETTING(    0x40, "F" )
185INPUT_PORTS_END
186
187static INPUT_PORTS_START( cbtime )
188   PORT_INCLUDE( decocass )
189
190   PORT_MODIFY("DSW2")
191   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1")
192   PORT_DIPSETTING(    0x01, "3" )
193   PORT_DIPSETTING(    0x00, "5" )
194   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:2,3")
195   PORT_DIPSETTING(    0x06, "20000" )
196   PORT_DIPSETTING(    0x04, "30000" )
197   PORT_DIPSETTING(    0x02, "40000" )
198   PORT_DIPSETTING(    0x00, "50000" )
199   PORT_DIPNAME( 0x08, 0x08, "Enemies" )         PORT_DIPLOCATION("SW2:4")
200   PORT_DIPSETTING(    0x08, "4" )
201   PORT_DIPSETTING(    0x00, "6" )
202   PORT_DIPNAME( 0x10, 0x10, "End of Level Pepper" )   PORT_DIPLOCATION("SW2:5")
203   PORT_DIPSETTING(    0x10, DEF_STR( No ) )
204   PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
205INPUT_PORTS_END
206
207static INPUT_PORTS_START( cnightst )
208   PORT_INCLUDE( decocass )
209
210   PORT_MODIFY("DSW2")
211   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1")
212   PORT_DIPSETTING(    0x01, "3" )
213   PORT_DIPSETTING(    0x00, "5" )
214   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:2,3")
215   PORT_DIPSETTING(    0x06, "When Night Star Completed (First 2 Times)" )
216   PORT_DIPSETTING(    0x04, "When Night Star Completed (First Time Only)" )
217   PORT_DIPSETTING(    0x02, "Every 70000"  )
218   PORT_DIPSETTING(    0x00, "30000 Only"  )
219   PORT_DIPNAME( 0x08, 0x08, "Number of Missles" )      PORT_DIPLOCATION("SW2:4")
220   PORT_DIPSETTING(    0x08, "Few" )
221   PORT_DIPSETTING(    0x00, "Many" )
222   PORT_DIPNAME( 0x10, 0x10, "Enemy's Speed" )      PORT_DIPLOCATION("SW2:5")
223   PORT_DIPSETTING(    0x10, "Slow" )
224   PORT_DIPSETTING(    0x00, "Fast" )
225   /* Switches 6, 7 & 8 are listed as "Country Code" A through F and "Don't Change" */
226INPUT_PORTS_END
227
228static INPUT_PORTS_START( ctornado )
229   PORT_INCLUDE( decocass )
230
231   PORT_MODIFY("DSW2")
232   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1")
233   PORT_DIPSETTING(    0x01, "3" )
234   PORT_DIPSETTING(    0x00, "5" )
235   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:2,3")
236   PORT_DIPSETTING(    0x00, DEF_STR( None )  )
237   PORT_DIPSETTING(    0x06, "10000" )
238   PORT_DIPSETTING(    0x04, "20000" )
239   PORT_DIPSETTING(    0x02, "30000" )
240   PORT_DIPNAME( 0x08, 0x08, "Crash Bombs" )      PORT_DIPLOCATION("SW2:4") /* Printed English translation "Hero Destructor" */
241   PORT_DIPSETTING(    0x08, "3" )
242   PORT_DIPSETTING(    0x00, "5" )
243   PORT_DIPNAME( 0x10, 0x10, "Alens' Speed" )      PORT_DIPLOCATION("SW2:5")
244   PORT_DIPSETTING(    0x10, "Slow" )
245   PORT_DIPSETTING(    0x00, "Fast" )
246   /* Switches 6, 7 & 8 are listed as "Country Code" A through F and "Don't Change" */
247INPUT_PORTS_END
248
249static INPUT_PORTS_START( cbdash )
250   PORT_INCLUDE( decocass )
251
252   PORT_MODIFY("DSW2")
253   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1")
254   PORT_DIPSETTING(    0x01, "3" )
255   PORT_DIPSETTING(    0x00, "5" )
256   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:2,3")
257   PORT_DIPSETTING(    0x00, DEF_STR( None )  )
258   PORT_DIPSETTING(    0x06, "20000" )
259   PORT_DIPSETTING(    0x04, "30000" )
260   PORT_DIPSETTING(    0x02, "40000" )
261   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:4,5")
262   PORT_DIPSETTING(    0x18, DEF_STR( Normal ) )      /* Number of Diamonds Little, Timer: Long */
263   PORT_DIPSETTING(    0x10, DEF_STR( Hard ) )      /* Number of Diamonds Little, Timer: Long */
264   PORT_DIPSETTING(    0x08, DEF_STR( Harder ) )      /* Number of Diamonds Many, Timer: Short */
265   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )      /* Number of Diamonds Many, Timer: Short */
266   /* Switches 6, 7 & 8 are listed as "Country Code" A through F and "Don't Change" */
267INPUT_PORTS_END
268
269static INPUT_PORTS_START( cprogolf )
270   PORT_INCLUDE( decocass )
271
272   PORT_MODIFY("DSW2")
273   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1")
274   PORT_DIPSETTING(    0x01, "2" )
275   PORT_DIPSETTING(    0x00, "3" )
276   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:2,3") /* You must shoot equal to or under the listed value for a bonus */
277   PORT_DIPSETTING(    0x00, DEF_STR( None )  )
278   PORT_DIPSETTING(    0x02, "6 Under" )
279   PORT_DIPSETTING(    0x04, "3 Under" )
280   PORT_DIPSETTING(    0x06, "1 Under" )
281   PORT_DIPNAME( 0x08, 0x08, "Number of Strokes" )      PORT_DIPLOCATION("SW2:4") /* You must shoot equal to or under to continue, else you loose a life */
282   PORT_DIPSETTING(    0x00, "Par +2" )
283   PORT_DIPSETTING(    0x08, "Par +3" )
284   PORT_DIPNAME( 0x10, 0x10, "Show Stroke Power/Ball Direction" )      PORT_DIPLOCATION("SW2:5")
186285   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
187286   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
188   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
189   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
190   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
191   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
192   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
193   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
194   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
195   PORT_DIPSETTING(   0x00, DEF_STR( Off ) )
196   PORT_DIPSETTING(   0x80, DEF_STR( On ) )
287   /* Switches 6, 7 & 8 are listed as "Country Code" A through F and "Don't Change" */
197288INPUT_PORTS_END
198289
199static INPUT_PORTS_START( cbtime )
290static INPUT_PORTS_START( csuperas )
200291   PORT_INCLUDE( decocass )
201292
202293   PORT_MODIFY("DSW2")
203   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )
204   PORT_DIPSETTING(   0x01, "3" )
205   PORT_DIPSETTING(   0x00, "5" )
206   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) )
207   PORT_DIPSETTING(   0x06, "20000" )
208   PORT_DIPSETTING(   0x04, "30000" )
209   PORT_DIPSETTING(   0x02, "40000"  )
210   PORT_DIPSETTING(   0x00, "50000"  )
211   PORT_DIPNAME( 0x08, 0x08, "Enemies" )
212   PORT_DIPSETTING(   0x08, "4" )
213   PORT_DIPSETTING(   0x00, "6" )
214   PORT_DIPNAME( 0x10, 0x10, "End of Level Pepper" )
215   PORT_DIPSETTING(   0x10, DEF_STR( No ) )
216   PORT_DIPSETTING(   0x00, DEF_STR( Yes ) )
217   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
218   PORT_DIPSETTING(   0x00, DEF_STR( Off ) )
219   PORT_DIPSETTING(   0x20, DEF_STR( On ) )
220   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
221   PORT_DIPSETTING(   0x00, DEF_STR( Off ) )
222   PORT_DIPSETTING(   0x40, DEF_STR( On ) )
223   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
224   PORT_DIPSETTING(   0x00, DEF_STR( Off ) )
225   PORT_DIPSETTING(   0x80, DEF_STR( On ) )
294   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1")
295   PORT_DIPSETTING(    0x01, "3" )
296   PORT_DIPSETTING(    0x00, "5" )
297   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:2,3")
298   PORT_DIPSETTING(    0x00, DEF_STR( None )  )
299   PORT_DIPSETTING(    0x06, "20000" )
300   PORT_DIPSETTING(    0x04, "30000" )
301   PORT_DIPSETTING(    0x02, "40000" )
302   PORT_DIPNAME( 0x08, 0x08, "Alien Craft Movement" )   PORT_DIPLOCATION("SW2:4")
303   PORT_DIPSETTING(    0x08, DEF_STR( Easy ) )
304   PORT_DIPSETTING(    0x00, DEF_STR( Difficult ) )
305   /* Switches 6, 7 & 8 are listed as "Country Code" A through F and "Don't Change" */
226306INPUT_PORTS_END
227307
308static INPUT_PORTS_START( cscrtry )
309   PORT_INCLUDE( decocass )
310
311   PORT_MODIFY("DSW2")
312   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1")
313   PORT_DIPSETTING(    0x01, "2" )
314   PORT_DIPSETTING(    0x00, "4" )
315   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:2,3")
316   PORT_DIPSETTING(    0x00, DEF_STR( None )  )
317   PORT_DIPSETTING(    0x06, "30000" )
318   PORT_DIPSETTING(    0x04, "50000" )
319   PORT_DIPSETTING(    0x02, "70000" )
320   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:4")
321   PORT_DIPSETTING(    0x08, DEF_STR( Easy ) )
322   PORT_DIPSETTING(    0x00, DEF_STR( Difficult ) )
323   /* Switches 5, 6, 7 & 8 are listed as "Special Purpose" and "Don't Change" */
324INPUT_PORTS_END
325
326static INPUT_PORTS_START( cprosocc )
327   PORT_INCLUDE( decocass )
328
329   PORT_MODIFY("DSW2")
330   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1") /* Listed as "Number of Balls" */
331   PORT_DIPSETTING(    0x01, "3" )
332   PORT_DIPSETTING(    0x00, "5" )
333   PORT_DIPNAME( 0x06, 0x06, "Number of Nice Goal" )   PORT_DIPLOCATION("SW2:2,3")
334   PORT_DIPSETTING(    0x00, DEF_STR( None )  )
335   PORT_DIPSETTING(    0x06, "5" )
336   PORT_DIPSETTING(    0x04, "10" )
337   PORT_DIPSETTING(    0x02, "20" )
338   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:4")
339   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
340   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
341   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:4") /* Listed as "Class" */
342   PORT_DIPSETTING(    0x10, DEF_STR( Easy ) )
343   PORT_DIPSETTING(    0x00, DEF_STR( Difficult ) )
344   /* Switches 6, 7 & 8 are listed as "Country Code" A through F and "Don't Change" */
345INPUT_PORTS_END
346
347static INPUT_PORTS_START( cterrani )
348   PORT_INCLUDE( decocass )
349
350   PORT_MODIFY("DSW2")
351   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1")
352   PORT_DIPSETTING(    0x01, "3" )
353   PORT_DIPSETTING(    0x00, "5" )
354   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:2,3")
355   PORT_DIPSETTING(    0x00, DEF_STR( None )  )
356   PORT_DIPSETTING(    0x06, "3000" )
357   PORT_DIPSETTING(    0x04, "5000" )
358   PORT_DIPSETTING(    0x02, "7000" )
359   PORT_DIPNAME( 0x08, 0x08, "Player's Rocket Movement" )   PORT_DIPLOCATION("SW2:4")
360   PORT_DIPSETTING(    0x08, DEF_STR( Easy ) )
361   PORT_DIPSETTING(    0x00, DEF_STR( Difficult ) )
362   PORT_DIPNAME( 0x10, 0x10, "Alien Craft Movement" )   PORT_DIPLOCATION("SW2:5")
363   PORT_DIPSETTING(    0x10, DEF_STR( Easy ) )
364   PORT_DIPSETTING(    0x00, DEF_STR( Difficult ) )
365   /* Switches 6, 7 & 8 are shown as completly blank */
366INPUT_PORTS_END
367
368static INPUT_PORTS_START( cmissnx )
369   PORT_INCLUDE( decocass )
370
371   PORT_MODIFY("DSW2")
372   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1")
373   PORT_DIPSETTING(    0x01, "3" )
374   PORT_DIPSETTING(    0x00, "5" )
375   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:2,3")
376   PORT_DIPSETTING(    0x00, DEF_STR( None )  )
377   PORT_DIPSETTING(    0x06, "5000" )
378   PORT_DIPSETTING(    0x04, "10000" )
379   PORT_DIPSETTING(    0x02, "15000" )
380   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:4,5") /* Listed as "Game Level" */
381   PORT_DIPSETTING(    0x18, DEF_STR( Easy ) )
382   PORT_DIPSETTING(    0x10, DEF_STR( Normal ) )
383   PORT_DIPSETTING(    0x08, DEF_STR( Hard ) )
384   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
385   /* Switches 6, 7 & 8 are listed as "Country Code" A through F and "Don't Change" */
386INPUT_PORTS_END
387
388static INPUT_PORTS_START( cfghtice )
389   PORT_INCLUDE( decocass )
390
391   PORT_MODIFY("DSW2")
392   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1")
393   PORT_DIPSETTING(    0x01, "3" )
394   PORT_DIPSETTING(    0x00, "5" )
395   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Very_Difficult ) )   PORT_DIPLOCATION("SW2:2,3")
396   PORT_DIPSETTING(    0x04, DEF_STR( Very_Easy )  )
397   PORT_DIPSETTING(    0x06, DEF_STR( Easy ) )
398   PORT_DIPSETTING(    0x00, DEF_STR( Difficult ) )
399   PORT_DIPSETTING(    0x02, DEF_STR( Very_Difficult ) )
400   PORT_DIPNAME( 0x08, 0x08, "Enemy's Speed" )      PORT_DIPLOCATION("SW2:4")
401   PORT_DIPSETTING(    0x08, DEF_STR( Normal ) )
402   PORT_DIPSETTING(    0x00, "Fast" )
403   PORT_SERVICE_DIPLOC(  0x10, IP_ACTIVE_LOW, "SW2:5" )   /* Listed as Test Mode, but doesn't seem to work??? */
404   /* Switches 6, 7 & 8 are listed as "Country Code" A through F and "Don't Change" */
405INPUT_PORTS_END
406
407static INPUT_PORTS_START( clocknch )
408   PORT_INCLUDE( decocass )
409
410   PORT_MODIFY("DSW2")
411   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1")
412   PORT_DIPSETTING(    0x01, "3" )
413   PORT_DIPSETTING(    0x00, "5" )
414   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:2,3")
415   PORT_DIPSETTING(    0x00, DEF_STR( None )  )
416   PORT_DIPSETTING(    0x06, "15000" )
417   PORT_DIPSETTING(    0x04, "20000" )
418   PORT_DIPSETTING(    0x02, "30000" )
419   /* Switches 4, 5, 6, 7 & 8 are listed as "Not Used" and "Don't Change" */
420INPUT_PORTS_END
421
422static INPUT_PORTS_START( cgraplop )
423   PORT_INCLUDE( decocass )
424
425   PORT_MODIFY("DSW2")
426   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1")
427   PORT_DIPSETTING(    0x01, "3" )
428   PORT_DIPSETTING(    0x00, "5" )
429   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:2,3")
430   PORT_DIPSETTING(    0x00, DEF_STR( None )  )
431   PORT_DIPSETTING(    0x06, "20000" )
432   PORT_DIPSETTING(    0x04, "50000" )
433   PORT_DIPSETTING(    0x02, "70000" )
434   PORT_DIPNAME( 0x08, 0x08, "Number of UPs" )      PORT_DIPLOCATION("SW2:4")
435   PORT_DIPSETTING(    0x08, "Few" )
436   PORT_DIPSETTING(    0x00, "Many" )
437   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:5") /* Listed as "Falling Speed" */
438   PORT_DIPSETTING(    0x10, DEF_STR( Easy ) )
439   PORT_DIPSETTING(    0x00, DEF_STR( Difficult ) )
440   /* Switches 6, 7 & 8 are listed as "Not Used" and "Don't Change" */
441INPUT_PORTS_END
442
443static INPUT_PORTS_START( cexplore )
444   PORT_INCLUDE( decocass )
445
446   PORT_MODIFY("DSW2")
447   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1")
448   PORT_DIPSETTING(    0x01, "3" )
449   PORT_DIPSETTING(    0x00, "5" )
450   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:2,3")
451   PORT_DIPSETTING(    0x00, DEF_STR( None )  )
452   PORT_DIPSETTING(    0x06, "10000" )
453   PORT_DIPSETTING(    0x04, "1500000" )
454   PORT_DIPSETTING(    0x02, "30000" )
455   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:4") /* Listed as "Missle" */
456   PORT_DIPSETTING(    0x08, DEF_STR( Easy ) )
457   PORT_DIPSETTING(    0x00, DEF_STR( Difficult ) )
458   PORT_DIPNAME( 0x10, 0x10, "Number of UFOs" )      PORT_DIPLOCATION("SW2:5")
459   PORT_DIPSETTING(    0x10, "Few" )
460   PORT_DIPSETTING(    0x00, "Many" )
461   /* Switches 6, 7 & 8 are listed as "Country Code" A through F and "Don't Change" */
462INPUT_PORTS_END
463
464
228465static const gfx_layout charlayout =
229466{
230467   8,8,
r5338r5339
678915   ROM_LOAD( "deco-ti.x4",   0x3000, 0x1000, CRC(1cbe43de) SHA1(8f26ad224e96c87da810c60d3dd88d415400b9fc) )
679916ROM_END
680917
681ROM_START( ctislnd2 )
918ROM_START( ctisland2 )
682919   DECOCASS_COMMON_ROMS
683920
684921   ROM_REGION( 0x00020, "dongle", 0 )     /* dongle data */
r5338r5339
694931   ROM_LOAD( "deco-ti.x4",   0x3000, 0x1000, CRC(1cbe43de) SHA1(8f26ad224e96c87da810c60d3dd88d415400b9fc) )
695932ROM_END
696933
697ROM_START( ctislnd3 )
934ROM_START( ctisland3 )
698935   DECOCASS_COMMON_ROMS
699936
700937   ROM_REGION( 0x00020, "dongle", 0 )     /* dongle data */
r5338r5339
8401077   ROM_LOAD( "cburnrub.cas",   0x0000, 0x8000, CRC(4528ac22) SHA1(dc0fcc5e5fd21c1c858a90f43c175e36a24b3c3d) )
8411078ROM_END
8421079
843ROM_START( cburnrb2 )
1080ROM_START( cburnrub2 )
8441081   DECOCASS_COMMON_ROMS
8451082
8461083   ROM_REGION( 0x01000, "dongle", 0 )     /* dongle data */
r5338r5339
8801117   ROM_LOAD( "cgraplop.cas", 0x0000, 0x8000, CRC(d2c1c1bb) SHA1(db67304caa11540363735e7d4bf03507ccbe9980) )
8811118ROM_END
8821119
883ROM_START( cgraplp2 )
1120ROM_START( cgraplop2 )
8841121   DECOCASS_COMMON_ROMS
8851122
8861123   ROM_REGION( 0x01000, "dongle", 0 )     /* dongle data */
r5338r5339
9401177   ROM_LOAD( "cnightst.cas", 0x0000, 0x8000, CRC(c6f844cb) SHA1(5fc6154c20ee4e2f4049a78df6f3cacbb96b0dc0) )
9411178ROM_END
9421179
943ROM_START( cnights2 )
1180ROM_START( cnightst2 )
9441181   DECOCASS_COMMON_ROMS
9451182
9461183   ROM_REGION( 0x01000, "dongle", 0 )   /* dongle data */
r5338r5339
10931330         GAME( 1981, decocass, 0, decocass, decocass, decocass, ROT270, "Data East Corporation", "DECO Cassette System", GAME_IS_BIOS_ROOT )
10941331         GAME( 1981, ctsttape, decocass, ctsttape, decocass, decocass, ROT270, "Data East Corporation", "Test Tape (Cassette)", 0 )
10951332/* 01 */ GAME( 1980, chwy,     decocass, chwy,     decocass, decocass, ROT270, "Data East Corporation", "Highway Chase (Cassette)", 0 )
1096/* 04 */ GAME( 1981, cterrani, decocass, cterrani, decocass, decocass, ROT270, "Data East Corporation", "Terranean (Cassette)", 0 )
1333/* 04 */ GAME( 1981, cterrani, decocass, cterrani, cterrani, decocass, ROT270, "Data East Corporation", "Terranean (Cassette)", 0 )
10971334/* 07 */ GAME( 1981, castfant, decocass, castfant, decocass, decocass, ROT270, "Data East Corporation", "Astro Fantasia (Cassette)", 0 )
1098/* 09 */ GAME( 1981, csuperas, decocass, csuperas, decocass, decocass, ROT270, "Data East Corporation", "Super Astro Fighter (Cassette)", 0 )
1099/* 11 */ GAME( 1981, clocknch, decocass, clocknch, decocass, decocass, ROT270, "Data East Corporation", "Lock'n'Chase (Cassette)", 0 )
1100/* 13 */ GAME( 1981, cprogolf, decocass, cprogolf, decocass, decocass, ROT270, "Data East Corporation", "Pro Golf (Cassette)", 0 )
1335/* 09 */ GAME( 1981, csuperas, decocass, csuperas, csuperas, decocass, ROT270, "Data East Corporation", "Super Astro Fighter (Cassette)", 0 )
1336/* 11 */ GAME( 1981, clocknch, decocass, clocknch, clocknch, decocass, ROT270, "Data East Corporation", "Lock'n'Chase (Cassette)", 0 )
1337/* 13 */ GAME( 1981, cprogolf, decocass, cprogolf, cprogolf, decocass, ROT270, "Data East Corporation", "Pro Golf (Cassette)", 0 )
11011338/* 15 */ GAME( 1981, cluckypo, decocass, cluckypo, decocass, decocass, ROT270, "Data East Corporation", "Lucky Poker (Cassette)", 0 )
11021339/* 16 */ GAME( 1981, ctisland, decocass, ctisland, decocass, decocrom, ROT270, "Data East Corporation", "Treasure Island (Cassette, set 1)", 0 )
1103/* 16 */ GAME( 1981, ctislnd2, ctisland, ctisland, decocass, decocrom, ROT270, "Data East Corporation", "Treasure Island (Cassette, set 2)", 0 )
1104/* 16 */ GAME( 1981, ctislnd3, ctisland, ctisland, decocass, decocrom, ROT270, "Data East Corporation", "Treasure Island (Cassette, set 3)", GAME_NOT_WORKING ) /* Different Bitswap? */
1105/* 18 */ GAME( 1982, cexplore, decocass, cexplore, decocass, decocass, ROT270, "Data East Corporation", "Explorer (Cassette)", GAME_NOT_WORKING )
1340/* 16 */ GAME( 1981, ctisland2,ctisland, ctisland, decocass, decocrom, ROT270, "Data East Corporation", "Treasure Island (Cassette, set 2)", 0 )
1341/* 16 */ GAME( 1981, ctisland3,ctisland, ctisland, decocass, decocrom, ROT270, "Data East Corporation", "Treasure Island (Cassette, set 3)", GAME_NOT_WORKING ) /* Different Bitswap? */
1342/* 18 */ GAME( 1982, cexplore, decocass, cexplore, cexplore, decocass, ROT270, "Data East Corporation", "Explorer (Cassette)", GAME_NOT_WORKING )
11061343/* 19 */ GAME( 1982, cdiscon1, decocass, cdiscon1, decocass, decocass, ROT270, "Data East Corporation", "Disco No.1 (Cassette)", 0 )
11071344/* 19 */ GAME( 1982, csweetht, cdiscon1, cdiscon1, decocass, decocass, ROT270, "Data East Corporation", "Sweet Heart (Cassette)", 0 )
1108/* 20 */ GAME( 1982, ctornado, decocass, ctornado, decocass, decocass, ROT270, "Data East Corporation", "Tornado (Cassette)", 0 )
1109/* 21 */ GAME( 1982, cmissnx,  decocass, cmissnx,  decocass, decocass, ROT270, "Data East Corporation", "Mission-X (Cassette)", 0 )
1345/* 20 */ GAME( 1982, ctornado, decocass, ctornado, ctornado, decocass, ROT270, "Data East Corporation", "Tornado (Cassette)", 0 )
1346/* 21 */ GAME( 1982, cmissnx,  decocass, cmissnx,  cmissnx,  decocass, ROT270, "Data East Corporation", "Mission-X (Cassette)", 0 )
11101347/* 22 */ GAME( 1982, cptennis, decocass, cptennis, decocass, decocass, ROT270, "Data East Corporation", "Pro Tennis (Cassette)", 0 )
11111348/* 26 */ GAME( 1983, cbtime,   decocass, cbtime,   cbtime,   decocass, ROT270, "Data East Corporation", "Burger Time (Cassette)", 0 )
11121349/* 27 */ GAME( 1982, cburnrub, decocass, cburnrub, decocass, decocass, ROT270, "Data East Corporation", "Burnin' Rubber (Cassette, set 1)", 0 )
1113/* 27 */ GAME( 1982, cburnrb2, cburnrub, cburnrub, decocass, decocass, ROT270, "Data East Corporation", "Burnin' Rubber (Cassette, set 2)", 0 )
1350/* 27 */ GAME( 1982, cburnrub2,cburnrub, cburnrub, decocass, decocass, ROT270, "Data East Corporation", "Burnin' Rubber (Cassette, set 2)", 0 )
11141351/* 27 */ GAME( 1982, cbnj,     cburnrub, cbnj,     decocass, decocass, ROT270, "Data East Corporation", "Bump N Jump (Cassette)", 0 )
1115/* 28 */ GAME( 1983, cgraplop, decocass, cgraplop, decocass, decocass, ROT270, "Data East Corporation", "Cluster Buster / Graplop (Cassette, set 1)", 0 )
1116/* 28 */ GAME( 1983, cgraplp2, cgraplop, cgraplp2, decocass, decocass, ROT270, "Data East Corporation", "Cluster Buster / Graplop (Cassette, set 2)", GAME_NOT_WORKING )
1352/* 28 */ GAME( 1983, cgraplop, decocass, cgraplop, cgraplop, decocass, ROT270, "Data East Corporation", "Cluster Buster / Graplop (Cassette, set 1)", 0 )
1353/* 28 */ GAME( 1983, cgraplop2,cgraplop, cgraplp2, cgraplop, decocass, ROT270, "Data East Corporation", "Cluster Buster / Graplop (Cassette, set 2)", GAME_NOT_WORKING )
11171354/* 29 */ GAME( 1983, clapapa,  decocass, clapapa,  decocass, decocass, ROT270, "Data East Corporation", "Rootin' Tootin' / La-Pa-Pa (Cassette)" , 0) /* Displays 'La-Pa-Pa during attract */
1118/* 29 */ GAME( 1983, clapapa2, clapapa, clapapa,  decocass, decocass, ROT270, "Data East Corporation", "Rootin' Tootin' (Cassette)" , 0)         /* Displays 'Rootin' Tootin' during attract */
1355/* 29 */ GAME( 1983, clapapa2, clapapa, clapapa,  decocass, decocass, ROT270, "Data East Corporation", "Rootin' Tootin' (Cassette)" , 0) /* Displays 'Rootin' Tootin' during attract */
11191356/* 31 */ GAME( 1983, cprobowl, decocass, cprobowl, decocass, decocass, ROT270, "Data East Corporation", "Pro Bowling (Cassette)", 0 )
1120/* 32 */ GAME( 1983, cnightst, decocass, cnightst, decocass, decocass, ROT270, "Data East Corporation", "Night Star (Cassette, set 1)", 0 )
1121/* 32 */ GAME( 1983, cnights2, cnightst, cnightst, decocass, decocass, ROT270, "Data East Corporation", "Night Star (Cassette, set 2)", 0 )
1122/* 33 */ GAME( 1983, cprosocc, decocass, cprosocc, decocass, decocass, ROT270, "Data East Corporation", "Pro Soccer (Cassette)", 0 )
1357/* 32 */ GAME( 1983, cnightst, decocass, cnightst, cnightst, decocass, ROT270, "Data East Corporation", "Night Star (Cassette, set 1)", 0 )
1358/* 32 */ GAME( 1983, cnightst2,cnightst, cnightst, cnightst, decocass, ROT270, "Data East Corporation", "Night Star (Cassette, set 2)", 0 )
1359/* 33 */ GAME( 1983, cprosocc, decocass, cprosocc, cprosocc, decocass, ROT270, "Data East Corporation", "Pro Soccer (Cassette)", 0 )
11231360/* 37 */ GAME( 1983, czeroize, decocass, czeroize, decocass, decocass, ROT270, "Data East Corporation", "Zeroize (Cassette)", 0 )
1124/* 38 */ GAME( 1984, cscrtry,  decocass, cscrtry,  decocass, decocass, ROT270, "Data East Corporation", "Scrum Try (Cassette, set 1)", 0 )
1125/* 38 */ GAME( 1984, cscrtry2, cscrtry, cscrtry,  decocass, decocass, ROT270, "Data East Corporation", "Scrum Try (Cassette, set 2)", 0 )
1361/* 38 */ GAME( 1984, cscrtry,  decocass, cscrtry,  cscrtry,  decocass, ROT270, "Data East Corporation", "Scrum Try (Cassette, set 1)", 0 )
1362/* 38 */ GAME( 1984, cscrtry2, cscrtry,  cscrtry,  cscrtry,  decocass, ROT270, "Data East Corporation", "Scrum Try (Cassette, set 2)", 0 )
11261363/* 39 */ GAME( 1984, cppicf,   decocass, cppicf,   decocass, decocass, ROT270, "Data East Corporation", "Peter Pepper's Ice Cream Factory (Cassette, set 1)", 0 )
1127/* 39 */ GAME( 1984, cppicf2,  cppicf, cppicf,   decocass, decocass, ROT270, "Data East Corporation", "Peter Pepper's Ice Cream Factory (Cassette, set 2)", 0 )
1128/* 40 */ GAME( 1984, cfghtice, decocass, cfghtice, decocass, decocass, ROT270, "Data East Corporation", "Fighting Ice Hockey (Cassette)", 0 )
1129/* 44 */ GAME( 1985, cbdash,   decocass, cbdash,   decocass, decocass, ROT270, "Data East Corporation", "Boulder Dash (Cassette)", 0 )
1364/* 39 */ GAME( 1984, cppicf2,  cppicf,   cppicf,   decocass, decocass, ROT270, "Data East Corporation", "Peter Pepper's Ice Cream Factory (Cassette, set 2)", 0 )
1365/* 40 */ GAME( 1984, cfghtice, decocass, cfghtice, cfghtice, decocass, ROT270, "Data East Corporation", "Fighting Ice Hockey (Cassette)", 0 )
1366/* 44 */ GAME( 1985, cbdash,   decocass, cbdash,   cbdash,   decocass, ROT270, "Data East Corporation", "Boulder Dash (Cassette)", 0 )
11301367         GAME( 1985, cflyball, decocass, cflyball, decocass, decocass, ROT270, "Data East Corporation", "Flying Ball (Cassette)", 0 )
src/mame/drivers/mystwarr.c
r5338r5339
12291229   ROM_LOAD( "128a07.1d", 0x200000, 2*1024*1024, CRC(db79a66e) SHA1(b7e118ed26bac557038e8ae6cb77f23f3da5646f) )
12301230ROM_END
12311231
1232ROM_START( mystwaru )
1232ROM_START( mystwarru )
12331233   /* main program */
12341234   ROM_REGION( 0x200000, "maincpu", 0 )
12351235   ROM_LOAD16_BYTE( "128uaa01.20f", 0x000000, 0x40000, CRC(3a89aafd) SHA1(6d2ebb7e04d262545276c8dbe1c63405e5de4901) )
r5338r5339
12661266   ROM_LOAD( "128a07.1d", 0x200000, 2*1024*1024, CRC(db79a66e) SHA1(b7e118ed26bac557038e8ae6cb77f23f3da5646f) )
12671267ROM_END
12681268
1269ROM_START( mystwarj )
1269ROM_START( mystwarrj )
12701270   /* main program */
12711271   ROM_REGION( 0x200000, "maincpu", 0 )
12721272   ROM_LOAD16_BYTE( "128jaa01.20f", 0x000000, 0x40000, CRC(49c37bfe) SHA1(177843899055476c9d2716ba494ac3892993eee5) )
r5338r5339
13351335   ROM_LOAD( "168a07.1e", 0x200000, 2*1024*1024, CRC(fdbbf8cc) SHA1(a8adf72a25fe2b9c4c338350d02c92deb5f8c8e9) )
13361336ROM_END
13371337
1338ROM_START( viostrmu )
1338ROM_START( viostormu )
13391339   /* main program */
13401340   ROM_REGION( 0x200000, "maincpu", 0)
13411341   ROM_LOAD16_BYTE( "168uac01.15h", 0x000001, 0x80000, CRC(49853530) SHA1(dc8fa1a929848949cb0ad02f5a2a8a5f820fd6c1) )
r5338r5339
13671367   ROM_LOAD( "168a07.1e", 0x200000, 2*1024*1024, CRC(fdbbf8cc) SHA1(a8adf72a25fe2b9c4c338350d02c92deb5f8c8e9) )
13681368ROM_END
13691369
1370ROM_START( viostmub )
1370ROM_START( viostormub )
13711371   /* main program */
13721372   ROM_REGION( 0x200000, "maincpu", 0)
13731373   ROM_LOAD16_BYTE( "168uab01.15h", 0x000001, 0x80000, CRC(2d6a9fa3) SHA1(a2f82702896eddb11cd2b2f9ed5fff730f6baf0f) )
r5338r5339
13991399   ROM_LOAD( "168a07.1e", 0x200000, 2*1024*1024, CRC(fdbbf8cc) SHA1(a8adf72a25fe2b9c4c338350d02c92deb5f8c8e9) )
14001400ROM_END
14011401
1402ROM_START( viostrma )
1402ROM_START( viostorma )
14031403   /* main program */
14041404   ROM_REGION( 0x200000, "maincpu", 0 )
14051405   ROM_LOAD16_BYTE( "168aac01.15h", 0x000001, 0x80000, CRC(3620635c) SHA1(d296ba707a131bd78b401608d6b165b214f4fe61) )
r5338r5339
14311431   ROM_LOAD( "168a07.1e", 0x200000, 2*1024*1024, CRC(fdbbf8cc) SHA1(a8adf72a25fe2b9c4c338350d02c92deb5f8c8e9) )
14321432ROM_END
14331433
1434ROM_START( viostrmj )
1434ROM_START( viostormj )
14351435   /* main program */
14361436   ROM_REGION( 0x200000, "maincpu", 0 )
14371437   ROM_LOAD16_BYTE( "168jac01.b01", 0x000001, 0x80000, CRC(f8be1225) SHA1(8c38ca218c0005c60a48cd3a43b5460b63a851e7) )
r5338r5339
14981498   ROM_LOAD( "224a07", 0x200000, 1*1024*1024, CRC(61b2f97a) SHA1(34bf835d6361c7809d40fa20fd238c9e2a84b101) )
14991499ROM_END
15001500
1501ROM_START( metamrpu )
1501ROM_START( metamrphu )
15021502   /* main program */
15031503   ROM_REGION( 0x200000, "maincpu", 0 )
15041504   ROM_LOAD16_BYTE( "224uaa01.15h", 0x000001, 0x40000, CRC(e1d9b516) SHA1(387ed5ce87af376c0568e39187330a4585dc499a) )
r5338r5339
15331533   ROM_LOAD( "224a07", 0x200000, 1*1024*1024, CRC(61b2f97a) SHA1(34bf835d6361c7809d40fa20fd238c9e2a84b101) )
15341534ROM_END
15351535
1536ROM_START( metamrpj )
1536ROM_START( metamrphj )
15371537   /* main program */
15381538   ROM_REGION( 0x200000, "maincpu", 0 )
15391539   ROM_LOAD16_BYTE( "224jaa01.15h", 0x000001, 0x40000, CRC(558d2602) SHA1(2dbc16fcc07436ca7eff8d070196348f272b8723) )
r5338r5339
16021602   ROM_LOAD( "234a07.1d", 0x200000, 2*1024*1024, CRC(05ee239f) SHA1(f4e6e7568dc73666a2b5e0c3fe743432e0436464) )
16031603ROM_END
16041604
1605ROM_START( mtlchmp1 )
1605ROM_START( mtlchamp1 )
16061606   /* main program */
16071607   ROM_REGION( 0x400000, "maincpu", 0 )
16081608   ROM_LOAD16_BYTE( "234eaa01.20f", 0x000000, 0x40000, CRC(8fa731db) SHA1(e2ed81762070a764f51aae36ce03859b5d86520d) )
r5338r5339
16361636   ROM_LOAD( "234a07.1d", 0x200000, 2*1024*1024, CRC(05ee239f) SHA1(f4e6e7568dc73666a2b5e0c3fe743432e0436464) )
16371637ROM_END
16381638
1639ROM_START( mtlchmpa )
1639ROM_START( mtlchampa )
16401640   /* main program */
16411641   ROM_REGION( 0x400000, "maincpu", 0 )
16421642   ROM_LOAD16_BYTE( "234aaa01.20f", 0x000000, 0x40000, CRC(32c70e65) SHA1(10103ba403656d962bafe970a4ad0b2a9bed0ffe) )
r5338r5339
16701670   ROM_LOAD( "234a07.1d", 0x200000, 2*1024*1024, CRC(05ee239f) SHA1(f4e6e7568dc73666a2b5e0c3fe743432e0436464) )
16711671ROM_END
16721672
1673ROM_START( mtlchmpj )
1673ROM_START( mtlchampj )
16741674   /* main program */
16751675   ROM_REGION( 0x400000, "maincpu", 0 )
16761676   ROM_LOAD16_BYTE( "234jaa01.20f", 0x000000, 0x40000, CRC(76c3c568) SHA1(14c0009804fcedd8a3e5a105cc871dd6cd4cf7b3) )
r5338r5339
17041704   ROM_LOAD( "234a07.1d", 0x200000, 2*1024*1024, CRC(05ee239f) SHA1(f4e6e7568dc73666a2b5e0c3fe743432e0436464) )
17051705ROM_END
17061706
1707ROM_START( mtlchmpu )
1707ROM_START( mtlchampu )
17081708   /* main program */
17091709   ROM_REGION( 0x400000, "maincpu", 0 )
17101710   ROM_LOAD16_BYTE( "234uad01.20f", 0x000000, 0x40000, CRC(5f6c8d09) SHA1(5850398cb9582973b400eaa82d84b7d07c87f779) )
r5338r5339
17831783   ROM_LOAD( "123e15.2m", 0x200000, 2*1024*1024, CRC(7017ff07) SHA1(37ecd54f2c757c5385305ab726d9f66aa1afd456) )
17841784ROM_END
17851785
1786ROM_START( gaiapolu )
1786ROM_START( gaiapolsu )
17871787   /* main program */
17881788   ROM_REGION( 0x300000, "maincpu", 0 )
17891789   ROM_LOAD16_BYTE( "123e07.24m", 0x000000, 1*1024*1024, CRC(f1a1db0f) SHA1(1394b8a57493cbc8d5bf555d363ad844a2407d98) )
r5338r5339
18281828   ROM_LOAD( "123e15.2m", 0x200000, 2*1024*1024, CRC(7017ff07) SHA1(37ecd54f2c757c5385305ab726d9f66aa1afd456) )
18291829ROM_END
18301830
1831ROM_START( gaiapolj )
1831ROM_START( gaiapolsj )
18321832   /* main program */
18331833   ROM_REGION( 0x300000, "maincpu", 0 )
18341834   ROM_LOAD16_BYTE( "123e07.24m", 0x000000, 1*1024*1024, CRC(f1a1db0f) SHA1(1394b8a57493cbc8d5bf555d363ad844a2407d98) )
r5338r5339
19701970
19711971
19721972/*           ROM       parent    machine   inp       init */
1973GAME( 1993, mystwarr, 0,        mystwarr, mystwarr, 0,        ROT0,  "Konami", "Mystic Warriors (ver EAA)", GAME_IMPERFECT_GRAPHICS )
1974GAME( 1993, mystwaru, mystwarr, mystwarr, mystwarr, 0,        ROT0,  "Konami", "Mystic Warriors (ver UAA)", GAME_IMPERFECT_GRAPHICS )
1975GAME( 1993, mystwarj, mystwarr, mystwarr, mystwarr, 0,        ROT0,  "Konami", "Mystic Warriors (ver JAA)", GAME_IMPERFECT_GRAPHICS )
1976GAME( 1993, mmaulers, 0,        dadandrn, dadandrn, 0,        ROT0,  "Konami", "Monster Maulers (ver EAA)", GAME_IMPERFECT_GRAPHICS )
1977GAME( 1993, dadandrn, mmaulers, dadandrn, dadandrn, 0,        ROT0,  "Konami", "Kyukyoku Sentai Dadandarn (ver JAA)", GAME_IMPERFECT_GRAPHICS )
1978GAME( 1993, viostorm, 0,        viostorm, viostorm, 0,        ROT0,  "Konami", "Violent Storm (ver EAB)", GAME_IMPERFECT_GRAPHICS )
1979GAME( 1993, viostrmu, viostorm, viostorm, viostorm, 0,        ROT0,  "Konami", "Violent Storm (ver UAC)", GAME_IMPERFECT_GRAPHICS )
1980GAME( 1993, viostmub, viostorm, viostorm, viostorm, 0,        ROT0,  "Konami", "Violent Storm (ver UAB)", GAME_IMPERFECT_GRAPHICS )
1981GAME( 1993, viostrmj, viostorm, viostorm, viostorm, 0,        ROT0,  "Konami", "Violent Storm (ver JAC)", GAME_IMPERFECT_GRAPHICS )
1982GAME( 1993, viostrma, viostorm, viostorm, viostorm, 0,        ROT0,  "Konami", "Violent Storm (ver AAC)", GAME_IMPERFECT_GRAPHICS )
1983GAME( 1993, metamrph, 0,        metamrph, metamrph, metamrph, ROT0,  "Konami", "Metamorphic Force (ver EAA)", GAME_IMPERFECT_GRAPHICS )
1984GAME( 1993, metamrpu, metamrph, metamrph, metamrph, metamrph, ROT0,  "Konami", "Metamorphic Force (ver UAA)", GAME_IMPERFECT_GRAPHICS )
1985GAME( 1993, metamrpj, metamrph, metamrph, metamrph, metamrph, ROT0,  "Konami", "Metamorphic Force (ver JAA)", GAME_IMPERFECT_GRAPHICS )
1986GAME( 1993, mtlchamp, 0,        martchmp, martchmp, 0,        ROT0,  "Konami", "Martial Champion (ver EAB)", GAME_IMPERFECT_GRAPHICS )
1987GAME( 1993, mtlchmp1, mtlchamp, martchmp, martchmp, 0,        ROT0,  "Konami", "Martial Champion (ver EAA)", GAME_IMPERFECT_GRAPHICS )
1988GAME( 1993, mtlchmpu, mtlchamp, martchmp, martchmp, 0,        ROT0,  "Konami", "Martial Champion (ver UAD)", GAME_IMPERFECT_GRAPHICS )
1989GAME( 1993, mtlchmpj, mtlchamp, martchmp, martchmp, 0,        ROT0,  "Konami", "Martial Champion (ver JAA)", GAME_IMPERFECT_GRAPHICS )
1990GAME( 1993, mtlchmpa, mtlchamp, martchmp, martchmp, 0,        ROT0,  "Konami", "Martial Champion (ver AAA)", GAME_IMPERFECT_GRAPHICS )
1991GAME( 1993, gaiapols, 0,        gaiapols, dadandrn, 0,        ROT90, "Konami", "Gaiapolis (ver EAF)", GAME_IMPERFECT_GRAPHICS )
1992GAME( 1993, gaiapolu, gaiapols, gaiapols, dadandrn, 0,        ROT90, "Konami", "Gaiapolis (ver UAF)", GAME_IMPERFECT_GRAPHICS )
1993GAME( 1993, gaiapolj, gaiapols, gaiapols, dadandrn, 0,        ROT90, "Konami", "Gaiapolis (ver JAF)", GAME_IMPERFECT_GRAPHICS )
1973GAME( 1993, mystwarr,  0,        mystwarr, mystwarr, 0,        ROT0,  "Konami", "Mystic Warriors (ver EAA)", GAME_IMPERFECT_GRAPHICS )
1974GAME( 1993, mystwarru, mystwarr, mystwarr, mystwarr, 0,        ROT0,  "Konami", "Mystic Warriors (ver UAA)", GAME_IMPERFECT_GRAPHICS )
1975GAME( 1993, mystwarrj, mystwarr, mystwarr, mystwarr, 0,        ROT0,  "Konami", "Mystic Warriors (ver JAA)", GAME_IMPERFECT_GRAPHICS )
1976GAME( 1993, mmaulers,  0,        dadandrn, dadandrn, 0,        ROT0,  "Konami", "Monster Maulers (ver EAA)", GAME_IMPERFECT_GRAPHICS )
1977GAME( 1993, dadandrn,  mmaulers, dadandrn, dadandrn, 0,        ROT0,  "Konami", "Kyukyoku Sentai Dadandarn (ver JAA)", GAME_IMPERFECT_GRAPHICS )
1978GAME( 1993, viostorm,  0,        viostorm, viostorm, 0,        ROT0,  "Konami", "Violent Storm (ver EAB)", GAME_IMPERFECT_GRAPHICS )
1979GAME( 1993, viostormu, viostorm, viostorm, viostorm, 0,        ROT0,  "Konami", "Violent Storm (ver UAC)", GAME_IMPERFECT_GRAPHICS )
1980GAME( 1993, viostormub,viostorm, viostorm, viostorm, 0,        ROT0,  "Konami", "Violent Storm (ver UAB)", GAME_IMPERFECT_GRAPHICS )
1981GAME( 1993, viostormj, viostorm, viostorm, viostorm, 0,        ROT0,  "Konami", "Violent Storm (ver JAC)", GAME_IMPERFECT_GRAPHICS )
1982GAME( 1993, viostorma, viostorm, viostorm, viostorm, 0,        ROT0,  "Konami", "Violent Storm (ver AAC)", GAME_IMPERFECT_GRAPHICS )
1983GAME( 1993, metamrph,  0,        metamrph, metamrph, metamrph, ROT0,  "Konami", "Metamorphic Force (ver EAA)", GAME_IMPERFECT_GRAPHICS )
1984GAME( 1993, metamrphu, metamrph, metamrph, metamrph, metamrph, ROT0,  "Konami", "Metamorphic Force (ver UAA)", GAME_IMPERFECT_GRAPHICS )
1985GAME( 1993, metamrphj, metamrph, metamrph, metamrph, metamrph, ROT0,  "Konami", "Metamorphic Force (ver JAA)", GAME_IMPERFECT_GRAPHICS )
1986GAME( 1993, mtlchamp,  0,        martchmp, martchmp, 0,        ROT0,  "Konami", "Martial Champion (ver EAB)", GAME_IMPERFECT_GRAPHICS )
1987GAME( 1993, mtlchamp1, mtlchamp, martchmp, martchmp, 0,        ROT0,  "Konami", "Martial Champion (ver EAA)", GAME_IMPERFECT_GRAPHICS )
1988GAME( 1993, mtlchampu, mtlchamp, martchmp, martchmp, 0,        ROT0,  "Konami", "Martial Champion (ver UAD)", GAME_IMPERFECT_GRAPHICS )
1989GAME( 1993, mtlchampj, mtlchamp, martchmp, martchmp, 0,        ROT0,  "Konami", "Martial Champion (ver JAA)", GAME_IMPERFECT_GRAPHICS )
1990GAME( 1993, mtlchampa, mtlchamp, martchmp, martchmp, 0,        ROT0,  "Konami", "Martial Champion (ver AAA)", GAME_IMPERFECT_GRAPHICS )
1991GAME( 1993, gaiapols,  0,        gaiapols, dadandrn, 0,        ROT90, "Konami", "Gaiapolis (ver EAF)", GAME_IMPERFECT_GRAPHICS )
1992GAME( 1993, gaiapolsu, gaiapols, gaiapols, dadandrn, 0,        ROT90, "Konami", "Gaiapolis (ver UAF)", GAME_IMPERFECT_GRAPHICS )
1993GAME( 1993, gaiapolsj, gaiapols, gaiapols, dadandrn, 0,        ROT90, "Konami", "Gaiapolis (ver JAF)", GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/peplus.c
r5338r5339
807807
808808static INPUT_PORTS_START( peplus )
809809   /* IN0 has to be defined for each kind of game */
810
811810   PORT_START("DOOR")
812811   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Upper Door") PORT_CODE(KEYCODE_O) PORT_TOGGLE
813812   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Lower Door") PORT_CODE(KEYCODE_I)
r5338r5339
861860   PORT_START("IN_BANK1")
862861   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Jackpot Reset") PORT_CODE(KEYCODE_L)
863862   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Self Test") PORT_CODE(KEYCODE_K)
864   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
865   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X)
866   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
867   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V)
868   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON7 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B)
863   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_POKER_HOLD1 )
864   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_POKER_HOLD2 )
865   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_POKER_HOLD3 )
866   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_POKER_HOLD4 )
867   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_POKER_HOLD5 )
869868
870869   PORT_START("IN_BANK2")
871   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON9 ) PORT_NAME("Deal-Spin-Start") PORT_CODE(KEYCODE_Q)
872   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON10 ) PORT_NAME("Max Bet") PORT_CODE(KEYCODE_W)
870   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Deal-Spin-Start") PORT_CODE(KEYCODE_Q)
871   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Max Bet") PORT_CODE(KEYCODE_W)
873872   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
874   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON12 ) PORT_NAME("Play Credit") PORT_CODE(KEYCODE_R)
875   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON13 ) PORT_NAME("Cashout") PORT_CODE(KEYCODE_T)
876   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON14 ) PORT_NAME("Change Request") PORT_CODE(KEYCODE_Y)
877   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON15 ) PORT_NAME("Bill Acceptor") PORT_CODE(KEYCODE_U)
873   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Play Credit") PORT_CODE(KEYCODE_R)
874   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Cashout") PORT_CODE(KEYCODE_T)
875   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Change Request") PORT_CODE(KEYCODE_Y)
876   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Bill Acceptor") PORT_CODE(KEYCODE_U)
878877
879878   PORT_START("IN0")
880879   PORT_BIT( 0x07, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM(peplus_input_r, "IN_BANK1")
src/mame/drivers/segas24.c
r5338r5339
19261926   ROM_LOAD( "ds3-5000-07d.img", 0x000000, 0x1c2000, CRC(ea7a3302) SHA1(5f92efb2e1135c1f3eeca38ba5789739a22dbd11) ) /* Region letter needs to be verfied */
19271927ROM_END
19281928
1929ROM_START( bnzabrsj )
1929ROM_START( bnzabrosj )
19301930   ROM_REGION( 0x40000, "maincpu", 0 ) /* 68000 code */
19311931   ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) )
19321932   ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) )
r5338r5339
23262326/* 05 */GAME( 1989, sgmastj,  sgmast,   system24, sgmastj,  sgmast,   ROT0,   "Sega", "Jumbo Ozaki Super Masters Golf (Japan, Floppy Based, FD1094 317-0058-05b)", GAME_IMPERFECT_GRAPHICS ) // some gfx offset / colour probs?
23272327/* 06 */GAME( 1990, roughrac, 0,        system24, roughrac, roughrac, ROT0,   "Sega", "Rough Racer (Japan, Floppy Based, FD1094 317-0058-06b)", 0 )
23282328/* 07 */GAME( 1990, bnzabros, 0,        system24, bnzabros, bnzabros, ROT0,   "Sega", "Bonanza Bros (US, Floppy DS3-5000-07d? Based)", 0 )
2329/* 07 */GAME( 1990, bnzabrsj, bnzabros, system24, bnzabros, bnzabros, ROT0,   "Sega", "Bonanza Bros (Japan, Floppy DS3-5000-07b Based)", 0 )
2329/* 07 */GAME( 1990, bnzabrosj,bnzabros, system24, bnzabros, bnzabros, ROT0,   "Sega", "Bonanza Bros (Japan, Floppy DS3-5000-07b Based)", 0 )
23302330/* 08 */GAME( 1991, qsww,     0,        system24, qsww,     qsww,     ROT0,   "Sega", "Quiz Syukudai wo Wasuremashita (Japan, Floppy Based, FD1094 317-0058-08b)", GAME_IMPERFECT_GRAPHICS ) // wrong bg colour on title
23312331/* 09 */GAME( 1991, dcclubfd, dcclub,   system24, dcclub,   dcclubfd, ROT0,   "Sega", "Dynamic Country Club (US, Floppy Based, FD1094 317-0058-09d)", 0 )
23322332
src/mame/drivers/konamigx.c
r5338r5339
19951995ROM_END
19961996
19971997/* Salamander 2 version AAB (Asia) */
1998ROM_START( salmnd2a )
1998ROM_START( salmndr2a )
19991999   /* main program */
20002000   ROM_REGION( 0x800000, "maincpu", 0 )
20012001   GX_BIOS
r5338r5339
23792379*/
23802380
23812381/* Winning Spike - Version JAA (Japan) */
2382ROM_START( winspikj )
2382ROM_START( winspikej )
23832383   /* main program */
23842384   ROM_REGION( 0x800000, "maincpu", 0 )
23852385   GX_BIOS
r5338r5339
25572557   ROM_LOAD( "427a16.9r", 0x000000, 2*1024*1024,  CRC(39547265) SHA1(c0efd68c0c1ea59141045150842f36d43e1f01d8) )
25582558ROM_END
25592559
2560/* Soccer Superstars (Japan ver JAC)*/
2561ROM_START( soccerssj )
2562   /* main program */
2563   ROM_REGION( 0x800000, "maincpu", 0 )
2564   GX_BIOS
2565   ROM_LOAD32_WORD_SWAP( "427c02.28m", 0x200000, 512*1024, CRC(399fe89d) SHA1(e42cf87cff8cd421afd121621ba1f67c43f728ef) )
2566   ROM_LOAD32_WORD_SWAP( "427c03.30m", 0x200002, 512*1024, CRC(f9c6ab08) SHA1(371b05a3990436a16b77b3d58aa235202abe78db) )
2567
2568   /* data roms */
2569   ROM_LOAD32_WORD_SWAP( "427a04.28r",   0x400000, 0x080000, CRC(c7d3e1a2) SHA1(5e1e4f4c97def36902ad853248014a7af62e0c5e) )
2570   ROM_LOAD32_WORD_SWAP( "427a05.30r",   0x400002, 0x080000, CRC(5372f0a5) SHA1(36e8d0a73918cbd018c1865d1a05445daba8997c) )
2571
2572   /* sound program */
2573   ROM_REGION( 0x40000, "soundcpu", 0 )
2574   ROM_LOAD16_BYTE("427a07.6m", 0x000000, 128*1024, CRC(8dbaf4c7) SHA1(cb69bf94090a4871b35e7ba1f58e3225077b82cd) )
2575   ROM_LOAD16_BYTE("427a06.9m", 0x000001, 128*1024, CRC(979df65d) SHA1(7499e9a27aa562692bd3a296789696492a6254bc) )
2576
2577   /* tiles */
2578   ROM_REGION( 0x500000, "gfx1", ROMREGION_ERASE00 )
2579   TILE_WORDS2_ROM_LOAD( "427a15.11r", 0x000000, 0x100000, CRC(33ce2b8e) SHA1(b0936386cdc7c41f33b1d7b4f5ce25fe618d1286) )
2580   TILE_BYTES2_ROM_LOAD( "427a14.143", 0x000004, 0x080000, CRC(7575a0ed) SHA1(92fda2747ac090f93e60cff8478af6721b949dc2) )
2581
2582   /* sprites */
2583   ROM_REGION( 0xc00000, "gfx2", ROMREGION_ERASE00 )
2584   ROM_LOAD32_WORD( "427a08.140", 0x000000, 2*1024*1024, CRC(221250af) SHA1(fd24e7f0e3024df5aa08506523953c5e35d2267b) )
2585   ROM_LOAD32_WORD( "427a09.137", 0x000002, 2*1024*1024, CRC(56bdd480) SHA1(01d164aedc77f71f6310cfd739c00b33289a2e7e) )
2586   ROM_LOAD32_WORD( "427a10.25r", 0x400000, 2*1024*1024, CRC(6b3ccb41) SHA1(b246ef350a430e60f0afd1b80ff48139c325e926) )
2587   ROM_LOAD32_WORD( "427a11.23r", 0x400002, 2*1024*1024, CRC(c1ca74c1) SHA1(b7286df8e59f8f1939ebf17aaf9345a857b0b100) )
2588   ROM_LOAD32_WORD( "427a12.21r", 0x800000, 2*1024*1024, CRC(97d6fd38) SHA1(8d2895850cafdea95db08c84e7eeea90a1921515) )
2589   ROM_LOAD32_WORD( "427a13.18r", 0x800002, 2*1024*1024, CRC(815a9b87) SHA1(7d9d5932fff7dd7aa4cbccf0c8d3784dc8042e70) )
2590
2591   /* PSAC2 tiles */
2592   ROM_REGION( 0x100000, "gfx3", ROMREGION_ERASE00 )
2593   ROM_LOAD( "427a18.145", 0x000000, 0x100000, CRC(bb6e6ec6) SHA1(aa1365a4318866d9e7e74461a6e6c113f83b6771) )
2594
2595   /* PSAC2 map data */
2596   ROM_REGION( 0x080000, "gfx4", ROMREGION_ERASE00 )
2597   ROM_LOAD( "427a17.24c", 0x000000, 0x080000, CRC(fb6eb01f) SHA1(28cdb30ff70ee5fc7624e18fe048dd85dfa49ace) )
2598
2599   /* sound data */
2600   ROM_REGION( 0x400000, "shared", 0 )
2601   ROM_LOAD( "427a16.9r", 0x000000, 2*1024*1024,  CRC(39547265) SHA1(c0efd68c0c1ea59141045150842f36d43e1f01d8) )
2602ROM_END
2603
25602604/* Soccer Superstars (Japan ver JAA)*/
2561ROM_START( soccersj )
2605ROM_START( soccerssja )
25622606   /* main program */
25632607   ROM_REGION( 0x800000, "maincpu", 0 )
25642608   GX_BIOS
r5338r5339
26022646ROM_END
26032647
26042648/* Soccer Superstars (Asian ver AAA) */
2605ROM_START( soccersa )
2649ROM_START( soccerssa )
26062650   /* main program */
26072651   ROM_REGION( 0x800000, "maincpu", 0 )
26082652   GX_BIOS
r5338r5339
26462690ROM_END
26472691
26482692/* Vs. Net Soccer (ver EAD) */
2649ROM_START(vsnetscr)
2693ROM_START( vsnetscr )
26502694   /* main program */
26512695   ROM_REGION( 0x800000, "maincpu", 0 )
26522696   GX_BIOS
r5338r5339
26862730ROM_END
26872731
26882732/* Vs. Net Soccer (ver EAB) */
2689ROM_START(vsnetseb)
2733ROM_START( vsnetscreb )
26902734   /* main program */
26912735   ROM_REGION( 0x800000, "maincpu", 0 )
26922736   GX_BIOS
r5338r5339
27262770ROM_END
27272771
27282772/* Vs. Net Soccer (ver UAB) */
2729ROM_START(vsnetscu)
2773ROM_START( vsnetscru )
27302774   /* main program */
27312775   ROM_REGION( 0x800000, "maincpu", 0 )
27322776   GX_BIOS
r5338r5339
28922936*/
28932937
28942938/* Vs. Net Soccer (ver JAB) */
2895ROM_START(vsnetscj)
2939ROM_START( vsnetscrj )
28962940   /* main program */
28972941   ROM_REGION( 0x800000, "maincpu", 0 )
28982942   GX_BIOS
r5338r5339
29322976ROM_END
29332977
29342978/* Vs. Net Soccer (ver AAA) */
2935ROM_START(vsnetsca)
2979ROM_START( vsnetscra )
29362980   /* main program */
29372981   ROM_REGION( 0x800000, "maincpu", 0 )
29382982   GX_BIOS
r5338r5339
31253169
31263170
31273171/* Racin' Force */
3128ROM_START( racinfru )
3172ROM_START( racinfrcu )
31293173   /* main program */
31303174   ROM_REGION( 0x800000, "maincpu", 0 )
31313175   GX_BIOS
r5338r5339
32553299ROM_END
32563300
32573301/* Konami's Open Golf Championship - version EAD */
3258ROM_START( opengol2 )
3302ROM_START( opengolf2 )
32593303   /* main program */
32603304   ROM_REGION( 0x800000, "maincpu", 0 )
32613305   GX_BIOS
r5338r5339
34233467static const GXGameInfoT gameDefs[] =
34243468{
34253469   { "racinfrc", 11, 11, 0, BPP4 },
3426   { "racinfru", 11, 11, 0, BPP4 },
3470   { "racinfrcu",11, 11, 0, BPP4 },
34273471   { "opengolf", 11, 12, 0, BPP4 },
3428   { "opengol2", 11, 12, 0, BPP4 },
3472   { "opengolf2",11, 12, 0, BPP4 },
34293473   { "ggreats2", 11, 12, 0, BPP4 },
34303474   { "le2",      13, 1, 1, BPP4 },
34313475   { "le2u",     13, 1, 1, BPP4 },
r5338r5339
34403484   { "daiskiss",  7, 0, 5, BPP5 },
34413485   { "tokkae",    7, 0, 0, BPP5 },
34423486   { "salmndr2",  7, 0, 6, BPP66 },
3443   { "salmnd2a", 7, 0, 6, BPP66 },
3487   { "salmndr2a", 7, 0, 6, BPP66 },
34443488   { "winspike",  8, 2, 7, BPP4 },
3445   { "winspikj", 8, 2, 7, BPP4 },
3489   { "winspikej", 8, 2, 7, BPP4 },
34463490   { "soccerss",  7, 0, 0, BPP4 },
3447   { "soccersa",  7, 0, 0, BPP4 },
3448   { "soccersj",  7, 0, 0, BPP4 },
3491   { "soccerssa", 7, 0, 0, BPP4 },
3492   { "soccerssj", 7, 0, 0, BPP4 },
34493493   { "vsnetscr",  7, 8, 0, BPP4 },
3450   { "vsnetscu",  7, 5, 0, BPP4 },
3451   { "vsnetscj",  7, 10, 0, BPP4 },
3452   { "vsnetsca",  7, 7, 0, BPP4 },
3453   { "vsnetseb",  7, 9, 0, BPP4 },
3494   { "vsnetscru", 7, 5, 0, BPP4 },
3495   { "vsnetscrj", 7, 10, 0, BPP4 },
3496   { "vsnetscra", 7, 7, 0, BPP4 },
3497   { "vsnetscreb",7, 9, 0, BPP4 },
34543498   { "rungun2",   7, 3, 0, BPP4 },
34553499   { "slamdnk2",  7, 6, 0, BPP4 },
34563500   { "rushhero",  7, 4, 0, BPP4 },
r5338r5339
35703614/* and optional LAN capability (only on Racin' Force - chips aren't present on the golf games) */
35713615/* needs the ROZ layer to be playable */
35723616GAME( 1994, racinfrc, konamigx, racinfrc,  racinfrc, konamigx, ROT0, "Konami", "Racin' Force (ver EAC)", GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING  )
3573GAME( 1994, racinfru, racinfrc, racinfrc,  racinfrc, konamigx, ROT0, "Konami", "Racin' Force (ver UAB)", GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING  )
3617GAME( 1994, racinfrcu,racinfrc, racinfrc,  racinfrc, konamigx, ROT0, "Konami", "Racin' Force (ver UAB)", GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING  )
35743618GAME( 1994, opengolf, konamigx, opengolf,  racinfrc, konamigx, ROT0, "Konami", "Konami's Open Golf Championship (ver EAE)", GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING  )
3575GAME( 1994, opengol2, opengolf, opengolf,  racinfrc, konamigx, ROT0, "Konami", "Konami's Open Golf Championship (ver EAD)", GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING  )
3619GAME( 1994, opengolf2,opengolf, opengolf,  racinfrc, konamigx, ROT0, "Konami", "Konami's Open Golf Championship (ver EAD)", GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING  )
35763620GAME( 1994, ggreats2, opengolf, opengolf,  racinfrc, konamigx, ROT0, "Konami", "Golfing Greats 2 (ver JAC)", GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING )
35773621
35783622
r5338r5339
35933637GAME( 1996, tokkae,   konamigx, konamigx_6bpp, puzldama, konamigx, ROT0, "Konami", "Taisen Tokkae-dama (ver JAA)", GAME_IMPERFECT_GRAPHICS )
35943638/* protection controls player ship direction in attract mode - doesn't impact playability */
35953639GAME( 1996, salmndr2, konamigx, konamigx_6bpp_2, gokuparo, konamigx, ROT0, "Konami", "Salamander 2 (ver JAA)", GAME_IMPERFECT_GRAPHICS|GAME_UNEMULATED_PROTECTION )
3596GAME( 1996, salmnd2a, salmndr2, konamigx_6bpp_2, gokuparo, konamigx, ROT0, "Konami", "Salamander 2 (ver AAB)", GAME_IMPERFECT_GRAPHICS|GAME_UNEMULATED_PROTECTION )
3640GAME( 1996, salmndr2a,salmndr2, konamigx_6bpp_2, gokuparo, konamigx, ROT0, "Konami", "Salamander 2 (ver AAB)", GAME_IMPERFECT_GRAPHICS|GAME_UNEMULATED_PROTECTION )
35973641/* bad sprite colours, part of tilemap gets blanked out when a game starts (might be more protection) */
35983642GAME( 1997, winspike, konamigx, winspike, konamigx, konamigx, ROT0, "Konami", "Winning Spike (ver EAA)", GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_GRAPHICS )
3599GAME( 1997, winspikj, winspike, winspike, konamigx, konamigx, ROT0, "Konami", "Winning Spike (ver JAA)", GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_GRAPHICS )
3643GAME( 1997, winspikej,winspike, winspike, konamigx, konamigx, ROT0, "Konami", "Winning Spike (ver JAA)", GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_GRAPHICS )
36003644
36013645/* Type 3: dual monitor output and 53936 on the ROM board, external palette RAM */
36023646GAME( 1994, soccerss, konamigx, gxtype3,  type3, konamigx, ROT0, "Konami", "Soccer Superstars (ver EAA)", GAME_NOT_WORKING )
3603GAME( 1994, soccersj, soccerss, gxtype3,  type3, konamigx, ROT0, "Konami", "Soccer Superstars (ver JAA)", GAME_NOT_WORKING )
3604GAME( 1994, soccersa, soccerss, gxtype3,  type3, konamigx, ROT0, "Konami", "Soccer Superstars (ver AAA)", GAME_NOT_WORKING )
3647GAME( 1994, soccerssj,soccerss, gxtype3,  type3, konamigx, ROT0, "Konami", "Soccer Superstars (ver JAC)", GAME_NOT_WORKING ) // writes JAB to EEPROM, but should be version JAC according to labels
3648GAME( 1994, soccerssja,soccerss, gxtype3,  type3, konamigx, ROT0, "Konami", "Soccer Superstars (ver JAA)", GAME_NOT_WORKING )
3649GAME( 1994, soccerssa,soccerss, gxtype3,  type3, konamigx, ROT0, "Konami", "Soccer Superstars (ver AAA)", GAME_NOT_WORKING )
36053650
36063651/* Type 4: dual monitor output and 53936 on the ROM board, external palette RAM, DMA protection */
3607GAME( 1996, vsnetscr, konamigx, gxtype4, type3, konamigx, ROT0, "Konami", "Versus Net Soccer (ver EAD)", GAME_NOT_WORKING|GAME_UNEMULATED_PROTECTION )
3608GAME( 1996, vsnetseb, vsnetscr, gxtype4, type3, konamigx, ROT0, "Konami", "Versus Net Soccer (ver EAB)", GAME_NOT_WORKING|GAME_UNEMULATED_PROTECTION )
3609GAME( 1996, vsnetscu, vsnetscr, gxtype4, type3, konamigx, ROT0, "Konami", "Versus Net Soccer (ver UAB)", GAME_NOT_WORKING|GAME_UNEMULATED_PROTECTION )
3610GAME( 1996, vsnetsca, vsnetscr, gxtype4, type3, konamigx, ROT0, "Konami", "Versus Net Soccer (ver AAA)", GAME_NOT_WORKING|GAME_UNEMULATED_PROTECTION )
3611GAME( 1996, vsnetscj, vsnetscr, gxtype4, type3, konamigx, ROT0, "Konami", "Versus Net Soccer (ver JAB)", GAME_NOT_WORKING|GAME_UNEMULATED_PROTECTION )
3612GAME( 1996, rungun2,  konamigx, gxtype4, type3, konamigx, ROT0, "Konami", "Run and Gun 2 (ver UAA)", GAME_NOT_WORKING|GAME_UNEMULATED_PROTECTION )
3613GAME( 1996, slamdnk2, rungun2,  gxtype4, type3, konamigx, ROT0, "Konami", "Slam Dunk 2 (ver JAA)", GAME_NOT_WORKING|GAME_UNEMULATED_PROTECTION )
3614GAME( 1996, rushhero, konamigx, gxtype4, type3, konamigx, ROT0, "Konami", "Rushing Heroes (ver UAB)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING  )
3652GAME( 1996, vsnetscr,  konamigx, gxtype4, type3, konamigx, ROT0, "Konami", "Versus Net Soccer (ver EAD)", GAME_NOT_WORKING|GAME_UNEMULATED_PROTECTION )
3653GAME( 1996, vsnetscreb,vsnetscr, gxtype4, type3, konamigx, ROT0, "Konami", "Versus Net Soccer (ver EAB)", GAME_NOT_WORKING|GAME_UNEMULATED_PROTECTION )
3654GAME( 1996, vsnetscru, vsnetscr, gxtype4, type3, konamigx, ROT0, "Konami", "Versus Net Soccer (ver UAB)", GAME_NOT_WORKING|GAME_UNEMULATED_PROTECTION )
3655GAME( 1996, vsnetscra, vsnetscr, gxtype4, type3, konamigx, ROT0, "Konami", "Versus Net Soccer (ver AAA)", GAME_NOT_WORKING|GAME_UNEMULATED_PROTECTION )
3656GAME( 1996, vsnetscrj, vsnetscr, gxtype4, type3, konamigx, ROT0, "Konami", "Versus Net Soccer (ver JAB)", GAME_NOT_WORKING|GAME_UNEMULATED_PROTECTION )
3657GAME( 1996, rungun2,   konamigx, gxtype4, type3, konamigx, ROT0, "Konami", "Run and Gun 2 (ver UAA)", GAME_NOT_WORKING|GAME_UNEMULATED_PROTECTION )
3658GAME( 1996, slamdnk2,  rungun2,  gxtype4, type3, konamigx, ROT0, "Konami", "Slam Dunk 2 (ver JAA)", GAME_NOT_WORKING|GAME_UNEMULATED_PROTECTION )
3659GAME( 1996, rushhero,  konamigx, gxtype4, type3, konamigx, ROT0, "Konami", "Rushing Heroes (ver UAB)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING  )
src/mame/drivers/sprcros2.c
r5338r5339
347347ROM_END
348348
349349/* this is probably an old revision */
350ROM_START( sprcrs2a )
350ROM_START( sprcros2a )
351351   ROM_REGION( 0x14000, "master", 0 )
352352   ROM_LOAD( "15.bin",     0x00000, 0x4000, CRC(b9d02558) SHA1(775404c6c7648d9dab02b496541739ea700cd481) )
353353   ROM_LOAD( "scm-02.10j", 0x04000, 0x4000, CRC(849c5c87) SHA1(0e02c4990e371d6a290efa53301818e769648945) )
r5338r5339
384384ROM_END
385385
386386GAME( 1986, sprcros2, 0,        sprcros2, sprcros2, 0, ROT0, "GM Shoji", "Super Cross II (Japan, set 1)", 0 )
387GAME( 1986, sprcrs2a, sprcros2, sprcros2, sprcros2, 0, ROT0, "GM Shoji", "Super Cross II (Japan, set 2)", 0 )
387GAME( 1986, sprcros2a,sprcros2, sprcros2, sprcros2, 0, ROT0, "GM Shoji", "Super Cross II (Japan, set 2)", 0 )
src/mame/drivers/parodius.c
r5338r5339
290290   ROM_LOAD( "955d04.bin", 0x00000, 0x80000, CRC(e671491a) SHA1(79e71cb5212eb7d14d3479b0734ea0270473a66d) )
291291ROM_END
292292
293ROM_START( parodisj )
293ROM_START( parodiusj )
294294   ROM_REGION( 0x51000, "maincpu", 0 ) /* code + banked roms + palette RAM */
295295   ROM_LOAD( "955e01.bin", 0x10000, 0x20000, CRC(49baa334) SHA1(8902fbb2228111b15de6537bd168241933df134d) )
296296   ROM_LOAD( "955e02.bin", 0x30000, 0x18000, CRC(14010d6f) SHA1(69fe162ea08c3bd4b3e78e9d10d278bd15444af4) )
r5338r5339
352352
353353
354354GAME( 1990, parodius, 0,        parodius, parodius, parodius, ROT0, "Konami", "Parodius DA! (World)", 0 )
355GAME( 1990, parodisj, parodius, parodius, parodius, parodius, ROT0, "Konami", "Parodius DA! (Japan)", 0 )
355GAME( 1990, parodiusj,parodius, parodius, parodius, parodius, ROT0, "Konami", "Parodius DA! (Japan)", 0 )
src/mame/drivers/rockrage.c
r5338r5339
336336   ROM_LOAD( "620k04.6e", 0x00000, 0x08000, CRC(8be969f3) SHA1(9856b4c13fac77b645aed67a08cb4965b4966492) )
337337ROM_END
338338
339ROM_START( rockraga )
339ROM_START( rockragea )
340340   ROM_REGION( 0x20000, "maincpu", 0 ) /* code + banked roms */
341341   ROM_LOAD( "620n01.16c", 0x08000, 0x10000, CRC(f89f56ea) SHA1(64ba2575e09af257b242d913eab69130f7341894) )   /* fixed ROM */
342342   ROM_LOAD( "620n02.15c", 0x10000, 0x10000, CRC(5bc1f1cf) SHA1(d5bb9971d778449e0c01495f9888c0da7ac617a7) )   /* banked ROM */
r5338r5339
365365   ROM_LOAD( "620k04.6e", 0x00000, 0x08000, CRC(8be969f3) SHA1(9856b4c13fac77b645aed67a08cb4965b4966492) ) /* Same rom but labeled as ver "G" */
366366ROM_END
367367
368ROM_START( rockragj )
368ROM_START( rockragej )
369369   ROM_REGION( 0x20000, "maincpu", 0 ) /* code + banked roms */
370370   ROM_LOAD( "620k01.16c", 0x08000, 0x08000, CRC(4f5171f7) SHA1(5bce9e3f9d01c113c697853763cd891b91297eb2) )   /* fixed ROM */
371371   ROM_LOAD( "620k02.15c", 0x10000, 0x10000, CRC(04c4d8f7) SHA1(2a1a024fc38bb934c454092b0aed74d0f1d1c4af) )   /* banked ROM */
r5338r5339
397397***************************************************************************/
398398
399399GAME( 1986, rockrage, 0,        rockrage, rockrage, 0, ROT0, "Konami", "Rock'n Rage (World)", 0 )
400GAME( 1986, rockraga, rockrage, rockrage, rockrage, 0, ROT0, "Konami", "Rock'n Rage (Prototype?)", 0 )
401GAME( 1986, rockragj, rockrage, rockrage, rockrage, 0, ROT0, "Konami", "Koi no Hotrock (Japan)", 0 )
400GAME( 1986, rockragea,rockrage, rockrage, rockrage, 0, ROT0, "Konami", "Rock'n Rage (Prototype?)", 0 )
401GAME( 1986, rockragej,rockrage, rockrage, rockrage, 0, ROT0, "Konami", "Koi no Hotrock (Japan)", 0 )
src/mame/drivers/segac2.c
r5338r5339
16971697   ROM_LOAD( "epr16793.4", 0x000000, 0x020000, CRC(ebb2d057) SHA1(4a19ee5d71e4aabe7d9b9b968ab5ee4bc6262aad) )
16981698ROM_END
16991699
1700ROM_START( stkclmnj ) /* Stack Columns  (c)1994 Sega */
1700ROM_START( stkclmnsj ) /* Stack Columns  (c)1994 Sega */
17011701   ROM_REGION( 0x200000, "maincpu", 0 )
17021702   ROM_LOAD16_BYTE( "epr16795.32", 0x000000, 0x080000, CRC(b478fd02) SHA1(aaf9d9f9f4dc900b4e8ff6f258f26e782e5c3166) )
17031703   ROM_LOAD16_BYTE( "epr16794.31", 0x000001, 0x080000, CRC(6d0e8c56) SHA1(8f98d9fd98a1faa70b173cfd72f15102d11e79ae) )
r5338r5339
22532253GAME( 1994, tantrbl3, tantr,    segac,    ichir,    tantr,    ROT0, "bootleg",                "Puzzle & Action: Tant-R (Japan) (bootleg set 3)", 0 ) // Common bootleg in Europe, C board, no samples
22542254GAME( 1994, potopoto, 0,        segac2,   potopoto, potopoto, ROT0, "Sega",                   "Poto Poto (Japan)", 0 )
22552255GAME( 1994, stkclmns, 0,        segac2,   stkclmns, stkclmns, ROT0, "Sega",                   "Stack Columns (World)", 0 )
2256GAME( 1994, stkclmnj, stkclmns, segac2,   stkclmns, stkclmnj, ROT0, "Sega",                   "Stack Columns (Japan)", 0 )
2256GAME( 1994, stkclmnsj,stkclmns, segac2,   stkclmns, stkclmnj, ROT0, "Sega",                   "Stack Columns (Japan)", 0 )
22572257GAME( 1994, ichir,    0,        segac2,   ichir,    ichir,    ROT0, "Sega",                   "Puzzle & Action: Ichidant-R (World)", 0 )
22582258GAME( 1994, ichirk,   ichir,    segac2,   ichir,    ichirk,   ROT0, "Sega",                   "Puzzle & Action: Ichidant-R (Korea)", 0 )
22592259GAME( 1994, ichirj,   ichir,    segac2,   ichir,    ichirj,   ROT0, "Sega",                   "Puzzle & Action: Ichidant-R (Japan)", 0 )
src/mame/drivers/gberet.c
r5338r5339
222222   KONAMI8_SYSTEM_UNK
223223
224224   PORT_START("DSW1")
225   KONAMI_COINAGE(DEF_STR( Free_Play ), "No Coin B")
225   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SW1)
226226   /* "No Coin B" = coins produce sound, but no effect on coin counter */
227227
228228   PORT_START("DSW2")
229   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )
229   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
230230   PORT_DIPSETTING(    0x03, "2" )
231231   PORT_DIPSETTING(    0x02, "3" )
232232   PORT_DIPSETTING(    0x01, "5" )
233233   PORT_DIPSETTING(    0x00, "7" )
234   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
234   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:3")
235235   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
236236   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
237   PORT_DIPNAME( 0x18, 0x08, DEF_STR( Bonus_Life ) )
238   PORT_DIPSETTING(    0x18, "30K 70K 70K+" )
239   PORT_DIPSETTING(    0x10, "40K 80K 80K+" )
240   PORT_DIPSETTING(    0x08, "50K 100K 100K+" )
241   PORT_DIPSETTING(    0x00, "50K 200K 200K+" )
242   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )
237   PORT_DIPNAME( 0x18, 0x08, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
238   PORT_DIPSETTING(    0x18, "30K, 70K, Every 70K" )
239   PORT_DIPSETTING(    0x10, "40K, 80K, Every 80K" )
240   PORT_DIPSETTING(    0x08, "50K, 100K, Every 100K" )
241   PORT_DIPSETTING(    0x00, "50K, 200K, Every 200K" )
242   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
243243   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
244244   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
245245   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
246246   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
247   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
247   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
248248   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
249249   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
250250
251251   PORT_START("DSW3")
252   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )
252   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
253253   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
254254   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
255   PORT_DIPNAME( 0x02, 0x02, "Upright Controls" )
255   PORT_DIPNAME( 0x02, 0x02, "Upright Controls" )      PORT_DIPLOCATION("SW3:2")
256256   PORT_DIPSETTING(    0x02, DEF_STR( Single ) )
257257   PORT_DIPSETTING(    0x00, DEF_STR( Dual ) )
258   PORT_BIT( 0x0c, IP_ACTIVE_LOW, IPT_UNUSED )
258   PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "SW3:3" )      /* Listed as "Unused" */
259   PORT_DIPUNUSED_DIPLOC( 0x08, 0x08, "SW3:4" )      /* Listed as "Unused" */
259260INPUT_PORTS_END
260261
261262static INPUT_PORTS_START( gberetb )
262   PORT_START("P1")
263   KONAMI8_MONO_B12_UNK               // button 1 = knife, button 2 = shoot
263   PORT_INCLUDE(gberet)
264264
265   PORT_START("P2")
265   PORT_MODIFY("P2")
266266   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
267267
268   PORT_START("SYSTEM")
268   PORT_MODIFY("SYSTEM")
269269   PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_UNUSED )
270270   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START2 )
271271   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
272272   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
273273   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
274274
275   PORT_START("DSW1")
276   KONAMI_COINAGE(DEF_STR( Free_Play ), "No Coin B")
277   /* "No Coin B" = coins produce sound, but no effect on coin counter */
278
279   PORT_START("DSW2")
280   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )
281   PORT_DIPSETTING(    0x03, "2" )
282   PORT_DIPSETTING(    0x02, "3" )
283   PORT_DIPSETTING(    0x01, "5" )
284   PORT_DIPSETTING(    0x00, "7" )
285   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
286   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
287   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
288   PORT_DIPNAME( 0x18, 0x08, DEF_STR( Bonus_Life ) )
289   PORT_DIPSETTING(    0x18, "30K 70K 70K+" )
290   PORT_DIPSETTING(    0x10, "40K 80K 80K+" )
291   PORT_DIPSETTING(    0x08, "50K 100K 100K+" )
292   PORT_DIPSETTING(    0x00, "50K 200K 200K+" )
293   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )
294   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
295   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
296   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
297   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
298   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
299   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
300   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
275   PORT_MODIFY("DSW3")
276   PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_UNUSED )
301277INPUT_PORTS_END
302278
303279static INPUT_PORTS_START( mrgoemon )
304   PORT_START("P1")
305   KONAMI8_MONO_B12_UNK
280   PORT_INCLUDE(gberet)
306281
307   PORT_START("P2")
308   KONAMI8_COCKTAIL_B12_UNK
282   PORT_MODIFY("DSW2")
283   PORT_DIPNAME( 0x18, 0x08, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
284   PORT_DIPSETTING(    0x18, "20K, Every 60K" )
285   PORT_DIPSETTING(    0x10, "30K, Every 70K" )
286   PORT_DIPSETTING(    0x08, "40K, Every 80K" )
287   PORT_DIPSETTING(    0x00, "50K, Every 90K" )
309288
310   PORT_START("SYSTEM")
311   KONAMI8_SYSTEM_UNK
312
313   PORT_START("DSW1")
314   KONAMI_COINAGE(DEF_STR( Free_Play ), "No Coin B")
315   /* "No Coin B" = coins produce sound, but no effect on coin counter */
316
317   PORT_START("DSW2")
318   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )
319   PORT_DIPSETTING(    0x03, "2" )
320   PORT_DIPSETTING(    0x02, "3" )
321   PORT_DIPSETTING(    0x01, "5" )
322   PORT_DIPSETTING(    0x00, "7" )
323   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
324   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
325   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
326   PORT_DIPNAME( 0x18, 0x08, DEF_STR( Bonus_Life ) )
327   PORT_DIPSETTING(    0x18, "20K 60K+" )
328   PORT_DIPSETTING(    0x10, "30K 70K+" )
329   PORT_DIPSETTING(    0x08, "40K 80K+" )
330   PORT_DIPSETTING(    0x00, "50K 90K+" )
331   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )
332   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
333   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
334   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
335   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
336   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
337   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
338   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
339
340   PORT_START("DSW3")
341   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )
342   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
343   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
344   PORT_DIPNAME( 0x02, 0x02, "Upright Controls" )
345   PORT_DIPSETTING(    0x02, DEF_STR( Single ) )
346   PORT_DIPSETTING(    0x00, DEF_STR( Dual ) )
347   PORT_SERVICE( 0x04, IP_ACTIVE_LOW )
348   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
289   PORT_MODIFY("DSW3")
290   PORT_SERVICE_DIPLOC(   0x04, IP_ACTIVE_LOW, "SW3:3" )
349291INPUT_PORTS_END
350292
351293/* Graphics Layouts */
src/mame/drivers/sandscrp.c
r5338r5339
504504   ROM_LOAD( "7.ic55", 0x000000, 0x040000, CRC(9870ab12) SHA1(5ea3412cbc57bfaa32a1e2552b2eb46f4ceb5fa8) )
505505ROM_END
506506
507ROM_START( sandscra ) /* Z03VA-003 PCB, earlier program version */
507ROM_START( sandscrpa ) /* Z03VA-003 PCB, earlier program version */
508508   ROM_REGION( 0x080000, "maincpu", 0 )      /* 68000 Code */
509509   ROM_LOAD16_BYTE( "1.ic4", 0x000000, 0x040000, CRC(c0943ae2) SHA1(04dac4e1f116cd96d6292daa61ef40efc7eba919) )
510510   ROM_LOAD16_BYTE( "2.ic5", 0x000001, 0x040000, CRC(6a8e0012) SHA1(2350b11c9bd545c8ba4b3c25cd6547ba2ad474b5) )
r5338r5339
526526ROM_END
527527
528528
529ROM_START( sandscrb ) /* Different rev PCB */
529ROM_START( sandscrpb ) /* Different rev PCB */
530530   ROM_REGION( 0x080000, "maincpu", 0 )      /* 68000 Code */
531531   ROM_LOAD16_BYTE( "11.ic4", 0x000000, 0x040000, CRC(80020cab) SHA1(4f1f4d8ea07ad745f2d6d3f800686f07fe4bf20f) )
532532   ROM_LOAD16_BYTE( "12.ic5", 0x000001, 0x040000, CRC(8df1d42f) SHA1(2a9db5c4b99a8a3f62bffa9ddd96a95e2042602b) )
r5338r5339
546546ROM_END
547547
548548
549GAME( 1992, sandscrp, 0,        sandscrp, sandscrp, 0,          ROT90, "Face",   "Sand Scorpion", 0 )
550GAME( 1992, sandscra, sandscrp, sandscrp, sandscrp, 0,          ROT90, "Face",   "Sand Scorpion (Earlier)", 0 )
551GAME( 1992, sandscrb, sandscrp, sandscrp, sandscrp, 0,          ROT90, "Face",   "Sand Scorpion (Revised Hardware)", 0 )
549GAME( 1992, sandscrp,  0,        sandscrp, sandscrp, 0,          ROT90, "Face",   "Sand Scorpion", 0 )
550GAME( 1992, sandscrpa, sandscrp, sandscrp, sandscrp, 0,          ROT90, "Face",   "Sand Scorpion (Earlier)", 0 )
551GAME( 1992, sandscrpb, sandscrp, sandscrp, sandscrp, 0,          ROT90, "Face",   "Sand Scorpion (Revised Hardware)", 0 )
src/mame/drivers/pcktgal.c
r5338r5339
340340   ROM_LOAD( "eb06.k15",     0x0200, 0x0200, CRC(1fbd4b59) SHA1(84e20329003cf09b849b49e1d83edc330d49f404) ) /* 82s131.101 */
341341ROM_END
342342
343ROM_START( pcktgl2j )
343ROM_START( pcktgal2j )
344344   ROM_REGION( 0x14000, "maincpu", 0 )    /* 64k for code + 16k for banks */
345345   ROM_LOAD( "eb04-2.j7",   0x10000, 0x4000, CRC(0c7f2905) SHA1(882dbc1888a0149486c1fac5568dc3d297c2dadd) )
346346   ROM_CONTINUE(           0x04000, 0xc000)
r5338r5339
459459GAME( 1987, pcktgal,  0,       pcktgal, pcktgal, pcktgal,  ROT0, "Data East Corporation", "Pocket Gal (Japan)", 0 )
460460GAME( 1987, pcktgalb, pcktgal, bootleg, pcktgal, deco222,  ROT0, "bootleg", "Pocket Gal (bootleg)", 0 )
461461GAME( 1989, pcktgal2, pcktgal, pcktgal, pcktgal, graphics, ROT0, "Data East Corporation", "Pocket Gal 2 (English)", 0 )
462GAME( 1989, pcktgl2j, pcktgal, pcktgal, pcktgal, graphics, ROT0, "Data East Corporation", "Pocket Gal 2 (Japanese)", 0 )
462GAME( 1989, pcktgal2j,pcktgal, pcktgal, pcktgal, graphics, ROT0, "Data East Corporation", "Pocket Gal 2 (Japanese)", 0 )
463463GAME( 1989, spool3,   pcktgal, pcktgal, pcktgal, graphics, ROT0, "Data East Corporation", "Super Pool III (English)", 0 )
464464GAME( 1990, spool3i,  pcktgal, pcktgal, pcktgal, graphics, ROT0, "Data East Corporation (I-Vics license)", "Super Pool III (I-Vics)", 0 )
src/mame/drivers/gladiatr.c
r5338r5339
471471
472472static INPUT_PORTS_START( gladiatr )
473473   PORT_START("DSW1")      /* (8741-0 parallel port)*/
474   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) )
474   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:1,2")
475475   PORT_DIPSETTING(    0x03, DEF_STR( Easy ) )
476476   PORT_DIPSETTING(    0x02, DEF_STR( Medium ) )
477477   PORT_DIPSETTING(    0x01, DEF_STR( Hard ) )
478478   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
479   PORT_DIPNAME( 0x04, 0x04, "After 4 Stages" )
479   PORT_DIPNAME( 0x04, 0x00, "After 4 Stages" )      PORT_DIPLOCATION("SW1:3")
480480   PORT_DIPSETTING(    0x00, DEF_STR( Continues ) )
481481   PORT_DIPSETTING(    0x04, "Ends" )
482   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) )   /*NOTE: Actual manual has these settings reversed(typo?)! */
483   PORT_DIPSETTING(    0x08, "Only at 100000" )
482   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW1:4")   /*NOTE: Actual manual has these settings reversed(typo?)! */
483   PORT_DIPSETTING(    0x00, "Only at 100000" )
484484   PORT_DIPSETTING(    0x00, "Every 100000" )
485   PORT_DIPNAME( 0x30, 0x10, DEF_STR( Lives ) )
485   PORT_DIPNAME( 0x30, 0x10, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:5,6")
486486   PORT_DIPSETTING(    0x30, "1" )
487487   PORT_DIPSETTING(    0x20, "2" )
488488   PORT_DIPSETTING(    0x10, "3" )
489489   PORT_DIPSETTING(    0x00, "4" )
490   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Allow_Continue ) )
490   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Allow_Continue ) )   PORT_DIPLOCATION("SW1:7")
491491   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
492492   PORT_DIPSETTING(    0x40, DEF_STR( Yes ) )
493   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
493   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:8")
494494   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
495495   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
496496
497497   PORT_START("DSW2")      /* (8741-1 parallel port) - Dips 6 Unused */
498   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_A ) )
498   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW2:1,2")
499499   PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
500500   PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
501501   PORT_DIPSETTING(    0x01, DEF_STR( 1C_4C ) )
502502   PORT_DIPSETTING(    0x00, DEF_STR( 1C_5C ) )
503   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coin_B ) )
503   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW2:3,4")
504504   PORT_DIPSETTING(    0x00, DEF_STR( 5C_1C ) )
505505   PORT_DIPSETTING(    0x04, DEF_STR( 4C_1C ) )
506506   PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
507507   PORT_DIPSETTING(    0x0c, DEF_STR( 2C_1C ) )
508   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Free_Play ) )
508   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Free_Play ) )   PORT_DIPLOCATION("SW2:5")
509509   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
510510   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
511   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) )
512   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
513   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
514   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Cabinet ) )
511   PORT_DIPUNUSED_DIPLOC( 0x20, 0x20, "SW2:6" )      /* Listed as "Unused" */
512   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:7")
515513   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
516514   PORT_DIPSETTING(    0x40, DEF_STR( Cocktail ) )
517   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen ) )
515   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW2:8")
518516   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
519517   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
520518
521519   PORT_START("DSW3")      /* (YM2203 port B) - Dips 5,6,7 Unused */
522   PORT_DIPNAME( 0x01, 0x01, "Invulnerability (Cheat)")
520   PORT_DIPNAME( 0x01, 0x01, "Invulnerability (Cheat)")   PORT_DIPLOCATION("SW3:1")
523521   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
524522   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
525   PORT_DIPNAME( 0x02, 0x02, "Memory Backup" )
523   PORT_DIPNAME( 0x02, 0x02, "Memory Backup" )      PORT_DIPLOCATION("SW3:2")
526524   PORT_DIPSETTING(    0x02, DEF_STR( Normal ) )
527525   PORT_DIPSETTING(    0x00, "Clear" )
528   PORT_DIPNAME( 0x0c, 0x0c, "Starting Stage" )
526   PORT_DIPNAME( 0x0c, 0x0c, "Starting Stage" )      PORT_DIPLOCATION("SW3:3,4")
529527   PORT_DIPSETTING(    0x0c, "1" )
530528   PORT_DIPSETTING(    0x08, "2" )
531529   PORT_DIPSETTING(    0x04, "3" )
532530   PORT_DIPSETTING(    0x00, "4" )
533   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) )
534   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
535   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
536   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) )
537   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
538   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
539   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) )
540   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
541   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
542   PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
531   PORT_DIPUNUSED_DIPLOC( 0x10, 0x10, "SW3:5" )      /* Listed as "Unused" */
532   PORT_DIPUNUSED_DIPLOC( 0x20, 0x20, "SW3:6" )      /* Listed as "Unused" */
533   PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW3:7" )      /* Listed as "Unused" */
534   PORT_SERVICE_DIPLOC(   0x80, IP_ACTIVE_LOW, "SW3:8" )
543535
544536   PORT_START("IN0")   /*(8741-3 parallel port 1) */
545537   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_START1 )
src/mame/drivers/goindol.c
r5338r5339
153153   PORT_BIT( 0xff, 0x00, IPT_DIAL  ) PORT_SENSITIVITY(40) PORT_KEYDELTA(10)
154154
155155   PORT_START("DSW1")
156   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )
156   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:1,2")
157157   PORT_DIPSETTING(    0x03, "2" )
158158   PORT_DIPSETTING(    0x02, "3" )
159159   PORT_DIPSETTING(    0x01, "4" )
160160   PORT_DIPSETTING(    0x00, "5" )
161   PORT_DIPNAME( 0x1c, 0x0c, DEF_STR( Difficulty ) )
161   PORT_DIPNAME( 0x1c, 0x0c, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:3,4,5")
162162   PORT_DIPSETTING(    0x1c, DEF_STR( Easiest ) )
163163   PORT_DIPSETTING(    0x18, "Very Very Easy" )
164164   PORT_DIPSETTING(    0x14, DEF_STR( Very_Easy) )
r5338r5339
167167   PORT_DIPSETTING(    0x08, DEF_STR( Difficult ) )
168168   PORT_DIPSETTING(    0x04, DEF_STR( Hard ) )
169169   PORT_DIPSETTING(    0x00, DEF_STR( Very_Hard ) )
170   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) )
170   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:6")
171171   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
172172   PORT_DIPSETTING(    0x00, DEF_STR( On ))
173    PORT_DIPNAME( 0x40, 0x40, "Invulnerability (Cheat)")
173    PORT_DIPNAME( 0x40, 0x40, "Invulnerability (Cheat)")   PORT_DIPLOCATION("SW1:7")
174174   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
175175   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
176   PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
176   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW1:8" )
177177
178178   PORT_START("DSW2")
179   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Bonus_Life ) )
179   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:1,2,3")
180180   PORT_DIPSETTING(    0x04, "30k and every 50k" )
181181   PORT_DIPSETTING(    0x05, "50k and every 100k" )
182182   PORT_DIPSETTING(    0x06, "50k and every 200k" )
r5338r5339
185185   PORT_DIPSETTING(    0x02, "30000 only" )
186186   PORT_DIPSETTING(    0x03, "50000 only" )
187187   PORT_DIPSETTING(    0x00, DEF_STR( None ) )
188   PORT_DIPNAME( 0x38, 0x00, DEF_STR( Coinage ) )
188   PORT_DIPNAME( 0x38, 0x00, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW2:4,5,6")
189189   PORT_DIPSETTING(    0x28, DEF_STR( 3C_1C ) )
190190   PORT_DIPSETTING(    0x20, DEF_STR( 2C_1C ) )
191191   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
r5338r5339
194194   PORT_DIPSETTING(    0x18, DEF_STR( 1C_4C ) )
195195   PORT_DIPSETTING(    0x30, DEF_STR( 1C_5C ) )
196196   PORT_DIPSETTING(    0x38, DEF_STR( 1C_6C ) )
197   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) )
197   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:7")
198198   PORT_DIPSETTING(    0x40, DEF_STR( Upright ) )
199199   PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
200   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen ) )
200   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW2:8")
201201   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
202202   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
203203INPUT_PORTS_END
r5338r5339
206206   PORT_INCLUDE( goindol )
207207
208208   PORT_MODIFY("DSW1")
209   PORT_DIPUNKNOWN( 0x40, 0x00 )
209   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:7")
210   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
211   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
210212INPUT_PORTS_END
211213
212214
src/mame/drivers/kangaroo.c
r5338r5339
519519ROM_END
520520
521521
522ROM_START( kangaroa )
522ROM_START( kangarooa )
523523   ROM_REGION( 0x10000, "maincpu", 0 )
524524   ROM_LOAD( "136008-101.ic7",    0x0000, 0x1000, CRC(0d18c581) SHA1(0e0f89d644b79e887c53e5294783843ca7e875ba) )
525525   ROM_LOAD( "136008-102.ic8",    0x1000, 0x1000, CRC(5978d37a) SHA1(684c1092de4a0927a03752903c86c3bbe99e868a) )
r5338r5339
545545ROM_END
546546
547547
548ROM_START( kangarob )
548ROM_START( kangaroob )
549549   ROM_REGION( 0x14000, "maincpu", 0 )
550550   ROM_LOAD( "tvg_75.0",    0x0000, 0x1000, CRC(0d18c581) SHA1(0e0f89d644b79e887c53e5294783843ca7e875ba) )
551551   ROM_LOAD( "tvg_76.1",    0x1000, 0x1000, CRC(5978d37a) SHA1(684c1092de4a0927a03752903c86c3bbe99e868a) )
r5338r5339
574574
575575GAME( 1981, fnkyfish, 0,        nomcu, fnkyfish, 0, ROT90, "Sun Electronics", "Funky Fish", 0 )
576576GAME( 1982, kangaroo, 0,        mcu,   kangaroo, 0, ROT90, "Sun Electronics", "Kangaroo", 0 )
577GAME( 1982, kangaroa, kangaroo, mcu,   kangaroo, 0, ROT90, "[Sun Electronics] (Atari license)", "Kangaroo (Atari)", 0 )
578GAME( 1982, kangarob, kangaroo, nomcu, kangaroo, 0, ROT90, "bootleg", "Kangaroo (bootleg)", 0 )
577GAME( 1982, kangarooa,kangaroo, mcu,   kangaroo, 0, ROT90, "[Sun Electronics] (Atari license)", "Kangaroo (Atari)", 0 )
578GAME( 1982, kangaroob,kangaroo, nomcu, kangaroo, 0, ROT90, "bootleg", "Kangaroo (bootleg)", 0 )
src/mame/drivers/cabal.c
r5338r5339
498498
499499   /* video hardware */
500500   MDRV_SCREEN_ADD("screen", RASTER)
501   MDRV_SCREEN_REFRESH_RATE(60)
501   MDRV_SCREEN_REFRESH_RATE(59.60)   /* verified on pcb */
502502   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
503503   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
504504   MDRV_SCREEN_SIZE(256, 256)
src/mame/drivers/segas16b.c
r5338r5339
33803380    CPU: FD1089A (317-0033)
33813381    ROM Board: 171-5358?
33823382*/
3383ROM_START( aliensy3 )
3383ROM_START( aliensyn3 )
33843384   ROM_REGION( 0x040000, "maincpu", 0 ) /* 68000 code */
33853385   ROM_LOAD16_BYTE( "epr10816.a4",  0x00000, 0x8000, CRC(17bf5304) SHA1(f6318c6c4a606d21ba43354229b60a51d8a3baa6) )
33863386   ROM_LOAD16_BYTE( "epr10814.a1",  0x00001, 0x8000, CRC(4cd134df) SHA1(541377bd6eba280d7f0367694032891989762485) )
r5338r5339
34653465    CPU: 68000 + i8751 (317-0077)
34663466    ROM Board: 171-5521
34673467*/
3468ROM_START( altbeasj )
3468ROM_START( altbeastj )
34693469   ROM_REGION( 0xc0000, "maincpu", 0 ) /* 68000 code */
34703470   ROM_LOAD16_BYTE( "epr-11885.a7", 0x000000, 0x20000, CRC(5bb715aa) SHA1(ad69ea126a366274a696cf0e11f50829031e5581) )
34713471   ROM_LOAD16_BYTE( "epr-11884.a5", 0x000001, 0x20000, CRC(e1707090) SHA1(2a262741a724bf282c0380113001b8da39afba43) )
r5338r5339
35083508    CPU: 68000 + i8751 (317-0076)
35093509    ROM Board: 171-5521
35103510*/
3511ROM_START( altbeas5 )
3511ROM_START( altbeast5 )
35123512   ROM_REGION( 0xc0000, "maincpu", 0 ) /* 68000 code */
35133513   ROM_LOAD16_BYTE( "epr-11883.a7", 0x000000, 0x20000, CRC(c5b3e8f7) SHA1(06c59d38093330b74f685cb02f8c7311e4a7b38c) )
35143514   ROM_LOAD16_BYTE( "epr-11882.a5", 0x000001, 0x20000, CRC(9c01170b) SHA1(7651f791e5488ce1143eeb4ad01eb924d1460170) )
r5338r5339
35513551    CPU: 68000 + MC-8123B 317-0066
35523552    ROM Board: 171-5521
35533553*/
3554ROM_START( altbeas4 )
3554ROM_START( altbeast4 )
35553555   ROM_REGION( 0x040000, "maincpu", 0 ) /* 68000 code */
35563556   ROM_LOAD16_BYTE( "epr-11740.a7", 0x000000, 0x20000, CRC(ce227542) SHA1(54adcc1246943360bb68498e971809a0d4f9fe0c) )
35573557   ROM_LOAD16_BYTE( "epr-11739.a5", 0x000001, 0x20000, CRC(e466eb65) SHA1(c9bb57818eb81a43abdf2ad2a79a0bd45c25d208) )
r5338r5339
35943594    CPU: FD1094 (317-0068)
35953595    ROM Board: 171-5521
35963596*/
3597ROM_START( altbeaj3 )
3597ROM_START( altbeastj3 )
35983598   ROM_REGION( 0x040000, "maincpu", 0 ) /* 68000 code */
35993599   ROM_LOAD16_BYTE( "epr-11721.a7", 0x000000, 0x20000, CRC(1c5d11de) SHA1(106def35c274382d851b803c4b9058fbe5a613ff) )
36003600   ROM_LOAD16_BYTE( "epr-11720.a5", 0x000001, 0x20000, CRC(735350cf) SHA1(35c182edf0a1335bc067a8269f0e9136ff89745c) )
r5338r5339
36373637    CPU: 68000 + MC8123B (317-0066)
36383638    ROM Board: 171-5521
36393639*/
3640ROM_START( altbeas2 )
3640ROM_START( altbeast2 )
36413641   ROM_REGION( 0x040000, "maincpu", 0 ) /* 68000 code */
36423642   ROM_LOAD16_BYTE( "epr-11705.a7", 0x000000, 0x20000, CRC(57dc5c7a) SHA1(a5cc9b10a00778f5163fc915b956fa5d0d7a37ce) )
36433643   ROM_LOAD16_BYTE( "epr-11704.a5", 0x000001, 0x20000, CRC(33bbcf07) SHA1(534e5426580dbf72509dceb762b8b99766d3a739) )
r5338r5339
36713671    CPU: FD1094 (317-0065)
36723672    ROM Board: 171-5521
36733673*/
3674ROM_START( altbeaj1 )
3674ROM_START( altbeastj1 )
36753675   ROM_REGION( 0x040000, "maincpu", 0 ) /* 68000 code */
36763676   ROM_LOAD16_BYTE( "epr-11670.a7", 0x000000, 0x20000, CRC(b748eb07) SHA1(f3663831610bcb358340f14c2c96833dd7591bfb) )
36773677   ROM_LOAD16_BYTE( "epr-11669.a5", 0x000001, 0x20000, CRC(005ecd11) SHA1(c392195955cf727752f03db92414701cc2bf1f4a) )
r5338r5339
39523952    CPU: FD1094 (317-0115)
39533953    ROM Board: 171-5704
39543954*/
3955ROM_START( bayroutj )
3955ROM_START( bayroutej )
39563956   ROM_REGION( 0xc0000, "maincpu", 0 ) /* 68000 code */
39573957   ROM_LOAD16_BYTE( "epr12457.a7", 0x000000, 0x20000, CRC(bc726255) SHA1(2fcf190dab944ea09e7e7574c0dda101bb55424e) )
39583958   ROM_LOAD16_BYTE( "epr12455.a5", 0x000001, 0x20000, CRC(b6a722eb) SHA1(a8cb3ae6a9a7dc7b64be452a64566878e1a54722) )
r5338r5339
39853985    CPU: 68000
39863986    ROM Board: 171-5358
39873987*/
3988ROM_START( bayrout1 )
3988ROM_START( bayroute1 )
39893989   ROM_REGION( 0xc0000, "maincpu", 0 ) /* 68000 code */
39903990   ROM_LOAD16_BYTE( "br.a4", 0x000000, 0x10000, CRC(91c6424b) SHA1(79a968ade7690d5944ee815e19586cb82c3aa562) )
39913991   ROM_LOAD16_BYTE( "br.a1", 0x000001, 0x10000, CRC(76954bf3) SHA1(bd617c6ddaf1e7760479b17205388c201fb67662) )
r5338r5339
46554655    CPU: FD1094 (317-0122)
46564656    ROM Board: 171-5797
46574657*/
4658ROM_START( goldnaxu )
4658ROM_START( goldnaxeu )
46594659   ROM_REGION( 0x080000, "maincpu", 0 ) /* 68000 code */
46604660   ROM_LOAD16_BYTE( "epr12543.a2", 0x00000, 0x40000, CRC(b0df9ca4) SHA1(240f3c2998f969569d992f796e006f5ea4434e55) )
46614661   ROM_LOAD16_BYTE( "epr12542.a1", 0x00001, 0x40000, CRC(b7994d3c) SHA1(87570f23826922fca465c69df6b892c59f14e103) )
r5338r5339
46924692    CPU: FD1094 (317-0121)
46934693    ROM Board: 171-5704
46944694*/
4695ROM_START( goldnaxj )
4695ROM_START( goldnaxej )
46964696   ROM_REGION( 0x0c0000, "maincpu", 0 ) /* 68000 code */
46974697   ROM_LOAD16_BYTE( "epr12540.a7", 0x00000, 0x20000, CRC(0c7ccc6d) SHA1(25bc29eee731befc665472c2c1998cac8447cc21) )
46984698   ROM_LOAD16_BYTE( "epr12539.a5", 0x00001, 0x20000, CRC(1f24f7d0) SHA1(a09cdf394c03069707f7ed400b8fbdc13674fa74) )
r5338r5339
47324732    CPU: FD1094 (317-0120)
47334733    ROM Board: 171-5704
47344734*/
4735ROM_START( goldnax3 )
4735ROM_START( goldnaxe3 )
47364736   ROM_REGION( 0xc0000, "maincpu", 0) /* 68000 code */
47374737   /* fails rom test on 8 & 6 ?! */
47384738   ROM_LOAD16_BYTE( "7.bin", 0x00000, 0x20000, CRC(48332c76) SHA1(4cdf7dc2f504a030ae63b4854bb76a3f2cc1d96b) )
r5338r5339
47734773    CPU: 68000 + i8751 (317-0112)
47744774    ROM Board: 171-5704
47754775*/
4776ROM_START( goldnax2 )
4776ROM_START( goldnaxe2 )
47774777   ROM_REGION( 0x0c0000, "maincpu", 0 ) /* 68000 code */
47784778   ROM_LOAD16_BYTE( "epr12523.a7", 0x00000, 0x20000, CRC(8e6128d7) SHA1(b8de216f4ca08815ca98d39a773024d191d21b4d) )
47794779   ROM_LOAD16_BYTE( "epr12522.a5", 0x00001, 0x20000, CRC(b6c35160) SHA1(88015d0a486f56911360362c96a82f36a13de886) )
r5338r5339
48134813    CPU: FD1094 (317-0110)
48144814    ROM Board: 171-5797
48154815*/
4816ROM_START( goldnax1 )
4816ROM_START( goldnaxe1 )
48174817   ROM_REGION( 0x080000, "maincpu", 0 ) /* 68000 code */
48184818   ROM_LOAD16_BYTE( "epr12389.a2", 0x00000, 0x40000, CRC(35d5fa77) SHA1(b16b312eb1c91c412fee61002599812e30e321ee) )
48194819   ROM_LOAD16_BYTE( "epr12388.a1", 0x00001, 0x40000, CRC(72952a93) SHA1(b31888429ad81388a96333dc0b2c7e2223134834) )
r5338r5339
59985998    CPU: FD1094 (317-0102)
59995999    ROM Board: 171-5704
60006000*/
6001ROM_START( wrestwa2 )
6001ROM_START( wrestwar2 )
60026002   ROM_REGION( 0xc0000, "maincpu", 0 ) /* 68000 code */
60036003   ROM_LOAD16_BYTE( "epr12370.a7", 0x00000, 0x20000, CRC(cb5dbb76) SHA1(c6d8599020b2ce311d1d1cdbdac1f4830327ec9a) )
60046004   ROM_LOAD16_BYTE( "epr12369.a5", 0x00001, 0x20000, CRC(6f47dd2f) SHA1(f970e5e0aad6b4199616eeb60461590817395688) )
r5338r5339
60396039    CPU: FD1094 (317-0090)
60406040    ROM Board: 171-5704
60416041*/
6042ROM_START( wrestwa1 )
6042ROM_START( wrestwar1 )
60436043   ROM_REGION( 0xc0000, "maincpu", 0 ) /* 68000 code */
60446044   ROM_LOAD16_BYTE( "epr12145.a7", 0x00000, 0x20000, CRC(2af51e2e) SHA1(b9299f17a7b945a8c96a52288e6da8e20651e4e5) )
60456045   ROM_LOAD16_BYTE( "epr12143.a5", 0x00001, 0x20000, CRC(4131e345) SHA1(9f66e50cf76ad77b60f2bef97153d9fe6fc12339) )
r5338r5339
63126312 *************************************/
63136313
63146314GAME( 1988, aceattac, 0,        system16b,      aceattac, generic_5358,        ROT0,   "Sega",           "Ace Attacker (FD1094 317-0059)", GAME_NOT_WORKING )
6315
63156316GAME( 1987, aliensyn, 0,        system16b,      aliensyn, generic_5358,        ROT0,   "Sega",           "Alien Syndrome (set 4, System 16B, unprotected)", 0 )
6316GAME( 1987, aliensy3, aliensyn, system16b,      aliensyn, aliensy3_5358,       ROT0,   "Sega",           "Alien Syndrome (set 3, System 16B, FD1089A 317-0033)", 0 )
6317GAME( 1988, altbeast, 0,        system16b_8751, altbeast, altbeast_5521,       ROT0,   "Sega",           "Altered Beast (set 7, 8751 317-0078)", 0 )
6318GAME( 1988, altbeasj, altbeast, system16b_8751, altbeast, altbeasj_5521,       ROT0,   "Sega",           "Juuouki (set 6, Japan, 8751 317-0077)", 0 )
6319GAME( 1988, altbeas5, altbeast, system16b_8751, altbeast, altbeas5_5521,       ROT0,   "Sega",           "Altered Beast (set 5, 8751 317-0076)", 0 )
6320GAME( 1988, altbeas4, altbeast, system16b,      altbeast, altbeas4_5521,       ROT0,   "Sega",           "Altered Beast (set 4, MC-8123B 317-0066)", 0 )
6321GAME( 1988, altbeaj3, altbeast, system16b,      altbeast, generic_5521,        ROT0,   "Sega",           "Juuouki (set 3, Japan, FD1094 317-0068)", 0 )
6322GAME( 1988, altbeas2, altbeast, system16b,      altbeast, altbeas4_5521,       ROT0,   "Sega",           "Altered Beast (set 2, MC-8123B 317-0066)", 0 )
6323GAME( 1988, altbeaj1, altbeast, system16b,      altbeast, generic_5521,        ROT0,   "Sega",           "Juuouki (set 1, Japan, FD1094 317-0065)", GAME_NOT_WORKING )
6317GAME( 1987, aliensyn3,aliensyn, system16b,      aliensyn, aliensy3_5358,       ROT0,   "Sega",           "Alien Syndrome (set 3, System 16B, FD1089A 317-0033)", 0 )
6318
6319GAME( 1988, altbeast,  0,        system16b_8751, altbeast, altbeast_5521,       ROT0,   "Sega",           "Altered Beast (set 7, 8751 317-0078)", 0 )
6320GAME( 1988, altbeastj, altbeast, system16b_8751, altbeast, altbeasj_5521,       ROT0,   "Sega",           "Juuouki (set 6, Japan, 8751 317-0077)", 0 )
6321GAME( 1988, altbeast5, altbeast, system16b_8751, altbeast, altbeas5_5521,       ROT0,   "Sega",           "Altered Beast (set 5, 8751 317-0076)", 0 )
6322GAME( 1988, altbeast4, altbeast, system16b,      altbeast, altbeas4_5521,       ROT0,   "Sega",           "Altered Beast (set 4, MC-8123B 317-0066)", 0 )
6323GAME( 1988, altbeastj3,altbeast, system16b,      altbeast, generic_5521,        ROT0,   "Sega",           "Juuouki (set 3, Japan, FD1094 317-0068)", 0 )
6324GAME( 1988, altbeast2, altbeast, system16b,      altbeast, altbeas4_5521,       ROT0,   "Sega",           "Altered Beast (set 2, MC-8123B 317-0066)", 0 )
6325GAME( 1988, altbeastj1,altbeast, system16b,      altbeast, generic_5521,        ROT0,   "Sega",           "Juuouki (set 1, Japan, FD1094 317-0065)", GAME_NOT_WORKING )
6326
63246327GAME( 1990, aurail,   0,        system16b,      aurail,   generic_5704,        ROT0,   "Sega / Westone", "Aurail (set 3, US, unprotected)", 0 )
63256328GAME( 1990, aurail1,  aurail,   system16b,      aurail,   aurail1_5704,        ROT0,   "Sega / Westone", "Aurail (set 2, World, FD1089B 317-0168)", 0 )
63266329GAME( 1990, aurailj,  aurail,   system16b,      aurail,   aurailj_5704,        ROT0,   "Sega / Westone", "Aurail (set 1, Japan, FD1089A 317-0167)", 0 )
6330
63276331GAME( 1989, bayroute, 0,        system16b,      bayroute, generic_5704,        ROT0,   "Sunsoft / Sega", "Bay Route (set 3, World, FD1094 317-0116)", 0 )
6328GAME( 1989, bayroutj, bayroute, system16b,      bayroute, generic_5704,        ROT0,   "Sunsoft / Sega", "Bay Route (set 2, Japan, FD1094 317-0115)", 0 )
6329GAME( 1989, bayrout1, bayroute, system16b,      bayroute, generic_5358,        ROT0,   "Sunsoft / Sega", "Bay Route (set 1, US, unprotected)", 0 )
6332GAME( 1989, bayroutej,bayroute, system16b,      bayroute, generic_5704,        ROT0,   "Sunsoft / Sega", "Bay Route (set 2, Japan, FD1094 317-0115)", 0 )
6333GAME( 1989, bayroute1,bayroute, system16b,      bayroute, generic_5358,        ROT0,   "Sunsoft / Sega", "Bay Route (set 1, US, unprotected)", 0 )
6334
63306335GAME( 1987, bullet,   0,        system16b,      bullet,   generic_5358_small,  ROT0,   "Sega",           "Bullet (FD1094 317-0041)", GAME_UNEMULATED_PROTECTION )
63316336/* Charon */
63326337GAME( 1991, cotton,   0,        system16b,      cotton,   generic_5704,        ROT0,   "Sega / Success", "Cotton (set 3, World, FD1094 317-0181a)", 0 )
63336338GAME( 1991, cottonu,  cotton,   system16b,      cotton,   generic_5704,        ROT0,   "Sega / Success", "Cotton (set 2, US, FD1094 317-0180)", 0 )
63346339GAME( 1991, cottonj,  cotton,   system16b,      cotton,   generic_5704,        ROT0,   "Sega / Success", "Cotton (set 1, Japan, FD1094 317-0179a)", 0 )
6340
63356341GAME( 1988, ddux,     0,        system16b,      ddux,     generic_5521,        ROT0,   "Sega",           "Dynamite Dux (set 2, FD1094 317-0096)", 0 )
63366342GAME( 1988, ddux1,    ddux,     system16b_8751, ddux,     ddux_5704,           ROT0,   "Sega",           "Dynamite Dux (set 1, 8751 317-0095)", 0 )
6343
63376344GAME( 1986, dunkshot, 0,        timescan,       dunkshot, dunkshot_5358,       ROT0,   "Sega",           "Dunk Shot (FD1089A 317-0022)", 0 )
6345
63386346GAME( 1989, eswat,    0,        system16b,      eswat,    generic_5797,        ROT0,   "Sega",           "E-Swat - Cyber Police (set 3, World, FD1094 317-0130)", 0 )
63396347GAME( 1989, eswatu,   eswat,    system16b,      eswat,    generic_5797,        ROT0,   "Sega",           "E-Swat - Cyber Police (set 2, US, FD1094 317-0129)", 0 )
63406348GAME( 1989, eswatj,   eswat,    system16b,      eswat,    generic_5797,        ROT0,   "Sega",           "E-Swat - Cyber Police (set 1, Japan, FD1094 317-0128)", 0 )
6349
63416350GAME( 1988, exctleag, 0,        system16b,      exctleag, exctleag_5358,       ROT0,   "Sega",           "Excite League (FD1094 317-0079)", 0 )
6351
63426352GAME( 1989, fpoint,   0,        system16b,      fpoint,   generic_5358,        ROT0,   "Sega",           "Flash Point (set 2, Japan, FD1094 317-0127A)", 0 )
63436353GAME( 1989, fpoint1,  fpoint,   system16b,      fpoint,   generic_5704,        ROT0,   "Sega",           "Flash Point (set 1, Japan, FD1094 317-0127A)", 0 )
6354
63446355GAME( 1989, goldnaxe, 0,        system16b_8751, goldnaxe, goldnaxe_5797,       ROT0,   "Sega",           "Golden Axe (set 6, US, 8751 317-123A)", 0 )
6345GAME( 1989, goldnaxu, goldnaxe, system16b,      goldnaxe, generic_5797,        ROT0,   "Sega",           "Golden Axe (set 5, US, FD1094 317-0122)", 0 )
6346GAME( 1989, goldnaxj, goldnaxe, system16b,      goldnaxe, generic_5704,        ROT0,   "Sega",           "Golden Axe (set 4, Japan, FD1094 317-0121)", 0 )
6347GAME( 1989, goldnax3, goldnaxe, system16b,      goldnaxe, generic_5704,        ROT0,   "Sega",           "Golden Axe (set 3, World, FD1094 317-0120)" , 0) // set was labeled japan but doesn't seem to be
6348GAME( 1989, goldnax2, goldnaxe, system16b_8751, goldnaxe, goldnaxe_5704,       ROT0,   "Sega",           "Golden Axe (set 2, US, 8751 317-0112)", 0 )
6349GAME( 1989, goldnax1, goldnaxe, system16b,      goldnaxe, generic_5797,        ROT0,   "Sega",           "Golden Axe (set 1, World, FD1094 317-0110)", 0 )
6356GAME( 1989, goldnaxeu,goldnaxe, system16b,      goldnaxe, generic_5797,        ROT0,   "Sega",           "Golden Axe (set 5, US, FD1094 317-0122)", 0 )
6357GAME( 1989, goldnaxej,goldnaxe, system16b,      goldnaxe, generic_5704,        ROT0,   "Sega",           "Golden Axe (set 4, Japan, FD1094 317-0121)", 0 )
6358GAME( 1989, goldnaxe3,goldnaxe, system16b,      goldnaxe, generic_5704,        ROT0,   "Sega",           "Golden Axe (set 3, World, FD1094 317-0120)" , 0) // set was labeled japan but doesn't seem to be
6359GAME( 1989, goldnaxe2,goldnaxe, system16b_8751, goldnaxe, goldnaxe_5704,       ROT0,   "Sega",           "Golden Axe (set 2, US, 8751 317-0112)", 0 )
6360GAME( 1989, goldnaxe1,goldnaxe, system16b,      goldnaxe, generic_5797,        ROT0,   "Sega",           "Golden Axe (set 1, World, FD1094 317-0110)", 0 )
6361
63506362GAME( 1987, hwchamp,  0,        system16b,      hwchamp,  hwchamp_5521,        ROT0,   "Sega",           "Heavyweight Champ", 0 )
6363
63516364GAME( 1989, mvp,      0,        system16b,      mvp,      generic_5797,        ROT0,   "Sega",           "MVP (set 2, US, FD1094 317-0143)", 0 )
63526365GAME( 1989, mvpj,     mvp,      system16b,      mvp,      generic_5704,        ROT0,   "Sega",           "MVP (set 1, Japan, FD1094 317-0142)", 0 )
6366
63536367GAME( 1988, passsht,  0,        system16b,      passsht,  generic_5358,        ROT270, "Sega",           "Passing Shot (World, 2 Players, FD1094 317-0080)", 0 )
63546368GAME( 1988, passshta, passsht,  system16b,      passshtj, passshtj_5358,       ROT270, "Sega",           "Passing Shot (World, 4 Players, FD1094 317-0074)", 0 )
63556369GAME( 1988, passshtj, passsht,  system16b,      passshtj, passshtj_5358,       ROT270, "Sega",           "Passing Shot (Japan, 4 Players, FD1094 317-0070)", 0 )
6370
63566371GAME( 1991, riotcity, 0,        system16b,      riotcity, generic_5704,        ROT0,   "Sega / Westone", "Riot City (Japan)", 0 )
6372
63576373GAME( 1990, ryukyu,   0,        system16b,      ryukyu,   generic_5704,        ROT0,   "Success / Sega", "RyuKyu (Japan, FD1094 317-5023)", 0 )
6374
63586375GAME( 1987, defense,  sdi,      system16b,      sdi,      defense_5358,        ROT0,   "Sega",           "Defense (System 16B, FD1089A 317-0028)", 0 )
63596376GAME( 1987, sdib,     sdi,      system16b,      sdi,      defense_5358,        ROT0,   "Sega",           "SDI - Strategic Defense Initiative (System 16B, FD1089A 317-0028)", 0 )
63606377GAME( 1987, sdibl,    sdi,      system16b,      sdi,      sdi_5358,            ROT0,   "bootleg",        "SDI - Strategic Defense Initiative (bootleg)", 0 )
6378
63616379GAME( 1987, shinobi5, shinobi,  system16b,      shinobi,  generic_5521,        ROT0,   "Sega",           "Shinobi (set 5, System 16B, unprotected)", 0 )
63626380GAME( 1987, shinobi4, shinobi,  system16b,      shinobi,  shinobi4_5521,       ROT0,   "Sega",           "Shinobi (set 4, System 16B, MC-8123B 317-0054)", 0 )
63636381GAME( 1987, shinobi3, shinobi,  system16b,      shinobi,  shinobi3_5358,       ROT0,   "Sega",           "Shinobi (set 3, System 16B, MC-8123B 317-0054)", 0 )
63646382GAME( 1987, shinobi2, shinobi,  system16b,      shinobi,  generic_5358,        ROT0,   "Sega",           "Shinobi (set 2, System 16B, FD1094 317-0049)", 0 )
6383
63656384GAME( 1987, sonicbom, 0,        system16b,      sonicbom, generic_5358,        ROT270, "Sega",           "Sonic Boom (FD1094 317-0053)", 0 )
6385
63666386GAME( 1988, sjryuko,  0,        timescan,       sjryuko,  sjryuko_5358,        ROT0,   "White Board",    "Sukeban Jansi Ryuko (set 2, System 16B, FD1089B 317-5021)", 0 )
6387
63676388GAME( 1987, suprleag, 0,        system16b,      exctleag, exctleag_5358,       ROT0,   "Sega",           "Super League (FD1094 317-0045)", 0 )
6389
63686390GAME( 1988, tetris2,  tetris,   system16b,      tetris,   generic_5704,        ROT0,   "Sega",           "Tetris (set 2, Japan, System 16B, FD1094 317-0092)", 0 )
63696391GAME( 1988, tetris1,  tetris,   system16b,      tetris,   generic_5358,        ROT0,   "Sega",           "Tetris (set 1, Japan, System 16B, FD1094 317-0091)", 0 )
6392
63706393GAME( 1987, timescan, 0,        timescan,       timescan, generic_5358,        ROT270, "Sega",           "Time Scanner (set 2, System 16B)", 0 )
6394
63716395GAME( 1994, toryumon, 0,        system16b,      toryumon, generic_5797,        ROT0,   "Sega",           "Toryumon", 0 )
6396
63726397GAME( 1989, tturf,    0,        system16b_8751, tturf,    tturf_5704,          ROT0,   "Sega / Sunsoft", "Tough Turf (set 2, Japan, 8751 317-0104)", GAME_NO_SOUND /* due to missing ROM only */)
63736398GAME( 1989, tturfu,   tturf,    system16b_8751, tturf,    tturf_5358,          ROT0,   "Sega / Sunsoft", "Tough Turf (set 1, US, 8751 317-0099)", 0)
6399
63746400GAME( 1988, wb3,      0,        system16b_8751, wb3,      wb3_5704,            ROT0,   "Sega / Westone", "Wonder Boy III - Monster Lair (set 5, World, System 16B, 8751 317-0098)", 0 )
63756401GAME( 1988, wb34,     wb3,      system16b,      wb3,      generic_5704,        ROT0,   "Sega / Westone", "Wonder Boy III - Monster Lair (set 4, Japan, System 16B, FD1094 317-0087)", 0 )
63766402GAME( 1988, wb33,     wb3,      system16b,      wb3,      generic_5704,        ROT0,   "Sega / Westone", "Wonder Boy III - Monster Lair (set 3, World, System 16B, FD1094 317-0089)", 0 )
63776403GAME( 1988, wb32,     wb3,      system16b,      wb3,      generic_5358,        ROT0,   "Sega / Westone", "Wonder Boy III - Monster Lair (set 2, Japan, System 16B, FD1094 317-0085)", 0 )
6404
63786405GAME( 1989, wrestwar, 0,        system16b_8751, wrestwar, wrestwar_8751,       ROT270, "Sega",           "Wrestle War (set 3, World, 8751 317-0103)", 0 )
6379GAME( 1989, wrestwa2, wrestwar, system16b,      wrestwar, generic_5704,        ROT270, "Sega",           "Wrestle War (set 2, World, FD1094 317-0102)", 0 )
6380GAME( 1989, wrestwa1, wrestwar, system16b,      wrestwar, generic_5704,        ROT270, "Sega",           "Wrestle War (set 1, Japan, FD1094 317-0090)", 0 )
6406GAME( 1989, wrestwar2,wrestwar, system16b,      wrestwar, generic_5704,        ROT270, "Sega",           "Wrestle War (set 2, World, FD1094 317-0102)", 0 )
6407GAME( 1989, wrestwar1,wrestwar, system16b,      wrestwar, generic_5704,        ROT270, "Sega",           "Wrestle War (set 1, Japan, FD1094 317-0090)", 0 )
63816408
63826409/* Custom Korean Board - these probably belong with the bootlegs... */
63836410GAME( 1990, atomicp,  0,        atomicp,        atomicp,  atomicp,             ROT0,   "Philko",         "Atomic Point (Korea)" , 0) // korean clone board..
src/mame/drivers/pktgaldx.c
r5338r5339
386386   ROM_LOAD( "maz-03.13f",    0x00000, 0x100000, CRC(a313c964) SHA1(4a3664c4e2c44a017a0ab6a6d4361799cbda57b5) )
387387ROM_END
388388
389ROM_START( pktgaldj )
389ROM_START( pktgaldxj )
390390   ROM_REGION( 0x80000, "maincpu", 0 ) /* DE102 code (encrypted) */
391391   ROM_LOAD16_WORD_SWAP( "kg00-2.12a",    0x00000, 0x80000, CRC(62dc4137) SHA1(23887dc3f6e7c4cdcb1bf4f4c87fe3cbe8cdbe69) )
392392
r5338r5339
404404   ROM_LOAD( "maz-03.13f",    0x00000, 0x100000, CRC(a313c964) SHA1(4a3664c4e2c44a017a0ab6a6d4361799cbda57b5) )
405405ROM_END
406406
407ROM_START( pktgaldb )
407ROM_START( pktgaldxb )
408408   ROM_REGION( 0x100000, "maincpu", 0 ) /* 68000 code */
409409   ROM_LOAD16_BYTE ("4.bin", 0x00000, 0x80000, CRC(67ce30aa) SHA1(c5228ed19eebbfb6d5f7cbfcb99734d9fcd5aba3) )
410410   ROM_LOAD16_BYTE( "5.bin", 0x00001, 0x80000, CRC(64cb4c33) SHA1(02f988f558113dd9a77079dee59e23583394fa98) )
r5338r5339
433433   deco102_decrypt_cpu(machine, "maincpu", 0x42ba, 0x00, 0x00);
434434}
435435
436GAME( 1992, pktgaldx, 0,        pktgaldx, pktgaldx, pktgaldx,  ROT0, "Data East Corporation", "Pocket Gal Deluxe (Euro v3.00)", 0 )
437GAME( 1993, pktgaldj, pktgaldx, pktgaldx, pktgaldx, pktgaldx,  ROT0, "Nihon System",          "Pocket Gal Deluxe (Japan v3.00)", 0 )
438GAME( 1992, pktgaldb, pktgaldx, pktgaldb, pktgaldx, 0,         ROT0, "bootleg",               "Pocket Gal Deluxe (Euro v3.00, bootleg)", GAME_IMPERFECT_GRAPHICS )
436GAME( 1992, pktgaldx,  0,        pktgaldx, pktgaldx, pktgaldx,  ROT0, "Data East Corporation", "Pocket Gal Deluxe (Euro v3.00)", 0 )
437GAME( 1993, pktgaldxj, pktgaldx, pktgaldx, pktgaldx, pktgaldx,  ROT0, "Nihon System",          "Pocket Gal Deluxe (Japan v3.00)", 0 )
438GAME( 1992, pktgaldxb, pktgaldx, pktgaldb, pktgaldx, 0,         ROT0, "bootleg",               "Pocket Gal Deluxe (Euro v3.00, bootleg)", GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/atarigx2.c
r5338r5339
14781478ROM_END
14791479
14801480
1481ROM_START( spclordb )
1481ROM_START( spclordsb )
14821482   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
14831483   ROM_LOAD32_BYTE( "136095.21b", 0x00000, 0x20000, CRC(2ba99ce2) SHA1(5d8d138698c29838a85da1721c3400c666a14e18) )
14841484   ROM_LOAD32_BYTE( "136095.22b", 0x00001, 0x20000, CRC(631c5009) SHA1(6b2ea907087e411579f55dff60724ba33afa8a06) )
r5338r5339
15191519ROM_END
15201520
15211521
1522ROM_START( spclordg )
1522ROM_START( spclordsg )
15231523   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
15241524   ROM_LOAD32_BYTE( "german0.095",  0x000000, 0x020000, CRC(5a885f8e) SHA1(ec7ef0d76320099a6f3fad80c9ec404ce8602557) )
15251525   ROM_LOAD32_BYTE( "german1.095",  0x000001, 0x020000, CRC(56f8d517) SHA1(4bcd2d368d48e7492a739aa3041a40e1518b8c94) )
r5338r5339
15651565ROM_END
15661566
15671567
1568ROM_START( spclorda )
1568ROM_START( spclordsa )
15691569   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
15701570   ROM_LOAD32_BYTE( "136095.21a", 0x00000, 0x20000, CRC(fe8edb0b) SHA1(ae50a637df476c62f8194577cdca2677f9b5cbd0) )
15711571   ROM_LOAD32_BYTE( "136095.22a", 0x00001, 0x20000, CRC(c2d2867b) SHA1(481fe54d6cd8698bfd2776e2af6f51332304b7ba) )
r5338r5339
16591659ROM_END
16601660
16611661
1662ROM_START( motofrmd )
1662ROM_START( motofrenmd )
16631663   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
16641664   ROM_LOAD32_BYTE( "94-0221a.23e", 0x00000, 0x20000, CRC(134e9ff0) SHA1(801b817bf49b4317a7518192025a878b9cd13f7f) )
16651665   ROM_LOAD32_BYTE( "94-0222a.23j", 0x00001, 0x20000, CRC(f6df65c7) SHA1(0a2092a509ae8c61e3f55c30c47bf39c71e2aa6e) )
r5338r5339
18541854ROM_END
18551855#endif
18561856
1857ROM_START( motofrft )
1857ROM_START( motofrenft )
18581858   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
18591859   ROM_LOAD32_BYTE( "ft0.094",      0x000000, 0x020000, CRC(99158754) SHA1(46e73a465aceb147e1ca1bd982448079880cc47e) )
18601860   ROM_LOAD32_BYTE( "ft1.094",      0x000001, 0x020000, CRC(33c4e205) SHA1(8a223481cfe2aa45a815c6a18017a14502e929b3) )
r5338r5339
19021902ROM_END
19031903
19041904
1905ROM_START( motomdft )
1905ROM_START( motofrenmf )
19061906   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
19071907   ROM_LOAD32_BYTE( "ftmd0.094",    0x000000, 0x020000, CRC(9be0803e) SHA1(b5e3029ef43adfeafd5979d4ee49a3eb62efd629) )
19081908   ROM_LOAD32_BYTE( "ftmd1.094",    0x000001, 0x020000, CRC(2a5e9b18) SHA1(af671680047678f86614e23439ac1f0420528343) )
r5338r5339
19941994ROM_END
19951995
19961996
1997ROM_START( rrrevenp )
1997ROM_START( rrrevengp )
19981998   ROM_REGION( 0x80000, "maincpu", 0 )   /* 8*64k for 68000 code */
19991999   ROM_LOAD32_BYTE( "rrprghh.bin", 0x00000, 0x20000, CRC(d2903e9d) SHA1(8782cd6ee39e2159b9ebc68ecdc3ecefcdeb8623) )
20002000   ROM_LOAD32_BYTE( "rrprghl.bin", 0x00001, 0x20000, CRC(1afd500c) SHA1(6d24087a839e5e7d9c764026a9f3089e52785cdb) )
r5338r5339
21142114 *
21152115 *************************************/
21162116
2117GAME( 1992, spclords, 0,        atarigx2, spclords, spclords, ROT0, "Atari Games", "Space Lords (rev C)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2118GAME( 1992, spclordb, spclords, atarigx2, spclords, spclords, ROT0, "Atari Games", "Space Lords (rev B)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2119GAME( 1992, spclordg, spclords, atarigx2, spclords, spclords, ROT0, "Atari Games", "Space Lords (rev A, German)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2120GAME( 1992, spclorda, spclords, atarigx2, spclords, spclords, ROT0, "Atari Games", "Space Lords (rev A)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2117GAME( 1992, spclords,  0,        atarigx2, spclords, spclords, ROT0, "Atari Games", "Space Lords (rev C)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2118GAME( 1992, spclordsb, spclords, atarigx2, spclords, spclords, ROT0, "Atari Games", "Space Lords (rev B)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2119GAME( 1992, spclordsg, spclords, atarigx2, spclords, spclords, ROT0, "Atari Games", "Space Lords (rev A, German)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2120GAME( 1992, spclordsa, spclords, atarigx2, spclords, spclords, ROT0, "Atari Games", "Space Lords (rev A)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
21212121
2122GAME( 1992, motofren, 0,        atarigx2, motofren, motofren, ROT0, "Atari Games", "Moto Frenzy", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2123GAME( 1992, motofrmd, motofren, atarigx2, motofren, motofren, ROT0, "Atari Games", "Moto Frenzy (Mini Deluxe)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2124GAME( 1992, motofrft, motofren, atarigx2, motofren, motofren, ROT0, "Atari Games", "Moto Frenzy (Field Test Version)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2125GAME( 1992, motomdft, motofren, atarigx2, motofren, motofren, ROT0, "Atari Games", "Moto Frenzy (Mini Deluxe Field Test Version)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2122GAME( 1992, motofren,   0,        atarigx2, motofren, motofren, ROT0, "Atari Games", "Moto Frenzy", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2123GAME( 1992, motofrenmd, motofren, atarigx2, motofren, motofren, ROT0, "Atari Games", "Moto Frenzy (Mini Deluxe)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2124GAME( 1992, motofrenft, motofren, atarigx2, motofren, motofren, ROT0, "Atari Games", "Moto Frenzy (Field Test Version)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2125GAME( 1992, motofrenmf, motofren, atarigx2, motofren, motofren, ROT0, "Atari Games", "Moto Frenzy (Mini Deluxe Field Test Version)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
21262126
2127GAME( 1994, rrreveng, 0,        atarigx2, rrreveng, rrreveng, ROT0, "Atari Games", "Road Riot's Revenge (prototype)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2128GAME( 1994, rrrevenp, rrreveng, atarigx2, rrreveng, rrreveng, ROT0, "Atari Games", "Road Riot's Revenge (prototype alt)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2127GAME( 1994, rrreveng,  0,        atarigx2, rrreveng, rrreveng, ROT0, "Atari Games", "Road Riot's Revenge (prototype)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
2128GAME( 1994, rrrevengp, rrreveng, atarigx2, rrreveng, rrreveng, ROT0, "Atari Games", "Road Riot's Revenge (prototype alt)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
src/mame/drivers/taotaido.c
r5338r5339
391391   ROM_LOAD( "u15.bin", 0x000000, 0x200000, CRC(e95823e9) SHA1(362583944ad4fdde4f9e29928cf34376c7ad931f) )
392392ROM_END
393393
394ROM_START( taotaida )
394ROM_START( taotaidoa )
395395   ROM_REGION( 0x100000, "maincpu", 0 ) /* 68000 Code */
396396   ROM_LOAD16_WORD_SWAP( "tt0-u90.bin", 0x00000, 0x80000, CRC(69d4cca7) SHA1(f1aba74fef8fe4271d19763f428fc0e2674d08b3) )
397397   ROM_LOAD16_WORD_SWAP( "tt1-u91.bin", 0x80000, 0x80000, CRC(41025469) SHA1(fa3a424ca3ecb513f418e436e4191ff76f6a0de1) )
r5338r5339
416416ROM_END
417417
418418GAME( 1993, taotaido, 0,        taotaido, taotaido, 0, ROT0, "Video System Co.", "Tao Taido (set 1)", GAME_NO_COCKTAIL )
419GAME( 1993, taotaida, taotaido, taotaido, taotaida, 0, ROT0, "Video System Co.", "Tao Taido (set 2)", GAME_NO_COCKTAIL )
419GAME( 1993, taotaidoa,taotaido, taotaido, taotaida, 0, ROT0, "Video System Co.", "Tao Taido (set 2)", GAME_NO_COCKTAIL )
src/mame/drivers/taito_f3.c
r5338r5339
563563   ROM_LOAD16_BYTE("d21-05.18", 0x600000, 0x100000, CRC(ed894fe1) SHA1(5bf2fb6abdcf25bc525a2c3b29dbf7aca0b18fea) )   // -std-
564564ROM_END
565565
566ROM_START( ringragu )
566ROM_START( ringrageu )
567567   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
568568    ROM_LOAD32_BYTE("d21-23.40", 0x000000, 0x40000, CRC(14e9ed65) SHA1(956db484375a43bcdf5a6a104e3c7d7ef5baaa1b) )
569569   ROM_LOAD32_BYTE("d21-22.38", 0x000001, 0x40000, CRC(6f8b65b0) SHA1(a4f786b72068c6c9c1b23df67029eb0e2a982789) )
r5338r5339
592592   ROM_LOAD16_BYTE("d21-05.18", 0x600000, 0x100000, CRC(ed894fe1) SHA1(5bf2fb6abdcf25bc525a2c3b29dbf7aca0b18fea) )   // -std-
593593ROM_END
594594
595ROM_START( ringragj )
595ROM_START( ringragej )
596596   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
597597    ROM_LOAD32_BYTE("d21-23.40", 0x000000, 0x40000, CRC(14e9ed65) SHA1(956db484375a43bcdf5a6a104e3c7d7ef5baaa1b) )
598598   ROM_LOAD32_BYTE("d21-22.38", 0x000001, 0x40000, CRC(6f8b65b0) SHA1(a4f786b72068c6c9c1b23df67029eb0e2a982789) )
r5338r5339
661661   ROM_LOAD( "pal20l8b.70",   0x1000, 0x0144, CRC(92b5b97c) SHA1(653ab0467f71d93eceb8143b124cdedaf1ede750) )
662662ROM_END
663663
664ROM_START( arabiamj )
664ROM_START( arabianmj )
665665   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
666666    ROM_LOAD32_BYTE("d29-23.rom", 0x000000, 0x40000, CRC(89a0c706) SHA1(d0df02be2b63566ec776bb13947f975062766a01) )
667667   ROM_LOAD32_BYTE("d29-22.rom", 0x000001, 0x40000, CRC(4afc22a4) SHA1(9579d134a1e4b0c86af9b41d136acfe6cc7f6624) )
r5338r5339
701701   ROM_LOAD( "pal20l8b.70",   0x1000, 0x0144, CRC(92b5b97c) SHA1(653ab0467f71d93eceb8143b124cdedaf1ede750) )
702702ROM_END
703703
704ROM_START( arabiamu )
704ROM_START( arabianmu )
705705   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
706706    ROM_LOAD32_BYTE("d29-23.rom", 0x000000, 0x40000, CRC(89a0c706) SHA1(d0df02be2b63566ec776bb13947f975062766a01) )
707707   ROM_LOAD32_BYTE("d29-22.rom", 0x000001, 0x40000, CRC(4afc22a4) SHA1(9579d134a1e4b0c86af9b41d136acfe6cc7f6624) )
r5338r5339
768768   ROM_LOAD16_BYTE("d34-04.18", 0x600000, 0x100000, CRC(ed894fe1) SHA1(5bf2fb6abdcf25bc525a2c3b29dbf7aca0b18fea) )   // -std-
769769ROM_END
770770
771ROM_START( ridefgtj )
771ROM_START( ridingfj )
772772   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
773773    ROM_LOAD32_BYTE("d34-12.40", 0x000000, 0x40000, CRC(e67e69d4) SHA1(9960629a7576f6a1d8a0e17c1bfc202ceee9e824) )
774774   ROM_LOAD32_BYTE("d34-11.38", 0x000001, 0x40000, CRC(7d240a88) SHA1(3410d3f66e868f2696dbd95adbbd393596d34351) )
r5338r5339
795795   ROM_LOAD16_BYTE("d34-04.18", 0x600000, 0x100000, CRC(ed894fe1) SHA1(5bf2fb6abdcf25bc525a2c3b29dbf7aca0b18fea) )   // -std-
796796ROM_END
797797
798ROM_START( ridefgtu )
798ROM_START( ridingfu )
799799   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
800800    ROM_LOAD32_BYTE("d34-12.40", 0x000000, 0x40000, CRC(e67e69d4) SHA1(9960629a7576f6a1d8a0e17c1bfc202ceee9e824) )
801801   ROM_LOAD32_BYTE("d34-11.38", 0x000001, 0x40000, CRC(7d240a88) SHA1(3410d3f66e868f2696dbd95adbbd393596d34351) )
r5338r5339
11651165   ROM_LOAD16_BYTE("d53-02.3", 0x400000, 0x200000, CRC(8bd4367a) SHA1(9b274fe321c4faedb7d44f7998ae2e37c6899688) )   // CC CD -std-
11661166ROM_END
11671167
1168ROM_START( prmtmfgo )
1168ROM_START( prmtmfgto )
11691169   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
11701170    ROM_LOAD32_BYTE("d53-15.24", 0x000000, 0x40000, CRC(f24de51b) SHA1(d45d1b60901995edf0721eae7eb8c6e829f47d8d) )
11711171   ROM_LOAD32_BYTE("d53-16.26", 0x000001, 0x40000, CRC(ffc84429) SHA1(23354c1a65853c06e5c959957a92b700b1418fd4) )
r5338r5339
12521252   ROM_LOAD16_BYTE("d66-02.rom", 0x400000, 0x200000, CRC(dcdafaab) SHA1(c981c7e54a2a9aaa85bb758691858495d623b029) )   // CC CD -std-
12531253ROM_END
12541254
1255ROM_START( rayforcj )
1255ROM_START( rayforcej )
12561256   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
12571257    ROM_LOAD32_BYTE("d66-18.24", 0x000000, 0x40000, CRC(8418513e) SHA1(a071647268fad08802b88fb6d795612218b7ddef) )
12581258   ROM_LOAD32_BYTE("d66-19.26", 0x000001, 0x40000, CRC(95731473) SHA1(ab79821cd6098a4db84ebc9a499c29b1525510a5) )
r5338r5339
13431343   ROM_LOAD16_BYTE("d69-02.bin", 0x400000, 0x200000, CRC(dce28dd7) SHA1(eacfc98349b0608fc1a944c11f0483fb6caa4445) )   // CC CD -std-
13441344ROM_END
13451345
1346ROM_START( dungenmu )
1346ROM_START( dungeonmu )
13471347   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
13481348    ROM_LOAD32_BYTE("d69-20.bin", 0x000000, 0x80000, CRC(33650fe4) SHA1(df8b775749b1f0f02d0df6141597cc49fb3ae227) )
13491349   ROM_LOAD32_BYTE("d69-13.bin", 0x000001, 0x80000, CRC(dec2ec17) SHA1(8472a5aaea9e4e4fb5f7f4b5eda356b590d1541d) )
r5338r5339
15991599   ROM_LOAD16_BYTE("d84-15.rom", 0xe00000, 0x100000, CRC(31ceb152) SHA1(d9d0bc631a6a726376f566a49605b50485ac7bf4) )   // D0 D1
16001600ROM_END
16011601
1602ROM_START( kaiserkj )
1602ROM_START( kaiserknj )
16031603   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
16041604    ROM_LOAD32_BYTE("d84-25.20", 0x000000, 0x80000, CRC(2840893f) SHA1(079dece4667b029189622476cc618b88e57243a6) )
16051605   ROM_LOAD32_BYTE("d84-24.19", 0x000001, 0x80000, CRC(bf20c755) SHA1(9f6edfe9bb40051e8a93d06a391c993ed7288db6) )
r5338r5339
18681868    ROM_LOAD16_BYTE("d90-05", 0x400000, 0x200000, CRC(c192331f) SHA1(ebab05b3681c70b373bc06c1826be1cc397d3af7) )   // CC CD -std-
18691869ROM_END
18701870
1871ROM_START( bubsympe )
1871ROM_START( bubsymphe )
18721872   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
18731873    ROM_LOAD32_BYTE("d90-12", 0x000000, 0x40000, CRC(9e523996) SHA1(c49a426f9865f96e8021c8ed9a6ac094c5e586b1) )
18741874   ROM_LOAD32_BYTE("d90-11", 0x000001, 0x40000, CRC(edfdbb7f) SHA1(698ad631d5b13661645f2c5ccd3e4fbf0248053c) )
r5338r5339
18961896    ROM_LOAD16_BYTE("d90-05", 0x400000, 0x200000, CRC(c192331f) SHA1(ebab05b3681c70b373bc06c1826be1cc397d3af7) )   // CC CD -std-
18971897ROM_END
18981898
1899ROM_START( bubsymph )
1899ROM_START( bubsymphj )
19001900   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
19011901    ROM_LOAD32_BYTE("d90-12", 0x000000, 0x40000, CRC(9e523996) SHA1(c49a426f9865f96e8021c8ed9a6ac094c5e586b1) )
19021902   ROM_LOAD32_BYTE("d90-11", 0x000001, 0x40000, CRC(edfdbb7f) SHA1(698ad631d5b13661645f2c5ccd3e4fbf0248053c) )
r5338r5339
19581958*/
19591959
19601960
1961ROM_START( bubsympb )
1961ROM_START( bubsymphb )
19621962   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
19631963    ROM_LOAD32_BYTE("bsb_d12.bin", 0x000000, 0x40000, CRC(d05160fc) SHA1(62eb47827d4089711af1187455faeb62a8d9e369) )
19641964   ROM_LOAD32_BYTE("bsb_d13.bin", 0x000001, 0x40000, CRC(83fc0d2c) SHA1(275a923e6e6b6763cb7036d94943609eb9ce866b) )
r5338r5339
19851985   ROM_RELOAD(0x80000,0x80000)
19861986ROM_END
19871987
1988ROM_START( bubsympu )
1988ROM_START( bubsymphu )
19891989   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
19901990    ROM_LOAD32_BYTE("d90-12", 0x000000, 0x40000, CRC(9e523996) SHA1(c49a426f9865f96e8021c8ed9a6ac094c5e586b1) )
19911991   ROM_LOAD32_BYTE("d90-11", 0x000001, 0x40000, CRC(edfdbb7f) SHA1(698ad631d5b13661645f2c5ccd3e4fbf0248053c) )
r5338r5339
21092109   ROM_LOAD16_BYTE("d94-11.bin", 0x400000, 0x200000, CRC(61ed83fa) SHA1(f6ca60b7af61fd3ac01a987f949d7a7bc96e43ff) )   // CD CE -std-
21102110ROM_END
21112111
2112ROM_START( hthro95u )
2112ROM_START( hthero95u )
21132113   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
21142114    ROM_LOAD32_BYTE("d94-18.bin", 0x000000, 0x40000, CRC(b92681c3) SHA1(0ca05a69d046668c878df3d2b7ae3172d748e290) )
21152115   ROM_LOAD32_BYTE("d94-17.bin", 0x000001, 0x40000, CRC(6009333e) SHA1(4ab28f2d9e2b75adc668f5d9390e06086bbd97dc) )
r5338r5339
21692169   ROM_LOAD16_BYTE("d95-04.41", 0x400000, 0x200000, CRC(e9049d16) SHA1(ffa7dfc5d1cb82a601bad26b634c993aedda7803) )   // CC CD -std-
21702170ROM_END
21712171
2172ROM_START( spcnv95u )
2172ROM_START( spcinv95u )
21732173   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
21742174    ROM_LOAD32_BYTE("e06-14.20", 0x000000, 0x20000, CRC(71ba7f00) SHA1(6b1d994c8319778aad3bec7bf7b24dc4944a36f0) )
21752175   ROM_LOAD32_BYTE("e06-13.19", 0x000001, 0x20000, CRC(f506ba4b) SHA1(551f9e87d2bfd513998648b175b63677cd6bdd74) )
r5338r5339
25512551ROM_END
25522552
25532553
2554ROM_START( pbobbl2o )
2554ROM_START( pbobble2o )
25552555   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
25562556   ROM_LOAD32_BYTE("e10-11.20", 0x000000, 0x40000, CRC(b82f81da) SHA1(2cd0fb321c853497058545525f430b52c0788fb1) )
25572557   ROM_LOAD32_BYTE("e10-10.19", 0x000001, 0x40000, CRC(f432267a) SHA1(f9778fc627773e4e254faa0ce10e68407251ce95) )
r5338r5339
25782578   ROM_LOAD16_BYTE("e10-03.rom", 0x400000, 0x200000, CRC(46d68ac8) SHA1(ad014e9f0d458308014959ca6823077f581ab088) )   // CC CD CE CF
25792579ROM_END
25802580
2581ROM_START( pbobbl2j )
2581ROM_START( pbobble2j )
25822582   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
25832583   ROM_LOAD32_BYTE("e10-11.20", 0x000000, 0x40000, CRC(b82f81da) SHA1(2cd0fb321c853497058545525f430b52c0788fb1) )
25842584   ROM_LOAD32_BYTE("e10-10.19", 0x000001, 0x40000, CRC(f432267a) SHA1(f9778fc627773e4e254faa0ce10e68407251ce95) )
r5338r5339
26052605   ROM_LOAD16_BYTE("e10-03.rom", 0x400000, 0x200000, CRC(46d68ac8) SHA1(ad014e9f0d458308014959ca6823077f581ab088) )   // CC CD CE CF
26062606ROM_END
26072607
2608ROM_START( pbobbl2u )
2608ROM_START( pbobble2u )
26092609   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
26102610   ROM_LOAD32_BYTE("e10-20.20", 0x000000, 0x40000, CRC(97eb15c6) SHA1(712ed06ee3582e30acb03c06f4981b0f3d7c64f4) )
26112611   ROM_LOAD32_BYTE("e10-19.19", 0x000001, 0x40000, CRC(7082d796) SHA1(9dd8216123ae94f4e9bacea9a088ae73c71cfd19) )
r5338r5339
26322632   ROM_LOAD16_BYTE("e10-03.rom", 0x400000, 0x200000, CRC(46d68ac8) SHA1(ad014e9f0d458308014959ca6823077f581ab088) )   // CC CD CE CF
26332633ROM_END
26342634
2635ROM_START( pbobbl2x )
2635ROM_START( pbobble2x )
26362636   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
26372637    ROM_LOAD32_BYTE("e10-29.20", 0x000000, 0x40000, CRC(f1e9ad3f) SHA1(8689d85f30e075d21e4be01a2a097a850a921c47) )
26382638   ROM_LOAD32_BYTE("e10-28.19", 0x000001, 0x40000, CRC(412a3602) SHA1(d754e6ac886676d2c1eb52de3a727894f316e6b5) )
r5338r5339
28932893   ROM_LOAD16_BYTE("e29-05.rom", 0xc00000, 0x200000, CRC(e33c1234) SHA1(84c336ed6fd8723e824889fe7b52c284be659e62) )   // CB CC -std-
28942894ROM_END
28952895
2896ROM_START( pbobbl3u )
2896ROM_START( pbobble3u )
28972897   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
28982898    ROM_LOAD32_BYTE("e29-12.rom", 0x000000, 0x80000, CRC(9eb19a00) SHA1(5a6417e4377070f9f01110dc6d513d0de01cff1e) )
28992899   ROM_LOAD32_BYTE("e29-11.rom", 0x000001, 0x80000, CRC(e54ada97) SHA1(325e2bc7156656cc262989910dde07a1746cf790) )
r5338r5339
29222922   ROM_LOAD16_BYTE("e29-05.rom", 0xc00000, 0x200000, CRC(e33c1234) SHA1(84c336ed6fd8723e824889fe7b52c284be659e62) )   // CB CC -std-
29232923ROM_END
29242924
2925ROM_START( pbobbl3j )
2925ROM_START( pbobble3j )
29262926   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
29272927    ROM_LOAD32_BYTE("e29-12.rom", 0x000000, 0x80000, CRC(9eb19a00) SHA1(5a6417e4377070f9f01110dc6d513d0de01cff1e) )
29282928   ROM_LOAD32_BYTE("e29-11.rom", 0x000001, 0x80000, CRC(e54ada97) SHA1(325e2bc7156656cc262989910dde07a1746cf790) )
r5338r5339
30603060   ROM_LOAD( "palce16v8q-d77-15a.bin", 0x0800, 0x0117, CRC(0edf820a) SHA1(6bfcc711a15a31dd57e863c46537df9de1a66c2f) )
30613061ROM_END
30623062
3063ROM_START( puchicrj )
3063ROM_START( puchicarj )
30643064   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
30653065    ROM_LOAD32_BYTE("e46-16", 0x000000, 0x80000, CRC(cf2accdf) SHA1(b1e9808299a3c68c939009275108ee76cd7f5749) )
30663066   ROM_LOAD32_BYTE("e46-15", 0x000001, 0x80000, CRC(c32c6ed8) SHA1(b0c4cca836e6957ecabdaddff23439f9d038a161) )
r5338r5339
31363136   ROM_LOAD( "palce16v8q-d77-15.bin", 0x0800, 0x0117, NO_DUMP ) /* PAL is read protected */
31373137ROM_END
31383138
3139ROM_START( pbobbl4j )
3139ROM_START( pbobble4j )
31403140   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
31413141    ROM_LOAD32_BYTE("e49-12.20", 0x000000, 0x80000, CRC(fffea203) SHA1(6351209c78099f270c8d8c8aa4a2dd9ce126c4ed) )
31423142   ROM_LOAD32_BYTE("e49-11.19", 0x000001, 0x80000, CRC(bf69a087) SHA1(2acbdb7faf5bdb1d9b5b9506c0b6f02fedcbd6a5) )
r5338r5339
31723172   ROM_LOAD( "palce16v8q-d77-15.bin", 0x0800, 0x0117, NO_DUMP ) /* PAL is read protected */
31733173ROM_END
31743174
3175ROM_START( pbobbl4u )
3175ROM_START( pbobble4u )
31763176   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
31773177    ROM_LOAD32_BYTE("e49-12.20", 0x000000, 0x80000, CRC(fffea203) SHA1(6351209c78099f270c8d8c8aa4a2dd9ce126c4ed) )
31783178   ROM_LOAD32_BYTE("e49-11.19", 0x000001, 0x80000, CRC(bf69a087) SHA1(2acbdb7faf5bdb1d9b5b9506c0b6f02fedcbd6a5) )
r5338r5339
33853385   ROM_LOAD16_BYTE("e61-06.40", 0xc00000, 0x200000, CRC(2e717bfe) SHA1(1be54cd2ec65d8fd49a5c09b5d27791fd7a320d4) )   // D0 D1 D2 D3
33863386ROM_END
33873387
3388ROM_START( landmkrp )
3388ROM_START( landmakrp )
33893389   ROM_REGION(0x200000, "maincpu", 0) /* 68020 code */
33903390    ROM_LOAD32_BYTE("mpro-3.60", 0x000000, 0x80000, CRC(f92eccd0) SHA1(88e836390be1ca08c578080662d17007a9e0bcc3) )
33913391   ROM_LOAD32_BYTE("mpro-2.61", 0x000001, 0x80000, CRC(5a26c9e0) SHA1(e7f09722f6b7a459248c2c8ad0a2695365cc78dc) )
r5338r5339
38123812/******************************************************************************/
38133813
38143814GAME( 1992, ringrage, 0,        f3_224a, f3, ringrage, ROT0,   "Taito Corporation Japan",   "Ring Rage (Ver 2.3O 1992/08/09)", GAME_IMPERFECT_SOUND )
3815GAME( 1992, ringragj, ringrage, f3_224a, f3, ringrage, ROT0,   "Taito Corporation",         "Ring Rage (Ver 2.3J 1992/08/09)", GAME_IMPERFECT_SOUND )
3816GAME( 1992, ringragu, ringrage, f3_224a, f3, ringrage, ROT0,   "Taito America Corporation", "Ring Rage (Ver 2.3A 1992/08/09)", GAME_IMPERFECT_SOUND )
3815GAME( 1992, ringragej,ringrage, f3_224a, f3, ringrage, ROT0,   "Taito Corporation",         "Ring Rage (Ver 2.3J 1992/08/09)", GAME_IMPERFECT_SOUND )
3816GAME( 1992, ringrageu,ringrage, f3_224a, f3, ringrage, ROT0,   "Taito America Corporation", "Ring Rage (Ver 2.3A 1992/08/09)", GAME_IMPERFECT_SOUND )
38173817GAME( 1992, arabianm, 0,        f3_224a, f3, arabianm, ROT0,   "Taito Corporation Japan",   "Arabian Magic (Ver 1.0O 1992/07/06)", 0 )
3818GAME( 1992, arabiamj, arabianm, f3_224a, f3, arabianm, ROT0,   "Taito Corporation",         "Arabian Magic (Ver 1.0J 1992/07/06)", 0 )
3819GAME( 1992, arabiamu, arabianm, f3_224a, f3, arabianm, ROT0,   "Taito America Corporation", "Arabian Magic (Ver 1.0A 1992/07/06)", 0 )
3818GAME( 1992, arabianmj,arabianm, f3_224a, f3, arabianm, ROT0,   "Taito Corporation",         "Arabian Magic (Ver 1.0J 1992/07/06)", 0 )
3819GAME( 1992, arabianmu,arabianm, f3_224a, f3, arabianm, ROT0,   "Taito America Corporation", "Arabian Magic (Ver 1.0A 1992/07/06)", 0 )
38203820GAME( 1992, ridingf,  0,        f3_224b, f3, ridingf,  ROT0,   "Taito Corporation Japan",   "Riding Fight (Ver 1.0O)", GAME_NO_SOUND )
3821GAME( 1992, ridefgtj, ridingf,  f3_224b, f3, ridingf,  ROT0,   "Taito Corporation",         "Riding Fight (Ver 1.0J)", GAME_NO_SOUND )
3822GAME( 1992, ridefgtu, ridingf,  f3_224b, f3, ridingf,  ROT0,   "Taito America Corporation", "Riding Fight (Ver 1.0A)", GAME_NO_SOUND )
3821GAME( 1992, ridingfj, ridingf,  f3_224b, f3, ridingf,  ROT0,   "Taito Corporation",         "Riding Fight (Ver 1.0J)", GAME_NO_SOUND )
3822GAME( 1992, ridingfu, ridingf,  f3_224b, f3, ridingf,  ROT0,   "Taito America Corporation", "Riding Fight (Ver 1.0A)", GAME_NO_SOUND )
38233823GAME( 1992, gseeker,  0,        f3_224b, f3, gseeker,  ROT90,  "Taito Corporation Japan",   "Grid Seeker: Project Storm Hammer (Ver 1.3O)", 0 )
38243824GAME( 1992, gseekerj, gseeker,  f3_224b, f3, gseeker,  ROT90,  "Taito Corporation",         "Grid Seeker: Project Storm Hammer (Ver 1.3J)", 0 )
38253825GAME( 1992, gseekeru, gseeker,  f3_224b, f3, gseeker,  ROT90,  "Taito America Corporation", "Grid Seeker: Project Storm Hammer (Ver 1.3A)", 0 )
r5338r5339
38293829GAME( 1993, hthero93, cupfinal, f3_224a, f3, cupfinal, ROT0,   "Taito Corporation",         "Hat Trick Hero '93 (Ver 1.0J 1993/02/28)", 0 )
38303830GAME( 1993, trstar,   0,        f3,      f3, trstaroj, ROT0,   "Taito Corporation Japan",   "Top Ranking Stars (Ver 2.1O 1993/05/21) (New Version)", 0 )
38313831GAME( 1993, trstarj,  trstar,   f3,      f3, trstaroj, ROT0,   "Taito Corporation",         "Top Ranking Stars (Ver 2.1J 1993/05/21) (New Version)", 0 )
3832GAME( 1993, prmtmfgt, trstar,   f3,      f3, trstaroj, ROT0,   "Taito America Corporation", "Prime Time Fighter (Ver 2.1A 1993/05/21) (New Version)", 0 )
38333832GAME( 1993, trstaro,  trstar,   f3,      f3, trstaroj, ROT0,   "Taito Corporation Japan",   "Top Ranking Stars (Ver 2.1O 1993/05/21) (Old Version)", 0 )
38343833GAME( 1993, trstaroj, trstar,   f3,      f3, trstaroj, ROT0,   "Taito Corporation",         "Top Ranking Stars (Ver 2.1J 1993/05/21) (Old Version)", 0 )
3835GAME( 1993, prmtmfgo, trstar,   f3,      f3, trstaroj, ROT0,   "Taito America Corporation", "Prime Time Fighter (Ver 2.1A 1993/05/21) (Old Version)", 0 )
3834GAME( 1993, prmtmfgt, trstar,   f3,      f3, trstaroj, ROT0,   "Taito America Corporation", "Prime Time Fighter (Ver 2.1A 1993/05/21) (New Version)", 0 )
3835GAME( 1993, prmtmfgto,trstar,   f3,      f3, trstaroj, ROT0,   "Taito America Corporation", "Prime Time Fighter (Ver 2.1A 1993/05/21) (Old Version)", 0 )
38363836GAME( 1993, gunlock,  0,        f3_224a, f3, gunlock,  ROT90,  "Taito Corporation Japan",   "Gunlock (Ver 2.3O 1994/01/20)", 0 )
3837GAME( 1993, rayforcj, gunlock,  f3_224a, f3, gunlock,  ROT90,  "Taito Corporation",         "Ray Force (Ver 2.3J 1994/01/20)", 0 )
3837GAME( 1993, rayforcej,gunlock,  f3_224a, f3, gunlock,  ROT90,  "Taito Corporation",         "Ray Force (Ver 2.3J 1994/01/20)", 0 )
38383838GAME( 1993, rayforce, gunlock,  f3_224a, f3, gunlock,  ROT90,  "Taito America Corporation", "Ray Force (Ver 2.3A 1994/01/20)", 0 )
38393839GAME( 1993, scfinals, 0,        f3_224a, f3, scfinals, ROT0,   "Taito Corporation Japan",   "Super Cup Finals (Ver 2.1O 1993/11/19)", 0 )
38403840GAME( 1993, dungeonm, 0,        f3_224a, f3, lightbr,  ROT0,   "Taito Corporation Japan",   "Dungeon Magic (Ver 2.1O 1994/02/18)", 0 )
38413841GAME( 1993, lightbr,  dungeonm, f3_224a, f3, lightbr,  ROT0,   "Taito Corporation",         "Light Bringer (Ver 2.1J 1994/02/18)", 0 )
3842GAME( 1993, dungenmu, dungeonm, f3_224a, f3, lightbr,  ROT0,   "Taito America Corporation", "Dungeon Magic (Ver 2.1A 1994/02/18)", 0 )
3842GAME( 1993, dungeonmu,dungeonm, f3_224a, f3, lightbr,  ROT0,   "Taito America Corporation", "Dungeon Magic (Ver 2.1A 1994/02/18)", 0 )
38433843GAME( 1994, intcup94, 0,        f3_224a, f3, intcup94, ROT0,   "Taito Corporation Japan",   "International Cup '94 (Ver 2.2O 1994/05/26)", 0 )
38443844GAME( 1994, hthero94, intcup94, f3_224a, f3, intcup94, ROT0,   "Taito America Corporation", "Hat Trick Hero '94 (Ver 2.2A 1994/05/26)", 0 )
38453845GAME( 1994, kaiserkn, 0,        f3_224a, kn, kaiserkn, ROT0,   "Taito Corporation Japan",   "Kaiser Knuckle (Ver 2.1O 1994/07/29)", 0 )
3846GAME( 1994, kaiserkj, kaiserkn, f3_224a, kn, kaiserkn, ROT0,   "Taito Corporation",         "Kaiser Knuckle (Ver 2.1J 1994/07/29)", 0 )
3846GAME( 1994, kaiserknj,kaiserkn, f3_224a, kn, kaiserkn, ROT0,   "Taito Corporation",         "Kaiser Knuckle (Ver 2.1J 1994/07/29)", 0 )
38473847GAME( 1994, gblchmp,  kaiserkn, f3_224a, kn, kaiserkn, ROT0,   "Taito America Corporation", "Global Champion (Ver 2.1A 1994/07/29)", 0 )
38483848GAME( 1994, dankuga,  kaiserkn, f3_224a, kn, kaiserkn, ROT0,   "Taito Corporation",         "Dan-Ku-Ga (Ver 0.0J 1994/12/13) (Prototype)", 0 )
38493849GAME( 1994, dariusg,  0,        f3,      f3, dariusg,  ROT0,   "Taito Corporation Japan",   "Darius Gaiden - Silver Hawk (Ver 2.5O 1994/09/19)", 0 )
r5338r5339
38513851GAME( 1994, dariusgu, dariusg,  f3,      f3, dariusg,  ROT0,   "Taito America Corporation", "Darius Gaiden - Silver Hawk (Ver 2.5A 1994/09/19)", 0 )
38523852GAME( 1994, dariusgx, dariusg,  f3,      f3, dariusg,  ROT0,   "Taito Corporation",         "Darius Gaiden - Silver Hawk Extra Version (Ver 2.7J 1995/03/06) (Official Hack)", 0 )
38533853GAME( 1994, bublbob2, 0,        f3_224a, f3, bubsymph, ROT0,   "Taito Corporation Japan",   "Bubble Bobble II (Ver 2.5O 1994/10/05)", 0 )
3854GAME( 1994, bubsympe, bublbob2, f3_224a, f3, bubsymph, ROT0,   "Taito Corporation Japan",   "Bubble Symphony (Ver 2.5O 1994/10/05)", 0 )
3855GAME( 1994, bubsympu, bublbob2, f3_224a, f3, bubsymph, ROT0,   "Taito America Corporation", "Bubble Symphony (Ver 2.5A 1994/10/05)", 0 )
3856GAME( 1994, bubsymph, bublbob2, f3_224a, f3, bubsymph, ROT0,   "Taito Corporation",         "Bubble Symphony (Ver 2.5J 1994/10/05)", 0 )
3857GAME( 1994, bubsympb, bublbob2, bubsympb,f3, bubsympb, ROT0,   "bootleg",                   "Bubble Symphony (bootleg with OKI6295)", GAME_NOT_WORKING ) // backgrounds don't display
3854GAME( 1994, bubsymphe,bublbob2, f3_224a, f3, bubsymph, ROT0,   "Taito Corporation Japan",   "Bubble Symphony (Ver 2.5O 1994/10/05)", 0 )
3855GAME( 1994, bubsymphu,bublbob2, f3_224a, f3, bubsymph, ROT0,   "Taito America Corporation", "Bubble Symphony (Ver 2.5A 1994/10/05)", 0 )
3856GAME( 1994, bubsymphj,bublbob2, f3_224a, f3, bubsymph, ROT0,   "Taito Corporation",         "Bubble Symphony (Ver 2.5J 1994/10/05)", 0 )
3857GAME( 1994, bubsymphb,bublbob2, bubsympb,f3, bubsympb, ROT0,   "bootleg",                   "Bubble Symphony (bootleg with OKI6295)", GAME_NOT_WORKING ) // backgrounds don't display
38583858GAME( 1994, spcinvdj, spacedx,  f3,      f3, spcinvdj, ROT0,   "Taito Corporation",         "Space Invaders DX (Ver 2.6J 1994/09/14) (F3 Version)", 0 )
38593859GAME( 1994, pwrgoal,  0,        f3_224a, f3, hthero95, ROT0,   "Taito Corporation Japan",   "Taito Power Goal (Ver 2.5O 1994/11/03)", 0 )
38603860GAME( 1994, hthero95, pwrgoal,  f3_224a, f3, hthero95, ROT0,   "Taito Corporation",         "Hat Trick Hero '95 (Ver 2.5J 1994/11/03)", 0 )
3861GAME( 1994, hthro95u, pwrgoal,  f3_224a, f3, hthero95, ROT0,   "Taito America Corporation", "Hat Trick Hero '95 (Ver 2.5A 1994/11/03)", 0 )
3861GAME( 1994, hthero95u,pwrgoal,  f3_224a, f3, hthero95, ROT0,   "Taito America Corporation", "Hat Trick Hero '95 (Ver 2.5A 1994/11/03)", 0 )
38623862GAME( 1994, qtheater, 0,        f3_224c, f3, qtheater, ROT0,   "Taito Corporation",         "Quiz Theater - 3tsu no Monogatari (Ver 2.3J 1994/11/10)", 0 )
38633863GAME( 1994, elvactr,  0,        f3,      f3, elvactr,  ROT0,   "Taito Corporation Japan",   "Elevator Action Returns (Ver 2.2O 1995/02/20)", 0 )
38643864GAME( 1994, elvactrj, elvactr,  f3,      f3, elvactr,  ROT0,   "Taito Corporation",         "Elevator Action Returns (Ver 2.2J 1995/02/20)", 0 )
r5338r5339
38663866/* There is also a prototype Elevator Action II (US) pcb with the graphics in a different rom format (same program code) */
38673867GAME( 1994, recalh,   0,        f3,      f3, recalh,   ROT0,   "Taito Corporation",         "Recalhorn (Ver 1.42J 1994/5/11) (Prototype)", 0 )
38683868GAME( 1995, spcinv95, 0,        f3_224a, f3, spcinv95, ROT270, "Taito Corporation Japan",   "Space Invaders '95: The Attack Of Lunar Loonies (Ver 2.5O 1995/06/14)", 0 )
3869GAME( 1995, spcnv95u, spcinv95, f3_224a, f3, spcinv95, ROT270, "Taito America Corporation", "Space Invaders '95: The Attack Of Lunar Loonies (Ver 2.5A 1995/06/14)", 0 )
3869GAME( 1995, spcinv95u,spcinv95, f3_224a, f3, spcinv95, ROT270, "Taito America Corporation", "Space Invaders '95: The Attack Of Lunar Loonies (Ver 2.5A 1995/06/14)", 0 )
38703870GAME( 1995, akkanvdr, spcinv95, f3_224a, f3, spcinv95, ROT270, "Taito Corporation",         "Akkanbeder (Ver 2.5J 1995/06/14)", 0 )
38713871GAME( 1995, twinqix,  0,        f3_224a, f3, twinqix,  ROT0,   "Taito America Corporation", "Twin Qix (Ver 1.0A 1995/01/17) (Prototype)", 0 )
38723872GAME( 1995, quizhuhu, 0,        f3,      f3, quizhuhu, ROT0,   "Taito Corporation",         "Moriguchi Hiroko no Quiz de Hyuu!Hyuu! (Ver 2.2J 1995/05/25)", 0 )
38733873GAME( 1995, pbobble2, 0,        f3,      f3, pbobbl2p, ROT0,   "Taito Corporation Japan",   "Puzzle Bobble 2 (Ver 2.3O 1995/07/31)", 0 )
3874GAME( 1995, pbobbl2o, pbobble2, f3,      f3, pbobble2, ROT0,   "Taito Corporation Japan",   "Puzzle Bobble 2 (Ver 2.2O 1995/07/20)", 0 )
3875GAME( 1995, pbobbl2j, pbobble2, f3,      f3, pbobble2, ROT0,   "Taito Corporation",         "Puzzle Bobble 2 (Ver 2.2J 1995/07/20)", 0 )
3876GAME( 1995, pbobbl2u, pbobble2, f3,      f3, pbobble2, ROT0,   "Taito America Corporation", "Bust-A-Move Again (Ver 2.3A 1995/07/31)", 0 )
3877GAME( 1995, pbobbl2x, pbobble2, f3,      f3, pbobbl2x, ROT0,   "Taito Corporation",         "Puzzle Bobble 2X (Ver 2.2J 1995/11/11)", 0 )
3874GAME( 1995, pbobble2o,pbobble2, f3,      f3, pbobble2, ROT0,   "Taito Corporation Japan",   "Puzzle Bobble 2 (Ver 2.2O 1995/07/20)", 0 )
3875GAME( 1995, pbobble2j,pbobble2, f3,      f3, pbobble2, ROT0,   "Taito Corporation",         "Puzzle Bobble 2 (Ver 2.2J 1995/07/20)", 0 )
3876GAME( 1995, pbobble2u,pbobble2, f3,      f3, pbobble2, ROT0,   "Taito America Corporation", "Bust-A-Move Again (Ver 2.3A 1995/07/31)", 0 )
3877GAME( 1995, pbobble2x,pbobble2, f3,      f3, pbobbl2x, ROT0,   "Taito Corporation",         "Puzzle Bobble 2X (Ver 2.2J 1995/11/11)", 0 )
38783878GAME( 1995, gekirido, 0,        f3,      f3, gekirido, ROT270, "Taito Corporation",         "Gekirindan (Ver 2.3J 1995/09/21)", 0 )
38793879GAME( 1995, tcobra2,  0,        f3,      f3, ktiger2,  ROT270, "Taito Corporation Japan",   "Twin Cobra II (Ver 2.1O 1995/11/30)", 0 )
38803880GAME( 1995, tcobra2u, tcobra2,  f3,      f3, ktiger2,  ROT270, "Taito America Corporation", "Twin Cobra II (Ver 2.1A 1995/11/30)", 0 )
r5338r5339
38833883GAME( 1995, bubblemj, bubblem,  f3_224a, f3, bubblem,  ROT0,   "Taito Corporation",         "Bubble Memories: The Story Of Bubble Bobble III (Ver 2.3J 1996/02/07)", 0 )
38843884GAME( 1996, cleopatr, 0,        f3_224a, f3, cleopatr, ROT0,   "Taito Corporation",         "Cleopatra Fortune (Ver 2.1J 1996/09/05)", 0 )
38853885GAME( 1996, pbobble3, 0,        f3,      f3, pbobble3, ROT0,   "Taito Corporation",         "Puzzle Bobble 3 (Ver 2.1O 1996/09/27)", 0 )
3886GAME( 1996, pbobbl3u, pbobble3, f3,      f3, pbobble3, ROT0,   "Taito Corporation",         "Puzzle Bobble 3 (Ver 2.1A 1996/09/27)", 0 )
3887GAME( 1996, pbobbl3j, pbobble3, f3,      f3, pbobble3, ROT0,   "Taito Corporation",         "Puzzle Bobble 3 (Ver 2.1J 1996/09/27)", 0 )
3886GAME( 1996, pbobble3u,pbobble3, f3,      f3, pbobble3, ROT0,   "Taito Corporation",         "Puzzle Bobble 3 (Ver 2.1A 1996/09/27)", 0 )
3887GAME( 1996, pbobble3j,pbobble3, f3,      f3, pbobble3, ROT0,   "Taito Corporation",         "Puzzle Bobble 3 (Ver 2.1J 1996/09/27)", 0 )
38883888GAME( 1997, arkretrn, 0,        f3,      f3, arkretrn, ROT0,   "Taito Corporation",         "Arkanoid Returns (Ver 2.02J 1997/02/10)", 0 )
38893889GAME( 1997, kirameki, 0,        f3_224a, f3, kirameki, ROT0,   "Taito Corporation",         "Kirameki Star Road (Ver 2.10J 1997/08/29)", 0 )
38903890GAME( 1997, puchicar, 0,        f3,      f3, puchicar, ROT0,   "Taito Corporation",         "Puchi Carat (Ver 2.02O 1997/10/29)", 0 )
3891GAME( 1997, puchicrj, puchicar, f3,      f3, puchicar, ROT0,   "Taito Corporation",         "Puchi Carat (Ver 2.02J 1997/10/29)", 0 )
3891GAME( 1997, puchicarj,puchicar, f3,      f3, puchicar, ROT0,   "Taito Corporation",         "Puchi Carat (Ver 2.02J 1997/10/29)", 0 )
38923892GAME( 1997, pbobble4, 0,        f3,      f3, pbobble4, ROT0,   "Taito Corporation",         "Puzzle Bobble 4 (Ver 2.04O 1997/12/19)", 0 )
3893GAME( 1997, pbobbl4j, pbobble4, f3,      f3, pbobble4, ROT0,   "Taito Corporation",         "Puzzle Bobble 4 (Ver 2.04J 1997/12/19)", 0 )
3894GAME( 1997, pbobbl4u, pbobble4, f3,      f3, pbobble4, ROT0,   "Taito Corporation",         "Puzzle Bobble 4 (Ver 2.04A 1997/12/19)", 0 )
3893GAME( 1997, pbobble4j,pbobble4, f3,      f3, pbobble4, ROT0,   "Taito Corporation",         "Puzzle Bobble 4 (Ver 2.04J 1997/12/19)", 0 )
3894GAME( 1997, pbobble4u,pbobble4, f3,      f3, pbobble4, ROT0,   "Taito Corporation",         "Puzzle Bobble 4 (Ver 2.04A 1997/12/19)", 0 )
38953895GAME( 1997, popnpop,  0,        f3,      f3, popnpop,  ROT0,   "Taito Corporation",         "Pop'n Pop (Ver 2.07O 1998/02/09)", 0 )
38963896GAME( 1997, popnpopj, popnpop,  f3,      f3, popnpop,  ROT0,   "Taito Corporation",         "Pop'n Pop (Ver 2.07J 1998/02/09)", 0 )
38973897GAME( 1997, popnpopu, popnpop,  f3,      f3, popnpop,  ROT0,   "Taito Corporation",         "Pop'n Pop (Ver 2.07A 1998/02/09)", 0 )
38983898GAME( 1998, landmakr, 0,        f3,      f3, landmakr, ROT0,   "Taito Corporation",         "Land Maker (Ver 2.01J 1998/06/01)", 0 )
3899GAME( 1998, landmkrp, landmakr, f3,      f3, landmkrp, ROT0,   "Taito Corporation",         "Land Maker (Ver 2.02O 1998/06/02) (Prototype)", 0 )
3899GAME( 1998, landmakrp,landmakr, f3,      f3, landmkrp, ROT0,   "Taito Corporation",         "Land Maker (Ver 2.02O 1998/06/02) (Prototype)", 0 )
src/mame/drivers/gaelco2.c
r5338r5339
8181   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_UNKNOWN )
8282   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNKNOWN )
8383   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START1 )
84   PORT_DIPNAME( 0x0f00, 0x0f00, DEF_STR( Coin_A ) )
84   PORT_DIPNAME( 0x0f00, 0x0f00, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW1:1,2,3,4")
8585   PORT_DIPSETTING(      0x0700, DEF_STR( 4C_1C ) )
8686   PORT_DIPSETTING(      0x0800, DEF_STR( 3C_1C ) )
8787   PORT_DIPSETTING(      0x0900, DEF_STR( 2C_1C ) )
r5338r5339
9494   PORT_DIPSETTING(      0x0b00, DEF_STR( 1C_5C ) )
9595   PORT_DIPSETTING(      0x0a00, DEF_STR( 1C_6C ) )
9696   PORT_DIPSETTING(      0x0000, "Disabled or Free Play (if Coin B too)" )
97   PORT_DIPNAME( 0xf000, 0xf000, DEF_STR( Coin_B ) )
97   PORT_DIPNAME( 0xf000, 0xf000, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW1:5,6,7,8")
9898   PORT_DIPSETTING(      0x7000, DEF_STR( 4C_1C ) )
9999   PORT_DIPSETTING(      0x8000, DEF_STR( 3C_1C ) )
100100   PORT_DIPSETTING(      0x9000, DEF_STR( 2C_1C ) )
r5338r5339
117117   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_UNKNOWN )
118118   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNKNOWN )
119119   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START2 )
120   PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Difficulty ) )
120   PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:1,2")
121121   PORT_DIPSETTING(      0x0200, DEF_STR( Easy ) )
122122   PORT_DIPSETTING(      0x0300, DEF_STR( Normal ) )
123123   PORT_DIPSETTING(      0x0100, DEF_STR( Hard ) )
124124   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
125   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unknown ) )
125   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:3")
126   PORT_DIPSETTING(      0x0400, DEF_STR( Off ) )
127   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
128   PORT_DIPNAME( 0x0800, 0x0800, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:4")
129   PORT_DIPSETTING(      0x0800, DEF_STR( Off ) )
130   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
131   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:5")
132   PORT_DIPSETTING(      0x1000, DEF_STR( Off ) )
133   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
134   PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:6")
126135   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
127   PORT_DIPSETTING(      0x0400, DEF_STR( On ) )
128   PORT_DIPNAME( 0x0800, 0x0800, DEF_STR( Unknown ) )
129   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
130   PORT_DIPSETTING(      0x0800, DEF_STR( On ) )
131   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Unknown ) )
132   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
133   PORT_DIPSETTING(      0x1000, DEF_STR( On ) )
134   PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Demo_Sounds ) )
135   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
136136   PORT_DIPSETTING(      0x2000, DEF_STR( On ) )
137   PORT_DIPNAME( 0x4000, 0x4000, "1P Continue" )
137   PORT_DIPNAME( 0x4000, 0x4000, "1P Continue" ) PORT_DIPLOCATION("SW2:7")
138138   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
139139   PORT_DIPSETTING(      0x4000, DEF_STR( On ) )
140   PORT_SERVICE( 0x8000, IP_ACTIVE_LOW )
140   PORT_SERVICE_DIPLOC( 0x8000, IP_ACTIVE_LOW, "SW2:8" )
141141
142142   PORT_START("COIN")
143143   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 )
r5338r5339
445445   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1)
446446   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1)
447447   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START1 )
448   PORT_DIPNAME( 0x0f00, 0x0f00, DEF_STR( Coin_A ) )
448   PORT_DIPNAME( 0x0f00, 0x0f00, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW1:1,2,3,4")
449449   PORT_DIPSETTING(      0x0700, DEF_STR( 4C_1C ) )
450450   PORT_DIPSETTING(      0x0800, DEF_STR( 3C_1C ) )
451451   PORT_DIPSETTING(      0x0900, DEF_STR( 2C_1C ) )
r5338r5339
458458   PORT_DIPSETTING(      0x0b00, DEF_STR( 1C_5C ) )
459459   PORT_DIPSETTING(      0x0a00, DEF_STR( 1C_6C ) )
460460   PORT_DIPSETTING(      0x0000, "Disabled or Free Play (if Coin B too)" )
461   PORT_DIPNAME( 0xf000, 0xf000, DEF_STR( Coin_B ) )
461   PORT_DIPNAME( 0xf000, 0xf000, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW1:5,6,7,8")
462462   PORT_DIPSETTING(      0x7000, DEF_STR( 4C_1C ) )
463463   PORT_DIPSETTING(      0x8000, DEF_STR( 3C_1C ) )
464464   PORT_DIPSETTING(      0x9000, DEF_STR( 2C_1C ) )
r5338r5339
481481   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)
482482   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2)
483483   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START2 )
484   PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Difficulty ) )
484   PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:1,2")
485485   PORT_DIPSETTING(      0x0200, DEF_STR( Easy ) )
486486   PORT_DIPSETTING(      0x0300, DEF_STR( Normal ) )
487487   PORT_DIPSETTING(      0x0100, DEF_STR( Hard ) )
488488   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
489   PORT_DIPNAME( 0x0c00, 0x0c00, DEF_STR( Lives ) )
489   PORT_DIPNAME( 0x0c00, 0x0c00, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:3,4")
490490   PORT_DIPSETTING(      0x0800, "1" )
491491   PORT_DIPSETTING(      0x0c00, "2" )
492492   PORT_DIPSETTING(      0x0400, "3" )
493493   PORT_DIPSETTING(      0x0000, "4" )
494   PORT_DIPNAME( 0x1000, 0x1000, "Sound Type" )
494   PORT_DIPNAME( 0x1000, 0x1000, "Sound Type" ) PORT_DIPLOCATION("SW2:5")
495495   PORT_DIPSETTING(      0x0000, DEF_STR( Mono ) )
496496   PORT_DIPSETTING(      0x1000, DEF_STR( Stereo ) )
497   PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Demo_Sounds ) )
497   PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:6")
498498   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
499499   PORT_DIPSETTING(      0x2000, DEF_STR( On ) )
500   PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Joystick ) )
500   PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Joystick ) ) PORT_DIPLOCATION("SW2:7")
501501   PORT_DIPSETTING(      0x0000, "Analog" )      /* TO-DO */
502502   PORT_DIPSETTING(      0x4000, DEF_STR( Standard ) )
503   PORT_SERVICE( 0x8000, IP_ACTIVE_LOW )
503   PORT_SERVICE_DIPLOC( 0x8000, IP_ACTIVE_LOW, "SW2:8" )
504504
505505   PORT_START("COIN")
506506   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 )
r5338r5339
603603   ROM_LOAD( "u49",      0x0c00000, 0x0400000, CRC(70a4ee0b) SHA1(07b09916f0366d0c6eed94a905ec0b9d6ac9e7e1) )   /* GFX + Sound */
604604ROM_END
605605
606ROM_START( aligatun )
606ROM_START( aligatorun )
607607   ROM_REGION( 0x100000, "maincpu", 0 )   /* 68000 code */
608608   ROM_LOAD16_BYTE(   "ahntu45n.040",   0x000000, 0x080000, CRC(fc02cb2d) SHA1(700aa60ec0d2bb705b1335de63daae678dcb8570) )
609609   ROM_LOAD16_BYTE(   "ahntu44n.040",   0x000001, 0x080000, CRC(7fbea3a3) SHA1(89efa5b7908c2f010a3097954dbccd9cb7adc50c) )
r5338r5339
658658   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1)
659659   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1)
660660   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START1 )
661   PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Difficulty ) )
661   PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:1,2")
662662   PORT_DIPSETTING(      0x0200, DEF_STR( Easy ) )
663663   PORT_DIPSETTING(      0x0300, DEF_STR( Normal ) )
664664   PORT_DIPSETTING(      0x0100, DEF_STR( Hard ) )
665665   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
666   PORT_DIPNAME( 0x0400, 0x0400, "Credit configuration" )
666   PORT_DIPNAME( 0x0400, 0x0400, "Credit configuration" ) PORT_DIPLOCATION("SW2:3")
667667   PORT_DIPSETTING(      0x0400, "1 Credit Start/1 Credit Continue" )
668668   PORT_DIPSETTING(      0x0000, "2 Credits Start/1 Credit Continue" )
669   PORT_DIPNAME( 0x0800, 0x0800, "Coin Slot" )
669   PORT_DIPNAME( 0x0800, 0x0800, "Coin Slot" ) PORT_DIPLOCATION("SW2:4")
670670   PORT_DIPSETTING(      0x0800, "Independent" )
671671   PORT_DIPSETTING(      0x0000, "Common" )
672   PORT_DIPNAME( 0x3000, 0x0000, "Monitor Type" )
672   PORT_DIPNAME( 0x3000, 0x0000, "Monitor Type" ) PORT_DIPLOCATION("SW2:5,6")
673673   PORT_DIPSETTING(      0x0000, "Double monitor, 4 players" )
674674   PORT_DIPSETTING(      0x2000, "Single monitor, 4 players" )
675675   PORT_DIPSETTING(      0x3000, "Single monitor, 2 players" )
676   PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Demo_Sounds ) )
676   PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:7")
677677   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
678678   PORT_DIPSETTING(      0x4000, DEF_STR( On ) )
679   PORT_SERVICE( 0x8000, IP_ACTIVE_LOW )
679   PORT_SERVICE_DIPLOC( 0x8000, IP_ACTIVE_LOW, "SW2:8" )
680680
681681   PORT_START("IN1")
682682   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2)
r5338r5339
688688   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2)
689689   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START2 )
690690   PORT_DIPNAME( 0x0f00, 0x0f00, DEF_STR( Coin_A ) )
691   PORT_DIPSETTING(      0x0000, "Disabled or Free Play (if Coin B too)" )
691   PORT_DIPSETTING(      0x0000, "Disabled or Free Play (if Coin B too)" ) PORT_DIPLOCATION("SW1:1,2,3,4")
692692   PORT_DIPSETTING(      0x0300, DEF_STR( 4C_1C ) )
693693   PORT_DIPSETTING(      0x0600, DEF_STR( 3C_1C ) )
694694   PORT_DIPSETTING(      0x0900, DEF_STR( 2C_1C ) )
r5338r5339
705705   PORT_DIPSETTING(      0x0b00, DEF_STR( 1C_5C ) )
706706   PORT_DIPSETTING(      0x0a00, DEF_STR( 1C_6C ) )
707707   PORT_DIPNAME( 0xf000, 0xf000, DEF_STR( Coin_B ) )
708   PORT_DIPSETTING(      0x0000, "Disabled or Free Play (if Coin A too)" )
708   PORT_DIPSETTING(      0x0000, "Disabled or Free Play (if Coin A too)" ) PORT_DIPLOCATION("SW1:5,6,7,8")
709709   PORT_DIPSETTING(      0x3000, DEF_STR( 4C_1C ) )
710710   PORT_DIPSETTING(      0x6000, DEF_STR( 3C_1C ) )
711711   PORT_DIPSETTING(      0x9000, DEF_STR( 2C_1C ) )
r5338r5339
10401040   ROM_LOAD( "sb46",      0x0800000, 0x0400000, CRC(22e7c648) SHA1(baddb9bc13accd83bea61533d7286cf61cd89279) )   /* GFX only */
10411041ROM_END
10421042
1043ROM_START( snowbalt )
1043ROM_START( snowboara )
10441044   ROM_REGION( 0x100000, "maincpu", 0 )   /* 68000 code */
10451045   ROM_LOAD16_BYTE(   "sb.53",   0x000000, 0x080000, CRC(4742749e) SHA1(933e39893ab74895ae4a99a932f8245a03ea0b5d) )
10461046   ROM_LOAD16_BYTE(   "sb.55",   0x000001, 0x080000, CRC(6ddc431f) SHA1(8801c0cf1711bb956447ba1e631db28bd075caea) )
r5338r5339
11111111   PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(1) PORT_NAME("P1 Gear") PORT_TOGGLE
11121112   PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_SPECIAL) PORT_CUSTOM(wrally2_analog_bit_r, (void *)0)   /* ADC_1 serial input */
11131113   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START1 )
1114   PORT_SERVICE( 0x0100, IP_ACTIVE_LOW )
1115   PORT_DIPNAME( 0x0200, 0x0000, "Coin mechanism" )
1114   PORT_SERVICE_DIPLOC(  0x0100, IP_ACTIVE_LOW, "SW2:1" )
1115   PORT_DIPNAME( 0x0200, 0x0000, "Coin mechanism" ) PORT_DIPLOCATION("SW2:2")
11161116   PORT_DIPSETTING(      0x0000, "Common" )
11171117   PORT_DIPSETTING(      0x0200, "Independent" )
1118   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Demo_Sounds ) )
1118   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:3")
11191119   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
11201120   PORT_DIPSETTING(      0x0400, DEF_STR( On ) )
1121   PORT_DIPNAME( 0x0800, 0x0800, "Cabinet 1 Control Configuration" )
1121   PORT_DIPNAME( 0x0800, 0x0800, "Cabinet 1 Control Configuration" ) PORT_DIPLOCATION("SW2:4")
11221122   PORT_DIPSETTING(      0x0000, "Pot Wheel" )
11231123   PORT_DIPSETTING(      0x0800, DEF_STR( Joystick ) )
1124   PORT_DIPNAME( 0x1000, 0x1000, "Cabinet 2 Control Configuration" )
1124   PORT_DIPNAME( 0x1000, 0x1000, "Cabinet 2 Control Configuration" ) PORT_DIPLOCATION("SW2:5")
11251125   PORT_DIPSETTING(      0x0000, "Pot Wheel" )
11261126   PORT_DIPSETTING(      0x1000, DEF_STR( Joystick ) )
1127   PORT_DIPNAME( 0x2000, 0x2000, "Monitors" )
1127   PORT_DIPNAME( 0x2000, 0x2000, "Monitors" ) PORT_DIPLOCATION("SW2:6")
11281128   PORT_DIPSETTING(      0x0000, "One" )
11291129   PORT_DIPSETTING(      0x2000, "Two" )
1130   PORT_DIPNAME( 0xc000, 0xc000, DEF_STR( Difficulty ) )
1130   PORT_DIPNAME( 0xc000, 0xc000, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:7,8")
11311131   PORT_DIPSETTING(      0x4000, DEF_STR( Easy ) )
11321132   PORT_DIPSETTING(      0xc000, DEF_STR( Normal ) )
11331133   PORT_DIPSETTING(      0x8000, DEF_STR( Hard ) )
r5338r5339
11351135
11361136   PORT_START("IN1")
11371137   PORT_BIT( 0x00ff, IP_ACTIVE_LOW, IPT_UNUSED )
1138   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Free_Play ) )
1138   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("SW1:1")
11391139   PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
11401140   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1141   PORT_DIPNAME( 0x0200, 0x0200, "Credit configuration" )
1141   PORT_DIPNAME( 0x0200, 0x0200, "Credit configuration" ) PORT_DIPLOCATION("SW1:2")
11421142   PORT_DIPSETTING(      0x0000, "Start 2C/Continue 1C" )
11431143   PORT_DIPSETTING(      0x0200, "Start 1C/Continue 1C" )
1144   PORT_DIPNAME( 0x1c00, 0x1c00, DEF_STR( Coin_B ) )
1144   PORT_DIPNAME( 0x1c00, 0x1c00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW1:3,4,5")
11451145   PORT_DIPSETTING(      0x1800, DEF_STR( 4C_1C ) )
11461146   PORT_DIPSETTING(      0x1000, DEF_STR( 3C_1C ) )
11471147   PORT_DIPSETTING(      0x0800, DEF_STR( 2C_1C ) )
r5338r5339
11501150   PORT_DIPSETTING(      0x0c00, DEF_STR( 1C_2C ) )
11511151   PORT_DIPSETTING(      0x1400, DEF_STR( 1C_3C ) )
11521152   PORT_DIPSETTING(      0x0400, DEF_STR( 1C_4C ) )
1153   PORT_DIPNAME( 0xe000, 0xe000, DEF_STR( Coin_A ) )
1153   PORT_DIPNAME( 0xe000, 0xe000, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW1:6,7,8")
11541154   PORT_DIPSETTING(      0xc000, DEF_STR( 4C_1C ) )
11551155   PORT_DIPSETTING(      0x8000, DEF_STR( 3C_1C ) )
11561156   PORT_DIPSETTING(      0x4000, DEF_STR( 2C_1C ) )
r5338r5339
14161416   ROM_LOAD( "palce16v8h.u29",  0x0000, 0x0117, BAD_DUMP CRC(4a0a6f39) SHA1(57351e471649391c9abf110828fe2f128fe84eee) )
14171417ROM_END
14181418
1419GAME( 1994, aligator, 0,        alighunt, alighunt, alighunt, ROT0, "Gaelco", "Alligator Hunt", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
1420GAME( 1994, aligatun, aligator, alighunt, alighunt, alighunt, ROT0, "Gaelco", "Alligator Hunt (unprotected)", 0 )
1419GAME( 1994, aligator,   0,        alighunt, alighunt, alighunt, ROT0, "Gaelco", "Alligator Hunt", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
1420GAME( 1994, aligatorun, aligator, alighunt, alighunt, alighunt, ROT0, "Gaelco", "Alligator Hunt (unprotected)", 0 )
14211421GAME( 1995, touchgo,  0,        touchgo,  touchgo,  touchgo,  ROT0, "Gaelco", "Touch & Go (World)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
14221422GAME( 1995, touchgon, touchgo,  touchgo,  touchgo,  touchgo,  ROT0, "Gaelco", "Touch & Go (Non North America)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
14231423GAME( 1995, touchgoe, touchgo,  touchgo,  touchgo,  touchgo,  ROT0, "Gaelco", "Touch & Go (earlier revision)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
14241424GAME( 1995, wrally2,  0,        wrally2,  wrally2,  0,        ROT0, "Gaelco", "World Rally 2: Twin Racing", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
14251425GAME( 1996, maniacsq, 0,        maniacsq, maniacsq, 0,        ROT0, "Gaelco", "Maniac Square (unprotected)", 0 )
14261426GAME( 1996, snowboar, 0,        snowboar, snowboar, snowboar, ROT0, "Gaelco", "Snow Board Championship (set 1)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
1427GAME( 1996, snowbalt, snowboar, snowboar, snowboar, 0,        ROT0, "Gaelco", "Snow Board Championship (Version 2.1)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
1427GAME( 1996, snowboara,snowboar, snowboar, snowboar, 0,        ROT0, "Gaelco", "Snow Board Championship (Version 2.1)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
14281428GAME( 1998, bang,     0,        bang,     bang,     bang,     ROT0, "Gaelco", "Bang!", 0 )
14291429GAME( 1998, bangj,    bang,     bang,     bang,     bang,     ROT0, "Gaelco", "Gun Gabacho (Japan)", 0 )
14301430GAME( 1999, grtesoro, 0,        maniacsq, maniacsq, 0,        ROT0, "Nova Desitec", "Gran Tesoro? / Play 2000 (v5.01) (Italy)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
src/mame/drivers/champbas.c
r5338r5339
770770   ROM_LOAD( "champbb.pr1", 0x0020, 0x100, CRC(872dd450) SHA1(6c1e2c4a2fc072f4bf4996c731adb0b01b347506) ) /* look-up table */
771771ROM_END
772772
773ROM_START( champbbj )
773ROM_START( champbasj )
774774   ROM_REGION( 0x10000, "maincpu", 0 )
775775   ROM_LOAD( "11.2e", 0x0000, 0x2000, CRC(e2dfc166) SHA1(482e084d7d21b1cf2d17431699e6bab4c4b6ac15) )
776776   ROM_LOAD( "12.2g", 0x2000, 0x2000, CRC(7b4e5faa) SHA1(b7201816a819ef313ddc81f312d26982b83ef1c7) )
r5338r5339
795795   ROM_LOAD( "5k.bpr", 0x0020, 0x0100, CRC(2e481ffa) SHA1(bc8979efd43bee8be0ce96ebdacc873a5821e06e) ) /* look-up table */
796796ROM_END
797797
798ROM_START( champbja )
798ROM_START( champbasja )
799799   ROM_REGION( 0x10000, "maincpu", 0 )
800800   ROM_LOAD( "10", 0x0000, 0x2000, CRC(f7cdaf8e) SHA1(d4c840f2107394fadbcf822d64aaa381ac900367) )
801801   ROM_LOAD( "09", 0x2000, 0x2000, CRC(9d39e5b3) SHA1(11c1a1d2296c0bf16d7610eaa79b034bfd813740) )
r5338r5339
844844   ROM_LOAD( "pr5956", 0x0020, 0x100, CRC(872dd450) SHA1(6c1e2c4a2fc072f4bf4996c731adb0b01b347506) ) /* look-up table */
845845ROM_END
846846
847ROM_START( champb2a )
847ROM_START( champbb2a )
848848   ROM_REGION( 0x10000, "maincpu", 0 )
849849   ROM_LOAD( "1.bin", 0x0000, 0x2000, CRC(9b75b44d) SHA1(35b67638a5e48cbe999907e3c9c3a33da9d76bba) )
850850   ROM_LOAD( "2.bin", 0x2000, 0x2000, CRC(736a1b62) SHA1(24c2d57506754ca789b378a595c03b7591eb5b5c) )
r5338r5339
902902   ROM_LOAD( "prom2.8r",     0x0120, 0x0100, CRC(8a9c0edf) SHA1(8aad387e9409cff0eeb42eeb57e9ea88770a8c9a) ) /* lookup table */
903903ROM_END
904904
905ROM_START( exctscca )
905ROM_START( exctsccra )
906906   ROM_REGION( 0x10000, "maincpu", 0 )
907907   ROM_LOAD( "1_g10.bin",    0x0000, 0x2000, CRC(aa68df66) SHA1(f10cac5a4c5aad1e1eb8835174dc8d517bb2921a) )
908908   ROM_LOAD( "2_h10.bin",    0x2000, 0x2000, CRC(2d8f8326) SHA1(8809e7b081fa2a1966cb51ac969fd7b468d35be0) )
r5338r5339
932932   ROM_LOAD( "prom2.8r",     0x0120, 0x0100, CRC(8a9c0edf) SHA1(8aad387e9409cff0eeb42eeb57e9ea88770a8c9a) ) /* lookup table */
933933ROM_END
934934
935ROM_START( exctsccj )
935ROM_START( exctsccrj )
936936   ROM_REGION( 0x10000, "maincpu", 0 )
937937   ROM_LOAD( "1.10g",    0x0000, 0x2000, CRC(d1bfdf75) SHA1(a4a9bb340712401b1d24705c26d996a798776d4f) )
938938   ROM_LOAD( "2.10h",    0x2000, 0x2000, CRC(5c61f0fe) SHA1(8c6751b80f89d8744d3eaa2a6da2cafdde968ed2) )
r5338r5339
9789781x 2764 (daughter board kazutomi) (6)
9799792x 2732 (daughter board kazutomi) (7-8)
980980*/
981ROM_START( exctsccb )
981ROM_START( exctsccrb )
982982   ROM_REGION( 0x10000, "maincpu", 0 )
983983   ROM_LOAD( "es-1.e2",      0x0000, 0x2000, CRC(997c6a82) SHA1(60fe27a12eedd22c775b7e65c5ba692cfcf5ac74) )
984984   ROM_LOAD( "es-2.g2",      0x2000, 0x2000, CRC(5c66e792) SHA1(f7a7f32806965fa926261217cee3159ccd198d49) )
r5338r5339
10911091
10921092GAME( 1982, talbot,   0,        talbot,   talbot,   0,        ROT270, "Alpha Denshi Co. (Volt Electronics license)", "Talbot", 0 )
10931093
1094GAME( 1983, champbas, 0,        champbas, champbas, champbas, ROT0,   "[Alpha Denshi Co.] (Sega license)", "Champion Base Ball", 0 )
1095GAME( 1983, champbbj, champbas, champmcu, champbas, champbas, ROT0,   "Alpha Denshi Co.", "Champion Base Ball (Japan set 1)", 0 )
1096GAME( 1983, champbja, champbas, champbas, champbas, champbas, ROT0,   "Alpha Denshi Co.", "Champion Base Ball (Japan set 2)", 0 )
1097GAME( 1983, champbb2, 0,        champmcu, champbas, champbas, ROT0,   "[Alpha Denshi Co.] (Sega license)", "Champion Base Ball Part-2: Pair Play (set 1)", 0 )
1098GAME( 1983, champb2a, champbb2, champmcu, champbas, champbas, ROT0,   "Alpha Denshi Co.", "Champion Baseball II (set 2)", GAME_NOT_WORKING)   // no dump
1094GAME( 1983, champbas,  0,        champbas, champbas, champbas, ROT0,   "[Alpha Denshi Co.] (Sega license)", "Champion Base Ball", 0 )
1095GAME( 1983, champbasj, champbas, champmcu, champbas, champbas, ROT0,   "Alpha Denshi Co.", "Champion Base Ball (Japan set 1)", 0 )
1096GAME( 1983, champbasja,champbas, champbas, champbas, champbas, ROT0,   "Alpha Denshi Co.", "Champion Base Ball (Japan set 2)", 0 )
1097GAME( 1983, champbb2,  0,        champmcu, champbas, champbas, ROT0,   "[Alpha Denshi Co.] (Sega license)", "Champion Base Ball Part-2: Pair Play (set 1)", 0 )
1098GAME( 1983, champbb2a, champbb2, champmcu, champbas, champbas, ROT0,   "Alpha Denshi Co.", "Champion Baseball II (set 2)", GAME_NOT_WORKING)   // no dump
10991099
1100GAME( 1983, exctsccr, 0,        exctsccr, exctsccr, exctsccr, ROT270, "Alpha Denshi Co.", "Exciting Soccer", 0 )
1101GAME( 1983, exctscca, exctsccr, exctsccr, exctsccr, exctsccr, ROT270, "Alpha Denshi Co.", "Exciting Soccer (alternate music)", 0 )
1102GAME( 1983, exctsccj, exctsccr, exctsccr, exctsccr, exctsccr, ROT270, "Alpha Denshi Co.", "Exciting Soccer (Japan)", 0 )
1103GAME( 1983, exctsccb, exctsccr, exctsccb, exctsccr, exctsccr, ROT270, "bootleg",          "Exciting Soccer (bootleg)", 0 )
1104GAME( 1984, exctscc2, 0,        exctsccr, exctsccr, exctsccr, ROT270, "Alpha Denshi Co.", "Exciting Soccer II", 0 )
1100GAME( 1983, exctsccr,  0,        exctsccr, exctsccr, exctsccr, ROT270, "Alpha Denshi Co.", "Exciting Soccer", 0 )
1101GAME( 1983, exctsccra, exctsccr, exctsccr, exctsccr, exctsccr, ROT270, "Alpha Denshi Co.", "Exciting Soccer (alternate music)", 0 )
1102GAME( 1983, exctsccrj, exctsccr, exctsccr, exctsccr, exctsccr, ROT270, "Alpha Denshi Co.", "Exciting Soccer (Japan)", 0 )
1103GAME( 1983, exctsccrb, exctsccr, exctsccb, exctsccr, exctsccr, ROT270, "bootleg",          "Exciting Soccer (bootleg)", 0 )
1104GAME( 1984, exctscc2,  0,        exctsccr, exctsccr, exctsccr, ROT270, "Alpha Denshi Co.", "Exciting Soccer II", 0 )
src/mame/drivers/arkanoid.c
r5338r5339
829829   ROM_LOAD( "a75-09.bpr",    0x0400, 0x0200, CRC(a7c6c277) SHA1(adaa003dcd981576ea1cc5f697d709b2d6b2ea29) )   /* blue component */
830830ROM_END
831831
832ROM_START( arknoidu )
832ROM_START( arkanoidu )
833833   ROM_REGION( 0x10000, "maincpu", 0 )
834834   ROM_LOAD( "a75-19.bin",   0x0000, 0x8000, CRC(d3ad37d7) SHA1(a172a1ef5bb83ee2d8ed2842ef8968af19ad411e) )
835835   ROM_LOAD( "a75-18.bin",   0x8000, 0x8000, CRC(cdc08301) SHA1(05f54353cc8333af14fa985a2764960e20e8161a) )
r5338r5339
848848   ROM_LOAD( "a75-09.bpr",    0x0400, 0x0200, CRC(a7c6c277) SHA1(adaa003dcd981576ea1cc5f697d709b2d6b2ea29) )   /* blue component */
849849ROM_END
850850
851ROM_START( arknoiuo )
851ROM_START( arkanoiduo )
852852   ROM_REGION( 0x10000, "maincpu", 0 )
853853   ROM_LOAD( "a75-01-1.rom", 0x0000, 0x8000, CRC(5bcda3b0) SHA1(52cadd38b5f8e8856f007a9c602d6b508f30be65) )
854854   ROM_LOAD( "a75-10.rom",   0x8000, 0x8000, CRC(a1769e15) SHA1(fbb45731246a098b29eb08de5d63074b496aaaba) )
r5338r5339
886886   ROM_LOAD( "a75-35.35",    0x0400, 0x0200, CRC(38acfd3b) SHA1(2841e9db047aa039eff8567a518b6250b355507b) )   /* blue component */
887887ROM_END
888888
889ROM_START( arknoidj )
889ROM_START( arkanoidj )
890890   ROM_REGION( 0x10000, "maincpu", 0 )
891891   ROM_LOAD( "a75-21.rom",   0x0000, 0x8000, CRC(bf0455fc) SHA1(250522b84b9f491c3f4efc391bf6aa6124361369) )
892892   ROM_LOAD( "a75-22.rom",   0x8000, 0x8000, CRC(3a2688d3) SHA1(9633a661352def3d85f95ca830f6d761b0b5450e) )
r5338r5339
11831183
11841184/* Game Drivers */
11851185
1186GAME( 1986, arkanoid, 0,        arkanoid, arkanoid, 0,        ROT90, "Taito Corporation Japan", "Arkanoid (World)", GAME_SUPPORTS_SAVE )
1187GAME( 1986, arknoidu, arkanoid, arkanoid, arkanoid, 0,        ROT90, "Taito America Corporation (Romstar license)", "Arkanoid (US)", GAME_SUPPORTS_SAVE )
1188GAME( 1986, arknoiuo, arkanoid, arkanoid, arkanoid, 0,        ROT90, "Taito America Corporation (Romstar license)", "Arkanoid (US, older)", GAME_SUPPORTS_SAVE )
1189GAME( 1986, arknoidj, arkanoid, arkanoid, arknoidj, 0,        ROT90, "Taito Corporation", "Arkanoid (Japan)", GAME_SUPPORTS_SAVE )
1186GAME( 1986, arkanoid,  0,        arkanoid, arkanoid, 0,        ROT90, "Taito Corporation Japan", "Arkanoid (World)", GAME_SUPPORTS_SAVE )
1187GAME( 1986, arkanoidu, arkanoid, arkanoid, arkanoid, 0,        ROT90, "Taito America Corporation (Romstar license)", "Arkanoid (US)", GAME_SUPPORTS_SAVE )
1188GAME( 1986, arkanoiduo,arkanoid, arkanoid, arkanoid, 0,        ROT90, "Taito America Corporation (Romstar license)", "Arkanoid (US, older)", GAME_SUPPORTS_SAVE )
1189GAME( 1986, arkanoidj, arkanoid, arkanoid, arknoidj, 0,        ROT90, "Taito Corporation", "Arkanoid (Japan)", GAME_SUPPORTS_SAVE )
11901190GAME( 1986, arkmcubl, arkanoid, arkanoid, arknoidj, 0,        ROT90, "bootleg", "Arkanoid (bootleg with MCU)", GAME_SUPPORTS_SAVE )
11911191GAME( 1986, ark1ball, arkanoid, arkanoid, ark1ball, 0,        ROT90, "bootleg", "Arkanoid (bootleg with MCU, harder)", GAME_SUPPORTS_SAVE )
11921192GAME( 1986, arkangc,  arkanoid, bootleg,  arkangc,  arkangc,  ROT90, "bootleg", "Arkanoid (Game Corporation bootleg, set 1)", GAME_SUPPORTS_SAVE )
src/mame/drivers/twin16.c
r5338r5339
10241024   ROM_LOAD( "785_f02.7c",         0x00000, 0x20000, CRC(c39f5ca4) SHA1(92ebea11b7d3a72d0f58c456f16a6ff36d6b3062) )
10251025ROM_END
10261026
1027ROM_START( grdius2a )
1027ROM_START( gradius2a )
10281028   ROM_REGION( 0x40000, "maincpu", 0 )   // 68000 code (CPU A)
10291029   ROM_LOAD16_BYTE( "785_p05.6n",   0x00000, 0x10000, CRC(4db0e736) SHA1(45edf094da448d039af18a7b47a592a3de02f17b) )
10301030   ROM_LOAD16_BYTE( "785_p04.4n",   0x00001, 0x10000, CRC(765b99e6) SHA1(4acae0cf2bf23f8a1cf7b650b018d22a9ae947c9) )
r5338r5339
10581058   ROM_LOAD( "785_f02.7c",         0x00000, 0x20000, CRC(c39f5ca4) SHA1(92ebea11b7d3a72d0f58c456f16a6ff36d6b3062) )
10591059ROM_END
10601060
1061ROM_START( grdius2b )
1061ROM_START( gradius2b )
10621062   ROM_REGION( 0x40000, "maincpu", 0 )    // 68000 code (CPU A)
10631063   ROM_LOAD16_BYTE( "785_p05.6n",   0x00000, 0x10000, CRC(4db0e736) SHA1(45edf094da448d039af18a7b47a592a3de02f17b) )
10641064   ROM_LOAD16_BYTE( "785_p04.4n",   0x00001, 0x10000, CRC(765b99e6) SHA1(4acae0cf2bf23f8a1cf7b650b018d22a9ae947c9) )
r5338r5339
12881288GAME( 1987, darkadv,  devilw,   devilw,      darkadv,  twin16,   ROT0, "Konami", "Dark Adventure", 0 )
12891289GAME( 1988, vulcan,   0,        twin16,      vulcan,   twin16,   ROT0, "Konami", "Vulcan Venture", 0 )
12901290GAME( 1988, gradius2, vulcan,   twin16,      gradius2, twin16,   ROT0, "Konami", "Gradius II - GOFER no Yabou (Japan New Ver.)", 0 )
1291GAME( 1988, grdius2a, vulcan,   twin16,      vulcan,   twin16,   ROT0, "Konami", "Gradius II - GOFER no Yabou (Japan Old Ver.)", 0 )
1292GAME( 1988, grdius2b, vulcan,   twin16,      vulcan,   twin16,   ROT0, "Konami", "Gradius II - GOFER no Yabou (Japan Older Ver.)", 0 )
1291GAME( 1988, gradius2a,vulcan,   twin16,      vulcan,   twin16,   ROT0, "Konami", "Gradius II - GOFER no Yabou (Japan Old Ver.)", 0 )
1292GAME( 1988, gradius2b,vulcan,   twin16,      vulcan,   twin16,   ROT0, "Konami", "Gradius II - GOFER no Yabou (Japan Older Ver.)", 0 )
12931293
12941294GAME( 1988, fround,   0,        fround,      fround,   fround,   ROT0, "Konami", "The Final Round (version M)", 0 )
12951295GAME( 1988, froundl,  fround,   fround,      fround,   fround,   ROT0, "Konami", "The Final Round (version L)", 0 )
src/mame/drivers/megasys1.c
r5338r5339
17421742ROM_END
17431743
17441744
1745ROM_START( 64streej )
1745ROM_START( 64streetj )
17461746   ROM_REGION( 0x80000, "maincpu", 0 )      /* Main CPU Code */
17471747   ROM_LOAD16_BYTE( "91105-3.bin", 0x000000, 0x040000, CRC(a211a83b) SHA1(423d8f273f1520f6a37f1255bb2d343a6bbd790a) )
17481748   ROM_LOAD16_BYTE( "91105-2.bin", 0x000001, 0x040000, CRC(27c1f436) SHA1(d7936523549cfcd99ba98c6776ebd225b245867b) )
r5338r5339
32183218ROM_END
32193219
32203220/* 100% identical to rodlandj, but not encrypted */
3221ROM_START( rodlndjb )
3221ROM_START( rodlandjb )
32223222   ROM_REGION( 0x60000, "maincpu", 0 )      /* Main CPU Code */
32233223   ROM_LOAD16_BYTE( "rl19.bin", 0x000000, 0x010000, CRC(028de21f) SHA1(04c88a0138dd119655b4a8a965617781a9a6ff71) )
32243224   ROM_LOAD16_BYTE( "rl17.bin", 0x000001, 0x010000, CRC(9c720046) SHA1(8543f0942863b4aa5329572dd1f374ea18c29851) )
r5338r5339
34043404***************************************************************************/
34053405
34063406
3407ROM_START( tshingna )
3407ROM_START( tshingena )
34083408   ROM_REGION( 0x60000, "maincpu", 0 )      /* Main CPU Code */
34093409   ROM_LOAD16_BYTE( "takeda2.bin", 0x000000, 0x020000, CRC(6ddfc9f3) SHA1(0ce1b8eae31453db0b2081717d7dbda9ea7d5a60) )
34103410   ROM_LOAD16_BYTE( "takeda1.bin", 0x000001, 0x020000, CRC(1afc6b7d) SHA1(b56da1b8c5b417a88a2952491c2d5472bb783945) )
r5338r5339
38923892GAME( 1988, p47j,     p47,      system_A,          p47,      0,        ROT0,   "Jaleco", "P-47 - The Freedom Fighter (Japan)", 0 )
38933893GAME( 1988, kickoff,  0,        system_A,          kickoff,  0,        ROT0,   "Jaleco", "Kick Off (Japan)", 0 )
38943894GAME( 1988, tshingen, 0,        system_A,          tshingen, phantasm, ROT0,   "Jaleco", "Shingen Samurai-Fighter (Japan, English)", 0 )
3895GAME( 1988, tshingna, tshingen, system_A,          tshingen, phantasm, ROT0,   "Jaleco", "Takeda Shingen (Japan, Japanese)", 0 )
3895GAME( 1988, tshingena,tshingen, system_A,          tshingen, phantasm, ROT0,   "Jaleco", "Takeda Shingen (Japan, Japanese)", 0 )
38963896GAME( 1988, kazan,    0,        system_A,          kazan,    iganinju, ROT0,   "Jaleco", "Ninja Kazan (World)", 0 )
38973897GAME( 1988, iganinju, kazan,    system_A,          kazan,    iganinju, ROT0,   "Jaleco", "Iga Ninjyutsuden (Japan)", 0 )
38983898GAME( 1989, astyanax, 0,        system_A,          astyanax, astyanax, ROT0,   "Jaleco", "The Astyanax", 0 )
r5338r5339
39033903GAME( 1989, stdragon, 0,        system_A,          stdragon, stdragon, ROT0,   "Jaleco", "Saint Dragon", 0 )
39043904GAME( 1990, rodland,  0,        system_A,          rodland,  rodland,  ROT0,   "Jaleco", "Rod-Land (World)", 0 )
39053905GAME( 1990, rodlandj, rodland,  system_A,          rodland,  rodlandj, ROT0,   "Jaleco", "Rod-Land (Japan)", 0 )
3906GAME( 1990, rodlndjb, rodland,  system_A,          rodland,  0,        ROT0,   "Jaleco", "Rod-Land (Japan bootleg)", 0 )
3906GAME( 1990, rodlandjb,rodland,  system_A,          rodland,  0,        ROT0,   "Jaleco", "Rod-Land (Japan bootleg)", 0 )
39073907GAME( 1991, avspirit, 0,        system_B,          avspirit, avspirit, ROT0,   "Jaleco", "Avenging Spirit", 0 )
39083908GAME( 1990, phantasm, avspirit, system_A,          phantasm, phantasm, ROT0,   "Jaleco", "Phantasm (Japan)", 0 )
39093909GAME( 1990, monkelf,  avspirit, system_B,          avspirit, monkelf,  ROT0,   "bootleg", "Monky Elf (Korean bootleg of Avenging Spirit)", GAME_NOT_WORKING )
39103910GAME( 1991, edf,      0,        system_B,          edf,      edf,      ROT0,   "Jaleco", "E.D.F. : Earth Defense Force", 0 )
39113911GAME( 1991, edfu,     edf,      system_B,          edf,      edf,      ROT0,   "Jaleco", "E.D.F. : Earth Defense Force (North America)", 0 )
39123912GAME( 1991, 64street, 0,        system_C,          64street, 64street, ROT0,   "Jaleco", "64th. Street - A Detective Story (World)", 0 )
3913GAME( 1991, 64streej, 64street, system_C,          64street, 64street, ROT0,   "Jaleco", "64th. Street - A Detective Story (Japan)", 0 )
3913GAME( 1991, 64streetj,64street, system_C,          64street, 64street, ROT0,   "Jaleco", "64th. Street - A Detective Story (Japan)", 0 )
39143914GAME( 1992, soldam,   0,        system_A,          soldam,   soldam,   ROT0,   "Jaleco", "Soldam", 0 )
39153915GAME( 1992, soldamj,  soldam,   system_A,          soldam,   soldamj,  ROT0,   "Jaleco", "Soldam (Japan)", 0 )
39163916GAME( 1992, bigstrik, 0,        system_C,          bigstrik, bigstrik, ROT0,   "Jaleco", "Big Striker", 0 )
src/mame/drivers/crshrace.c
r5338r5339
511511   ROM_LOAD( "h893",         0x000000, 0x100000, CRC(32513b63) SHA1(c4ede4aaa2611cedb53d47448422a1926acf3052) )
512512ROM_END
513513
514ROM_START( crshrac2 )
514ROM_START( crshrace2 )
515515   ROM_REGION( 0x80000, "maincpu", 0 )   /* 68000 code */
516516   ROM_LOAD16_WORD_SWAP( "01-ic10.bin",  0x000000, 0x80000, CRC(b284aacd) SHA1(f0ef279cdec30eb32e8aa8cdd51e289b70f2d6f5) )
517517
r5338r5339
574574
575575
576576GAME( 1993, crshrace, 0,        crshrace, crshrace, crshrace, ROT270, "Video System Co.", "Lethal Crash Race (set 1)", GAME_NO_COCKTAIL )
577GAME( 1993, crshrac2, crshrace, crshrace, crshrac2, crshrac2, ROT270, "Video System Co.", "Lethal Crash Race (set 2)", GAME_NO_COCKTAIL )
577GAME( 1993, crshrace2,crshrace, crshrace, crshrac2, crshrac2, ROT270, "Video System Co.", "Lethal Crash Race (set 2)", GAME_NO_COCKTAIL )
578578
src/mame/drivers/airbustr.c
r5338r5339
697697   ROM_LOAD( "pr-200.bin", 0x00000, 0x40000, CRC(a4dd3390) SHA1(2d72b46b4979857f6b66489bebda9f48799f59cf) )
698698ROM_END
699699
700ROM_START( airbustj )
700ROM_START( airbustrj )
701701   ROM_REGION( 0x24000, "master", 0 )
702702   ROM_LOAD( "pr-14j.bin", 0x00000, 0x0c000, CRC(6b9805bd) SHA1(db6df33cf17316a4b81d7731dca9fe8bbf81f014) )
703703   ROM_CONTINUE(           0x10000, 0x14000 )
r5338r5339
737737
738738*/
739739
740ROM_START( airbusb )
740ROM_START( airbustrb )
741741   ROM_REGION( 0x24000, "master", 0 )
742742   ROM_LOAD( "5.bin",   0x00000, 0x0c000, CRC(9e4216a2) SHA1(46572da4df5a67b10cc3ee21bdc0ec4bcecaaf93) )
743743   ROM_CONTINUE(           0x10000, 0x14000 )
r5338r5339
782782
783783/* Game Drivers */
784784
785GAME( 1990, airbustr, 0,        airbustr, airbustr, airbustr, ROT0, "Kaneko (Namco license)", "Air Buster: Trouble Specialty Raid Unit (World)", GAME_SUPPORTS_SAVE )   // 891220
786GAME( 1990, airbustj, airbustr, airbustr, airbustj, airbustr, ROT0, "Kaneko (Namco license)", "Air Buster: Trouble Specialty Raid Unit (Japan)", GAME_SUPPORTS_SAVE)    // 891229
787GAME( 1990, airbusb,  airbustr, airbusb,  airbustj, 0,        ROT0, "bootleg", "Air Buster: Trouble Specialty Raid Unit (bootleg)", GAME_SUPPORTS_SAVE)   // based on Japan set (891229)
785GAME( 1990, airbustr,   0,        airbustr, airbustr, airbustr, ROT0, "Kaneko (Namco license)", "Air Buster: Trouble Specialty Raid Unit (World)", GAME_SUPPORTS_SAVE )   // 891220
786GAME( 1990, airbustrj,  airbustr, airbustr, airbustj, airbustr, ROT0, "Kaneko (Namco license)", "Air Buster: Trouble Specialty Raid Unit (Japan)", GAME_SUPPORTS_SAVE)    // 891229
787GAME( 1990, airbustrb,  airbustr, airbusb,  airbustj, 0,        ROT0, "bootleg", "Air Buster: Trouble Specialty Raid Unit (bootleg)", GAME_SUPPORTS_SAVE)   // based on Japan set (891229)
src/mame/drivers/pacman.c
r5338r5339
57725772GAME( 1983, acitya,   bwcasino, acitya,   acitya,   0,        ROT90,  "Epos Corporation", "Atlantic City Action", GAME_SUPPORTS_SAVE )
57735773GAME( 1983, theglobp, suprglob, theglobp, theglobp, 0,        ROT90,  "Epos Corporation", "The Glob (Pac-Man hardware)", GAME_SUPPORTS_SAVE )
57745774GAME( 1983, sprglobp, suprglob, theglobp, theglobp, 0,        ROT90,  "Epos Corporation", "Super Glob (Pac-Man hardware)", GAME_SUPPORTS_SAVE )
5775GAME( 1983, sprglbpg, suprglob, pacman,   theglobp, 0,        ROT90,  "Bootleg", "Super Glob (Pac-Man hardware) German", GAME_SUPPORTS_SAVE )
5775GAME( 1983, sprglbpg, suprglob, pacman,   theglobp, 0,        ROT90,  "bootleg", "Super Glob (Pac-Man hardware) German", GAME_SUPPORTS_SAVE )
57765776GAME( 1984, beastf,   suprglob, theglobp, theglobp, 0,        ROT90,  "Epos Corporation", "Beastie Feastie", GAME_SUPPORTS_SAVE )
57775777GAME( 1984, drivfrcp, 0,        drivfrcp, drivfrcp, drivfrcp, ROT90,  "Shinkai Inc. (Magic Eletronics Inc. licence)", "Driving Force (Pac-Man conversion)", GAME_SUPPORTS_SAVE )
57785778GAME( 1985, 8bpm,     8ballact, 8bpm,     8bpm,     8bpm,     ROT90,  "Seatongrove Ltd (Magic Eletronics USA licence)", "Eight Ball Action (Pac-Man conversion)", GAME_SUPPORTS_SAVE )
src/mame/drivers/bwing.c
r5338r5339
229229
230230static INPUT_PORTS_START( bwing )
231231   PORT_START("DSW0")
232   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_A ) )
232   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW1:1,2")
233233   PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
234234   PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
235235   PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
236236   PORT_DIPSETTING(    0x01, DEF_STR( 1C_3C ) )
237   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coin_B ) )
237   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW1:3,4")
238238   PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
239239   PORT_DIPSETTING(    0x0c, DEF_STR( 1C_1C ) )
240240   PORT_DIPSETTING(    0x08, DEF_STR( 1C_2C ) )
241241   PORT_DIPSETTING(    0x04, DEF_STR( 1C_3C ) )
242   PORT_DIPNAME( 0x10, 0x10, "Diag" )
242   PORT_DIPNAME( 0x10, 0x10, "Diagnostics" )      PORT_DIPLOCATION("SW1:5")
243243   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
244244   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
245   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Cabinet ) )
245   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW1:6")
246246   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
247247   PORT_DIPSETTING(    0x20, DEF_STR( Cocktail ) )
248   PORT_DIPNAME( 0x40, 0x40, "Invincibility" )
248   PORT_DIPNAME( 0x40, 0x40, "Invincibility" )      PORT_DIPLOCATION("SW1:7")
249249   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
250250   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
251   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Infinite ) )
251   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Infinite ) )      PORT_DIPLOCATION("SW1:8")
252252   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
253253   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
254254
255255   PORT_START("DSW1")
256   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )
256   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1")
257257   PORT_DIPSETTING(    0x00, "5" )
258258   PORT_DIPSETTING(    0x01, "3" )
259   PORT_DIPNAME( 0x06, 0x06, "Bonus" )
259   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:2,3") /* Listed as "Not Used" in the manual */
260260   PORT_DIPSETTING(    0x00, "40000" )
261261   PORT_DIPSETTING(    0x02, "20000 80000" )
262262   PORT_DIPSETTING(    0x04, "20000 60000" )
263263   PORT_DIPSETTING(    0x06, "20000 40000" )
264   PORT_DIPNAME( 0x08, 0x08, "Enemy Crafts" )
264   PORT_DIPNAME( 0x08, 0x08, "Enemy Crafts" )      PORT_DIPLOCATION("SW2:4")
265265   PORT_DIPSETTING(    0x00, DEF_STR( Hard ) )
266266   PORT_DIPSETTING(    0x08, DEF_STR( Normal ) )
267   PORT_DIPNAME( 0x10, 0x10, "Enemy Missiles" )
267   PORT_DIPNAME( 0x10, 0x10, "Enemy Missiles" )      PORT_DIPLOCATION("SW2:5")
268268   PORT_DIPSETTING(    0x00, DEF_STR( Hard ) )
269269   PORT_DIPSETTING(    0x10, DEF_STR( Normal ) )
270   PORT_DIPNAME( 0x20, 0x20, "Freeze" )
270   PORT_DIPNAME( 0x20, 0x20, "Freeze" )         PORT_DIPLOCATION("SW2:6") /* Listed as "Not Used" in the manual */
271271   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
272272   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
273   PORT_DIPNAME( 0x40, 0x00, "Country" )
273   PORT_DIPNAME( 0x40, 0x00, "Country" )         PORT_DIPLOCATION("SW2:7") /* Listed as "Not Used" in the manual */
274274   PORT_DIPSETTING(    0x00, "Japan/US" )
275275   PORT_DIPSETTING(    0x40, "Japan Only" )
276   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
276   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:8") /* Listed as "Not Used" in the manual */
277277   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
278278   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
279279
src/mame/drivers/sf.c
r5338r5339
10101010   ROM_LOAD( "mmi-7603.13h", 0x0300, 0x0020, CRC(06bcda53) SHA1(fa69b77697bb12aa6012d82ef5b504d3a1d20232) )   /* unknown */
10111011ROM_END
10121012
1013ROM_START( sfjp )
1013ROM_START( sfj )
10141014   ROM_REGION( 0x60000, "maincpu", 0 )
10151015   ROM_LOAD16_BYTE("sf-19.bin", 0x00000, 0x10000, CRC(116027d7) SHA1(6bcb117ee415aff4d8ea962d4eff4088ca94c251) )
10161016   ROM_LOAD16_BYTE("sf-22.bin", 0x00001, 0x10000, CRC(d3cbd09e) SHA1(7274c603100132102de09e10d2129cfeb6c06369) )
r5338r5339
11381138
11391139GAME( 1987, sf,   0,  sf,   sf,   0, ROT0, "Capcom", "Street Fighter (World)", 0 )
11401140GAME( 1987, sfus, sf, sfus, sfus, 0, ROT0, "Capcom", "Street Fighter (US)", 0 )
1141GAME( 1987, sfjp, sf, sfjp, sfjp, 0, ROT0, "Capcom", "Street Fighter (Japan)", 0 )
1141GAME( 1987, sfj, sf, sfjp, sfjp, 0, ROT0, "Capcom", "Street Fighter (Japan)", 0 )
11421142GAME( 1987, sfp,  sf, sfp,  sf,   0, ROT0, "Capcom", "Street Fighter (prototype)", 0 )
src/mame/drivers/cave.c
r5338r5339
26102610ROM_END
26112611
26122612
2613ROM_START( ddonpchj )
2613ROM_START( ddonpachj )
26142614   ROM_REGION( 0x100000, "maincpu", 0 )      /* 68000 Code */
26152615   ROM_LOAD16_BYTE( "u27.bin", 0x000000, 0x080000, CRC(2432ff9b) SHA1(fbc826c30553f6553ead40b312b73c049e8f4bf6) )
26162616   ROM_LOAD16_BYTE( "u26.bin", 0x000001, 0x080000, CRC(4f3a914a) SHA1(ae98eba049f1462aa1145f6959b9f9a32c97278f) )
r5338r5339
27022702   ROM_LOAD( "atdp.u33", 0x140000, 0x200000, CRC(d749de00) SHA1(64a0acc23eb2515e7d0459f0289919e083c63afc) )
27032703ROM_END
27042704
2705ROM_START( donpacjp )
2705ROM_START( donpachij )
27062706   ROM_REGION( 0x080000, "maincpu", 0 )      /* 68000 code */
27072707   ROM_LOAD16_WORD_SWAP( "prg.u29",     0x00000, 0x80000, CRC(6be14af6) SHA1(5b1158071f160efeded816ae4c4edca1d00d6e05) )
27082708
r5338r5339
27292729   ROM_LOAD( "atdp.u33", 0x140000, 0x200000, CRC(d749de00) SHA1(64a0acc23eb2515e7d0459f0289919e083c63afc) )
27302730ROM_END
27312731
2732ROM_START( donpackr )
2732ROM_START( donpachikr )
27332733   ROM_REGION( 0x080000, "maincpu", 0 )      /* 68000 code */
27342734   ROM_LOAD16_WORD_SWAP( "prgk.u26",    0x00000, 0x80000, CRC(bbaf4c8b) SHA1(0f9d42c8c4c5b69e3d39bf768bc4b663f66b4f36) )
27352735
r5338r5339
27562756   ROM_LOAD( "atdp.u33", 0x140000, 0x200000, CRC(d749de00) SHA1(64a0acc23eb2515e7d0459f0289919e083c63afc) )
27572757ROM_END
27582758
2759ROM_START( donpachk )
2759ROM_START( donpachihk )
27602760   ROM_REGION( 0x080000, "maincpu", 0 )      /* 68000 code */
27612761   ROM_LOAD16_WORD_SWAP( "37.u29",    0x00000, 0x80000, CRC(71f39f30) SHA1(08a028208f21c073d450a29061604f27775786a8) )
27622762
r5338r5339
28452845   ROM_LOAD( "u19.bin", 0x000000, 0x400000, CRC(f54b1cab) SHA1(34d70bb5798de85d892c062001d9ac1d6604fd9f) )
28462846ROM_END
28472847
2848ROM_START( espradeo )
2848ROM_START( espradejo )
28492849   ROM_REGION( 0x100000, "maincpu", 0 )      /* 68000 Code */
28502850   ROM_LOAD16_BYTE( "u42.old", 0x000000, 0x080000, CRC(0718c7e5) SHA1(c7d1f30bd2ef363cad15b6918f9980312a15809a) )
28512851   ROM_LOAD16_BYTE( "u41.old", 0x000001, 0x080000, CRC(def30539) SHA1(957ad0b06f06689ae71393572592f6b8f818603a) )
r5338r5339
33953395   ROM_LOAD( "g02.u56", 0x240000, 0x200000, CRC(9ff50dda) SHA1(1121685e387c20e228032f2b0f5cbb606376fc15) )
33963396ROM_END
33973397
3398ROM_START( pwrins2j )
3398ROM_START( pwrinst2j )
33993399   ROM_REGION( 0x200000, "maincpu", 0 )      /* 68000 code */
34003400   ROM_LOAD16_BYTE( "g02j.u45", 0x000000, 0x80000, CRC(42d0abd7) SHA1(c58861d43c4539ccc8b2f93eabc56aab37d3aa34))
34013401   ROM_LOAD16_BYTE( "g02j.u44", 0x000001, 0x80000, CRC(362b7af3) SHA1(2d15611530cef76f0f9c82ee0411966079ae19c3))
r5338r5339
35423542   ROM_LOAD( "g02.u56", 0x240000, 0x200000, CRC(9ff50dda) SHA1(1121685e387c20e228032f2b0f5cbb606376fc15) )
35433543ROM_END
35443544
3545ROM_START( plegendj )
3545ROM_START( plegendsj )
35463546   ROM_REGION( 0x200000, "maincpu", 0 )      /* 68000 code */
35473547   ROM_LOAD16_BYTE( "prog.u45", 0x000000, 0x80000, CRC(94f53db2) SHA1(34c671f160cfcb7d46cc964731ff2b77dc0be928) )
35483548   ROM_LOAD16_BYTE( "prog.u44", 0x000001, 0x80000, CRC(db0ad756) SHA1(9c1510491cdc9442062ee3bd8a1bb93f00d33d97) )
r5338r5339
36833683   ROM_RELOAD(           0x1c0000, 0x080000             )
36843684ROM_END
36853685
3686ROM_START( sailormo )
3686ROM_START( sailormno )
36873687   ROM_REGION( 0x400000, "maincpu", 0 )      /* 68000 code */
36883688   ROM_LOAD16_WORD_SWAP( "smprg.u45",    0x000000, 0x080000, CRC(234f1152) SHA1(8fc6d4a8995d550862d328011d3357c09334f0fa) )
36893689   ROM_LOAD16_WORD_SWAP( "bpsm.u46",     0x200000, 0x200000, CRC(32084e80) SHA1(0ac503190d95009620b5ad7e7e0e63324f6fa4eb) )
r5338r5339
40894089***************************************************************************/
40904090
40914091GAME( 1994, pwrinst2, 0,        pwrinst2, metmqstr, pwrinst2, ROT0,   "Atlus/Cave",                           "Power Instinct 2 (US, Ver. 94/04/08)"         , 0 )
4092GAME( 1994, pwrins2j, pwrinst2, pwrinst2, metmqstr, pwrins2j, ROT0,   "Atlus/Cave",                           "Gouketsuji Ichizoku 2 (Japan, Ver. 94/04/08)"      , 0 )
4092GAME( 1994, pwrinst2j,pwrinst2, pwrinst2, metmqstr, pwrins2j, ROT0,   "Atlus/Cave",                           "Gouketsuji Ichizoku 2 (Japan, Ver. 94/04/08)"      , 0 )
40934093GAME( 1994, mazinger, 0,        mazinger, mazinger, mazinger, ROT90,  "Banpresto/Dynamic Pl. Toei Animation", "Mazinger Z (International/Japan)"         , 0 ) // region in eeprom
4094GAME( 1995, donpachi, 0,        donpachi, cave,     donpachi, ROT270, "Atlus/Cave",                           "DonPachi (US)"                  , 0 )
4095GAME( 1995, donpacjp, donpachi, donpachi, cave,     donpachi, ROT270, "Atlus/Cave",                           "DonPachi (Japan)"               , 0 )
4096GAME( 1995, donpackr, donpachi, donpachi, cave,     donpachi, ROT270, "Atlus/Cave",                           "DonPachi (Korea)"               , 0 )
4097GAME( 1995, donpachk, donpachi, donpachi, cave,     donpachi, ROT270, "Atlus/Cave",                           "DonPachi (Hong Kong)"               , 0 )
4094GAME( 1995, donpachi,   0,        donpachi, cave,     donpachi, ROT270, "Atlus/Cave",                           "DonPachi (US)"                  , 0 )
4095GAME( 1995, donpachij,  donpachi, donpachi, cave,     donpachi, ROT270, "Atlus/Cave",                           "DonPachi (Japan)"               , 0 )
4096GAME( 1995, donpachikr, donpachi, donpachi, cave,     donpachi, ROT270, "Atlus/Cave",                           "DonPachi (Korea)"               , 0 )
4097GAME( 1995, donpachihk, donpachi, donpachi, cave,     donpachi, ROT270, "Atlus/Cave",                           "DonPachi (Hong Kong)"               , 0 )
40984098GAME( 1995, metmqstr, 0,        metmqstr, metmqstr, metmqstr, ROT0,   "Banpresto/Pandorabox",                 "Metamoqester (International)"            , 0 )
40994099GAME( 1995, nmaster,  metmqstr, metmqstr, metmqstr, metmqstr, ROT0,   "Banpresto/Pandorabox",                 "Oni - The Ninja Master (Japan)"            , 0 )
41004100GAME( 1995, plegends, 0,        pwrinst2, metmqstr, pwrins2j, ROT0,   "Atlus/Cave",                           "Power Instinct Legends (US, Ver. 95/06/20)"      , 0 )
4101GAME( 1995, plegendj, plegends, pwrinst2, metmqstr, pwrins2j, ROT0,   "Atlus/Cave",                           "Gouketsuji Ichizoku Saikyou Densetsu (Japan, Ver. 95/06/20)", 0 )
4101GAME( 1995, plegendsj,plegends, pwrinst2, metmqstr, pwrins2j, ROT0,   "Atlus/Cave",                           "Gouketsuji Ichizoku Saikyou Densetsu (Japan, Ver. 95/06/20)", 0 )
41024102GAME( 1995, sailormn, 0,        sailormn, sailormn, sailormn, ROT0,   "Banpresto",                            "Pretty Soldier Sailor Moon (JUEHTK, Ver. 95/03/22B)"   , 0 ) // region in eeprom
4103GAME( 1995, sailormo, sailormn, sailormn, sailormn, sailormn, ROT0,   "Banpresto",                            "Pretty Soldier Sailor Moon (JUEHTK, Ver. 95/03/22)"   , 0 ) // region in eeprom
4103GAME( 1995, sailormno,sailormn, sailormn, sailormn, sailormn, ROT0,   "Banpresto",                            "Pretty Soldier Sailor Moon (JUEHTK, Ver. 95/03/22)"   , 0 ) // region in eeprom
41044104GAME( 1996, agallet,  0,        sailormn, sailormn, agallet,  ROT270, "Banpresto / Gazelle",                  "Air Gallet (JUEHTK)"               , 0 ) // board was taiwan, region in eeprom
41054105GAME( 1996, hotdogst, 0,        hotdogst, cave,     hotdogst, ROT90,  "Marble",                               "Hotdog Storm (International)"            , 0 )
41064106GAME( 1997, ddonpach, 0,        ddonpach, cave,     ddonpach, ROT270, "Atlus/Cave",                           "DoDonPachi (International, Master Ver. 97/02/05)"   , 0 )
4107GAME( 1997, ddonpchj, ddonpach, ddonpach, cave,     ddonpach, ROT270, "Atlus/Cave",                           "DoDonPachi (Japan, Master Ver. 97/02/05)"      , 0 )
4107GAME( 1997, ddonpachj,ddonpach, ddonpach, cave,     ddonpach, ROT270, "Atlus/Cave",                           "DoDonPachi (Japan, Master Ver. 97/02/05)"      , 0 )
41084108GAME( 1998, dfeveron, feversos, dfeveron, cave,     dfeveron, ROT270, "Cave (Nihon System license)",          "Dangun Feveron (Japan, Ver. 98/09/17)"         , 0 )
41094109GAME( 1998, feversos, 0,        dfeveron, cave,     feversos, ROT270, "Cave (Nihon System license)",          "Fever SOS (International, Ver. 98/09/25)"      , 0 )
41104110GAME( 1998, esprade,  0,        esprade,  cave,     esprade,  ROT270, "Atlus/Cave",                           "ESP Ra.De. (International, Ver. 98/04/22)"      , 0 )
41114111GAME( 1998, espradej, esprade,  esprade,  cave,     esprade,  ROT270, "Atlus/Cave",                           "ESP Ra.De. (Japan, Ver. 98/04/21)"         , 0 )
4112GAME( 1998, espradeo, esprade,  esprade,  cave,     esprade,  ROT270, "Atlus/Cave",                           "ESP Ra.De. (Japan, Ver. 98/04/14)"         , 0 )
4112GAME( 1998, espradejo,esprade,  esprade,  cave,     esprade,  ROT270, "Atlus/Cave",                           "ESP Ra.De. (Japan, Ver. 98/04/14)"         , 0 )
41134113GAME( 1998, uopoko,   0,        uopoko,   cave,     uopoko,   ROT0,   "Cave (Jaleco license)",                "Puzzle Uo Poko (International)"            , 0 )
41144114GAME( 1998, uopokoj,  uopoko,   uopoko,   cave,     uopoko,   ROT0,   "Cave (Jaleco license)",                "Puzzle Uo Poko (Japan)"               , 0 )
41154115GAME( 1999, guwange,  0,        guwange,  guwange,  guwange,  ROT270, "Atlus/Cave",                           "Guwange (Japan, Master Ver. 99/06/24)"         , 0 )
src/mame/drivers/williams.c
r5338r5339
17161716   ROM_LOAD( "decoder.3",   0x0200, 0x0200, CRC(c3f45f70) SHA1(d19036cbc46b130548873597b44b8b70758f25c4) )
17171717ROM_END
17181718
1719ROM_START( defendg )
1719ROM_START( defenderg )
17201720   ROM_REGION( 0x19000, "maincpu", 0 )
17211721   ROM_LOAD( "defeng01.bin", 0x0d000, 0x0800, CRC(6111d74d) SHA1(2a335bdce8269f75012df44b446cb261ddd5924c) )
17221722   ROM_LOAD( "defeng04.bin", 0x0d800, 0x0800, CRC(3cfc04ce) SHA1(8ee65c7daed4d6956d0e15ada4dc414c28376012) )
r5338r5339
17371737   ROM_LOAD( "decoder.1",   0x0000, 0x0200, CRC(8dd98da5) SHA1(da979604f7a2aa8b5a6d4a5debd2e80f77569e35) )
17381738ROM_END
17391739
1740ROM_START( defendb )
1740ROM_START( defenderb )
17411741   ROM_REGION( 0x19000, "maincpu", 0 )
17421742   ROM_LOAD( "wb01.bin",     0x0d000, 0x1000, CRC(0ee1019d) SHA1(a76247e825b8267abfd195c12f96348fe10d4cbc) )
17431743   ROM_LOAD( "defeng02.bin", 0x0e000, 0x1000, CRC(d184ab6b) SHA1(ed61a95b04f6162aedba8a72bc46005b77283955) )
r5338r5339
17581758ROM_END
17591759
17601760/* the white set seems to be the source of the defcmnd & startrkd bootlegs */
1761ROM_START( defendw )
1761ROM_START( defenderw )
17621762   ROM_REGION( 0x19000, "maincpu", 0 )
17631763   ROM_LOAD( "rom1.bin",     0x0d000, 0x1000, CRC(5af871e3) SHA1(f9a42619b37db2eb07d0302ac9d0ff5c1923c21d) )
17641764   ROM_LOAD( "rom2.bin",     0x0e000, 0x1000, CRC(1126adc9) SHA1(526cf1ca3a7eefd6115d74ac9af1a50774cc258e) )
r5338r5339
20542054   ROM_LOAD( "decoder.6",   0x0200, 0x0200, CRC(83faf25e) SHA1(30002643d08ed983a6701a7c4b5ee74a2f4a1adb) )
20552055ROM_END
20562056
2057ROM_START( robotryo )
2057ROM_START( robotronyo )
20582058   ROM_REGION( 0x19000, "maincpu", 0 )
20592059   ROM_LOAD( "robotron.yoa", 0x0d000, 0x1000, CRC(4a9d5f52) SHA1(d5ae801e60ed829e7ef5c54a18aefca54eae827f) )
20602060   ROM_LOAD( "robotron.yob", 0x0e000, 0x1000, CRC(2afc5e7f) SHA1(f3405be9ad2287f3921e7dbd9c5313c91fa7f8d6) )
r5338r5339
22682268   ROM_LOAD( "decoder.6",   0x0200, 0x0200, CRC(83faf25e) SHA1(30002643d08ed983a6701a7c4b5ee74a2f4a1adb) )
22692269ROM_END
22702270
2271ROM_START( sinista1 )
2271ROM_START( sinistar1 )
22722272   ROM_REGION( 0x19000, "maincpu", 0 )
22732273   ROM_LOAD( "sinrev1.10",   0x0e000, 0x1000, CRC(ea87a53f) SHA1(4e4bad5315a8f5740c926ee5681879919a5be37f) )
22742274   ROM_LOAD( "sinrev1.11",   0x0f000, 0x1000, CRC(88d36e80) SHA1(bb9adaf5b73f9874e52dc2f5fd35e22f8b4fc258) )
r5338r5339
22942294   ROM_LOAD( "decoder.6",   0x0200, 0x0200, CRC(83faf25e) SHA1(30002643d08ed983a6701a7c4b5ee74a2f4a1adb) )
22952295ROM_END
22962296
2297ROM_START( sinista2 )
2297ROM_START( sinistar2 )
22982298   ROM_REGION( 0x19000, "maincpu", 0 )
22992299   ROM_LOAD( "sinistar.10",  0x0e000, 0x1000, CRC(3d670417) SHA1(81802622bee8dbea5c0f08019d87d941dcdbe292) )
23002300   ROM_LOAD( "sinrev2.11",   0x0f000, 0x1000, CRC(792c8b00) SHA1(1f847ca8a67595927c36d69cead02813c2431c7b) )
r5338r5339
23762376   ROM_LOAD( "blaster.col",  0x0000, 0x0800, CRC(bac50bc4) SHA1(80a48eb97c6f02703210d00498f9669c36e64326) )
23772377ROM_END
23782378
2379ROM_START( blast30 )
2379ROM_START( blaster30 )
23802380   ROM_REGION( 0x54000, "maincpu", 0 )
23812381   ROM_LOAD( "blast30.16",   0x0d000, 0x1000, CRC(2db032d2) SHA1(287769361639695b1c1ceae0fe6899d83b4575d5) )
23822382   ROM_LOAD( "blast30.13",   0x0e000, 0x2000, CRC(c99213c7) SHA1(d1c1549c053de3d862d8ef3ebca02811ed289464) )
r5338r5339
24072407   ROM_LOAD( "blaster.col",  0x0000, 0x0800, CRC(bac50bc4) SHA1(80a48eb97c6f02703210d00498f9669c36e64326) )
24082408ROM_END
24092409
2410ROM_START( blastkit )
2410ROM_START( blasterkit )
24112411   ROM_REGION( 0x54000, "maincpu", 0 )
24122412   ROM_LOAD( "blastkit.16",  0x0d000, 0x1000, CRC(414b2abf) SHA1(2bde972d225d6e93e44751f542cee584d57f7983) )
24132413   ROM_LOAD( "blastkit.13",  0x0e000, 0x2000, CRC(9c64db76) SHA1(c14508cb2f964af93631779db3adaa960fcc7559) )
r5338r5339
28712871 *************************************/
28722872
28732873/* Defender hardware games */
2874GAME( 1980, defender, 0,        defender,            defender, defender, ROT0,   "Williams", "Defender (Red label)", GAME_SUPPORTS_SAVE )
2875GAME( 1980, defendg,  defender, defender,            defender, defender, ROT0,   "Williams", "Defender (Green label)", GAME_SUPPORTS_SAVE )
2876GAME( 1980, defendb,  defender, defender,            defender, defender, ROT0,   "Williams", "Defender (Blue label)", GAME_SUPPORTS_SAVE )
2877GAME( 1980, defendw,  defender, defender,            defender, defender, ROT0,   "Williams", "Defender (White label)", GAME_SUPPORTS_SAVE )
2878GAME( 1980, defndjeu, defender, defender,            defender, defndjeu, ROT0,   "Jeutel", "Defender (bootleg)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
2879GAME( 1980, tornado1, defender, defender,            defender, defndjeu, ROT0,   "Jeutel", "Tornado (bootleg set 1)", GAME_SUPPORTS_SAVE )
2880GAME( 1980, tornado2, defender, defender,            defender, defndjeu, ROT0,   "Jeutel", "Tornado (bootleg set 2)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) // bad dump?
2881GAME( 1980, zero,     defender, defender,            defender, defndjeu, ROT0,   "Jeutel", "Zero (set 1)", GAME_SUPPORTS_SAVE )
2882GAME( 1980, zero2,    defender, defender,            defender, defndjeu, ROT0,   "Amtec", "Zero (set 2)", GAME_SUPPORTS_SAVE )
2883GAME( 1980, defcmnd,  defender, defender,            defender, defender, ROT0,   "bootleg", "Defense Command", GAME_SUPPORTS_SAVE )
2884GAME( 1981, defence,  defender, defender,            defender, defender, ROT0,   "Outer Limits", "Defence Command", GAME_SUPPORTS_SAVE )
2885GAME( 1981, startrkd, defender, defender,            defender, defender, ROT0,   "bootleg", "Star Trek (Defender bootleg)", GAME_SUPPORTS_SAVE )
2886GAME( 1980, mayday,   0,        defender,            mayday,   mayday,   ROT0,   "<unknown>", "Mayday (set 1)", GAME_SUPPORTS_SAVE )
2887GAME( 1980, maydaya,  mayday,   defender,            mayday,   mayday,   ROT0,   "<unknown>", "Mayday (set 2)", GAME_SUPPORTS_SAVE )
2888GAME( 1980, maydayb,  mayday,   defender,            mayday,   mayday,   ROT0,   "<unknown>", "Mayday (set 3)", GAME_SUPPORTS_SAVE )
2889GAME( 1981, colony7,  0,        defender,            colony7,  defender, ROT270, "Taito", "Colony 7 (set 1)", GAME_SUPPORTS_SAVE )
2890GAME( 1981, colony7a, colony7,  defender,            colony7,  defender, ROT270, "Taito", "Colony 7 (set 2)", GAME_SUPPORTS_SAVE )
2891GAME( 1982, jin,      0,        jin,                 jin,      defender, ROT90,  "Falcon", "Jin", GAME_SUPPORTS_SAVE )
2874GAME( 1980, defender,   0,        defender,            defender, defender, ROT0,   "Williams", "Defender (Red label)", GAME_SUPPORTS_SAVE )
2875GAME( 1980, defenderg,  defender, defender,            defender, defender, ROT0,   "Williams", "Defender (Green label)", GAME_SUPPORTS_SAVE )
2876GAME( 1980, defenderb,  defender, defender,            defender, defender, ROT0,   "Williams", "Defender (Blue label)", GAME_SUPPORTS_SAVE )
2877GAME( 1980, defenderw,  defender, defender,            defender, defender, ROT0,   "Williams", "Defender (White label)", GAME_SUPPORTS_SAVE )
2878GAME( 1980, defndjeu,   defender, defender,            defender, defndjeu, ROT0,   "Jeutel", "Defender (bootleg)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
2879GAME( 1980, tornado1,   defender, defender,            defender, defndjeu, ROT0,   "Jeutel", "Tornado (bootleg set 1)", GAME_SUPPORTS_SAVE )
2880GAME( 1980, tornado2,   defender, defender,            defender, defndjeu, ROT0,   "Jeutel", "Tornado (bootleg set 2)", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) // bad dump?
2881GAME( 1980, zero,       defender, defender,            defender, defndjeu, ROT0,   "Jeutel", "Zero (set 1)", GAME_SUPPORTS_SAVE )
2882GAME( 1980, zero2,      defender, defender,            defender, defndjeu, ROT0,   "Amtec", "Zero (set 2)", GAME_SUPPORTS_SAVE )
2883GAME( 1980, defcmnd,    defender, defender,            defender, defender, ROT0,   "bootleg", "Defense Command", GAME_SUPPORTS_SAVE )
2884GAME( 1981, defence,    defender, defender,            defender, defender, ROT0,   "Outer Limits", "Defence Command", GAME_SUPPORTS_SAVE )
2885GAME( 1981, startrkd,   defender, defender,            defender, defender, ROT0,   "bootleg", "Star Trek (Defender bootleg)", GAME_SUPPORTS_SAVE )
2886GAME( 1980, mayday,   0,          defender,            mayday,   mayday,   ROT0,   "<unknown>", "Mayday (set 1)", GAME_SUPPORTS_SAVE )
2887GAME( 1980, maydaya,  mayday,     defender,            mayday,   mayday,   ROT0,   "<unknown>", "Mayday (set 2)", GAME_SUPPORTS_SAVE )
2888GAME( 1980, maydayb,  mayday,     defender,            mayday,   mayday,   ROT0,   "<unknown>", "Mayday (set 3)", GAME_SUPPORTS_SAVE )
2889GAME( 1981, colony7,  0,          defender,            colony7,  defender, ROT270, "Taito", "Colony 7 (set 1)", GAME_SUPPORTS_SAVE )
2890GAME( 1981, colony7a, colony7,    defender,            colony7,  defender, ROT270, "Taito", "Colony 7 (set 2)", GAME_SUPPORTS_SAVE )
2891GAME( 1982, jin,      0,          jin,                 jin,      defender, ROT90,  "Falcon", "Jin", GAME_SUPPORTS_SAVE )
28922892
28932893/* Standard Williams hardware */
28942894GAME( 1981, stargate, 0,        williams,            stargate, stargate, ROT0,   "Williams", "Stargate", GAME_SUPPORTS_SAVE )
2895GAME( 1982, robotron, 0,        williams,            robotron, robotron, ROT0,   "Williams", "Robotron (Solid Blue label)", GAME_SUPPORTS_SAVE )
2896GAME( 1982, robotryo, robotron, williams,            robotron, robotron, ROT0,   "Williams", "Robotron (Yellow/Orange label)", GAME_SUPPORTS_SAVE )
2895GAME( 1982, robotron,   0,        williams,            robotron, robotron, ROT0,   "Williams", "Robotron (Solid Blue label)", GAME_SUPPORTS_SAVE )
2896GAME( 1982, robotronyo, robotron, williams,            robotron, robotron, ROT0,   "Williams", "Robotron (Yellow/Orange label)", GAME_SUPPORTS_SAVE )
28972897GAME( 1982, joust,    0,        williams_muxed,      joust,    joust,    ROT0,   "Williams", "Joust (White/Green label)", GAME_SUPPORTS_SAVE )
28982898GAME( 1982, joustr,   joust,    williams_muxed,      joust,    joust,    ROT0,   "Williams", "Joust (Solid Red label)", GAME_SUPPORTS_SAVE )
28992899GAME( 1982, joustwr,  joust,    williams_muxed,      joust,    joust,    ROT0,   "Williams", "Joust (White/Red label)", GAME_SUPPORTS_SAVE )
r5338r5339
29022902GAME( 1982, bubblesp, bubbles,  williams,            bubbles,  bubbles,  ROT0,   "Williams", "Bubbles (prototype version)", GAME_SUPPORTS_SAVE )
29032903GAME( 1982, splat,    0,        williams_muxed,      splat,    splat,    ROT0,   "Williams", "Splat!", GAME_SUPPORTS_SAVE )
29042904GAME( 1982, sinistar, 0,        sinistar,            sinistar, sinistar, ROT270, "Williams", "Sinistar (revision 3)", GAME_SUPPORTS_SAVE )
2905GAME( 1982, sinista1, sinistar, sinistar,            sinistar, sinistar, ROT270, "Williams", "Sinistar (prototype version)", GAME_SUPPORTS_SAVE )
2906GAME( 1982, sinista2, sinistar, sinistar,            sinistar, sinistar, ROT270, "Williams", "Sinistar (revision 2)", GAME_SUPPORTS_SAVE )
2905GAME( 1982, sinistar1, sinistar, sinistar,            sinistar, sinistar, ROT270, "Williams", "Sinistar (prototype version)", GAME_SUPPORTS_SAVE )
2906GAME( 1982, sinistar2, sinistar, sinistar,            sinistar, sinistar, ROT270, "Williams", "Sinistar (revision 2)", GAME_SUPPORTS_SAVE )
29072907GAME( 1983, playball, 0,        playball,            playball, playball, ROT270, "Williams", "PlayBall! (prototype)", GAME_SUPPORTS_SAVE )
2908GAME( 1983, blaster,  0,        blaster,             blaster,  blaster,  ROT0,   "Williams", "Blaster", GAME_SUPPORTS_SAVE )
2909GAME( 1983, blast30,  blaster,  blaster,             blaster,  blaster,  ROT0,   "Williams", "Blaster (early 30 wave version)", GAME_SUPPORTS_SAVE )
2910GAME( 1983, blastkit, blaster,  blastkit,            blastkit, blastkit, ROT0,   "Williams", "Blaster (kit)", GAME_SUPPORTS_SAVE )
2908GAME( 1983, blaster,    0,        blaster,             blaster,  blaster,  ROT0,   "Williams", "Blaster", GAME_SUPPORTS_SAVE )
2909GAME( 1983, blaster30,  blaster,  blaster,             blaster,  blaster,  ROT0,   "Williams", "Blaster (early 30 wave version)", GAME_SUPPORTS_SAVE )
2910GAME( 1983, blasterkit, blaster,  blastkit,            blastkit, blastkit, ROT0,   "Williams", "Blaster (kit)", GAME_SUPPORTS_SAVE )
29112911GAME( 1985, spdball,  0,        spdball,             spdball,  spdball,  ROT0,   "Williams", "Speed Ball (prototype)", GAME_SUPPORTS_SAVE )
29122912GAME( 1985, alienar,  0,        alienar,             alienar,  alienar,  ROT0,   "Duncan Brown", "Alien Arena", GAME_SUPPORTS_SAVE )
29132913GAME( 1985, alienaru, alienar,  alienar,             alienar,  alienaru, ROT0,   "Duncan Brown", "Alien Arena (Stargate Upgrade)", GAME_SUPPORTS_SAVE )
src/mame/drivers/dec8.c
r5338r5339
24342434   ROM_CONTINUE(            0x60000, 0x08000 )
24352435ROM_END
24362436
2437ROM_START( cobracmj )
2437ROM_START( cobracomj )
24382438   ROM_REGION( 0x30000, "maincpu", 0 )
24392439   ROM_LOAD( "eh-11.rom",    0x08000, 0x08000, CRC(868637e1) SHA1(8b1e3e045e341bb94b1f6c7d89198b22e6c19de7) )
24402440   ROM_LOAD( "eh-12.rom",    0x10000, 0x10000, CRC(7c878a83) SHA1(9b2a3083c6dae69626fdab16d97517d30eaa1859) )
r5338r5339
27962796   ROM_LOAD( "dy12.f4",  0x00000,  0x100,  CRC(ebfaaed9) SHA1(5723dbfa3eb3fc4df8c8975b320a5c49848309d8) )   /* Priority (Not yet used) */
27972797ROM_END
27982798
2799ROM_START( srdarwnj )
2799ROM_START( srdarwinj )
28002800   ROM_REGION( 0x28000, "maincpu", 0 )
28012801   ROM_LOAD( "dy_01.rom", 0x20000, 0x08000, CRC(1eeee4ff) SHA1(89a70de8bd61c671582b11773ce69b2edcd9c2f8) )
28022802   ROM_CONTINUE(          0x08000, 0x08000 )
r5338r5339
30913091   ROM_LOAD( "dl-14.9c",    0x00000,  0x100,  CRC(2e55aa12) SHA1(c0f2b9649467eb9d2c1e47589b5990f5c5e8cc93) )   /* Priority (Not yet used) */
30923092ROM_END
30933093
3094ROM_START( lastmsno )
3094ROM_START( lastmisno )
30953095   ROM_REGION( 0x20000, "maincpu", 0 )
30963096   ROM_LOAD( "lm_dl03.13h", 0x08000, 0x08000, CRC(357f5f6b) SHA1(a114aac50db62a6bcb943681e517ad7c88ec47f4) ) /* Rev 5 roms */
30973097   ROM_LOAD( "lm_dl04.7h",  0x10000, 0x10000, CRC(7dea1552) SHA1(920684413e2ba4313111e79821c5714977b26b1a) )
r5338r5339
31273127   ROM_LOAD( "dl-14.9c",    0x00000,  0x100,  CRC(2e55aa12) SHA1(c0f2b9649467eb9d2c1e47589b5990f5c5e8cc93) )   /* Priority (Not yet used) */
31283128ROM_END
31293129
3130ROM_START( lastmsnj )
3130ROM_START( lastmisnj )
31313131   ROM_REGION( 0x20000, "maincpu", 0 )
31323132   ROM_LOAD( "dl03-.13h",   0x08000, 0x08000, CRC(4be5e7e1) SHA1(9f943658663da31947cebdcbcb5f4e2be0714c06) )
31333133   ROM_LOAD( "dl04-.7h",    0x10000, 0x10000, CRC(f026adf9) SHA1(4ccd0e714a6eb7cee388c93beee2d5510407c961) )
r5338r5339
34443444/******************************************************************************/
34453445
34463446GAME( 1988, cobracom, 0,        cobracom, cobracom, 0,       ROT0,   "Data East Corporation", "Cobra-Command (World revision 5)", 0 )
3447GAME( 1988, cobracmj, cobracom, cobracom, cobracom, 0,       ROT0,   "Data East Corporation", "Cobra-Command (Japan)", 0 )
3447GAME( 1988, cobracomj,cobracom, cobracom, cobracom, 0,       ROT0,   "Data East Corporation", "Cobra-Command (Japan)", 0 )
34483448GAME( 1987, ghostb,   0,        ghostb,   ghostb,   ghostb,  ROT0,   "Data East USA", "The Real Ghostbusters (US 2 Players)", 0 )
34493449GAME( 1987, ghostb3,  ghostb,   ghostb,   ghostb3,  ghostb,  ROT0,   "Data East USA", "The Real Ghostbusters (US 3 Players)", 0 )
34503450GAME( 1987, meikyuh,  ghostb,   meikyuh,  meikyuh,  meikyuh, ROT0,   "Data East Corporation", "Meikyuu Hunter G (Japan, set 1)", 0 )
34513451GAME( 1987, meikyuha, ghostb,   meikyuh,  meikyuh,  meikyuh, ROT0,   "Data East Corporation", "Meikyuu Hunter G (Japan, set 2)", 0 )
34523452GAME( 1987, srdarwin, 0,        srdarwin, srdarwin, deco222, ROT270, "Data East Corporation", "Super Real Darwin (World)", 0 )
3453GAME( 1987, srdarwnj, srdarwin, srdarwin, srdarwin, deco222, ROT270, "Data East Corporation", "Super Real Darwin (Japan)", 0 )
3453GAME( 1987, srdarwinj,srdarwin, srdarwin, srdarwin, deco222, ROT270, "Data East Corporation", "Super Real Darwin (Japan)", 0 )
34543454GAME( 1987, gondo,    0,        gondo,    gondo,    0,       ROT270, "Data East USA", "Gondomania (US)", 0 )
34553455GAME( 1987, makyosen, gondo,    gondo,    gondo,    0,       ROT270, "Data East Corporation", "Makyou Senshi (Japan)", 0 )
34563456GAME( 1988, oscar,    0,        oscar,    oscar,    deco222, ROT0,   "Data East Corporation", "Psycho-Nics Oscar (World revision 0)", 0 )
r5338r5339
34583458GAME( 1987, oscarj1,  oscar,    oscar,    oscaru,   deco222, ROT0,   "Data East Corporation", "Psycho-Nics Oscar (Japan revision 1)", 0 )
34593459GAME( 1987, oscarj2,  oscar,    oscar,    oscaru,   deco222, ROT0,   "Data East Corporation", "Psycho-Nics Oscar (Japan revision 2)", 0 )
34603460GAME( 1986, lastmisn, 0,        lastmiss, lastmisn, 0,       ROT270, "Data East USA", "Last Mission (US revision 6)", 0 )
3461GAME( 1986, lastmsno, lastmisn, lastmiss, lastmisn, 0,       ROT270, "Data East USA", "Last Mission (US revision 5)", 0 )
3462GAME( 1986, lastmsnj, lastmisn, lastmiss, lastmsnj, 0,       ROT270, "Data East Corporation", "Last Mission (Japan)", 0 )
3461GAME( 1986, lastmisno,lastmisn, lastmiss, lastmisn, 0,       ROT270, "Data East USA", "Last Mission (US revision 5)", 0 )
3462GAME( 1986, lastmisnj,lastmisn, lastmiss, lastmsnj, 0,       ROT270, "Data East Corporation", "Last Mission (Japan)", 0 )
34633463GAME( 1986, shackled, 0,        shackled, shackled, 0,       ROT0,   "Data East USA", "Shackled (US)", 0 )
34643464GAME( 1986, breywood, shackled, shackled, shackled, 0,       ROT0,   "Data East Corporation", "Breywood (Japan revision 2)", 0 )
34653465GAME( 1987, csilver,  0,        csilver,  csilver,  0,       ROT0,   "Data East Corporation", "Captain Silver (World)", 0 )
src/mame/drivers/slotcarn.c
r5338r5339
347347
348348static INPUT_PORTS_START( spielbud )
349349   PORT_START("IN0")   /* b800 (ppi8255) */
350   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Discard 1 / Deal (BJ)")
351   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Discard 2")
352   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Discard 3 / Bet 1 / Split (BJ)")
353   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Discard4 / Stand (BJ)")
354   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Discard5 / Hit (BJ)")
355   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_1) PORT_NAME("Start")
356   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_CODE(KEYCODE_N) PORT_NAME("Cancel / Select")
350   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Discard 1 / Deal (BJ)")
351   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Discard 2")
352   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Discard 3 / Bet 1 / Split (BJ)")
353   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Discard 4 / Stand (BJ)")
354   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Discard 5 / Hit (BJ)")
355   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
356   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) PORT_NAME("Cancel / Select")
357357   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
358358
359359   PORT_START("IN1")   /* b801 (ppi8255) */
360   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1)    PORT_IMPULSE(2)   /* Coin A */
361   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2)    PORT_IMPULSE(2)   /* Coin B */
362   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
363   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
360   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1) PORT_IMPULSE(2)   /* Coin A */
361   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2) PORT_IMPULSE(2)   /* Coin B */
362   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
363   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
364364   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
365   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3)    PORT_IMPULSE(2)   /* Coin C */
366   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN4)    PORT_IMPULSE(2)   /* Coin D */
365   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3) PORT_IMPULSE(2)   /* Coin C */
366   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN4) PORT_IMPULSE(2)   /* Coin D */
367367   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
368368
369369   PORT_START("IN2")   /* b802 (ppi8255) */
r5338r5339
371371
372372   PORT_START("IN3")   /* bc00 (ppi8255) */
373373   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
374   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON8 )  PORT_CODE(KEYCODE_A) PORT_NAME("Tief (Low)")
375   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON9 )  PORT_CODE(KEYCODE_S) PORT_NAME("Hoch (High)")
376   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_CODE(KEYCODE_3) PORT_NAME("Double-Up")
377   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_CODE(KEYCODE_4) PORT_NAME("Take Score")
378   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_CODE(KEYCODE_2) PORT_NAME("Bet 2")
379   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE )  PORT_CODE(KEYCODE_W) PORT_NAME("Payout")
374   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Tief (Low)")
375   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Hoch (High)")
376   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) PORT_NAME("Double-Up")
377   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Take Score")
378   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Bet 2")
379   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
380380   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
381381
382382   PORT_START("IN4")   /* bc01 (ppi8255) */
src/mame/drivers/battlane.c
r5338r5339
319319   ROM_LOAD( "82s123.9n", 0x00020, 0x0020, CRC(06491e53) SHA1(d6cf5003798f9a9d555bca97844dcb2966cbac9d) )
320320ROM_END
321321
322ROM_START( battlan2 )
322ROM_START( battlane2 )
323323   ROM_REGION( 0x8000, "user1", 0 )
324324   ROM_LOAD( "da00-3",     0x0000, 0x8000, CRC(7a0a5d58) SHA1(ef97e5a64a668c437c18cda931c52bf39b580b4a) )
325325
r5338r5339
347347   ROM_LOAD( "82s123.9n", 0x00020, 0x0020, CRC(06491e53) SHA1(d6cf5003798f9a9d555bca97844dcb2966cbac9d) )
348348ROM_END
349349
350ROM_START( battlan3 )
350ROM_START( battlane3 )
351351   ROM_REGION( 0x8000, "user1", 0 )
352352   ROM_LOAD( "bl_04.rom",  0x0000, 0x8000, CRC(5681564c) SHA1(25b3a715e91976830d87c7c45b93b473df709241) )
353353
r5338r5339
376376ROM_END
377377
378378
379GAME( 1986, battlane, 0,        battlane, battlane, 0, ROT90, "Technos Japan (Taito license)", "Battle Lane! Vol. 5 (set 1)", 0 )
380GAME( 1986, battlan2, battlane, battlane, battlane, 0, ROT90, "Technos Japan (Taito license)", "Battle Lane! Vol. 5 (set 2)", 0 )
381GAME( 1986, battlan3, battlane, battlane, battlane, 0, ROT90, "Technos Japan (Taito license)", "Battle Lane! Vol. 5 (set 3)", 0 )
379GAME( 1986, battlane,  0,        battlane, battlane, 0, ROT90, "Technos Japan (Taito license)", "Battle Lane! Vol. 5 (set 1)", 0 )
380GAME( 1986, battlane2, battlane, battlane, battlane, 0, ROT90, "Technos Japan (Taito license)", "Battle Lane! Vol. 5 (set 2)", 0 )
381GAME( 1986, battlane3, battlane, battlane, battlane, 0, ROT90, "Technos Japan (Taito license)", "Battle Lane! Vol. 5 (set 3)", 0 )
src/mame/drivers/crimfght.c
r5338r5339
284284   ROM_LOAD( "821k03.e5",  0x00000, 0x40000, CRC(fef8505a) SHA1(5c5121609f69001838963e961cb227d6b64e4f5f) )
285285ROM_END
286286
287ROM_START( crimfgtj )
287ROM_START( crimfghtj )
288288   ROM_REGION( 0x28000, "maincpu", 0 ) /* code + banked roms */
289289   ROM_LOAD( "821p02.bin", 0x10000, 0x18000, CRC(f33fa2e1) SHA1(00fc9e8250fa51386f3af2fca0f137bec9e1c220) )
290290   ROM_CONTINUE(           0x08000, 0x08000 )
r5338r5339
307307   ROM_LOAD( "821k03.e5",  0x00000, 0x40000, CRC(fef8505a) SHA1(5c5121609f69001838963e961cb227d6b64e4f5f) )
308308ROM_END
309309
310ROM_START( crimfgt2 )
310ROM_START( crimfght2 )
311311ROM_REGION( 0x28000, "maincpu", 0 ) /* code + banked roms */
312312   ROM_LOAD( "crimefb.r02", 0x10000, 0x18000, CRC(4ecdd923) SHA1(78e5260c4bb9b18d7818fb6300d7e1d3a577fb63) )
313313   ROM_CONTINUE(           0x08000, 0x08000 )
r5338r5339
376376
377377
378378GAME( 1989, crimfght, 0,        crimfght, crimfght, crimfght, ROT0, "Konami", "Crime Fighters (US 4 players)", 0 )
379GAME( 1989, crimfgt2, crimfght, crimfght, crimfgtj, crimfght, ROT0, "Konami", "Crime Fighters (World 2 Players)", 0 )
380GAME( 1989, crimfgtj, crimfght, crimfght, crimfgtj, crimfght, ROT0, "Konami", "Crime Fighters (Japan 2 Players)", 0 )
379GAME( 1989, crimfght2,crimfght, crimfght, crimfgtj, crimfght, ROT0, "Konami", "Crime Fighters (World 2 Players)", 0 )
380GAME( 1989, crimfghtj,crimfght, crimfght, crimfgtj, crimfght, ROT0, "Konami", "Crime Fighters (Japan 2 Players)", 0 )
src/mame/drivers/asuka.c
r5338r5339
10541054   ROM_LOAD( "b41-04.48",  0x00000, 0x80000, CRC(c668638f) SHA1(07238a6cb4d93ffaf6351657163b5d80f0dbf688) )
10551055ROM_END
10561056
1057ROM_START( bonzeado )
1057ROM_START( bonzeadvo )
10581058   ROM_REGION( 0x100000, "maincpu", 0 )     /* 68000 code */
10591059   ROM_LOAD16_BYTE( "b41-09.17",   0x00000, 0x10000, CRC(06818710) SHA1(b8045f4e15246231a5645d22bb965953f7fb47a3) )
10601060   ROM_LOAD16_BYTE( "b41-11.26",   0x00001, 0x10000, CRC(33c4c2f4) SHA1(3f1e76932d8f7e06e976b968a711177d25254bef) )
r5338r5339
10791079   ROM_LOAD( "b41-04.48",  0x00000, 0x80000, CRC(c668638f) SHA1(07238a6cb4d93ffaf6351657163b5d80f0dbf688) )
10801080ROM_END
10811081
1082ROM_START( bonzeadu )
1082ROM_START( bonzeadvu )
10831083   ROM_REGION( 0x100000, "maincpu", 0 )     /* 68000 code */
10841084   ROM_LOAD16_BYTE( "b41-09-1.17", 0x00000, 0x10000, CRC(af821fbc) SHA1(55bc13742033a31c92d6268d6b8344062ca78633) )
10851085   ROM_LOAD16_BYTE( "b41-11-1.26", 0x00001, 0x10000, CRC(823fff00) SHA1(b8b8cafbe860136c202d8d9f3ed5a54e2f4df363) )
r5338r5339
13691369
13701370
13711371GAME( 1988, bonzeadv, 0,        bonzeadv, bonzeadv, 0, ROT0,   "Taito Corporation Japan", "Bonze Adventure (World, Newer)", GAME_SUPPORTS_SAVE )
1372GAME( 1988, bonzeado, bonzeadv, bonzeadv, bonzeadv, 0, ROT0,   "Taito Corporation Japan", "Bonze Adventure (World, Older)", GAME_SUPPORTS_SAVE )
1373GAME( 1988, bonzeadu, bonzeadv, bonzeadv, jigkmgri, 0, ROT0,   "Taito America Corporation", "Bonze Adventure (US)", GAME_SUPPORTS_SAVE )
1372GAME( 1988, bonzeadvo, bonzeadv, bonzeadv, bonzeadv, 0, ROT0,   "Taito Corporation Japan", "Bonze Adventure (World, Older)", GAME_SUPPORTS_SAVE )
1373GAME( 1988, bonzeadvu, bonzeadv, bonzeadv, jigkmgri, 0, ROT0,   "Taito America Corporation", "Bonze Adventure (US)", GAME_SUPPORTS_SAVE )
13741374GAME( 1988, jigkmgri, bonzeadv, bonzeadv, jigkmgri, 0, ROT0,   "Taito Corporation", "Jigoku Meguri (Japan)", GAME_SUPPORTS_SAVE )
13751375GAME( 1988, asuka,    0,        asuka,    asuka,    0, ROT270, "Taito Corporation", "Asuka & Asuka (World)", GAME_SUPPORTS_SAVE )
13761376GAME( 1988, asukaj,   asuka,    asuka,    asuka,    0, ROT270, "Taito Corporation", "Asuka & Asuka (Japan)", GAME_SUPPORTS_SAVE )
src/mame/drivers/tankbatt.c
r5338r5339
4040$2000-$3fff : ROM
4141
4242TODO:
43    . Needs proper discrete emulation
4344    . Resistor values on the color prom need to be verified
4445
4546Changes:
r5338r5339
104105{
105106   tankbatt_nmi_enable = !data;
106107   tankbatt_sound_enable = !data;
107   if (data != 0)
108   {
109      cputag_set_input_line(space->machine, "maincpu", 0, CLEAR_LINE);
110      cputag_set_input_line(space->machine, "maincpu", INPUT_LINE_NMI, CLEAR_LINE);
111   }
108
112109   /* hack - turn off the engine noise if the normal game nmi's are disabled */
113110   if (data) sample_stop (devtag_get_device(space->machine, "samples"), 2);
114111//  interrupt_enable_w (offset, !data);
r5338r5339
117114static WRITE8_HANDLER( tankbatt_demo_interrupt_enable_w )
118115{
119116   tankbatt_nmi_enable = data;
120   if (data != 0)
121   {
122      cputag_set_input_line(space->machine, "maincpu", 0, CLEAR_LINE);
123      cputag_set_input_line(space->machine, "maincpu", INPUT_LINE_NMI, CLEAR_LINE);
124   }
125117//  interrupt_enable_w (offset, data);
126118}
127119
r5338r5339
156148   }
157149}
158150
151static WRITE8_HANDLER( tankbatt_irq_ack_w )
152{
153   /* 0x6e written at the end of the irq routine, could be either irq ack or a coin sample */
154   cputag_set_input_line(space->machine, "maincpu", 0, CLEAR_LINE);
155}
156
157static WRITE8_HANDLER( tankbatt_coin_counter_w )
158{
159   coin_counter_w(0,data & 1);
160   coin_counter_w(1,data & 1);
161}
162
163static WRITE8_HANDLER( tankbatt_coin_lockout_w )
164{
165   coin_lockout_w(0,data & 1);
166   coin_lockout_w(1,data & 1);
167}
168
159169static ADDRESS_MAP_START( main_map, ADDRESS_SPACE_PROGRAM, 8 )
160   AM_RANGE(0x0000, 0x01ff) AM_READ(SMH_RAM)
161   AM_RANGE(0x0000, 0x000f) AM_WRITE(SMH_RAM) AM_BASE(&tankbatt_bulletsram) AM_SIZE(&tankbatt_bulletsram_size)
162   AM_RANGE(0x0010, 0x01ff) AM_WRITE(SMH_RAM)
163   AM_RANGE(0x0800, 0x0bff) AM_WRITE(tankbatt_videoram_w) AM_BASE(&videoram)
170   AM_RANGE(0x0000, 0x000f) AM_RAM AM_BASE(&tankbatt_bulletsram) AM_SIZE(&tankbatt_bulletsram_size)
171   AM_RANGE(0x0010, 0x01ff) AM_RAM
172   AM_RANGE(0x0200, 0x07ff) AM_RAM
173   AM_RANGE(0x0800, 0x0bff) AM_RAM_WRITE(tankbatt_videoram_w) AM_BASE(&videoram)
164174   AM_RANGE(0x0c00, 0x0c07) AM_READ(tankbatt_in0_r)
165175   AM_RANGE(0x0c00, 0x0c01) AM_WRITE(tankbatt_led_w)
176   AM_RANGE(0x0c02, 0x0c02) AM_WRITE(tankbatt_coin_counter_w)
177   AM_RANGE(0x0c03, 0x0c03) AM_WRITE(tankbatt_coin_lockout_w)
166178   AM_RANGE(0x0c08, 0x0c0f) AM_READ(tankbatt_in1_r)
179   AM_RANGE(0x0c08, 0x0c08) AM_WRITENOP //coin counter mirror?
167180   AM_RANGE(0x0c0a, 0x0c0a) AM_WRITE(tankbatt_interrupt_enable_w)
168181   AM_RANGE(0x0c0b, 0x0c0b) AM_WRITE(tankbatt_sh_engine_w)
169182   AM_RANGE(0x0c0c, 0x0c0c) AM_WRITE(tankbatt_sh_fire_w)
170   AM_RANGE(0x0c0d, 0x0c0d) AM_WRITE(tankbatt_sh_expl_w)
183   AM_RANGE(0x0c0d, 0x0c0d) AM_WRITE(tankbatt_sh_expl_w) // bit 7 == led for the start 2 button
184   AM_RANGE(0x0c0e, 0x0c0e) AM_WRITENOP //bit 7 == led for the start 1 button
171185   AM_RANGE(0x0c0f, 0x0c0f) AM_WRITE(tankbatt_demo_interrupt_enable_w)
186   AM_RANGE(0x0c10, 0x0c10) AM_WRITE(tankbatt_irq_ack_w)
172187   AM_RANGE(0x0c18, 0x0c1f) AM_READ(tankbatt_dsw_r)
173188   AM_RANGE(0x0c18, 0x0c18) AM_WRITENOP   /* watchdog ?? */
174   AM_RANGE(0x0200, 0x0bff) AM_READ(SMH_RAM)
175   AM_RANGE(0x0200, 0x07ff) AM_WRITE(SMH_RAM)
176   AM_RANGE(0x2000, 0x3fff) AM_WRITE(SMH_ROM)
177   AM_RANGE(0x6000, 0x7fff) AM_READ(SMH_ROM)
178   AM_RANGE(0xf800, 0xffff) AM_READ(SMH_ROM)   /* for the reset / interrupt vectors */
189   AM_RANGE(0x6000, 0x7fff) AM_ROM AM_REGION("maincpu",0)
190   AM_RANGE(0xe000, 0xffff) AM_ROM AM_REGION("maincpu",0) //mirror for the reset/irq vectors
191   AM_RANGE(0x2000, 0xffff) AM_READNOP //anything else might be left-over for a diagnostic ROM or something related to the discrete sound HW
179192ADDRESS_MAP_END
180193
181194static INTERRUPT_GEN( tankbatt_interrupt )
182195{
183   if ((input_port_read(device->machine, "P1") & 0x60) == 0) cpu_set_input_line(device,0,HOLD_LINE);
184   else if (tankbatt_nmi_enable) cpu_set_input_line(device,INPUT_LINE_NMI,PULSE_LINE);
196   if (tankbatt_nmi_enable) cpu_set_input_line(device,INPUT_LINE_NMI,PULSE_LINE);
185197}
186198
199static INPUT_CHANGED( coin_inserted )
200{
201   cputag_set_input_line(field->port->machine, "maincpu", 0, ASSERT_LINE);
202}
203
187204static INPUT_PORTS_START( tankbatt )
188205   PORT_START("P1")   /* IN0 */
189206   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
r5338r5339
191208   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
192209   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
193210   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
194   PORT_BIT( 0x60, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)
211   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_CHANGED(coin_inserted, 0)
212   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_CHANGED(coin_inserted, 0)
195213   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_TILT )
196214
197215   PORT_START("P2")   /* IN1 */
r5338r5339
318336***************************************************************************/
319337
320338ROM_START( tankbatt )
321   ROM_REGION( 0x10000, "maincpu", 0 )
322   ROM_LOAD( "tb1-1.1a",  0x6000, 0x0800, CRC(278a0b8c) SHA1(11ea8fe8401b3cd986616a30a759c0ac1a5ce73b) )
323   ROM_LOAD( "tb1-2.1b",  0x6800, 0x0800, CRC(e0923370) SHA1(8d3dbea877bed9f9c267d8002dc180f6eb1e5a8f) )
324   ROM_LOAD( "tb1-3.1c",  0x7000, 0x0800, CRC(85005ea4) SHA1(91583081803a5ef600fb90bee34be9edd87f157e) )
325   ROM_LOAD( "tb1-4.1d",  0x7800, 0x0800, CRC(3dfb5bcf) SHA1(aa24bf74f4d5dc81baf3843196c837e0b731077b) )
326   ROM_RELOAD(            0xf800, 0x0800 )   /* for the reset and interrupt vectors */
339   ROM_REGION( 0x2000, "maincpu", 0 )
340   ROM_LOAD( "tb1-1.1a",  0x0000, 0x0800, CRC(278a0b8c) SHA1(11ea8fe8401b3cd986616a30a759c0ac1a5ce73b) )
341   ROM_LOAD( "tb1-2.1b",  0x0800, 0x0800, CRC(e0923370) SHA1(8d3dbea877bed9f9c267d8002dc180f6eb1e5a8f) )
342   ROM_LOAD( "tb1-3.1c",  0x1000, 0x0800, CRC(85005ea4) SHA1(91583081803a5ef600fb90bee34be9edd87f157e) )
343   ROM_LOAD( "tb1-4.1d",  0x1800, 0x0800, CRC(3dfb5bcf) SHA1(aa24bf74f4d5dc81baf3843196c837e0b731077b) )
327344
328345   ROM_REGION( 0x0800, "gfx1", 0 )
329346   ROM_LOAD( "tb1-5.2k",  0x0000, 0x0800, CRC(aabd4fb1) SHA1(5cff659b531d0f1b6faa503f7c06045c3a209a84) )
330347
331   ROM_REGION( 0x0100, "proms", 0 )
348   ROM_REGION( 0x0200, "proms", 0 )
332349   ROM_LOAD( "bct1-1.l3", 0x0000, 0x0100, CRC(d17518bc) SHA1(f3b0deffa586808bc59e9a24ec1699c54ebe84cc) ) /* prom is a Fujitsu MB7052 or equivalent */
350   ROM_LOAD( "prom.2d", 0x0100, 0x0100, NO_DUMP )
333351ROM_END
334352
335353
336354
337GAME( 1980, tankbatt, 0, tankbatt, tankbatt, 0, ROT90, "Namco", "Tank Battalion", 0 )
355GAME( 1980, tankbatt, 0, tankbatt, tankbatt, 0, ROT90, "Namco", "Tank Battalion", GAME_IMPERFECT_SOUND )
src/mame/drivers/funybubl.c
r5338r5339
153153   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )   /* Maybe unused */
154154
155155   PORT_START("DSW")   /* DSW 1 */
156   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coin_A ) )
156   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW1:1,2,3")
157157   PORT_DIPSETTING(    0x01, DEF_STR( 3C_1C ) )
158158   PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
159159   PORT_DIPSETTING(    0x03, DEF_STR( 3C_2C ) )
r5338r5339
162162   PORT_DIPSETTING(    0x06, DEF_STR( 1C_2C ) )
163163   PORT_DIPSETTING(    0x05, DEF_STR( 1C_3C ) )
164164   PORT_DIPSETTING(    0x00, DEF_STR( Free_Play) )
165   PORT_DIPNAME( 0x38, 0x38, DEF_STR( Difficulty ) )
165   PORT_DIPNAME( 0x38, 0x38, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:4,5,6")
166166   PORT_DIPSETTING(    0x30, DEF_STR( Very_Easy) )
167167   PORT_DIPSETTING(    0x28, DEF_STR( Easy ) )
168168   PORT_DIPSETTING(    0x38, DEF_STR( Normal ) )
r5338r5339
170170   PORT_DIPSETTING(    0x18, "Hard 2" )
171171   PORT_DIPSETTING(    0x10, "Hard 3" )
172172   PORT_DIPSETTING(    0x08, "Hard 4" )
173   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
173   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:7")
174174   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
175175   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
176   PORT_DIPNAME( 0x80, 0x00, "Nudity" )
176   PORT_DIPNAME( 0x80, 0x00, "Nudity" )         PORT_DIPLOCATION("SW1:8")
177177   PORT_DIPSETTING(    0x80, "Semi" )
178178   PORT_DIPSETTING(    0x00, "Full" )
179179INPUT_PORTS_END
r5338r5339
286286   ROM_CONTINUE(       0x60000,  0x20000 )
287287ROM_END
288288
289ROM_START( funybubc )
289ROM_START( funybublc )
290290   ROM_REGION( 0x50000, "maincpu", 0 ) /* main z80, lots of banked data */
291291   ROM_LOAD( "2.ub16", 0x00000, 0x40000, CRC(d684c13f) SHA1(6a58b44dd775f374d6fd476a8fd175c28a83a495)  )
292292   ROM_RELOAD ( 0x10000, 0x40000 )
r5338r5339
319319
320320
321321GAME( 1999, funybubl, 0,        funybubl, funybubl, funybubl, ROT0, "In Chang Electronic Co", "Funny Bubble", 0 )
322GAME( 1999, funybubc, funybubl, funybubl, funybubl, funybubl, ROT0, "Comad Industry Co Ltd", "Funny Bubble (Comad version)", 0 )
322GAME( 1999, funybublc,funybubl, funybubl, funybubl, funybubl, ROT0, "Comad Industry Co Ltd", "Funny Bubble (Comad version)", 0 )
323323
src/mame/drivers/shisen.c
r5338r5339
300300   ROM_LOAD( "ic05.05",      0x30000, 0x10000, CRC(92ffe22a) SHA1(19dcaf6e25bb7498d4ab19fa0a63f3326b9bff8f) )
301301ROM_END
302302
303ROM_START( sichuana )
303ROM_START( sichuan2a )
304304   ROM_REGION( 0x30000, "maincpu", 0 )   /* 64k+128k for main CPU */
305305   ROM_LOAD( "sichuan.a6",   0x00000, 0x10000, CRC(f8ac05ef) SHA1(cd20e5239d73264f1323ba6b1e35934685852ba1) )
306306   ROM_RELOAD(               0x10000, 0x10000 )
r5338r5339
440440GAME( 1989, matchit,  0,        shisen,   matchit,  0, ROT0, "Tamtex",  "Match It", 0 )
441441GAME( 1989, shisen,   matchit,   shisen,   shisen,   0, ROT0, "Tamtex",  "Shisensho - Joshiryo-Hen (Japan)", 0 )
442442GAME( 1989, sichuan2, matchit,   shisen,   shisen,   0, ROT0, "hack", "Sichuan II (hack, set 1)", 0 )
443GAME( 1989, sichuana, matchit,   shisen,   shisen,   0, ROT0, "hack", "Sichuan II (hack, set 2)", 0 )
443GAME( 1989, sichuan2a,matchit,   shisen,   shisen,   0, ROT0, "hack", "Sichuan II (hack, set 2)", 0 )
444444
src/mame/drivers/nmk16.c
r5338r5339
329329   AM_RANGE(0x08001e, 0x08001f) AM_WRITE(NMK004_w)
330330   AM_RANGE(0x088000, 0x0887ff) AM_RAM_WRITE(paletteram16_RRRRGGGGBBBBRGBx_word_w) AM_BASE(&paletteram16)
331331   AM_RANGE(0x08c000, 0x08c007) AM_WRITE(vandyke_scroll_w)
332   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram_w) AM_BASE(&nmk_bgvideoram)
332   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram0_w) AM_BASE(&nmk_bgvideoram0)
333333   AM_RANGE(0x094000, 0x097fff) AM_RAM /* what is this? */
334334   AM_RANGE(0x09d000, 0x09d7ff) AM_RAM_WRITE(nmk_txvideoram_w) AM_BASE(&nmk_txvideoram)
335335   AM_RANGE(0x0f0000, 0x0fffff) AM_RAM AM_BASE(&nmk16_mainram)
r5338r5339
346346   AM_RANGE(0x08001c, 0x08001d) AM_WRITENOP         /* See notes at the top of the driver */
347347   AM_RANGE(0x08001e, 0x08001f) AM_READWRITE(soundlatch2_word_r,soundlatch_word_w)
348348   AM_RANGE(0x088000, 0x0883ff) AM_RAM_WRITE(paletteram16_RRRRGGGGBBBBRGBx_word_w) AM_BASE(&paletteram16)
349   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram_w) AM_BASE(&nmk_bgvideoram)
349   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram0_w) AM_BASE(&nmk_bgvideoram0)
350350   AM_RANGE(0x09c000, 0x09cfff) AM_RAM_WRITE(manybloc_scroll_w) AM_BASE(&gunnail_scrollram)
351351   AM_RANGE(0x09d000, 0x09d7ff) AM_RAM_WRITE(nmk_txvideoram_w) AM_BASE(&nmk_txvideoram)
352352   AM_RANGE(0x0f0000, 0x0fffff) AM_RAM AM_BASE(&nmk16_mainram)
r5338r5339
366366   AM_RANGE(0x080202, 0x080203) AM_READ_PORT("IN2")
367367   AM_RANGE(0x088000, 0x0883ff) AM_RAM_WRITE(paletteram16_RRRRGGGGBBBBRGBx_word_w) AM_BASE(&paletteram16)
368368//  AM_RANGE(0x08c000, 0x08c007) AM_WRITE(nmk_scroll_w)
369   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram_w) AM_BASE(&nmk_bgvideoram)
369   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram0_w) AM_BASE(&nmk_bgvideoram0)
370370   AM_RANGE(0x09c000, 0x09c7ff) AM_RAM /* Unused txvideoram area? */
371371   AM_RANGE(0x09d000, 0x09d7ff) AM_RAM_WRITE(nmk_txvideoram_w) AM_BASE(&nmk_txvideoram)
372372   AM_RANGE(0x0f0000, 0x0fffff) AM_RAM_WRITE(nmk16_mainram_strange_w) AM_BASE(&nmk16_mainram)
r5338r5339
402402   AM_RANGE(0x088000, 0x0887ff) AM_RAM_WRITE(paletteram16_RRRRGGGGBBBBRGBx_word_w) AM_BASE(&paletteram16)
403403   AM_RANGE(0x08c000, 0x08c001) AM_WRITE(mustang_scroll_w)
404404   AM_RANGE(0x08c002, 0x08c087) AM_WRITENOP   // ??
405   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram_w) AM_BASE(&nmk_bgvideoram)
405   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram0_w) AM_BASE(&nmk_bgvideoram0)
406406   AM_RANGE(0x09c000, 0x09c7ff) AM_RAM_WRITE(nmk_txvideoram_w) AM_BASE(&nmk_txvideoram)
407407   AM_RANGE(0x0f0000, 0x0fffff) AM_RAM_WRITE(nmk16_mainram_strange_w) AM_BASE(&nmk16_mainram)
408408ADDRESS_MAP_END
r5338r5339
419419   AM_RANGE(0x088000, 0x0887ff) AM_RAM_WRITE(paletteram16_RRRRGGGGBBBBRGBx_word_w) AM_BASE(&paletteram16)
420420   AM_RANGE(0x08c000, 0x08c001) AM_WRITE(mustang_scroll_w)
421421   AM_RANGE(0x08c002, 0x08c087) AM_WRITENOP   // ??
422   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram_w) AM_BASE(&nmk_bgvideoram)
422   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram0_w) AM_BASE(&nmk_bgvideoram0)
423423   AM_RANGE(0x09c000, 0x09c7ff) AM_RAM_WRITE(nmk_txvideoram_w) AM_BASE(&nmk_txvideoram)
424424   AM_RANGE(0x0f0000, 0x0fffff) AM_RAM_WRITE(nmk16_mainram_strange_w) AM_BASE(&nmk16_mainram)
425425ADDRESS_MAP_END
r5338r5339
437437   AM_RANGE(0x088000, 0x0887ff) AM_RAM_WRITE(paletteram16_RRRRGGGGBBBBRGBx_word_w) AM_BASE(&paletteram16)
438438   AM_RANGE(0x08c000, 0x08c001) AM_WRITE(mustang_scroll_w)
439439   AM_RANGE(0x08c002, 0x08c087) AM_WRITENOP   // ??
440   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram_w) AM_BASE(&nmk_bgvideoram)
440   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram0_w) AM_BASE(&nmk_bgvideoram0)
441441   AM_RANGE(0x09c000, 0x09c7ff) AM_RAM_WRITE(nmk_txvideoram_w) AM_BASE(&nmk_txvideoram)
442442   AM_RANGE(0x0f0000, 0x0fffff) AM_RAM_WRITE(nmk16_mainram_strange_w) AM_BASE(&nmk16_mainram)
443443ADDRESS_MAP_END
r5338r5339
457457   AM_RANGE(0xc001e, 0xc001f) AM_WRITE(NMK004_w)
458458   AM_RANGE(0xc4000, 0xc45ff) AM_RAM_WRITE(paletteram16_RRRRGGGGBBBBxxxx_word_w) AM_BASE(&paletteram16)
459459   AM_RANGE(0xc8000, 0xc8007) AM_RAM_WRITE(nmk_scroll_w)
460   AM_RANGE(0xcc000, 0xcffff) AM_RAM_WRITE(nmk_bgvideoram_w) AM_BASE(&nmk_bgvideoram)
460   AM_RANGE(0xcc000, 0xcffff) AM_RAM_WRITE(nmk_bgvideoram0_w) AM_BASE(&nmk_bgvideoram0)
461461   AM_RANGE(0xd4000, 0xd47ff) AM_RAM_WRITE(nmk_txvideoram_w) AM_BASE(&nmk_txvideoram)
462462ADDRESS_MAP_END
463463
r5338r5339
474474   AM_RANGE(0x088000, 0x0887ff) AM_RAM_WRITE(paletteram16_RRRRGGGGBBBBRGBx_word_w) AM_BASE(&paletteram16)
475475   AM_RANGE(0x08c000, 0x08c007) AM_RAM_WRITE(bioshipbg_scroll_w)
476476   AM_RANGE(0x08c010, 0x08c017) AM_RAM_WRITE(bioship_scroll_w)
477   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram_w) AM_BASE(&nmk_bgvideoram)
477   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram0_w) AM_BASE(&nmk_bgvideoram0)
478478   AM_RANGE(0x09c000, 0x09c7ff) AM_RAM_WRITE(nmk_txvideoram_w) AM_BASE(&nmk_txvideoram)
479479   AM_RANGE(0x0f0000, 0x0fffff) AM_RAM AM_BASE(&nmk16_mainram)
480480ADDRESS_MAP_END
r5338r5339
653653   /* Video Region */
654654   AM_RANGE(0x088000, 0x0887ff) AM_RAM_WRITE(paletteram16_RRRRGGGGBBBBRGBx_word_w) AM_BASE(&paletteram16)
655655   AM_RANGE(0x08c000, 0x08c007) AM_WRITE(nmk_scroll_w)
656   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram_w) AM_BASE(&nmk_bgvideoram)
656   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram0_w) AM_BASE(&nmk_bgvideoram0)
657657   AM_RANGE(0x09c000, 0x09c7ff) AM_RAM_WRITE(nmk_txvideoram_w) AM_BASE(&nmk_txvideoram)
658658   /* Main RAM, inc sprites, shared with MCU */
659659   AM_RANGE(0x0f0000, 0x0fffff) AM_RAM_WRITE(hachamf_mainram_w) AM_BASE(&nmk16_mainram) // ram is shared with MCU
r5338r5339
887887   AM_RANGE(0x0c001e, 0x0c001f) AM_WRITE(NMK004_w)
888888   AM_RANGE(0x0c4000, 0x0c4007) AM_RAM_WRITE(nmk_scroll_w)
889889   AM_RANGE(0x0c8000, 0x0c87ff) AM_RAM_WRITE(paletteram16_RRRRGGGGBBBBRGBx_word_w) AM_BASE(&paletteram16)
890   AM_RANGE(0x0cc000, 0x0cffff) AM_RAM_WRITE(nmk_bgvideoram_w) AM_BASE(&nmk_bgvideoram)
890   AM_RANGE(0x0cc000, 0x0cffff) AM_RAM_WRITE(nmk_bgvideoram0_w) AM_BASE(&nmk_bgvideoram0)
891891   AM_RANGE(0x0d0000, 0x0d07ff) AM_RAM_WRITE(nmk_txvideoram_w) AM_BASE(&nmk_txvideoram)
892892ADDRESS_MAP_END
893893
r5338r5339
904904   AM_RANGE(0x0c001e, 0x0c001f) AM_WRITE(seibu_main_mustb_w)
905905   AM_RANGE(0x0c4000, 0x0c4007) AM_RAM_WRITE(nmk_scroll_w)
906906   AM_RANGE(0x0c8000, 0x0c87ff) AM_RAM_WRITE(paletteram16_RRRRGGGGBBBBRGBx_word_w) AM_BASE(&paletteram16)
907   AM_RANGE(0x0cc000, 0x0cffff) AM_RAM_WRITE(nmk_bgvideoram_w) AM_BASE(&nmk_bgvideoram)
907   AM_RANGE(0x0cc000, 0x0cffff) AM_RAM_WRITE(nmk_bgvideoram0_w) AM_BASE(&nmk_bgvideoram0)
908908   AM_RANGE(0x0d0000, 0x0d07ff) AM_RAM_WRITE(nmk_txvideoram_w) AM_BASE(&nmk_txvideoram)
909909ADDRESS_MAP_END
910910
r5338r5339
920920   AM_RANGE(0x0c001e, 0x0c001f) AM_WRITE(ssmissin_sound_w)
921921   AM_RANGE(0x0c4000, 0x0c4007) AM_RAM_WRITE(nmk_scroll_w)
922922   AM_RANGE(0x0c8000, 0x0c87ff) AM_RAM_WRITE(paletteram16_RRRRGGGGBBBBRGBx_word_w) AM_BASE(&paletteram16)
923   AM_RANGE(0x0cc000, 0x0cffff) AM_RAM_WRITE(nmk_bgvideoram_w) AM_BASE(&nmk_bgvideoram)
923   AM_RANGE(0x0cc000, 0x0cffff) AM_RAM_WRITE(nmk_bgvideoram0_w) AM_BASE(&nmk_bgvideoram0)
924924   AM_RANGE(0x0d0000, 0x0d07ff) AM_MIRROR(0x1800) AM_RAM_WRITE(nmk_txvideoram_w) AM_BASE(&nmk_txvideoram) //mirror for airattck
925925ADDRESS_MAP_END
926926
r5338r5339
945945   AM_RANGE(0x84000, 0x84007) AM_RAM_WRITE(nmk_scroll_w)
946946   AM_RANGE(0x88000, 0x88007) AM_RAM_WRITE(nmk_scroll_2_w)
947947   AM_RANGE(0x8c000, 0x8c7ff) AM_RAM_WRITE(paletteram16_RRRRGGGGBBBBxxxx_word_w) AM_BASE(&paletteram16)
948   AM_RANGE(0x90000, 0x93fff) AM_RAM_WRITE(nmk_bgvideoram_w) AM_BASE(&nmk_bgvideoram)
948   AM_RANGE(0x90000, 0x93fff) AM_RAM_WRITE(nmk_bgvideoram0_w) AM_BASE(&nmk_bgvideoram0)
949949   AM_RANGE(0x94000, 0x97fff) AM_RAM_WRITE(nmk_fgvideoram_w) AM_BASE(&nmk_fgvideoram)
950950   AM_RANGE(0x9c000, 0x9c7ff) AM_RAM_WRITE(nmk_txvideoram_w) AM_BASE(&nmk_txvideoram)
951951   AM_RANGE(0xf0000, 0xfffff) AM_RAM AM_BASE(&nmk16_mainram)
r5338r5339
964964   AM_RANGE(0x08001e, 0x08001f) AM_WRITE(NMK004_w)
965965   AM_RANGE(0x088000, 0x0887ff) AM_RAM_WRITE(paletteram16_RRRRGGGGBBBBRGBx_word_w) AM_BASE(&paletteram16)
966966   AM_RANGE(0x08c000, 0x08c007) AM_RAM_WRITE(nmk_scroll_w)
967   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram_w) AM_BASE(&nmk_bgvideoram)
967   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram0_w) AM_BASE(&nmk_bgvideoram0)
968968   AM_RANGE(0x09c000, 0x09c7ff) AM_RAM_WRITE(nmk_txvideoram_w) AM_BASE(&nmk_txvideoram)
969969   AM_RANGE(0x0f0000, 0x0fffff) AM_RAM_WRITE(nmk16_mainram_strange_w) AM_BASE(&nmk16_mainram)
970970ADDRESS_MAP_END
r5338r5339
984984   AM_RANGE(0x08c000, 0x08c1ff) AM_WRITEONLY AM_BASE(&gunnail_scrollram)
985985   AM_RANGE(0x08c200, 0x08c3ff) AM_WRITEONLY AM_BASE(&gunnail_scrollramy)
986986   AM_RANGE(0x08c400, 0x08c7ff) AM_WRITEONLY   // unknown
987   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram_w) AM_BASE(&nmk_bgvideoram)
987   AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram0_w) AM_BASE(&nmk_bgvideoram0)
988988   AM_RANGE(0x09c000, 0x09cfff) AM_MIRROR(0x001000) AM_RAM_WRITE(nmk_txvideoram_w) AM_BASE(&nmk_txvideoram)
989989   AM_RANGE(0x0f0000, 0x0fffff) AM_RAM AM_BASE(&nmk16_mainram)
990990ADDRESS_MAP_END
r5338r5339
10011001   AM_RANGE(0x100018, 0x100019) AM_WRITE(nmk_tilebank_w)
10021002   AM_RANGE(0x10001e, 0x10001f) AM_WRITE(macross2_sound_command_w)   /* to Z80 */
10031003   AM_RANGE(0x120000, 0x1207ff) AM_RAM_WRITE(paletteram16_RRRRGGGGBBBBRGBx_word_w) AM_BASE(&paletteram16)
1004   AM_RANGE(0x130000, 0x130007) AM_RAM_WRITE(nmk_scroll_w)
1005   AM_RANGE(0x130008, 0x1307ff) AM_WRITENOP   /* 0 only? */
1006   AM_RANGE(0x140000, 0x14ffff) AM_RAM_WRITE(nmk_bgvideoram_w) AM_BASE(&nmk_bgvideoram)
1004
1005   AM_RANGE(0x130000, 0x1301ff) AM_RAM AM_BASE(&gunnail_scrollram)
1006   AM_RANGE(0x130200, 0x1303ff) AM_RAM AM_BASE(&gunnail_scrollramy)
1007   AM_RANGE(0x130400, 0x1307ff) AM_RAM
1008
1009   AM_RANGE(0x140000, 0x143fff) AM_RAM_WRITE(nmk_bgvideoram0_w) AM_BASE(&nmk_bgvideoram0)
1010   AM_RANGE(0x144000, 0x147fff) AM_RAM_WRITE(nmk_bgvideoram1_w) AM_BASE(&nmk_bgvideoram1)
1011   AM_RANGE(0x148000, 0x14bfff) AM_RAM_WRITE(nmk_bgvideoram2_w) AM_BASE(&nmk_bgvideoram2)
1012   AM_RANGE(0x14c000, 0x14ffff) AM_RAM_WRITE(nmk_bgvideoram3_w) AM_BASE(&nmk_bgvideoram3)
1013
10071014   AM_RANGE(0x170000, 0x170fff) AM_MIRROR(0x1000) AM_RAM_WRITE(nmk_txvideoram_w) AM_BASE(&nmk_txvideoram)
10081015   AM_RANGE(0x1f0000, 0x1fffff) AM_RAM AM_BASE(&nmk16_mainram)
10091016ADDRESS_MAP_END
r5338r5339
10201027   AM_RANGE(0x100018, 0x100019) AM_WRITE(nmk_tilebank_w)
10211028   AM_RANGE(0x10001e, 0x10001f) AM_WRITE(macross2_sound_command_w)   /* to Z80 */
10221029   AM_RANGE(0x120000, 0x1207ff) AM_RAM_WRITE(paletteram16_RRRRGGGGBBBBRGBx_word_w) AM_BASE(&paletteram16)
1023   AM_RANGE(0x130000, 0x1307ff) AM_RAM_WRITE(nmk_scroll_3_w) AM_BASE(&gunnail_scrollram)
1024   AM_RANGE(0x140000, 0x14ffff) AM_RAM_WRITE(nmk_bgvideoram_w) AM_BASE(&nmk_bgvideoram)
1030
1031   AM_RANGE(0x130000, 0x1301ff) AM_RAM AM_BASE(&gunnail_scrollram)
1032   AM_RANGE(0x130200, 0x1303ff) AM_RAM AM_BASE(&gunnail_scrollramy)
1033   AM_RANGE(0x130400, 0x1307ff) AM_RAM
1034
1035   AM_RANGE(0x140000, 0x143fff) AM_RAM_WRITE(nmk_bgvideoram0_w) AM_BASE(&nmk_bgvideoram0)
1036   AM_RANGE(0x144000, 0x147fff) AM_RAM_WRITE(nmk_bgvideoram1_w) AM_BASE(&nmk_bgvideoram1)
1037   AM_RANGE(0x148000, 0x14bfff) AM_RAM_WRITE(nmk_bgvideoram2_w) AM_BASE(&nmk_bgvideoram2)
1038   AM_RANGE(0x14c000, 0x14ffff) AM_RAM_WRITE(nmk_bgvideoram3_w) AM_BASE(&nmk_bgvideoram3)
1039
1040
10251041   AM_RANGE(0x170000, 0x170fff) AM_MIRROR(0x1000) AM_RAM_WRITE(nmk_txvideoram_w) AM_BASE(&nmk_txvideoram)
10261042   AM_RANGE(0x1f0000, 0x1fffff) AM_RAM AM_BASE(&nmk16_mainram)
10271043ADDRESS_MAP_END
r5338r5339
10891105   AM_RANGE(0x088000, 0x0887ff) AM_RAM_WRITE(paletteram16_RRRRGGGGBBBBRGBx_word_w) AM_BASE(&paletteram16)
10901106   AM_RANGE(0x094000, 0x094001) AM_WRITE(nmk_tilebank_w)
10911107   AM_RANGE(0x094002, 0x094003) AM_WRITENOP   /* IRQ enable? */
1092   AM_RANGE(0x09c000, 0x09cfff) AM_MIRROR(0x1000) AM_RAM_WRITE(nmk_bgvideoram_w) AM_BASE(&nmk_bgvideoram)
1108   AM_RANGE(0x09c000, 0x09cfff) AM_MIRROR(0x1000) AM_RAM_WRITE(nmk_bgvideoram0_w) AM_BASE(&nmk_bgvideoram0)
10931109   AM_RANGE(0x0f0000, 0x0fffff) AM_RAM AM_BASE(&nmk16_mainram)
10941110ADDRESS_MAP_END
10951111
r5338r5339
11231139   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
11241140
11251141   PORT_START("DSW1")
1126   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )   /* The manual states this dip is "Unused" */
1142   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:8")   /* The manual states this dip is "Unused" */
11271143   PORT_DIPSETTING(    0x00,  "2" )
11281144   PORT_DIPSETTING(    0x01,  "3" )
1129   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unused ) )   /* The manual states this dip is "Unused" */
1145   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW1:7")   /* The manual states this dip is "Unused" */
11301146   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
11311147   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1132   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unused ) )   /* The manual states this dip is "Unused" */
1148   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW1:6")   /* The manual states this dip is "Unused" */
11331149   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
11341150   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1135   PORT_SERVICE( 0x08, IP_ACTIVE_LOW )       /* The manual states this dip is "Unused" */
1136   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) )   /* The manual states this dip is "Unused" */
1151   PORT_SERVICE_DIPLOC( 0x08, IP_ACTIVE_LOW, "SW1:5" )               /* The manual states this dip is "Unused" */
1152   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW1:4")   /* The manual states this dip is "Unused" */
11371153   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
11381154   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1139   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Demo_Sounds ) )
1155   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:3")
11401156   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
11411157   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
1142   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Difficulty ) )
1158   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:2,1")
11431159   PORT_DIPSETTING(    0x00, DEF_STR( Easy ) )
11441160   PORT_DIPSETTING(    0xc0, DEF_STR( Normal ) )
11451161   PORT_DIPSETTING(    0x40, DEF_STR( Hard ) )
11461162   PORT_DIPSETTING(    0x80, DEF_STR( Hardest ) )
11471163
11481164   PORT_START("DSW2")
1149   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )
1165   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW2:8")
11501166   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
11511167   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1152   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
1168   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:7")
11531169   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
11541170   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1155   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Coin_B ) )
1171   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW2:6,5,4")
11561172   PORT_DIPSETTING(    0x00, DEF_STR( 5C_1C ) )
11571173   PORT_DIPSETTING(    0x10, DEF_STR( 4C_1C ) )
11581174   PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
r5338r5339
11611177   PORT_DIPSETTING(    0x0c, DEF_STR( 1C_2C ) )
11621178   PORT_DIPSETTING(    0x14, DEF_STR( 1C_3C ) )
11631179   PORT_DIPSETTING(    0x04, DEF_STR( 1C_4C ) )
1164   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coin_A ) )
1180   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW2:3,2,1")
11651181   PORT_DIPSETTING(    0x00, DEF_STR( 5C_1C ) )
11661182   PORT_DIPSETTING(    0x80, DEF_STR( 4C_1C ) )
11671183   PORT_DIPSETTING(    0x40, DEF_STR( 3C_1C ) )
r5338r5339
12021218   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
12031219
12041220   PORT_START("DSW1")
1205   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )
1221   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:8")
12061222   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
12071223   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1208   PORT_SERVICE( 0x02, IP_ACTIVE_LOW )
1209   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )
1224   PORT_SERVICE_DIPLOC( 0x02, IP_ACTIVE_LOW, "SW1:7" )
1225   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:6,5")
12101226   PORT_DIPSETTING(    0x0c, DEF_STR( Easy ) )
12111227   PORT_DIPSETTING(    0x08, DEF_STR( Normal ) )
12121228   PORT_DIPSETTING(    0x04, DEF_STR( Hard ) )
12131229   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
1214   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
1230   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:4")
12151231   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
12161232   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1217   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
1233   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:3")
12181234   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
12191235   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1220   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )
1236   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:2,1")
12211237   PORT_DIPSETTING(    0x40,  "2" )
12221238   PORT_DIPSETTING(    0xc0,  "3" )
12231239   PORT_DIPSETTING(    0x80,  "4" )
12241240   PORT_DIPSETTING(    0x00,  "5" )
12251241
12261242   PORT_START("DSW2")
1227   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
1243   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:8")
12281244   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
12291245   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1230   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Demo_Sounds ) )
1246   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:7")
12311247   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
12321248   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
1233   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Coin_B ) )
1249   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW2:6,5,4")
12341250   PORT_DIPSETTING(    0x10, DEF_STR( 4C_1C ) )
12351251   PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
12361252   PORT_DIPSETTING(    0x18, DEF_STR( 2C_1C ) )
r5338r5339
12391255   PORT_DIPSETTING(    0x14, DEF_STR( 1C_3C ) )
12401256   PORT_DIPSETTING(    0x04, DEF_STR( 1C_4C ) )
12411257   PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
1242   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coin_A ) )
1258   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW2:3,2,1")
12431259   PORT_DIPSETTING(    0x80, DEF_STR( 4C_1C ) )
12441260   PORT_DIPSETTING(    0x40, DEF_STR( 3C_1C ) )
12451261   PORT_DIPSETTING(    0xc0, DEF_STR( 2C_1C ) )
r5338r5339
12741290   PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_COIN2 )
12751291
12761292   PORT_START("DSW1")   /* 0x080004 -> 0x0f0036 */
1277   PORT_DIPNAME( 0x0001, 0x0000, "Slot System" )
1293   PORT_DIPNAME( 0x0001, 0x0000, "Slot System" )         PORT_DIPLOCATION("SW1:1")
12781294   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
12791295   PORT_DIPSETTING(      0x0001, DEF_STR( On ) )
1280   PORT_DIPNAME( 0x0002, 0x0000, "Explanation" )
1296   PORT_DIPNAME( 0x0002, 0x0000, "Explanation" )         PORT_DIPLOCATION("SW1:2")
12811297   PORT_DIPSETTING(      0x0000, DEF_STR( English ) )
12821298   PORT_DIPSETTING(      0x0002, DEF_STR( Japanese ) )
1283   PORT_DIPNAME( 0x0004, 0x0000, DEF_STR( Demo_Sounds ) )
1299   PORT_DIPNAME( 0x0004, 0x0000, DEF_STR( Demo_Sounds ) )      PORT_DIPLOCATION("SW1:3")
12841300   PORT_DIPSETTING(      0x0004, DEF_STR( Off ) )
12851301   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1286   PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Cabinet ) )      // "Play Type"
1287   PORT_DIPSETTING(      0x0008, DEF_STR( Upright ) )      //   "Uplight" !
1288   PORT_DIPSETTING(      0x0000, DEF_STR( Cocktail ) )      //   "Table"
1289   PORT_SERVICE( 0x0010, IP_ACTIVE_HIGH )            // "Test Mode"
1290   PORT_DIPNAME( 0x0060, 0x0000, DEF_STR( Difficulty ) )
1291   PORT_DIPSETTING(      0x0060, DEF_STR( Easy ) )            //   "Level 1
1302   PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW1:4")   // "Play Type"
1303   PORT_DIPSETTING(      0x0008, DEF_STR( Upright ) )                  //   "Uplight" !
1304   PORT_DIPSETTING(      0x0000, DEF_STR( Cocktail ) )                  //   "Table"
1305   PORT_SERVICE_DIPLOC( 0x10, IP_ACTIVE_LOW, "SW1:5" )                  // "Test Mode"
1306   PORT_DIPNAME( 0x0060, 0x0000, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW1:6,7")
1307   PORT_DIPSETTING(      0x0060, DEF_STR( Easy ) )               //   "Level 1
12921308   PORT_DIPSETTING(      0x0000, DEF_STR( Normal ) )            //   "Level 2
1293   PORT_DIPSETTING(      0x0020, DEF_STR( Hard ) )            //   "Level 3
1309   PORT_DIPSETTING(      0x0020, DEF_STR( Hard ) )               //   "Level 3
12941310   PORT_DIPSETTING(      0x0040, DEF_STR( Hardest ) )            //   "Level 4
1295   PORT_DIPNAME( 0x0080, 0x0000, DEF_STR( Flip_Screen ) )   // "Display"
1296   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )         //   DEF_STR( Normal )
1297   PORT_DIPSETTING(      0x0080, DEF_STR( On ) )         //   "Inverse"
1298   PORT_DIPNAME( 0x0700, 0x0000, DEF_STR( Coin_A ) )
1311   PORT_DIPNAME( 0x0080, 0x0000, DEF_STR( Flip_Screen ) )      PORT_DIPLOCATION("SW1:8")   // "Display"
1312   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )                     //   "Normal"
1313   PORT_DIPSETTING(      0x0080, DEF_STR( On ) )                     //   "Inverse"
1314   PORT_DIPNAME( 0x0700, 0x0000, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW2:1,2,3")
12991315   PORT_DIPSETTING(      0x0700, DEF_STR( 5C_1C ) )
13001316   PORT_DIPSETTING(      0x0600, DEF_STR( 4C_1C ) )
13011317   PORT_DIPSETTING(      0x0500, DEF_STR( 3C_1C ) )
r5338r5339
13041320   PORT_DIPSETTING(      0x0100, DEF_STR( 1C_2C ) )
13051321   PORT_DIPSETTING(      0x0200, DEF_STR( 1C_3C ) )
13061322   PORT_DIPSETTING(      0x0300, DEF_STR( 1C_4C ) )
1307   PORT_DIPNAME( 0x3800, 0x0000, DEF_STR( Coin_B ) )
1323   PORT_DIPNAME( 0x3800, 0x0000, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW2:4,5,6")
13081324   PORT_DIPSETTING(      0x3800, DEF_STR( 5C_1C ) )
13091325   PORT_DIPSETTING(      0x3000, DEF_STR( 4C_1C ) )
13101326   PORT_DIPSETTING(      0x2800, DEF_STR( 3C_1C ) )
r5338r5339
13131329   PORT_DIPSETTING(      0x0800, DEF_STR( 1C_2C ) )
13141330   PORT_DIPSETTING(      0x1000, DEF_STR( 1C_3C ) )
13151331   PORT_DIPSETTING(      0x1800, DEF_STR( 1C_4C ) )
1316   PORT_DIPNAME( 0xc000, 0x0000, "Plate Probability" )
1332   PORT_DIPNAME( 0xc000, 0x0000, "Plate Probability" )      PORT_DIPLOCATION("SW2:7,8")
13171333   PORT_DIPSETTING(      0xc000, "Bad" )
13181334   PORT_DIPSETTING(      0x0000, DEF_STR( Normal ) )
13191335   PORT_DIPSETTING(      0x4000, "Better" )
r5338r5339
13581374   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
13591375
13601376   PORT_START("DSW1")
1361   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unknown ) )
1377   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW2:8")
13621378   PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
13631379   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1364   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Demo_Sounds ) )
1380   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:7")
13651381   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
13661382   PORT_DIPSETTING(      0x0002, DEF_STR( On ) )
1367   PORT_DIPNAME( 0x001c, 0x001c, DEF_STR( Coin_B ) )
1383   PORT_DIPNAME( 0x001c, 0x001c, DEF_STR( Coin_B ) )   PORT_DIPLOCATION("SW2:6,5,4")
13681384   PORT_DIPSETTING(      0x0010, DEF_STR( 4C_1C ) )
13691385   PORT_DIPSETTING(      0x0008, DEF_STR( 3C_1C ) )
13701386   PORT_DIPSETTING(      0x0018, DEF_STR( 2C_1C ) )
r5338r5339
13731389   PORT_DIPSETTING(      0x0014, DEF_STR( 1C_3C ) )
13741390   PORT_DIPSETTING(      0x0004, DEF_STR( 1C_4C ) )
13751391   PORT_DIPSETTING(      0x0000, DEF_STR( Free_Play ) )
1376   PORT_DIPNAME( 0x00e0, 0x00e0, DEF_STR( Coin_A ) )
1392   PORT_DIPNAME( 0x00e0, 0x00e0, DEF_STR( Coin_A ) )   PORT_DIPLOCATION("SW2:3,2,1")
13771393   PORT_DIPSETTING(      0x0080, DEF_STR( 4C_1C ) )
13781394   PORT_DIPSETTING(      0x0040, DEF_STR( 3C_1C ) )
13791395   PORT_DIPSETTING(      0x00c0, DEF_STR( 2C_1C ) )
r5338r5339
13821398   PORT_DIPSETTING(      0x00a0, DEF_STR( 1C_3C ) )
13831399   PORT_DIPSETTING(      0x0020, DEF_STR( 1C_4C ) )
13841400   PORT_DIPSETTING(      0x0000, DEF_STR( Free_Play ) )
1385   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Cabinet ) )
1401   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Cabinet ) )   PORT_DIPLOCATION("SW1:8")
13861402   PORT_DIPSETTING(      0x0100, DEF_STR( Upright ) )
13871403   PORT_DIPSETTING(      0x0000, DEF_STR( Cocktail ) )
1388   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Unknown ) )
1404   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:7")
13891405   PORT_DIPSETTING(      0x0200, DEF_STR( Off ) )
13901406   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1391   PORT_DIPNAME( 0x0c00, 0x0c00, DEF_STR( Difficulty ) )
1407   PORT_DIPNAME( 0x0c00, 0x0c00, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:6,5")
13921408   PORT_DIPSETTING(      0x0400, DEF_STR( Easy ) )
13931409   PORT_DIPSETTING(      0x0c00, DEF_STR( Normal ) )
13941410   PORT_DIPSETTING(      0x0800, DEF_STR( Hard ) )
13951411   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
1396   PORT_DIPNAME( 0x3000, 0x3000, DEF_STR( Bonus_Life ) )
1412   PORT_DIPNAME( 0x3000, 0x3000, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW1:4,3")
13971413   PORT_DIPSETTING(      0x3000, "200k" )
13981414   PORT_DIPSETTING(      0x2000, "200k and 1 Mil" )
13991415   PORT_DIPSETTING(      0x0000, "200k, 500k & 1,2,3,5 Mil" )
14001416   PORT_DIPSETTING(      0x1000, DEF_STR( None ) )
1401   PORT_DIPNAME( 0xc000, 0xc000, DEF_STR( Lives ) )
1417   PORT_DIPNAME( 0xc000, 0xc000, DEF_STR( Lives ) )   PORT_DIPLOCATION("SW1:2,1")
14021418   PORT_DIPSETTING(      0x4000, "2" )
14031419   PORT_DIPSETTING(      0xc000, "3" )
14041420   PORT_DIPSETTING(      0x8000, "4" )
r5338r5339
14551471   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
14561472
14571473   PORT_START("DSW1")
1458   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unknown ) )
1474   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW2:8")
14591475   PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
14601476   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1461   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Demo_Sounds ) )
1477   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:7")
14621478   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
14631479   PORT_DIPSETTING(      0x0002, DEF_STR( On ) )
1464   PORT_DIPNAME( 0x001c, 0x001c, DEF_STR( Coin_B ) )
1480   PORT_DIPNAME( 0x001c, 0x001c, DEF_STR( Coin_B ) )   PORT_DIPLOCATION("SW2:6,5,4")
14651481   PORT_DIPSETTING(      0x0010, DEF_STR( 4C_1C ) )
14661482   PORT_DIPSETTING(      0x0008, DEF_STR( 3C_1C ) )
14671483   PORT_DIPSETTING(      0x0018, DEF_STR( 2C_1C ) )
r5338r5339
14701486   PORT_DIPSETTING(      0x0014, DEF_STR( 1C_3C ) )
14711487   PORT_DIPSETTING(      0x0004, DEF_STR( 1C_4C ) )
14721488   PORT_DIPSETTING(      0x0000, DEF_STR( Free_Play ) )
1473   PORT_DIPNAME( 0x00e0, 0x00e0, DEF_STR( Coin_A ) )
1489   PORT_DIPNAME( 0x00e0, 0x00e0, DEF_STR( Coin_A ) )   PORT_DIPLOCATION("SW2:3,2,1")
14741490   PORT_DIPSETTING(      0x0080, DEF_STR( 4C_1C ) )
14751491   PORT_DIPSETTING(      0x0040, DEF_STR( 3C_1C ) )
14761492   PORT_DIPSETTING(      0x00c0, DEF_STR( 2C_1C ) )
r5338r5339
14791495   PORT_DIPSETTING(      0x00a0, DEF_STR( 1C_3C ) )
14801496   PORT_DIPSETTING(      0x0020, DEF_STR( 1C_4C ) )
14811497   PORT_DIPSETTING(      0x0000, DEF_STR( Free_Play ) )
1482   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Flip_Screen ) )
1498   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:8")
14831499   PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
14841500   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1485   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Unknown ) )
1501   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:7")
14861502   PORT_DIPSETTING(      0x0200, DEF_STR( Off ) )
14871503   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1488   PORT_DIPNAME( 0x0c00, 0x0c00, DEF_STR( Difficulty ) )
1504   PORT_DIPNAME( 0x0c00, 0x0c00, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:6,5")
14891505   PORT_DIPSETTING(      0x0400, DEF_STR( Easy ) )
14901506   PORT_DIPSETTING(      0x0c00, DEF_STR( Normal ) )
14911507   PORT_DIPSETTING(      0x0800, DEF_STR( Hard ) )
14921508   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
1493   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Unknown ) )
1509   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:4")
14941510   PORT_DIPSETTING(      0x1000, DEF_STR( Off ) )
14951511   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1496   PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Unknown ) )
1512   PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:3")
14971513   PORT_DIPSETTING(      0x2000, DEF_STR( Off ) )
14981514   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1499   PORT_DIPNAME( 0xc000, 0xc000, DEF_STR( Lives ) )
1515   PORT_DIPNAME( 0xc000, 0xc000, DEF_STR( Lives ) )   PORT_DIPLOCATION("SW1:2,1")
15001516   PORT_DIPSETTING(      0x4000, "2" )
15011517   PORT_DIPSETTING(      0xc000, "3" )
15021518   PORT_DIPSETTING(      0x8000, "4" )
r5338r5339
15361552   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
15371553
15381554   PORT_START("DSW1")
1539   PORT_DIPNAME( 0x0700, 0x0700, DEF_STR( Coin_A ) )
1555   PORT_DIPNAME( 0x0700, 0x0700, DEF_STR( Coin_A ) )   PORT_DIPLOCATION("SW2:1,2,3")
15401556   PORT_DIPSETTING(    0x0100, DEF_STR( 4C_1C ) )
15411557   PORT_DIPSETTING(    0x0200, DEF_STR( 3C_1C ) )
15421558   PORT_DIPSETTING(    0x0300, DEF_STR( 2C_1C ) )
r5338r5339
15451561   PORT_DIPSETTING(    0x0500, DEF_STR( 1C_3C ) )
15461562   PORT_DIPSETTING(    0x0400, DEF_STR( 1C_4C ) )
15471563   PORT_DIPSETTING(    0x0000, DEF_STR( Free_Play ) )
1548   PORT_DIPNAME( 0x3800, 0x3800, DEF_STR( Coin_B ) )
1564   PORT_DIPNAME( 0x3800, 0x3800, DEF_STR( Coin_B ) )   PORT_DIPLOCATION("SW2:4,5,6")
15491565   PORT_DIPSETTING(    0x0800, DEF_STR( 4C_1C ) )
15501566   PORT_DIPSETTING(    0x1000, DEF_STR( 3C_1C ) )
15511567   PORT_DIPSETTING(    0x1800, DEF_STR( 2C_1C ) )
r5338r5339
15541570   PORT_DIPSETTING(    0x2800, DEF_STR( 1C_3C ) )
15551571   PORT_DIPSETTING(    0x2000, DEF_STR( 1C_4C ) )
15561572   PORT_DIPSETTING(    0x0000, DEF_STR( Free_Play ) )
1557   PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Unknown ) )
1558   PORT_DIPSETTING(    0x4000, DEF_STR( Off ) )
1559   PORT_DIPSETTING(    0x0000, DEF_STR( On ) )
1560   PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unknown ) )
1573   PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:7")
1574   PORT_DIPSETTING(    0x0000, DEF_STR( Off ) )
1575   PORT_DIPSETTING(    0x4000, DEF_STR( On ) )
1576   PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW2:8")
15611577   PORT_DIPSETTING(    0x8000, DEF_STR( Off ) )
15621578   PORT_DIPSETTING(    0x0000, DEF_STR( On ) )
1579   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:8")
1580   PORT_DIPSETTING(    0x0001, DEF_STR( Off ) )
1581   PORT_DIPSETTING(    0x0000, DEF_STR( On ) )
1582   PORT_DIPNAME( 0x0002, 0x0000, DEF_STR( Language ) )   PORT_DIPLOCATION("SW1:7")
1583   PORT_DIPSETTING(    0x0000, DEF_STR( English ) )
1584   PORT_DIPSETTING(    0x0002, DEF_STR( Japanese ) )
1585   PORT_DIPNAME( 0x000c, 0x000c, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:6,5")
1586   PORT_DIPSETTING(    0x0004, DEF_STR( Easy ) )
1587   PORT_DIPSETTING(    0x000c, DEF_STR( Normal ) )
1588   PORT_DIPSETTING(    0x0008, DEF_STR( Hard ) )
1589   PORT_DIPSETTING(    0x0000, DEF_STR( Hardest ) )
1590   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:4")
1591   PORT_DIPSETTING(    0x0010, DEF_STR( Off ) )
1592   PORT_DIPSETTING(    0x0000, DEF_STR( On ) )
1593   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:3")
1594   PORT_DIPSETTING(    0x0020, DEF_STR( Off ) )
1595   PORT_DIPSETTING(    0x0000, DEF_STR( On ) )
1596   PORT_DIPNAME( 0x00c0, 0x00c0, DEF_STR( Lives ) )   PORT_DIPLOCATION("SW1:2,1")
1597   PORT_DIPSETTING(    0x0000, "1" )
1598   PORT_DIPSETTING(    0x0040, "2" )
1599   PORT_DIPSETTING(    0x00c0, "3" )
1600   PORT_DIPSETTING(    0x0080, "4" )
15631601
1564   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
1565   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
1566   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1567   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Language ) )
1568   PORT_DIPSETTING(    0x00, DEF_STR( English ) )
1569   PORT_DIPSETTING(    0x02, DEF_STR( Japanese ) )
1570   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )
1571   PORT_DIPSETTING(    0x04, DEF_STR( Easy ) )
1572   PORT_DIPSETTING(    0x0c, DEF_STR( Normal ) )
1573   PORT_DIPSETTING(    0x08, DEF_STR( Hard ) )
1574   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
1575   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
1576   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1577   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1578   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
1579   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
1580   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1581   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )
1582   PORT_DIPSETTING(    0x00, "1" )
1583   PORT_DIPSETTING(    0x40, "2" )
1584   PORT_DIPSETTING(    0xc0, "3" )
1585   PORT_DIPSETTING(    0x80, "4" )
1586
15871602   PORT_START("UNK")
15881603INPUT_PORTS_END
15891604
r5338r5339
16171632   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
16181633
16191634   PORT_START("DSW1")
1620   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coin_A ) )
1635   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW1:1,2,3")
16211636   PORT_DIPSETTING(    0x00, DEF_STR( 5C_1C ) )
16221637   PORT_DIPSETTING(    0x01, DEF_STR( 4C_1C ) )
16231638   PORT_DIPSETTING(    0x02, DEF_STR( 3C_1C ) )
r5338r5339
16261641   PORT_DIPSETTING(    0x06, DEF_STR( 1C_2C ) )
16271642   PORT_DIPSETTING(    0x05, DEF_STR( 1C_3C ) )
16281643   PORT_DIPSETTING(    0x04, DEF_STR( 1C_4C ) )
1629   PORT_DIPNAME( 0x38, 0x38, DEF_STR( Coin_B ) )
1644   PORT_DIPNAME( 0x38, 0x38, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW1:4,5,6")
16301645   PORT_DIPSETTING(    0x00, DEF_STR( 5C_1C ) )
16311646   PORT_DIPSETTING(    0x08, DEF_STR( 4C_1C ) )
16321647   PORT_DIPSETTING(    0x10, DEF_STR( 3C_1C ) )
r5338r5339
16351650   PORT_DIPSETTING(    0x30, DEF_STR( 1C_2C ) )
16361651   PORT_DIPSETTING(    0x28, DEF_STR( 1C_3C ) )
16371652   PORT_DIPSETTING(    0x20, DEF_STR( 1C_4C ) )
1638   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Flip_Screen ) )
1653   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:7")
16391654   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
16401655   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1641   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
1656   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:8")
16421657   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
16431658   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
16441659
16451660   PORT_START("DSW2")
1646   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
1661   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
16471662   PORT_DIPSETTING(    0x02, "2" )
16481663   PORT_DIPSETTING(    0x03, "3" )
16491664   PORT_DIPSETTING(    0x01, "4" )
16501665   PORT_DIPSETTING(    0x00, "5" )
1651   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )
1666   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:3,4")
16521667   PORT_DIPSETTING(    0x08, DEF_STR( Easy ) )
16531668   PORT_DIPSETTING(    0x0c, DEF_STR( Normal ) )
16541669   PORT_DIPSETTING(    0x04, DEF_STR( Hard ) )
16551670   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
1656   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) )
1671   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:5")
16571672   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
16581673   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1659   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Bonus_Life ) )
1674   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:6,7")
16601675   PORT_DIPSETTING(    0x40, "100k and every 200k" )
16611676   PORT_DIPSETTING(    0x60, "200k and every 200k" )
16621677   PORT_DIPSETTING(    0x20, "300k and every 300k" )
16631678   PORT_DIPSETTING(    0x00, DEF_STR( None ) )
1664   PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
1679   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW2:8" )
16651680INPUT_PORTS_END
16661681
16671682static INPUT_PORTS_START( acrobatm )
r5338r5339
16941709   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
16951710
16961711   PORT_START("DSW1")
1697   PORT_DIPNAME( 0x0001, 0x0000, DEF_STR( Demo_Sounds ) )
1712   PORT_DIPNAME( 0x0001, 0x0000, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:8")
16981713   PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
16991714   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1700   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Flip_Screen ) )
1715   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:7")
17011716   PORT_DIPSETTING(      0x0002, DEF_STR( Off ) )
17021717   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1703   PORT_DIPNAME( 0x001C, 0x001C, DEF_STR( Coin_B ) )
1718   PORT_DIPNAME( 0x001C, 0x001C, DEF_STR( Coin_B ) )   PORT_DIPLOCATION("SW1:6,5,4")
17041719   PORT_DIPSETTING(      0x0000, DEF_STR( 5C_1C ) )
17051720   PORT_DIPSETTING(      0x0010, DEF_STR( 4C_1C ) )
17061721   PORT_DIPSETTING(      0x0008, DEF_STR( 3C_1C ) )
r5338r5339
17091724   PORT_DIPSETTING(      0x000C, DEF_STR( 1C_2C ) )
17101725   PORT_DIPSETTING(      0x0014, DEF_STR( 1C_3C ) )
17111726   PORT_DIPSETTING(      0x0004, DEF_STR( 1C_4C ) )
1712   PORT_DIPNAME( 0x00E0, 0x00E0, DEF_STR( Coin_A ) )
1727   PORT_DIPNAME( 0x00E0, 0x00E0, DEF_STR( Coin_A ) )   PORT_DIPLOCATION("SW1:3,2,1")
17131728   PORT_DIPSETTING(      0x0000, DEF_STR( 5C_1C ) )
17141729   PORT_DIPSETTING(      0x0080, DEF_STR( 4C_1C ) )
17151730   PORT_DIPSETTING(      0x0040, DEF_STR( 3C_1C ) )
r5338r5339
17201735   PORT_DIPSETTING(      0x0020, DEF_STR( 1C_4C ) )
17211736
17221737   PORT_START("DSW2")
1723   PORT_SERVICE( 0x01, IP_ACTIVE_LOW )
1724   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) )
1738   PORT_SERVICE_DIPLOC( 0x01, IP_ACTIVE_LOW, "SW2:8" )
1739   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:7,6")
17251740   PORT_DIPSETTING(    0x02, "50k and 100k" )
17261741   PORT_DIPSETTING(    0x06, "100k and 100k" )
17271742   PORT_DIPSETTING(    0x04, "100k and 200k" )
17281743   PORT_DIPSETTING(    0x00, DEF_STR( None ) )
1729   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Language ) )
1744   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Language ) )      PORT_DIPLOCATION("SW2:5")
17301745   PORT_DIPSETTING(    0x00, DEF_STR( English ) )
17311746   PORT_DIPSETTING(    0x08, DEF_STR( Japanese ) )
1732   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )
1747   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:4,3")
17331748   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
17341749   PORT_DIPSETTING(    0x10, DEF_STR( Easy ) )
17351750   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
17361751   PORT_DIPSETTING(    0x30, DEF_STR( Normal ) )
1737   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )
1752   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:2,1")
17381753   PORT_DIPSETTING(    0x40, "2" )
17391754   PORT_DIPSETTING(    0xc0, "3" )
17401755   PORT_DIPSETTING(    0x80, "4" )
r5338r5339
17711786   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
17721787
17731788   PORT_START("DSW1")
1774   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )
1789   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:8")
17751790   PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
17761791   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1777   PORT_DIPNAME( 0x0006, 0x0006, DEF_STR( Difficulty ) )
1792   PORT_DIPNAME( 0x0006, 0x0006, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:7,6")
17781793   PORT_DIPSETTING(      0x0000, DEF_STR( Easy ) )
17791794   PORT_DIPSETTING(      0x0006, DEF_STR( Normal ) )
17801795   PORT_DIPSETTING(      0x0002, DEF_STR( Hard ) )
17811796   PORT_DIPSETTING(      0x0004, DEF_STR( Hardest ) )
1782   PORT_SERVICE( 0x0008, IP_ACTIVE_LOW )
1783   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unknown ) )
1797   PORT_SERVICE_DIPLOC(  0x0008, IP_ACTIVE_LOW, "SW1:5" )
1798   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:4")
17841799   PORT_DIPSETTING(      0x0010, DEF_STR( Off ) )
17851800   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1786   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Demo_Sounds ) )
1801   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:3")
17871802   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
17881803   PORT_DIPSETTING(      0x0020, DEF_STR( On ) )
1789   PORT_DIPNAME( 0x00C0, 0x00C0, DEF_STR( Lives ) )
1804   PORT_DIPNAME( 0x00C0, 0x00C0, DEF_STR( Lives ) )   PORT_DIPLOCATION("SW1:2,1")
17901805   PORT_DIPSETTING(      0x0000, "2" )
17911806   PORT_DIPSETTING(      0x00C0, "3" )
17921807   PORT_DIPSETTING(      0x0080, "4" )
17931808   PORT_DIPSETTING(      0x0040, "5" )
17941809
17951810   PORT_START("DSW2")
1796   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unknown ) )
1811   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW2:8")
17971812   PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
17981813   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1799   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unknown ) )
1814   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW2:7")
18001815   PORT_DIPSETTING(      0x0002, DEF_STR( Off ) )
18011816   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1802   PORT_DIPNAME( 0x001C, 0x001C, DEF_STR( Coin_B ) )
1817   PORT_DIPNAME( 0x001C, 0x001C, DEF_STR( Coin_B ) )   PORT_DIPLOCATION("SW2:6,5,4")
18031818   PORT_DIPSETTING(      0x0000, DEF_STR( 5C_1C ) )
18041819   PORT_DIPSETTING(      0x0010, DEF_STR( 4C_1C ) )
18051820   PORT_DIPSETTING(      0x0008, DEF_STR( 3C_1C ) )
r5338r5339
18081823   PORT_DIPSETTING(      0x000C, DEF_STR( 1C_2C ) )
18091824   PORT_DIPSETTING(      0x0014, DEF_STR( 1C_3C ) )
18101825   PORT_DIPSETTING(      0x0004, DEF_STR( 1C_4C ) )
1811   PORT_DIPNAME( 0x00E0, 0x00E0, DEF_STR( Coin_A ) )
1826   PORT_DIPNAME( 0x00E0, 0x00E0, DEF_STR( Coin_A ) )   PORT_DIPLOCATION("SW2:3,2,1")
18121827   PORT_DIPSETTING(      0x0000, DEF_STR( 5C_1C ) )
18131828   PORT_DIPSETTING(      0x0080, DEF_STR( 4C_1C ) )
18141829   PORT_DIPSETTING(      0x0040, DEF_STR( 3C_1C ) )
r5338r5339
18491864   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
18501865
18511866   PORT_START("DSW1")
1852   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )
1867   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:8")
18531868   PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
18541869   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1855   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unused ) ) /* The manual states this dip is "Unused" */
1870   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unused ) )   PORT_DIPLOCATION("SW1:7") /* The manual states this dip is "Unused" */
18561871   PORT_DIPSETTING(      0x0002, DEF_STR( Off ) )
18571872   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1858   PORT_DIPNAME( 0x000c, 0x000c, DEF_STR( Difficulty ) )
1873   PORT_DIPNAME( 0x000c, 0x000c, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:6,5")
18591874   PORT_DIPSETTING(      0x0004, DEF_STR( Easy ) )
18601875   PORT_DIPSETTING(      0x000c, DEF_STR( Normal ) )
18611876   PORT_DIPSETTING(      0x0008, DEF_STR( Hard ) )
18621877   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
1863   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unused ) ) /* The manual states this dip is "Unused" */
1878   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unused ) )   PORT_DIPLOCATION("SW1:4") /* The manual states this dip is "Unused" */
18641879   PORT_DIPSETTING(      0x0010, DEF_STR( Off ) )
18651880   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1866   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unused ) ) /* The manual states this dip is "Unused" */
1881   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unused ) )   PORT_DIPLOCATION("SW1:3") /* The manual states this dip is "Unused" */
18671882   PORT_DIPSETTING(      0x0020, DEF_STR( Off ) )
18681883   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1869   PORT_DIPNAME( 0x00c0, 0x00c0, DEF_STR( Lives ) )
1884   PORT_DIPNAME( 0x00c0, 0x00c0, DEF_STR( Lives ) )   PORT_DIPLOCATION("SW1:2,1")
18701885   PORT_DIPSETTING(      0x0000, "1" )
18711886   PORT_DIPSETTING(      0x0040, "2" )
18721887   PORT_DIPSETTING(      0x00c0, "3" )
18731888   PORT_DIPSETTING(      0x0080, "4" )
18741889
18751890   PORT_START("DSW2")
1876   PORT_DIPNAME( 0x0007, 0x0007, DEF_STR( Coin_A ) )
1891   PORT_DIPNAME( 0x0007, 0x0007, DEF_STR( Coin_A ) )   PORT_DIPLOCATION("SW2:1,2,3")
18771892   PORT_DIPSETTING(      0x0004, DEF_STR( 4C_1C ) )
18781893   PORT_DIPSETTING(      0x0005, DEF_STR( 3C_1C ) )
18791894   PORT_DIPSETTING(      0x0006, DEF_STR( 2C_1C ) )
r5338r5339
18821897   PORT_DIPSETTING(      0x0002, DEF_STR( 1C_3C ) )
18831898   PORT_DIPSETTING(      0x0001, DEF_STR( 1C_4C ) )
18841899   PORT_DIPSETTING(      0x0000, DEF_STR( Free_Play ) )
1885   PORT_DIPNAME( 0x0038, 0x0038, DEF_STR( Coin_B ) )
1900   PORT_DIPNAME( 0x0038, 0x0038, DEF_STR( Coin_B ) )   PORT_DIPLOCATION("SW2:4,5,6")
18861901   PORT_DIPSETTING(      0x0020, DEF_STR( 4C_1C ) )
18871902   PORT_DIPSETTING(      0x0028, DEF_STR( 3C_1C ) )
18881903   PORT_DIPSETTING(      0x0030, DEF_STR( 2C_1C ) )
r5338r5339
18911906   PORT_DIPSETTING(      0x0010, DEF_STR( 1C_3C ) )
18921907   PORT_DIPSETTING(      0x0008, DEF_STR( 1C_4C ) )
18931908   PORT_DIPSETTING(      0x0000, DEF_STR( Free_Play ) )
1894   PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Demo_Sounds ) ) /* The MCU (undumped/unemulated) takes care of this */
1909   PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:7") /* The MCU (undumped/unemulated) takes care of this */
18951910   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
18961911   PORT_DIPSETTING(      0x0040, DEF_STR( On ) )
1897   PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unused ) ) /* The manual states this dip is "Unused" */
1912   PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unused ) )   PORT_DIPLOCATION("SW2:8") /* The manual states this dip is "Unused" */
18981913   PORT_DIPSETTING(      0x0080, DEF_STR( Off ) )
18991914   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
19001915INPUT_PORTS_END
r5338r5339
19291944   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
19301945
19311946   PORT_START("DSW1")
1932   PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Lives ) )
1947   PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Lives ) )   PORT_DIPLOCATION("SW1:1,2")
19331948   PORT_DIPSETTING(      0x0000, "1" )
19341949   PORT_DIPSETTING(      0x0002, "2" )
19351950   PORT_DIPSETTING(      0x0003, "3" )
19361951   PORT_DIPSETTING(      0x0001, "4" )
1937   PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unused ) ) /* The manual states this dip is "Unused" */
1952   PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unused ) )   PORT_DIPLOCATION("SW1:3") /* The manual states this dip is "Unused" */
19381953   PORT_DIPSETTING(      0x0004, DEF_STR( Off ) )
19391954   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1940   PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Unused ) ) /* The manual states this dip is "Unused" */
1955   PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Unused ) )   PORT_DIPLOCATION("SW1:4") /* The manual states this dip is "Unused" */
19411956   PORT_DIPSETTING(      0x0008, DEF_STR( Off ) )
19421957   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1943   PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Difficulty ) )
1958   PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:5,6")
19441959   PORT_DIPSETTING(      0x0020, DEF_STR( Easy ) )
19451960   PORT_DIPSETTING(      0x0030, DEF_STR( Normal ) )
19461961   PORT_DIPSETTING(      0x0010, DEF_STR( Hard ) )
19471962   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
1948   PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unused ) ) /* The manual states this dip is "Unused" */
1963   PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unused ) )   PORT_DIPLOCATION("SW1:7") /* The manual states this dip is "Unused" */
19491964   PORT_DIPSETTING(      0x0040, DEF_STR( Off ) )
19501965   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1951   PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
1966   PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:8")
19521967   PORT_DIPSETTING(      0x0080, DEF_STR( Off ) )
19531968   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
19541969
19551970   PORT_START("DSW2")
1956   PORT_DIPNAME( 0x0007, 0x0007, DEF_STR( Coin_A ) )
1971   PORT_DIPNAME( 0x0007, 0x0007, DEF_STR( Coin_A ) )   PORT_DIPLOCATION("SW2:1,2,3")
19571972   PORT_DIPSETTING(      0x0004, DEF_STR( 4C_1C ) )
19581973   PORT_DIPSETTING(      0x0005, DEF_STR( 3C_1C ) )
19591974   PORT_DIPSETTING(      0x0006, DEF_STR( 2C_1C ) )
r5338r5339
19621977   PORT_DIPSETTING(      0x0002, DEF_STR( 1C_3C ) )
19631978   PORT_DIPSETTING(      0x0001, DEF_STR( 1C_4C ) )
19641979   PORT_DIPSETTING(      0x0000, DEF_STR( Free_Play ) )
1965   PORT_DIPNAME( 0x0038, 0x0038, DEF_STR( Coin_B ) )
1980   PORT_DIPNAME( 0x0038, 0x0038, DEF_STR( Coin_B ) )   PORT_DIPLOCATION("SW2:4,5,6")
19661981   PORT_DIPSETTING(      0x0020, DEF_STR( 4C_1C ) )
19671982   PORT_DIPSETTING(      0x0028, DEF_STR( 3C_1C ) )
19681983   PORT_DIPSETTING(      0x0030, DEF_STR( 2C_1C ) )
r5338r5339
19711986   PORT_DIPSETTING(      0x0010, DEF_STR( 1C_3C ) )
19721987   PORT_DIPSETTING(      0x0008, DEF_STR( 1C_4C ) )
19731988   PORT_DIPSETTING(      0x0000, DEF_STR( Free_Play ) )
1974   PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Demo_Sounds ) )
1989   PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:7")
19751990   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
19761991   PORT_DIPSETTING(      0x0040, DEF_STR( On ) )
1977   PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unused ) ) /* The manual states this dip is "Unused" */
1992   PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unused ) )   PORT_DIPLOCATION("SW2:8") /* The manual states this dip is "Unused" */
19781993   PORT_DIPSETTING(      0x0080, DEF_STR( Off ) )
19791994   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
19801995
r5338r5339
20122027   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
20132028
20142029   PORT_START("DSW1")
2015   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )
2030   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:8")
20162031   PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
20172032   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2018   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unused ) )
2033   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unused ) )   PORT_DIPLOCATION("SW1:7")
20192034   PORT_DIPSETTING(      0x0002, DEF_STR( Off ) )
20202035   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2021   PORT_DIPNAME( 0x000c, 0x000c, DEF_STR( Difficulty ) )
2036   PORT_DIPNAME( 0x000c, 0x000c, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:6,5")
20222037   PORT_DIPSETTING(      0x0004, DEF_STR( Easy ) )
20232038   PORT_DIPSETTING(      0x000c, DEF_STR( Normal ) )
20242039   PORT_DIPSETTING(      0x0008, DEF_STR( Hard ) )
20252040   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
2026   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unused ) )
2041   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unused ) )   PORT_DIPLOCATION("SW1:4")
20272042   PORT_DIPSETTING(      0x0010, DEF_STR( Off ) )
20282043   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2029   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unused ) )
2044   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unused ) )   PORT_DIPLOCATION("SW1:3")
20302045   PORT_DIPSETTING(      0x0020, DEF_STR( Off ) )
20312046   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2032   PORT_DIPNAME( 0x00c0, 0x00c0, DEF_STR( Lives ) )
2047   PORT_DIPNAME( 0x00c0, 0x00c0, DEF_STR( Lives ) )   PORT_DIPLOCATION("SW1:2,1")
20332048   PORT_DIPSETTING(      0x0000, "1" )
20342049   PORT_DIPSETTING(      0x0040, "2" )
20352050   PORT_DIPSETTING(      0x00c0, "3" )
20362051   PORT_DIPSETTING(      0x0080, "4" )
2037   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unused ) )
2052   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unused ) )   PORT_DIPLOCATION("SW2:8")
20382053   PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
20392054   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2040   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Demo_Sounds ) )
2055   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:7")
20412056   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
20422057   PORT_DIPSETTING(      0x0200, DEF_STR( On ) )
20432058#if 0
2044   PORT_DIPNAME( 0x1c00, 0x1c00, DEF_STR( Coin_B ) )   // initialised but not read back
2059   PORT_DIPNAME( 0x1c00, 0x1c00, DEF_STR( Coin_B ) )   PORT_DIPLOCATION("SW2:6,5,4")   // initialised but not read back
20452060   PORT_DIPSETTING(      0x0400, DEF_STR( 4C_1C ) )
20462061   PORT_DIPSETTING(      0x1400, DEF_STR( 3C_1C ) )
20472062   PORT_DIPSETTING(      0x0c00, DEF_STR( 2C_1C ) )
r5338r5339
20512066   PORT_DIPSETTING(      0x1000, DEF_STR( 1C_4C ) )
20522067   PORT_DIPSETTING(      0x0000, DEF_STR( Free_Play ) )
20532068#else
2054   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unused ) )
2069   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unused ) )   PORT_DIPLOCATION("SW2:6")
20552070   PORT_DIPSETTING(      0x0400, DEF_STR( Off ) )
20562071   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2057   PORT_DIPNAME( 0x0800, 0x0800, DEF_STR( Unused ) )
2072   PORT_DIPNAME( 0x0800, 0x0800, DEF_STR( Unused ) )   PORT_DIPLOCATION("SW2:5")
20582073   PORT_DIPSETTING(      0x0800, DEF_STR( Off ) )
20592074   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2060   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Unused ) )
2075   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Unused ) )   PORT_DIPLOCATION("SW2:4")
20612076   PORT_DIPSETTING(      0x1000, DEF_STR( Off ) )
20622077   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
20632078#endif
2064   PORT_DIPNAME( 0xe000, 0xe000, DEF_STR( Coinage ) )
2079   PORT_DIPNAME( 0xe000, 0xe000, DEF_STR( Coinage ) )   PORT_DIPLOCATION("SW2:3,2,1")
20652080   PORT_DIPSETTING(      0x2000, DEF_STR( 4C_1C ) )
20662081   PORT_DIPSETTING(      0xa000, DEF_STR( 3C_1C ) )
20672082   PORT_DIPSETTING(      0x6000, DEF_STR( 2C_1C ) )
r5338r5339
21022117   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
21032118
21042119   PORT_START("DSW1")
2105   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )
2120   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:8")
21062121   PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
21072122   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2108   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unknown ) )
2123   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:7")
21092124   PORT_DIPSETTING(      0x0002, DEF_STR( Off ) )
21102125   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2111   PORT_DIPNAME( 0x000c, 0x000c, DEF_STR( Difficulty ) )
2126   PORT_DIPNAME( 0x000c, 0x000c, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:6,5")
21122127   PORT_DIPSETTING(      0x0004, DEF_STR( Easy ) )
21132128   PORT_DIPSETTING(      0x000c, DEF_STR( Normal ) )
21142129   PORT_DIPSETTING(      0x0008, DEF_STR( Hard ) )
21152130   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
2116   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unknown ) )
2131   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:4")
21172132   PORT_DIPSETTING(      0x0010, DEF_STR( Off ) )
21182133   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2119   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unknown ) )
2134   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:3")
21202135   PORT_DIPSETTING(      0x0020, DEF_STR( Off ) )
21212136   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2122   PORT_DIPNAME( 0x00c0, 0x00c0, DEF_STR( Lives ) )
2137   PORT_DIPNAME( 0x00c0, 0x00c0, DEF_STR( Lives ) )   PORT_DIPLOCATION("SW1:2,1")
21232138   PORT_DIPSETTING(      0x0000, "1" )
21242139   PORT_DIPSETTING(      0x0040, "2" )
21252140   PORT_DIPSETTING(      0x00c0, "3" )
21262141   PORT_DIPSETTING(      0x0080, "4" )
2127   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unused ) )
2142   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unused ) )   PORT_DIPLOCATION("SW2:8")
21282143   PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
21292144   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2130   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Demo_Sounds ) )
2145   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:7")
21312146   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
21322147   PORT_DIPSETTING(      0x0200, DEF_STR( On ) )
2133   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unknown ) )
2148   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW2:6")
21342149   PORT_DIPSETTING(      0x0400, DEF_STR( Off ) )
21352150   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2136   PORT_DIPNAME( 0x0800, 0x0800, DEF_STR( Unknown ) )
2151   PORT_DIPNAME( 0x0800, 0x0800, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW2:5")
21372152   PORT_DIPSETTING(      0x0800, DEF_STR( Off ) )
21382153   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2139   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Unknown ) )
2154   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW2:4")
21402155   PORT_DIPSETTING(      0x1000, DEF_STR( Off ) )
21412156   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2142   PORT_DIPNAME( 0xe000, 0xe000, DEF_STR( Coinage ) )
2157   PORT_DIPNAME( 0xe000, 0xe000, DEF_STR( Coinage ) )   PORT_DIPLOCATION("SW2:3,2,1")
21432158   PORT_DIPSETTING(      0x2000, DEF_STR( 4C_1C ) )
21442159   PORT_DIPSETTING(      0xa000, DEF_STR( 3C_1C ) )
21452160   PORT_DIPSETTING(      0x6000, DEF_STR( 2C_1C ) )
r5338r5339
21802195   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
21812196
21822197   PORT_START("DSW1")
2183   PORT_SERVICE( 0x01, IP_ACTIVE_LOW )
2184   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Demo_Sounds ) )
2198   PORT_SERVICE_DIPLOC( 0x01, IP_ACTIVE_LOW, "SW1:8" )
2199   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:7")
21852200   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
21862201   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
2187   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Flip_Screen ) )
2202   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:6")
21882203   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
21892204   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2190   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Language ) )
2205   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Language ) )      PORT_DIPLOCATION("SW1:5")
21912206   PORT_DIPSETTING(    0x00, DEF_STR( English ) )
21922207   PORT_DIPSETTING(    0x08, DEF_STR( Japanese ) )
2193   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )
2208   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:4,3")
21942209   PORT_DIPSETTING(    0x10, DEF_STR( Easy ) )
21952210   PORT_DIPSETTING(    0x30, DEF_STR( Normal ) )
21962211   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
21972212   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
2198   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )
2213   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:2,1")
21992214   PORT_DIPSETTING(    0x00, "1" )
22002215   PORT_DIPSETTING(    0x40, "2" )
22012216   PORT_DIPSETTING(    0xc0, "3" )
22022217   PORT_DIPSETTING(    0x80, "4" )
22032218
22042219   PORT_START("DSW2")
2205   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_B ) )
2220   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW2:8,7,6,5")
22062221   PORT_DIPSETTING(    0x04, DEF_STR( 4C_1C ) )
22072222   PORT_DIPSETTING(    0x0a, DEF_STR( 3C_1C ) )
22082223   PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
r5338r5339
22192234   PORT_DIPSETTING(    0x0d, DEF_STR( 1C_5C ) )
22202235   PORT_DIPSETTING(    0x05, DEF_STR( 1C_6C ) )
22212236   PORT_DIPSETTING(    0x09, DEF_STR( 1C_7C ) )
2222   PORT_DIPNAME( 0xf0, 0xf0, DEF_STR( Coin_A ) )
2237   PORT_DIPNAME( 0xf0, 0xf0, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW2:4,3,2,1")
22232238   PORT_DIPSETTING(    0x40, DEF_STR( 4C_1C ) )
22242239   PORT_DIPSETTING(    0xa0, DEF_STR( 3C_1C ) )
22252240   PORT_DIPSETTING(    0x10, DEF_STR( 2C_1C ) )
r5338r5339
22682283   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
22692284
22702285   PORT_START("DSW1")
2271   PORT_SERVICE( 0x01, IP_ACTIVE_LOW )
2272   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Demo_Sounds ) )
2286   PORT_SERVICE_DIPLOC( 0x01, IP_ACTIVE_LOW, "SW1:8" )
2287   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:7")
22732288   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
22742289   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
2275   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Flip_Screen ) )
2290   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:6")
22762291   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
22772292   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2278   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Language ) )
2293   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Language ) )      PORT_DIPLOCATION("SW1:5")
22792294   PORT_DIPSETTING(    0x00, DEF_STR( English ) )
22802295   PORT_DIPSETTING(    0x08, DEF_STR( Japanese ) )
2281   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )   /* Initial points needed for 1st Stage Clear */
2296   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:4,3")   /* Initial points needed for 1st Stage Clear */
22822297   PORT_DIPSETTING(    0x10, DEF_STR( Easy ) )      /* 100,000 */
22832298   PORT_DIPSETTING(    0x30, DEF_STR( Normal ) )      /* 150,000 */
22842299   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )      /* 200,000 */
22852300   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )      /* 250,000 */
2286   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
2301   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:2")
22872302   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
22882303   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2289   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
2304   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:1")
22902305   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
22912306   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
22922307
22932308   PORT_START("DSW2")
2294   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_B ) )
2309   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW2:8,7,6,5")
22952310   PORT_DIPSETTING(    0x04, DEF_STR( 4C_1C ) )
22962311   PORT_DIPSETTING(    0x0a, DEF_STR( 3C_1C ) )
22972312   PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
r5338r5339
23082323   PORT_DIPSETTING(    0x0d, DEF_STR( 1C_5C ) )
23092324   PORT_DIPSETTING(    0x05, DEF_STR( 1C_6C ) )
23102325   PORT_DIPSETTING(    0x09, DEF_STR( 1C_7C ) )
2311   PORT_DIPNAME( 0xf0, 0xf0, DEF_STR( Coin_A ) )
2326   PORT_DIPNAME( 0xf0, 0xf0, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW2:4,3,2,1")
23122327   PORT_DIPSETTING(    0x40, DEF_STR( 4C_1C ) )
23132328   PORT_DIPSETTING(    0xa0, DEF_STR( 3C_1C ) )
23142329   PORT_DIPSETTING(    0x10, DEF_STR( 2C_1C ) )
r5338r5339
23572372   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
23582373
23592374   PORT_START("DSW1")
2360   PORT_SERVICE( 0x01, IP_ACTIVE_LOW )
2361   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Demo_Sounds ) )
2375   PORT_SERVICE_DIPLOC( 0x01, IP_ACTIVE_LOW, "SW1:8" )
2376   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:7")
23622377   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
23632378   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
2364   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Flip_Screen ) )
2379   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:6")
23652380   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
23662381   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2367   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unused ) ) /* The manual states this dip is "Unused" */
2382   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW1:5") /* The manual states this dip is "Unused" */
23682383   PORT_DIPSETTING(    0x00, DEF_STR( Off) )
23692384   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
2370   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )
2385   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:3,4")
23712386   PORT_DIPSETTING(    0x10, DEF_STR( Easy ) )
23722387   PORT_DIPSETTING(    0x30, DEF_STR( Normal ) )
23732388   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
23742389   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
2375   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )
2390   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:1,2")
23762391   PORT_DIPSETTING(    0x00, "1" )
23772392   PORT_DIPSETTING(    0x40, "2" )
23782393   PORT_DIPSETTING(    0xc0, "3" )
23792394   PORT_DIPSETTING(    0x80, "4" )
23802395
23812396   PORT_START("DSW2")
2382   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_B ) )
2397   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW2:8,7,6,5")
23832398   PORT_DIPSETTING(    0x04, DEF_STR( 4C_1C ) )
23842399   PORT_DIPSETTING(    0x0a, DEF_STR( 3C_1C ) )
23852400   PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
r5338r5339
23962411   PORT_DIPSETTING(    0x0d, DEF_STR( 1C_5C ) )
23972412   PORT_DIPSETTING(    0x05, DEF_STR( 1C_6C ) )
23982413   PORT_DIPSETTING(    0x09, DEF_STR( 1C_7C ) )
2399   PORT_DIPNAME( 0xf0, 0xf0, DEF_STR( Coin_A ) )
2414   PORT_DIPNAME( 0xf0, 0xf0, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW2:4,3,2,1")
24002415   PORT_DIPSETTING(    0x40, DEF_STR( 4C_1C ) )
24012416   PORT_DIPSETTING(    0xa0, DEF_STR( 3C_1C ) )
24022417   PORT_DIPSETTING(    0x10, DEF_STR( 2C_1C ) )
r5338r5339
24452460   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
24462461
24472462   PORT_START("DSW1")
2448   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )
2463   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:8")
24492464   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
24502465   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2451   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Language ) ) /* The manual states this dip is "Unused" */
2452   PORT_DIPSETTING(    0x02, DEF_STR( Japanese ) ) /* Will add "Distributed by TECMO" to the title screen */
2466   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Language ) )      PORT_DIPLOCATION("SW1:7")    /* The manual states this dip is "Unused" */
2467   PORT_DIPSETTING(    0x02, DEF_STR( Japanese ) )                  /* Will add "Distributed by TECMO" to the title screen */
24532468   PORT_DIPSETTING(    0x00, DEF_STR( English ) )
2454   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )
2469   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:6,5")
24552470   PORT_DIPSETTING(    0x08, DEF_STR( Easy ) )
24562471   PORT_DIPSETTING(    0x0c, DEF_STR( Normal ) )
24572472   PORT_DIPSETTING(    0x04, DEF_STR( Hard ) )
24582473   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
2459   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) ) /* The manual states dips 4-8 are "Unused" */
2474   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW1:4")    /* The manual states dips 1-4 are "Unused" */
24602475   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
24612476   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2462   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) )
2477   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW1:3")
24632478   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
24642479   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2465   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) )
2480   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW1:2")
24662481   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
24672482   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2468   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) )
2483   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW1:1")
24692484   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
24702485   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
24712486
24722487   PORT_START("DSW2")
2473   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) ) /* The manual states this dip is "Unused" */
2488   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:8") /* The manual states this dip is "Unused" */
24742489   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
24752490   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2476   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Demo_Sounds ) )
2491   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:7")
24772492   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
24782493   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
2479   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Coin_B ) )
2494   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW2:6,5,4")
24802495   PORT_DIPSETTING(    0x10, DEF_STR( 4C_1C ) )
24812496   PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
24822497   PORT_DIPSETTING(    0x18, DEF_STR( 2C_1C ) )
r5338r5339
24852500   PORT_DIPSETTING(    0x14, DEF_STR( 1C_3C ) )
24862501   PORT_DIPSETTING(    0x04, DEF_STR( 1C_4C ) )
24872502   PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
2488   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coin_A ) )
2503   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW2:3,2,1")
24892504   PORT_DIPSETTING(    0x80, DEF_STR( 4C_1C ) )
24902505   PORT_DIPSETTING(    0x40, DEF_STR( 3C_1C ) )
24912506   PORT_DIPSETTING(    0xc0, DEF_STR( 2C_1C ) )
r5338r5339
25262541   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
25272542
25282543   PORT_START("DSW1")
2529   PORT_SERVICE( 0x01, IP_ACTIVE_LOW )
2530   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Language ) ) /* Doesn't seem to have any effect */
2544   PORT_SERVICE_DIPLOC( 0x01, IP_ACTIVE_LOW, "SW1:8" )
2545   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Language ) )      PORT_DIPLOCATION("SW1:7") /* Main characters text "talk" at Stage Clear screen, but only when set to Japanese */
25312546   PORT_DIPSETTING(    0x02, DEF_STR( Japanese ) )
25322547   PORT_DIPSETTING(    0x00, DEF_STR( English ) )
2533   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unused ) ) /* The manual states this dip is "Unused" */
2548   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW1:6") /* The manual states this dip is "Unused" */
25342549   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
25352550   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2536   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unused ) ) /* The manual states this dip is "Unused" */
2551   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW1:5") /* The manual states this dip is "Unused" */
25372552   PORT_DIPSETTING(    0x00, DEF_STR( Off) )
25382553   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
2539   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )
2554   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:4,3")
25402555   PORT_DIPSETTING(    0x10, DEF_STR( Easy ) )
25412556   PORT_DIPSETTING(    0x30, DEF_STR( Normal ) )
25422557   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
25432558   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
2544   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )
2559   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:2,1")
25452560   PORT_DIPSETTING(    0x00, "1" )
25462561   PORT_DIPSETTING(    0x40, "2" )
25472562   PORT_DIPSETTING(    0xc0, "3" )
25482563   PORT_DIPSETTING(    0x80, "4" )
25492564
25502565   PORT_START("DSW2")
2551   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )
2566   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW2:8")
25522567   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
25532568   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2554   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Demo_Sounds ) )
2569   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:7")
25552570   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
25562571   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
2557   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Coin_B ) )
2572   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW2:6,5,4")
25582573   PORT_DIPSETTING(    0x10, DEF_STR( 4C_1C ) )
25592574   PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
25602575   PORT_DIPSETTING(    0x18, DEF_STR( 2C_1C ) )
r5338r5339
25632578   PORT_DIPSETTING(    0x14, DEF_STR( 1C_3C ) )
25642579   PORT_DIPSETTING(    0x04, DEF_STR( 1C_4C ) )
25652580   PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
2566   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coin_A ) )
2581   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW2:3,2,1")
25672582   PORT_DIPSETTING(    0x80, DEF_STR( 4C_1C ) )
25682583   PORT_DIPSETTING(    0x40, DEF_STR( 3C_1C ) )
25692584   PORT_DIPSETTING(    0xc0, DEF_STR( 2C_1C ) )
r5338r5339
26042619   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
26052620
26062621   PORT_START("DSW1")
2607   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )
2622   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:8")
26082623   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
26092624   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2610   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Language ) )
2625   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Language ) )      PORT_DIPLOCATION("SW1:7")
26112626   PORT_DIPSETTING(    0x02, DEF_STR( Japanese ) )
26122627   PORT_DIPSETTING(    0x00, DEF_STR( English ) )
2613   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )
2628   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:6,5")
26142629   PORT_DIPSETTING(    0x08, DEF_STR( Easy ) )
26152630   PORT_DIPSETTING(    0x0c, DEF_STR( Normal ) )
26162631   PORT_DIPSETTING(    0x04, DEF_STR( Hard ) )
26172632   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
2618   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )
2633   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW1:4") /* The manual states this dip is "Unused" */
2634   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
2635   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2636   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW1:3") /* The manual states this dip is "Unused" */
2637   PORT_DIPSETTING(    0x20, DEF_STR( Off) )
2638   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2639   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:2,1")
26192640   PORT_DIPSETTING(    0x00, "1" )
26202641   PORT_DIPSETTING(    0x40, "2" )
26212642   PORT_DIPSETTING(    0xc0, "3" )
26222643   PORT_DIPSETTING(    0x80, "4" )
26232644
26242645   PORT_START("DSW2")
2625   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) ) /* The manual states this dip is "Unused" */
2646   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:8") /* The manual states this dip is "Unused" */
26262647   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
26272648   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2628   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Demo_Sounds ) )
2649   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:7")
26292650   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
26302651   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
2631   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Coin_B ) )
2652   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW2:6,5,4")
26322653   PORT_DIPSETTING(    0x10, DEF_STR( 4C_1C ) )
26332654   PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
26342655   PORT_DIPSETTING(    0x18, DEF_STR( 2C_1C ) )
r5338r5339
26372658   PORT_DIPSETTING(    0x14, DEF_STR( 1C_3C ) )
26382659   PORT_DIPSETTING(    0x04, DEF_STR( 1C_4C ) )
26392660   PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
2640   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coin_A ) )
2661   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW2:3,2,1")
26412662   PORT_DIPSETTING(    0x80, DEF_STR( 4C_1C ) )
26422663   PORT_DIPSETTING(    0x40, DEF_STR( 3C_1C ) )
26432664   PORT_DIPSETTING(    0xc0, DEF_STR( 2C_1C ) )
r5338r5339
26782699   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
26792700
26802701   PORT_START("DSW1")
2681   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )
2702   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:8")
26822703   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
26832704   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2684   PORT_DIPNAME( 0x0e, 0x0e, "Starting level" )
2705   PORT_DIPNAME( 0x0e, 0x0e, "Starting level" )      PORT_DIPLOCATION("SW1:7,6,5")
26852706   PORT_DIPSETTING(    0x08, "Germany" )
26862707   PORT_DIPSETTING(    0x04, "Thailand" )
26872708   PORT_DIPSETTING(    0x0c, "Nevada" )
r5338r5339
26902711   PORT_DIPSETTING(    0x0a, "England" )
26912712   PORT_DIPSETTING(    0x02, "Hong Kong" )
26922713   PORT_DIPSETTING(    0x00, "China" )
2693   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )
2714   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:4,3")
26942715   PORT_DIPSETTING(    0x20, DEF_STR( Easy ) )
26952716   PORT_DIPSETTING(    0x30, DEF_STR( Normal ) )
26962717   PORT_DIPSETTING(    0x10, DEF_STR( Hard ) )
26972718   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
2698   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )
2719   PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:2,1")
26992720   PORT_DIPSETTING(    0x00, "1" )
27002721   PORT_DIPSETTING(    0x40, "2" )
27012722   PORT_DIPSETTING(    0xc0, "3" )
27022723   PORT_DIPSETTING(    0x80, "4" )
27032724
27042725   PORT_START("DSW2")
2705   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
2726   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:8")
27062727   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
27072728   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2708   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Demo_Sounds ) )
2729   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:7")
27092730   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
27102731   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
2711   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Coin_B ) )
2732   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW2:6,5,4")
27122733   PORT_DIPSETTING(    0x10, DEF_STR( 4C_1C ) )
27132734   PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
27142735   PORT_DIPSETTING(    0x18, DEF_STR( 2C_1C ) )
r5338r5339
27172738   PORT_DIPSETTING(    0x14, DEF_STR( 1C_3C ) )
27182739   PORT_DIPSETTING(    0x04, DEF_STR( 1C_4C ) )
27192740   PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
2720   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coin_A ) )
2741   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW2:3,2,1")
27212742   PORT_DIPSETTING(    0x80, DEF_STR( 4C_1C ) )
27222743   PORT_DIPSETTING(    0x40, DEF_STR( 3C_1C ) )
27232744   PORT_DIPSETTING(    0xc0, DEF_STR( 2C_1C ) )
r5338r5339
27582779   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
27592780
27602781   PORT_START("DSW1")
2761   PORT_DIPNAME( 0x03, 0x03, "Life Decrease Speed" )
2782   PORT_DIPNAME( 0x03, 0x03, "Life Decrease Speed" )   PORT_DIPLOCATION("SW1:8,7")
27622783   PORT_DIPSETTING(    0x02, "Slow" )
27632784   PORT_DIPSETTING(    0x03, DEF_STR( Normal ) )
27642785   PORT_DIPSETTING(    0x01, "Fast" )
27652786   PORT_DIPSETTING(    0x00, "Very Fast" )
2766   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )
2787   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:6,5")
27672788   PORT_DIPSETTING(    0x08, DEF_STR( Easy ) )
27682789   PORT_DIPSETTING(    0x0c, DEF_STR( Normal ) )
27692790   PORT_DIPSETTING(    0x04, DEF_STR( Hard ) )
27702791   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
2771   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Free_Play ) )
2792   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Free_Play ) )   PORT_DIPLOCATION("SW1:4")
27722793   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
27732794   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2774   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coinage ) )
2795   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:3,2,1")
27752796   PORT_DIPSETTING(    0x20, DEF_STR( 4C_1C ) )
27762797   PORT_DIPSETTING(    0xa0, DEF_STR( 3C_1C ) )
27772798   PORT_DIPSETTING(    0x60, DEF_STR( 2C_1C ) )
r5338r5339
27822803   PORT_DIPSETTING(    0x80, DEF_STR( 1C_4C ) )
27832804
27842805   PORT_START("DSW2")
2785   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) ) /* The manual states this dip is "Unused" */
2806   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:8") /* The manual states this dip is "Unused" */
27862807   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
27872808   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2788   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unused ) ) /* The manual states this dip is "Unused" */
2809   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:7") /* The manual states this dip is "Unused" */
27892810   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
27902811   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2791   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unused ) ) /* The manual states this dip is "Unused" */
2812   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:6") /* The manual states this dip is "Unused" */
27922813   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
27932814   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2794   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unused ) ) /* The manual states this dip is "Unused" */
2815   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:5") /* The manual states this dip is "Unused" */
27952816   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
27962817   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2797   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) ) /* The manual states this dip is "Unused" */
2818   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:4") /* The manual states this dip is "Unused" */
27982819   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
27992820   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2800   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Flip_Screen ) )
2821   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW2:3")
28012822   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
28022823   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2803   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Demo_Sounds ) )
2824   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:2")
28042825   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
28052826   PORT_DIPSETTING(    0x40, DEF_STR( On ) )
2806   PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
2827   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW2:1" )
28072828INPUT_PORTS_END
28082829
28092830
r5338r5339
28572878   PORT_INCLUDE( afega_common )
28582879
28592880   PORT_START("DSW1")   // $080004.w
2860   PORT_SERVICE( 0x0001, IP_ACTIVE_LOW )
2861   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Demo_Sounds ) )
2881   PORT_SERVICE_DIPLOC( 0x0001, IP_ACTIVE_LOW, "SW2:8" )
2882   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Demo_Sounds ) )      PORT_DIPLOCATION("SW2:7")
28622883   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
28632884   PORT_DIPSETTING(      0x0002, DEF_STR( On ) )
2864   PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unused ) )
2885   PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:6")
28652886   PORT_DIPSETTING(      0x0004, DEF_STR( Off ) )
28662887   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2867   PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Unused ) )
2888   PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:5")
28682889   PORT_DIPSETTING(      0x0008, DEF_STR( Off ) )
28692890   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2870   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unused ) )
2891   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:4")
28712892   PORT_DIPSETTING(      0x0010, DEF_STR( Off ) )
28722893   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2873   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unused ) )
2894   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:3")
28742895   PORT_DIPSETTING(      0x0020, DEF_STR( Off ) )
28752896   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2876   PORT_DIPNAME( 0x00c0, 0x00c0, DEF_STR( Lives ) )
2897   PORT_DIPNAME( 0x00c0, 0x00c0, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:2,1")
28772898   PORT_DIPSETTING(      0x0000, "1" )
28782899   PORT_DIPSETTING(      0x0080, "2" )
28792900   PORT_DIPSETTING(      0x00c0, "3" )
28802901   PORT_DIPSETTING(      0x0040, "5" )
2881   PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Flip_Screen ) )
2902   PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Flip_Screen ) )      PORT_DIPLOCATION("SW1:8,7")
28822903   PORT_DIPSETTING(      0x0300, DEF_STR( Off ) )
28832904   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
28842905   PORT_DIPSETTING(      0x0200, "Horizontally" )
28852906   PORT_DIPSETTING(      0x0100, "Vertically" )
2886   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unused ) )
2907   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW1:6")
28872908   PORT_DIPSETTING(      0x0400, DEF_STR( Off ) )
28882909   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2889   PORT_DIPNAME( 0x1800, 0x1800, DEF_STR( Difficulty ) )
2910   PORT_DIPNAME( 0x1800, 0x1800, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW1:5,4")
28902911   PORT_DIPSETTING(      0x0800, DEF_STR( Easy ) )
28912912   PORT_DIPSETTING(      0x1800, DEF_STR( Normal ) )
28922913   PORT_DIPSETTING(      0x1000, DEF_STR( Hard ) )
28932914   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
2894   PORT_DIPNAME( 0xe000, 0xe000, DEF_STR( Coinage ) )
2915   PORT_DIPNAME( 0xe000, 0xe000, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:3,2,1")
28952916   PORT_DIPSETTING(      0x0000, DEF_STR( 4C_1C ) )
28962917   PORT_DIPSETTING(      0x8000, DEF_STR( 3C_1C ) )
28972918   PORT_DIPSETTING(      0x4000, DEF_STR( 2C_1C ) )
r5338r5339
29342955   PORT_BIT(  0x8000, IP_ACTIVE_HIGH, IPT_UNKNOWN )
29352956
29362957   PORT_START("DSW1")   // $080004.w  -- probably just redhawk but inverted
2937   PORT_SERVICE( 0x0001, IP_ACTIVE_HIGH )    /* not working */
2938   PORT_DIPNAME( 0x0002, 0x0000, DEF_STR( Demo_Sounds ) )
2958   PORT_DIPNAME( 0x0001, 0x0000, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:8") /* Other sets, this is TEST MODE, but here it doesn't work */
2959   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
2960   PORT_DIPSETTING(      0x0001, DEF_STR( On ) )
2961   PORT_DIPNAME( 0x0002, 0x0000, DEF_STR( Demo_Sounds ) )      PORT_DIPLOCATION("SW2:7")
29392962   PORT_DIPSETTING(      0x0002, DEF_STR( Off ) )
29402963   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2941   PORT_DIPNAME( 0x0004, 0x0000, DEF_STR( Unused ) )
2964   PORT_DIPNAME( 0x0004, 0x0000, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:6")
29422965   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
29432966   PORT_DIPSETTING(      0x0004, DEF_STR( On ) )
2944   PORT_DIPNAME( 0x0008, 0x0000, DEF_STR( Unused ) )
2967   PORT_DIPNAME( 0x0008, 0x0000, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:5")
29452968   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
29462969   PORT_DIPSETTING(      0x0008, DEF_STR( On ) )
2947   PORT_DIPNAME( 0x0010, 0x0000, DEF_STR( Unused ) )
2970   PORT_DIPNAME( 0x0010, 0x0000, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:4")
29482971   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
29492972   PORT_DIPSETTING(      0x0010, DEF_STR( On ) )
2950   PORT_DIPNAME( 0x0020, 0x0000, DEF_STR( Unused ) )
2973   PORT_DIPNAME( 0x0020, 0x0000, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:3")
29512974   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
29522975   PORT_DIPSETTING(      0x0020, DEF_STR( On ) )
2953   PORT_DIPNAME( 0x00c0, 0x0000, DEF_STR( Lives ) )
2976   PORT_DIPNAME( 0x00c0, 0x0000, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:2,1")
29542977   PORT_DIPSETTING(      0x00c0, "1" )
29552978   PORT_DIPSETTING(      0x0040, "2" )
29562979   PORT_DIPSETTING(      0x0000, "3" )
29572980   PORT_DIPSETTING(      0x0080, "5" )
2958   PORT_DIPNAME( 0x0300, 0x0000, DEF_STR( Flip_Screen ) )    /* not supported */
2981   PORT_DIPNAME( 0x0300, 0x0000, DEF_STR( Flip_Screen ) )      PORT_DIPLOCATION("SW1:8,7")    /* not supported */
29592982   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
29602983   PORT_DIPSETTING(      0x0300, DEF_STR( On ) )
29612984   PORT_DIPSETTING(      0x0100, "Horizontally" )
29622985   PORT_DIPSETTING(      0x0200, "Vertically" )
2963   PORT_DIPNAME( 0x0400, 0x0000, DEF_STR( Unused ) )
2986   PORT_DIPNAME( 0x0400, 0x0000, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW1:6")
29642987   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
29652988   PORT_DIPSETTING(      0x0400, DEF_STR( On ) )
2966   PORT_DIPNAME( 0x1800, 0x0000, DEF_STR( Difficulty ) )
2989   PORT_DIPNAME( 0x1800, 0x0000, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW1:5,4")
29672990   PORT_DIPSETTING(      0x1000, DEF_STR( Easy ) )
29682991   PORT_DIPSETTING(      0x0000, DEF_STR( Normal ) )
29692992   PORT_DIPSETTING(      0x0800, DEF_STR( Hard ) )
29702993   PORT_DIPSETTING(      0x1800, DEF_STR( Hardest ) )
2971   PORT_DIPNAME( 0xe000, 0x0000, DEF_STR( Coinage ) )
2994   PORT_DIPNAME( 0xe000, 0x0000, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:3,2,1")
29722995   PORT_DIPSETTING(      0xe000, DEF_STR( 4C_1C ) )
29732996   PORT_DIPSETTING(      0x6000, DEF_STR( 3C_1C ) )
29742997   PORT_DIPSETTING(      0xa000, DEF_STR( 2C_1C ) )
r5338r5339
29873010   PORT_INCLUDE( afega_common )
29883011
29893012   PORT_START("DSW1")   // $080004.w
2990   PORT_SERVICE( 0x0001, IP_ACTIVE_LOW )
2991   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Demo_Sounds ) )
3013   PORT_SERVICE_DIPLOC(  0x01, IP_ACTIVE_LOW, "SW1:8" )
3014   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Demo_Sounds ) )      PORT_DIPLOCATION("SW1:7")
29923015   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
29933016   PORT_DIPSETTING(      0x0002, DEF_STR( On ) )
2994   PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Free_Play ) )
3017   PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Free_Play ) )      PORT_DIPLOCATION("SW1:6")
29953018   PORT_DIPSETTING(      0x0004, DEF_STR( Off ) )
29963019   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
2997   PORT_DIPNAME( 0x0008, 0x0008, "Bombs" )
3020   PORT_DIPNAME( 0x0008, 0x0008, "Bombs" )            PORT_DIPLOCATION("SW1:5")
29983021   PORT_DIPSETTING(      0x0008, "2" )
29993022   PORT_DIPSETTING(      0x0000, "3" )
3000   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unused ) )
3001   PORT_DIPSETTING(      0x0010, DEF_STR( Off ) )
3002   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3003   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unused ) )
3004   PORT_DIPSETTING(      0x0020, DEF_STR( Off ) )
3005   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3006   PORT_DIPNAME( 0x00c0, 0x00c0, DEF_STR( Lives ) )
3023   PORT_DIPUNUSED_DIPLOC( 0x10, 0x10, "SW1:4" )         /* Listed as "Unused" & doesn't show in test mode */
3024   PORT_DIPUNUSED_DIPLOC( 0x20, 0x20, "SW1:3" )         /* Listed as "Unused" & doesn't show in test mode */
3025   PORT_DIPNAME( 0x00c0, 0x00c0, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:2,1")
30073026   PORT_DIPSETTING(      0x0000, "1" )
30083027   PORT_DIPSETTING(      0x0080, "2" )
30093028   PORT_DIPSETTING(      0x00c0, "3" )
30103029   PORT_DIPSETTING(      0x0040, "5" )
3011   PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Flip_Screen ) )
3012   PORT_DIPSETTING(      0x0300, DEF_STR( Off ) )
3030   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Flip_Screen ) )      PORT_DIPLOCATION("SW2:8")
3031   PORT_DIPSETTING(      0x0200, DEF_STR( Off ) )
30133032   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3014   PORT_DIPSETTING(      0x0200, "Horizontally" )
3015   PORT_DIPSETTING(      0x0100, "Vertically" )
3016   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unused ) )
3033   PORT_DIPNAME( 0x0100, 0x0100, "Mirror Screen" )         PORT_DIPLOCATION("SW2:7")
3034   PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
3035   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3036   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:6")
30173037   PORT_DIPSETTING(      0x0400, DEF_STR( Off ) )
30183038   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3019   PORT_DIPNAME( 0x1800, 0x1800, DEF_STR( Difficulty ) )
3039   PORT_DIPNAME( 0x1800, 0x1800, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW2:5,4")
30203040   PORT_DIPSETTING(      0x0800, DEF_STR( Easy ) )
30213041   PORT_DIPSETTING(      0x1800, DEF_STR( Normal ) )
30223042   PORT_DIPSETTING(      0x1000, DEF_STR( Hard ) )
30233043   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
3024   PORT_DIPNAME( 0xe000, 0xe000, DEF_STR( Coinage ) )
3044   PORT_DIPNAME( 0xe000, 0xe000, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW2:3,2,1")
30253045   PORT_DIPSETTING(      0x0000, DEF_STR( 4C_1C ) )
30263046   PORT_DIPSETTING(      0x8000, DEF_STR( 3C_1C ) )
30273047   PORT_DIPSETTING(      0x4000, DEF_STR( 2C_1C ) )
r5338r5339
30323052   PORT_DIPSETTING(      0xa000, DEF_STR( 1C_3C ) )
30333053INPUT_PORTS_END
30343054
3055static INPUT_PORTS_START( grdnstrk )
3056   PORT_INCLUDE( grdnstrm )
3057
3058   PORT_MODIFY("DSW1")   // $080004.w
3059   PORT_DIPNAME( 0x0200, 0x0200, "Mirror Screen" )         PORT_DIPLOCATION("SW2:8")
3060   PORT_DIPSETTING(      0x0200, DEF_STR( Off ) )
3061   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3062   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Flip_Screen ) )      PORT_DIPLOCATION("SW2:7")
3063   PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
3064   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3065INPUT_PORTS_END
3066
30353067/***************************************************************************
30363068                            Pop's Pop's
30373069***************************************************************************/
r5338r5339
30963128   PORT_INCLUDE( afega_common )
30973129
30983130   PORT_START("DSW1")   // $080004.w
3099   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unused ) )
3131   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:8") /* Manual lists as "Screen Flip Horizontal"  Doesn't work??? */
31003132   PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
31013133   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3102   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unused ) )
3134   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:7") /* Manual lists as "Screen Flip Vertical"  Doesn't work??? */
31033135   PORT_DIPSETTING(      0x0002, DEF_STR( Off ) )
31043136   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3105   PORT_DIPNAME( 0x000c, 0x000c, DEF_STR( Difficulty ) )
3137   PORT_DIPNAME( 0x000c, 0x000c, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW2:6,5")
31063138   PORT_DIPSETTING(      0x0008, DEF_STR( Easy ) )
31073139   PORT_DIPSETTING(      0x000c, DEF_STR( Normal ) )
31083140   PORT_DIPSETTING(      0x0004, DEF_STR( Hard ) )
31093141   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
3110   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unused ) )
3142   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:4")
31113143   PORT_DIPSETTING(      0x0010, DEF_STR( Off ) )
31123144   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3113   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unused ) )
3145   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW2:3")
31143146   PORT_DIPSETTING(      0x0020, DEF_STR( Off ) )
31153147   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3116   PORT_DIPNAME( 0x00c0, 0x00c0, "Free Credit" )
3148   PORT_DIPNAME( 0x00c0, 0x00c0, "Free Credit" )         PORT_DIPLOCATION("SW2:2,1")
31173149   PORT_DIPSETTING(      0x0080, "500k" )
31183150   PORT_DIPSETTING(      0x00c0, "800k" )
31193151   PORT_DIPSETTING(      0x0040, "1000k" )
31203152   PORT_DIPSETTING(      0x0000, "1500k" )
3121   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unused ) )
3153   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW1:8")
31223154   PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
31233155   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3124   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Demo_Sounds ) )
3156   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Demo_Sounds ) )      PORT_DIPLOCATION("SW1:7") /* Manual lists as "Unused" */
31253157   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
31263158   PORT_DIPSETTING(      0x0200, DEF_STR( On ) )
3127   PORT_DIPNAME( 0x1c00, 0x1c00, DEF_STR( Coin_B ) )
3159   PORT_DIPNAME( 0x1c00, 0x1c00, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW1:6,5,4")
31283160   PORT_DIPSETTING(      0x1000, DEF_STR( 4C_1C ) )
31293161   PORT_DIPSETTING(      0x0800, DEF_STR( 3C_1C ) )
31303162   PORT_DIPSETTING(      0x1800, DEF_STR( 2C_1C ) )
r5338r5339
31333165   PORT_DIPSETTING(      0x1400, DEF_STR( 1C_3C ) )
31343166   PORT_DIPSETTING(      0x0400, DEF_STR( 1C_4C ) )
31353167//  PORT_DIPSETTING(      0x0000, "Disabled" )
3136   PORT_DIPNAME( 0xe000, 0xe000, DEF_STR( Coin_A ) )
3168   PORT_DIPNAME( 0xe000, 0xe000, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW1:3,2,1")
31373169   PORT_DIPSETTING(      0x8000, DEF_STR( 4C_1C ) )
31383170   PORT_DIPSETTING(      0x4000, DEF_STR( 3C_1C ) )
31393171   PORT_DIPSETTING(      0xc000, DEF_STR( 2C_1C ) )
r5338r5339
31523184   PORT_INCLUDE( afega_common )
31533185
31543186   PORT_START("DSW1")   // $080004.w
3155    PORT_DIPNAME( 0x0001, 0x0001, "DSWS" )      /* Setting to on cuases screen issues, Flip Screen? or unfinished test mode? */
3156    PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
3157    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3187   PORT_DIPNAME( 0x0001, 0x0001, "DSWS" )      /* Setting to on cuases screen issues, Flip Screen? or unfinished test mode? */
3188   PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
3189   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
31583190   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Demo_Sounds ) )
31593191   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
31603192   PORT_DIPSETTING(      0x0002, DEF_STR( On ) )
3161    PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unknown ) )
3162    PORT_DIPSETTING(      0x0004, DEF_STR( Off ) )
3163    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3193   PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unknown ) )
3194   PORT_DIPSETTING(      0x0004, DEF_STR( Off ) )
3195   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
31643196   PORT_DIPNAME( 0x0018, 0x0018, "Vs Rounds" )
31653197   PORT_DIPSETTING(      0x0018, "2" )
31663198   PORT_DIPSETTING(      0x0010, "3" )
31673199   PORT_DIPSETTING(      0x0008, "4" )
31683200   PORT_DIPSETTING(      0x0000, "5" )
3169    PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unknown ) )
3170    PORT_DIPSETTING(      0x0020, DEF_STR( Off ) )
3171    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3201   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unknown ) )
3202   PORT_DIPSETTING(      0x0020, DEF_STR( Off ) )
3203   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
31723204   PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Free_Play ) )
31733205   PORT_DIPSETTING(      0x0040, DEF_STR( Off ) )
31743206   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3175    PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unknown ) )
3176    PORT_DIPSETTING(      0x0080, DEF_STR( Off ) )
3177    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3178    PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) )
3179    PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
3180    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3181    PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Unknown ) )
3182    PORT_DIPSETTING(      0x0200, DEF_STR( Off ) )
3183    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3184    PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unknown ) )
3185    PORT_DIPSETTING(      0x0400, DEF_STR( Off ) )
3186    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3207   PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unknown ) )
3208   PORT_DIPSETTING(      0x0080, DEF_STR( Off ) )
3209   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3210   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) )
3211   PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
3212   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3213   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Unknown ) )
3214   PORT_DIPSETTING(      0x0200, DEF_STR( Off ) )
3215   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3216   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unknown ) )
3217   PORT_DIPSETTING(      0x0400, DEF_STR( Off ) )
3218   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
31873219   PORT_DIPNAME( 0x1800, 0x1800, DEF_STR( Difficulty ) )   /* Hard to tell levels of difficulty by play :-( */
31883220   PORT_DIPSETTING(      0x0800, DEF_STR( Easy ) )
31893221   PORT_DIPSETTING(      0x1800, DEF_STR( Normal ) )
r5338r5339
32093241   PORT_INCLUDE( afega_common )
32103242
32113243   PORT_START("DSW1")    // $080004.w
3212   PORT_DIPNAME( 0x0001, 0x0001, "Show Dip-Switch Settings" )
3213   PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
3214   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3215   PORT_DIPNAME( 0x000e, 0x000e, DEF_STR( Difficulty ) )
3244   PORT_SERVICE_DIPLOC(  0x01, IP_ACTIVE_LOW, "SW1:8" )
3245   PORT_DIPNAME( 0x000e, 0x000e, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW1:7,6,5")
32163246   PORT_DIPSETTING(      0x0006, DEF_STR( Very_Easy) )
32173247   PORT_DIPSETTING(      0x0008, DEF_STR( Easy ) )
32183248//  PORT_DIPSETTING(      0x000a, DEF_STR( Easy ) )
r5338r5339
32213251   PORT_DIPSETTING(      0x0002, DEF_STR( Hard ) )
32223252   PORT_DIPSETTING(      0x0004, DEF_STR( Hardest ) )
32233253   PORT_DIPSETTING(      0x000c, DEF_STR( Very_Hard ) )
3224   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Demo_Sounds ) )
3254   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Demo_Sounds ) )      PORT_DIPLOCATION("SW1:4")
32253255   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
32263256   PORT_DIPSETTING(      0x0010, DEF_STR( On ) )
3227   PORT_DIPNAME( 0x0020, 0x0020, "Number of Bombs" )
3257   PORT_DIPNAME( 0x0020, 0x0020, "Number of Bombs" )      PORT_DIPLOCATION("SW1:3")
32283258   PORT_DIPSETTING(      0x0020, "2" )
32293259   PORT_DIPSETTING(      0x0000, "3" )
3230   PORT_DIPNAME( 0x00c0, 0x00c0, DEF_STR( Lives ) )
3260   PORT_DIPNAME( 0x00c0, 0x00c0, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:2,1")
32313261   PORT_DIPSETTING(      0x0000, "1" )
32323262   PORT_DIPSETTING(      0x0080, "2" )
32333263   PORT_DIPSETTING(      0x00c0, "3" )
32343264   PORT_DIPSETTING(      0x0040, "4" )
3235   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) )
3265   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:8")
32363266   PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
32373267   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3238   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Region ) )
3268   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Region ) )      PORT_DIPLOCATION("SW2:7")
32393269   PORT_DIPSETTING(      0x0200, DEF_STR( English ) )
32403270   PORT_DIPSETTING(      0x0000, "China" )
3241   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Free_Play ) )
3271   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Free_Play ) )      PORT_DIPLOCATION("SW2:6")
32423272   PORT_DIPSETTING(      0x0400, DEF_STR( Off ) )
32433273   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3244   PORT_DIPNAME( 0x1800, 0x1800, "Continue Coins" )
3274   PORT_DIPNAME( 0x1800, 0x1800, "Continue Coins" )      PORT_DIPLOCATION("SW2:5,4")
32453275   PORT_DIPSETTING(      0x1800, "1 Coin" )
32463276   PORT_DIPSETTING(      0x0800, "2 Coins" )
32473277   PORT_DIPSETTING(      0x1000, "3 Coins" )
32483278   PORT_DIPSETTING(      0x0000, "4 Coins" )
3249   PORT_DIPNAME( 0xe000, 0xe000, DEF_STR( Coinage ) )
3279   PORT_DIPNAME( 0xe000, 0xe000, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW2:3,2,1")
32503280   PORT_DIPSETTING(      0x0000, DEF_STR( 4C_1C ) )
32513281   PORT_DIPSETTING(      0x8000, DEF_STR( 3C_1C ) )
32523282   PORT_DIPSETTING(      0x4000, DEF_STR( 2C_1C ) )
r5338r5339
32663296   PORT_INCLUDE( afega_common )
32673297
32683298   PORT_START("DSW1")    // $080004.w
3269   PORT_SERVICE( 0x0001, IP_ACTIVE_LOW )
3270   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Demo_Sounds ) )
3299   PORT_SERVICE_DIPLOC(  0x01, IP_ACTIVE_LOW, "SW1:8" )
3300   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Demo_Sounds ) )      PORT_DIPLOCATION("SW1:7")
32713301   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
32723302   PORT_DIPSETTING(      0x0002, DEF_STR( On ) )
3273   PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Free_Play ) )
3303   PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Free_Play ) )      PORT_DIPLOCATION("SW1:6")
32743304   PORT_DIPSETTING(      0x0004, DEF_STR( Off ) )
32753305   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3276   PORT_DIPNAME( 0x0008, 0x0008, "Number of Bombs" )
3306   PORT_DIPNAME( 0x0008, 0x0008, "Number of Bombs" )      PORT_DIPLOCATION("SW1:5")
32773307   PORT_DIPSETTING(      0x0008, "2" )
32783308   PORT_DIPSETTING(      0x0000, "3" )
3279   PORT_DIPNAME( 0x0010, 0x0010, "Copyright Notice" )
3309   PORT_DIPNAME( 0x0010, 0x0010, "Copyright Notice" )      PORT_DIPLOCATION("SW1:4")
32803310   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
32813311   PORT_DIPSETTING(      0x0010, DEF_STR( On ) )
3282   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unknown ) )
3312   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:3")
32833313   PORT_DIPSETTING(      0x0020, DEF_STR( Off ) )
32843314   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3285   PORT_DIPNAME( 0x00c0, 0x00c0, DEF_STR( Lives ) )
3315   PORT_DIPNAME( 0x00c0, 0x00c0, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:2,1")
32863316   PORT_DIPSETTING(      0x0000, "1" )
32873317   PORT_DIPSETTING(      0x0080, "2" )
32883318   PORT_DIPSETTING(      0x00c0, "3" )
32893319   PORT_DIPSETTING(      0x0040, "5" )
3290   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) )
3320   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:8")
32913321   PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
32923322   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3293   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Unknown ) )
3323   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:7")
32943324   PORT_DIPSETTING(      0x0200, DEF_STR( Off ) )
32953325   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3296   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unknown ) )
3326   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:6")
32973327   PORT_DIPSETTING(      0x0400, DEF_STR( Off ) )
32983328   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3299   PORT_DIPNAME( 0x1800, 0x1800, DEF_STR( Difficulty ) )
3329   PORT_DIPNAME( 0x1800, 0x1800, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW2:5,4")
33003330   PORT_DIPSETTING(      0x0800, DEF_STR( Easy ) )
33013331   PORT_DIPSETTING(      0x1800, DEF_STR( Normal ) )
33023332   PORT_DIPSETTING(      0x1000, DEF_STR( Hard ) )
33033333   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
3304   PORT_DIPNAME( 0xe000, 0xe000, DEF_STR( Coinage ) )
3334   PORT_DIPNAME( 0xe000, 0xe000, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW2:3,2,1")
33053335   PORT_DIPSETTING(      0x0000, DEF_STR( 4C_1C ) )
33063336   PORT_DIPSETTING(      0x8000, DEF_STR( 3C_1C ) )
33073337   PORT_DIPSETTING(      0x4000, DEF_STR( 2C_1C ) )
r5338r5339
33283358   PORT_BIT(  0x8000, IP_ACTIVE_HIGH,IPT_UNKNOWN )   // Tested at boot
33293359
33303360   PORT_START("DSW1")   // $080004.w
3331   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unknown ) )
3361   PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW2:8")
33323362   PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
33333363   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3334   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Demo_Sounds ) )
3364   PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:7")
33353365   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
33363366   PORT_DIPSETTING(      0x0002, DEF_STR( On ) )
3337   PORT_DIPNAME( 0x001c, 0x001c, DEF_STR( Coin_B ) )
3367   PORT_DIPNAME( 0x001c, 0x001c, DEF_STR( Coin_B ) )   PORT_DIPLOCATION("SW2:6,5,4")
33383368   PORT_DIPSETTING(      0x0010, DEF_STR( 4C_1C ) )
33393369   PORT_DIPSETTING(      0x0008, DEF_STR( 3C_1C ) )
33403370   PORT_DIPSETTING(      0x0018, DEF_STR( 2C_1C ) )
r5338r5339
33433373   PORT_DIPSETTING(      0x0014, DEF_STR( 1C_3C ) )
33443374   PORT_DIPSETTING(      0x0004, DEF_STR( 1C_4C ) )
33453375   PORT_DIPSETTING(      0x0000, DEF_STR( Free_Play ) )
3346   PORT_DIPNAME( 0x00e0, 0x00e0, DEF_STR( Coin_A ) )
3376   PORT_DIPNAME( 0x00e0, 0x00e0, DEF_STR( Coin_A ) )   PORT_DIPLOCATION("SW2:3,2,1")
33473377   PORT_DIPSETTING(      0x0080, DEF_STR( 4C_1C ) )
33483378   PORT_DIPSETTING(      0x0040, DEF_STR( 3C_1C ) )
33493379   PORT_DIPSETTING(      0x00c0, DEF_STR( 2C_1C ) )
r5338r5339
33523382   PORT_DIPSETTING(      0x00a0, DEF_STR( 1C_3C ) )
33533383   PORT_DIPSETTING(      0x0020, DEF_STR( 1C_4C ) )
33543384   PORT_DIPSETTING(      0x0000, DEF_STR( Free_Play ) )
3355
3356   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Flip_Screen ) )
3385   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:8")
33573386   PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
33583387   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3359   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Unknown ) )
3388   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:7")
33603389   PORT_DIPSETTING(      0x0200, DEF_STR( Off ) )
33613390   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3362   PORT_DIPNAME( 0x0c00, 0x0c00, DEF_STR( Difficulty ) )
3391   PORT_DIPNAME( 0x0c00, 0x0c00, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:6,5")
33633392   PORT_DIPSETTING(      0x0c00, DEF_STR( Easy ) )
33643393   PORT_DIPSETTING(      0x0400, DEF_STR( Normal ) )
33653394   PORT_DIPSETTING(      0x0800, DEF_STR( Hard ) )
33663395   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
3367   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Unknown ) )
3396   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:4")
33683397   PORT_DIPSETTING(      0x1000, DEF_STR( Off ) )
33693398   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3370   PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Unknown ) )
3399   PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Unknown ) )   PORT_DIPLOCATION("SW1:3")
33713400   PORT_DIPSETTING(      0x2000, DEF_STR( Off ) )
33723401   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
3373   PORT_DIPNAME( 0xc000, 0xc000, DEF_STR( Lives ) )
3402   PORT_DIPNAME( 0xc000, 0xc000, DEF_STR( Lives ) )   PORT_DIPLOCATION("SW1:2,1")
33743403   PORT_DIPSETTING(      0x4000, "2" )
33753404   PORT_DIPSETTING(      0xc000, "3" )
33763405   PORT_DIPSETTING(      0x8000, "4" )
r5338r5339
37033732   MDRV_CPU_ADD("maincpu", M68000, BIOSHIP_CRYSTAL1 ) /* 10.0 MHz (verified) */
37043733   MDRV_CPU_PROGRAM_MAP(bioship_map)
37053734   MDRV_CPU_VBLANK_INT_HACK(nmk_interrupt,2)
3706   MDRV_CPU_PERIODIC_INT(irq1_line_hold,112)/* ???????? */
3735   MDRV_CPU_PERIODIC_INT(irq1_line_hold,100)/* 112 breaks the title screen */
37073736
37083737   MDRV_MACHINE_RESET(NMK004)
37093738
r5338r5339
42344263
42354264   MDRV_VIDEO_START(macross2)
42364265   MDRV_VIDEO_EOF(nmk)
4237   MDRV_VIDEO_UPDATE(macross)
4266   MDRV_VIDEO_UPDATE(gunnail)
42384267
42394268   /* sound hardware */
42404269   MDRV_SPEAKER_STANDARD_MONO("mono")
r5338r5339
42774306   MDRV_GFXDECODE(macross2)
42784307   MDRV_PALETTE_LENGTH(1024)
42794308
4280   MDRV_VIDEO_START(tdragon2)
4309   MDRV_VIDEO_START(macross2)
42814310   MDRV_VIDEO_EOF(nmk)
4282   MDRV_VIDEO_UPDATE(macross)
4311   MDRV_VIDEO_UPDATE(gunnail)
42834312
42844313   /* sound hardware */
42854314   MDRV_SPEAKER_STANDARD_MONO("mono")
r5338r5339
43214350   MDRV_GFXDECODE(macross2)
43224351   MDRV_PALETTE_LENGTH(1024)
43234352
4324   MDRV_VIDEO_START(macross2)
4353   MDRV_VIDEO_START(raphero)
43254354   MDRV_VIDEO_EOF(nmk)
4326   MDRV_VIDEO_UPDATE(macross)
4355   MDRV_VIDEO_UPDATE(gunnail)
43274356
43284357   /* sound hardware */
43294358   MDRV_SPEAKER_STANDARD_MONO("mono")
r5338r5339
46744703/**/AM_RANGE(0x08c000, 0x08c003) AM_RAM_WRITE(afega_scroll0_w) AM_BASE(&afega_scroll_0)   // Scroll
46754704/**/AM_RANGE(0x08c004, 0x08c007) AM_RAM_WRITE(afega_scroll1_w) AM_BASE(&afega_scroll_1)   //
46764705   AM_RANGE(0x08c008, 0x08ffff) AM_WRITE(SMH_RAM)            //
4677/**/AM_RANGE(0x090000, 0x091fff) AM_RAM_WRITE(afega_vram_0_w) AM_BASE(&afega_vram_0)   // Layer 0
4678/**/AM_RANGE(0x092000, 0x093fff) AM_RAM                        // ?
4679/**/AM_RANGE(0x09c000, 0x09c7ff) AM_RAM_WRITE(afega_vram_1_w) AM_BASE(&afega_vram_1)   // Layer 1
4706/**/AM_RANGE(0x090000, 0x093fff) AM_RAM_WRITE(nmk_bgvideoram0_w) AM_BASE(&nmk_bgvideoram0)   // Layer 0                  // ?
4707/**/AM_RANGE(0x09c000, 0x09c7ff) AM_RAM_WRITE(nmk_txvideoram_w) AM_BASE(&nmk_txvideoram)   // Layer 1
46804708
46814709   AM_RANGE(0x0c0000, 0x0cffff) AM_RAM_WRITE(nmk16_mainram_strange_w) AM_SHARE(1) AM_BASE(&nmk16_mainram)
46824710   AM_RANGE(0x0f0000, 0x0fffff) AM_RAM_WRITE(nmk16_mainram_strange_w) AM_SHARE(1)
46834711ADDRESS_MAP_END
46844712
4713
4714
4715
46854716#if 0
46864717// The high byte of the word written is the address to write to (byte offset), the low byte is data
46874718static WRITE16_HANDLER( twinactn_scroll0_w )
r5338r5339
48154846};
48164847
48174848static GFXDECODE_START( grdnstrm )
4849   GFXDECODE_ENTRY( "gfx3", 0, layout_8x8x4,   256*2, 16 ) // [2] Layer 1
48184850   GFXDECODE_ENTRY( "gfx2", 0, layout_16x16x8,   256*0, 1 ) // [1] Layer 0
4819   GFXDECODE_ENTRY( "gfx3", 0, layout_8x8x4,   256*2, 16 ) // [2] Layer 1
48204851   GFXDECODE_ENTRY( "gfx1", 0, layout_16x16x4,   256*1, 16 ) // [0] Sprites
48214852GFXDECODE_END
48224853
48234854static GFXDECODE_START( stagger1 )
4855   GFXDECODE_ENTRY( "gfx3", 0, layout_8x8x4,   256*2, 16 ) // [2] Layer 1
48244856   GFXDECODE_ENTRY( "gfx2", 0, layout_16x16x4,   256*0, 16 ) // [1] Layer 0
4825   GFXDECODE_ENTRY( "gfx3", 0, layout_8x8x4,   256*2, 16 ) // [2] Layer 1
48264857   GFXDECODE_ENTRY( "gfx1", 0, layout_16x16x4,   256*1, 16 ) // [0] Sprites
48274858GFXDECODE_END
48284859
48294860static GFXDECODE_START( redhawkb )
4861   GFXDECODE_ENTRY( "gfx3", 0, layout_8x8x4,         256*2, 16 ) // [2] Layer 1
48304862   GFXDECODE_ENTRY( "gfx2", 0, layout_16x16x4_swapped,   256*0, 16 ) // [1] Layer 0
4831   GFXDECODE_ENTRY( "gfx3", 0, layout_8x8x4,         256*2, 16 ) // [2] Layer 1
48324863   GFXDECODE_ENTRY( "gfx1", 0, layout_16x16x4_swapped,   256*1, 16 ) // [0] Sprites
48334864GFXDECODE_END
48344865
r5338r5339
49144945
49154946   /* video hardware */
49164947   MDRV_GFXDECODE(grdnstrm)
4948   MDRV_VIDEO_START(firehawk)
4949   MDRV_VIDEO_UPDATE(firehawk)
4950MACHINE_DRIVER_END
4951
4952static MACHINE_DRIVER_START( grdnstrmk )
4953
4954   /* basic machine hardware */
4955   MDRV_IMPORT_FROM(stagger1)
4956
4957   /* video hardware */
4958   MDRV_GFXDECODE(grdnstrm)
49174959   MDRV_VIDEO_START(grdnstrm)
49184960MACHINE_DRIVER_END
49194961
4962
49204963static MACHINE_DRIVER_START( popspops )
49214964
49224965   /* basic machine hardware */
r5338r5339
50645107   ROM_LOAD( "ic101.bpr", 0x0100, 0x0100, CRC(cfdbb86c) SHA1(588822f6308a860937349c9106c2b4b1a75823ec) )   /* H-sync hw (unused) */
50655108ROM_END
50665109
5067ROM_START( vandyjal )
5110ROM_START( vandykejal )
50685111   ROM_REGION( 0x40000, "maincpu", 0 )  /* 68000 code */
50695112   ROM_LOAD16_BYTE( "vdk-1.16",   0x00000, 0x20000, CRC(c1d01c59) SHA1(04a7fd31ca4d87d078070390660edf08bf1d96b5) )
50705113   ROM_LOAD16_BYTE( "jaleco2.15", 0x00001, 0x20000, CRC(170e4d2e) SHA1(6009d19d30e345fea93e039d165061e2b20ff058) )
r5338r5339
50975140   ROM_LOAD( "ic101.bpr", 0x0100, 0x0100, CRC(cfdbb86c) SHA1(588822f6308a860937349c9106c2b4b1a75823ec) )   /* H-sync hw (unused) */
50985141ROM_END
50995142
5100ROM_START( vandyja2 )
5143ROM_START( vandykejal2 )
51015144   ROM_REGION( 0x40000, "maincpu", 0 )      /* 68000 code */
51025145   ROM_LOAD16_BYTE( "vdk-even.16",  0x00000, 0x20000, CRC(cde05a84) SHA1(dab5981d7dad9abe86cfe011da8ca0b11d484a3f) ) /* Hand written labels, dated 2/12 */
51035146   ROM_LOAD16_BYTE( "vdk-odd.15",   0x00001, 0x20000, CRC(0f6fea40) SHA1(3acbe72c251d51b028d8c66274263a2b39b042ea) )
r5338r5339
51975240   ROM_LOAD( "26.bpr",  0x00120, 0x020, CRC(0cbfb33e) SHA1(5dfee031a0a14bcd667fe2af2fa9cdfac3941d22) )
51985241ROM_END
51995242
5200ROM_START( tharierj )
5243ROM_START( tharrierj )
52015244   ROM_REGION( 0x40000, "maincpu", 0 )
52025245   ROM_LOAD16_BYTE( "2.bin" ,   0x00000, 0x20000, CRC(f3887a44) SHA1(4e5b660d33ba1d1e00263030efa67e2db376a234) )
52035246   ROM_LOAD16_BYTE( "3.bin" ,   0x00001, 0x20000, CRC(65c247f6) SHA1(9f35f2b6f54814b4c4d23e2d78db8043e678fef2) )
r5338r5339
54915534   ROM_LOAD( "10.bpr",     0x0100, 0x0100, CRC(cfdbb86c) SHA1(588822f6308a860937349c9106c2b4b1a75823ec) )   /* unknown */
54925535ROM_END
54935536
5494ROM_START( blkhearj )
5537ROM_START( blkheartj )
54955538   ROM_REGION( 0x80000, "maincpu", 0 )      /* 68000 code */
54965539   ROM_LOAD16_BYTE( "7.bin",  0x00000, 0x20000, CRC(e0a5c667) SHA1(3ef39b2dc1f7ffdddf586f0b3080ecd1f362ec37) )
54975540   ROM_LOAD16_BYTE( "6.bin",  0x00001, 0x20000, CRC(7cce45e8) SHA1(72491e30d1f9be2eede21fdde5a7484d4f65cfbf) )
r5338r5339
56845727
56855728*/
56865729
5687ROM_START( airattca )
5730ROM_START( airattcka )
56885731   ROM_REGION( 0x40000, "maincpu", 0 )   /* 68000 Code */
56895732   ROM_LOAD16_BYTE( "6.uc10",     0x000000, 0x20000, CRC(3572baf0) SHA1(0a2fe3be16d95896dc757ef231b3708093fc7ffa) )
56905733   ROM_LOAD16_BYTE( "5.ue10",     0x000001, 0x20000, CRC(6589c005) SHA1(350a7b8685cacde6b72c10458c33962c5a45a255) )
r5338r5339
59916034   ROM_LOAD( "10.bpr", 0x0100, 0x0100, CRC(e6ead349) SHA1(6d81b1c0233580aa48f9718bade42d640e5ef3dd) )   /* unknown */
59926035ROM_END
59936036
5994ROM_START( tdragn2a )
6037ROM_START( tdragon2a )
59956038   ROM_REGION( 0x80000, "maincpu", 0 )      /* 68000 code */
59966039   ROM_LOAD16_WORD_SWAP( "6.bin",      0x00000, 0x80000, CRC(310d6bca) SHA1(f46ad1d13cf5014aef1f0e8862b369ab31c22866) )
59976040
r5338r5339
61676210   ROM_LOAD( "ic27.sb7",    0x040000, 0x100000, CRC(43e33a7e) SHA1(51068b63f4415712eaa25dcf1ee6b0cc2850974e) )   /* all banked */
61686211ROM_END
61696212
6170ROM_START( sabotnba )
6213ROM_START( sabotenba )
61716214   ROM_REGION( 0x80000, "maincpu", 0 )      /* 68000 code */
61726215   ROM_LOAD16_BYTE( "sb1.76",  0x00000, 0x40000, CRC(df6f65e2) SHA1(6ad9e9f13539310646895c5e7992c6546e75684b) )
61736216   ROM_LOAD16_BYTE( "sb2.75",  0x00001, 0x40000, CRC(0d2c1ab8) SHA1(abb43a8c5398195c0ad48d8d772ef47635bf25c2) )
r5338r5339
64906533
64916534/***************************************************************************
64926535
6493                          Sen Jin - Guardian Storm
6536                  Guardian Storm / Sen Jin - Guardian Storm
64946537
64956538(C) Afega 1998
64966539
6497CPU: 68HC000FN10 (68000, 68 pin PLCC)
6498SND: Z84C000FEC (Z80, 44 pin PQFP), AD-65 (OKI M6295),
6499     BS901 (YM2151, 24 pin DIP), BS901 (YM3012, 16 pin DIP)
6500OSC: 12.000MHz (near 68000), 4.000MHz (Near Z84000)
6501RAM: LH52B256 x 8, 6116 x 7
6502DIPS: 2 x 8 position
6540  CPU: 68HC000FN10 (68000, 68 pin PLCC)
6541Sound: Z84C000FEC (Z80, 44 pin PQFP), AD-65 (OKI M6295),
6542       BS901 (YM2151, 24 pin DIP), BS901 (YM3012, 16 pin DIP)
6543  OSC: 12.000MHz (near 68000), 4.000MHz (Near Z84000)
6544  RAM: LH52B256-70LL x 6, HM61S16 x 7, UM6264BK-10L X 2 (6264* on some boards are 52B256)
6545 Dips: 2 x 8 position
6546Other: AFEGA AFI-GFSK (68 pin PLCC, located next to 68000)
6547       AFEGA AFI-GFLK (208 pin PQFP)
65036548
6504Other Chips: AFEGA AFI-GFSK (68 pin PLCC, located next to 68000)
6505             AFEGA AFI-GFLK (208 pin PQFP)
6549+-------------------------------------------------------------+
6550|      YM3012 4MHz                                            |
6551|             AD-65 AFEGA1.U95 +-------+ +-------+ AFEGA4.U112|
6552| VOL YM2151                   | AFEGA | |MC68000|            |
6553+-+   6116    Z80              |AF1-GFS| | FN10  | AFEGA5.U107|
6554  |   AFEGA7.U92               |       | |       |            |
6555+-+                AFEGA1.U4   +-------+ +-------+     52B256 |
6556|  6116   6116                                                |
6557|J 6116   6116                                 12MHz   52B256 |
6558|A                                                            |
6559|M        6116                                                |
6560|M        6116                                                |
6561|A            +--------+   52B256                             |
6562|             |        |                                      |
6563+-+  6264*    | AFEGA  |   52B256                             |
6564  |           |AF1-GFLK|                          AF1-SP.UC13 |
6565+-+  6264*    |        |   52B256                 AF1-B2.UC8  |
6566|             +--------+                          AF1-B1.UC3  |
6567|                          52B256                             |
6568|                                                             |
6569+-------------------------------------------------------------+
65066570
65076571ROMS:
6508GST-01.U92   27C512, \
6509GST-02.U95   27C2000  > Sound Related, all located near Z80
6510GST-03.U4    27C512  /
6572AFEGA7.U92   27C512 - Z80 sound CPU code
6573AFEGA1.U95   27C020 - OKI M6295 sound samples
65116574
6512GST-04.112   27C2000 \
6513GST-05.107   27C2000  /Main Program
6575AFEGA1.U4    27C512 - Graphics / text Layer
65146576
6515GST-06.C13   read as 27C160  label = AF1-SP (Sprites?)
6516GST-07.C08   read as 27C160  label = AF1=B2 (Backgrounds?)
6517GST-08.C03   read as 27C160  label = AF1=B1 (Backgrounds?)
6577AFEGA4.U112  27C020 + M68000 program code
6578AFEGA5.U107  27C020 |
65186579
6580AFEGA3.UC13  ST M27C160  - Sprites
6581AF1-B2.UC8   MASK ROM read as 27C160  - Backgrounds
6582AF1-B1.UC3   MASK ROM read as 27C160  - Backgrounds
6583
6584ROMS for Sen Jin:
6585
6586AFEGA7.U92   27C512  - Z80 sound CPU code
6587AFEGA1.U95   27C2000 - OKI M6295 sound samples
6588
6589GST-03.U4    27C512  - Graphics / text Layer
6590
6591GST-04.U112  27C2000 + M68000 program code
6592GST-05.U107  27C2000 |
6593
6594AF1-SP.UC13  MASK ROM read as 27C160  - Sprites
6595AF1-B2.UC8   MASK ROM read as 27C160  - Backgrounds
6596AF1-B1.UC3   MASK ROM read as 27C160  - Backgrounds
6597
65196598***************************************************************************/
65206599
65216600ROM_START( grdnstrm )
65226601   ROM_REGION( 0x80000, "maincpu", 0 )      /* 68000 Code */
6523   ROM_LOAD16_BYTE( "gst-04.112", 0x000000, 0x040000, CRC(922c931a) SHA1(1d1511033c8c424535a73f5c5bf58560a8b1842e) )
6524   ROM_LOAD16_BYTE( "gst-05.107", 0x000001, 0x040000, CRC(d22ca2dc) SHA1(fa21c8ec804570d64f4b167b7f65fd5811435e46) )
6602   ROM_LOAD16_BYTE( "afega4.u112", 0x000000, 0x040000, CRC(2244713a) SHA1(41ae66a38931c12462ecae53e1e44c3420d0d235) )
6603   ROM_LOAD16_BYTE( "afega5.u107", 0x000001, 0x040000, CRC(5815c806) SHA1(f6b7809b2e3b29b89289ecc994909434fe34e10d) )
65256604
65266605   ROM_REGION( 0x10000, "audiocpu", 0 )      /* Z80 Code */
6527   ROM_LOAD( "gst-01.u92", 0x00000, 0x10000, CRC(5d8cf28e) SHA1(2a440bf5136f95af137b6688e566a14e65be94b1) )
6606   ROM_LOAD( "afega7.u92", 0x00000, 0x10000, CRC(5d8cf28e) SHA1(2a440bf5136f95af137b6688e566a14e65be94b1) ) /* MASK ROM (read as 27C020) */
65286607
65296608   ROM_REGION( 0x200000, "gfx1", 0 )   /* Sprites, 16x16x4 */
6530   ROM_LOAD( "gst-06.c13", 0x000000, 0x200000, CRC(7d4d4985) SHA1(15c6c1aecd3f12050c1db2376f929f1a26a1d1cf) )
6609   ROM_LOAD( "afega3.uc13", 0x000000, 0x200000, CRC(0218017c) SHA1(5a8a4f07cd3f9dcf62455ddaceaec0cfba8c2de9) ) /* ST M27C160 EPROM */
65316610
65326611   ROM_REGION( 0x400000, "gfx2", 0 )   /* Layer 0, 16x16x8 */
6533   ROM_LOAD( "gst-07.c08", 0x000000, 0x200000, CRC(d68588c2) SHA1(c5f397d74a6ecfd2e375082f82e37c5a330fba62) )
6534   ROM_LOAD( "gst-08.c03", 0x200000, 0x200000, CRC(f8b200a8) SHA1(a6c43dd57b752d87138d7125b47dc0df83df8987) )
6612   ROM_LOAD( "afega_af1-b2.uc8", 0x000000, 0x200000, CRC(d68588c2) SHA1(c5f397d74a6ecfd2e375082f82e37c5a330fba62) ) /* MASK ROM (read as 27C160) */
6613   ROM_LOAD( "afega_af1-b1.uc3", 0x200000, 0x200000, CRC(f8b200a8) SHA1(a6c43dd57b752d87138d7125b47dc0df83df8987) ) /* MASK ROM (read as 27C160) */
65356614
65366615   ROM_REGION( 0x10000, "gfx3", 0 )   /* Layer 1, 8x8x4 */
6616   ROM_LOAD( "afega1.u4",  0x00000, 0x10000, CRC(9e7ef086) SHA1(db086bb2ceb11f3e24548aa131cc74fe79a2b516) )
6617
6618   ROM_REGION( 0x40000, "oki1", 0 )   /* Samples */
6619   ROM_LOAD( "afega1.u95", 0x00000, 0x40000, CRC(e911ce33) SHA1(a29c4dea98a22235122303325c63c15fadd3431d) )
6620ROM_END
6621
6622ROM_START( grdnstrmk )
6623   ROM_REGION( 0x80000, "maincpu", 0 )      /* 68000 Code */
6624   ROM_LOAD16_BYTE( "gst-04.u112", 0x000000, 0x040000, CRC(922c931a) SHA1(1d1511033c8c424535a73f5c5bf58560a8b1842e) )
6625   ROM_LOAD16_BYTE( "gst-05.u107", 0x000001, 0x040000, CRC(d22ca2dc) SHA1(fa21c8ec804570d64f4b167b7f65fd5811435e46) )
6626
6627   ROM_REGION( 0x10000, "audiocpu", 0 )      /* Z80 Code */
6628   ROM_LOAD( "afega7.u92", 0x00000, 0x10000, CRC(5d8cf28e) SHA1(2a440bf5136f95af137b6688e566a14e65be94b1) )
6629
6630   ROM_REGION( 0x200000, "gfx1", 0 )   /* Sprites, 16x16x4 */
6631   ROM_LOAD( "afega_af1-sp.uc13", 0x000000, 0x200000, CRC(7d4d4985) SHA1(15c6c1aecd3f12050c1db2376f929f1a26a1d1cf) ) /* MASK ROM (read as 27C160) */
6632
6633   ROM_REGION( 0x400000, "gfx2", 0 )   /* Layer 0, 16x16x8 */
6634   ROM_LOAD( "afega_af1-b2.uc8", 0x000000, 0x200000, CRC(d68588c2) SHA1(c5f397d74a6ecfd2e375082f82e37c5a330fba62) ) /* MASK ROM (read as 27C160) */
6635   ROM_LOAD( "afega_af1-b1.uc3", 0x200000, 0x200000, CRC(f8b200a8) SHA1(a6c43dd57b752d87138d7125b47dc0df83df8987) ) /* MASK ROM (read as 27C160) */
6636
6637   ROM_REGION( 0x10000, "gfx3", 0 )   /* Layer 1, 8x8x4 */
65376638   ROM_LOAD( "gst-03.u4",  0x00000, 0x10000, CRC(a1347297) SHA1(583f4da991eeedeb523cf4fa3b6900d40e342063) )
65386639
65396640   ROM_REGION( 0x40000, "oki1", 0 )   /* Samples */
6540   ROM_LOAD( "gst-02.u95", 0x00000, 0x40000, CRC(e911ce33) SHA1(a29c4dea98a22235122303325c63c15fadd3431d) )
6641   ROM_LOAD( "afega1.u95", 0x00000, 0x40000, CRC(e911ce33) SHA1(a29c4dea98a22235122303325c63c15fadd3431d) )
65416642ROM_END
65426643
65436644static DRIVER_INIT( grdnstrm )
r5338r5339
69827083
69837084
69847085GAME( 1989, tharrier, 0,        tharrier, tharrier, 0,        ROT270, "UPL (American Sammy license)", "Task Force Harrier", 0  )
6985GAME( 1989, tharierj, tharrier, tharrier, tharrier, 0,        ROT270, "UPL",                          "Task Force Harrier (Japan)", 0 )
7086GAME( 1989, tharrierj,tharrier, tharrier, tharrier, 0,        ROT270, "UPL",                          "Task Force Harrier (Japan)", 0 )
7087
69867088GAME( 1990, mustang,  0,        mustang,  mustang,  0,        ROT0,   "UPL",                          "US AAF Mustang (25th May. 1990)", GAME_IMPERFECT_SOUND)
69877089GAME( 1990, mustangs, mustang,  mustang,  mustang,  0,        ROT0,   "UPL (Seoul Trading license)",  "US AAF Mustang (25th May. 1990 / Seoul Trading)", GAME_IMPERFECT_SOUND )
7090
69887091GAME( 1990, bioship,  0,        bioship,  bioship,  0,        ROT0,   "UPL (American Sammy license)", "Bio-ship Paladin", GAME_IMPERFECT_SOUND )
69897092GAME( 1990, sbsgomo,  bioship,  bioship,  bioship,  0,        ROT0,   "UPL",                          "Space Battle Ship Gomorrah", GAME_IMPERFECT_SOUND )
6990GAME( 1990, vandyke,  0,        vandyke,  vandyke,  0,        ROT270, "UPL",                          "Vandyke (Japan)",  GAME_IMPERFECT_SOUND )
6991GAME( 1990, vandyjal, vandyke,  vandyke,  vandyke,  0,        ROT270, "UPL (Jaleco license)",         "Vandyke (Jaleco, Set 1)",  GAME_IMPERFECT_SOUND )
6992GAME( 1990, vandyja2, vandyke,  vandyke,  vandyke,  0,        ROT270, "UPL (Jaleco license)",         "Vandyke (Jaleco, Set 2)",  GAME_IMPERFECT_SOUND )
6993GAME( 1990, vandykeb, vandyke,  vandykeb, vandyke,  vandykeb, ROT270, "[UPL] (bootleg)",              "Vandyke (bootleg with PIC16c57)",  GAME_NOT_WORKING )
6994GAME( 1991, blkheart, 0,        blkheart,  blkheart, 0,        ROT0,   "UPL",                          "Black Heart", GAME_IMPERFECT_SOUND  )
6995GAME( 1991, blkhearj, blkheart, blkheart,  blkheart, 0,        ROT0,   "UPL",                          "Black Heart (Japan)", GAME_IMPERFECT_SOUND )
7093
7094GAME( 1990, vandyke,    0,       vandyke,  vandyke, 0,        ROT270, "UPL",                          "Vandyke (Japan)",  GAME_IMPERFECT_SOUND )
7095GAME( 1990, vandykejal, vandyke, vandyke,  vandyke, 0,        ROT270, "UPL (Jaleco license)",         "Vandyke (Jaleco, Set 1)",  GAME_IMPERFECT_SOUND )
7096GAME( 1990, vandykejal2,vandyke, vandyke,  vandyke, 0,        ROT270, "UPL (Jaleco license)",         "Vandyke (Jaleco, Set 2)",  GAME_IMPERFECT_SOUND )
7097GAME( 1990, vandykeb,   vandyke, vandykeb, vandyke, vandykeb, ROT270, "[UPL] (bootleg)",              "Vandyke (bootleg with PIC16c57)",  GAME_NOT_WORKING )
7098
7099GAME( 1991, blkheart, 0,        blkheart,  blkheart, 0,       ROT0,   "UPL",                          "Black Heart", GAME_IMPERFECT_SOUND  )
7100GAME( 1991, blkheartj,blkheart, blkheart,  blkheart, 0,       ROT0,   "UPL",                          "Black Heart (Japan)", GAME_IMPERFECT_SOUND )
7101
69967102GAME( 1991, acrobatm, 0,        acrobatm, acrobatm, 0,        ROT270, "UPL (Taito license)",          "Acrobat Mission", GAME_IMPERFECT_SOUND )
7103
69977104GAME( 1992, strahl,   0,        strahl,   strahl,   0,        ROT0,   "UPL",                          "Koutetsu Yousai Strahl (Japan set 1)", GAME_IMPERFECT_SOUND )
69987105GAME( 1992, strahla,  strahl,   strahl,   strahl,   0,        ROT0,   "UPL",                          "Koutetsu Yousai Strahl (Japan set 2)", GAME_IMPERFECT_SOUND )
7106
69997107GAME( 1991, tdragon,  0,        tdragon,  tdragon,  tdragon,  ROT270, "NMK (Tecmo license)",          "Thunder Dragon (9th Jan. 1992)", GAME_IMPERFECT_SOUND )
70007108GAME( 1991, tdragon1, tdragon,  tdragon,  tdragon,  tdragon,  ROT270, "NMK (Tecmo license)",          "Thunder Dragon (4th Jun. 1991)", GAME_IMPERFECT_SOUND )
70017109
r5338r5339
70037111GAME( 1992, macross,  0,        macross,  macross,  nmk,      ROT270, "Banpresto",                    "Super Spacefortress Macross / Chou-Jikuu Yousai Macross", GAME_IMPERFECT_SOUND )
70047112GAME( 1993, gunnail,  0,        gunnail,  gunnail,  nmk,      ROT270, "NMK / Tecmo",                  "GunNail (28th May. 1992)", GAME_IMPERFECT_SOUND )
70057113GAME( 1993, macross2, 0,        macross2, macross2, 0,        ROT0,   "Banpresto",                    "Super Spacefortress Macross II / Chou-Jikuu Yousai Macross II", GAME_NO_COCKTAIL )
7114
70067115GAME( 1993, tdragon2, 0,        tdragon2, tdragon2, 0,        ROT270, "NMK",                          "Thunder Dragon 2 (9th Nov. 1993)", GAME_NO_COCKTAIL )
7007GAME( 1993, tdragn2a, tdragon2, tdragon2, tdragon2, 0,        ROT270, "NMK",                          "Thunder Dragon 2 (1st Oct. 1993)", GAME_NO_COCKTAIL )
7116GAME( 1993, tdragon2a,tdragon2, tdragon2, tdragon2, 0,        ROT270, "NMK",                          "Thunder Dragon 2 (1st Oct. 1993)", GAME_NO_COCKTAIL )
70087117GAME( 1993, bigbang,  tdragon2, tdragon2, tdragon2, 0,        ROT270, "NMK",                          "Big Bang (9th Nov. 1993)", GAME_NO_COCKTAIL )
7009GAME( 1994, raphero,  0,        raphero,  raphero,  0,        ROT270, "Media Trading Corp",           "Rapid Hero (Japan?)", GAME_IMPERFECT_SOUND ) // 23rd July 1993 in test mode, (c)1994 on title screen
70107118
7119GAME( 1994, raphero,  0,        raphero,  raphero,  0,        ROT270, "Media Trading Corp",           "Rapid Hero", GAME_IMPERFECT_SOUND ) // 23rd July 1993 in test mode, (c)1994 on title screen
7120
70117121/* both sets of both these games show a date of 9th Mar 1992 in the test mode, they look like different revisions so I doubt this is accurate */
70127122GAME( 1992, sabotenb, 0,        bjtwin,   sabotenb, nmk,      ROT0,   "NMK / Tecmo",                  "Saboten Bombers (set 1)", GAME_NO_COCKTAIL )
7013GAME( 1992, sabotnba, sabotenb, bjtwin,   sabotenb, nmk,      ROT0,   "NMK / Tecmo",                  "Saboten Bombers (set 2)", GAME_NO_COCKTAIL )
7123GAME( 1992, sabotenba,sabotenb, bjtwin,   sabotenb, nmk,      ROT0,   "NMK / Tecmo",                  "Saboten Bombers (set 2)", GAME_NO_COCKTAIL )
70147124GAME( 1992, cactus,   sabotenb, bjtwin,   sabotenb, nmk,      ROT0,   "bootleg",                      "Cactus (bootleg of Saboten Bombers)", GAME_NO_COCKTAIL ) // PCB marked 'Cactus', no title screen
70157125GAME( 1993, bjtwin,   0,        bjtwin,   bjtwin,   bjtwin,   ROT270, "NMK",                          "Bombjack Twin (set 1)", GAME_NO_COCKTAIL )
70167126GAME( 1993, bjtwina,  bjtwin,   bjtwin,   bjtwin,   bjtwin,   ROT270, "NMK",                          "Bombjack Twin (set 2)", GAME_NO_COCKTAIL )
r5338r5339
70237133// these use the seibu sound system (sound / music stolen from Raiden) rather than the bootleggers copying the nmk004
70247134GAME( 1990, mustangb, mustang,  mustangb, mustang,  0,        ROT0,   "bootleg",                       "US AAF Mustang (bootleg)", 0 )
70257135GAME( 1990, mustangb2,mustang,  mustangb, mustang,  0,        ROT0,   "bootleg",                       "US AAF Mustang (TAB Austria bootleg)", 0 ) // PCB and roms have TAB Austria stickers
7026GAME( 1991, tdragonb, tdragon,  tdragonb, tdragonb, tdragonb, ROT270, "NMK / Tecmo",                  "Thunder Dragon (Bootleg)", 0 )
7136GAME( 1991, tdragonb, tdragon,  tdragonb, tdragonb, tdragonb, ROT270, "bootleg",                  "Thunder Dragon (bootleg)", 0 )
70277137
70287138// these are from Comad, based on the Thunder Dragon code?
70297139GAME( 1992, ssmissin, 0,        ssmissin, ssmissin, ssmissin, ROT270, "Comad",                         "S.S. Mission", GAME_NO_COCKTAIL )
70307140GAME( 1996, airattck, 0,        ssmissin, airattck, ssmissin, ROT270, "Comad",                         "Air Attack (set 1)", GAME_NO_COCKTAIL )
7031GAME( 1996, airattca, airattck, ssmissin, airattck, ssmissin, ROT270, "Comad",                         "Air Attack (set 2)", GAME_NO_COCKTAIL )
7141GAME( 1996, airattcka,airattck, ssmissin, airattck, ssmissin, ROT270, "Comad",                         "Air Attack (set 2)", GAME_NO_COCKTAIL )
70327142
70337143// afega & clones
7034GAME( 1995, twinactn, 0,        twinactn, twinactn, 0,        ROT0,   "Afega",                         "Twin Action", 0 )
7035GAME( 1998, stagger1, 0,        stagger1, stagger1, 0,        ROT270, "Afega",                         "Stagger I (Japan)", 0 )
7036GAME( 1997, redhawk,  stagger1, stagger1, stagger1, redhawk,  ROT270, "Afega",                         "Red Hawk (US)", 0 )
7037GAME( 1997, redhawki, stagger1, redhawki, stagger1, 0,        ROT0,   "Afega",                         "Red Hawk (Italy)", 0 ) // bootleg? strange scroll regs
7038GAME( 1997, redhawke, stagger1, stagger1, stagger1, 0,        ROT270, "Afega (Excellent Co. license)", "Red Hawk (Excellent Co., Ltd)", 0 )
7039GAME( 1997, redhawkb, stagger1, redhawkb, redhawkb, 0,        ROT0,   "bootleg",                       "Red Hawk (bootleg)", 0 )
7040GAME( 1998, grdnstrm, 0,        grdnstrm, grdnstrm, grdnstrm, ROT270, "Afega",                         "Sen Jin - Guardian Storm (Korea)", 0 )
7041GAME( 1998, bubl2000, 0,        popspops, bubl2000, bubl2000, ROT0,   "Tuning",                        "Bubble 2000", 0 ) // on a tuning board (bootleg?)
7042GAME( 1998, hotbubl,  bubl2000, popspops, bubl2000, bubl2000, ROT0,   "Pandora",                       "Hot Bubble" , 0 ) // on an afega board ..
7043GAME( 1999, popspops, 0,        popspops, popspops, grdnstrm, ROT0,   "Afega",                         "Pop's Pop's", 0 )
7044GAME( 2000, mangchi,  0,        popspops, mangchi,  bubl2000, ROT0,   "Afega",                         "Mang-Chi", 0 )
7045GAME( 2000, spec2k,   0,        firehawk, spec2k,   spec2k,   ORIENTATION_FLIP_Y, "Yonatech",          "Spectrum 2000 (Euro)", 0 )
7046GAME( 2001, firehawk, 0,        firehawk, firehawk, 0,        ORIENTATION_FLIP_Y, "ESD",               "Fire Hawk", 0 )
7144GAME( 1995, twinactn, 0,        twinactn, twinactn, 0,        ROT0,   "Afega",                             "Twin Action", 0 )
7145GAME( 1998, stagger1, 0,        stagger1, stagger1, 0,        ROT270, "Afega",                             "Stagger I (Japan)", 0 )
7146GAME( 1997, redhawk,  stagger1, stagger1, stagger1, redhawk,  ROT270, "Afega (New Vision Ent. license)",   "Red Hawk (US)", 0 )
7147GAME( 1997, redhawki, stagger1, redhawki, stagger1, 0,        ROT0,   "Afega (Hea Dong Corp license)",     "Red Hawk (Italy)", 0 ) // bootleg? strange scroll regs
7148GAME( 1997, redhawke, stagger1, stagger1, stagger1, 0,        ROT270, "Afega (Excellent Co. license)",     "Red Hawk (Excellent Co., Ltd)", 0 )
7149GAME( 1997, redhawkb, stagger1, redhawkb, redhawkb, 0,        ROT0,   "bootleg",                           "Red Hawk (bootleg)", 0 )
7150GAME( 1998, grdnstrm, 0,        grdnstrm, grdnstrm, 0,        ORIENTATION_FLIP_Y,   "Afega (Apples Industries license)", "Guardian Storm", 0 )
7151GAME( 1998, grdnstrmk,grdnstrm, grdnstrmk,grdnstrk, grdnstrm, ROT270, "Afega",                             "Sen Jin - Guardian Storm (Korea)", 0 )
7152GAME( 1998, bubl2000, 0,        popspops, bubl2000, bubl2000, ROT0,   "Tuning",                            "Bubble 2000", 0 ) // on a tuning board (bootleg?)
7153GAME( 1998, hotbubl,  bubl2000, popspops, bubl2000, bubl2000, ROT0,   "Pandora",                           "Hot Bubble" , 0 ) // on an afega board ..
7154GAME( 1999, popspops, 0,        popspops, popspops, grdnstrm, ROT0,   "Afega",                             "Pop's Pop's", 0 )
7155GAME( 2000, mangchi,  0,        popspops, mangchi,  bubl2000, ROT0,   "Afega",                             "Mang-Chi", 0 )
7156GAME( 2000, spec2k,   0,        firehawk, spec2k,   spec2k,   ORIENTATION_FLIP_Y, "Yonatech",              "Spectrum 2000 (Euro)", 0 )
7157GAME( 2001, firehawk, 0,        firehawk, firehawk, 0,        ORIENTATION_FLIP_Y, "ESD",                   "Fire Hawk", 0 )
70477158
70487159// bee-oh board - different display / interrupt timing to others?
70497160GAME( 1991, manybloc, 0,        manybloc, manybloc, 0,        ROT270,             "Bee-Oh",            "Many Block", GAME_NO_COCKTAIL | GAME_IMPERFECT_SOUND )
src/mame/drivers/m10.c
r5338r5339
918918   int i;
919919   m10_state *state = (m10_state *)machine->driver_data;
920920
921   for (i=0x1c00;i<0x2000;i++)
922      state->rom[i]=0x60;
921   for (i = 0x1c00; i < 0x2000; i++)
922      state->rom[i] = 0x60;
923923}
924924
925925static DRIVER_INIT( ipminva1 )
r5338r5339
927927   int i;
928928   m10_state *state = (m10_state *)machine->driver_data;
929929
930   for (i=0x1400;i<0x17ff;i++)
931      state->rom[i]=0x60;
930   for (i = 0x1400; i < 0x17ff; i++)
931      state->rom[i] = 0x60;
932932}
933933
934934/***************************************************************************
r5338r5339
970970   ROM_LOAD( "b10r", 0x0400, 0x0400, CRC(be4b8585) SHA1(0154eae62585e154cf20edcf4599bda8bd333aa9) )
971971ROM_END
972972
973ROM_START( ipminva1 )
973ROM_START( ipminvad1 )
974974   ROM_REGION( 0x10000, "maincpu", 0 )
975975   ROM_LOAD( "b1g",  0x1000, 0x0400, CRC(069102e2) SHA1(90affe384a688b0d42154633e80b708371117fc2) )
976976   ROM_LOAD( "b2f",  0x1400, 0x0400, CRC(a6aa5879) SHA1(959ab207110785c03e57ca69c0e62356dd974085) )
r5338r5339
10391039   ROM_LOAD( "gb9", 0x3000, 0x0400, CRC(c27b9ba3) SHA1(a2f4f0c4b61eb03bba13ae5d25dc01009a4f86ee) ) // ok ?
10401040ROM_END
10411041
1042GAME( 1979, andromed, 0, m11,     skychut,  andromed, ROT270, "Irem", "Andromeda (Japan?)", GAME_NO_COCKTAIL | GAME_NO_SOUND | GAME_IMPERFECT_COLORS | GAME_NOT_WORKING )
1043GAME( 1979, ipminvad, 0, m10,     ipminvad, 0,        ROT270, "Irem", "I P M Invader", GAME_NO_COCKTAIL | GAME_IMPERFECT_COLORS )
1044GAME( 1979, ipminva1, 0, m10,     ipminvad, ipminva1, ROT270, "Irem", "I P M Invader (Incomplete Dump)", GAME_NOT_WORKING )
1045GAME( 1980, skychut,  0, m11,     skychut,  0,        ROT270, "Irem", "Sky Chuter", GAME_NO_COCKTAIL | GAME_NO_SOUND | GAME_IMPERFECT_COLORS )
1046GAME( 1979, spacbeam, 0, m15,     spacbeam, 0,        ROT270, "Irem", "Space Beam", GAME_NO_COCKTAIL | GAME_NO_SOUND | GAME_IMPERFECT_COLORS )
1047GAME( 1979, headoni,  0, headoni, headoni,  0,        ROT270, "Irem", "Head On (Irem, M-15 Hardware)", GAME_NO_COCKTAIL | GAME_NO_SOUND | GAME_IMPERFECT_COLORS )
1048GAME( 1980, greenber, 0, m15,     spacbeam, 0,        ROT270, "Irem", "Green Beret (Irem)", GAME_NO_COCKTAIL | GAME_NO_SOUND | GAME_IMPERFECT_COLORS | GAME_NOT_WORKING )
1042GAME( 1979, andromed,  0,        m11,     skychut,  andromed, ROT270, "Irem", "Andromeda (Japan?)", GAME_NO_COCKTAIL | GAME_NO_SOUND | GAME_IMPERFECT_COLORS | GAME_NOT_WORKING )
1043GAME( 1979, ipminvad,  0,        m10,     ipminvad, 0,        ROT270, "Irem", "I P M Invader", GAME_NO_COCKTAIL | GAME_IMPERFECT_COLORS )
1044GAME( 1979, ipminvad1, ipminvad, m10,     ipminvad, ipminva1, ROT270, "Irem", "I P M Invader (Incomplete Dump)", GAME_NOT_WORKING )
1045GAME( 1980, skychut,   0,        m11,     skychut,  0,        ROT270, "Irem", "Sky Chuter", GAME_NO_COCKTAIL | GAME_NO_SOUND | GAME_IMPERFECT_COLORS )
1046GAME( 1979, spacbeam,  0,        m15,     spacbeam, 0,        ROT270, "Irem", "Space Beam", GAME_NO_COCKTAIL | GAME_NO_SOUND | GAME_IMPERFECT_COLORS )
1047GAME( 1979, headoni,   0,        headoni, headoni,  0,        ROT270, "Irem", "Head On (Irem, M-15 Hardware)", GAME_NO_COCKTAIL | GAME_NO_SOUND | GAME_IMPERFECT_COLORS )
1048GAME( 1980, greenber,  0,        m15,     spacbeam, 0,        ROT270, "Irem", "Green Beret (Irem)", GAME_NO_COCKTAIL | GAME_NO_SOUND | GAME_IMPERFECT_COLORS | GAME_NOT_WORKING )
src/tools/ldresample.c
r5338r5339
322322{
323323   chd_error err;
324324
325   err = chd_compress_finish(file);
325   err = chd_compress_finish(file, TRUE);
326326   if (err != CHDERR_NONE)
327327      fprintf(stderr, "Error finishing compression: %s\n", chd_error_string(err));
328328
src/tools/chdman.c
r5338r5339
656656   }
657657
658658   /* cleanup */
659   err = chd_compress_finish(chd);
659   err = chd_compress_finish(chd, TRUE);
660660   if (err != CHDERR_NONE)
661661      fprintf(stderr, "Error during compression finalization: %s\n", chd_error_string(err));
662662   else
r5338r5339
10551055   }
10561056
10571057   /* finish compression */
1058   err = chd_compress_finish(chd);
1058   err = chd_compress_finish(chd, TRUE);
10591059   if (err != CHDERR_NONE)
10601060      goto cleanup;
10611061   else
r5338r5339
28742874   }
28752875
28762876   /* finish compression */
2877   err = chd_compress_finish(chd);
2877   err = chd_compress_finish(chd, TRUE);
28782878   if (err != CHDERR_NONE)
28792879      goto cleanup;
28802880
r5338r5339
30313031   }
30323032
30333033   /* finish compression */
3034   err = chd_compress_finish(chd);
3034   err = chd_compress_finish(chd, !(source_header->flags & CHDFLAGS_IS_WRITEABLE));
30353035   if (err != CHDERR_NONE)
30363036      goto cleanup;
30373037
src/emu/cpu/m68000/m68kcpu.c
r5338r5339
540540{
541541   m68ki_cpu_core *m68k = get_safe_token(device);
542542
543   m68k->initial_cycles = cycles;
544
543545   /* eat up any reset cycles */
544   cycles -= m68k->reset_cycles;
545   m68k->reset_cycles = 0;
546   if (cycles <= 0)
547      return m68k->reset_cycles;
546   if (m68k->reset_cycles) {
547      int rc = m68k->reset_cycles;
548      m68k->reset_cycles = 0;
549      cycles -= rc;
548550
551      if (cycles <= 0) return rc;
552   }
553
549554   /* Set our pool of clock cycles available */
550555   m68k->remaining_cycles = cycles;
551   m68k->initial_cycles = cycles;
552556
553557   /* See if interrupts came in */
554558   m68ki_check_interrupts(m68k);
src/emu/cpu/arm7/arm7core.c
r5338r5339
8181
8282#define ARM7_DEBUG_CORE 0
8383
84#if 0
85#define LOG(x) mame_printf_debug x
86#else
87#define LOG(x) logerror x
88#endif
89
9084/* Prototypes */
9185
9286// SJE: should these be inline? or are they too big to see any benefit?
r5338r5339
137131 ***************************************************************************/
138132INLINE void arm7_cpu_write32(arm_state *cpustate, UINT32 addr, UINT32 data)
139133{
134    if( COPRO_CTRL & COPRO_CTRL_MMU_EN )
135    {
136        addr = arm7_tlb_translate( cpustate, addr );
137    }
138
140139    addr &= ~3;
141140    memory_write_dword_32le(cpustate->program, addr, data);
142141}
r5338r5339
144143
145144INLINE void arm7_cpu_write16(arm_state *cpustate, UINT32 addr, UINT16 data)
146145{
146    if( COPRO_CTRL & COPRO_CTRL_MMU_EN )
147    {
148        addr = arm7_tlb_translate( cpustate, addr );
149    }
150
147151    addr &= ~1;
148152    memory_write_word_32le(cpustate->program, addr, data);
149153}
150154
151155INLINE void arm7_cpu_write8(arm_state *cpustate, UINT32 addr, UINT8 data)
152156{
157    if( COPRO_CTRL & COPRO_CTRL_MMU_EN )
158    {
159        addr = arm7_tlb_translate( cpustate, addr );
160    }
161
153162    memory_write_byte_32le(cpustate->program, addr, data);
154163}
155164
r5338r5339
157166{
158167    UINT32 result;
159168
169    if( COPRO_CTRL & COPRO_CTRL_MMU_EN )
170    {
171        addr = arm7_tlb_translate( cpustate, addr );
172    }
173
160174    if (addr & 3)
161175    {
162176        result = memory_read_dword_32le(cpustate->program, addr & ~3);
r5338r5339
174188{
175189    UINT16 result;
176190
191    if( COPRO_CTRL & COPRO_CTRL_MMU_EN )
192    {
193        addr = arm7_tlb_translate( cpustate, addr );
194    }
195
177196    result = memory_read_word_32le(cpustate->program, addr & ~1);
178197
179198    if (addr & 1)
r5338r5339
186205
187206INLINE UINT8 arm7_cpu_read8(arm_state *cpustate, offs_t addr)
188207{
208    if( COPRO_CTRL & COPRO_CTRL_MMU_EN )
209    {
210        addr = arm7_tlb_translate( cpustate, addr );
211    }
212
189213    // Handle through normal 8 bit handler (for 32 bit cpu)
190214    return memory_read_byte_32le(cpustate->program, addr);
191215}
src/emu/cpu/arm7/arm7core.h
r5338r5339
148148   eARM_ARCHFLAGS_E   = 2,      // extended DSP operations present (only for v5+)
149149   eARM_ARCHFLAGS_J   = 4,      // "Jazelle" (direct execution of Java bytecode)
150150   eARM_ARCHFLAGS_MMU   = 8,      // has on-board MMU (traditional ARM style like the SA1110)
151   eARM_ARCHFLAGS_SA   = 16,      // StrongARM extensions (enhanced TLB)
152   eARM_ARCHFLAGS_XSCALE   = 32,      // XScale extensions (CP14, enhanced TLB)
151153};
152154
153155#define ARM7CORE_REGS                   \
r5338r5339
350352#define INSN_COPRO_N        ((UINT32) 0x00100000u)
351353#define INSN_COPRO_CREG     ((UINT32) 0x000f0000u)
352354#define INSN_COPRO_AREG     ((UINT32) 0x0000f000u)
355#define INSN_COPRO_CPNUM    ((UINT32) 0x00000f00u)
353356#define INSN_COPRO_OP2      ((UINT32) 0x000000e0u)
354357#define INSN_COPRO_OP3      ((UINT32) 0x0000000fu)
355358#define INSN_COPRO_N_SHIFT          20
356359#define INSN_COPRO_CREG_SHIFT       16
357360#define INSN_COPRO_AREG_SHIFT       12
361#define INSN_COPRO_CPNUM_SHIFT       8
358362#define INSN_COPRO_OP2_SHIFT        5
359363
360364#define THUMB_INSN_TYPE     ((UINT16)0xf000)
src/emu/cpu/arm7/arm7.c
r5338r5339
3838#include "debugger.h"
3939#include "arm7core.h"   //include arm7 core
4040
41/* Example for showing how Co-Proc functions work */
42#define TEST_COPROC_FUNCS 1
41#if 0
42#define LOG(x) mame_printf_debug x
43#else
44#define LOG(x) logerror x
45#endif
4346
4447/* prototypes of coprocessor functions */
4548static WRITE32_DEVICE_HANDLER(arm7_do_callback);
r5338r5339
6972   assert(device != NULL);
7073   assert(device->token != NULL);
7174   assert(device->type == CPU);
72   assert(cpu_get_type(device) == CPU_ARM7);
75   assert(cpu_get_type(device) == CPU_ARM7 || cpu_get_type(device) == CPU_ARM9 || cpu_get_type(device) == CPU_PXA255);
7376   return (arm_state *)device->token;
7477}
7578
r5338r5339
8992   return res;
9093}
9194
95/**************************************************************************
96 * ARM TLB IMPLEMENTATION
97 **************************************************************************/
98
99enum
100{
101    TLB_COARSE = 0,
102    TLB_FINE,
103};
104
105INLINE UINT32 arm7_tlb_get_first_level_descriptor( arm_state *cpustate, UINT32 vaddr )
106{
107    UINT32 entry_paddr = ( COPRO_TLB_BASE & COPRO_TLB_BASE_MASK ) | ( ( vaddr & COPRO_TLB_VADDR_FLTI_MASK ) >> COPRO_TLB_VADDR_FLTI_MASK_SHIFT );
108    return memory_read_dword_32le( cpustate->program, entry_paddr );
109}
110
111INLINE UINT32 arm7_tlb_get_second_level_descriptor( arm_state *cpustate, UINT32 granularity, UINT32 first_desc, UINT32 vaddr )
112{
113    UINT32 desc_lvl2 = vaddr;
114
115    switch( granularity )
116    {
117        case TLB_COARSE:
118            desc_lvl2 = ( first_desc & COPRO_TLB_CFLD_ADDR_MASK ) | ( ( vaddr & COPRO_TLB_VADDR_CSLTI_MASK ) >> COPRO_TLB_VADDR_CSLTI_MASK_SHIFT );
119            break;
120        case TLB_FINE:
121            LOG( ( "ARM7: Attempting to get second-level TLB descriptor of fine granularity\n" ) );
122            break;
123        default:
124            // We shouldn't be here
125            LOG( ( "ARM7: Attempting to get second-level TLB descriptor of invalid granularity (%d)\n", granularity ) );
126            break;
127    }
128
129    return memory_read_dword_32le( cpustate->program, desc_lvl2 );
130}
131
132INLINE UINT32 arm7_tlb_translate(arm_state *cpustate, UINT32 vaddr)
133{
134    UINT32 desc_lvl1 = arm7_tlb_get_first_level_descriptor( cpustate, vaddr );
135    UINT32 desc_lvl2 = 0;
136    UINT32 paddr = vaddr;
137
138    switch( desc_lvl1 & 3 )
139    {
140        case COPRO_TLB_UNMAPPED:
141            // Unmapped, generate a translation fault
142            LOG( ( "ARM7: Not Yet Implemented: Translation fault on unmapped virtual address, PC = %08x, vaddr = %08x\n", R15, vaddr ) );
143            break;
144        case COPRO_TLB_COARSE_TABLE:
145            // Entry is the physical address of a coarse second-level table
146            desc_lvl2 = arm7_tlb_get_second_level_descriptor( cpustate, TLB_COARSE, desc_lvl1, vaddr );
147            break;
148        case COPRO_TLB_SECTION_TABLE:
149            // Entry is a section
150            paddr = ( desc_lvl1 & COPRO_TLB_SECTION_PAGE_MASK ) | ( vaddr & ~COPRO_TLB_SECTION_PAGE_MASK );
151            break;
152        case COPRO_TLB_FINE_TABLE:
153            // Entry is the physical address of a fine second-level table
154            LOG( ( "ARM7: Not Yet Implemented: fine second-level TLB lookup, PC = %08x, vaddr = %08x\n", R15, vaddr ) );
155            break;
156        default:
157            // Entry is the physical address of a three-legged termite-eaten table
158            break;
159    }
160
161    if( ( desc_lvl1 & 3 ) == COPRO_TLB_COARSE_TABLE || ( desc_lvl1 & 3 ) == COPRO_TLB_FINE_TABLE )
162    {
163        switch( desc_lvl2 & 3 )
164        {
165            case COPRO_TLB_UNMAPPED:
166                // Unmapped, generate a translation fault
167                LOG( ( "ARM7: Not Yet Implemented: Translation fault on unmapped virtual address, vaddr = %08x\n", vaddr ) );
168                break;
169            case COPRO_TLB_LARGE_PAGE:
170                // Large page descriptor
171                paddr = ( desc_lvl2 & COPRO_TLB_LARGE_PAGE_MASK ) | ( vaddr & ~COPRO_TLB_LARGE_PAGE_MASK );
172                break;
173            case COPRO_TLB_SMALL_PAGE:
174                // Small page descriptor
175                paddr = ( desc_lvl2 & COPRO_TLB_SMALL_PAGE_MASK ) | ( vaddr & ~COPRO_TLB_SMALL_PAGE_MASK );
176                break;
177            case COPRO_TLB_TINY_PAGE:
178                // Tiny page descriptor
179                if( ( desc_lvl1 & 3 ) == 1 )
180                {
181                    LOG( ( "ARM7: It would appear that we're looking up a tiny page from a coarse TLB lookup.  This is bad. vaddr = %08x\n", vaddr ) );
182                }
183                paddr = ( desc_lvl2 & COPRO_TLB_TINY_PAGE_MASK ) | ( vaddr & ~COPRO_TLB_TINY_PAGE_MASK );
184                break;
185        }
186    }
187
188    return paddr;
189}
190
191static CPU_TRANSLATE( arm7 )
192{
193   arm_state *cpustate = (device != NULL) ? device->token : NULL;
194
195   /* only applies to the program address space and only does something if the MMU's enabled */
196   if( space == ADDRESS_SPACE_PROGRAM && ( COPRO_CTRL & COPRO_CTRL_MMU_EN ) )
197   {
198      *address = arm7_tlb_translate(cpustate, *address);
199   }
200   return TRUE;
201}
202
203
92204/* include the arm7 core */
93205#include "arm7core.c"
94206
r5338r5339
130242   arm_state *cpustate = device->token;
131243
132244   // must call core reset
245   arm7_core_reset(device);
246
133247   cpustate->archRev = 5;   // ARMv5
134   cpustate->archFlags = eARM_ARCHFLAGS_T;   // has Thumb
248   cpustate->archFlags = eARM_ARCHFLAGS_T | eARM_ARCHFLAGS_E;   // has TE extensions
249}
135250
251static CPU_RESET( pxa255 )
252{
253   arm_state *cpustate = device->token;
254
255   // must call core reset
136256   arm7_core_reset(device);
257
258   cpustate->archRev = 5;   // ARMv5
259   cpustate->archFlags = eARM_ARCHFLAGS_T | eARM_ARCHFLAGS_E | eARM_ARCHFLAGS_XSCALE;   // has TE and XScale extensions
137260}
138261
139262static CPU_EXIT( arm7 )
r5338r5339
348471        case CPUINFO_FCT_BURN:                  info->burn = NULL;                              break;
349472        case CPUINFO_FCT_DISASSEMBLE:           info->disassemble = CPU_DISASSEMBLE_NAME(arm7);                  break;
350473        case CPUINFO_PTR_INSTRUCTION_COUNTER:   info->icount = &ARM7_ICOUNT;                    break;
474   case CPUINFO_FCT_TRANSLATE:             info->translate = CPU_TRANSLATE_NAME(arm7);      break;
351475
352476        /* --- the following bits of info are returned as NULL-terminated strings --- */
353477        case DEVINFO_STR_NAME:                  strcpy(info->s, "ARM7");                        break;
r5338r5339
431555    }
432556}
433557
558CPU_GET_INFO( pxa255 )
559{
560    switch (state)
561    {
562        case CPUINFO_FCT_RESET:            info->reset = CPU_RESET_NAME(pxa255);                       break;
563        case DEVINFO_STR_NAME:             strcpy(info->s, "PXA255");                        break;
564   default:   CPU_GET_INFO_CALL(arm7);
565      break;
566    }
567}
568
434569/* ARM system coprocessor support */
435570
436#define LOG(x) logerror x
437
438571static WRITE32_DEVICE_HANDLER( arm7_do_callback )
439572{
440573}
r5338r5339
446579    UINT8 cReg = ( opcode & INSN_COPRO_CREG ) >> INSN_COPRO_CREG_SHIFT;
447580    UINT8 op2 =  ( opcode & INSN_COPRO_OP2 )  >> INSN_COPRO_OP2_SHIFT;
448581    UINT8 op3 =    opcode & INSN_COPRO_OP3;
582    UINT8 cpnum = (opcode & INSN_COPRO_CPNUM) >> INSN_COPRO_CPNUM_SHIFT;
449583    UINT32 data = 0;
450584
585//    printf("cpnum %d cReg %d op2 %d op3 %d (%x)\n", cpnum, cReg, op2, op3, GET_REGISTER(cpustate, 15));
586
587    // we only handle system copro here
588    if (cpnum != 15)
589    {
590       if (cpustate->archFlags & eARM_ARCHFLAGS_XSCALE)
591   {
592      // handle XScale specific CP14
593      if (cpnum == 14)
594      {
595         switch( cReg )
596         {
597            case 1:   // clock counter
598               data = (UINT32)cpu_get_total_cycles(device);
599               break;
600
601            default:
602               break;
603         }
604      }
605      else
606      {
607         fatalerror("XScale: Unhandled coprocessor %d (archFlags %x)\n", cpnum, cpustate->archFlags);
608      }
609
610      return data;
611   }
612   else
613   {
614      fatalerror("ARM7: Unhandled coprocessor %d (archFlags %x)\n", cpnum, cpustate->archFlags);
615   }
616    }
617
451618    switch( cReg )
452619    {
453620        case 4:
r5338r5339
517684            LOG( ( "arm7_rt_r_callback, ID\n" ) );
518685            break;
519686        case 1:             // Control
520            LOG( ( "arm7_rt_r_callback, Control\n" ) );
521            data = COPRO_CTRL;
687            data = COPRO_CTRL | 0x70;   // bits 4-6 always read back as "1" (bit 3 too in XScale)
522688            break;
523689        case 2:             // Translation Table Base
524            LOG( ( "arm7_rt_r_callback, TLB Base\n" ) );
525690            data = COPRO_TLB_BASE;
526691            break;
527692        case 3:             // Domain Access Control
r5338r5339
557722    UINT8 cReg = ( opcode & INSN_COPRO_CREG ) >> INSN_COPRO_CREG_SHIFT;
558723    UINT8 op2 =  ( opcode & INSN_COPRO_OP2 )  >> INSN_COPRO_OP2_SHIFT;
559724    UINT8 op3 =    opcode & INSN_COPRO_OP3;
725    UINT8 cpnum = (opcode & INSN_COPRO_CPNUM) >> INSN_COPRO_CPNUM_SHIFT;
560726
727    // handle XScale specific CP14 - just eat writes for now
728    if (cpnum != 15)
729    {
730       if (cpnum == 14)
731       {
732          LOG( ("arm7_rt_w_callback: write %x to XScale CP14 reg %d\n", data, cReg) );
733          return;
734       }
735       else
736       {
737          fatalerror("ARM7: Unhandled coprocessor %d\n", cpnum);
738       }
739    }
740
561741    switch( cReg )
562742    {
563743        case 0:
r5338r5339
581761                   ( data & COPRO_CTRL_ICACHE_EN ) >> COPRO_CTRL_ICACHE_EN_SHIFT ) );
582762            LOG( ( "    Int Vector Adjust:%d\n", ( data & COPRO_CTRL_INTVEC_ADJUST ) >> COPRO_CTRL_INTVEC_ADJUST_SHIFT ) );
583763            COPRO_CTRL = data & COPRO_CTRL_MASK;
584            if( COPRO_CTRL & COPRO_CTRL_MMU_EN )
585            {
586//                change_pc(arm7_tlb_translate(R15));
587            }
588764            break;
589765        case 2:             // Translation Table Base
590766            LOG( ( "arm7_rt_w_callback TLB Base = %08x (%d) (%d)\n", data, op2, op3 ) );
r5338r5339
600776            LOG( ( "arm7_rt_w_callback Fault Address = %08x (%d) (%d)\n", data, op2, op3 ) );
601777            break;
602778        case 7:             // Cache Operations
603            LOG( ( "arm7_rt_w_callback Cache Ops = %08x (%d) (%d)\n", data, op2, op3 ) );
779//            LOG( ( "arm7_rt_w_callback Cache Ops = %08x (%d) (%d)\n", data, op2, op3 ) );
604780            break;
605781        case 8:             // TLB Operations
606782            LOG( ( "arm7_rt_w_callback TLB Ops = %08x (%d) (%d)\n", data, op2, op3 ) );
src/emu/cpu/arm7/arm7.h
r5338r5339
4444extern CPU_GET_INFO( arm9 );
4545#define CPU_ARM9 CPU_GET_INFO_NAME( arm9 )
4646
47extern CPU_GET_INFO( pxa255 );
48#define CPU_PXA255 CPU_GET_INFO_NAME( pxa255 )
49
4750#endif /* __ARM7_H__ */
src/emu/cpu/arm7/arm7exec.c
r5338r5339
5353        /* handle Thumb instructions if active */
5454        if (T_IS_SET(GET_CPSR))
5555        {
56            UINT32 readword;
57            UINT32 addr;
56            UINT32 readword, addr, raddr;
5857            UINT32 rm, rn, rs, rd, op2, imm, rrs, rrd;
5958            INT32 offs;
6059
6160            pc = R15;
62            insn = memory_decrypted_read_word(cpustate->program, pc & (~1));
61       raddr = pc & (~1);
62       if ( COPRO_CTRL & COPRO_CTRL_MMU_EN )
63       {
64          raddr = arm7_tlb_translate(cpustate, raddr);
65       }
66            insn = memory_decrypted_read_word(cpustate->program, raddr);
6367            ARM7_ICOUNT -= (3 - thumbCycles[insn >> 8]);
6468            switch ((insn & THUMB_INSN_TYPE) >> THUMB_INSN_TYPE_SHIFT)
6569            {
r5338r5339
11651169
11661170            /* load 32 bit instruction */
11671171            pc = R15;
1172       if ( COPRO_CTRL & COPRO_CTRL_MMU_EN )
1173       {
1174          pc = arm7_tlb_translate(cpustate, pc);
1175       }
11681176            insn = memory_decrypted_read_dword(cpustate->program, pc);
11691177
11701178            /* process condition codes for this instruction */
src/emu/tilemap.c
r5338r5339
126126    GLOBAL VARIABLES
127127***************************************************************************/
128128
129bitmap_t *            priority_bitmap;
130
131129static tilemap *      tilemap_list;
132130static tilemap **      tilemap_tailptr;
133131static int            tilemap_instance;
r5338r5339
303301      tilemap_tailptr  = &tilemap_list;
304302      tilemap_instance = 0;
305303
306      priority_bitmap = auto_bitmap_alloc(machine, screen_width, screen_height, BITMAP_FORMAT_INDEXED8);
304      machine->priority_bitmap = auto_bitmap_alloc(machine, screen_width, screen_height, BITMAP_FORMAT_INDEXED8);
307305      add_exit_callback(machine, tilemap_exit);
308306   }
309307}
r5338r5339
15641562
15651563static void tilemap_draw_instance(tilemap *tmap, const blit_parameters *blit, int xpos, int ypos)
15661564{
1565   bitmap_t *priority_bitmap = tmap->machine->priority_bitmap;
15671566   bitmap_t *dest = blit->bitmap;
15681567   const UINT16 *source_baseaddr;
15691568   const UINT8 *mask_baseaddr;
r5338r5339
17431742      UINT32 startx, UINT32 starty, int incxx, int incxy, int incyx, int incyy, int wraparound)
17441743{
17451744   const pen_t *clut = &tmap->machine->pens[blit->tilemap_priority_code >> 16];
1745   bitmap_t *priority_bitmap = tmap->machine->priority_bitmap;
17461746   bitmap_t *destbitmap = blit->bitmap;
17471747   bitmap_t *srcbitmap = tmap->pixmap;
17481748   bitmap_t *flagsmap = tmap->flagsmap;
src/emu/tilemap.h
r5338r5339
408408
409409
410410/***************************************************************************
411    GLOBAL VARIABLES
412***************************************************************************/
413
414extern bitmap_t *priority_bitmap;
415
416
417
418/***************************************************************************
419411    FUNCTION PROTOTYPES
420412***************************************************************************/
421413
src/emu/inpttype.h
r5338r5339
7676   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, MAHJONG_CHI,         "P1 Mahjong Chi",         SEQ_DEF_1(KEYCODE_SPACE) )
7777   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, MAHJONG_REACH,       "P1 Mahjong Reach",       SEQ_DEF_1(KEYCODE_LSHIFT) )
7878   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, MAHJONG_RON,         "P1 Mahjong Ron",         SEQ_DEF_1(KEYCODE_Z) )
79   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, MAHJONG_BET,         "P1 Mahjong Bet",         SEQ_DEF_1(KEYCODE_2) )
79   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, MAHJONG_BET,         "P1 Mahjong Bet",         SEQ_DEF_1(KEYCODE_3) )
8080   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, MAHJONG_LAST_CHANCE, "P1 Mahjong Last Chance", SEQ_DEF_1(KEYCODE_RALT) )
8181   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, MAHJONG_SCORE,       "P1 Mahjong Score",       SEQ_DEF_1(KEYCODE_RCONTROL) )
8282   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, MAHJONG_DOUBLE_UP,   "P1 Mahjong Double Up",   SEQ_DEF_1(KEYCODE_RSHIFT) )
8383   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, MAHJONG_FLIP_FLOP,   "P1 Mahjong Flip Flop",   SEQ_DEF_1(KEYCODE_Y) )
8484   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, MAHJONG_BIG,         "P1 Mahjong Big",         SEQ_DEF_1(KEYCODE_ENTER) )
8585   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, MAHJONG_SMALL,       "P1 Mahjong Small",       SEQ_DEF_1(KEYCODE_BACKSPACE) )
86   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, GAMBLE_HIGH,         "High",                   SEQ_DEF_1(KEYCODE_A) )
87   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, GAMBLE_LOW,          "Low",                    SEQ_DEF_1(KEYCODE_S) )
88   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, GAMBLE_HALF,         "Half Gamble",            SEQ_DEF_1(KEYCODE_D) )
89   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, GAMBLE_DEAL,         "Deal",                   SEQ_DEF_1(KEYCODE_2) )
90   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, GAMBLE_D_UP,         "Double Up",              SEQ_DEF_1(KEYCODE_3) )
91   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, GAMBLE_TAKE,         "Take",                   SEQ_DEF_1(KEYCODE_4) )
92   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, GAMBLE_STAND,        "Stand",                  SEQ_DEF_1(KEYCODE_L) )
93   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, GAMBLE_BET,          "Bet",                    SEQ_DEF_1(KEYCODE_M) )
94   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, GAMBLE_KEYIN,        "Key In",                 SEQ_DEF_1(KEYCODE_Q) )
95   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, GAMBLE_KEYOUT,       "Key Out",                SEQ_DEF_1(KEYCODE_W) )
96   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, GAMBLE_PAYOUT,       "Payout",                 SEQ_DEF_1(KEYCODE_I) )
97   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, GAMBLE_DOOR,         "Door",                   SEQ_DEF_1(KEYCODE_O) )
98   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, GAMBLE_SERVICE,      "Service",                SEQ_DEF_1(KEYCODE_9) )
99   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, GAMBLE_BOOK,         "Book-Keeping",           SEQ_DEF_1(KEYCODE_0) )
100   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, POKER_HOLD1,         "Hold 1",                 SEQ_DEF_1(KEYCODE_Z) )
101   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, POKER_HOLD2,         "Hold 2",                 SEQ_DEF_1(KEYCODE_X) )
102   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, POKER_HOLD3,         "Hold 3",                 SEQ_DEF_1(KEYCODE_C) )
103   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, POKER_HOLD4,         "Hold 4",                 SEQ_DEF_1(KEYCODE_V) )
104   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, POKER_HOLD5,         "Hold 5",                 SEQ_DEF_1(KEYCODE_B) )
105   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, POKER_CANCEL,        "Cancel",                 SEQ_DEF_1(KEYCODE_N) )
106   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, SLOT_STOP1,          "Stop Reel 1",            SEQ_DEF_1(KEYCODE_Z) )
107   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, SLOT_STOP2,          "Stop Reel 2",            SEQ_DEF_1(KEYCODE_X) )
108   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, SLOT_STOP3,          "Stop Reel 3",            SEQ_DEF_1(KEYCODE_C) )
109   INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, SLOT_STOP_ALL,       "Stop All Reels",         SEQ_DEF_1(KEYCODE_V) )
86110
87111   INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, JOYSTICK_UP,         "P2 Up",                  SEQ_DEF_3(KEYCODE_R, SEQCODE_OR, INDEXED(JOYCODE_Y_UP_SWITCH, 1)) )
88112   INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, JOYSTICK_DOWN,       "P2 Down",                SEQ_DEF_3(KEYCODE_F, SEQCODE_OR, INDEXED(JOYCODE_Y_DOWN_SWITCH, 1)) )
src/emu/inptport.h
r5338r5339
220220   IPT_MAHJONG_BIG,
221221   IPT_MAHJONG_SMALL,
222222
223   /* gambling inputs */
224   IPT_GAMBLE_HIGH,
225   IPT_GAMBLE_LOW,
226   IPT_GAMBLE_HALF,
227   IPT_GAMBLE_DEAL,
228   IPT_GAMBLE_D_UP,
229   IPT_GAMBLE_TAKE,
230   IPT_GAMBLE_STAND,
231   IPT_GAMBLE_BET,
232   IPT_GAMBLE_KEYIN,
233   IPT_GAMBLE_KEYOUT,
234   IPT_GAMBLE_PAYOUT,
235   IPT_GAMBLE_DOOR,
236   IPT_GAMBLE_SERVICE,
237   IPT_GAMBLE_BOOK,
238
239   /* poker-specific inputs */
240   IPT_POKER_HOLD1,
241   IPT_POKER_HOLD2,
242   IPT_POKER_HOLD3,
243   IPT_POKER_HOLD4,
244   IPT_POKER_HOLD5,
245   IPT_POKER_CANCEL,
246
247   /* slot-specific inputs */
248   IPT_SLOT_STOP1,
249   IPT_SLOT_STOP2,
250   IPT_SLOT_STOP3,
251   IPT_SLOT_STOP_ALL,
252
223253   /* analog inputs */
224254#define __ipt_analog_start IPT_PADDLE
225255#define __ipt_analog_absolute_start IPT_PADDLE
src/emu/mame.h
r5338r5339
163163   const pen_t *         pens;            /* remapped palette pen numbers */
164164   struct _colortable_t *   colortable;         /* global colortable for remapping */
165165   pen_t *               shadow_table;      /* table for looking up a shadowed pen */
166   bitmap_t *priority_bitmap;         /* priority bitmap */
166167
167168   /* audio-related information */
168169   int                  sample_rate;      /* the digital audio sample rate */
src/lib/util/chd.c
r5338r5339
14481448    a CHD
14491449-------------------------------------------------*/
14501450
1451chd_error chd_compress_finish(chd_file *chd)
1451chd_error chd_compress_finish(chd_file *chd, int write_protect)
14521452{
14531453   /* error if in the wrong state */
14541454   if (!chd->compressing)
r5338r5339
14611461   metadata_compute_hash(chd, chd->header.rawsha1, chd->header.sha1);
14621462
14631463   /* turn off the writeable flag and re-write the header */
1464   chd->header.flags &= ~CHDFLAGS_IS_WRITEABLE;
1464   if (chd->header.compression != CHDCOMPRESSION_NONE || write_protect)
1465      chd->header.flags &= ~CHDFLAGS_IS_WRITEABLE;
14651466   chd->compressing = FALSE;
14661467   return header_write(chd->file, &chd->header);
14671468}
src/lib/util/chd.h
r5338r5339
331331chd_error chd_compress_hunk(chd_file *chd, const void *data, double *curratio);
332332
333333/* finish compressing data to a CHD */
334chd_error chd_compress_finish(chd_file *chd);
334chd_error chd_compress_finish(chd_file *chd, int write_protect);
335335
336336
337337
src/mess/messdriv.c
r5338r5339
187187    DRIVER( advision )  /* Adventurevision                                  */
188188
189189    /* CAPCOM */
190    DRIVER( sfach )     /* CPS Changer (Street Fighter Alpha)               */
191    DRIVER( sfzbch )    /* CPS Changer (Street Fighter ZERO Brazil)         */
192    DRIVER( sfzch )     /* CPS Changer (Street Fighter ZERO)                */
193    DRIVER( wofch )     /* CPS Changer (Tenchi Wo Kurau II)                 */
190//0133u1    DRIVER( sfach )     /* CPS Changer (Street Fighter Alpha)               */
191//0133u1    DRIVER( sfzbch )    /* CPS Changer (Street Fighter ZERO Brazil)         */
192//0133u1    DRIVER( sfzch )     /* CPS Changer (Street Fighter ZERO)                */
193//0133u1    DRIVER( wofch )     /* CPS Changer (Tenchi Wo Kurau II)                 */
194194
195195    /* MAGNAVOX */
196196    DRIVER( odyssey2 )  /* Magnavox Odyssey 2 - 1978-1983                   */
src/mess/mess.mak
r5338r5339
257257   $(MESSOBJ)/booth.a \
258258   $(MESSOBJ)/camputers.a \
259259   $(MESSOBJ)/canon.a \
260   $(MESSOBJ)/capcom.a \
261260   $(MESSOBJ)/cbm.a \
262261   $(MESSOBJ)/cbmshare.a \
263262   $(MESSOBJ)/cccp.a \
r5338r5339
374373   $(MESSOBJ)/zvt.a \
375374   $(MESSOBJ)/shared.a \
376375
376#   $(MESSOBJ)/capcom.a \
377377
378378
379379
docs/messnew.txt
r5338r5339
4242
4343Source Changes:
4444----------------
45(none)
45- The core is based on MAME 0.133u1.  This incorporates all features of the
46  update to this core.  [MAME team]
4647
4748
4849

Previous 15994 Revisions Next


© 1998-2018 The MESS Team