| Previous | 15994 Revisions | Next |
| r5491 Friday 21st August, 2009 at 22:27:49 UTC by Nathan Woods |
|---|
| Updated to MAME 0.133u3 core (TI temporarily disabled) |
| [docs] | messnew.txt |
| [src/emu] | cheat.c cpuexec.c drawgfxm.h inptport.c inptport.h inpttype.h input.c mame.c mame.h memory.c profiler.c profiler.h romload.c romload.h sound.c streams.c tilemap.c tilemap.h timer.c timer.h ui.c uigfx.c uiinput.c validity.c video.c |
| [src/emu/cpu] | cpu.mak |
| [src/emu/cpu/arm7] | arm7.c |
| [src/emu/cpu/cop400] | cop400.c cop440ds.c |
| [src/emu/cpu/mcs51] | mcs51.c |
| [src/emu/cpu/sh2] | sh2comn.c |
| [src/emu/cpu/tms0980] | tms0980.c |
| [src/emu/cpu/tms57002] | tmsmake.c |
| [src/emu/cpu/z180] | z180.c z180ops.h |
| [src/emu/cpu/z80] | z80.c z80.h |
| [src/emu/drivers] | xtal.h |
| [src/emu/machine] | idectrl.c intelfsh.c intelfsh.h ldcore.c pit8253.c scsicd.c scsihd.c |
| [src/emu/sound] | ay8910.c disc_dev.c disc_flt.c disc_inp.c disc_mth.c disc_wav.c discrete.c discrete.h fm2612.c nes_apu.c okim6295.c sound.mak speaker.c tms5110.c tms5110.h tms5220.c tms5220.h |
| [src/emu/video] | generic.c mc6845.c rgbgen.h rgbsse.h voodoo.c |
| [src/ldplayer] | ldplayer.c |
| [src/mame] | mame.mak mamedriv.c |
| [src/mame/audio] | atarijsa.c cliffhgr.c dkong.c exidy.c galaxian.c gottlieb.c jedi.c mario.c mcr.c mw8080bw.c scramble.c starwars.c |
| [src/mame/drivers] | 39in1.c 8080bw.c albazc.c ampoker2.c amspdwy.c aristmk4.c astinvad.c astrocde.c astrof.c asuka.c atarisy1.c atarisy2.c bagman.c bingor.c bublbobl.c cham24.c cinemat.c circus.c coinmvga.c* coolpool.c cosmic.c cps1.c cvs.c dambustr.c ddenlovr.c deniam.c djmain.c dynax.c ertictac.c esripsys.c ettrivia.c exidy.c firefox.c gaelco3d.c galaga.c galaxian.c galaxold.c galdrvr.c galpanic.c gaplus.c gauntlet.c gberet.c gng.c goindol.c goldnpkr.c gottlieb.c gotya.c gstream.c hanaawas.c hikaru.c hnayayoi.c hornet.c igs_blit.c kaneko16.c karnov.c koikoi.c konamim2.c ksys573.c liberate.c looping.c m10.c m63.c m72.c m79amb.c macs.c mainevt.c mcr3.c meritm.c mhavoc.c model3.c multfish.c multigam.c mw8080bw.c n8080.c namconb1.c namcos22.c naomi.c nbmj8688.c nbmj8891.c nbmj8991.c nbmj9195.c neodrvr.c ninjakd2.c nmg5.c nmk16.c nwk-tr.c olibochu.c pacland.c photon.c polepos.c portrait.c progolf.c qix.c rallyx.c redalert.c safarir.c segag80r.c segag80v.c seta.c sfbonus.c snesb.c snk6502.c sprcros2.c starcrus.c starwars.c stv.c taito_z.c taitogn.c tecmo.c tnzs.c tomcat.c tryout.c turbo.c twin16.c vicdual.c vsnes.c warpwarp.c xmen.c zaccaria.c zaxxon.c zr107.c |
| [src/mame/includes] | galaxian.h mw8080bw.h namcos22.h naomibd.h nb1413m3.h redalert.h snes.h twin16.h twincobr.h |
| [src/mame/layout] | depthch.lay* spacwalk.lay* |
| [src/mame/machine] | atarigen.c cubocd32.c dc.c irobot.c kaneko16.c mhavoc.c naomibd.c nb1413m3.c playch10.c snes.c stvcd.c twincobr.c vsnes.c |
| [src/mame/video] | actfancr.c alpha68k.c ampoker2.c argus.c artmagic.c baraduke.c battlex.c bking.c blueprnt.c bombjack.c buggychl.c carjmbre.c cbasebal.c cheekyms.c combatsc.c darkseal.c dc.c deco32.c dkong.c exprraid.c firetrk.c flkatck.c fromance.c funkybee.c ginganin.c gotcha.c gottlieb.c gotya.c gsword.c gundealr.c gyruss.c hanaawas.c holeland.c homedata.c hyperspt.c ironhors.c itech32.c jagobj.c jaguar.c karnov.c kingobox.c kncljoe.c konamiic.c konamiic.h ksayakyu.c kyugo.c ladybug.c lasso.c liberate.c m62.c madmotor.c mario.c markham.c mcatadv.c megasys1.c midtunit.c midyunit.c mikie.c mitchell.c mrdo.c mrjong.c mustache.c mystston.c namcos1.c namcos86.c nemesis.c ojankohs.c pandoras.c pcktgal.c phoenix.c pitnrun.c pokechmp.c popper.c ppu2c0x.c psikyosh.c raiden.c redalert.c redclash.c rockrage.c rocnrope.c sauro.c sbasketb.c segaic16.c segas32.c seta.c shangha3.c shaolins.c shisen.c sidearms.c sidepckt.c slapfght.c snes.c snk6502.c snk68.c solomon.c sonson.c sshangha.c stadhero.c strnskil.c stvvdp2.c suna8.c suprridr.c tagteam.c taito_b.c taito_f3.c taito_l.c tetrisp2.c tiamc1.c tigeroad.c tmnt.c toaplan1.c toypop.c tp84.c trackfld.c tumbleb.c twin16.c twincobr.c ultraman.c vertigo.c xxmissio.c yiear.c yunsung8.c zodiack.c |
| [src/mess] | mess.mak messdriv.c |
| [src/mess/drivers] | geneve.c ti99_4p.c ti99_4x.c ti99_8.c |
| [src/mess/machine] | apple2.c geneve.c ti99_4x.c |
| [src/mess/video] | gb.c |
| [src/osd] | osdcomm.h |
| [src/osd/windows] | windows.mak |
| [src/tools] | split.c |
| r5490 | r5491 | |
|---|---|---|
| 1 | #include "driver.h" | |
| 2 | #include "streams.h" | |
| 3 | #include "sound/samples.h" | |
| 4 | #include "includes/galaxian.h" | |
| 1 | /*************************************************************************** | |
| 5 | 2 | |
| 6 | ||
| 3 | Galaxian-derived sound | |
| 7 | 4 | |
| 8 | ||
| 5 | **************************************************************************** | |
| 9 | 6 | |
| 10 | #define XTAL 18432000 | |
| 7 | Notes: | |
| 8 | ----- | |
| 11 | 9 | |
| 12 | #define SOUND_CLOCK (XTAL/6/2) /* 1.536 MHz */ | |
| 10 | - There is currently no way to exactly reproduce the CD4066 switch control | |
| 11 | mixing. This is changing impedance of the input resistor for e.g. | |
| 12 | following filters to >> 10M Ohm. These resistors are static values in | |
| 13 | the discrete core. | |
| 13 | 14 | |
| 14 | #define RNG_RATE (XTAL/3) /* RNG clock is XTAL/3 */ | |
| 15 | #define NOISE_RATE (XTAL/3/192/2/2) /* 2V = 8kHz */ | |
| 16 | #define NOISE_LENGTH (NOISE_RATE*4) /* four seconds of noise */ | |
| 17 | 15 | |
| 18 | #define SHOOT_RATE 2672 | |
| 19 | #define SHOOT_LENGTH 13000 | |
| 16 | TODO: | |
| 17 | ---- | |
| 20 | 18 | |
| 21 | #define TOOTHSAW_LENGTH 16 | |
| 22 | #define TOOTHSAW_VOLUME 0.36f | |
| 23 | #define STEPS 16 | |
| 24 | #define LFO_VOLUME 0.06f | |
| 25 | #define SHOOT_VOLUME 0.50f | |
| 26 | #define NOISE_VOLUME 0.50f | |
| 27 | #define NOISE_AMPLITUDE (70*256) | |
| 28 | #define TOOTHSAW_AMPLITUDE (64*256) | |
| 19 | - Check more schematics for differences. | |
| 29 | 20 | |
| 30 | /* see comments in galaxian_sh_update() */ | |
| 31 | #define MINFREQ (139-139/3) | |
| 32 | #define MAXFREQ (139+139/3) | |
| 21 | ***************************************************************************/ | |
| 33 | 22 | |
| 34 | #define LOG(x) do { if (VERBOSE) logerror x; } while (0) | |
| 23 | #include "driver.h" | |
| 24 | #include "streams.h" | |
| 25 | #include "includes/galaxian.h" | |
| 35 | 26 | |
| 36 | static emu_timer *lfotimer = NULL; | |
| 37 | static INT32 freq; | |
| 27 | /************************************* | |
| 28 | * | |
| 29 | * Defines | |
| 30 | * | |
| 31 | *************************************/ | |
| 38 | 32 | |
| 39 | #define | |
| 33 | #define XTAL 18432000 | |
| 40 | 34 | |
| 41 | static INT32 noise_enable; | |
| 42 | static INT32 noisevolume; | |
| 43 | static INT16 *noisewave; | |
| 44 | static INT16 *shootwave; | |
| 45 | static INT32 shoot_length; | |
| 46 | static INT32 shoot_rate; | |
| 35 | #define SOUND_CLOCK (XTAL/6/2) /* 1.536 MHz */ | |
| 36 | #define RNG_RATE (XTAL/3*2) /* RNG clock is XTAL/3*2 see Aaron's note in video/galaxian.c */ | |
| 47 | 37 | |
| 48 | ||
| 38 | //#define DISCRETE_BITSET(_N, _N1, _B, _OV) DISCRETE_TRANSFORM4(_N, | |
| 49 | 39 | |
| 50 | static INT16 tonewave[4][TOOTHSAW_LENGTH]; | |
| 51 | static INT32 pitch,vol; | |
| 40 | /* 74LS259 */ | |
| 41 | #define GAL_INP_BG_DAC NODE_10 /* at 9M Q4 to Q7 in schematics */ | |
| 52 | 42 | |
| 53 | static INT32 counter, countdown; | |
| 54 | static INT32 lfobit[4]; | |
| 43 | #define GAL_INP_FS1 NODE_20 /* FS1 9L Q0 */ | |
| 44 | #define GAL_INP_FS2 NODE_21 /* FS2 9L Q1 */ | |
| 45 | #define GAL_INP_FS3 NODE_22 /* FS3 9L Q2 */ | |
| 46 | #define GAL_INP_HIT NODE_23 /* HIT 9L Q3 */ | |
| 47 | //#define GAL_9L_Q4 NODE_24 | |
| 48 | #define GAL_INP_FIRE NODE_25 /* FIRE 9L Q5 */ | |
| 49 | #define GAL_INP_VOL1 NODE_26 /* VOL1 9L Q6 */ | |
| 50 | #define GAL_INP_VOL2 NODE_27 /* VOL2 9L Q7 */ | |
| 55 | 51 | |
| 56 | static const INT16 backgroundwave[32] = | |
| 57 | { | |
| 58 | 0x4000, 0x4000, 0x4000, 0x4000, 0x4000, 0x4000, 0x4000, 0x4000, | |
| 59 | 0x4000, 0x4000, 0x4000, 0x4000, 0x4000, 0x4000, 0x4000, 0x4000, | |
| 60 | -0x4000,-0x4000,-0x4000,-0x4000,-0x4000,-0x4000,-0x4000,-0x4000, | |
| 61 | -0x4000,-0x4000,-0x4000,-0x4000,-0x4000,-0x4000,-0x4000,-0x4000, | |
| 62 | }; | |
| 52 | #define GAL_INP_PITCH NODE_28 /* at 6T in schematics */ | |
| 63 | 53 | |
| 64 | #define CHANNEL_NOISE 0 | |
| 65 | #define CHANNEL_SHOOT 1 | |
| 66 | #define CHANNEL_LFO 2 | |
| 67 | static sound_stream * tone_stream; | |
| 68 | static emu_timer *noisetimer; | |
| 54 | #define TTL_OUT (4.0) | |
| 69 | 55 | |
| 70 | static TIMER_CALLBACK( lfo_timer_cb ); | |
| 71 | static TIMER_CALLBACK( galaxian_sh_update ); | |
| 56 | #define GAL_R15 RES_K(100) | |
| 57 | #define GAL_R16 RES_K(220) | |
| 58 | #define GAL_R17 RES_K(470) | |
| 59 | #define GAL_R18 RES_K(1000) | |
| 60 | #define GAL_R19 RES_K(330) | |
| 72 | 61 | |
| 73 | static STREAM_UPDATE( tone_update ) | |
| 74 | { | |
| 75 | stream_sample_t *buffer = outputs[0]; | |
| 76 | int i,j; | |
| 77 | INT16 *w = tonewave[vol]; | |
| 62 | #define GAL_R20 RES_K(15) | |
| 63 | #define GAL_R21 RES_K(100) | |
| 64 | #define GAL_R22 RES_K(100) | |
| 65 | #define GAL_R23 RES_K(470) | |
| 66 | #define GAL_R24 RES_K(10) | |
| 67 | #define GAL_R25 RES_K(100) | |
| 68 | #define GAL_R26 RES_K(330) | |
| 69 | #define GAL_R27 RES_K(10) | |
| 70 | #define GAL_R28 RES_K(100) | |
| 71 | #define GAL_R29 RES_K(220) | |
| 78 | 72 | |
| 79 | /* only update if we have non-zero volume and frequency */ | |
| 80 | if( pitch != 0xff ) | |
| 81 | { | |
| 82 | for (i = 0; i < samples; i++) | |
| 83 | { | |
| 84 | int mix = 0; | |
| 73 | #define GAL_R30 RES_K(10) | |
| 74 | #define GAL_R31 RES_K(47) | |
| 75 | #define GAL_R32 RES_K(47) | |
| 76 | #define GAL_R33 RES_K(10) | |
| 77 | /* | |
| 78 | * R34 is given twice on galaxian board and both times as 5.1k. On moon cresta | |
| 79 | * it is only listed once and given as 15k. This is more in line with recordings | |
| 80 | */ | |
| 81 | #define GAL_R34 RES_K(5.1) | |
| 82 | #define MCRST_R34 RES_K(15) | |
| 85 | 83 | |
| 86 | for (j = 0;j < STEPS;j++) | |
| 87 | { | |
| 88 | if (countdown >= 256) | |
| 89 | { | |
| 90 | counter = (counter + 1) % TOOTHSAW_LENGTH; | |
| 91 | countdown = pitch; | |
| 92 | } | |
| 93 | countdown++; | |
| 84 | #define GAL_R35 RES_K(150) | |
| 85 | #define GAL_R36 RES_K(22) | |
| 86 | #define GAL_R37 RES_K(470) | |
| 87 | #define GAL_R38 RES_K(33) | |
| 88 | #define GAL_R39 RES_K(22) | |
| 94 | 89 | |
| 95 | mix += w[counter]; | |
| 96 | } | |
| 97 | *buffer++ = mix / STEPS; | |
| 98 | } | |
| 99 | } | |
| 100 | else | |
| 101 | { | |
| 102 | for( i = 0; i < samples; i++ ) | |
| 103 | *buffer++ = 0; | |
| 104 | } | |
| 105 | } | |
| 90 | /* The hit sound is too low compared with recordings | |
| 91 | * There may be an issue with the op-amp band filter | |
| 92 | */ | |
| 93 | #define GAL_R40 (RES_K(2.2)*0.6) /* Volume adjust */ | |
| 94 | #define GAL_R41 RES_K(100) | |
| 95 | #define GAL_R43 RES_K(2.2) | |
| 96 | #define GAL_R44 RES_K(10) | |
| 97 | #define GAL_R45 RES_K(22) | |
| 98 | #define GAL_R46 RES_K(10) | |
| 99 | #define GAL_R47 RES_K(2.2) | |
| 100 | #define GAL_R48 RES_K(2.2) | |
| 101 | #define GAL_R49 RES_K(10) | |
| 106 | 102 | |
| 107 | WRITE8_HANDLER( galaxian_sound_w ) | |
| 108 | { | |
| 109 | data &= 0x01; | |
| 110 | switch (offset & 7) | |
| 111 | { | |
| 112 | case 0: /* FS1 (controls 555 timer at 8R) */ | |
| 113 | case 1: /* FS2 (controls 555 timer at 8S) */ | |
| 114 | case 2: /* FS3 (controls 555 timer at 8T) */ | |
| 115 | galaxian_background_enable_w(space, offset, data); | |
| 116 | break; | |
| 103 | #define GAL_R50 RES_K(22) | |
| 104 | #define GAL_R51 RES_K(33) | |
| 105 | #define GAL_R52 RES_K(15) | |
| 117 | 106 | |
| 118 | case 3: /* HIT */ | |
| 119 | galaxian_noise_enable_w(space, 0, data); | |
| 120 | break; | |
| 107 | #define GAL_R91 RES_K(10) | |
| 121 | 108 | |
| 122 | case 4: /* n/c */ | |
| 123 | break; | |
| 109 | #define GAL_C15 CAP_U(1) | |
| 110 | #define GAL_C17 CAP_U(0.01) | |
| 111 | #define GAL_C18 CAP_U(0.01) | |
| 112 | #define GAL_C19 CAP_U(0.01) | |
| 124 | 113 | |
| 125 | case 5: /* FIRE */ | |
| 126 | galaxian_shoot_enable_w(space, 0, data); | |
| 127 | break; | |
| 114 | #define GAL_C20 CAP_U(0.1) | |
| 115 | #define GAL_C21 CAP_U(2.2) | |
| 116 | #define GAL_C22 CAP_U(0.01) | |
| 117 | #define GAL_C23 CAP_U(0.01) | |
| 118 | #define GAL_C25 CAP_U(1) | |
| 119 | #define GAL_C26 CAP_U(0.01) | |
| 120 | #define GAL_C27 CAP_U(0.01) | |
| 121 | #define GAL_C28 CAP_U(47) | |
| 128 | 122 | |
| 129 | case 6: /* VOL1 */ | |
| 130 | case 7: /* VOL2 */ | |
| 131 | galaxian_vol_w(space, offset & 1, data); | |
| 132 | break; | |
| 133 | } | |
| 134 | } | |
| 123 | #define GAL_C46 CAP_U(0.1) | |
| 135 | 124 | |
| 136 | 125 | |
| 137 | WRITE8_HANDLER( galaxian_pitch_w ) | |
| 138 | { | |
| 139 | stream_update(tone_stream); | |
| 126 | /************************************* | |
| 127 | * | |
| 128 | * Structures for discrete core | |
| 129 | * | |
| 130 | *************************************/ | |
| 140 | 131 | |
| 141 | pitch = data; | |
| 142 | } | |
| 143 | 132 | |
| 144 | ||
| 133 | static const discrete_dac_r1_ladder galaxian_bck_dac = | |
| 145 | 134 | { |
| 146 | stream_update(tone_stream); | |
| 135 | 4, // size of ladder | |
| 136 | {GAL_R18, GAL_R17, GAL_R16, GAL_R15, 0,0,0,0}, | |
| 137 | 4.4, // 5V - diode junction (0.6V) | |
| 138 | GAL_R20, // rBIAS | |
| 139 | GAL_R19, // rGnd | |
| 140 | 0 // no C | |
| 141 | }; | |
| 147 | 142 | |
| 148 | /* offset 0 = bit 0, offset 1 = bit 1 */ | |
| 149 | vol = (vol & ~(1 << offset)) | ((data & 1) << offset); | |
| 150 | } | |
| 143 | static const discrete_555_cc_desc galaxian_bck_vco = | |
| 144 | { | |
| 145 | DISC_555_OUT_DC | DISC_555_OUT_CAP, | |
| 146 | 5, // B+ voltage of 555 | |
| 147 | DEFAULT_555_VALUES, | |
| 148 | 0.7 // Q2 junction voltage | |
| 149 | }; | |
| 151 | 150 | |
| 151 | static const discrete_555_desc galaxian_555_vco_desc = | |
| 152 | { | |
| 153 | DISC_555_OUT_ENERGY | DISC_555_OUT_DC, | |
| 154 | 5.0, | |
| 155 | DEFAULT_555_CHARGE, | |
| 156 | (5.0 - 0.5) // 10k means no real load | |
| 157 | }; | |
| 152 | 158 | |
| 153 | static | |
| 159 | static c | |
| 154 | 160 | { |
| 155 | if( !noise_enable && noisevolume > 0 ) | |
| 156 | { | |
| 157 | const device_config *samples = devtag_get_device(machine, "samples"); | |
| 158 | noisevolume -= (noisevolume / 10) + 1; | |
| 159 | sample_set_volume(samples, CHANNEL_NOISE,noisevolume / 100.0); | |
| 160 | } | |
| 161 | } | |
| 161 | DISC_555_OUT_DC, | |
| 162 | 5.0, | |
| 163 | DEFAULT_555_CHARGE, | |
| 164 | 1.0 // Logic output | |
| 165 | }; | |
| 162 | 166 | |
| 163 | ||
| 167 | static const discrete_mixer_desc galaxian_bck_mixer_desc | |
| 164 | 168 | { |
| 165 | noise_enable = data & 1; | |
| 169 | DISC_MIXER_IS_RESISTOR, | |
| 170 | {GAL_R24, GAL_R27, GAL_R30}, | |
| 171 | {0,0,0}, | |
| 172 | {0,0,0,0}, /* no node capacitors */ | |
| 173 | 0, 0, | |
| 174 | GAL_C20, | |
| 175 | 0, | |
| 176 | 0, 1 | |
| 177 | }; | |
| 166 | 178 | |
| 167 | if( noise_enable ) | |
| 168 | { | |
| 169 | const device_config *samples = devtag_get_device(space->machine, "samples"); | |
| 170 | noisevolume = 100; | |
| 171 | sample_set_volume(samples, CHANNEL_NOISE,noisevolume / 100.0); | |
| 172 | } | |
| 173 | } | |
| 179 | static const discrete_lfsr_desc galaxian_lfsr = | |
| 180 | { | |
| 181 | DISC_CLK_IS_FREQ, | |
| 182 | 17, /* Bit Length */ | |
| 183 | 0, /* Reset Value */ | |
| 184 | 4, /* Use Bit 10 (QC of second LS164) as F0 input 0 */ | |
| 185 | 16, /* Use Bit 23 (QH of third LS164) as F0 input 1 */ | |
| 186 | DISC_LFSR_XOR_INV_IN1, /* F0 is XOR */ | |
| 187 | DISC_LFSR_IN0, /* F1 is inverted F0*/ | |
| 188 | DISC_LFSR_REPLACE, /* F2 replaces the shifted register contents */ | |
| 189 | 0x000001, /* Everything is shifted into the first bit only */ | |
| 190 | DISC_LFSR_FLAG_OUTPUT_F0, /* Output is result of F0 */ | |
| 191 | 0 /* Output bit */ | |
| 192 | }; | |
| 174 | 193 | |
| 175 | ||
| 194 | static const discrete_mixer_desc galaxian_mix | |
| 176 | 195 | { |
| 177 | if( data & 1 && !(last_port2 & 1) ) | |
| 178 | { | |
| 179 | const device_config *samples = devtag_get_device(space->machine, "samples"); | |
| 180 | sample_start_raw(samples, CHANNEL_SHOOT, shootwave, shoot_length, shoot_rate, 0); | |
| 181 | sample_set_volume(samples, CHANNEL_SHOOT,SHOOT_VOLUME); | |
| 182 | } | |
| 183 | last_port2=data; | |
| 184 | } | |
| 196 | DISC_MIXER_IS_RESISTOR, | |
| 197 | {GAL_R51, 0, GAL_R50, 0, GAL_R34}, /* A, C, C, D */ | |
| 198 | {0, GAL_INP_VOL1, 0, GAL_INP_VOL2, 0}, | |
| 199 | {0,0,0,0,0}, | |
| 200 | 0, 0, | |
| 201 | 0, | |
| 202 | 0, | |
| 203 | 0, 1 | |
| 204 | }; | |
| 185 | 205 | |
| 206 | static const discrete_mixer_desc galaxian_mixer_desc = | |
| 207 | { | |
| 208 | DISC_MIXER_IS_RESISTOR, | |
| 209 | {GAL_R34, GAL_R40, GAL_R43}, /* A, C, C, D */ | |
| 210 | {0, 0, 0}, | |
| 211 | {0,0,GAL_C26}, | |
| 212 | 0, GAL_R91, | |
| 213 | 0, | |
| 214 | GAL_C46, | |
| 215 | 0, 1 | |
| 216 | }; | |
| 186 | 217 | |
| 187 | static SAMPLES_START( galaxian_sh_start ) | |
| 218 | /* moon cresta has different mixing */ | |
| 219 | ||
| 220 | static const discrete_mixer_desc mooncrst_mixer_desc = | |
| 188 | 221 | { |
| 189 | running_machine *machine = device->machine; | |
| 190 | int i, j, sweep, charge, countdown, generator, bit1, bit2; | |
| 222 | DISC_MIXER_IS_RESISTOR, | |
| 223 | {GAL_R51, 0, GAL_R50, 0, MCRST_R34, GAL_R40, GAL_R43}, /* A, C, C, D */ | |
| 224 | {0, GAL_INP_VOL1, 0, GAL_INP_VOL2, 0, 0, 0}, | |
| 225 | {0,0,0,0,0,0,GAL_C26}, | |
| 226 | 0, 0*GAL_R91, | |
| 227 | 0, | |
| 228 | GAL_C46, | |
| 229 | 0, 1 | |
| 230 | }; | |
| 191 | 231 | |
| 192 | freq = MAXFREQ; | |
| 232 | static const discrete_op_amp_filt_info galaxian_bandpass_desc = | |
| 233 | { | |
| 234 | GAL_R35, GAL_R36, 0, 0, | |
| 235 | GAL_R37, | |
| 236 | GAL_C22, GAL_C23, 0, | |
| 237 | 5.0*GAL_R39/(GAL_R38+GAL_R39), | |
| 238 | 5, 0 | |
| 239 | }; | |
| 193 | 240 | |
| 194 | sample_set_volume(device, CHANNEL_NOISE, NOISE_VOLUME); | |
| 195 | sample_set_volume(device, CHANNEL_SHOOT, SHOOT_VOLUME); | |
| 196 | sample_set_volume(device, CHANNEL_LFO+0, LFO_VOLUME); | |
| 197 | sample_set_volume(device, CHANNEL_LFO+1, LFO_VOLUME); | |
| 198 | sample_set_volume(device, CHANNEL_LFO+2, LFO_VOLUME); | |
| 241 | /************************************* | |
| 242 | * | |
| 243 | * Discrete Sound Blocks | |
| 244 | * | |
| 245 | *************************************/ | |
| 199 | 246 | |
| 200 | noisewave = auto_alloc_array(machine, INT16, NOISE_LENGTH); | |
| 201 | 247 | |
| 202 | #define SHOOT_SEC 2 | |
| 203 | shoot_rate = machine->sample_rate; | |
| 204 | shoot_length = SHOOT_SEC * shoot_rate; | |
| 205 | shootwave = auto_alloc_array(machine, INT16, shoot_length); | |
| 248 | static DISCRETE_SOUND_START(galaxian) | |
| 206 | 249 | |
| 207 | /* | |
| 208 | * The RNG shifter is clocked with RNG_RATE, bit 17 is | |
| 209 | * latched every 2V cycles (every 2nd scanline). | |
| 210 | * This signal is used as a noise source. | |
| 211 | */ | |
| 212 | generator = 0; | |
| 213 | countdown = NOISE_RATE / 2; | |
| 214 | for( i = 0; i < NOISE_LENGTH; i++ ) | |
| 215 | { | |
| 216 | countdown -= RNG_RATE; | |
| 217 | while( countdown < 0 ) | |
| 218 | { | |
| 219 | generator <<= 1; | |
| 220 | bit1 = (~generator >> 17) & 1; | |
| 221 | bit2 = (generator >> 5) & 1; | |
| 222 | if (bit1 ^ bit2) generator |= 1; | |
| 223 | countdown += NOISE_RATE; | |
| 224 | } | |
| 225 | noisewave[i] = ((generator >> 17) & 1) ? NOISE_AMPLITUDE : -NOISE_AMPLITUDE; | |
| 226 | } | |
| 250 | /************************************************/ | |
| 251 | /* Input register mapping for galaxian */ | |
| 252 | /************************************************/ | |
| 253 | DISCRETE_INPUT_DATA(GAL_INP_BG_DAC) | |
| 227 | 254 | |
| 228 | /* dummy */ | |
| 229 | sweep = 100; | |
| 230 | charge = +2; | |
| 231 | j=0; | |
| 232 | { | |
| 233 | #define R41__ 100000 | |
| 234 | #define R44__ 10000 | |
| 235 | #define R45__ 22000 | |
| 236 | #define R46__ 10000 | |
| 237 | #define R47__ 2200 | |
| 238 | #define R48__ 2200 | |
| 239 | #define C25__ 0.000001 | |
| 240 | #define C27__ 0.00000001 | |
| 241 | #define C28__ 0.000047 | |
| 242 | #define C29__ 0.00000001 | |
| 243 | #define IC8L3_L 0.2 /* 7400 L level */ | |
| 244 | #define IC8L3_H 4.5 /* 7400 H level */ | |
| 245 | #define NOISE_L 0.2 /* 7474 L level */ | |
| 246 | #define NOISE_H 4.5 /* 7474 H level */ | |
| 247 | /* | |
| 248 | key on/off time is programmable | |
| 249 | Therefore, it is necessary to make separate sample with key on/off. | |
| 250 | And, calculate the playback point according to the voltage of c28. | |
| 251 | */ | |
| 252 | #define SHOOT_KEYON_TIME 0.1 /* second */ | |
| 253 | /* | |
| 254 | NE555-FM input calculation is wrong. | |
| 255 | The frequency is not proportional to the voltage of FM input. | |
| 256 | And, duty will be changed,too. | |
| 257 | */ | |
| 258 | #define NE555_FM_ADJUST_RATE 0.80 | |
| 259 | /* discharge : 100K * 1uF */ | |
| 260 | double v = 5.0; | |
| 261 | double vK = (shoot_rate) ? exp(-1 / (R41__*C25__) / shoot_rate) : 0; | |
| 262 | /* -- SHOOT KEY port -- */ | |
| 263 | double IC8L3 = IC8L3_L; /* key on */ | |
| 264 | int IC8Lcnt = SHOOT_KEYON_TIME * shoot_rate; /* count for key off */ | |
| 265 | /* C28 : KEY port capacity */ | |
| 266 | /* connection : 8L-3 - R47(2.2K) - C28(47u) - R48(2.2K) - C29 */ | |
| 267 | double c28v = IC8L3_H - (IC8L3_H-(NOISE_H+NOISE_L)/2)/(R46__+R47__+R48__)*R47__; | |
| 268 | double c28K = (shoot_rate) ? exp(-1 / (22000 * 0.000047 ) / shoot_rate) : 0; | |
| 269 | /* C29 : NOISE capacity */ | |
| 270 | /* connection : NOISE - R46(10K) - C29(0.1u) - R48(2.2K) - C28 */ | |
| 271 | double c29v = IC8L3_H - (IC8L3_H-(NOISE_H+NOISE_L)/2)/(R46__+R47__+R48__)*(R47__+R48__); | |
| 272 | double c29K1 = (shoot_rate) ? exp(-1 / (22000 * 0.00000001 ) / shoot_rate) : 0; /* form C28 */ | |
| 273 | double c29K2 = (shoot_rate) ? exp(-1 / (100000 * 0.00000001 ) / shoot_rate) : 0; /* from noise */ | |
| 274 | /* NE555 timer */ | |
| 275 | /* RA = 10K , RB = 22K , C=.01u ,FM = C29 */ | |
| 276 | double ne555cnt = 0; | |
| 277 | double ne555step = (shoot_rate) ? ((1.44/((R44__+R45__*2)*C27__)) / shoot_rate) : 0; | |
| 278 | double ne555duty = (double)(R44__+R45__)/(R44__+R45__*2); /* t1 duty */ | |
| 279 | double ne555sr; /* threshold (FM) rate */ | |
| 280 | /* NOISE source */ | |
| 281 | double ncnt = 0.0; | |
| 282 | double nstep = (shoot_rate) ? ((double)NOISE_RATE / shoot_rate) : 0; | |
| 283 | double noise_sh2; /* voltage level */ | |
| 255 | /* FS1 to FS3 */ | |
| 256 | DISCRETE_INPUT_LOGIC(GAL_INP_FS1) | |
| 257 | DISCRETE_INPUT_LOGIC(GAL_INP_FS2) | |
| 258 | DISCRETE_INPUT_LOGIC(GAL_INP_FS3) | |
| 284 | 259 | |
| 285 | for( i = 0; i < shoot_length; i++ ) | |
| 286 | { | |
| 287 | /* noise port */ | |
| 288 | noise_sh2 = noisewave[(int)ncnt % NOISE_LENGTH] == NOISE_AMPLITUDE ? NOISE_H : NOISE_L; | |
| 289 | ncnt+=nstep; | |
| 290 | /* calculate NE555 threshold level by FM input */ | |
| 291 | ne555sr = c29v*NE555_FM_ADJUST_RATE / (5.0*2/3); | |
| 292 | /* calc output */ | |
| 293 | ne555cnt += ne555step; | |
| 294 | if( ne555cnt >= ne555sr) ne555cnt -= ne555sr; | |
| 295 | if( ne555cnt < ne555sr*ne555duty ) | |
| 296 | { | |
| 297 | /* t1 time */ | |
| 298 | shootwave[i] = v/5*0x7fff; | |
| 299 | /* discharge output level */ | |
| 300 | if(IC8L3==IC8L3_H) | |
| 301 | v *= vK; | |
| 302 | } | |
| 303 | else | |
| 304 | shootwave[i] = 0; | |
| 305 | /* C28 charge/discharge */ | |
| 306 | c28v += (IC8L3-c28v) - (IC8L3-c28v)*c28K; /* from R47 */ | |
| 307 | c28v += (c29v-c28v) - (c29v-c28v)*c28K; /* from R48 */ | |
| 308 | /* C29 charge/discharge */ | |
| 309 | c29v += (c28v-c29v) - (c28v-c29v)*c29K1; /* from R48 */ | |
| 310 | c29v += (noise_sh2-c29v) - (noise_sh2-c29v)*c29K2; /* from R46 */ | |
| 311 | /* key off */ | |
| 312 | if(IC8L3==IC8L3_L && --IC8Lcnt==0) | |
| 313 | IC8L3=IC8L3_H; | |
| 314 | } | |
| 315 | } | |
| 260 | /* HIT */ | |
| 261 | DISCRETE_INPUTX_DATA(GAL_INP_HIT, TTL_OUT, 0, 0) | |
| 316 | 262 | |
| 317 | memset(tonewave, 0, sizeof(tonewave)); | |
| 263 | /* FIRE */ | |
| 264 | DISCRETE_INPUT_LOGIC(GAL_INP_FIRE) | |
| 318 | 265 | |
| 319 | for( i = 0; i < TOOTHSAW_LENGTH; i++ ) | |
| 320 | { | |
| 321 | #define V(r0,r1) 2*TOOTHSAW_AMPLITUDE*(r0)/(r0+r1)-TOOTHSAW_AMPLITUDE | |
| 322 | double r0a = 1.0/1e12, r1a = 1.0/1e12; | |
| 323 | double r0b = 1.0/1e12, r1b = 1.0/1e12; | |
| 266 | /* Turns on / off resistors in mixer */ | |
| 267 | DISCRETE_INPUTX_DATA(GAL_INP_VOL1, GAL_R49, 0, 0) | |
| 268 | DISCRETE_INPUTX_DATA(GAL_INP_VOL2, GAL_R52, 0, 0) | |
| 324 | 269 | |
| 325 | /* #0: VOL1=0 and VOL2=0 | |
| 326 | * only the 33k and the 22k resistors R51 and R50 | |
| 327 | */ | |
| 328 | if( i & 1 ) | |
| 329 | { | |
| 330 | r1a += 1.0/33000; | |
| 331 | r1b += 1.0/33000; | |
| 332 | } | |
| 333 | else | |
| 334 | { | |
| 335 | r0a += 1.0/33000; | |
| 336 | r0b += 1.0/33000; | |
| 337 | } | |
| 338 | if( i & 4 ) | |
| 339 | { | |
| 340 | r1a += 1.0/22000; | |
| 341 | r1b += 1.0/22000; | |
| 342 | } | |
| 343 | else | |
| 344 | { | |
| 345 | r0a += 1.0/22000; | |
| 346 | r0b += 1.0/22000; | |
| 347 | } | |
| 348 | tonewave[0][i] = V(1.0/r0a, 1.0/r1a); | |
| 270 | /* Pitch */ | |
| 271 | DISCRETE_INPUT_DATA(GAL_INP_PITCH) | |
| 349 | 272 | |
| 350 | /* #1: VOL1=1 and VOL2=0 | |
| 351 | * add the 10k resistor R49 for bit QC | |
| 352 | */ | |
| 353 | if( i & 4 ) | |
| 354 | r1a += 1.0/10000; | |
| 355 | else | |
| 356 | r0a += 1.0/10000; | |
| 357 | tonewave[1][i] = V(1.0/r0a, 1.0/r1a); | |
| 273 | /************************************************/ | |
| 274 | /* Background */ | |
| 275 | /************************************************/ | |
| 358 | 276 | |
| 359 | /* #2: VOL1=0 and VOL2=1 | |
| 360 | * add the 15k resistor R52 for bit QD | |
| 361 | */ | |
| 362 | if( i & 8 ) | |
| 363 | r1b += 1.0/15000; | |
| 364 | else | |
| 365 | r0b += 1.0/15000; | |
| 366 | tonewave[2][i] = V(1.0/r0b, 1.0/r1b); | |
| 277 | DISCRETE_DAC_R1(NODE_100, 1, GAL_INP_BG_DAC, TTL_OUT, &galaxian_bck_dac) | |
| 278 | DISCRETE_555_CC(NODE_105, 1, NODE_100, GAL_R21, GAL_C15, 0, 0, 0, &galaxian_bck_vco) | |
| 279 | // Next is mult/add opamp circuit | |
| 280 | DISCRETE_MULTADD(NODE_110, 1, NODE_105, GAL_R33/RES_3_PARALLEL(GAL_R31,GAL_R32,GAL_R33), | |
| 281 | -5.0*GAL_R33/GAL_R31) | |
| 282 | DISCRETE_CLAMP(NODE_111,1,NODE_110,0.0,5.0,0.0) | |
| 283 | // The three 555 | |
| 284 | DISCRETE_555_ASTABLE_CV(NODE_115, GAL_INP_FS1, GAL_R22, GAL_R23, GAL_C17, NODE_111, &galaxian_555_vco_desc) | |
| 285 | DISCRETE_555_ASTABLE_CV(NODE_116, GAL_INP_FS2, GAL_R25, GAL_R26, GAL_C18, NODE_111, &galaxian_555_vco_desc) | |
| 286 | DISCRETE_555_ASTABLE_CV(NODE_117, GAL_INP_FS3, GAL_R28, GAL_R29, GAL_C19, NODE_111, &galaxian_555_vco_desc) | |
| 367 | 287 | |
| 368 | /* #3: VOL1=1 and VOL2=1 | |
| 369 | * add the 10k resistor R49 for QC | |
| 370 | */ | |
| 371 | if( i & 4 ) | |
| 372 | r0b += 1.0/10000; | |
| 373 | else | |
| 374 | r1b += 1.0/10000; | |
| 375 | tonewave[3][i] = V(1.0/r0b, 1.0/r1b); | |
| 376 | LOG(("tone[%2d]: $%02x $%02x $%02x $%02x\n", i, tonewave[0][i], tonewave[1][i], tonewave[2][i], tonewave[3][i])); | |
| 377 | } | |
| 288 | DISCRETE_MIXER3(NODE_120, 1, NODE_115, NODE_116, NODE_117, &galaxian_bck_mixer_desc) | |
| 378 | 289 | |
| 379 | pitch = 0xff; | |
| 380 | vol = 0; | |
| 290 | /************************************************/ | |
| 291 | /* PITCH */ | |
| 292 | /************************************************/ | |
| 381 | 293 | |
| 382 | tone_stream = stream_create(device,0,1,SOUND_CLOCK/STEPS,NULL,tone_update); | |
| 383 | stream_set_output_gain(tone_stream, 0, TOOTHSAW_VOLUME); | |
| 294 | /* two cascaded LS164 which are reset to pitch latch value, | |
| 295 | * thus generating SOUND_CLOCK / (256 - pitch_clock) signal | |
| 296 | * | |
| 297 | * One possibility to implement this is | |
| 298 | * DISCRETE_TRANSFORM3(NODE_130, SOUND_CLOCK, 256, GAL_INP_PITCH, "012-/") | |
| 299 | * DISCRETE_COUNTER(NODE_132, 1, 0, NODE_130, 15, DISC_COUNT_UP, 0, DISC_CLK_IS_FREQ) | |
| 300 | * but there is a native choice: | |
| 301 | */ | |
| 302 | DISCRETE_NOTE(NODE_132, 1, SOUND_CLOCK, GAL_INP_PITCH, 255, 15, DISC_CLK_IS_FREQ) | |
| 384 | 303 | |
| 385 | sample_set_volume(device, CHANNEL_NOISE,0); | |
| 386 | sample_start_raw(device, CHANNEL_NOISE,noisewave,NOISE_LENGTH,NOISE_RATE,1); | |
| 304 | /* from the 74393 (counter 2 above) only QA, QC, QD are used. | |
| 305 | * We decode three here and use SUB_NODE(133,x) below to access. | |
| 306 | */ | |
| 307 | DISCRETE_BITS_DECODE(NODE_133, NODE_132, 0, 3, TTL_OUT) /* QA-QD 74393 */ | |
| 387 | 308 | |
| 388 | sample_set_volume(device, CHANNEL_SHOOT,0); | |
| 389 | sample_start_raw(device, CHANNEL_SHOOT,shootwave,SHOOT_LENGTH,SHOOT_RATE,1); | |
| 309 | /************************************************/ | |
| 310 | /* HIT */ | |
| 311 | /************************************************/ | |
| 390 | 312 | |
| 391 | sample_set_volume(device, CHANNEL_LFO+0,0); | |
| 392 | sample_start_raw(device, CHANNEL_LFO+0,backgroundwave,ARRAY_LENGTH(backgroundwave),1000,1); | |
| 393 | sample_set_volume(device, CHANNEL_LFO+1,0); | |
| 394 | sample_start_raw(device, CHANNEL_LFO+1,backgroundwave,ARRAY_LENGTH(backgroundwave),1000,1); | |
| 395 | sample_set_volume(device, CHANNEL_LFO+2,0); | |
| 396 | sample_start_raw(device, CHANNEL_LFO+2,backgroundwave,ARRAY_LENGTH(backgroundwave),1000,1); | |
| 313 | /* NOISE */ | |
| 314 | /* since only a sample of the LFSR is latched @V2 we let the lfsr | |
| 315 | * run at a lower speed | |
| 316 | */ | |
| 317 | DISCRETE_LFSR_NOISE(NODE_150, 1, 1, RNG_RATE/100, 1.0, 0, 0.5, &galaxian_lfsr) | |
| 318 | DISCRETE_SQUAREWFIX(NODE_151,1,60*264/2,1.0,50,0.5,0) /* 2V signal */ | |
| 319 | DISCRETE_LOGIC_DFLIPFLOP(NODE_152,1,1,1,NODE_151,NODE_150) | |
| 397 | 320 | |
| 398 | noisetimer = timer_alloc(machine, noise_timer_cb, NULL); | |
| 399 | timer_adjust_periodic(noisetimer, ATTOTIME_IN_NSEC((155000+22000)/100*693*22), 0, ATTOTIME_IN_NSEC((155000+22000)/100*693*22)); | |
| 400 | 321 | |
| 401 | lfotimer = timer_alloc(machine, lfo_timer_cb, NULL); | |
| 322 | /* Not 100% correct - switching causes high impedance input for node_157 | |
| 323 | * this is not emulated */ | |
| 324 | DISCRETE_RCDISC5(NODE_155, NODE_152, GAL_INP_HIT, (GAL_R35 + GAL_R36), GAL_C21) | |
| 325 | DISCRETE_OP_AMP_FILTER(NODE_157, 1, NODE_155, 0, DISC_OP_AMP_FILTER_IS_BAND_PASS_1M, &galaxian_bandpass_desc) | |
| 402 | 326 | |
| 403 | timer_pulse(machine, video_screen_get_frame_period(machine->primary_screen), NULL, 0, galaxian_sh_update); | |
| 327 | /************************************************/ | |
| 328 | /* FIRE */ | |
| 329 | /************************************************/ | |
| 330 | DISCRETE_LOGIC_INVERT(NODE_160, 1, GAL_INP_FIRE) | |
| 331 | DISCRETE_MULTIPLY(NODE_161, 1, TTL_OUT, GAL_INP_FIRE) | |
| 332 | DISCRETE_MULTIPLY(NODE_162, 1, TTL_OUT, NODE_160) // inverted | |
| 333 | DISCRETE_RCFILTER(NODE_163, 1, NODE_162, GAL_R47, GAL_C28) | |
| 334 | /* Mix noise and 163 */ | |
| 335 | DISCRETE_TRANSFORM5(NODE_167, NODE_152, TTL_OUT, 1.0/GAL_R46, NODE_163, 1.0/GAL_R48, | |
| 336 | "01*2*34*+" ) | |
| 337 | //DISCRETE_MULTIPLY(NODE_164, 1, TTL_OUT, NODE_152) | |
| 338 | //DISCRETE_MULTIPLY(NODE_165, 1, 1.0/GAL_R46, NODE_164) | |
| 339 | //DISCRETE_MULTIPLY(NODE_166, 1, 1.0/GAL_R48, NODE_163) | |
| 340 | //DISCRETE_ADDER2(NODE_167, 1, NODE_165, NODE_166) | |
| 341 | DISCRETE_MULTIPLY(NODE_168, 1, RES_2_PARALLEL(GAL_R46, GAL_R48), NODE_167) | |
| 404 | 342 | |
| 405 | state_save_register_global(machine, freq); | |
| 406 | state_save_register_global(machine, noise_enable); | |
| 407 | state_save_register_global(machine, noisevolume); | |
| 408 | state_save_register_global(machine, last_port2); | |
| 409 | state_save_register_global(machine, pitch); | |
| 410 | state_save_register_global(machine, vol); | |
| 411 | state_save_register_global(machine, counter); | |
| 412 | state_save_register_global(machine, countdown); | |
| 413 | state_save_register_global_array(machine, lfobit); | |
| 414 | } | |
| 343 | DISCRETE_555_ASTABLE_CV(NODE_171, 1, GAL_R44, GAL_R45, GAL_C27, NODE_168, &galaxian_555_fire_vco_desc) | |
| 415 | 344 | |
| 345 | /* 555 toggles discharge on rc discharge module */ | |
| 346 | DISCRETE_RCDISC5(NODE_172, NODE_171, NODE_161, (GAL_R41), GAL_C25) | |
| 416 | 347 | |
| 348 | /************************************************/ | |
| 349 | /* FINAL MIX */ | |
| 350 | /************************************************/ | |
| 417 | 351 | |
| 418 | WRITE8_HANDLER( galaxian_background_enable_w ) | |
| 352 | DISCRETE_MIXER5(NODE_279, 1, NODE_SUB(133,0), NODE_SUB(133,2), NODE_SUB(133,2), NODE_SUB(133,3), NODE_120, &galaxian_mixerpre_desc) | |
| 353 | DISCRETE_MIXER3(NODE_280, 1, NODE_279, NODE_157, NODE_172, &galaxian_mixer_desc) | |
| 354 | DISCRETE_OUTPUT(NODE_280, 32767.0/5.0*5) | |
| 355 | ||
| 356 | DISCRETE_SOUND_END | |
| 357 | ||
| 358 | ||
| 359 | static DISCRETE_SOUND_START(mooncrst) | |
| 360 | DISCRETE_IMPORT(galaxian) | |
| 361 | ||
| 362 | /************************************************/ | |
| 363 | /* Moon Cresta mixing stage */ | |
| 364 | /************************************************/ | |
| 365 | DISCRETE_DELETE(NODE_279, NODE_279) | |
| 366 | DISCRETE_REPLACE | |
| 367 | DISCRETE_MIXER7(NODE_280, 1, NODE_SUB(133,0), NODE_SUB(133,2), NODE_SUB(133,2), NODE_SUB(133,3), NODE_120, NODE_157, NODE_172, &mooncrst_mixer_desc) | |
| 368 | DISCRETE_SOUND_END | |
| 369 | ||
| 370 | /************************************* | |
| 371 | * | |
| 372 | * Static Variables | |
| 373 | * | |
| 374 | *************************************/ | |
| 375 | ||
| 376 | static UINT8 lfo_val; | |
| 377 | ||
| 378 | static SOUND_START(galaxian) | |
| 419 | 379 | { |
| 420 | const device_config *samples = devtag_get_device(space->machine, "samples"); | |
| 421 | sample_set_volume(samples, CHANNEL_LFO+offset,(data & 1) ? LFO_VOLUME : 0); | |
| 380 | lfo_val = 0; | |
| 422 | 381 | } |
| 423 | 382 | |
| 424 | static TIMER_CALLBACK( lfo_timer_cb ) | |
| 383 | /************************************* | |
| 384 | * | |
| 385 | * Write handlers | |
| 386 | * | |
| 387 | *************************************/ | |
| 388 | ||
| 389 | /* IC 9J */ | |
| 390 | WRITE8_DEVICE_HANDLER( galaxian_pitch_w ) | |
| 425 | 391 | { |
| 426 | if( freq > MINFREQ ) | |
| 427 | freq--; | |
| 428 | else | |
| 429 | freq = MAXFREQ; | |
| 392 | discrete_sound_w(device, GAL_INP_PITCH, data ); | |
| 430 | 393 | } |
| 431 | 394 | |
| 432 | WRITE8_HANDLER( galaxian_lfo_freq_w ) | |
| 395 | WRITE8_DEVICE_HANDLER( galaxian_lfo_freq_w ) | |
| 433 | 396 | { |
| 434 | #if NEW_LFO | |
| 435 | /* R18 1M,R17 470K,R16 220K,R15 100K */ | |
| 436 | static const int rv[4] = { 1000000,470000,220000,100000}; | |
| 437 | double r1,r2,Re,td; | |
| 438 | int i; | |
| 397 | UINT8 lfo_val_new = (lfo_val & ~(1<<offset)) | ((data & 0x01) << offset); | |
| 439 | 398 | |
| 440 | if( (data & 1) == lfobit[offset] ) | |
| 441 | return; | |
| 442 | ||
| 443 | /* | |
| 444 | * NE555 9R is setup as astable multivibrator | |
| 445 | * - this circuit looks LINEAR RAMP V-F converter | |
| 446 | I = 1/Re * ( R1/(R1+R2)-Vbe) | |
| 447 | td = (2/3VCC*Re*(R1+R2)*C) / (R1*VCC-Vbe*(R1+R2)) | |
| 448 | parts assign | |
| 449 | R1 : (R15* L1)|(R16* L2)|(R17* L3)|(R18* L1) | |
| 450 | R2 : (R15*~L1)|(R16*~L2)|(R17*~L3)|(R18*~L4)|R??(330K) | |
| 451 | Re : R21(100K) | |
| 452 | Vbe : Q2(2SA1015)-Vbe | |
| 453 | * - R20(15K) and Q1 is unknown,maybe current booster. | |
| 454 | */ | |
| 455 | ||
| 456 | lfobit[offset] = data & 1; | |
| 457 | ||
| 458 | /* R20 15K */ | |
| 459 | r1 = 1e12; | |
| 460 | /* R19? 330k to gnd */ | |
| 461 | r2 = 330000; | |
| 462 | //r1 = 15000; | |
| 463 | /* R21 100K */ | |
| 464 | Re = 100000; | |
| 465 | /* register calculation */ | |
| 466 | for(i=0;i<4;i++) | |
| 399 | if (lfo_val != lfo_val_new) | |
| 467 | 400 | { |
| 468 | if(lfobit[i]) | |
| 469 | r1 = (r1*rv[i])/(r1+rv[i]); /* Hi */ | |
| 470 | else | |
| 471 | r2 = (r2*rv[i])/(r2+rv[i]); /* Low */ | |
| 401 | lfo_val = lfo_val_new; | |
| 402 | discrete_sound_w(device, GAL_INP_BG_DAC, lfo_val); | |
| 472 | 403 | } |
| 404 | } | |
| 473 | 405 | |
| 474 | #define Vcc 5.0 | |
| 475 | #define Vbe 0.65 /* 2SA1015 */ | |
| 476 | #define Cap 0.000001 /* C15 1uF */ | |
| 477 | td = (Vcc*2/3*Re*(r1+r2)*Cap) / (r1*Vcc - Vbe*(r1+r2) ); | |
| 478 | #undef Cap | |
| 479 | #undef Vbe | |
| 480 | #undef Vcc | |
| 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)); | |
| 482 | timer_adjust_periodic(lfotimer, attotime_make(0, ATTOSECONDS_PER_SECOND / (MAXFREQ-MINFREQ) * td), 0, attotime_make(0, ATTOSECONDS_PER_SECOND / (MAXFREQ-MINFREQ) * td)); | |
| 483 | #else | |
| 484 | double r0, r1, rx = 100000.0; | |
| 406 | WRITE8_DEVICE_HANDLER( galaxian_background_enable_w ) | |
| 407 | { | |
| 408 | discrete_sound_w(device, NODE_RELATIVE(GAL_INP_FS1, offset), data & 0x01); | |
| 409 | } | |
| 485 | 410 | |
| 486 | if( (data & 1) == lfobit[offset] ) | |
| 487 | return; | |
| 411 | WRITE8_DEVICE_HANDLER( galaxian_noise_enable_w ) | |
| 412 | { | |
| 413 | discrete_sound_w(device, GAL_INP_HIT, data & 0x01); | |
| 414 | } | |
| 488 | 415 | |
| 489 | /* | |
| 490 | * NE555 9R is setup as astable multivibrator | |
| 491 | * - Ra is between 100k and ??? (open?) | |
| 492 | * - Rb is zero here (bridge between pins 6 and 7) | |
| 493 | * - C is 1uF | |
| 494 | * charge time t1 = 0.693 * (Ra + Rb) * C | |
| 495 | * discharge time t2 = 0.693 * (Rb) * C | |
| 496 | * period T = t1 + t2 = 0.693 * (Ra + 2 * Rb) * C | |
| 497 | * -> min period: 0.693 * 100 kOhm * 1uF -> 69300 us = 14.4Hz | |
| 498 | * -> max period: no idea, since I don't know the max. value for Ra :( | |
| 499 | */ | |
| 416 | WRITE8_DEVICE_HANDLER( galaxian_vol_w ) | |
| 417 | { | |
| 418 | discrete_sound_w(device, NODE_RELATIVE(GAL_INP_VOL1,offset), data & 0x01); | |
| 419 | } | |
| 500 | 420 | |
| 501 | lfobit[offset] = data & 1; | |
| 421 | /* FIXME: rename to fire to be consistent */ | |
| 422 | WRITE8_DEVICE_HANDLER( galaxian_shoot_enable_w ) | |
| 423 | { | |
| 424 | discrete_sound_w(device, GAL_INP_FIRE, data & 0x01); | |
| 425 | } | |
| 502 | 426 | |
| 503 | /* R?? 330k to gnd */ | |
| 504 | r0 = 1.0/330000; | |
| 505 | /* open is a very high value really ;-) */ | |
| 506 | r1 = 1.0/1e12; | |
| 427 | /* FIXME: May be replaced by one call! */ | |
| 428 | WRITE8_DEVICE_HANDLER( galaxian_sound_w ) | |
| 429 | { | |
| 430 | data &= 0x01; | |
| 431 | switch (offset & 7) | |
| 432 | { | |
| 433 | case 0: /* FS1 (controls 555 timer at 8R) */ | |
| 434 | case 1: /* FS2 (controls 555 timer at 8S) */ | |
| 435 | case 2: /* FS3 (controls 555 timer at 8T) */ | |
| 436 | galaxian_background_enable_w(device, offset, data); | |
| 437 | break; | |
| 507 | 438 | |
| 508 | /* R18 1M */ | |
| 509 | if( lfobit[0] ) | |
| 510 | r1 += 1.0/1000000; | |
| 511 | else | |
| 512 | r0 += 1.0/1000000; | |
| 439 | case 3: /* HIT */ | |
| 440 | galaxian_noise_enable_w(device, 0, data); | |
| 441 | break; | |
| 513 | 442 | |
| 514 | /* R17 470k */ | |
| 515 | if( lfobit[1] ) | |
| 516 | r1 += 1.0/470000; | |
| 517 | else | |
| 518 | r0 += 1.0/470000; | |
| 443 | case 4: /* n/c */ | |
| 444 | break; | |
| 519 | 445 | |
| 520 | /* R16 220k */ | |
| 521 | if( lfobit[2] ) | |
| 522 | r1 += 1.0/220000; | |
| 523 | else | |
| 524 | r0 += 1.0/220000; | |
| 446 | case 5: /* FIRE */ | |
| 447 | galaxian_shoot_enable_w(device, 0, data); | |
| 448 | break; | |
| 525 | 449 | |
| 526 | /* R15 100k */ | |
| 527 | if( lfobit[3] ) | |
| 528 | r1 += 1.0/100000; | |
| 529 | else | |
| 530 | r0 += 1.0/100000; | |
| 450 | case 6: /* VOL1 */ | |
| 451 | case 7: /* VOL2 */ | |
| 452 | galaxian_vol_w(device, offset & 1, data); | |
| 453 | break; | |
| 454 | } | |
| 455 | } | |
| 531 | 456 | |
| 532 | r0 = 1.0/r0; | |
| 533 | r1 = 1.0/r1; | |
| 457 | /************************************* | |
| 458 | * | |
| 459 | * Driver definitions | |
| 460 | * | |
| 461 | *************************************/ | |
| 534 | 462 | |
| 535 | /* I used an arbitrary value for max. Ra of 2M */ | |
| 536 | rx = rx + 2000000.0 * r0 / (r0+r1); | |
| 463 | MACHINE_DRIVER_START( galaxian_audio ) | |
| 537 | 464 | |
| 538 | LOG(("lfotimer bits:%d%d%d%d r0:%d, r1:%d, rx: %d, time: %9.2fus\n", lfobit[3], lfobit[2], lfobit[1], lfobit[0], (int)r0, (int)r1, (int)rx, 0.639 * rx)); | |
| 539 | timer_adjust_periodic(lfotimer, attotime_make(0, ATTOSECONDS_PER_SECOND / 1000000000 / (MAXFREQ-MINFREQ) * 639 * rx), 0, attotime_make(0, ATTOSECONDS_PER_SECOND / 1000000000 / (MAXFREQ-MINFREQ) * 639 * rx)); | |
| 540 | #endif | |
| 541 | } | |
| 465 | MDRV_SOUND_START(galaxian) | |
| 542 | 466 | |
| 543 | static TIMER_CALLBACK( galaxian_sh_update ) | |
| 544 | { | |
| 545 | const device_config *samples = devtag_get_device(machine, "samples"); | |
| 467 | MDRV_SOUND_ADD(GAL_AUDIO, DISCRETE, 0) | |
| 468 | MDRV_SOUND_CONFIG_DISCRETE(galaxian) | |
| 546 | 469 | |
| 547 | /* | |
| 548 | * NE555 8R, 8S and 8T are used as pulse position modulators | |
| 549 | * FS1 Ra=100k, Rb=470k and C=0.01uF | |
| 550 | * -> 0.693 * 1040k * 0.01uF -> 7207.2us = 139Hz | |
| 551 | * FS2 Ra=100k, Rb=330k and C=0.01uF | |
| 552 | * -> 0.693 * 760k * 0.01uF -> 5266.8us = 190Hz | |
| 553 | * FS2 Ra=100k, Rb=220k and C=0.01uF | |
| 554 | * -> 0.693 * 540k * 0.01uF -> 3742.2us = 267Hz | |
| 555 | */ | |
| 470 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) | |
| 471 | MACHINE_DRIVER_END | |
| 556 | 472 | |
| 557 | sample_set_freq(samples, CHANNEL_LFO+0, sizeof(backgroundwave)*freq*(100+2*470)/(100+2*470) ); | |
| 558 | sample_set_freq(samples, CHANNEL_LFO+1, sizeof(backgroundwave)*freq*(100+2*330)/(100+2*470) ); | |
| 559 | sample_set_freq(samples, CHANNEL_LFO+2, sizeof(backgroundwave)*freq*(100+2*220)/(100+2*470) ); | |
| 560 | } | |
| 473 | MACHINE_DRIVER_START( mooncrst_audio ) | |
| 561 | 474 | |
| 475 | MDRV_SOUND_START(galaxian) | |
| 562 | 476 | |
| 563 | const samples_interface galaxian_samples_interface = | |
| 564 | { | |
| 565 | 5, | |
| 566 | NULL, | |
| 567 | galaxian_sh_start | |
| 568 | }; | |
| 477 | MDRV_SOUND_ADD(GAL_AUDIO, DISCRETE, 0) | |
| 478 | MDRV_SOUND_CONFIG_DISCRETE(mooncrst) | |
| 569 | 479 | |
| 570 | const samples_interface galaxian_custom_interface = | |
| 571 | { | |
| 572 | 5, | |
| 573 | NULL, | |
| 574 | galaxian_sh_start | |
| 575 | }; | |
| 480 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) | |
| 481 | MACHINE_DRIVER_END |
| r5490 | r5491 | |
|---|---|---|
| 32 | 32 | |
| 33 | 33 | #include "driver.h" |
| 34 | 34 | #include "cpu/m6502/m6502.h" |
| 35 | #include "sound/5220 | |
| 35 | #include "sound/tms5220 | |
| 36 | 36 | #include "sound/2151intf.h" |
| 37 | 37 | #include "sound/okim6295.h" |
| 38 | 38 | #include "sound/pokey.h" |
| r5490 | r5491 | |
|---|---|---|
| 11 | 11 | #include "cpu/m68000/m68000.h" |
| 12 | 12 | #include "cpu/m6800/m6800.h" |
| 13 | 13 | #include "cpu/m6809/m6809.h" |
| 14 | #include "sound/5220 | |
| 14 | #include "sound/tms5220 | |
| 15 | 15 | #include "sound/ay8910.h" |
| 16 | 16 | #include "sound/dac.h" |
| 17 | 17 | #include "audio/williams.h" |
| r5490 | r5491 | |
|---|---|---|
| 14 | 14 | static const discrete_mixer_desc desc_cliffhgr_mixer = |
| 15 | 15 | { |
| 16 | 16 | DISC_MIXER_IS_RESISTOR, |
| 17 | { 1.0/(1.0/RES_K(4.7)+1.0/RES_K(10))+RES_K(1 | |
| 17 | { 1.0/(1.0/RES_K(4.7)+1.0/RES_K(10))+RES_K(10), 1.0/(1.0/RES_K(5.1)+1.0/RES_K(12))+RES_K(10) }, | |
| 18 | 18 | { 0, 0 }, |
| 19 | 19 | { CAP_U(4.7), CAP_U(4.7) }, |
| 20 | 20 | 0, |
| r5490 | r5491 | |
| 31 | 31 | DISCRETE_INPUT_LOGIC(CLIFF_ENABLE_SND_1) |
| 32 | 32 | DISCRETE_INPUT_LOGIC(CLIFF_ENABLE_SND_2) |
| 33 | 33 | |
| 34 | DISCRETE_555_ASTABLE(NODE_03, 1, RES_K(24), RES_K(19), CAP_U(0.047), &desc_cliffhgr_555) | |
| 35 | DISCRETE_555_ASTABLE(NODE_04, 1, RES_K(24), RES_K(19), CAP_U(0.1), &desc_cliffhgr_555) | |
| 34 | DISCRETE_555_ASTABLE(NODE_03, 1, RES_K(24), RES_K(10), CAP_U(0.047), &desc_cliffhgr_555) | |
| 35 | DISCRETE_555_ASTABLE(NODE_04, 1, RES_K(24), RES_K(10), CAP_U(0.1), &desc_cliffhgr_555) | |
| 36 | 36 | |
| 37 | 37 | DISCRETE_ONOFF(NODE_05,CLIFF_ENABLE_SND_1,NODE_03) |
| 38 | 38 | DISCRETE_ONOFF(NODE_06,CLIFF_ENABLE_SND_2,NODE_04) |
| r5490 | r5491 | |
|---|---|---|
| 6 | 6 | #include "machine/latch8.h" |
| 7 | 7 | |
| 8 | 8 | #include "sound/tms5110.h" |
| 9 | #include "sound/5110intf.h" | |
| 10 | 9 | |
| 11 | 10 | #include "includes/dkong.h" |
| 12 | 11 | |
| r5490 | r5491 | |
| 804 | 803 | #define DISCRETE_LS123_INV(_N, _T, _R, _C) \ |
| 805 | 804 | DISCRETE_ONESHOTR(_N, 0, _T, TTL_HIGH, (0.25 * (_R) * (_C) * (1.0+700./(_R))), DISC_ONESHOT_RETRIG | DISC_ONESHOT_REDGE | DISC_OUT_ACTIVE_LOW) |
| 806 | 805 | |
| 807 | #define DISCRETE_BITSET(_N, _N1, _B) DISCRETE_TRANSFORM3(_N, _N1, 1 << ((_B)-1), 0, "01&2>") | |
| 808 | 806 | #define DISCRETE_ENERGY_NAND(_N, _N1, _N2) DISCRETE_TRANSFORM3(_N, _N1, _N2, 1, "201*-") |
| 809 | 807 | |
| 810 | 808 | static const discrete_mixer_desc dkongjr_mixer_desc = |
| r5490 | r5491 | |
| 911 | 909 | |
| 912 | 910 | DISCRETE_COUNTER(NODE_100,1,0,NODE_118,0xFFFF,DISC_COUNT_UP,0,DISC_CLK_BY_COUNT) |
| 913 | 911 | |
| 914 | DISCRETE_BITSET(NODE_101, NODE_100, 7) /*LS157 2A */ | |
| 915 | DISCRETE_BITSET(NODE_102, NODE_100, 4) /*LS157 2B */ | |
| 916 | DISCRETE_BITSET(NODE_103, NODE_100, 13) /*LS157 3A */ | |
| 917 | DISCRETE_BITSET(NODE_104, NODE_100, 12) /*LS157 3B */ | |
| 912 | DISCRETE_BIT_DECODE(NODE_101, NODE_100, 6, 1) /*LS157 2A */ | |
| 913 | DISCRETE_BIT_DECODE(NODE_102, NODE_100, 3, 1) /*LS157 2B */ | |
| 914 | DISCRETE_BIT_DECODE(NODE_103, NODE_100, 12, 1) /*LS157 3A */ | |
| 915 | DISCRETE_BIT_DECODE(NODE_104, NODE_100, 11, 1) /*LS157 3B */ | |
| 918 | 916 | |
| 919 | 917 | /* LS157 Switches */ |
| 920 | 918 | DISCRETE_SWITCH(NODE_105, 1, DS_SOUND7_INV, GND, NODE_113) /* Switch 1 from LS624 */ |
| r5490 | r5491 | |
|---|---|---|
| 15 | 15 | #include "cpu/z80/z80.h" |
| 16 | 16 | #include "machine/7474.h" |
| 17 | 17 | #include "sound/flt_rc.h" |
| 18 | #include "sound/5110intf.h" | |
| 19 | 18 | #include "sound/tms5110.h" |
| 20 | 19 | #include "sound/ay8910.h" |
| 21 | 20 | #include "includes/galaxold.h" |
| r5490 | r5491 | |
|---|---|---|
| 9 | 9 | |
| 10 | 10 | #include "driver.h" |
| 11 | 11 | #include "cpu/m6809/m6809.h" |
| 12 | #include "sound/5220 | |
| 12 | #include "sound/tms5220 | |
| 13 | 13 | #include "includes/starwars.h" |
| 14 | 14 | |
| 15 | 15 |
| r5490 | r5491 | |
|---|---|---|
| 132 | 132 | #define DISCRETE_LS123_INV(_N, _T, _R, _C) \ |
| 133 | 133 | DISCRETE_ONESHOTR(_N, 0, _T, TTL_HIGH, (0.25 * (_R) * (_C) * (1.0+700./(_R))), DISC_ONESHOT_RETRIG | DISC_ONESHOT_REDGE | DISC_OUT_ACTIVE_LOW) |
| 134 | 134 | |
| 135 | #define DISCRETE_BITSET(_N, _N1, _B) DISCRETE_TRANSFORM3(_N, _N1, (1 << ((_B)-1)), 0, "01&2>") | |
| 136 | ||
| 137 | 135 | /* The following formula was derived from figures 2 and 3 in LS624 datasheet. Coefficients |
| 138 | 136 | * where calculated using least square approximation. |
| 139 | 137 | * This approach gives a bit better results compared to the first approach. |
| r5490 | r5491 | |
| 194 | 192 | |
| 195 | 193 | double t1 = 0.5 / LS624_F(MARIO_CUSTOM_C1, MARIO_CUSTOM_IN1, RUN_VCO_VOLTAGE); |
| 196 | 194 | double t2 = 0.5 / LS624_F(MARIO_CUSTOM_C2, MARIO_CUSTOM_IN2, RUN_VCO_VOLTAGE); |
| 197 | double sample_t = disc | |
| 195 | double sample_t = disc | |
| 198 | 196 | double vn, t; |
| 199 | 197 | |
| 200 | 198 | //if (MARIO_CUSTOM_VOUT) |
| r5490 | r5491 | |
| 304 | 302 | |
| 305 | 303 | DISCRETE_COUNTER(NODE_100,1,0,NODE_118,0xFFFF,DISC_COUNT_UP,0,DISC_CLK_BY_COUNT) |
| 306 | 304 | |
| 307 | DISCRETE_BITSET(NODE_102, NODE_100, 4) //LS157 2B | |
| 308 | DISCRETE_BITSET(NODE_104, NODE_100, 12) //LS157 3B | |
| 305 | DISCRETE_BIT_DECODE(NODE_102, NODE_100, 3, 1) //LS157 2B | |
| 306 | DISCRETE_BIT_DECODE(NODE_104, NODE_100, 11, TTL_HIGH) //LS157 3B | |
| 309 | 307 | |
| 310 | 308 | DISCRETE_LS123(NODE_110, DS_SOUND7_INV, MR_R61, CAP_AGE(MR_C41, 0.6)) |
| 311 | 309 | DISCRETE_TRANSFORM2(NODE_111, NODE_110, TTL_HIGH, "0!1*") |
| r5490 | r5491 | |
| 314 | 312 | |
| 315 | 313 | DISCRETE_LOGIC_XOR(NODE_115, 1, NODE_102, NODE_113) |
| 316 | 314 | |
| 317 | DISCRETE_TRANSFORM2(NODE_116, NODE_104, TTL_HIGH, "0!1*") | |
| 318 | DISCRETE_RCFILTER(NODE_117, 1, NODE_116, MR_R64, MR_C43) | |
| 315 | DISCRETE_RCFILTER(NODE_117, 1, NODE_104, MR_R64, MR_C43) | |
| 319 | 316 | DISCRETE_74LS624(NODE_118, 1, NODE_117, VSS, MR_C39, DISC_LS624_OUT_COUNT_F) |
| 320 | 317 | |
| 321 | 318 | DISCRETE_LOGIC_AND(NODE_120, 1, NODE_115, NODE_110) |
| r5490 | r5491 | |
|---|---|---|
| 300 | 300 | { |
| 301 | 301 | score_sample = 7; |
| 302 | 302 | random_offset = 0; |
| 303 | dac_data[0] = dac_data[1] = 0xff; | |
| 304 | 303 | |
| 305 | 304 | state_save_register_global_array(machine, votrax_queue); |
| 306 | 305 | state_save_register_global(machine, votrax_queuepos); |
| r5490 | r5491 | |
| 540 | 539 | nmi_rate = 0; |
| 541 | 540 | nmi_timer_adjust(); |
| 542 | 541 | |
| 542 | dac_data[0] = dac_data[1] = 0xff; | |
| 543 | ||
| 543 | 544 | /* register for save states */ |
| 544 | 545 | state_save_register_global(machine, nmi_rate); |
| 545 | 546 | state_save_register_global(machine, nmi_state); |
| r5490 | r5491 | |
|---|---|---|
| 8 | 8 | |
| 9 | 9 | #include "driver.h" |
| 10 | 10 | #include "cpu/m6502/m6502.h" |
| 11 | #include "sound/5220 | |
| 11 | #include "sound/tms5220 | |
| 12 | 12 | #include "sound/pokey.h" |
| 13 | 13 | #include "jedi.h" |
| 14 | 14 |
| r5490 | r5491 | |
|---|---|---|
| 12 | 12 | #include "machine/6821pia.h" |
| 13 | 13 | #include "machine/6532riot.h" |
| 14 | 14 | #include "sound/hc55516.h" |
| 15 | #include "sound/5220 | |
| 15 | #include "sound/tms5220 | |
| 16 | 16 | #include "exidy.h" |
| 17 | 17 | |
| 18 | 18 |
| r5490 | r5491 | |
|---|---|---|
| 2067 | 2067 | |
| 2068 | 2068 | /************************************* |
| 2069 | 2069 | * |
| 2070 | * Space Walk | |
| 2071 | * | |
| 2072 | *************************************/ | |
| 2073 | ||
| 2074 | MACHINE_DRIVER_START( spacwalk_audio ) | |
| 2075 | MDRV_SPEAKER_STANDARD_MONO("mono") | |
| 2076 | MACHINE_DRIVER_END | |
| 2077 | ||
| 2078 | WRITE8_HANDLER( spacwalk_audio_1_w ) | |
| 2079 | { | |
| 2080 | coin_counter_w(0, (data >> 0) & 0x01); | |
| 2081 | ||
| 2082 | clowns_set_controller_select((data >> 1) & 0x01); | |
| 2083 | ||
| 2084 | // D2: ? | |
| 2085 | // D3: ? | |
| 2086 | // D4-7: unused? | |
| 2087 | // if (data&0xfc) printf("%02x ",data); | |
| 2088 | } | |
| 2089 | ||
| 2090 | ||
| 2091 | ||
| 2092 | /************************************* | |
| 2093 | * | |
| 2070 | 2094 | * Shuffleboard |
| 2071 | 2095 | * |
| 2072 | 2096 | *************************************/ |
| r5490 | r5491 | |
|---|---|---|
| 102 | 102 | akiko.cdrom_cmd_start = 0; |
| 103 | 103 | akiko.cdrom_cmd_end = 0; |
| 104 | 104 | akiko.cdrom_cmd_resp = 0; |
| 105 | akiko.cdrom = cdrom_open(get_disk_handle("cdrom")); | |
| 105 | akiko.cdrom = cdrom_open(get_disk_handle(machine, "cdrom")); | |
| 106 | 106 | akiko.cdrom_toc = NULL; |
| 107 | 107 | akiko.dma_timer = timer_alloc(machine, akiko_dma_proc, NULL); |
| 108 | 108 | akiko.frame_timer = timer_alloc(machine, akiko_frame_proc, NULL); |
| r5490 | r5491 | |
|---|---|---|
| 555 | 555 | break; |
| 556 | 556 | |
| 557 | 557 | case 1: /* video rom banking - bank 0 - 4k or 8k */ |
| 558 | pc10_set_videorom_bank(space->machine, 0, (vrom4k) ? 4 : 8, (mmc1_shiftreg & 0x1f), 4); | |
| 558 | if (vram) | |
| 559 | set_videoram_bank(space->machine, 0, (vrom4k) ? 4 : 8, (mmc1_shiftreg & 0x1f), 4); | |
| 560 | else | |
| 561 | pc10_set_videorom_bank(space->machine, 0, (vrom4k) ? 4 : 8, (mmc1_shiftreg & 0x1f), 4); | |
| 559 | 562 | break; |
| 560 | 563 | |
| 561 | 564 | case 2: /* video rom banking - bank 1 - 4k only */ |
| 562 | 565 | if (vrom4k) |
| 563 | pc10_set_videorom_bank(space->machine, 4, 4, (mmc1_shiftreg & 0x1f), 4); | |
| 566 | { | |
| 567 | if (vram) | |
| 568 | set_videoram_bank(space->machine, 0, (vrom4k) ? 4 : 8, (mmc1_shiftreg & 0x1f), 4); | |
| 569 | else | |
| 570 | pc10_set_videorom_bank(space->machine, 4, 4, (mmc1_shiftreg & 0x1f), 4); | |
| 571 | } | |
| 564 | 572 | break; |
| 565 | 573 | |
| 566 | 574 | case 3: /* program banking */ |
| r5490 | r5491 | |
|---|---|---|
| 6 | 6 | |
| 7 | 7 | #include "driver.h" |
| 8 | 8 | #include "video/avgdvg.h" |
| 9 | #include "sound/5220 | |
| 9 | #include "sound/tms5220 | |
| 10 | 10 | #include "cpu/m6502/m6502.h" |
| 11 | 11 | #include "mhavoc.h" |
| 12 | 12 |
| r5490 | r5491 | |
|---|---|---|
| 230 | 230 | switch (data) { |
| 231 | 231 | case 0x0004: twincobr_intenable = 0; break; |
| 232 | 232 | case 0x0005: twincobr_intenable = 1; break; |
| 233 | case 0x0006: twincobr_flipscreen(0); break; | |
| 234 | case 0x0007: twincobr_flipscreen(1); break; | |
| 233 | case 0x0006: twincobr_flipscreen(machine, 0); break; | |
| 234 | case 0x0007: twincobr_flipscreen(machine, 1); break; | |
| 235 | 235 | case 0x0008: twincobr_bg_ram_bank = 0x0000; break; |
| 236 | 236 | case 0x0009: twincobr_bg_ram_bank = 0x1000; break; |
| 237 | 237 | case 0x000a: twincobr_fg_rom_bank = 0x0000; break; |
| r5490 | r5491 | |
|---|---|---|
| 589 | 589 | UINT32 SP = 0; |
| 590 | 590 | UINT32 icount = 0; |
| 591 | 591 | |
| 592 | profiler_mark(PROFILER_USER1); | |
| 592 | profiler_mark_start(PROFILER_USER1); | |
| 593 | 593 | |
| 594 | 594 | while ((prevop->flags & (FL_DPSEL | FL_carry)) != (FL_DPSEL | FL_carry)) |
| 595 | 595 | { |
| r5490 | r5491 | |
| 842 | 842 | irmb_latch = Y; |
| 843 | 843 | } |
| 844 | 844 | } |
| 845 | profiler_mark | |
| 845 | profiler_mark | |
| 846 | 846 | |
| 847 | 847 | logerror("%d instructions for Mathbox \n", icount); |
| 848 | 848 |
| r5490 | r5491 | |
|---|---|---|
| 261 | 261 | #ifdef MESS |
| 262 | 262 | cdrom = mess_cd_get_cdrom_file(devtag_get_device( machine, "cdrom" )); |
| 263 | 263 | #else |
| 264 | cdrom = cdrom_open(get_disk_handle("cdrom")); | |
| 264 | cdrom = cdrom_open(get_disk_handle(machine, "cdrom")); | |
| 265 | 265 | #endif |
| 266 | 266 | |
| 267 | 267 | if (cdrom) |
| r5490 | r5491 | |
|---|---|---|
| 426 | 426 | #if DEBUG_SYSCTRL |
| 427 | 427 | if ((reg != 0x40) && (reg != 0x41) && (reg != 0x42) && (reg != 0x23) && (reg > 2)) // filter out IRQ status reads |
| 428 | 428 | { |
| 429 | mame_printf_verbose("SYSCTRL: [%08x] read %x @ %x (reg %x: %s), mask % | |
| 429 | mame_printf_verbose("SYSCTRL: [%08x] read %x @ %x (reg %x: %s), mask %" I64FMT "x (PC=%x)\n", 0x5f6800+reg*4, dc_sysctrl_regs[reg], offset, reg, sysctrl_names[reg], mem_mask, cpu_get_pc(space->cpu)); | |
| 430 | 430 | } |
| 431 | 431 | #endif |
| 432 | 432 | |
| r5490 | r5491 | |
| 512 | 512 | #if DEBUG_SYSCTRL |
| 513 | 513 | if ((reg != 0x40) && (reg != 0x42) && (reg > 2)) // filter out IRQ acks and ch2 dma |
| 514 | 514 | { |
| 515 | mame_printf_verbose("SYSCTRL: write % | |
| 515 | mame_printf_verbose("SYSCTRL: write %" I64FMT "x to %x (reg %x), mask %" I64FMT "x\n", data>>shift, offset, reg, /*sysctrl_names[reg],*/ mem_mask); | |
| 516 | 516 | } |
| 517 | 517 | #endif |
| 518 | 518 | } |
| r5490 | r5491 | |
| 549 | 549 | old = maple_regs[reg]; |
| 550 | 550 | |
| 551 | 551 | #if DEBUG_MAPLE_REGS |
| 552 | mame_printf_verbose("MAPLE: [%08x=%x] write % | |
| 552 | mame_printf_verbose("MAPLE: [%08x=%x] write %" I64FMT "x to %x (reg %x: %s), mask %" I64FMT "x\n", 0x5f6c00+reg*4, dat, data >> shift, offset, reg, maple_names[reg], mem_mask); | |
| 553 | 553 | #endif |
| 554 | 554 | |
| 555 | 555 | maple_regs[reg] = dat; // 5f6c00+reg*4=dat |
| r5490 | r5491 | |
| 912 | 912 | off=offset << 1; |
| 913 | 913 | } |
| 914 | 914 | |
| 915 | mame_printf_verbose("GDROM: [%08x=%x]write % | |
| 915 | mame_printf_verbose("GDROM: [%08x=%x]write %" I64FMT "x to %x, mask %" I64FMT "x\n", 0x5f7000+off*4, dat, data, offset, mem_mask); | |
| 916 | 916 | } |
| 917 | 917 | |
| 918 | 918 | READ64_HANDLER( dc_g1_ctrl_r ) |
| r5490 | r5491 | |
| 939 | 939 | old = g1bus_regs[reg]; |
| 940 | 940 | |
| 941 | 941 | g1bus_regs[reg] = dat; // 5f7400+reg*4=dat |
| 942 | mame_printf_verbose("G1CTRL: [%08x=%x] write % | |
| 942 | mame_printf_verbose("G1CTRL: [%08x=%x] write %" I64FMT "x to %x, mask %" I64FMT "x\n", 0x5f7400+reg*4, dat, data, offset, mem_mask); | |
| 943 | 943 | switch (reg) |
| 944 | 944 | { |
| 945 | 945 | case SB_GDST: |
| r5490 | r5491 | |
| 950 | 950 | mame_printf_verbose("G1CTRL: unsupported transfer\n"); |
| 951 | 951 | return; |
| 952 | 952 | } |
| 953 | // printf("ROM board DMA to %x (PC %x)\n", g1bus_regs[SB_GDSTAR], cpu_get_pc(space->cpu)); | |
| 953 | 954 | ROM = (UINT8 *)devtag_get_info_ptr(space->machine, "rom_board", DEVINFO_PTR_MEMORY); |
| 954 | 955 | dmaoffset = (UINT32)devtag_get_info_int(space->machine, "rom_board", DEVINFO_INT_DMAOFFSET); |
| 955 | 956 | ddtdata.destination=g1bus_regs[SB_GDSTAR]; // destination address |
| r5490 | r5491 | |
| 1089 | 1090 | |
| 1090 | 1091 | // from ElSemi: this makes Atomiswave do it's "verbose boot" with a Sammy logo and diagnostics instead of just running the cart. |
| 1091 | 1092 | // our PVR emulation is apparently not good enough for that to work yet though. |
| 1092 | if ( | |
| 1093 | if ( | |
| 1093 | 1094 | { |
| 1094 | return | |
| 1095 | return U64(0xffffffffffffffff); | |
| 1095 | 1096 | } |
| 1096 | 1097 | |
| 1097 | 1098 | mame_printf_verbose("MODEM: Unmapped read %08x\n", 0x600000+reg*4); |
| r5490 | r5491 | |
| 1106 | 1107 | |
| 1107 | 1108 | reg = decode_reg32_64(space->machine, offset, mem_mask, &shift); |
| 1108 | 1109 | dat = (UINT32)(data >> shift); |
| 1109 | mame_printf_verbose("MODEM: [%08x=%x] write % | |
| 1110 | mame_printf_verbose("MODEM: [%08x=%x] write %" I64FMT "x to %x, mask %" I64FMT "x\n", 0x600000+reg*4, dat, data, offset, mem_mask); | |
| 1110 | 1111 | } |
| 1111 | 1112 | |
| 1112 | 1113 | READ64_HANDLER( dc_rtc_r ) |
| r5490 | r5491 | |
| 1147 | 1148 | dc_rtcregister[RTC3] &= 1; |
| 1148 | 1149 | break; |
| 1149 | 1150 | } |
| 1150 | mame_printf_verbose("RTC: [%08x=%x] write % | |
| 1151 | mame_printf_verbose("RTC: [%08x=%x] write %" I64FMT "x to %x, mask %" I64FMT "x\n", 0x710000 + reg*4, dat, data, offset, mem_mask); | |
| 1151 | 1152 | } |
| 1152 | 1153 | |
| 1153 | 1154 | static TIMER_CALLBACK(dc_rtc_increment) |
| r5490 | r5491 | |
| 1184 | 1185 | |
| 1185 | 1186 | /*reg = */decode_reg32_64(device->machine, offset, mem_mask, &shift); |
| 1186 | 1187 | |
| 1187 | // mame_printf_verbose("AICA REG: [%08x] read % | |
| 1188 | // mame_printf_verbose("AICA REG: [%08x] read %" I64FMT "x, mask %" I64FMT "x\n", 0x700000+reg*4, (UINT64)offset, mem_mask); | |
| 1188 | 1189 | |
| 1189 | 1190 | return (UINT64) aica_r(device, offset*2, 0xffff)<<shift; |
| 1190 | 1191 | } |
| r5490 | r5491 | |
| 1214 | 1215 | |
| 1215 | 1216 | aica_w(device, offset*2, dat, shift ? ((mem_mask>>32)&0xffff) : (mem_mask & 0xffff)); |
| 1216 | 1217 | |
| 1217 | // mame_printf_verbose("AICA REG: [%08x=%x] write % | |
| 1218 | // mame_printf_verbose("AICA REG: [%08x=%x] write %" I64FMT "x to %x, mask %" I64FMT "x\n", 0x700000+reg*4, dat, data, offset, mem_mask); | |
| 1218 | 1219 | } |
| 1219 | 1220 | |
| 1220 | 1221 | READ32_DEVICE_HANDLER( dc_arm_aica_r ) |
| r5490 | r5491 | |
|---|---|---|
| 298 | 298 | /* DRIVER_INIT is called first - means we can handle this different for VRAM games! */ |
| 299 | 299 | if (NULL != vrom[0]) |
| 300 | 300 | { |
| 301 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x0000, 0x03ff, 0, 0, SMH_BANK(2), 0); | |
| 302 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x0400, 0x07ff, 0, 0, SMH_BANK(3), 0); | |
| 303 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x0800, 0x0bff, 0, 0, SMH_BANK(4), 0); | |
| 304 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x0c00, 0x0fff, 0, 0, SMH_BANK(5), 0); | |
| 305 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x1000, 0x13ff, 0, 0, SMH_BANK(6), 0); | |
| 306 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x1400, 0x17ff, 0, 0, SMH_BANK(7), 0); | |
| 307 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x1800, 0x1bff, 0, 0, SMH_BANK(8), 0); | |
| 308 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x1c00, 0x1fff, 0, 0, SMH_BANK(9), 0); | |
| 301 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x0000, 0x03ff, 0, 0, (read8_space_func)SMH_BANK(2), 0); | |
| 302 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x0400, 0x07ff, 0, 0, (read8_space_func)SMH_BANK(3), 0); | |
| 303 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x0800, 0x0bff, 0, 0, (read8_space_func)SMH_BANK(4), 0); | |
| 304 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x0c00, 0x0fff, 0, 0, (read8_space_func)SMH_BANK(5), 0); | |
| 305 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x1000, 0x13ff, 0, 0, (read8_space_func)SMH_BANK(6), 0); | |
| 306 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x1400, 0x17ff, 0, 0, (read8_space_func)SMH_BANK(7), 0); | |
| 307 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x1800, 0x1bff, 0, 0, (read8_space_func)SMH_BANK(8), 0); | |
| 308 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x1c00, 0x1fff, 0, 0, (read8_space_func)SMH_BANK(9), 0); | |
| 309 | 309 | v_set_videorom_bank(machine, 0, 8, 0, 8); |
| 310 | 310 | } |
| 311 | 311 | else |
| 312 | 312 | { |
| 313 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x0000, 0x1fff, 0, 0, SMH_BANK(2), SMH_BANK(2)); | |
| 313 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x0000, 0x1fff, 0, 0, (read8_space_func)SMH_BANK(2), (write8_space_func)SMH_BANK(2)); | |
| 314 | 314 | memory_set_bankptr(machine, 2, vram); |
| 315 | 315 | } |
| 316 | 316 | } |
| r5490 | r5491 | |
| 342 | 342 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x2000, 0x3eff, 0, 0, vsnes_nt0_r, vsnes_nt0_w); |
| 343 | 343 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu2"), ADDRESS_SPACE_PROGRAM), 0x2000, 0x3eff, 0, 0, vsnes_nt1_r, vsnes_nt1_w); |
| 344 | 344 | // read only! |
| 345 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x0000, 0x1fff, 0, 0, SMH_BANK(2), 0); | |
| 345 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu1"), ADDRESS_SPACE_PROGRAM), 0x0000, 0x1fff, 0, 0, (read8_space_func)SMH_BANK(2), 0); | |
| 346 | 346 | // read only! |
| 347 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu2"), ADDRESS_SPACE_PROGRAM), 0x0000, 0x1fff, 0, 0, SMH_BANK(3), 0); | |
| 347 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu2"), ADDRESS_SPACE_PROGRAM), 0x0000, 0x1fff, 0, 0, (read8_space_func)SMH_BANK(3), 0); | |
| 348 | 348 | memory_set_bankptr(machine, 2, vrom[0]); |
| 349 | 349 | memory_set_bankptr(machine, 3, vrom[1]); |
| 350 | 350 | } |
| r5490 | r5491 | |
| 783 | 783 | break; |
| 784 | 784 | |
| 785 | 785 | case 1: /* video rom banking - bank 0 - 4k or 8k */ |
| 786 | v_set_videorom_bank(space->machine, 0, (vrom4k) ? 4 : 8, drmario_shiftreg, (vrom4k) ? 4 : 8); | |
| 786 | if (!vram) | |
| 787 | v_set_videorom_bank(space->machine, 0, (vrom4k) ? 4 : 8, drmario_shiftreg, (vrom4k) ? 4 : 8); | |
| 787 | 788 | break; |
| 788 | 789 | |
| 789 | 790 | case 2: /* video rom banking - bank 1 - 4k only */ |
| 790 | if (vrom4k) | |
| 791 | if (vrom4k && !vram) | |
| 791 | 792 | v_set_videorom_bank(space->machine, 4, 4, drmario_shiftreg, 4); |
| 792 | 793 | break; |
| 793 | 794 |
| r5490 | r5491 | |
|---|---|---|
| 72 | 72 | snes_ppu.beam.latch_vert = video_screen_get_vpos(machine->primary_screen); |
| 73 | 73 | snes_ppu.beam.latch_horz = snes_ppu.beam.current_horz; |
| 74 | 74 | snes_ram[STAT78] |= 0x40; // indicate we latched |
| 75 | // | |
| 75 | // read_ophct = read_opvct = 0; // clear read flags - 2009-08: I think we must clear these when STAT78 is read... | |
| 76 | 76 | |
| 77 | 77 | // printf("latched @ H %d V %d\n", snes_ppu.beam.latch_horz, snes_ppu.beam.latch_vert); |
| 78 | 78 | } |
| r5490 | r5491 | |
| 372 | 372 | return snes_ppu.ppu1_open_bus; |
| 373 | 373 | |
| 374 | 374 | // According to BSNES, these should return snes_open_bus_r! |
| 375 | // case OAMADDL: | |
| 376 | // case OAMADDH: | |
| 377 | // case VMADDH: | |
| 378 | // case CGADD: | |
| 379 | // case CGDATA: | |
| 380 | // return snes_ram[offset]; | |
| 375 | // case OAMADDL: | |
| 376 | // case OAMADDH: | |
| 377 | // case VMADDH: | |
| 378 | // case CGADD: | |
| 379 | // case CGDATA: | |
| 380 | // return snes_ram[offset]; | |
| 381 | 381 | case MPYL: /* Multiplication result (low) */ |
| 382 | 382 | { |
| 383 | 383 | /* Perform 16bit * 8bit multiply */ |
| r5490 | r5491 | |
| 577 | 577 | joypad[1].oldrol&=0xf; |
| 578 | 578 | if( !(joypad[1].oldrol % 17) ) |
| 579 | 579 | value = 0x1; |
| 580 | //value |= 0x1c; | |
| 580 | //value |= 0x1c; // bits 4, 3, and 2 are always set | |
| 581 | 581 | return value | 0x1c | (snes_open_bus_r(space,0) & 0xe0); //correct? |
| 582 | 582 | } |
| 583 | 583 | case HTIMEL: |
| r5490 | r5491 | |
| 666 | 666 | } |
| 667 | 667 | |
| 668 | 668 | /* Unsupported reads returns open bus */ |
| 669 | // | |
| 669 | // printf("%02x %02x\n",offset,snes_open_bus_r(space,0)); | |
| 670 | 670 | return snes_open_bus_r(space,0); |
| 671 | 671 | } |
| 672 | 672 | |
| r5490 | r5491 | |
| 681 | 681 | // APU is mirrored from 2140 to 217f |
| 682 | 682 | if (offset >= APU00 && offset < WMDATA) |
| 683 | 683 | { |
| 684 | // | |
| 684 | // printf("816: %02x to APU @ %d\n", data, offset&3); | |
| 685 | 685 | spc_port_in[offset & 0x3] = data; |
| 686 | 686 | cpuexec_boost_interleave(space->machine, attotime_zero, ATTOTIME_IN_USEC(20)); |
| 687 | 687 | return; |
| r5490 | r5491 | |
| 2193 | 2193 | if( !length ) |
| 2194 | 2194 | length = 0x10000; /* 0x0000 really means 0x10000 */ |
| 2195 | 2195 | |
| 2196 | // | |
| 2196 | // printf( "GDMA-Ch %d: len: %X, abus: %X, bbus: %X, incr: %d, dir: %s, type: %d\n", i, length, abus, bbus, increment, snes_ram[SNES_DMA_BASE + dma] & 0x80 ? "PPU->CPU" : "CPU->PPU", snes_ram[SNES_DMA_BASE + dma] & 0x7 ); | |
| 2197 | 2197 | |
| 2198 | 2198 | #ifdef SNES_DBG_GDMA |
| 2199 | 2199 | mame_printf_debug( "GDMA-Ch %d: len: %X, abus: %X, bbus: %X, incr: %d, dir: %s, type: %d\n", i, length, abus, bbus, increment, snes_ram[SNES_DMA_BASE + dma] & 0x80 ? "PPU->CPU" : "CPU->PPU", snes_ram[SNES_DMA_BASE + dma] & 0x7 ); |
| r5490 | r5491 | |
|---|---|---|
| 11 | 11 | #include "cpu/m6502/m6502.h" |
| 12 | 12 | #include "sound/2151intf.h" |
| 13 | 13 | #include "sound/2413intf.h" |
| 14 | #include "sound/5220 | |
| 14 | #include "sound/tms5220 | |
| 15 | 15 | #include "sound/okim6295.h" |
| 16 | 16 | #include "sound/pokey.h" |
| 17 | 17 | #include "slapstic.h" |
| r5490 | r5491 | |
|---|---|---|
| 70 | 70 | Or it could really be the last address bit to allow up to 512MB of data on a cart? |
| 71 | 71 | |
| 72 | 72 | Normal address starts with 0xa0000000 to enable auto-advance and standard addressing mode. |
| 73 | ||
| 74 | ------------------------ | |
| 75 | ||
| 76 | Atomiswave ROM board specs from Cah4e3 @ http://cah4e3.wordpress.com/2009/07/26/some-atomiswave-info/ | |
| 77 | ||
| 78 | AW_EPR_OFFSETL Register addres: 0x5f7000 | |
| 79 | +-------------------------------------------------------------------------------+ | |
| 80 | | bit15-0 | | |
| 81 | +-------------------------------------------------------------------------------+ | |
| 82 | | EPR data offset low word | | |
| 83 | +-------------------------------------------------------------------------------+ | |
| 84 | ||
| 85 | AW_EPR_OFFSETH Register addres: 0x5f7004 | |
| 86 | +-------------------------------------------------------------------------------+ | |
| 87 | | bit15-0 | | |
| 88 | +-------------------------------------------------------------------------------+ | |
| 89 | | EPR data offset hi word | | |
| 90 | +-------------------------------------------------------------------------------+ | |
| 91 | ||
| 92 | Both low and high words of 32-bit offset from start of EPR-ROM area. Used for | |
| 93 | reading header and programm code data, cannot be used for reading MPR-ROMs data. | |
| 94 | ||
| 95 | AW_MPR_RECORD_INDEX Register addres: 0x5f700c | |
| 96 | +-------------------------------------------------------------------------------+ | |
| 97 | | bit15-0 | | |
| 98 | +-------------------------------------------------------------------------------+ | |
| 99 | | File system record index | | |
| 100 | +-------------------------------------------------------------------------------+ | |
| 101 | ||
| 102 | This register contains index of MPR-ROM file system record (64-bytes in size) to | |
| 103 | read throught DMA. Internal DMA offset register is assigned as AW_MPR_RECORD_INDEX<<6 | |
| 104 | from start of MPR-ROM area. Size of DMA transaction not limited, it is possible | |
| 105 | to read any number of records or just part of it. | |
| 106 | ||
| 107 | AW_MPR_FIRST_FILE_INDEX Register addres: 0x5f7010 | |
| 108 | +-------------------------------------------------------------------------------+ | |
| 109 | | bit15-0 | | |
| 110 | +-------------------------------------------------------------------------------+ | |
| 111 | | First file record index | | |
| 112 | +-------------------------------------------------------------------------------+ | |
| 113 | ||
| 114 | This register assign for internal cart circuit index of record in MPR-ROM file | |
| 115 | system sub-area that contain information about first file of MPR-ROM files | |
| 116 | sub-area. Internal circuit using this record to read absolute first file offset | |
| 117 | from start of MPR-ROM area and calculate normal offset for each other file | |
| 118 | requested, since MPR-ROM file data sub-area can be assighed only with relative | |
| 119 | offsets from start of such sub-area. | |
| 120 | ||
| 121 | AW_MPR_FILE_OFFSETL Register addres: 0x5f7014 | |
| 122 | +-------------------------------------------------------------------------------+ | |
| 123 | | bit15-0 | | |
| 124 | +-------------------------------------------------------------------------------+ | |
| 125 | | MPR file offset low word | | |
| 126 | +-------------------------------------------------------------------------------+ | |
| 127 | ||
| 128 | AW_MPR_FILE_OFFSETH Register addres: 0x5f7018 | |
| 129 | +-------------------------------------------------------------------------------+ | |
| 130 | | bit15-0 | | |
| 131 | +-------------------------------------------------------------------------------+ | |
| 132 | | MPR file offset hi word | | |
| 133 | +-------------------------------------------------------------------------------+ | |
| 134 | ||
| 135 | Both low and high words of 32-bit relative offset from start of MPR-ROM files | |
| 136 | sub-area. Used by internal circuit to calculate absolute offset using data | |
| 137 | from AW_MPR_FIRST_FILE_INDEX register. Cannot be used for reading EPR-ROM | |
| 138 | data nor even MPR-ROM file system sub-area data. | |
| 139 | ||
| 140 | In short: | |
| 141 | ||
| 142 | EPR-ROM | |
| 143 | +--------------+ 0x00000000 | |
| 144 | | | | |
| 145 | | HEADER +- AW_EPR_OFFSET << 1 | |
| 146 | | | | |
| 147 | +--------------+ | |
| 148 | | | | |
| 149 | | CODE +- AW_EPR_OFFSET << 1 | |
| 150 | | | | |
| 151 | | | | |
| 152 | +--------------+ 0x007fffff | |
| 153 | ||
| 154 | MPR-ROMS | |
| 155 | +--------------+ 0x00000000 | |
| 156 | | FS_HEADER | | |
| 157 | | FS_RECORD[1] +- (AW_MPR_RECORD_INDEX << 6) | |
| 158 | | FS_RECORD[2] | | |
| 159 | | FS_RECORD[3] +- (AW_MPR_FIRST_FILE_INDEX << 6) | |
| 160 | | ... | | |
| 161 | | FS_RECORD[N] | | |
| 162 | +--------------+- FS_RECORD[AW_MPR_FIRST_FILE_INDEX].FILE_ABS_OFFSET | |
| 163 | | FILE_0 | | |
| 164 | | FILE_1 +- (AW_MPR_FILE_OFFSET << 1) + FS_RECORD[AW_MPR_FIRST_FILE_INDEX].FILE_ABS_OFFSET | |
| 165 | | ... | | |
| 166 | | FILE_N | | |
| 167 | +--------------+ 0x07ffffff | |
| 168 | ||
| 73 | 169 | */ |
| 74 | 170 | |
| 75 | 171 | // NOTE: all accesses are 16 or 32 bits wide but only 16 bits are valid |
| r5490 | r5491 | |
| 125 | 221 | UINT32 rom_offset, rom_offset_flags, dma_count; |
| 126 | 222 | UINT32 dma_offset, dma_offset_flags; |
| 127 | 223 | UINT32 prot_offset, prot_key; |
| 224 | UINT32 aw_offset, aw_file_base, aw_file_offset; | |
| 128 | 225 | |
| 129 | 226 | UINT32 *prot_translate; |
| 130 | 227 | int prot_reverse_bytes; |
| r5490 | r5491 | |
| 230 | 327 | state_save_register_device_item(device, 0, v->dma_offset_flags); |
| 231 | 328 | state_save_register_device_item(device, 0, v->prot_offset); |
| 232 | 329 | state_save_register_device_item(device, 0, v->prot_key); |
| 330 | state_save_register_device_item(device, 0, v->aw_offset); | |
| 331 | state_save_register_device_item(device, 0, v->aw_file_base); | |
| 332 | state_save_register_device_item(device, 0, v->aw_file_offset); | |
| 233 | 333 | } |
| 234 | 334 | |
| 235 | 335 | |
| r5490 | r5491 | |
| 257 | 357 | naomibd_state *v = get_safe_token(device); |
| 258 | 358 | UINT8 *ROM = (UINT8 *)v->memory; |
| 259 | 359 | |
| 360 | // AW board is different, shouldn't ever be read | |
| 361 | if (v->type == AW_ROM_BOARD) | |
| 362 | { | |
| 363 | mame_printf_debug("AW_ROM_BOARD read @ %x mask %" I64FMT "x\n", offset, mem_mask); | |
| 364 | return U64(0xffffffffffffffff); | |
| 365 | } | |
| 366 | ||
| 260 | 367 | // ROM_DATA |
| 261 | 368 | if ((offset == 1) && ACCESSING_BITS_0_15) |
| 262 | 369 | { |
| r5490 | r5491 | |
| 288 | 395 | } |
| 289 | 396 | else |
| 290 | 397 | { |
| 291 | | |
| 398 | loge | |
| 292 | 399 | } |
| 293 | 400 | } |
| 294 | 401 | else |
| r5490 | r5491 | |
| 343 | 450 | } |
| 344 | 451 | else |
| 345 | 452 | { |
| 346 | //mame_printf_verbose("%s:ROM: read mask % | |
| 453 | //mame_printf_verbose("%s:ROM: read mask %" I64FMT "x @ %x\n", cpuexec_describe_context(machine), mem_mask, offset); | |
| 347 | 454 | } |
| 348 | 455 | |
| 349 | 456 | return U64(0xffffffffffffffff); |
| r5490 | r5491 | |
| 354 | 461 | naomibd_state *v = get_safe_token(device); |
| 355 | 462 | INT32 i; |
| 356 | 463 | |
| 464 | // AW board | |
| 465 | if (v->type == AW_ROM_BOARD) | |
| 466 | { | |
| 467 | //printf("AW: %" I64FMT "x to ROM board @ %x (mask %" I64FMT "x)\n", data, offset, mem_mask); | |
| 468 | ||
| 469 | switch (offset) | |
| 470 | { | |
| 471 | case 0: | |
| 472 | { | |
| 473 | if(ACCESSING_BITS_0_15) | |
| 474 | { | |
| 475 | // EPR_OFFSETL | |
| 476 | v->aw_offset &= 0xffff0000; | |
| 477 | v->aw_offset |= (data & 0xffff); | |
| 478 | v->dma_offset = v->aw_offset*2; | |
| 479 | //printf("EPR_OFFSETL = %x, dma_offset %x\n", (UINT32)data, v->dma_offset); | |
| 480 | } | |
| 481 | else if(ACCESSING_BITS_32_47 || ACCESSING_BITS_32_63) | |
| 482 | { | |
| 483 | // EPR_OFFSETH | |
| 484 | v->aw_offset &= 0xffff; | |
| 485 | v->aw_offset |= ((data>>16) & 0xffff0000); | |
| 486 | v->dma_offset = v->aw_offset*2; | |
| 487 | v->dma_offset_flags = NAOMIBD_FLAG_ADDRESS_SHUFFLE|NAOMIBD_FLAG_AUTO_ADVANCE; // force normal DMA mode | |
| 488 | //printf("EPR_OFFSETH = %x, dma_offset %x\n", (UINT32)(data>>32), v->dma_offset); | |
| 489 | } | |
| 490 | ||
| 491 | } | |
| 492 | break; | |
| 493 | ||
| 494 | case 1: | |
| 495 | { | |
| 496 | if(ACCESSING_BITS_32_47 || ACCESSING_BITS_32_63) | |
| 497 | { | |
| 498 | // MPR_RECORD_INDEX | |
| 499 | //printf("%x to RECORD_INDEX\n", (UINT32)(data>>32)); | |
| 500 | v->dma_offset = 0x1000000 + (0x40 * (data>>32)); | |
| 501 | } | |
| 502 | } | |
| 503 | break; | |
| 504 | ||
| 505 | case 2: | |
| 506 | { | |
| 507 | if(ACCESSING_BITS_0_15) | |
| 508 | { | |
| 509 | UINT8 *ROM = (UINT8 *)v->memory; | |
| 510 | UINT32 base; | |
| 511 | ||
| 512 | // MPR_FIRST_FILE_INDEX (usually 3) | |
| 513 | base = data * 64; | |
| 514 | v->aw_file_base = ROM[0x100000b+base]<<24 | ROM[0x100000a+base]<<16 | ROM[0x1000009+base]<<8 | ROM[0x1000008+base]; | |
| 515 | v->aw_file_base += 0x1000000; | |
| 516 | //printf("%x to FIRST_FILE_INDEX, file_base = %x\n", (UINT32)data, v->aw_file_base); | |
| 517 | } | |
| 518 | else if(ACCESSING_BITS_32_47 || ACCESSING_BITS_32_63) | |
| 519 | { | |
| 520 | // MPR_FILE_OFFSETL | |
| 521 | v->aw_file_offset &= 0xffff0000; | |
| 522 | v->aw_file_offset |= (data>>32) & 0xffff; | |
| 523 | v->dma_offset = v->aw_file_base + (v->aw_file_offset*2); | |
| 524 | //printf("%x to FILE_OFFSETL, file_offset %x, dma_offset %x\n", (UINT32)(data>>32), v->aw_file_offset, v->dma_offset); | |
| 525 | } | |
| 526 | } | |
| 527 | break; | |
| 528 | ||
| 529 | case 3: | |
| 530 | { | |
| 531 | if(ACCESSING_BITS_0_15) | |
| 532 | { | |
| 533 | // MPR_FILE_OFFSETH | |
| 534 | v->aw_file_offset &= 0xffff; | |
| 535 | v->aw_file_offset |= (data & 0xffff)<<16; | |
| 536 | v->dma_offset = v->aw_file_base + (v->aw_file_offset*2); | |
| 537 | //printf("%x to FILE_OFFSETH, file_offset %x, dma_offset %x\n", (UINT32)data, v->aw_file_offset, v->dma_offset); | |
| 538 | } | |
| 539 | } | |
| 540 | break; | |
| 541 | ||
| 542 | default: | |
| 543 | logerror("AW: unhandled %" I64FMT "x to ROM board @ %x (mask %" I64FMT "x)\n", data, offset, mem_mask); | |
| 544 | break; | |
| 545 | } | |
| 546 | ||
| 547 | return; | |
| 548 | } | |
| 549 | ||
| 357 | 550 | switch(offset) |
| 358 | 551 | { |
| 359 | 552 | case 0: |
| r5490 | r5491 | |
| 381 | 574 | v->dma_offset &= 0xffff; |
| 382 | 575 | v->dma_offset |= (data >> 16) & 0x1fff0000; |
| 383 | 576 | 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 | } | |
| 398 | 577 | } |
| 399 | 578 | if(ACCESSING_BITS_0_15) |
| 400 | 579 | { |
| r5490 | r5491 | |
| 414 | 593 | case 0x1fffc: // decryption key |
| 415 | 594 | v->prot_key = data; |
| 416 | 595 | |
| 417 | ||
| 596 | // printf | |
| 418 | 597 | |
| 419 | 598 | // translate address if necessary |
| 420 | 599 | if (v->prot_translate != NULL) |
| r5490 | r5491 | |
| 453 | 632 | } |
| 454 | 633 | else |
| 455 | 634 | { |
| 456 | | |
| 635 | loge | |
| 457 | 636 | } |
| 458 | 637 | break; |
| 459 | 638 | |
| r5490 | r5491 | |
| 516 | 695 | } |
| 517 | 696 | break; |
| 518 | 697 | default: |
| 519 | mame_printf_verbose("%s: ROM: write % | |
| 698 | mame_printf_verbose("%s: ROM: write %" I64FMT "x to %x, mask %" I64FMT "x\n", cpuexec_describe_context(device->machine), data, offset, mem_mask); | |
| 520 | 699 | break; |
| 521 | 700 | } |
| 522 | 701 | } |
| r5490 | r5491 | |
| 747 | 926 | v->protdata = (UINT8 *)memory_region(device->machine, "naomibd_prot"); |
| 748 | 927 | break; |
| 749 | 928 | |
| 929 | case AW_ROM_BOARD: | |
| 930 | v->memory = (UINT8 *)memory_region(device->machine, config->regiontag); | |
| 931 | break; | |
| 932 | ||
| 750 | 933 | case DIMM_BOARD: |
| 751 | 934 | v->memory = (UINT8 *)memory_region(device->machine, config->regiontag); |
| 752 | v->gdromchd = get_disk_handle(config->gdromregiontag); | |
| 935 | v->gdromchd = get_disk_handle(device->machine, config->gdromregiontag); | |
| 753 | 936 | v->picdata = (UINT8 *)memory_region(device->machine, config->picregiontag); |
| 754 | 937 | load_rom_gdrom(device->machine, v); |
| 755 | 938 | break; |
| r5490 | r5491 | |
| 846 | 1029 | case DEVINFO_INT_TOKEN_BYTES: info->i = sizeof(naomibd_state); break; |
| 847 | 1030 | case DEVINFO_INT_INLINE_CONFIG_BYTES: info->i = sizeof(naomibd_config); break; |
| 848 | 1031 | case DEVINFO_INT_CLASS: info->i = DEVICE_CLASS_PERIPHERAL; break; |
| 849 | case DEVINFO_INT_DMAOFFSET: info->i = get_safe_token(device)->dma_offset; break; | |
| 1032 | case DEVINFO_INT_DMAOFFSET: | |
| 1033 | // printf("DMA source %x, flags %x\n", get_safe_token(device)->dma_offset, get_safe_token(device)->dma_offset_flags); | |
| 850 | 1034 | |
| 1035 | // if the flag is cleared that lets the protection chip go, | |
| 1036 | // we need to handle this specially. | |
| 1037 | if (!(get_safe_token(device)->dma_offset_flags & NAOMIBD_FLAG_ADDRESS_SHUFFLE)) | |
| 1038 | { | |
| 1039 | if (!strcmp(device->machine->gamedrv->name, "qmegamis")) | |
| 1040 | { | |
| 1041 | info->i = 0x9000000; | |
| 1042 | break; | |
| 1043 | } | |
| 1044 | else if (!strcmp(device->machine->gamedrv->name, "mvsc2")) | |
| 1045 | { | |
| 1046 | switch (get_safe_token(device)->dma_offset) | |
| 1047 | { | |
| 1048 | case 0x08000000: info->i = 0x8800000; break; | |
| 1049 | case 0x08026440: info->i = 0x8830000; break; | |
| 1050 | case 0x0803bda0: info->i = 0x8850000; break; | |
| 1051 | case 0x0805a560: info->i = 0x8870000; break; | |
| 1052 | case 0x0805b720: info->i = 0x8880000; break; | |
| 1053 | case 0x0808b7e0: info->i = 0x88a0000; break; | |
| 1054 | default: | |
| 1055 | info->i = get_safe_token(device)->dma_offset; | |
| 1056 | break; | |
| 1057 | } | |
| 1058 | ||
| 1059 | return; | |
| 1060 | } | |
| 1061 | else | |
| 1062 | { | |
| 1063 | logerror("Protected DMA not handled for this game (dma_offset %x)\n", get_safe_token(device)->dma_offset); | |
| 1064 | } | |
| 1065 | } | |
| 1066 | ||
| 1067 | info->i = get_safe_token(device)->dma_offset; | |
| 1068 | break; | |
| 1069 | ||
| 851 | 1070 | /* --- the following bits of info are returned as pointers --- */ |
| 852 | 1071 | case DEVINFO_PTR_ROM_REGION: info->romregion = NULL; break; |
| 853 | 1072 | case DEVINFO_PTR_MACHINE_CONFIG: info->machine_config = NULL; break; |
| r5490 | r5491 | |
| 865 | 1084 | { |
| 866 | 1085 | default: |
| 867 | 1086 | case ROM_BOARD: strcpy(info->s, "Naomi Rom Board"); break; |
| 1087 | case AW_ROM_BOARD: strcpy(info->s, "Atomiswave Rom Board"); break; | |
| 868 | 1088 | case DIMM_BOARD: strcpy(info->s, "Naomi Dimm Board"); break; |
| 869 | 1089 | } |
| 870 | 1090 | break; |
| 871 | case DEVINFO_STR_FAMILY: strcpy(info->s, "Naomi plug-in board"); break; | |
| 1091 | case DEVINFO_STR_FAMILY: strcpy(info->s, "Naomi/Atomiswave plug-in board"); break; | |
| 872 | 1092 | case DEVINFO_STR_VERSION: strcpy(info->s, "1.0"); break; |
| 873 | 1093 | case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break; |
| 874 | 1094 | case DEVINFO_STR_CREDITS: strcpy(info->s, "Copyright Nicola Salmoria and the MAME Team"); break; |
| 875 | 1095 | } |
| 876 | 1096 | } |
| 877 |
| r5490 | r5491 | |
|---|---|---|
| 350 | 350 | |
| 351 | 351 | */ |
| 352 | 352 | |
| 353 | /* | |
| 354 | ||
| 355 | ||
| 356 | Status | |
| 357 | ||
| 358 | Blocks marked ** are decrypted and verified | |
| 359 | ~~ means I have the data to study | |
| 360 | ||
| 361 | (Shogun Warriors) | |
| 362 | ||
| 363 | Block 10 Found Base 0060 - Mode? 01 Unknown 14 Key 00 Length 0532 | |
| 364 | Block 11 Found Base 0598 - Mode? 01 Unknown 48 Key 00 Length 03f4 | |
| 365 | ||
| 366 | ** Block 19 Found Base 09bc - Mode? 03 Unknown 01 Key 01 Length 00da | |
| 367 | ||
| 368 | Block 30 Found Base 0b20 - Mode? 02 Unknown 01 Key 10 Length 022a | |
| 369 | Block 31 Found Base 0d50 - Mode? 02 Unknown 03 Key 11 Length 0246 | |
| 370 | Block 32 Found Base 0f9c - Mode? 02 Unknown 01 Key 12 Length 0226 | |
| 371 | Block 33 Found Base 11c8 - Mode? 02 Unknown 02 Key 13 Length 0216 | |
| 372 | Block 34 Found Base 13e4 - Mode? 02 Unknown 02 Key 14 Length 0226 | |
| 373 | Block 35 Found Base 1610 - Mode? 02 Unknown 03 Key 15 Length 024a | |
| 374 | Block 36 Found Base 1860 - Mode? 02 Unknown 03 Key 16 Length 0222 | |
| 375 | Block 37 Found Base 1a88 - Mode? 02 Unknown 02 Key 17 Length 0216 | |
| 376 | Block 38 Found Base 1ca4 - Mode? 02 Unknown 02 Key 18 Length 0222 | |
| 377 | Block 39 Found Base 1ecc - Mode? 02 Unknown 01 Key 19 Length 0206 | |
| 378 | Block 3a Found Base 20d8 - Mode? 02 Unknown 01 Key 1a Length 0202 | |
| 379 | Block 3b Found Base 22e0 - Mode? 02 Unknown 02 Key 1b Length 021e | |
| 380 | ||
| 381 | ** Block 40 Found Base 251c - Inline Encryption (size 22) - Mode? 01 Unknown 03 Key (unused?) 62 Length 1008 | |
| 382 | ** Block 41 Found Base 354c - Mode? 01 Unknown 7c Key 00 Length 1008 | |
| 383 | ||
| 384 | ** Block 58 Found Base 45de - Mode? 01 Unknown 02 Key 15 Length 1d4e | |
| 385 | ||
| 386 | Block 60 Found Base 635c - Mode? 02 Unknown 3f Key b0 Length 00e6 | |
| 387 | Block 61 Found Base 6448 - Mode? 02 Unknown 3f Key 31 Length 00e6 | |
| 388 | Block 62 Found Base 6534 - Mode? 02 Unknown 3f Key 32 Length 00e6 | |
| 389 | Block 63 Found Base 6620 - Inline Encryption (size 33) - Mode? 02 Unknown 3f Key (unused?) 73 Length 00e6 | |
| 390 | Block 64 Found Base 673f - Mode? 02 Unknown 3f Key 34 Length 00e6 | |
| 391 | Block 65 Found Base 682b - Inline Encryption (size 35) - Mode? 02 Unknown 3f Key (unused?) 75 Length 00e6 | |
| 392 | Block 66 Found Base 694c - Mode? 02 Unknown 3f Key 36 Length 00e6 | |
| 393 | Block 67 Found Base 6a38 - Mode? 02 Unknown 3f Key b7 Length 00e6 | |
| 394 | Block 68 Found Base 6b24 - Mode? 02 Unknown 3f Key 38 Length 00e6 | |
| 395 | Block 69 Found Base 6c10 - Inline Encryption (size 39) - Mode? 02 Unknown 3f Key (unused?) 79 Length 00e6 | |
| 396 | Block 6a Found Base 6d35 - Mode? 02 Unknown 3f Key 3a Length 00e6 | |
| 397 | Block 6b Found Base 6e21 - Mode? 02 Unknown 3f Key bb Length 00e6 | |
| 398 | ||
| 399 | ** Block 80 Found Base 6f85 - Mode? 00 Unknown 3f Key 01 Length 02b0 | |
| 400 | ||
| 401 | ||
| 402 | (BRap Boys Special) | |
| 403 | ||
| 404 | ** Block 10 Found Base 0060 - Mode? 01 Unknown 02 Key 04 Length 00d0 | |
| 405 | ** Block 11 Found Base 0136 - Inline Encryption (size 13) - Mode? 00 Unknown 3f Key (unused?) 53 Length 00fe | |
| 406 | ** Block 12 Found Base 024d - Mode? 02 Unknown 38 Key 00 Length 0050 | just a shift | |
| 407 | ** Block 13 Found Base 02a3 - Mode? 02 Unknown 6f Key bc Length 09e0 | shift 2 places - (test mode code / data!) | |
| 408 | ** Block 14 Found Base 0c89 - Mode? 03 Unknown 01 Key 31 Length 1880 | just a table | |
| 409 | ** Block 15 Found Base 250f - Mode? 02 Unknown 3f Key 24 Length 03b8 | shift 3 places + table, contains GAME OVER, CONTINUE | |
| 410 | ** Block 16 Found Base 28cd - Mode? 01 Unknown 03 Key 80 Length 018a | |
| 411 | ** Block 17 Found Base 2a5d - Mode? 01 Unknown 1f Key 15 Length 018a | |
| 412 | -- Block 18 Found Base 2bed - Mode? 01 Unknown 44 Key 00 Length 0184 | |
| 413 | ** Block 19 Found Base 2d77 - Mode? 01 Unknown 03 Key 19 Length 0184 | just a table | |
| 414 | Block 1a Found Base 2f01 - Inline Encryption (size 21) - Mode? 02 Unknown 3f Key (unused?) 61 Length 0a24 | |
| 415 | Block 1b Found Base 394c - Mode? 01 Unknown 5f Key 22 Length 0e02 | |
| 416 | Block 1c Found Base 4754 - Mode? 01 Unknown 1f Key 3f Length 0e02 | |
| 417 | Block 1d Found Base 555c - Mode? 01 Unknown 03 Key bf Length 0e02 | |
| 418 | Block 1e Found Base 6364 - Mode? 01 Unknown 01 Key 24 Length 0e02 | |
| 419 | ** Block 1f Found Base 716c - Mode? 02 Unknown 1f Key 39 Length 02ac | 1 place shift + table | |
| 420 | Block 20 Found Base 741e - Mode? 03 Unknown 03 Key af Length 01a4 | |
| 421 | Block 21 Found Base 75c8 - Inline Encryption (size 3d) - Mode? 03 Unknown 2f Key (unused?) 7d Length 01fa | |
| 422 | ** Block 22 Found Base 7805 - Mode? 03 Unknown 1f Key 17 Length 010c | 1 place shift + table | |
| 423 | ** Block 23 Found Base 7917 - Mode? 03 Unknown 03 Key 89 Length 018c | just a table | |
| 424 | ~~ Block 24 Found Base 7aa9 - Inline Encryption (size 03) - Mode? 03 Unknown 5f Key (unused?) 43 Length 0214 | |
| 425 | Block 25 Found Base 7cc6 - Inline Encryption (size 1d) - Mode? 03 Unknown 02 Key (unused?) 5d Length 0178 | |
| 426 | Block 26 Found Base 7e61 - Mode? 03 Unknown 03 Key 05 Length 04e2 | |
| 427 | Block 27 Found Base 8349 - Mode? 03 Unknown 3f Key a7 Length 00fa | |
| 428 | Block 28 Found Base 8449 - Inline Encryption (size 23) - Mode? 03 Unknown 1f Key (unused?) 63 Length 015a | |
| 429 | Block 29 Found Base 85cc - Mode? 03 Unknown 03 Key 15 Length 00d6 | |
| 430 | Block 2a Found Base 86a8 - Mode? 03 Unknown 3f Key a1 Length 00aa | |
| 431 | Block 2b Found Base 8758 - Mode? 03 Unknown 2f Key 04 Length 01a2 | |
| 432 | Block 2c Found Base 8900 - Mode? 03 Unknown 2f Key 04 Length 04cc | |
| 433 | Block 2d Found Base 8dd2 - Mode? 03 Unknown 03 Key 15 Length 0486 | |
| 434 | ||
| 435 | */ | |
| 436 | ||
| 353 | 437 | UINT16 calc3_mcu_crc; |
| 354 | 438 | |
| 355 | 439 | /* decryption tables */ |
| 356 | 440 | |
| 357 | /* table 0x00 = not encrypted? */ | |
| 358 | static UINT8 calc3_table00[64] = { | |
| 441 | /* table 0x00 = not encrypted? (but can still be bitswapped) */ | |
| 442 | static UINT8 calc3_key00[64] = { | |
| 359 | 443 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
| 360 | 444 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
| 361 | 445 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
| r5490 | r5491 | |
| 363 | 447 | }; |
| 364 | 448 | |
| 365 | 449 | /* ok */ |
| 366 | static UINT8 calc3_ | |
| 450 | static UINT8 calc3_k | |
| 367 | 451 | 0xce,0xab,0xa1,0xaa,0x20,0x20,0xcb,0x57,0x5b,0x65,0xd6,0x65,0x5e,0x92,0x6c,0x0a, |
| 368 | 452 | 0xf8,0xea,0xb6,0xfd,0x76,0x35,0x47,0xaf,0xed,0xe0,0xcc,0x4d,0x4c,0xd6,0x74,0x78, |
| 369 | 453 | 0x20,0x1c,0x1f,0xc1,0x25,0x2e,0x49,0xe7,0x90,0x1b,0xb4,0xcf,0x1e,0x61,0xd7,0x46, |
| r5490 | r5491 | |
| 371 | 455 | }; |
| 372 | 456 | |
| 373 | 457 | /* ok - shogwarr */ |
| 374 | static UINT8 calc3_ | |
| 458 | static UINT8 calc3_k | |
| 375 | 459 | 0x0C,0xEB,0x30,0x25,0xA8,0xED,0xE3,0x23,0xAC,0x2B,0x8D,0x34,0x88,0x9F,0x55,0xB5, |
| 376 | 460 | 0xBF,0x15,0xE3,0x7C,0x54,0xD4,0x72,0xA9,0x7E,0x80,0x27,0x9F,0xA3,0x3F,0xA1,0x4D, |
| 377 | 461 | 0x84,0x1B,0xD1,0xB2,0xB5,0xA7,0x0C,0xA0,0x51,0xE6,0x5E,0xC0,0xEB,0x68,0x22,0xD6, |
| 378 | 462 | 0xC8,0xB6,0xCF,0x46,0x4B,0xF0,0x15,0xD7,0xB0,0xB5,0x29,0xB8,0xFD,0x43,0x5C,0xC0 |
| 379 | 463 | }; |
| 380 | 464 | |
| 465 | ||
| 381 | 466 | /* ok - brapboys initial transfer */ |
| 382 | static UINT8 calc3_ | |
| 467 | static UINT8 calc3_k | |
| 383 | 468 | 0xff,0x4a,0x62,0xa3,0xf4,0xb4,0x8c,0x2d,0x84,0xbd,0x87,0x3a,0x9e,0xe9,0xd7,0x12, |
| 384 | 469 | 0xff,0x50,0x40,0x39,0xa6,0x47,0xd9,0x38,0x89,0x3c,0x62,0xa0,0x86,0xe2,0xd7,0x4d, |
| 385 | 470 | 0x9c,0x8e,0x45,0xe8,0x5b,0xe1,0xdd,0xaf,0x99,0xa8,0x47,0x79,0x67,0x00,0x38,0xf4, |
| 386 | 471 | 0x43,0xbe,0x47,0x32,0x8f,0x0e,0xfd,0x64,0x42,0x59,0x2b,0xe5,0xde,0x6d,0x80,0x7a, |
| 387 | 472 | }; |
| 388 | 473 | |
| 474 | static UINT8 calc3_key17[64] = { | |
| 475 | 0x1b,0x48,0xa4,0xdd,0x2e,0x7a,0xe3,0xd1,0x6d,0x9e,0x49,0x31,0xdb,0x13,0xe6,0x00, | |
| 476 | 0xf1,0x8f,0xcb,0x3f,0x23,0xc1,0xf3,0xb4,0x30,0x35,0xf4,0xea,0x2c,0x77,0x65,0x79, | |
| 477 | 0x4e,0x7b,0x0e,0x87,0x79,0x3c,0xd1,0x8f,0x8b,0xa4,0x5a,0x61,0x68,0xac,0x87,0x6b, | |
| 478 | 0xc4,0xc4,0x98,0x36,0xb3,0x75,0x16,0x33,0xf2,0x45,0x84,0xb8,0xf2,0xdb,0xc7,0x46, | |
| 479 | }; | |
| 389 | 480 | |
| 390 | /* partial guessed tables | |
| 391 | unsigned 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 | |
| 481 | static UINT8 calc3_key19[64] = { | |
| 482 | 0x30,0x72,0xe0,0xca,0xa4,0xe5,0x41,0x44,0xd4,0xfe,0xe6,0x82,0x3e,0x85,0x18,0x30, | |
| 483 | 0x50,0x17,0x9f,0x77,0xf8,0xcb,0xb0,0xc4,0xed,0x16,0x96,0xca,0xba,0xec,0x22,0xca, | |
| 484 | 0x8f,0x28,0xd3,0x12,0xc6,0x2e,0xc4,0xc3,0x36,0xcf,0x59,0xd8,0x3a,0x6c,0xa7,0x64, | |
| 485 | 0x7f,0x5f,0xa6,0x1b,0x90,0x96,0x19,0x14,0x22,0x81,0x38,0xcd,0x20,0x2f,0x22,0x70, | |
| 397 | 486 | }; |
| 398 | 487 | |
| 488 | static UINT8 calc3_key24[64] = { | |
| 489 | 0x75,0x49,0x7a,0xd6,0x84,0xbd,0x70,0xbe,0x10,0x19,0x6c,0xb2,0xa9,0x5f,0x6b,0x78, | |
| 490 | 0x14,0x29,0x2a,0x15,0xd0,0x4a,0x10,0x93,0x69,0xb2,0xdf,0x02,0x7f,0x92,0x19,0xbd, | |
| 491 | 0x95,0xc1,0x32,0xee,0x99,0x5e,0x7a,0x55,0x37,0xb7,0xc8,0x45,0xdc,0x6a,0xe6,0xef, | |
| 492 | 0x8b,0xca,0xbe,0xe2,0x63,0x85,0x49,0xd3,0xeb,0x83,0x32,0x9a,0x23,0x11,0x4c,0x7e, | |
| 493 | }; | |
| 399 | 494 | |
| 400 | unsigned 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 | |
| 495 | static UINT8 calc3_key31[64] = { | |
| 496 | 0x02,0x21,0x0f,0xf2,0x98,0xc6,0xa7,0x51,0xbd,0x50,0xe6,0xc6,0x8d,0x15,0xb4,0xc5, | |
| 497 | 0x18,0x99,0x78,0x45,0xeb,0xe4,0x09,0xfa,0x5c,0xa4,0x51,0x4f,0x98,0x02,0xc0,0x24, | |
| 498 | 0x6d,0x44,0x77,0x4b,0xd7,0x26,0x2f,0xc3,0x4c,0xf8,0xee,0xb1,0xc7,0x76,0x68,0x22, | |
| 499 | 0x94,0x6a,0x35,0x82,0xe0,0x02,0xb7,0xda,0xff,0xf2,0xc7,0xcc,0x7b,0x48,0x25,0x4f, | |
| 406 | 500 | }; |
| 407 | 501 | |
| 408 | unsigned 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 | |
| 502 | static UINT8 calc3_key39[64] = { | |
| 503 | 0x7d,0xf8,0x54,0xc5,0x74,0xf6,0x54,0x1d,0x40,0xe1,0x71,0xc2,0xdd,0x03,0x72,0xdf, | |
| 504 | 0x3b,0x77,0xa1,0x1c,0xc7,0xd6,0xb1,0x67,0xb7,0x13,0x6f,0xf4,0x18,0xa4,0x2a,0x82, | |
| 505 | 0x98,0xe3,0xe3,0xe1,0x12,0xb3,0x33,0xb1,0xde,0x66,0xff,0x6c,0xd5,0xde,0xdd,0xa6, | |
| 506 | 0x26,0xf3,0x44,0x94,0xdb,0x15,0x76,0xcc,0x28,0x33,0x2d,0x4b,0x79,0xdb,0x06,0xbc | |
| 414 | 507 | }; |
| 415 | 508 | |
| 416 | unsigned 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 | |
| 509 | static UINT8 calc3_key80[64] = { | |
| 510 | 0x33,0x8e,0x6f,0x22,0xac,0x01,0x9f,0x7a,0xc7,0xca,0x23,0xc4,0xa4,0x9c,0x07,0xf8, | |
| 511 | 0x98,0xc1,0x17,0x4a,0xb2,0xbc,0xcc,0xf4,0x0e,0x2e,0xf6,0x35,0xdd,0xf6,0x29,0x9a, | |
| 512 | 0x2f,0x9c,0xe8,0x7c,0x86,0xf0,0x93,0xca,0x1a,0xee,0x10,0x08,0xec,0xe5,0x3a,0x98, | |
| 513 | 0x8c,0xd8,0x0d,0x39,0xaa,0x25,0x8d,0xcd,0x5d,0x64,0x7a,0x5f,0x35,0x92,0xb5,0x64, | |
| 422 | 514 | }; |
| 423 | */ | |
| 424 | 515 | |
| 516 | static UINT8 calc3_key89[64] = { | |
| 517 | 0xdd,0xa9,0x15,0x18,0x9d,0x01,0x24,0x9c,0xed,0x7a,0xeb,0x42,0x8b,0x9e,0xf3,0x72, | |
| 518 | 0x26,0xc9,0x45,0x18,0xea,0xd2,0x54,0x5f,0xcf,0xed,0xac,0xbc,0xa1,0xd0,0x5f,0x2f, | |
| 519 | 0xce,0x15,0x2a,0xc6,0xf1,0xe0,0x69,0x62,0x22,0xc1,0xc0,0xbd,0xfa,0xdc,0x85,0xac, | |
| 520 | 0x67,0x47,0xee,0xa2,0x35,0xb3,0xff,0x76,0x57,0x4f,0x30,0x66,0xf8,0xe9,0xe0,0x5b, | |
| 521 | }; | |
| 522 | ||
| 523 | static UINT8 calc3_keybc[64] = { | |
| 524 | 0xb8,0x8a,0xa5,0x8f,0x58,0x30,0xb0,0x38,0xa6,0x53,0x84,0x33,0xd4,0xd7,0xbd,0x26, | |
| 525 | 0x45,0x35,0xb7,0xf6,0x1a,0x20,0x7b,0x8d,0x7e,0x68,0x69,0xdb,0xb1,0x1e,0xa5,0x1a, | |
| 526 | 0xd5,0xf9,0x42,0x57,0x7a,0xf8,0x30,0x2e,0xea,0x49,0xe5,0xd5,0x34,0x6a,0xcd,0x5b, | |
| 527 | 0xfa,0x8e,0x71,0x32,0xfa,0x42,0x69,0xec,0x5d,0x50,0x02,0x42,0xc2,0xe4,0xae,0x5a, | |
| 528 | }; | |
| 529 | ||
| 425 | 530 | // global so we can use them in the filename when we save out the data (debug..) |
| 426 | 531 | static UINT8 calc3_decryption_key_byte; |
| 427 | 532 | static UINT8 calc3_unknown; |
| r5490 | r5491 | |
| 438 | 543 | UINT16 length; |
| 439 | 544 | int x; |
| 440 | 545 | int offset = 0; |
| 546 | int isbrap = ( !strcmp(machine->gamedrv->name,"brapboysj") || !strcmp(machine->gamedrv->name,"brapboys")); | |
| 547 | ||
| 441 | 548 | numregions = rom[offset+0]; |
| 442 | 549 | |
| 443 | 550 | if (tabnum > numregions) |
| r5490 | r5491 | |
| 506 | 613 | { |
| 507 | 614 | for (i=0;i<length;i++) |
| 508 | 615 | { |
| 509 | UINT8 dat = rom[offset+i]; | |
| 510 | UINT8 inlinet = rom[inline_table_base + (i%inline_table_size)]; | |
| 511 | //printf("%02x, ",inlinet); | |
| 512 | dat -= inlinet; | |
| 616 | UINT8 dat=0; | |
| 513 | 617 | |
| 514 | if (tabnum==0x | |
| 618 | if (tabnum==0x11 | |
| 515 | 619 | { |
| 620 | ||
| 621 | // typed data.. to verify results, out decrypt works! | |
| 622 | unsigned char rawData[252+2] = { | |
| 623 | 0x00,0x00, 0x42, 0x79, 0x00, 0x20, 0x08, 0x2E, 0x10, 0x39, 0x00, 0x20, 0x00, 0xC2, | |
| 624 | 0x02, 0x40, 0x00, 0x30, 0xE4, 0x48, 0x33, 0xFB, 0x00, 0x3C, 0x00, 0x10, | |
| 625 | 0x22, 0x42, 0x30, 0x3B, 0x00, 0x32, 0x43, 0xEE, 0x00, 0x0A, 0x41, 0xF9, | |
| 626 | 0x00, 0x20, 0x08, 0x30, 0x4A, 0x50, 0x67, 0x00, 0x00, 0x04, 0x4E, 0x75, | |
| 627 | 0x11, 0x40, 0x00, 0x02, 0x11, 0x7C, 0x00, 0xFC, 0x00, 0x03, 0x31, 0x49, | |
| 628 | 0x00, 0x04, 0x30, 0xBC, 0x00, 0x01, 0x42, 0x6E, 0xFF, 0xB0, 0x41, 0xFA, | |
| 629 | 0x00, 0x16, 0x2C, 0x88, 0x4E, 0x75, 0x00, 0x16, 0x00, 0x00, 0x00, 0x17, | |
| 630 | 0x00, 0x01, 0x00, 0x18, 0x00, 0x00, 0x00, 0x19, 0x00, 0x01, 0x33, 0xC0, | |
| 631 | 0x00, 0x2C, 0x00, 0x00, 0x30, 0x3C, 0x00, 0x14, 0x51, 0xC8, 0xFF, 0xFE, | |
| 632 | 0x33, 0xC0, 0x00, 0x2D, 0x00, 0x00, 0x42, 0x79, 0x00, 0x20, 0x08, 0x2E, | |
| 633 | 0x41, 0xF9, 0x00, 0x10, 0x78, 0xB6, 0x70, 0x07, 0x0C, 0x10, 0x00, 0x03, | |
| 634 | 0x66, 0x00, 0x00, 0x0E, 0x53, 0x68, 0x00, 0x0E, 0x66, 0x00, 0x00, 0x06, | |
| 635 | 0x10, 0xBC, 0x00, 0x04, 0x41, 0xE8, 0x00, 0x12, 0x51, 0xC8, 0xFF, 0xE6, | |
| 636 | 0x32, 0x39, 0x00, 0x10, 0x22, 0x46, 0x02, 0x41, 0xFF, 0xFC, 0x10, 0x39, | |
| 637 | 0x00, 0x20, 0x00, 0xC2, 0x02, 0x40, 0x00, 0x01, 0x82, 0x40, 0xE3, 0x48, | |
| 638 | 0x82, 0x40, 0x33, 0xC1, 0x00, 0x90, 0x00, 0x00, 0x33, 0xFB, 0x00, 0x2A, | |
| 639 | 0x00, 0x10, 0x20, 0x26, 0xE5, 0x48, 0x23, 0xFB, 0x00, 0x24, 0x00, 0x10, | |
| 640 | 0x20, 0x22, 0x33, 0xFB, 0x00, 0x20, 0x00, 0x90, 0x00, 0x02, 0x32, 0x39, | |
| 641 | 0x00, 0x10, 0x22, 0x48, 0x82, 0x7B, 0x00, 0x14, 0x33, 0xC1, 0x00, 0x80, | |
| 642 | 0x00, 0x08, 0x4E, 0x75, 0xFF, 0xFF, 0x00, 0x3F, 0xE8, 0xC0, 0x42, 0x00, | |
| 643 | 0x03, 0xC0, 0x00, 0x00, 0x57, 0x00, 0x7E, 0x00, 0xFC, 0x00, 0x03, 0x03 | |
| 644 | }; | |
| 645 | ||
| 646 | if ( ((i / 19)&1)==0) | |
| 647 | { | |
| 648 | if (((i%inline_table_size)&1)==1) | |
| 649 | { | |
| 650 | UINT8 inlinet = rom[inline_table_base + (i%inline_table_size)]; | |
| 651 | dat = rom[offset+i]; | |
| 652 | //printf("%02x, ",inlinet); | |
| 653 | dat -= inlinet; | |
| 654 | ||
| 655 | dat = BITSWAP8(dat, 4,3,2,1,0,7,6,5); | |
| 656 | if (dat != rawData[i]) printf("ERROR %d x %02x %02x\n", (i / 19)&1, dat, rawData[i]); | |
| 657 | } | |
| 658 | else | |
| 659 | { | |
| 660 | UINT8 extra[] = { 0x14,0xf0,0xf8,0xd2,0xbe,0xfc,0xac,0x86,0x64,0x08,0x0c/*,0x74,0xd6,0x6a,0x24,0x12,0x1a */}; | |
| 661 | UINT8 inlinet = rom[inline_table_base + (i%inline_table_size)]; | |
| 662 | dat = rom[offset+i]; | |
| 663 | dat -= inlinet; | |
| 664 | dat -= extra[(i%inline_table_size)>>1]; | |
| 665 | dat = BITSWAP8(dat, 2,1,0,7,6,5,4,3); | |
| 666 | ||
| 667 | if (dat != rawData[i]) printf("ERROR %d y %02x %02x\n", (i / 19)&1, dat, rawData[i]); | |
| 668 | ||
| 669 | //dat = rawData[i]; | |
| 670 | ||
| 671 | } | |
| 672 | } | |
| 673 | else | |
| 674 | { | |
| 675 | if (((i%inline_table_size)&1)==0) | |
| 676 | { | |
| 677 | UINT8 inlinet = rom[inline_table_base + (i%inline_table_size)]; | |
| 678 | dat = rom[offset+i]; | |
| 679 | dat -= inlinet; | |
| 680 | ||
| 681 | dat = BITSWAP8(dat, 4,3,2,1,0,7,6,5); | |
| 682 | if (dat != rawData[i]) printf("ERROR %d x %02x %02x\n", (i / 19)&1, dat, rawData[i]); | |
| 683 | } | |
| 684 | else | |
| 685 | { | |
| 686 | // shhould probably use the inline table somehow? | |
| 687 | ||
| 688 | UINT8 extra[] = { 0x2f, 0x04, 0xd1, 0x69, 0xad, 0xeb, 0x10, 0x95,0xb0 };; | |
| 689 | dat = rom[offset+i]; | |
| 690 | ||
| 691 | dat -= extra[(i%inline_table_size)>>1]; | |
| 692 | dat = BITSWAP8(dat, 2,1,0,7,6,5,4,3); | |
| 693 | ||
| 694 | if (dat != rawData[i]) printf("ERROR %d y %02x %02x\n", (i / 19)&1, dat, rawData[i]); | |
| 695 | } | |
| 696 | } | |
| 697 | } | |
| 698 | else if (tabnum==0x40) // fjbuster / shogun warriors japanese character select (what enables this extra?) | |
| 699 | { | |
| 700 | UINT8 inlinet = rom[inline_table_base + (i%inline_table_size)]; | |
| 701 | dat = rom[offset+i]; | |
| 702 | //printf("%02x, ",inlinet); | |
| 703 | dat -= inlinet; | |
| 704 | ||
| 516 | 705 | // 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 | 706 | // is relative to the start of the original table, and has a size of 0x11 (17) bytes which loop. |
| 518 | 707 | if (((i%inline_table_size)&1)==0) |
| r5490 | r5491 | |
| 532 | 721 | } |
| 533 | 722 | else |
| 534 | 723 | { |
| 535 | UINT8* | |
| 724 | UINT8* k | |
| 536 | 725 | |
| 537 | 726 | // 0x00 seems to have no 'encryption' |
| 538 | if (calc3_decryption_key_byte == 0x00) | |
| 727 | if (calc3_decryption_key_byte == 0x00) k | |
| 539 | 728 | |
| 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; | |
| 729 | // each key seems to relate directly to a 0x40 byte decryption table, only these ones handled so far | |
| 730 | if (calc3_decryption_key_byte == 0x01) key = calc3_key01; | |
| 731 | if (calc3_decryption_key_byte == 0x04) key = calc3_key04; | |
| 732 | if (calc3_decryption_key_byte == 0x15) key = calc3_key15; | |
| 733 | if (calc3_decryption_key_byte == 0x17) key = calc3_key17; | |
| 734 | if (calc3_decryption_key_byte == 0x19) key = calc3_key19; | |
| 735 | if (calc3_decryption_key_byte == 0x24) key = calc3_key24; | |
| 736 | if (calc3_decryption_key_byte == 0x31) key = calc3_key31; | |
| 737 | if (calc3_decryption_key_byte == 0x39) key = calc3_key39; | |
| 738 | if (calc3_decryption_key_byte == 0x80) key = calc3_key80; | |
| 739 | if (calc3_decryption_key_byte == 0x89) key = calc3_key89; | |
| 740 | if (calc3_decryption_key_byte == 0xbc) key = calc3_keybc; | |
| 544 | 741 | |
| 742 | ||
| 545 | 743 | for (i=0;i<length;i++) |
| 546 | 744 | { |
| 547 | 745 | |
| 548 | 746 | |
| 549 | 747 | UINT8 dat = rom[offset+i]; |
| 550 | 748 | |
| 749 | if (tabnum==0x12 && isbrap) | |
| 750 | { | |
| 751 | dat = BITSWAP8(dat, 4,3,2,1,0,7,6,5); | |
| 752 | } | |
| 753 | else if (tabnum==0x13 && isbrap) | |
| 754 | { | |
| 755 | dat -= key[i&0x3f]; | |
| 551 | 756 | |
| 552 | if (tabnum==0x80) // shogwarr table 80 (irq code) | |
| 757 | if ((i&1)==0) dat = BITSWAP8(dat, 5,4,3,2,1,0,7,6); | |
| 758 | else dat = BITSWAP8(dat, 1,0,7,6,5,4,3,2); | |
| 759 | ||
| 760 | } | |
| 761 | else if (tabnum==0x14 && isbrap) | |
| 553 | 762 | { |
| 763 | dat -= key[i&0x3f]; | |
| 764 | } | |
| 765 | else if (tabnum==0x15 && isbrap) | |
| 766 | { | |
| 767 | dat -= key[i&0x3f]; | |
| 554 | 768 | |
| 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 | }; | |
| 769 | if ((i&1)==0) dat = BITSWAP8(dat, 2,1,0,7,6,5,4,3); | |
| 770 | else dat = BITSWAP8(dat, 4,3,2,1,0,7,6,5); | |
| 616 | 771 | |
| 772 | //error 264 35 36 (typo, ignore) | |
| 773 | } | |
| 774 | else if (tabnum==0x16 && isbrap) | |
| 775 | { | |
| 776 | dat -= key[i&0x3f]; | |
| 777 | // error 1 02 should be 00 (the usual) | |
| 778 | } | |
| 779 | else if (tabnum==0x17 && isbrap) | |
| 780 | { | |
| 781 | // note we've seen this key (0x15) before, but again, here we have to add sometimes.. obviously a bit to control this.. | |
| 782 | if ((i&1)==0) dat += key[i&0x3f]; | |
| 783 | else dat -= key[i&0x3f]; | |
| 784 | ||
| 785 | if ((i&1)==0) dat = BITSWAP8(dat, 0,7,6,5,4,3,2,1); | |
| 786 | else dat = BITSWAP8(dat, 6,5,4,3,2,1,0,7); | |
| 787 | ||
| 788 | //error 1 02 should be 00 (the usual) | |
| 789 | //error 390 02 should be 00 (typo, ignore) | |
| 790 | //error 391 c6 should be 2c (typo, ignore) | |
| 791 | //error 392 03 should be 60 (typo, ignore) | |
| 792 | //error 393 60 should be 36 (typo, ignore) | |
| 793 | } | |
| 794 | else if (tabnum==0x19 && isbrap) | |
| 795 | { | |
| 796 | dat -= key[i&0x3f]; | |
| 797 | // first 2 bytes were 00 in the returned data.. | |
| 798 | //if (i==1) dat=0x00; | |
| 799 | } | |
| 800 | else if (tabnum==0x1f && isbrap) | |
| 801 | { | |
| 802 | dat -= key[i&0x3f]; | |
| 803 | ||
| 804 | if ((i&1)==0) dat = BITSWAP8(dat, 0,7,6,5,4,3,2,1); | |
| 805 | else dat = BITSWAP8(dat, 6,5,4,3,2,1,0,7); | |
| 806 | } | |
| 807 | else if (tabnum==0x22 && isbrap) | |
| 808 | { | |
| 809 | ||
| 810 | #if 0 | |
| 811 | { | |
| 812 | UINT8 test; | |
| 813 | UINT8 xxx; | |
| 814 | ||
| 815 | if ((i&1)==1) xxx = BITSWAP8(rawData[i], 0,7,6,5,4,3,2,1); | |
| 816 | else xxx = BITSWAP8(rawData[i], 6,5,4,3,2,1,0,7); | |
| 817 | ||
| 818 | test= dat-xxx; | |
| 819 | ||
| 820 | printf("%02x,%02x,%02x ",dat, rawData[i], test); | |
| 821 | ||
| 822 | if ((i%0x40)==0x3f) | |
| 823 | printf("\n"); | |
| 824 | ||
| 825 | //if (dat!=rawData[i]) printf("error %d %02x should be %02x\n",i, dat, rawData[i]); | |
| 826 | } | |
| 827 | #endif | |
| 828 | { | |
| 829 | dat -= key[i&0x3f]; | |
| 830 | ||
| 831 | if ((i&1)==0) dat = BITSWAP8(dat, 0,7,6,5,4,3,2,1); | |
| 832 | else dat = BITSWAP8(dat, 6,5,4,3,2,1,0,7); | |
| 833 | // first 2 bytes were 00 in the returned data.. | |
| 834 | //if (i==1) dat=0x00; | |
| 835 | } | |
| 836 | ||
| 837 | ||
| 838 | } | |
| 839 | else if (tabnum==0x23 && isbrap) | |
| 840 | { | |
| 841 | dat -= key[i&0x3f]; | |
| 842 | // error 1 18 should be 00 (usual byte 1 'issue) | |
| 843 | // error 384 98 should be 38 (typo, ignore) | |
| 844 | ||
| 845 | } | |
| 846 | else if (tabnum==0x80 && !isbrap) // shogwarr table 80 (irq code) | |
| 847 | { | |
| 617 | 848 | if ((i&1)==0) |
| 618 | 849 | { |
| 619 | dat -= | |
| 850 | dat -= k | |
| 620 | 851 | 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 | 852 | } |
| 624 | 853 | else |
| 625 | 854 | { |
| 626 | // I don't understand how to decode this byte :-( - rotation + extra table? | |
| 627 | dat = extracted80[i^1]; | |
| 855 | // note + , not - (!!) | |
| 856 | dat += key[i&0x3f]; | |
| 857 | dat = BITSWAP8(dat,4,3,2,1,0,7,6,5); | |
| 628 | 858 | } |
| 629 | 859 | } |
| 630 | else if (tabnum==0x41) // shogwarr table 41 -- note fjbuster uses table 40, which looks like (almost) the same data but with better encryption... | |
| 860 | else if (tabnum==0x41 && !isbrap) // shogwarr table 41 -- note fjbuster uses table 40, which looks like (almost) the same data but with better encryption... | |
| 631 | 861 | { |
| 632 | 862 | // simple shifts... different direction for each alternating byte.. |
| 633 | dat -= | |
| 863 | dat -= k | |
| 634 | 864 | |
| 635 | 865 | if ((i&1)==1) dat = BITSWAP8(dat,0,7,6,5,4,3,2,1); |
| 636 | 866 | else dat = BITSWAP8(dat,6,5,4,3,2,1,0,7); |
| 637 | 867 | } |
| 638 | 868 | else |
| 639 | 869 | { |
| 640 | dat -= table[i&0x3f]; | |
| 870 | // plain table case | |
| 871 | dat -= key[i&0x3f]; | |
| 641 | 872 | } |
| 642 | 873 | |
| 643 | 874 | |
| r5490 | r5491 | |
| 655 | 886 | |
| 656 | 887 | } |
| 657 | 888 | |
| 658 | static UINT8 calc3_decryption_key_byte; | |
| 659 | static UINT8 calc3_unknown; | |
| 660 | static UINT8 calc3_mode; | |
| 661 | static UINT8 calc3_blocksize_offset; | |
| 662 | ||
| 663 | 889 | DRIVER_INIT(calc3_scantables) |
| 664 | 890 | { |
| 665 | 891 | UINT8* rom = memory_region(machine,"cpu1"); |
| r5490 | r5491 | |
| 677 | 903 | |
| 678 | 904 | for (x=0;x<numregions;x++) |
| 679 | 905 | { |
| 680 | UINT8* tmpdstram = malloc(0x2000); | |
| 906 | UINT8* tmpdstram = (UINT8*)malloc(0x2000); | |
| 681 | 907 | int length; |
| 682 | 908 | memset(tmpdstram, 0x00,0x2000); |
| 683 | 909 | length = calc3_decompress_table(machine, x, tmpdstram, 0); |
| r5490 | r5491 | |
| 795 | 1021 | printf("Calc 3 Init Command - %04x ROM Checksum Address\n", cakc3_checkumaddress); |
| 796 | 1022 | printf("Calc 3 Init Command - %08x Data Write Address\n", calc3_writeaddress); |
| 797 | 1023 | |
| 798 | kaneko16_mcu_ram[calc3_dsw_addr/2] = ~input_port_read(machine, "DSW1"); // DSW | |
| 1024 | kaneko16_mcu_ram[calc3_dsw_addr/2] = ~input_port_read(machine, "DSW1"); // DSW // dsw actually updates in realtime - mcu reads+writes it every frame | |
| 799 | 1025 | kaneko16_mcu_ram[cakc3_checkumaddress / 2] = calc3_mcu_crc; // MCU Rom Checksum! |
| 800 | 1026 | |
| 801 | 1027 | for (i=0;i<0x40;i++) |
| r5490 | r5491 | |
| 837 | 1063 | // cause an additional displacement to cause the writeback address to populate that table.. maybe |
| 838 | 1064 | if (commandunk == 0x30) |
| 839 | 1065 | { |
| 1066 | int length; | |
| 840 | 1067 | commandaddr -= 0x60; |
| 841 | calc3_decompress_table(machine, commandtabl, (UINT8*)kaneko16_mcu_ram, (calc3_writeaddress&0xffff)-2); | |
| 1068 | length = calc3_decompress_table(machine, commandtabl, (UINT8*)kaneko16_mcu_ram, (calc3_writeaddress&0xffff)-2); | |
| 842 | 1069 | |
| 843 | 1070 | printf("writing back address %08x to %08x\n", calc3_writeaddress, commandaddr); |
| 844 | 1071 | kaneko16_mcu_ram[(commandaddr>>1)+0] = (calc3_writeaddress>>16)&0xffff; |
| 845 | 1072 | kaneko16_mcu_ram[(commandaddr>>1)+1] = (calc3_writeaddress&0xffff); |
| 1073 | calc3_writeaddress += length; | |
| 846 | 1074 | |
| 847 | 1075 | } |
| 1076 | else if (commandunk == 0xa0) | |
| 1077 | { | |
| 1078 | int length; | |
| 1079 | commandaddr -= 0x6d; | |
| 1080 | length = calc3_decompress_table(machine, commandtabl, (UINT8*)kaneko16_mcu_ram, (calc3_writeaddress&0xffff)-2); | |
| 1081 | ||
| 1082 | printf("writing back address %08x to %08x\n", calc3_writeaddress, commandaddr); | |
| 1083 | kaneko16_mcu_ram[(commandaddr>>1)+0] = (calc3_writeaddress>>16)&0xffff; | |
| 1084 | kaneko16_mcu_ram[(commandaddr>>1)+1] = (calc3_writeaddress&0xffff); | |
| 1085 | calc3_writeaddress += length; | |
| 1086 | } | |
| 1087 | else if (commandunk == 0x98) | |
| 1088 | { | |
| 1089 | int length; | |
| 1090 | commandaddr -= (0x6d+0xd); | |
| 1091 | length = calc3_decompress_table(machine, commandtabl, (UINT8*)kaneko16_mcu_ram, (calc3_writeaddress&0xffff)-2); | |
| 1092 | ||
| 1093 | printf("writing back address %08x to %08x\n", calc3_writeaddress, commandaddr); | |
| 1094 | kaneko16_mcu_ram[(commandaddr>>1)+0] = (calc3_writeaddress>>16)&0xffff; | |
| 1095 | kaneko16_mcu_ram[(commandaddr>>1)+1] = (calc3_writeaddress&0xffff); | |
| 1096 | calc3_writeaddress += length; | |
| 1097 | } | |
| 1098 | ||
| 1099 | ||
| 848 | 1100 | else |
| 849 | 1101 | { |
| 850 | 1102 | calc3_decompress_table(machine, commandtabl, (UINT8*)kaneko16_calc3_fakeram, fakeoffs&0xfffff); |
| r5490 | r5491 | |
|---|---|---|
| 771 | 771 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 772 | 772 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 773 | 773 | INPUT_PORTS_END |
| 774 | ||
| 775 | /* Hanafuda controls share part of the mahjong panel. Notice that some of the remaining | |
| 776 | inputs are detected in Service Mode, even if we label them as IPT_UNKNOWN because they | |
| 777 | do not correspond to actual inputs */ | |
| 778 | INPUT_PORTS_START( nbhf1_ctrl ) // used by gionbana, mgion, abunai | |
| 779 | PORT_START("KEY0") | |
| 780 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 ) | |
| 781 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 782 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 783 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 784 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) | |
| 785 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) | |
| 786 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 787 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 788 | ||
| 789 | PORT_START("KEY1") | |
| 790 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_BET ) | |
| 791 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_YES ) | |
| 792 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 793 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 794 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) | |
| 795 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) | |
| 796 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 797 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 798 | ||
| 799 | PORT_START("KEY2") | |
| 800 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 801 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_NO ) | |
| 802 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 803 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 804 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_HANAFUDA_G ) | |
| 805 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_HANAFUDA_C ) | |
| 806 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 807 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 808 | ||
| 809 | PORT_START("KEY3") | |
| 810 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 811 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 812 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 813 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 814 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_HANAFUDA_H ) | |
| 815 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) | |
| 816 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 817 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 818 | ||
| 819 | PORT_START("KEY4") | |
| 820 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 821 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 822 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 823 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 824 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 825 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 826 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 827 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 828 | ||
| 829 | PORT_START("KEY5") | |
| 830 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START2 ) | |
| 831 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 832 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 833 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 834 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) PORT_PLAYER(2) | |
| 835 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) PORT_PLAYER(2) | |
| 836 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 837 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 838 | ||
| 839 | PORT_START("KEY6") | |
| 840 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_BET ) PORT_PLAYER(2) | |
| 841 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_YES ) PORT_PLAYER(2) | |
| 842 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 843 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 844 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) PORT_PLAYER(2) | |
| 845 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) PORT_PLAYER(2) | |
| 846 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 847 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 848 | ||
| 849 | PORT_START("KEY7") | |
| 850 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 851 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_NO ) PORT_PLAYER(2) | |
| 852 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 853 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 854 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_HANAFUDA_G ) PORT_PLAYER(2) | |
| 855 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_HANAFUDA_C ) PORT_PLAYER(2) | |
| 856 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 857 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 858 | ||
| 859 | PORT_START("KEY8") | |
| 860 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 861 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 862 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 863 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 864 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_HANAFUDA_H ) PORT_PLAYER(2) | |
| 865 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) PORT_PLAYER(2) | |
| 866 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 867 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 868 | ||
| 869 | PORT_START("KEY9") | |
| 870 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 871 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 872 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 873 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 874 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 875 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 876 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 877 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 878 | INPUT_PORTS_END | |
| 879 | ||
| 880 | INPUT_PORTS_START( nbhf2_ctrl ) // used by maiko, hanaoji, hnxmasev and hnageman | |
| 881 | PORT_INCLUDE( nbhf1_ctrl ) | |
| 882 | ||
| 883 | PORT_MODIFY("KEY0") | |
| 884 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_HANAFUDA_YES ) | |
| 885 | ||
| 886 | PORT_MODIFY("KEY1") | |
| 887 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 888 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_HANAFUDA_NO ) | |
| 889 | ||
| 890 | PORT_MODIFY("KEY2") | |
| 891 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 892 | ||
| 893 | PORT_MODIFY("KEY5") | |
| 894 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_HANAFUDA_YES ) PORT_PLAYER(2) | |
| 895 | ||
| 896 | PORT_MODIFY("KEY6") | |
| 897 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 898 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_HANAFUDA_NO ) PORT_PLAYER(2) | |
| 899 | ||
| 900 | PORT_MODIFY("KEY7") | |
| 901 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 902 | INPUT_PORTS_END |
| r5490 | r5491 | |
|---|---|---|
| 236 | 236 | DRIVER( ckongg ) /* 1981 bootleg */ |
| 237 | 237 | DRIVER( kkgalax ) /* 1981 bootleg */ |
| 238 | 238 | DRIVER( porter ) /* 1982 bootleg (Arcade TV Game List - P.98, Left, 15 from bottom) */ |
| 239 | DRIVER( tdpgal ) /* 1983 Design Labs / Thomas Automatics */ | |
| 239 | 240 | |
| 240 | 241 | /* Has some similarities with Moon Cresta but Board is very different */ |
| 241 | 242 | DRIVER( rockclim ) /* (c)1981 Taito */ |
| r5490 | r5491 | |
| 638 | 639 | DRIVER( gallag ) /* bootleg */ |
| 639 | 640 | DRIVER( gatsbee ) /* (c) 1984 Uchida / hack */ |
| 640 | 641 | DRIVER( digdug ) /* (c) 1982 */ |
| 641 | DRIVER( digdug | |
| 642 | DRIVER( digdug1 ) /* (c) 1982 */ | |
| 642 | 643 | DRIVER( digdugat ) /* 136007 (c) 1982 Atari */ |
| 643 | DRIVER( digduga1 ) /* 136007 (c) 1982 Atari */ | |
| 644 | DRIVER( digdugat1 ) /* 136007 (c) 1982 Atari */ | |
| 644 | 645 | DRIVER( dzigzag ) /* bootleg */ |
| 645 | 646 | DRIVER( digsid ) /* bootleg */ |
| 646 | 647 | DRIVER( xevious ) /* (c) 1982 */ |
| r5490 | r5491 | |
| 825 | 826 | DRIVER( swcourtj ) /* (c) 1992 (Japan) */ |
| 826 | 827 | DRIVER( emeralda ) /* (c) 1993 (Japan) */ |
| 827 | 828 | DRIVER( emeraldaj ) /* (c) 1993 (Japan) */ |
| 828 | DRIVER( emeraldaja )/* (c) 1993 (Japan) */ | |
| 829 | DRIVER( emeraldaja ) /* (c) 1993 (Japan) */ | |
| 829 | 830 | DRIVER( numanath ) /* (c) 1993 (World) */ |
| 830 | 831 | DRIVER( numanathj ) /* (c) 1993 (Japan) */ |
| 831 | 832 | DRIVER( quiztou ) /* (c) 1993 (Japan) */ |
| r5490 | r5491 | |
| 835 | 836 | /* Namco NB-1 / NB-2 System games */ |
| 836 | 837 | DRIVER( nebulray ) /* (c) 1994 (World) */ |
| 837 | 838 | DRIVER( nebulrayj ) /* (c) 1994 (Japan) */ |
| 838 | DRIVER( ptblank ) /* (c) 1994 */ | |
| 839 | DRIVER( gunbulet ) /* (c) 1994 (Japan) */ | |
| 839 | DRIVER( ptblank ) /* (c) 1994 (GN2 World) */ | |
| 840 | DRIVER( gunbuletj ) /* (c) 1994 (GN1 Japan) */ | |
| 841 | DRIVER( gunbuletw ) /* (c) 1994 (GN3 World) */ | |
| 840 | 842 | DRIVER( gslugrsj ) /* (c) 1993 (Japan) */ |
| 841 | 843 | DRIVER( gslgr94u ) /* (c) 1994 */ |
| 842 | 844 | DRIVER( gslgr94j ) /* (c) 1994 (Japan) */ |
| r5490 | r5491 | |
| 844 | 846 | DRIVER( sws96 ) /* (c) 1996 (Japan) */ |
| 845 | 847 | DRIVER( sws97 ) /* (c) 1997 (Japan) */ |
| 846 | 848 | DRIVER( vshoot ) /* (c) 1994 */ |
| 847 | DRIVER( outfxies ) /* (c) 1994 */ | |
| 849 | DRIVER( outfxies ) /* (c) 1994 (World) */ | |
| 848 | 850 | DRIVER( outfxiesj ) /* (c) 1994 (Japan) */ |
| 849 | 851 | DRIVER( machbrkr ) /* (c) 1995 (Japan) */ |
| 850 | 852 | |
| r5490 | r5491 | |
| 875 | 877 | DRIVER( ridgerac ) /* (c) 1993 */ |
| 876 | 878 | DRIVER( ridgeracb ) /* (c) 1993 */ |
| 877 | 879 | DRIVER( ridgeracj ) /* (c) 1993 */ |
| 880 | DRIVER( ridgerac3 ) /* (c) 1993 */ | |
| 878 | 881 | DRIVER( acedrvrw ) /* (c) 1994 */ |
| 879 | 882 | DRIVER( alpinerd ) /* (c) 1994 */ |
| 880 | 883 | DRIVER( alpinerc ) /* (c) 1994 */ |
| r5490 | r5491 | |
| 891 | 894 | DRIVER( cybrcycc ) /* (c) 1995 */ |
| 892 | 895 | DRIVER( timecris ) /* (c) 1995 */ |
| 893 | 896 | DRIVER( timecrisa ) /* (c) 1995 */ |
| 897 | DRIVER( dirtdash ) /* (c) 1995 */ | |
| 894 | 898 | DRIVER( victlapw ) /* (c) 1996 */ |
| 895 | 899 | DRIVER( alpinesa ) /* (c) 1996 */ |
| 896 | 900 | DRIVER( propcycl ) /* (c) 1996 */ |
| r5490 | r5491 | |
| 966 | 970 | |
| 967 | 971 | /* Nintendo games */ |
| 968 | 972 | DRIVER( spacefev ) /* (c) 1979 Nintendo */ |
| 969 | DRIVER( spacefeva ) /* (c) 1979 Nintendo */ | |
| 973 | DRIVER( spacefevo ) /* (c) 1979 Nintendo */ | |
| 974 | DRIVER( spacefevo2 )/* (c) 1979 Nintendo */ | |
| 970 | 975 | DRIVER( highsplt ) /* (c) 1979 Nintendo */ |
| 971 | 976 | DRIVER( highsplta ) /* (c) 1979 Nintendo */ |
| 977 | DRIVER( highspltb ) /* (c) 1979 Nintendo */ | |
| 972 | 978 | DRIVER( spacelnc ) /* (c) 1979 Nintendo */ |
| 973 | 979 | DRIVER( sheriff ) /* (c) 1979 Nintendo */ |
| 974 | 980 | DRIVER( bandido ) /* (c) 1980 Exidy */ |
| r5490 | r5491 | |
| 1106 | 1112 | DRIVER( vspinbalj ) /* (c) 1984 Nintendo */ |
| 1107 | 1113 | DRIVER( vsslalom ) /* (c) 1986 Nintendo */ |
| 1108 | 1114 | DRIVER( vssoccer ) /* (c) 1985 Nintendo */ |
| 1115 | DRIVER( vssoccerj ) /* (c) 1985 Nintendo */ | |
| 1109 | 1116 | DRIVER( vsgradus ) /* (c) 1986 Konami */ |
| 1110 | 1117 | DRIVER( platoon ) /* (c) 1987 Ocean */ |
| 1111 | 1118 | DRIVER( vstetris ) /* (c) 1988 Atari */ |
| r5490 | r5491 | |
| 1121 | 1128 | DRIVER( vsbball ) /* (c) 1984 Nintendo */ |
| 1122 | 1129 | DRIVER( vsbballj ) /* (c) 1984 Nintendo */ |
| 1123 | 1130 | DRIVER( vsbballja ) /* (c) 1984 Nintendo */ |
| 1131 | DRIVER( vsbballjb ) /* (c) 1984 Nintendo */ | |
| 1124 | 1132 | DRIVER( iceclmrj ) /* (c) 1984 Nintendo */ |
| 1125 | 1133 | DRIVER( vsgshoe ) /* (c) 1986 Nintendo */ |
| 1126 | 1134 | DRIVER( supxevs ) /* (c) 1986 Nintendo */ |
| 1127 | 1135 | DRIVER( vsfdf ) /* (c) 1986 Sunsoft */ |
| 1128 | 1136 | DRIVER( smgolfb ) /* (c) 1985 Nintendo */ |
| 1129 | DRIVER( vsbballjb ) /* (c) 1984 Nintendo */ | |
| 1130 | 1137 | |
| 1131 | 1138 | /* NES-based hacks */ |
| 1132 | 1139 | DRIVER( multigam ) /* 1992 */ |
| r5490 | r5491 | |
| 1575 | 1582 | DRIVER( qix ) /* LK (c) 1981 Taito America Corporation */ |
| 1576 | 1583 | DRIVER( qixa ) /* LK (c) 1981 Taito America Corporation */ |
| 1577 | 1584 | DRIVER( qixb ) /* LK (c) 1981 Taito America Corporation */ |
| 1585 | DRIVER( qixo ) /* LK (c) 1981 Taito America Corporation */ | |
| 1578 | 1586 | DRIVER( qix2 ) /* ?? (c) 1981 Taito America Corporation */ |
| 1579 | 1587 | DRIVER( sdungeon ) /* SD (c) 1981 Taito America Corporation */ |
| 1580 | 1588 | DRIVER( elecyoyo ) /* YY (c) 1982 Taito America Corporation */ |
| r5490 | r5491 | |
| 4554 | 4562 | /* 2005.10 The King of Fighters XI */ |
| 4555 | 4563 | DRIVER( fotns ) /* 2005.12 Hokuto no Ken */ |
| 4556 | 4564 | /* 2006.02 Metal Slug 6 */ |
| 4557 | | |
| 4565 | DRIVER( xtrmhnt2 ) | |
| 4558 | 4566 | /* 2008.?? Sega Clay Challenge */ |
| 4559 | 4567 | |
| 4560 | 4568 | /* Hikaru */ |
| r5490 | r5491 | |
| 5305 | 5313 | DRIVER( gradius2 ) /* GX785 (c) 1988 (Japan) */ |
| 5306 | 5314 | DRIVER( gradius2a ) /* GX785 (c) 1988 (Japan) */ |
| 5307 | 5315 | DRIVER( gradius2b ) /* GX785 (c) 1988 (Japan) */ |
| 5308 | DRIVER( cuebrckj ) /* GX903 (c) 1989 */ | |
| 5316 | DRIVER( cuebrickj ) /* GX903 (c) 1989 (Japan) */ | |
| 5309 | 5317 | DRIVER( fround ) /* GX870 (c) 1988 */ |
| 5310 | 5318 | DRIVER( froundl ) /* GX870 (c) 1988 */ |
| 5311 | 5319 | DRIVER( hpuncher ) /* GX870 (c) 1988 (Japan) */ |
| r5490 | r5491 | |
| 5493 | 5501 | DRIVER( bmfinal ) /* GXC01 (c) 2002 (Japan) */ |
| 5494 | 5502 | |
| 5495 | 5503 | //DRIVER( popn1 ) /* GX803 (c) 1998 (Japan) */ |
| 5496 | | |
| 5504 | | |
| 5497 | 5505 | //DRIVER( popn3 ) /* GX980 (c) 1999 (Japan) */ |
| 5498 | 5506 | //DRIVER( popnstex ) /* GX970 (c) 1999 (Japan) */ |
| 5499 | 5507 | |
| r5490 | r5491 | |
| 5507 | 5515 | DRIVER( popn7 ) /* not sure, doesn't boot yet (c) 2001 */ |
| 5508 | 5516 | |
| 5509 | 5517 | /* PowerPC based Konami games */ |
| 5510 | DRIVER( fiveside ) /* | |
| 5518 | DRIVER( fiveside ) /* GX479 (c)1995 */ | |
| 5511 | 5519 | DRIVER( thunderh ) /* GX680 (c)1996 Euro EAA */ |
| 5512 | 5520 | DRIVER( thunderhu ) /* GX680 (c)1996 USA UAA */ |
| 5513 | 5521 | DRIVER( slrasslt ) /* GX792 (c)1996 */ |
| r5490 | r5491 | |
| 5516 | 5524 | DRIVER( gticlubj ) /* GX688 (c)1996 Japan JAA */ |
| 5517 | 5525 | DRIVER( hangplt ) /* GX685 (c)1997 */ |
| 5518 | 5526 | DRIVER( nbapbp ) /* GX778 (c)1998 */ |
| 5519 | DRIVER( terabrst ) /* GX??? (c)1998 USA UEL 1998/07/17*/ | |
| 5520 | DRIVER( terabrsta ) /* GX??? (c)1998 Asia AAA 1998/02/25 */ | |
| 5527 | DRIVER( terabrst ) /* GX715 (c)1998 USA UEL 1998/07/17*/ | |
| 5528 | DRIVER( terabrsta ) /* GX715 (c)1998 Asia AAA 1998/02/25 */ | |
| 5521 | 5529 | DRIVER( gradius4 ) /* GX837 (c)1999 */ |
| 5522 | 5530 | DRIVER( sscope ) /* GX830 (c)1999 */ |
| 5523 | 5531 | DRIVER( sscopea ) /* GX830 (c)1999 */ |
| r5490 | r5491 | |
| 5525 | 5533 | DRIVER( racingj ) /* GX676 (c)1998 */ |
| 5526 | 5534 | DRIVER( racingj2 ) /* GX888 (c)1999 */ |
| 5527 | 5535 | DRIVER( thrilld ) /* GX713 (c)1998 */ |
| 5528 | DRIVER( midnrun ) /* GX | |
| 5536 | DRIVER( midnrun ) /* GX476 (c)1995 */ | |
| 5529 | 5537 | DRIVER( windheat ) /* GX677 (c)1996 */ |
| 5530 | 5538 | DRIVER( windheatu ) /* GX677 (c)1996 */ |
| 5531 | DRIVER( jetwave ) /* GX??? (c)1996 */ | |
| 5539 | DRIVER( windheatj ) /* GX677 (c)1996 */ | |
| 5540 | DRIVER( jetwave ) /* GX678 (c)1996 */ | |
| 5532 | 5541 | |
| 5533 | 5542 | /* Konami M2 games */ |
| 5534 | 5543 | DRIVER( polystar ) /* GX623 (c)1997 */ |
| r5490 | r5491 | |
| 6236 | 6245 | DRIVER( ssideki2 ) /* 0061 (c) 1994 SNK */ |
| 6237 | 6246 | DRIVER( spinmast ) /* 0062 (c) 1993 Data East Corporation */ |
| 6238 | 6247 | DRIVER( samsho2 ) /* 0063 (c) 1994 SNK */ |
| 6248 | DRIVER( samsho2k ) /* 0063 (c) 1994 SNK (Korean hack) */ | |
| 6239 | 6249 | DRIVER( wh2j ) /* 0064 (c) 1994 ADK / SNK */ |
| 6240 | 6250 | DRIVER( wh2jh ) /* 0064 (c) 1994 ADK / SNK */ |
| 6241 | 6251 | DRIVER( wjammers ) /* 0065 (c) 1994 Data East Corporation */ |
| r5490 | r5491 | |
| 6911 | 6921 | |
| 6912 | 6922 | /* Photon hardware games */ |
| 6913 | 6923 | DRIVER( phtetris ) |
| 6924 | DRIVER( phpython ) | |
| 6914 | 6925 | |
| 6915 | 6926 | /* Valadon Automation games */ |
| 6916 | 6927 | DRIVER( bagman ) /* (c) 1982 */ |
| r5490 | r5491 | |
| 7719 | 7730 | DRIVER( missmw96 ) /* (c) 1996 Comad */ |
| 7720 | 7731 | DRIVER( fantsia2 ) /* (c) 1997 Comad */ |
| 7721 | 7732 | DRIVER( fantsia2a ) /* (c) 1997 Comad */ |
| 7733 | DRIVER( wownfant ) /* (c) 2002 Comad */ | |
| 7722 | 7734 | DRIVER( galhustl ) /* (c) 1997 ACE International */ |
| 7723 | 7735 | |
| 7724 | 7736 | /* Playmark games */ |
| r5490 | r5491 | |
| 8038 | 8050 | DRIVER( lhb ) /* (c) 1995 */ |
| 8039 | 8051 | DRIVER( lhba ) /* (c) 1995 */ |
| 8040 | 8052 | DRIVER( dbc ) /* (c) 199? */ |
| 8041 | DRIVER( chindrag ) /* (c) 1995 */ | |
| 8042 | DRIVER( chugokur ) /* (c) 1995 */ | |
| 8043 | 8053 | DRIVER( chmplst2 ) /* (c) 1996 */ |
| 8044 | 8054 | DRIVER( xymg ) /* (c) 1996 */ |
| 8045 | 8055 | DRIVER( grtwall ) /* (c) 1996 */ |
| 8046 | 8056 | DRIVER( vbowl ) /* (c) 1996 */ |
| 8047 | 8057 | DRIVER( vbowlj ) /* (c) 1996 */ |
| 8048 | 8058 | DRIVER( drgnwrld ) /* (c) 1997 */ |
| 8049 | DRIVER( drgwrld3 ) /* (c) 1995 */ | |
| 8050 | DRIVER( chindrac ) /* (c) 1995 */ | |
| 8051 | DRIVER( chindrah ) /* (c) 1995 */ | |
| 8059 | DRIVER( drgnwrldv30 ) /* (c) 1995 */ | |
| 8060 | DRIVER( drgnwrldv21 ) /* (c) 1995 */ | |
| 8061 | DRIVER( drgnwrldv21j ) /* (c) 1995 */ | |
| 8062 | DRIVER( drgnwrldv20j ) /* (c) 1995 */ | |
| 8063 | DRIVER( drgnwrldv10c ) /* (c) 1995 */ | |
| 8064 | DRIVER( drgnwrldv11h ) /* (c) 1995 */ | |
| 8052 | 8065 | |
| 8053 | 8066 | DRIVER( lordgun ) /* (c) 1994 */ |
| 8054 | 8067 | DRIVER( hfh ) /* (c) 199? */ |
| r5490 | r5491 | |
| 8128 | 8141 | |
| 8129 | 8142 | /* Omori games */ |
| 8130 | 8143 | DRIVER( shuttlei ) /* (c) 1979 Omori (Arcade Tv Game List - P.79, Left, 6 from bottom) */ |
| 8144 | DRIVER( skylove ) /* (c) 1979 Omori */ | |
| 8131 | 8145 | DRIVER( battlex ) /* (c) 1982 Omori E. Co., Ltd. */ |
| 8132 | 8146 | DRIVER( carjmbre ) /* (c) 1983 Omori Electric Co., Ltd. */ |
| 8133 | 8147 | DRIVER( popper ) /* (c) 1983 Omori Electric Co., Ltd. */ |
| r5490 | r5491 | |
| 8736 | 8750 | DRIVER( megat4te ) /* (c) 1996 Merit */ |
| 8737 | 8751 | DRIVER( megat4st ) /* (c) 1996 Merit */ |
| 8738 | 8752 | DRIVER( megat5 ) /* (c) 1997 Merit */ |
| 8753 | DRIVER( megat5a ) /* (c) 1997 Merit */ | |
| 8739 | 8754 | DRIVER( megat5nj ) /* (c) 1997 Merit */ |
| 8740 | 8755 | DRIVER( megat6 ) /* (c) 1998 Merit */ |
| 8741 | 8756 | DRIVER( suprgolf ) /* (c) 1989 Nasco */ |
| r5490 | r5491 | |
| 8841 | 8856 | DRIVER( pkrdewin ) /* 1990 bootleg */ |
| 8842 | 8857 | DRIVER( ampkr95 ) /* 1995 bootleg */ |
| 8843 | 8858 | DRIVER( videomat ) /* 1990 bootleg */ |
| 8859 | DRIVER( rabbitpk ) /* 1990 bootleg */ | |
| 8844 | 8860 | DRIVER( sigmapkr ) /* (c) 1995 Sigma */ |
| 8845 | 8861 | DRIVER( sigma2k ) /* (c) 2000 Sigma */ |
| 8846 | 8862 | DRIVER( sidewndr ) /* (c) 1981? ACE */ |
| r5490 | r5491 | |
| 9188 | 9204 | DRIVER( kgbirda ) /* (c) 1996 */ |
| 9189 | 9205 | DRIVER( phantomp ) /* (c) 1998 */ |
| 9190 | 9206 | DRIVER( swtht2nz ) /* (c) 1998 */ |
| 9191 | DRIVER( topgear ) /* (c) 1996 */ | |
| 9207 | DRIVER( topgear ) /* (c) 1996 */ | |
| 9192 | 9208 | |
| 9193 | 9209 | /* Aristocrat Mk5 hardware */ |
| 9194 | 9210 | DRIVER( swthrt2v ) /* (c) 1995 */ |
| r5490 | r5491 | |
| 9248 | 9264 | DRIVER( wcat3 ) |
| 9249 | 9265 | DRIVER( mtonic ) /* 198? (c) Tonic */ |
| 9250 | 9266 | |
| 9251 | DRIVER( sfbonus ) /* (c) 199? Amcoe */ | |
| 9252 | DRIVER( sfbonusa ) /* (c) 199? Amcoe */ | |
| 9253 | DRIVER( sfbonusb ) | |
| 9254 | DRIVER( sfbonusd ) | |
| 9255 | DRIVER( sfbonusv ) | |
| 9256 | DRIVER( parrot3 ) | |
| 9257 | DRIVER( parrot3b ) | |
| 9258 | DRIVER( parrot3d ) | |
| 9259 | DRIVER( parrot3v ) | |
| 9260 | DRIVER( parrot3v2 ) | |
| 9261 | DRIVER( hldspin1 ) | |
| 9262 | DRIVER( hldspin1b ) | |
| 9263 | DRIVER( hldspin1d ) | |
| 9264 | DRIVER( hldspin1v ) | |
| 9265 | DRIVER( hldspin2 ) | |
| 9266 | DRIVER( hldspin2b ) | |
| 9267 | DRIVER( hldspin2d ) | |
| 9268 | DRIVER( hldspin2v ) | |
| 9269 | DRIVER( fcnudge ) | |
| 9270 | DRIVER( fcnudge2 ) | |
| 9271 | DRIVER( fcnudge3 ) | |
| 9272 | DRIVER( fcnudge4 ) | |
| 9273 | DRIVER( pickwin ) | |
| 9274 | DRIVER( pickwina ) | |
| 9275 | DRIVER( pickwinb ) | |
| 9276 | DRIVER( pickwinb2 ) | |
| 9277 | DRIVER( pickwind ) | |
| 9278 | DRIVER( pickwind2 ) | |
| 9279 | DRIVER( pickwinv ) | |
| 9280 | DRIVER( pickwinv2 ) | |
| 9281 | DRIVER( pickwinv3 ) | |
| 9282 | DRIVER( tighook ) | |
| 9283 | DRIVER( tighooka ) | |
| 9284 | DRIVER( tighookc ) | |
| 9285 | DRIVER( tighookc2 ) | |
| 9286 | DRIVER( tighookv ) | |
| 9287 | DRIVER( tighookv2 ) | |
| 9288 | DRIVER( tighookv3 ) | |
| 9289 | DRIVER( tighookd ) | |
| 9290 | DRIVER( tighookd2 ) | |
| 9291 | DRIVER( robadv ) | |
| 9292 | DRIVER( robadvc ) | |
| 9293 | DRIVER( robadvd ) | |
| 9294 | DRIVER( robadvv1 ) | |
| 9295 | DRIVER( robadvv2 ) | |
| 9296 | DRIVER( robadv2 ) | |
| 9297 | DRIVER( robadv2a ) | |
| 9298 | DRIVER( robadv2c ) | |
| 9299 | DRIVER( robadv2v1 ) | |
| 9300 | DRIVER( robadv2v2 ) | |
| 9301 | DRIVER( robadv2v3 ) | |
| 9302 | DRIVER( robadv2v4 ) | |
| 9303 | DRIVER( robadv2d ) | |
| 9304 | DRIVER( robadv2d2 ) | |
| 9305 | DRIVER( robadv2d3 ) | |
| 9306 | DRIVER( robadv2c2 ) | |
| 9307 | DRIVER( robadv2c3 ) | |
| 9308 | DRIVER( pirpok2 ) | |
| 9309 | DRIVER( pirpok2b ) | |
| 9310 | DRIVER( pirpok2d ) | |
| 9311 | DRIVER( pirpok2v ) | |
| 9312 | DRIVER( pirpok2v2 ) | |
| 9313 | DRIVER( anibonus ) | |
| 9314 | DRIVER( anibonus2 ) | |
| 9315 | DRIVER( anibonus3 ) | |
| 9316 | DRIVER( anibonus4 ) | |
| 9317 | DRIVER( anibonus5 ) | |
| 9318 | DRIVER( anibonus6 ) | |
| 9319 | DRIVER( anibonusb ) | |
| 9320 | DRIVER( anibonusb2 ) | |
| 9321 | DRIVER( anibonusd ) | |
| 9322 | DRIVER( anibonusd2 ) | |
| 9323 | DRIVER( anibonusv ) | |
| 9324 | DRIVER( anibonusv2 ) | |
| 9325 | DRIVER( anibonusv3 ) | |
| 9326 | DRIVER( abnudge ) | |
| 9327 | DRIVER( abnudgeb ) | |
| 9328 | DRIVER( abnudged ) | |
| 9329 | DRIVER( abnudgev ) | |
| 9330 | DRIVER( anithunt ) | |
| 9331 | DRIVER( anithunt2 ) | |
| 9332 | DRIVER( anithuntb ) | |
| 9333 | DRIVER( anithuntd ) | |
| 9334 | DRIVER( anithuntv ) | |
| 9335 | DRIVER( dblchal ) | |
| 9336 | DRIVER( dblchalb ) | |
| 9337 | DRIVER( dblchalc ) | |
| 9338 | DRIVER( dblchald ) | |
| 9339 | DRIVER( dblchalv ) | |
| 9340 | DRIVER( sfruitb ) | |
| 9341 | DRIVER( sfruitb2 ) | |
| 9342 | DRIVER( sfruitb3 ) | |
| 9343 | DRIVER( sfruitbb ) | |
| 9344 | DRIVER( sfruitbb2 ) | |
| 9345 | DRIVER( sfruitbb3 ) | |
| 9346 | DRIVER( sfruitbd ) | |
| 9347 | DRIVER( sfruitbd2 ) | |
| 9348 | DRIVER( sfruitbd3 ) | |
| 9349 | DRIVER( sfruitbv ) | |
| 9350 | DRIVER( sfruitbv2 ) | |
| 9351 | DRIVER( sfruitbv3 ) | |
| 9352 | DRIVER( sfruitbv4 ) | |
| 9353 | DRIVER( sfruitbv5 ) | |
| 9354 | DRIVER( fb2gen ) | |
| 9355 | DRIVER( fb2gena ) | |
| 9356 | DRIVER( fb2genc ) | |
| 9357 | DRIVER( fb2genc2 ) | |
| 9358 | DRIVER( fb2genv ) | |
| 9359 | DRIVER( fb2genv2 ) | |
| 9360 | DRIVER( fb2genv3 ) | |
| 9361 | DRIVER( fb2gend ) | |
| 9362 | DRIVER( fb2gend2 ) | |
| 9363 | DRIVER( fb2nd ) | |
| 9364 | DRIVER( fb2ndc ) | |
| 9365 | DRIVER( fb2ndc2 ) | |
| 9366 | DRIVER( fb2ndv ) | |
| 9367 | DRIVER( fb2ndv2 ) | |
| 9368 | DRIVER( fb2ndd ) | |
| 9369 | DRIVER( fb2ndd2 ) | |
| 9370 | DRIVER( fb4 ) | |
| 9371 | DRIVER( fb4a ) | |
| 9372 | DRIVER( fb4b ) | |
| 9373 | DRIVER( fb4b2 ) | |
| 9374 | DRIVER( fb4c ) | |
| 9375 | DRIVER( fb4c2 ) | |
| 9376 | DRIVER( fb4d ) | |
| 9377 | DRIVER( fb4d2 ) | |
| 9378 | DRIVER( fb4v ) | |
| 9379 | DRIVER( fb4v2 ) | |
| 9380 | DRIVER( fb4v3 ) | |
| 9381 | DRIVER( fb5 ) | |
| 9382 | DRIVER( fb5c ) | |
| 9383 | DRIVER( fb5d ) | |
| 9384 | DRIVER( fb5v ) | |
| 9385 | DRIVER( fb6 ) | |
| 9386 | DRIVER( fb6v3 ) | |
| 9387 | DRIVER( fb6d2 ) | |
| 9388 | DRIVER( fb6s ) | |
| 9389 | DRIVER( fb6v ) | |
| 9390 | DRIVER( fb6d ) | |
| 9391 | DRIVER( fb6s2 ) | |
| 9392 | DRIVER( fb6v2 ) | |
| 9393 | DRIVER( fb6se ) | |
| 9394 | DRIVER( fb6sev ) | |
| 9395 | DRIVER( fb6sed ) | |
| 9396 | DRIVER( fb6sev2 ) | |
| 9397 | DRIVER( fb6sed2 ) | |
| 9398 | DRIVER( fb6sev3 ) | |
| 9399 | DRIVER( version4 ) | |
| 9400 | DRIVER( bugfever ) | |
| 9401 | DRIVER( bugfeverd ) | |
| 9402 | DRIVER( bugfeverv ) | |
| 9403 | DRIVER( bugfeverv2 ) | |
| 9404 | DRIVER( dvisland ) | |
| 9405 | DRIVER( funriver ) | |
| 9406 | DRIVER( funriverv ) | |
| 9407 | DRIVER( amclink ) | |
| 9267 | DRIVER( sfbonus ) /* (c) 2003 Amcoe - Skill Fruit Bonus */ | |
| 9268 | DRIVER( sfbonusd1 ) /* (c) 2003 Amcoe */ | |
| 9269 | DRIVER( sfbonusv1 ) /* (c) 2003 Amcoe */ | |
| 9270 | DRIVER( sfbonuso ) /* (c) 2003 Amcoe */ | |
| 9271 | DRIVER( sfbonuso2 ) /* (c) 2003 Amcoe */ | |
| 9272 | DRIVER( parrot3 ) /* (c) 2003 Amcoe - Parrot Poker III */ | |
| 9273 | DRIVER( parrot3b1 ) /* (c) 2004 Amcoe */ | |
| 9274 | DRIVER( parrot3d1 ) /* (c) 2004 Amcoe */ | |
| 9275 | DRIVER( parrot3v1 ) /* (c) 2004 Amcoe */ | |
| 9276 | DRIVER( parrot3o ) /* (c) 2004 Amcoe */ | |
| 9277 | DRIVER( hldspin1 ) /* (c) 2000 Amcoe - Hold & Spin I */ | |
| 9278 | DRIVER( hldspin1dt )/* (c) 2000 Amcoe */ | |
| 9279 | DRIVER( hldspin1vt )/* (c) 2000 Amcoe */ | |
| 9280 | DRIVER( hldspin1o ) /* (c) 2000 Amcoe */ | |
| 9281 | DRIVER( hldspin2 ) /* (c) 2000 Amcoe - Hold & Spin II */ | |
| 9282 | DRIVER( hldspin2d1 )/* (c) 2000 Amcoe */ | |
| 9283 | DRIVER( hldspin2v1 )/* (c) 2000 Amcoe */ | |
| 9284 | DRIVER( hldspin2o ) /* (c) 2000 Amcoe */ | |
| 9285 | DRIVER( fcnudge ) /* (c) 2003 Amcoe - Fruit Carnival Nudge */ | |
| 9286 | DRIVER( fcnudgeo ) /* (c) 2003 Amcoe */ | |
| 9287 | DRIVER( fcnudgeo2 ) /* (c) 2003 Amcoe */ | |
| 9288 | DRIVER( fcnudgeo3 ) /* (c) 2003 Amcoe */ | |
| 9289 | DRIVER( pickwin ) /* (c) 2001 Amcoe - Pick 'n Win */ | |
| 9290 | DRIVER( pickwinb1 ) /* (c) 2001 Amcoe */ | |
| 9291 | DRIVER( pickwind1 ) /* (c) 2001 Amcoe */ | |
| 9292 | DRIVER( pickwinv1 ) /* (c) 2001 Amcoe */ | |
| 9293 | DRIVER( pickwinbt ) /* (c) 2001 Amcoe */ | |
| 9294 | DRIVER( pickwindt ) /* (c) 2001 Amcoe */ | |
| 9295 | DRIVER( pickwinvt ) /* (c) 2001 Amcoe */ | |
| 9296 | DRIVER( pickwino ) /* (c) 2001 Amcoe */ | |
| 9297 | DRIVER( pickwino2 ) /* (c) 2001 Amcoe */ | |
| 9298 | DRIVER( tighook ) /* (c) 2004 Amcoe - Tiger Hook */ | |
| 9299 | DRIVER( tighookc1 ) /* (c) 2004 Amcoe */ | |
| 9300 | DRIVER( tighookd1 ) /* (c) 2004 Amcoe */ | |
| 9301 | DRIVER( tighookv1 ) /* (c) 2004 Amcoe */ | |
| 9302 | DRIVER( tighookc2 ) /* (c) 2004 Amcoe */ | |
| 9303 | DRIVER( tighookd2 ) /* (c) 2004 Amcoe */ | |
| 9304 | DRIVER( tighookv2 ) /* (c) 2004 Amcoe */ | |
| 9305 | DRIVER( tighooko ) /* (c) 2004 Amcoe */ | |
| 9306 | DRIVER( tighooko2 ) /* (c) 2004 Amcoe */ | |
| 9307 | DRIVER( robadv ) /* (c) 2004 Amcoe - Robin's Adventure */ | |
| 9308 | DRIVER( robadvc1 ) /* (c) 2004 Amcoe */ | |
| 9309 | DRIVER( robadvd1 ) /* (c) 2004 Amcoe */ | |
| 9310 | DRIVER( robadvv1 ) /* (c) 2004 Amcoe */ | |
| 9311 | DRIVER( robadvo ) /* (c) 2004 Amcoe */ | |
| 9312 | DRIVER( robadv2 ) /* (c) 2004 Amcoe - Robin's Adventure 2 */ | |
| 9313 | DRIVER( robadv2c1 ) /* (c) 2004 Amcoe */ | |
| 9314 | DRIVER( robadv2d1 ) /* (c) 2004 Amcoe */ | |
| 9315 | DRIVER( robadv2v1 ) /* (c) 2004 Amcoe */ | |
| 9316 | DRIVER( robadv2c2 ) /* (c) 2004 Amcoe */ | |
| 9317 | DRIVER( robadv2d2 ) /* (c) 2004 Amcoe */ | |
| 9318 | DRIVER( robadv2v2 ) /* (c) 2004 Amcoe */ | |
| 9319 | DRIVER( robadv2c3 ) /* (c) 2004 Amcoe */ | |
| 9320 | DRIVER( robadv2d3 ) /* (c) 2004 Amcoe */ | |
| 9321 | DRIVER( robadv2v3 ) /* (c) 2004 Amcoe */ | |
| 9322 | DRIVER( robadv2o ) /* (c) 2004 Amcoe */ | |
| 9323 | DRIVER( robadv2o2 ) /* (c) 2004 Amcoe */ | |
| 9324 | DRIVER( pirpok2 ) /* (c) 2003 Amcoe - Pirate Poker II */ | |
| 9325 | DRIVER( pirpok2b1 ) /* (c) 2003 Amcoe */ | |
| 9326 | DRIVER( pirpok2d1 ) /* (c) 2003 Amcoe */ | |
| 9327 | DRIVER( pirpok2v1 ) /* (c) 2003 Amcoe */ | |
| 9328 | DRIVER( pirpok2o ) /* (c) 2003 Amcoe */ | |
| 9329 | DRIVER( anibonus ) /* (c) 2003 Amcoe - Animal Bonus */ | |
| 9330 | DRIVER( anibonusv1 )/* (c) 2003 Amcoe */ | |
| 9331 | DRIVER( anibonusv2 )/* (c) 2003 Amcoe */ | |
| 9332 | DRIVER( anibonusb1 )/* (c) 2003 Amcoe */ | |
| 9333 | DRIVER( anibonusd1 )/* (c) 2003 Amcoe */ | |
| 9334 | DRIVER( anibonusb2 )/* (c) 2003 Amcoe */ | |
| 9335 | DRIVER( anibonusd2 )/* (c) 2003 Amcoe */ | |
| 9336 | DRIVER( anibonuso ) /* (c) 2003 Amcoe */ | |
| 9337 | DRIVER( anibonuso2 )/* (c) 2003 Amcoe */ | |
| 9338 | DRIVER( anibonuso3 )/* (c) 2003 Amcoe */ | |
| 9339 | DRIVER( anibonusxo )/* (c) 2003 Amcoe */ | |
| 9340 | DRIVER( anibonusxo2 )/* (c) 2003 Amcoe */ | |
| 9341 | DRIVER( anibonusxo3 )/* (c) 2003 Amcoe */ | |
| 9342 | DRIVER( abnudge ) /* (c) 2003 Amcoe - Animal Bonus Nudge */ | |
| 9343 | DRIVER( abnudgeb ) /* (c) 2003 Amcoe */ | |
| 9344 | DRIVER( abnudged ) /* (c) 2003 Amcoe */ | |
| 9345 | DRIVER( abnudgeo ) /* (c) 2003 Amcoe */ | |
| 9346 | DRIVER( dblchal ) /* (c) 2003 Amcoe - Double Challenge */ | |
| 9347 | DRIVER( dblchalc1 ) /* (c) 2003 Amcoe */ | |
| 9348 | DRIVER( dblchald1 ) /* (c) 2003 Amcoe */ | |
| 9349 | DRIVER( dblchalv1 ) /* (c) 2003 Amcoe */ | |
| 9350 | DRIVER( dblchalo ) /* (c) 2003 Amcoe */ | |
| 9351 | DRIVER( anithunt ) /* (c) 2003 Amcoe - Animal Treasure Hunt */ | |
| 9352 | DRIVER( anithuntd1 )/* (c) 2003 Amcoe */ | |
| 9353 | DRIVER( anithuntv1 )/* (c) 2003 Amcoe */ | |
| 9354 | DRIVER( anithunto ) /* (c) 2003 Amcoe */ | |
| 9355 | DRIVER( anithunto2 )/* (c) 2003 Amcoe */ | |
| 9356 | DRIVER( sfruitb ) /* (c) 2002 Amcoe - Super Fruit Bonus */ | |
| 9357 | DRIVER( sfruitbb1 ) /* (c) 2002 Amcoe */ | |
| 9358 | DRIVER( sfruitbd1 ) /* (c) 2002 Amcoe */ | |
| 9359 | DRIVER( sfruitbv1 ) /* (c) 2002 Amcoe */ | |
| 9360 | DRIVER( sfruitbb2 ) /* (c) 2002 Amcoe */ | |
| 9361 | DRIVER( sfruitbd2 ) /* (c) 2002 Amcoe */ | |
| 9362 | DRIVER( sfruitbv2 ) /* (c) 2002 Amcoe */ | |
| 9363 | DRIVER( sfruitbo ) /* (c) 2002 Amcoe */ | |
| 9364 | DRIVER( sfruitbo2 ) /* (c) 2002 Amcoe */ | |
| 9365 | DRIVER( sfruitbh ) /* (c) 2002 Amcoe */ | |
| 9366 | DRIVER( sfruitbbh ) /* (c) 2002 Amcoe */ | |
| 9367 | DRIVER( sfruitbdh ) /* (c) 2002 Amcoe */ | |
| 9368 | DRIVER( sfruitbvh ) /* (c) 2002 Amcoe */ | |
| 9369 | DRIVER( sfruitboh ) /* (c) 2002 Amcoe */ | |
| 9370 | DRIVER( fb2gen ) /* (c) 2004 Amcoe - Fruit Bonus 2nd Generation */ | |
| 9371 | DRIVER( fb2genc1 ) /* (c) 2004 Amcoe */ | |
| 9372 | DRIVER( fb2gend1 ) /* (c) 2004 Amcoe */ | |
| 9373 | DRIVER( fb2genv1 ) /* (c) 2004 Amcoe */ | |
| 9374 | DRIVER( fb2genc2 ) /* (c) 2004 Amcoe */ | |
| 9375 | DRIVER( fb2gend2 ) /* (c) 2004 Amcoe */ | |
| 9376 | DRIVER( fb2genv2 ) /* (c) 2004 Amcoe */ | |
| 9377 | DRIVER( fb2geno ) /* (c) 2004 Amcoe */ | |
| 9378 | DRIVER( fb2geno2 ) /* (c) 2004 Amcoe */ | |
| 9379 | DRIVER( fb2nd ) /* (c) 2004 Amcoe - Fruit Bonus 2nd Edition */ | |
| 9380 | DRIVER( fb2ndd1 ) /* (c) 2004 Amcoe */ | |
| 9381 | DRIVER( fb2ndv1 ) /* (c) 2004 Amcoe */ | |
| 9382 | DRIVER( fb2ndc2 ) /* (c) 2004 Amcoe */ | |
| 9383 | DRIVER( fb2ndd2 ) /* (c) 2004 Amcoe */ | |
| 9384 | DRIVER( fb2ndv2 ) /* (c) 2004 Amcoe */ | |
| 9385 | DRIVER( fb2ndo ) /* (c) 2004 Amcoe */ | |
| 9386 | DRIVER( fb4 ) /* (c) 2004 Amcoe - Fruit Bonus 2004 */ | |
| 9387 | DRIVER( fb4c1 ) /* (c) 2004 Amcoe */ | |
| 9388 | DRIVER( fb4d1 ) /* (c) 2004 Amcoe */ | |
| 9389 | DRIVER( fb4v1 ) /* (c) 2004 Amcoe */ | |
| 9390 | DRIVER( fb4exp ) /* (c) 2004 Amcoe */ | |
| 9391 | DRIVER( fb4b2 ) /* (c) 2004 Amcoe */ | |
| 9392 | DRIVER( fb4c2 ) /* (c) 2004 Amcoe */ | |
| 9393 | DRIVER( fb4d2 ) /* (c) 2004 Amcoe */ | |
| 9394 | DRIVER( fb4v2 ) /* (c) 2004 Amcoe */ | |
| 9395 | DRIVER( fb4o ) /* (c) 2004 Amcoe */ | |
| 9396 | DRIVER( fb4o2 ) /* (c) 2004 Amcoe */ | |
| 9397 | DRIVER( fb5 ) /* (c) 2005 Amcoe - Fruit Bonus 2005 */ | |
| 9398 | DRIVER( fb5c ) /* (c) 2005 Amcoe */ | |
| 9399 | DRIVER( fb5d ) /* (c) 2005 Amcoe */ | |
| 9400 | DRIVER( fb5v ) /* (c) 2005 Amcoe */ | |
| 9401 | DRIVER( fb6 ) /* (c) 200? Amcoe - Fruit Bonus '06 - 10th anniversary */ | |
| 9402 | DRIVER( fb6v ) /* (c) 200? Amcoe */ | |
| 9403 | DRIVER( fb6d1 ) /* (c) 200? Amcoe */ | |
| 9404 | DRIVER( fb6s1 ) /* (c) 200? Amcoe */ | |
| 9405 | DRIVER( fb6v1 ) /* (c) 200? Amcoe */ | |
| 9406 | DRIVER( fb6d2 ) /* (c) 200? Amcoe */ | |
| 9407 | DRIVER( fb6s2 ) /* (c) 200? Amcoe */ | |
| 9408 | DRIVER( fb6v2 ) /* (c) 200? Amcoe */ | |
| 9409 | DRIVER( fb6se ) /* (c) 200? Amcoe - Fruit Bonus 2006 Special Edition */ | |
| 9410 | DRIVER( fb6sev ) /* (c) 200? Amcoe */ | |
| 9411 | DRIVER( fb6sed1 ) /* (c) 200? Amcoe */ | |
| 9412 | DRIVER( fb6sev1 ) /* (c) 200? Amcoe */ | |
| 9413 | DRIVER( fb6sed2 ) /* (c) 200? Amcoe */ | |
| 9414 | DRIVER( fb6sev2 ) /* (c) 200? Amcoe */ | |
| 9415 | DRIVER( version4 ) /* (c) 200? Amcoe - Version 4 ? */ | |
| 9416 | DRIVER( bugfever ) /* (c) 200? Amcoe - Bug Fever */ | |
| 9417 | DRIVER( bugfeverd ) /* (c) 200? Amcoe */ | |
| 9418 | DRIVER( bugfeverv ) /* (c) 200? Amcoe */ | |
| 9419 | DRIVER( bugfeverv2 )/* (c) 200? Amcoe */ | |
| 9420 | DRIVER( dvisland ) /* (c) 200? Amcoe - Devil's Island */ | |
| 9421 | DRIVER( funriver ) /* (c) 200? Amcoe - Fun River */ | |
| 9422 | DRIVER( funriverv ) /* (c) 200? Amcoe */ | |
| 9423 | DRIVER( amclink ) /* (c) 200? Amcoe - Amcoe Link Control Box? */ | |
| 9408 | 9424 | |
| 9425 | DRIVER( act2000 ) /* (c) 1999 Amcoe - Action 2000 */ | |
| 9426 | DRIVER( act2000v1 ) /* (c) 1999 Amcoe */ | |
| 9427 | DRIVER( act2000d1 ) /* (c) 1999 Amcoe */ | |
| 9428 | DRIVER( act2000b1 ) /* (c) 1999 Amcoe */ | |
| 9429 | DRIVER( act2000vx ) /* (c) 1999 Amcoe */ | |
| 9430 | DRIVER( act2000dx ) /* (c) 1999 Amcoe */ | |
| 9431 | DRIVER( act2000bx ) /* (c) 1999 Amcoe */ | |
| 9432 | DRIVER( act2000o ) /* (c) 1999 Amcoe */ | |
| 9433 | DRIVER( act2000o2 ) /* (c) 1999 Amcoe */ | |
| 9434 | DRIVER( act2000o3 ) /* (c) 1999 Amcoe */ | |
| 9435 | DRIVER( ch2000 ) /* (c) 2000 Amcoe - Fruit Bonus 2000 / New Cherry 2000 */ | |
| 9436 | DRIVER( ch2000b1 ) /* (c) 2000 Amcoe */ | |
| 9437 | DRIVER( ch2000c1 ) /* (c) 2000 Amcoe */ | |
| 9438 | DRIVER( ch2000d1 ) /* (c) 2000 Amcoe */ | |
| 9439 | DRIVER( ch2000v1 ) /* (c) 2000 Amcoe */ | |
| 9440 | DRIVER( ch2000b2 ) /* (c) 2000 Amcoe */ | |
| 9441 | DRIVER( ch2000c2 ) /* (c) 2000 Amcoe */ | |
| 9442 | DRIVER( ch2000d2 ) /* (c) 2000 Amcoe */ | |
| 9443 | DRIVER( ch2000v2 ) /* (c) 2000 Amcoe */ | |
| 9444 | DRIVER( ch2000o ) /* (c) 2000 Amcoe */ | |
| 9445 | DRIVER( ch2000o2 ) /* (c) 2000 Amcoe */ | |
| 9446 | DRIVER( ch2000o3 ) /* (c) 2000 Amcoe */ | |
| 9447 | DRIVER( pir2001 ) /* (c) 2001 Amcoe - Pirate 2001 */ | |
| 9448 | DRIVER( pir2001b1 ) /* (c) 2001 Amcoe */ | |
| 9449 | DRIVER( pir2001d1 ) /* (c) 2001 Amcoe */ | |
| 9450 | DRIVER( pir2001v1 ) /* (c) 2001 Amcoe */ | |
| 9451 | DRIVER( pir2001bx ) /* (c) 2001 Amcoe */ | |
| 9452 | DRIVER( pir2001dx ) /* (c) 2001 Amcoe */ | |
| 9453 | DRIVER( pir2001vx ) /* (c) 2001 Amcoe */ | |
| 9454 | DRIVER( pir2001o ) /* (c) 2001 Amcoe */ | |
| 9455 | DRIVER( pir2001o2 ) /* (c) 2001 Amcoe */ | |
| 9456 | DRIVER( pir2001o3 ) /* (c) 2001 Amcoe */ | |
| 9457 | DRIVER( pir2002 ) /* (c) 2001 Amcoe - Pirate 2002 */ | |
| 9458 | DRIVER( pir2002b1 ) /* (c) 2001 Amcoe */ | |
| 9459 | DRIVER( pir2002d1 ) /* (c) 2001 Amcoe */ | |
| 9460 | DRIVER( pir2002v1 ) /* (c) 2001 Amcoe */ | |
| 9461 | DRIVER( pir2002bx ) /* (c) 2001 Amcoe */ | |
| 9462 | DRIVER( pir2002dx ) /* (c) 2001 Amcoe */ | |
| 9463 | DRIVER( pir2002vx ) /* (c) 2001 Amcoe */ | |
| 9464 | DRIVER( pir2002o ) /* (c) 2001 Amcoe */ | |
| 9465 | DRIVER( pir2002o2 ) /* (c) 2001 Amcoe */ | |
| 9466 | DRIVER( pir2002o3 ) /* (c) 2001 Amcoe */ | |
| 9467 | DRIVER( classice ) /* (c) 2004 Amcoe - Classic Edition */ | |
| 9468 | DRIVER( classicev ) /* (c) 2004 Amcoe */ | |
| 9469 | DRIVER( classice1 ) /* (c) 2004 Amcoe */ | |
| 9470 | DRIVER( classiced1 )/* (c) 2004 Amcoe */ | |
| 9471 | DRIVER( classicev1 )/* (c) 2004 Amcoe */ | |
| 9472 | DRIVER( classice2 ) /* (c) 2004 Amcoe */ | |
| 9473 | DRIVER( classiced2 )/* (c) 2004 Amcoe */ | |
| 9474 | DRIVER( classicev2 )/* (c) 2004 Amcoe */ | |
| 9475 | DRIVER( seawld ) /* (c) 200? Amcoe - Sea World */ | |
| 9476 | DRIVER( seawldd1 ) /* (c) 200? Amcoe */ | |
| 9477 | DRIVER( moneymac ) /* (c) 200? Amcoe - Money Machine */ | |
| 9478 | DRIVER( moneymacd1 )/* (c) 200? Amcoe */ | |
| 9479 | DRIVER( moneymacv1 )/* (c) 200? Amcoe */ | |
| 9480 | DRIVER( moneymacd2 )/* (c) 200? Amcoe */ | |
| 9481 | DRIVER( moneymacv2 )/* (c) 200? Amcoe */ | |
| 9482 | //DRIVER( atworld ) /* (c) 2007 Amcoe - Around The World (year listed on Amcoe web site) */ | |
| 9483 | //DRIVER( atworldd1 ) /* (c) 2007 Amcoe (year listed on Amcoe web site) */ | |
| 9409 | 9484 | |
| 9410 | DRIVER( act2000 ) | |
| 9411 | DRIVER( act2000a ) | |
| 9412 | DRIVER( act2000a2 ) | |
| 9413 | DRIVER( act2000v ) | |
| 9414 | DRIVER( act2000v2 ) | |
| 9415 | DRIVER( act2000v3 ) | |
| 9416 | DRIVER( act2000d ) | |
| 9417 | DRIVER( act2000d2 ) | |
| 9418 | DRIVER( act2000b ) | |
| 9419 | DRIVER( act2000b2 ) | |
| 9420 | DRIVER( ch2000 ) | |
| 9421 | DRIVER( ch2000x ) | |
| 9422 | DRIVER( ch2000y ) | |
| 9423 | DRIVER( ch2000b ) | |
| 9424 | DRIVER( ch2000b2 ) | |
| 9425 | DRIVER( ch2000v ) | |
| 9426 | DRIVER( ch2000v2 ) | |
| 9427 | DRIVER( ch2000v3 ) | |
| 9428 | DRIVER( ch2000c ) | |
| 9429 | DRIVER( ch2000c2 ) | |
| 9430 | DRIVER( ch2000d ) | |
| 9431 | DRIVER( ch2000d2 ) | |
| 9432 | DRIVER( pir2001 ) | |
| 9433 | DRIVER( pir2001a ) | |
| 9434 | DRIVER( pir2001b ) | |
| 9435 | DRIVER( pir2001b2 ) | |
| 9436 | DRIVER( pir2001b3 ) | |
| 9437 | DRIVER( pir2001v ) | |
| 9438 | DRIVER( pir2001v2 ) | |
| 9439 | DRIVER( pir2001v3 ) | |
| 9440 | DRIVER( pir2001d ) | |
| 9441 | DRIVER( pir2001d2 ) | |
| 9442 | DRIVER( pir2002 ) | |
| 9443 | DRIVER( pir2002a ) | |
| 9444 | DRIVER( pir2002b ) | |
| 9445 | DRIVER( pir2002b2 ) | |
| 9446 | DRIVER( pir2002b3 ) | |
| 9447 | DRIVER( pir2002v ) | |
| 9448 | DRIVER( pir2002v2 ) | |
| 9449 | DRIVER( pir2002v3 ) | |
| 9450 | DRIVER( pir2002d ) | |
| 9451 | DRIVER( pir2002d2 ) | |
| 9452 | DRIVER( classice ) | |
| 9453 | DRIVER( classicea ) | |
| 9454 | DRIVER( classiced ) | |
| 9455 | DRIVER( classiced2 ) | |
| 9456 | DRIVER( classiced3 ) | |
| 9457 | DRIVER( classicev ) | |
| 9458 | DRIVER( classicev2 ) | |
| 9459 | DRIVER( classicev3 ) | |
| 9460 | DRIVER( seawld ) | |
| 9461 | DRIVER( seawlda ) | |
| 9462 | DRIVER( moneymac ) | |
| 9463 | DRIVER( moneymacv ) | |
| 9464 | DRIVER( moneymacv2 ) | |
| 9465 | DRIVER( moneymacd ) | |
| 9466 | DRIVER( moneymacd2 ) | |
| 9467 | DRIVER( atworld ) | |
| 9468 | DRIVER( atworlda ) | |
| 9469 | 9485 | |
| 9470 | ||
| 9471 | 9486 | DRIVER( chsuper3 ) /* unknown */ |
| 9472 | 9487 | DRIVER( chsuper2 ) /* unknown */ |
| 9473 | 9488 | DRIVER( 3super8 ) /* unknown */ |
| r5490 | r5491 | |
| 9487 | 9502 | DRIVER( pachifev ) /* (c) 1983? */ |
| 9488 | 9503 | |
| 9489 | 9504 | /* New Image Technologies */ |
| 9490 | DRIVER( bonanza ) /* (c) 1993 */ | |
| 9491 | DRIVER( bonanzar2 ) /* (c) 1993 */ | |
| 9492 | DRIVER( streetg ) /* (c) 1993 */ | |
| 9493 | DRIVER( streetgr3 ) /* (c) 1993 */ | |
| 9494 | DRIVER( streetg2 ) /* (c) 1993 */ | |
| 9495 | DRIVER( streetg2r5 ) /* (c) 1993 */ | |
| 9505 | DRIVER( bonanza ) /* (c) 1993 */ | |
| 9506 | DRIVER( bonanzar2 ) /* (c) 1993 */ | |
| 9507 | DRIVER( streetg ) /* (c) 1993 */ | |
| 9508 | DRIVER( streetgr3 ) /* (c) 1993 */ | |
| 9509 | DRIVER( streetg2 ) /* (c) 1993 */ | |
| 9510 | DRIVER( streetg2r5 ) /* (c) 1993 */ | |
| 9496 | 9511 | |
| 9497 | /* Igrosoft - SHA1 information is not available for commented out sets, only MD5/CRC32 */ | |
| 9512 | /* Coinmaster-Gaming VGA based */ | |
| 9513 | DRIVER( colorama ) /* (c) 2001 Coinmaster-Gaming, Ltd. */ | |
| 9514 | DRIVER( cmrltv75 ) /* (c) 2001 Coinmaster-Gaming, Ltd. */ | |
| 9515 | DRIVER( cmkenosp ) /* (c) 2000 Coinmaster-Gaming, Ltd. */ | |
| 9516 | DRIVER( cmkenospa ) /* (c) 2000 Coinmaster-Gaming, Ltd. */ | |
| 9498 | 9517 | |
| 9518 | /* Igrosoft */ | |
| 9499 | 9519 | /* Multifish */ |
| 9500 | //DRIVER( mfish ) | |
| 9501 | //DRIVER( mfish_2 ) | |
| 9502 | //DRIVER( mfish_3 ) | |
| 9503 | //DRIVER( mfish_4 ) | |
| 9504 | //DRIVER( mfish_5 ) | |
| 9505 | //DRIVER( mfish_6 ) | |
| 9506 | //DRIVER( mfish_7 ) | |
| 9507 | //DRIVER( mfish_8 ) | |
| 9508 | //DRIVER( mfish_9 ) | |
| 9509 | //DRIVER( mfish_10 ) | |
| 9510 | //DRIVER( mfish_11 ) | |
| 9511 | DRIVER( mfish_12 ) | |
| 9512 | DRIVER( mfish_12a ) | |
| 9513 | //DRIVER( mfish_13 ) | |
| 9520 | //DRIVER( mfish ) /* (c) 2002 */ | |
| 9521 | //DRIVER( mfish_2 ) /* (c) 2002 */ | |
| 9522 | DRIVER( mfish_3 ) /* (c) 2002 */ | |
| 9523 | DRIVER( mfish_3a ) /* (c) 2002 */ | |
| 9524 | //DRIVER( mfish_4 ) /* (c) 2002 */ | |
| 9525 | //DRIVER( mfish_5 ) /* (c) 2002 */ | |
| 9526 | //DRIVER( mfish_6 ) /* (c) 2002 */ | |
| 9527 | //DRIVER( mfish_7 ) /* (c) 2002 */ | |
| 9528 | //DRIVER( mfish_8 ) /* (c) 2002 */ | |
| 9529 | //DRIVER( mfish_9 ) /* (c) 2002 */ | |
| 9530 | //DRIVER( mfish_10 ) /* (c) 2002 */ | |
| 9531 | //DRIVER( mfish_11 ) /* (c) 2002 */ | |
| 9532 | DRIVER( mfish_12 ) /* (c) 2002 */ | |
| 9533 | DRIVER( mfish_12a ) /* (c) 2002 */ | |
| 9534 | //DRIVER( mfish_13 ) /* (c) 2002 */ | |
| 9514 | 9535 | |
| 9515 | 9536 | /* Crazy Monkey */ |
| 9516 | //DRIVER( crzmon ) | |
| 9517 | //DRIVER( crzmon_2 ) | |
| 9518 | //DRIVER( crzmon_3 ) | |
| 9519 | //DRIVER( crzmon_4 ) | |
| 9520 | //DRIVER( crzmon_5 ) | |
| 9537 | //DRIVER( crzmon ) /* (c) 2003 */ | |
| 9538 | //DRIVER( crzmon_2 ) /* (c) 2003 */ | |
| 9539 | //DRIVER( crzmon_3 ) /* (c) 2003 */ | |
| 9540 | //DRIVER( crzmon_4 ) /* (c) 2003 */ | |
| 9541 | //DRIVER( crzmon_5 ) /* (c) 2003 */ | |
| 9521 | 9542 | //DRIVER( crzmon_6 ) |
| 9522 | DRIVER( crzmon_7 ) | |
| 9543 | DRIVER( crzmon_7 ) /* (c) 2003 */ | |
| 9544 | DRIVER( crzmon_7a ) /* (c) 2003 */ | |
| 9545 | DRIVER( crzmon_7b ) /* (c) 2003 */ | |
| 9546 | DRIVER( crzmon_8 ) /* (c) 2003 */ | |
| 9547 | DRIVER( crzmon_8a ) /* (c) 2003 */ | |
| 9523 | 9548 | |
| 9524 | 9549 | /* Fruit Cocktail */ |
| 9525 | //DRIVER( fcock ) | |
| 9526 | //DRIVER( fcock_2 ) | |
| 9527 | //DRIVER( fcock_3 ) | |
| 9528 | //DRIVER( fcock_4 ) | |
| 9529 | //DRIVER( fcock_5 ) | |
| 9530 | DRIVER( fcock_6 ) | |
| 9550 | //DRIVER( fcockt ) /* (c) 2003 */ | |
| 9551 | //DRIVER( fcockt_2 ) /* (c) 2003 */ | |
| 9552 | //DRIVER( fcockt_3 ) /* (c) 2003 */ | |
| 9553 | //DRIVER( fcockt_4 ) /* (c) 2003 */ | |
| 9554 | //DRIVER( fcockt_5 ) /* (c) 2003 */ | |
| 9555 | DRIVER( fcockt_6 ) /* (c) 2003 */ | |
| 9556 | DRIVER( fcockt_6a ) /* (c) 2003 */ | |
| 9557 | DRIVER( fcockt_6b ) /* (c) 2003 */ | |
| 9558 | DRIVER( fcockt_7 ) /* (c) 2003 */ | |
| 9559 | DRIVER( fcockt_7a ) /* (c) 2003 */ | |
| 9560 | DRIVER( fcockt_8 ) /* (c) 2003 */ | |
| 9531 | 9561 | |
| 9532 | 9562 | /* Lucky Haunter */ |
| 9533 | //DRIVER( lhaunt ) | |
| 9534 | //DRIVER( lhaunt_2 ) | |
| 9535 | //DRIVER( lhaunt_3 ) | |
| 9536 | DRIVER( lhaunt_4 ) | |
| 9537 | DRIVER( lhaunt_5 ) | |
| 9538 | DRIVER( lhaunt_6 ) | |
| 9563 | //DRIVER( lhaunt ) /* (c) 2003 */ | |
| 9564 | //DRIVER( lhaunt_2 ) /* (c) 2003 */ | |
| 9565 | //DRIVER( lhaunt_3 ) /* (c) 2003 */ | |
| 9566 | DRIVER( lhaunt_4 ) /* (c) 2003 */ | |
| 9567 | DRIVER( lhaunt_4a ) /* (c) 2003 */ | |
| 9568 | DRIVER( lhaunt_5 ) /* (c) 2003 */ | |
| 9569 | DRIVER( lhaunt_5a ) /* (c) 2003 */ | |
| 9570 | DRIVER( lhaunt_6 ) /* (c) 2003 */ | |
| 9571 | DRIVER( lhaunt_6a ) /* (c) 2003 */ | |
| 9539 | 9572 | |
| 9573 | /* Rollfruit */ | |
| 9574 | //DRIVER( rollfr ) /* (c) 2003 */ | |
| 9575 | DRIVER( rollfr_2 ) /* (c) 2003 */ | |
| 9576 | ||
| 9540 | 9577 | /* Garage */ |
| 9541 | //DRIVER( garage ) | |
| 9542 | //DRIVER( garage_2 ) | |
| 9543 | //DRIVER( garage_3 ) | |
| 9544 | DRIVER( garage_4 ) | |
| 9578 | //DRIVER( garage ) /* (c) 2004 */ | |
| 9579 | //DRIVER( garage_2 ) /* (c) 2004 */ | |
| 9580 | //DRIVER( garage_3 ) /* (c) 2004 */ | |
| 9581 | DRIVER( garage_4 ) /* (c) 2004 */ | |
| 9582 | DRIVER( garage_4a ) /* (c) 2004 */ | |
| 9583 | DRIVER( garage_5 ) /* (c) 2004 */ | |
| 9584 | DRIVER( garage_5a ) /* (c) 2004 */ | |
| 9545 | 9585 | |
| 9546 | 9586 | /* Rock Climber */ |
| 9547 | //DRIVER( rclimb ) | |
| 9548 | //DRIVER( rclimb_2 ) | |
| 9549 | DRIVER( rclimb_3 ) | |
| 9587 | //DRIVER( rclimb ) /* (c) 2004 */ | |
| 9588 | //DRIVER( rclimb_2 ) /* (c) 2004 */ | |
| 9589 | DRIVER( rclimb_3 ) /* (c) 2004 */ | |
| 9590 | DRIVER( rclimb_3a ) /* (c) 2004 */ | |
| 9591 | DRIVER( rclimb_3b ) /* (c) 2004 */ | |
| 9550 | 9592 | |
| 9551 | 9593 | /* Sweet Life */ |
| 9552 | DRIVER( sweetl ) | |
| 9594 | DRIVER( sweetl ) /* (c) 2004 */ | |
| 9595 | DRIVER( sweetla ) /* (c) 2004 */ | |
| 9553 | 9596 | |
| 9554 | 9597 | /* Resident */ |
| 9555 | //DRIVER( resdnt ) | |
| 9556 | DRIVER( resdnt_2 ) | |
| 9598 | //DRIVER( resdnt ) /* (c) 2004 */ | |
| 9599 | DRIVER( resdnt_2 ) /* (c) 2004 */ | |
| 9600 | DRIVER( resdnt_2a ) /* (c) 2004 */ | |
| 9557 | 9601 | |
| 9558 | /* Rollfruit */ | |
| 9559 | //DRIVER( rollfr ) | |
| 9560 | //DRIVER( rollfr_2 ) | |
| 9561 | ||
| 9562 | 9602 | /* Island */ |
| 9563 | DRIVER( island ) | |
| 9603 | DRIVER( island ) /* (c) 2005 */ | |
| 9604 | DRIVER( islanda ) /* (c) 2005 */ | |
| 9564 | 9605 | |
| 9606 | /* Pirate */ | |
| 9607 | //DRIVER( pirate ) /* (c) 2005 */ | |
| 9608 | DRIVER( pirate_1 ) /* (c) 2005 */ | |
| 9609 | //DRIVER( pirate_2 )/* (c) 2005 */ | |
| 9565 | 9610 | |
| 9566 | /* Drivers below are mechanical games, usually with no video display, requiring external artwork to function. | |
| 9611 | /* Island 2 */ | |
| 9612 | DRIVER( island2 ) /* (c) 2006 */ | |
| 9613 | DRIVER( island2a ) /* (c) 2006 */ | |
| 9614 | ||
| 9615 | /* Keks */ | |
| 9616 | DRIVER( keks ) /* (c) 2006 */ | |
| 9617 | DRIVER( keksa ) /* (c) 2006 */ | |
| 9618 | DRIVER( keksb ) /* (c) 2006 */ | |
| 9619 | DRIVER( keks_2 ) /* (c) 2006 */ | |
| 9620 | DRIVER( keks_2a ) /* (c) 2006 */ | |
| 9621 | ||
| 9622 | /* Drivers below are mechanical games, usually with no video display, requiring external artwork to function. | |
| 9567 | 9623 | These are currently mostly 'fruit machine' style games, although this may later be extended to system logic |
| 9568 | 9624 | emulation for pinball machiens. |
| 9569 | 9625 |
| r5490 | r5491 | |
|---|---|---|
| 47 | 47 | |
| 48 | 48 | /*----------- defined in video/twincobr.c -----------*/ |
| 49 | 49 | |
| 50 | extern void twincobr_flipscreen(int flip); | |
| 50 | extern void twincobr_flipscreen(running_machine *machine, int flip); | |
| 51 | 51 | extern void twincobr_display(int enable); |
| 52 | 52 | |
| 53 | 53 | READ16_HANDLER( twincobr_txram_r ); |
| r5490 | r5491 | |
| 79 | 79 | WRITE8_HANDLER( wardner_CRTC_reg_sel_w ); |
| 80 | 80 | WRITE8_HANDLER( wardner_CRTC_data_w ); |
| 81 | 81 | |
| 82 | extern int twincobr_fg_rom_bank; | |
| 83 | extern int twincobr_bg_ram_bank; | |
| 84 | extern int wardner_sprite_hack; | |
| 82 | extern INT32 twincobr_fg_rom_bank; | |
| 83 | extern INT32 twincobr_bg_ram_bank; | |
| 84 | extern INT32 wardner_sprite_hack; | |
| 85 | 85 | |
| 86 | 86 | VIDEO_START( toaplan0 ); |
| 87 | 87 | VIDEO_UPDATE( toaplan0 ); |
| r5490 | r5491 | |
|---|---|---|
| 28 | 28 | WRITE8_HANDLER( redalert_bitmap_videoram_w ); |
| 29 | 29 | |
| 30 | 30 | MACHINE_DRIVER_EXTERN( ww3_video ); |
| 31 | MACHINE_DRIVER_EXTERN( panther_video ); | |
| 31 | 32 | MACHINE_DRIVER_EXTERN( redalert_video ); |
| 32 | 33 | MACHINE_DRIVER_EXTERN( demoneye_video ); |
| r5490 | r5491 | |
|---|---|---|
| 142 | 142 | WRITE8_HANDLER( clowns_audio_1_w ); |
| 143 | 143 | WRITE8_DEVICE_HANDLER( clowns_audio_2_w ); |
| 144 | 144 | |
| 145 | MACHINE_DRIVER_EXTERN( spacwalk_audio ); | |
| 146 | WRITE8_HANDLER( spacwalk_audio_1_w ); | |
| 147 | ||
| 145 | 148 | MACHINE_DRIVER_EXTERN( shuffle_audio ); |
| 146 | 149 | WRITE8_HANDLER( shuffle_audio_1_w ); |
| 147 | 150 | WRITE8_HANDLER( shuffle_audio_2_w ); |
| r5490 | r5491 | |
|---|---|---|
| 4 | 4 | |
| 5 | 5 | ***************************************************************************/ |
| 6 | 6 | |
| 7 | #include "sound/samples.h" | |
| 8 | ||
| 9 | ||
| 7 | #include "sound/discrete.h" | |
| 10 | 8 | /* we scale horizontally by 3 to render stars correctly */ |
| 11 | 9 | #define GALAXIAN_XSCALE 3 |
| 12 | 10 | |
| r5490 | r5491 | |
| 28 | 26 | #define GALAXIAN_VBEND (16) |
| 29 | 27 | #define GALAXIAN_VBSTART (224+16) |
| 30 | 28 | |
| 29 | #define GAL_AUDIO "discrete" | |
| 31 | 30 | |
| 32 | 31 | /*----------- defined in video/galaxian.c -----------*/ |
| 33 | 32 | |
| r5490 | r5491 | |
| 126 | 125 | |
| 127 | 126 | /*----------- defined in audio/galaxian.c -----------*/ |
| 128 | 127 | |
| 129 | extern const samples_interface galaxian_samples_interface; | |
| 130 | extern const samples_interface galaxian_custom_interface; | |
| 128 | MACHINE_DRIVER_EXTERN( mooncrst_audio ); | |
| 129 | MACHINE_DRIVER_EXTERN( galaxian_audio ); | |
| 131 | 130 | |
| 132 | WRITE8_HANDLER( galaxian_sound_w ); | |
| 133 | WRITE8_HANDLER( galaxian_pitch_w ); | |
| 134 | WRITE8_HANDLER( galaxian_vol_w ); | |
| 135 | WRITE8_HANDLER( galaxian_noise_enable_w ); | |
| 136 | WRITE8_HANDLER( galaxian_background_enable_w ); | |
| 137 | WRITE8_HANDLER( galaxian_shoot_enable_w ); | |
| 138 | WRITE8_HANDLER( galaxian_lfo_freq_w ); | |
| 131 | WRITE8_DEVICE_HANDLER( galaxian_sound_w ); | |
| 132 | WRITE8_DEVICE_HANDLER( galaxian_pitch_w ); | |
| 133 | WRITE8_DEVICE_HANDLER( galaxian_vol_w ); | |
| 134 | WRITE8_DEVICE_HANDLER( galaxian_noise_enable_w ); | |
| 135 | WRITE8_DEVICE_HANDLER( galaxian_background_enable_w ); | |
| 136 | WRITE8_DEVICE_HANDLER( galaxian_shoot_enable_w ); | |
| 137 | WRITE8_DEVICE_HANDLER( galaxian_lfo_freq_w ); | |
| 138 |
| r5490 | r5491 | |
|---|---|---|
| 493 | 493 | UINT8 bg3_priority_bit; |
| 494 | 494 | UINT8 direct_color; |
| 495 | 495 | UINT8 ppu_last_scroll; /* as per Anomie's doc and Theme Park, all scroll regs shares (but mode 7 ones) the same |
| 496 | ||
| 496 | 'previous' scroll value */ | |
| 497 | 497 | UINT8 mode7_last_scroll; /* as per Anomie's doc mode 7 scroll regs use a different value, shared with mode 7 matrix! */ |
| 498 | 498 | |
| 499 | 499 | UINT8 main_bg_enabled[5]; // these would probably better fit the layer struct, but it would make worse the code in snes_update_mode_X() |
| r5490 | r5491 | |
|---|---|---|
| 16 | 16 | { |
| 17 | 17 | ROM_BOARD, |
| 18 | 18 | DIMM_BOARD, |
| 19 | AW_ROM_BOARD, | |
| 19 | 20 | MAX_NAOMIBD_TYPES |
| 20 | 21 | }; |
| 21 | 22 | |
| r5490 | r5491 | |
| 56 | 57 | MDRV_NAOMIBD_ADD(_tag, ROM_BOARD) \ |
| 57 | 58 | MDRV_NAOMIBD_REGION(_region) |
| 58 | 59 | |
| 60 | #define MDRV_AW_ROM_BOARD_ADD(_tag, _region) \ | |
| 61 | MDRV_NAOMIBD_ADD(_tag, AW_ROM_BOARD) \ | |
| 62 | MDRV_NAOMIBD_REGION(_region) | |
| 63 | ||
| 59 | 64 | #define MDRV_NAOMI_DIMM_BOARD_ADD(_tag, _gdrom, _region, _pic) \ |
| 60 | 65 | MDRV_NAOMIBD_ADD(_tag, DIMM_BOARD) \ |
| 61 | 66 | MDRV_NAOMIBD_REGION(_region) \ |
| r5490 | r5491 | |
|---|---|---|
| 20 | 20 | NAMCOS22_ALPINE_RACER_2, |
| 21 | 21 | NAMCOS22_ALPINE_SURFER, |
| 22 | 22 | NAMCOS22_TOKYO_WARS, |
| 23 | NAMCOS22_AQUA_JET | |
| 23 | NAMCOS22_AQUA_JET, | |
| 24 | NAMCOS22_DIRT_DASH | |
| 24 | 25 | } namcos22_gametype; |
| 25 | 26 | |
| 26 | 27 | #define NAMCOS22_NUM_ROWS 30 |
| r5490 | r5491 | |
|---|---|---|
| 2 | 2 | |
| 3 | 3 | extern UINT16 twin16_custom_video; |
| 4 | 4 | extern UINT16 *twin16_gfx_rom; |
| 5 | extern UINT16 *twin16_ | |
| 5 | extern UINT16 *twin16_t | |
| 6 | 6 | extern UINT16 *twin16_sprite_gfx_ram; |
| 7 | 7 | extern UINT16 *twin16_tile_gfx_ram; |
| 8 | 8 | int twin16_spriteram_process_enable( void ); |
| r5490 | r5491 | |
| 10 | 10 | |
| 11 | 11 | /*----------- defined in video/twin16.c -----------*/ |
| 12 | 12 | |
| 13 | WRITE16_HANDLER( twin16_ | |
| 13 | WRITE16_HANDLER( twin16_t | |
| 14 | 14 | WRITE16_HANDLER( twin16_paletteram_word_w ); |
| 15 | 15 | WRITE16_HANDLER( fround_gfx_bank_w ); |
| 16 | 16 | WRITE16_HANDLER( twin16_video_register_w ); |
| 17 | READ16_HANDLER( twin16_sprite_status_r ); | |
| 17 | 18 | |
| 18 | 19 | VIDEO_START( twin16 ); |
| 19 | VIDEO_START( fround ); | |
| 20 | 20 | VIDEO_UPDATE( twin16 ); |
| 21 | 21 | VIDEO_EOF( twin16 ); |
| 22 | 22 | |
| 23 | void twin16_spriteram_process( | |
| 23 | void twin16_spriteram_process( running_machine* ); |
| r5490 | r5491 | |
|---|---|---|
| 148 | 148 | |
| 149 | 149 | /* used in: hyhoo.c, niyanpai.c, pastelg.c, nbmj8688.c, nbmj8891.c, nbmj8991.c, nbmj9195.c*/ |
| 150 | 150 | INPUT_PORTS_EXTERN( nbmjcontrols ); |
| 151 | INPUT_PORTS_EXTERN( nbhf1_ctrl ); | |
| 152 | INPUT_PORTS_EXTERN( nbhf2_ctrl ); | |
| 151 | 153 | |
| 152 | 154 | extern int nb1413m3_type; |
| 153 | 155 | extern const char * nb1413m3_sndromrgntag; |
| r5490 | r5491 | |
|---|---|---|
| 113 | 113 | CPUS += SSEM |
| 114 | 114 | CPUS += AVR8 |
| 115 | 115 | CPUS += TMS0980 |
| 116 | CPUS += I4004 | |
| 116 | 117 | |
| 117 | 118 | |
| 118 | 119 | #------------------------------------------------- |
| r5490 | r5491 | |
| 160 | 161 | SOUNDS += C352 |
| 161 | 162 | SOUNDS += TMS36XX |
| 162 | 163 | SOUNDS += TMS3615 |
| 163 | SOUNDS += TMS5100 | |
| 164 | 164 | SOUNDS += TMS5110 |
| 165 | SOUNDS += TMS5110A | |
| 166 | SOUNDS += CD2801 | |
| 167 | SOUNDS += TMC0281 | |
| 168 | SOUNDS += CD2802 | |
| 169 | SOUNDS += M58817 | |
| 170 | SOUNDS += TMC0285 | |
| 171 | SOUNDS += TMS5200 | |
| 172 | 165 | SOUNDS += TMS5220 |
| 173 | 166 | SOUNDS += VLM5030 |
| 174 | 167 | SOUNDS += ADPCM |
| r5490 | r5491 | |
| 1492 | 1485 | $(DRIVERS)/chsuper.o \ |
| 1493 | 1486 | $(DRIVERS)/cidelsa.o $(VIDEO)/cidelsa.o \ |
| 1494 | 1487 | $(DRIVERS)/coinmstr.o \ |
| 1488 | $(DRIVERS)/coinmvga.o \ | |
| 1495 | 1489 | $(DRIVERS)/comebaby.o \ |
| 1496 | 1490 | $(DRIVERS)/coolpool.o \ |
| 1497 | 1491 | $(DRIVERS)/cowrace.o \ |
| r5490 | r5491 | |
| 1739 | 1733 | $(LAYOUT)/clowns.lh \ |
| 1740 | 1734 | $(LAYOUT)/invaders.lh \ |
| 1741 | 1735 | $(LAYOUT)/invad2ct.lh \ |
| 1742 | $(LAYOUT)/lagunar.lh | |
| 1736 | $(LAYOUT)/lagunar.lh \ | |
| 1737 | $(LAYOUT)/spacwalk.lh | |
| 1743 | 1738 | |
| 1744 | 1739 | $(DRIVERS)/meadows.o: $(LAYOUT)/deadeye.lh \ |
| 1745 | 1740 | $(LAYOUT)/gypsyjug.lh |
| r5490 | r5491 | |
| 1767 | 1762 | |
| 1768 | 1763 | $(DRIVERS)/qix.o: $(LAYOUT)/elecyoyo.lh |
| 1769 | 1764 | |
| 1770 | $(DRIVERS)/re900.o: $(LAYOUT)/re900.lh | |
| 1765 | $(DRIVERS)/re900.o: $(LAYOUT)/re900.lh | |
| 1771 | 1766 | |
| 1772 | $(DRIVERS)/roul.o: $(LAYOUT)/roul.lh | |
| 1767 | $(DRIVERS)/roul.o: $(LAYOUT)/roul.lh | |
| 1773 | 1768 | |
| 1774 | 1769 | $(DRIVERS)/sbrkout.o: $(LAYOUT)/sbrkout.lh |
| 1775 | 1770 | |
| r5490 | r5491 | |
| 1820 | 1815 | |
| 1821 | 1816 | $(DRIVERS)/undrfire.o: $(LAYOUT)/cbombers.lh |
| 1822 | 1817 | |
| 1818 | $(DRIVERS)/vicdual.o: $(LAYOUT)/depthch.lh | |
| 1819 | ||
| 1823 | 1820 | $(DRIVERS)/videopin.o: $(LAYOUT)/videopin.lh |
| 1824 | 1821 | |
| 1825 | 1822 | $(DRIVERS)/videopkr.o: $(LAYOUT)/videopkr.lh \ |
| r5490 | r5491 | |
|---|---|---|
| 169 | 169 | if (flipscreen != (data & 0x04)) |
| 170 | 170 | { |
| 171 | 171 | flipscreen = data & 0x04; |
| 172 | tilemap_set_flip | |
| 172 | tilemap_set_flip | |
| 173 | 173 | } |
| 174 | 174 | |
| 175 | 175 | /* bit 3 is unknown (used, e.g. marukin pulses it on the title screen) */ |
| r5490 | r5491 | |
| 204 | 204 | if (flipscreen != (data & 0x04)) |
| 205 | 205 | { |
| 206 | 206 | flipscreen = data & 0x04; |
| 207 | tilemap_set_flip | |
| 207 | tilemap_set_flip | |
| 208 | 208 | } |
| 209 | 209 | |
| 210 | 210 | /* bit 3 is unknown (used, e.g. marukin pulses it on the title screen) */ |
| r5490 | r5491 | |
|---|---|---|
| 231 | 231 | flipscreen=1; |
| 232 | 232 | else |
| 233 | 233 | flipscreen=0; |
| 234 | tilemap_set_flip | |
| 234 | tilemap_set_flip | |
| 235 | 235 | |
| 236 | 236 | /* Setup scroll registers */ |
| 237 | 237 | for (offs = 0;offs < 512;offs++) |
| r5490 | r5491 | |
|---|---|---|
| 99 | 99 | if (flip_screen_get(space->machine) != (~data & 0x01)) |
| 100 | 100 | { |
| 101 | 101 | flip_screen_set(space->machine, ~data & 0x01); |
| 102 | tilemap_mark_all_tiles_dirty | |
| 102 | tilemap_mark_all_tiles_dirty | |
| 103 | 103 | } |
| 104 | 104 | } |
| 105 | 105 |
| r5490 | r5491 | |
|---|---|---|
| 262 | 262 | |
| 263 | 263 | set_palette(screen->machine, state); |
| 264 | 264 | |
| 265 | tilemap_mark_all_tiles_dirty | |
| 265 | tilemap_mark_all_tiles_dirty | |
| 266 | 266 | tilemap_set_scrolly(state->bg_tilemap, 0, *state->scroll); |
| 267 | tilemap_set_flip | |
| 267 | tilemap_set_flip | |
| 268 | 268 | |
| 269 | 269 | tilemap_draw(bitmap, cliprect, state->bg_tilemap, 0, 0); |
| 270 | 270 | draw_sprites(bitmap, cliprect, screen->machine->gfx[2], flip); |
| r5490 | r5491 | |
|---|---|---|
| 469 | 469 | } |
| 470 | 470 | } |
| 471 | 471 | |
| 472 | profiler_mark(PROFILER_USER1); | |
| 472 | profiler_mark_start(PROFILER_USER1); | |
| 473 | 473 | |
| 474 | 474 | /* fill in the basic data */ |
| 475 | 475 | dma_state.rowbytes = (INT16)dma_register[DMA_ROWBYTES]; |
| r5490 | r5491 | |
| 541 | 541 | /* signal we're done */ |
| 542 | 542 | timer_set(space->machine, ATTOTIME_IN_NSEC(41 * dma_state.width * dma_state.height), NULL, 0, dma_callback); |
| 543 | 543 | |
| 544 | profiler_mark | |
| 544 | profiler_mark | |
| 545 | 545 | } |
| 546 | 546 | |
| 547 | 547 |
| r5490 | r5491 | |
|---|---|---|
| 74 | 74 | if (flip_screen_get(space->machine) != (data & 0x01)) |
| 75 | 75 | { |
| 76 | 76 | flip_screen_set(space->machine, data & 0x01); |
| 77 | tilemap_mark_all_tiles_dirty | |
| 77 | tilemap_mark_all_tiles_dirty | |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | /* bit 1 is NMI enable */ |
| r5490 | r5491 | |
|---|---|---|
| 162 | 162 | flipx, flipy, |
| 163 | 163 | sx, sy, 0); |
| 164 | 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); | |
| 165 | /* wrap-around */ | |
| 166 | drawgfx_transpen(bitmap, cliprect, machine->gfx[1], code, color, flipx, flipy, sx - 256, sy, 0); | |
| 167 | drawgfx_transpen(bitmap, cliprect, machine->gfx[1], code, color, flipx, flipy, sx, sy - 256, 0); | |
| 171 | 168 | } |
| 172 | 169 | } |
| 173 | 170 |
| r5490 | r5491 | |
|---|---|---|
| 200 | 200 | } |
| 201 | 201 | #endif |
| 202 | 202 | |
| 203 | profiler_mark(PROFILER_VIDEO); | |
| 203 | profiler_mark_start(PROFILER_VIDEO); | |
| 204 | 204 | |
| 205 | 205 | last = 0; |
| 206 | 206 | sy = y; |
| r5490 | r5491 | |
| 305 | 305 | offset += w/4; |
| 306 | 306 | } |
| 307 | 307 | |
| 308 | profiler_mark | |
| 308 | profiler_mark | |
| 309 | 309 | |
| 310 | 310 | #if (!INSTANT_BLIT) |
| 311 | 311 | blitter_busy_until = attotime_add(timer_get_time(machine), ATTOTIME_IN_NSEC(w*h*20)); |
| r5490 | r5491 | |
|---|---|---|
| 17 | 17 | #include "twincobr.h" |
| 18 | 18 | |
| 19 | 19 | |
| 20 | void twincobr_flipscreen(int flip); | |
| 21 | void twincobr_display(int enable); | |
| 22 | 20 | static STATE_POSTLOAD( twincobr_restore_screen ); |
| 23 | 21 | |
| 24 | 22 | INT32 twincobr_fg_rom_bank; |
| r5490 | r5491 | |
| 152 | 150 | static STATE_POSTLOAD( twincobr_restore_screen ) |
| 153 | 151 | { |
| 154 | 152 | twincobr_display(twincobr_display_on); |
| 155 | twincobr_flipscreen(twincobr_flip_screen); | |
| 153 | twincobr_flipscreen(machine, twincobr_flip_screen); | |
| 156 | 154 | } |
| 157 | 155 | |
| 158 | 156 | |
| r5490 | r5491 | |
| 168 | 166 | tilemap_set_enable(tx_tilemap, enable); |
| 169 | 167 | } |
| 170 | 168 | |
| 171 | void twincobr_flipscreen(int flip) | |
| 169 | void twincobr_flipscreen(running_machine *machine, int flip) | |
| 172 | 170 | { |
| 173 | tilemap_set_flip | |
| 171 | tilemap_set_flip | |
| 174 | 172 | twincobr_flip_screen = flip; |
| 175 | 173 | if (flip) { |
| 176 | 174 | scroll_x = -58; |
| r5490 | r5491 | |
|---|---|---|
| 151 | 151 | |
| 152 | 152 | flip_screen_set_no_update(space->machine, data & 0x04); |
| 153 | 153 | |
| 154 | tilemap_set_flip | |
| 154 | tilemap_set_flip | |
| 155 | 155 | |
| 156 | 156 | controller = data & 0x02; |
| 157 | 157 |
| r5490 | r5491 | |
|---|---|---|
| 73 | 73 | WRITE8_HANDLER( sauro_palette_bank_w ) |
| 74 | 74 | { |
| 75 | 75 | palette_bank = (data & 0x03) << 4; |
| 76 | tilemap_mark_all_tiles_dirty | |
| 76 | tilemap_mark_all_tiles_dirty | |
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | WRITE8_HANDLER( sauro_scroll_fg_w ) |
| r5490 | r5491 | |
|---|---|---|
| 687 | 687 | if (!(command & 0x8000)) |
| 688 | 688 | return; |
| 689 | 689 | |
| 690 | profiler_mark(PROFILER_USER1); | |
| 690 | profiler_mark_start(PROFILER_USER1); | |
| 691 | 691 | |
| 692 | 692 | /* determine bpp */ |
| 693 | 693 | bpp = (command >> 12) & 7; |
| r5490 | r5491 | |
| 795 | 795 | skipdma: |
| 796 | 796 | timer_set(space->machine, ATTOTIME_IN_NSEC(41 * pixels), NULL, 0, dma_callback); |
| 797 | 797 | |
| 798 | profiler_mark | |
| 798 | profiler_mark | |
| 799 | 799 | } |
| 800 | 800 | |
| 801 | 801 |
| r5490 | r5491 | |
|---|---|---|
| 4885 | 4885 | stv2_current_tilemap.window_control = 0; |
| 4886 | 4886 | fade_control = stv2_current_tilemap.fade_control; |
| 4887 | 4887 | stv2_current_tilemap.fade_control = 0; |
| 4888 | profiler_mark(PROFILER_USER1); | |
| 4888 | profiler_mark_start(PROFILER_USER1); | |
| 4889 | 4889 | if ( LOG_VDP2 ) logerror( "Checking for cached RBG bitmap, cache_dirty = %d, memcmp() = %d\n", stv_rbg_cache_data.is_cache_dirty, memcmp(&stv_rbg_cache_data.layer_data[iRP-1],&stv2_current_tilemap,sizeof(stv2_current_tilemap))); |
| 4890 | 4890 | if ( (stv_rbg_cache_data.is_cache_dirty & iRP) || |
| 4891 | 4891 | memcmp(&stv_rbg_cache_data.layer_data[iRP-1],&stv2_current_tilemap,sizeof(stv2_current_tilemap)) != 0 ) |
| r5490 | r5491 | |
| 4904 | 4904 | stv_rbg_cache_data.map_offset_max[iRP-1], stv_rbg_cache_data.tile_offset_min[iRP-1], stv_rbg_cache_data.tile_offset_max[iRP-1] ); |
| 4905 | 4905 | } |
| 4906 | 4906 | |
| 4907 | profiler_mark | |
| 4907 | profiler_mark | |
| 4908 | 4908 | |
| 4909 | 4909 | stv2_current_tilemap.colour_calculation_enabled = colour_calculation_enabled; |
| 4910 | 4910 | if ( colour_calculation_enabled ) |
| r5490 | r5491 | |
| 4925 | 4925 | |
| 4926 | 4926 | stv2_current_tilemap.fade_control = fade_control; |
| 4927 | 4927 | |
| 4928 | profiler_mark(PROFILER_USER2); | |
| 4928 | profiler_mark_start(PROFILER_USER2); | |
| 4929 | 4929 | stv_vdp2_copy_roz_bitmap(bitmap, stv_vdp2_roz_bitmap[iRP-1], &mycliprect, iRP, planesizex, planesizey, planerenderedsizex, planerenderedsizey ); |
| 4930 | profiler_mark | |
| 4930 | profiler_mark | |
| 4931 | 4931 | } |
| 4932 | 4932 | |
| 4933 | 4933 | } |
| r5490 | r5491 | |
|---|---|---|
| 102 | 102 | { |
| 103 | 103 | case 0x04: /* ROM bank select */ |
| 104 | 104 | if (data != K007121_ctrlram[0][0x04]) |
| 105 | tilemap_mark_all_tiles_dirty | |
| 105 | tilemap_mark_all_tiles_dirty | |
| 106 | 106 | break; |
| 107 | 107 | |
| 108 | 108 | case 0x07: /* flip screen + IRQ control */ |
| 109 | 109 | k007121_flip_screen = data & 0x08; |
| 110 | tilemap_set_flip | |
| 110 | tilemap_set_flip | |
| 111 | 111 | flkatck_irq_enabled = data & 0x02; |
| 112 | 112 | break; |
| 113 | 113 | } |
| r5490 | r5491 | |
|---|---|---|
| 1202 | 1202 | { |
| 1203 | 1203 | /* command 1: blit raw data */ |
| 1204 | 1204 | case 1: |
| 1205 | profiler_mark(PROFILER_USER1); | |
| 1205 | profiler_mark_start(PROFILER_USER1); | |
| 1206 | 1206 | if (BLIT_LOGGING) logblit("Blit Raw"); |
| 1207 | 1207 | |
| 1208 | 1208 | if (is_drivedge) |
| r5490 | r5491 | |
| 1215 | 1215 | if (enable_latch[1]) draw_raw(videoplane[1], color_latch[1]); |
| 1216 | 1216 | } |
| 1217 | 1217 | |
| 1218 | profiler_mark | |
| 1218 | profiler_mark | |
| 1219 | 1219 | break; |
| 1220 | 1220 | |
| 1221 | 1221 | /* command 2: blit RLE-compressed data */ |
| 1222 | 1222 | case 2: |
| 1223 | profiler_mark(PROFILER_USER2); | |
| 1223 | profiler_mark_start(PROFILER_USER2); | |
| 1224 | 1224 | if (BLIT_LOGGING) logblit("Blit RLE"); |
| 1225 | 1225 | |
| 1226 | 1226 | if (enable_latch[0]) draw_rle(videoplane[0], color_latch[0]); |
| 1227 | 1227 | if (enable_latch[1]) draw_rle(videoplane[1], color_latch[1]); |
| 1228 | 1228 | |
| 1229 | profiler_mark | |
| 1229 | profiler_mark | |
| 1230 | 1230 | break; |
| 1231 | 1231 | |
| 1232 | 1232 | /* command 3: set up raw data transfer */ |
| r5490 | r5491 | |
| 1248 | 1248 | |
| 1249 | 1249 | /* command 6: perform shift register copy */ |
| 1250 | 1250 | case 6: |
| 1251 | profiler_mark(PROFILER_USER3); | |
| 1251 | profiler_mark_start(PROFILER_USER3); | |
| 1252 | 1252 | if (BLIT_LOGGING) logblit("ShiftReg"); |
| 1253 | 1253 | |
| 1254 | 1254 | if (is_drivedge) |
| r5490 | r5491 | |
| 1261 | 1261 | if (enable_latch[1]) shiftreg_clear(videoplane[1], NULL); |
| 1262 | 1262 | } |
| 1263 | 1263 | |
| 1264 | profiler_mark | |
| 1264 | profiler_mark | |
| 1265 | 1265 | break; |
| 1266 | 1266 | |
| 1267 | 1267 | default: |
| r5490 | r5491 | |
|---|---|---|
| 478 | 478 | |
| 479 | 479 | if (irq4) vector_clear_list(); |
| 480 | 480 | |
| 481 | profiler_mark(PROFILER_USER1); | |
| 481 | profiler_mark_start(PROFILER_USER1); | |
| 482 | 482 | |
| 483 | 483 | while (cycles--) |
| 484 | 484 | { |
| r5490 | r5491 | |
| 654 | 654 | } |
| 655 | 655 | } |
| 656 | 656 | |
| 657 | profiler_mark | |
| 657 | profiler_mark | |
| 658 | 658 | } |
| r5490 | r5491 | |
|---|---|---|
| 1233 | 1233 | static int last_pf3_bank; |
| 1234 | 1234 | |
| 1235 | 1235 | flip_screen_set(screen->machine, deco32_pf12_control[0]&0x80); |
| 1236 | tilemap_set_flip | |
| 1236 | tilemap_set_flip | |
| 1237 | 1237 | |
| 1238 | 1238 | deco32_setup_scroll(pf1_tilemap, 256,(deco32_pf12_control[5]>>0)&0xff,(deco32_pf12_control[6]>>0)&0xff,deco32_pf12_control[2],deco32_pf12_control[1],deco32_pf1_rowscroll,deco32_pf1_rowscroll+0x200); |
| 1239 | 1239 | deco32_setup_scroll(pf1a_tilemap,512,(deco32_pf12_control[5]>>0)&0xff,(deco32_pf12_control[6]>>0)&0xff,deco32_pf12_control[2],deco32_pf12_control[1],deco32_pf1_rowscroll,deco32_pf1_rowscroll+0x200); |
| r5490 | r5491 | |
|---|---|---|
| 751 | 751 | Screen refresh |
| 752 | 752 | ***************************************************************************/ |
| 753 | 753 | |
| 754 | static void bg_setting( | |
| 754 | static void bg_setting(running_machine *machine) | |
| 755 | 755 | { |
| 756 | tilemap_set_flip | |
| 756 | tilemap_set_flip | |
| 757 | 757 | |
| 758 | 758 | if (!argus_flipscreen) |
| 759 | 759 | { |
| r5490 | r5491 | |
| 1206 | 1206 | |
| 1207 | 1207 | VIDEO_UPDATE( argus ) |
| 1208 | 1208 | { |
| 1209 | bg_setting(); | |
| 1209 | bg_setting(screen->machine); | |
| 1210 | 1210 | |
| 1211 | 1211 | /* scroll BG0 and render tile at proper position */ |
| 1212 | 1212 | argus_bg0_scroll_handle(screen->machine); |
| r5490 | r5491 | |
| 1222 | 1222 | |
| 1223 | 1223 | VIDEO_UPDATE( valtric ) |
| 1224 | 1224 | { |
| 1225 | bg_setting(); | |
| 1225 | bg_setting(screen->machine); | |
| 1226 | 1226 | |
| 1227 | 1227 | if (argus_bg_status & 1) /* Backgound enable */ |
| 1228 | 1228 | valtric_draw_mosaic(screen, bitmap, cliprect); |
| r5490 | r5491 | |
| 1235 | 1235 | |
| 1236 | 1236 | VIDEO_UPDATE( butasan ) |
| 1237 | 1237 | { |
| 1238 | bg_setting(); | |
| 1238 | bg_setting(screen->machine); | |
| 1239 | 1239 | |
| 1240 | 1240 | if (argus_bg_status & 1) /* Backgound enable */ |
| 1241 | 1241 | tilemap_draw(bitmap, cliprect, bg0_tilemap, 0, 0); |
| r5490 | r5491 | |
|---|---|---|
| 111 | 111 | if (flip_screen_get(space->machine) != data) |
| 112 | 112 | { |
| 113 | 113 | flip_screen_set(space->machine, data); |
| 114 | tilemap_mark_all_tiles_dirty | |
| 114 | tilemap_mark_all_tiles_dirty | |
| 115 | 115 | } |
| 116 | 116 | } |
| 117 | 117 |
| r5490 | r5491 | |
|---|---|---|
| 67 | 67 | } |
| 68 | 68 | } |
| 69 | 69 | |
| 70 | void karnov_flipscreen_w(int data) | |
| 70 | void karnov_flipscreen_w(running_machine *machine, int data) | |
| 71 | 71 | { |
| 72 | 72 | flipscreen=data; |
| 73 | tilemap_set_flip | |
| 73 | tilemap_set_flip | |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | static void draw_background(running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect) |
| r5490 | r5491 | |
|---|---|---|
| 978 | 978 | { |
| 979 | 979 | dkong_state *state = (dkong_state *)screen->machine->driver_data; |
| 980 | 980 | |
| 981 | tilemap_set_flip | |
| 981 | tilemap_set_flip | |
| 982 | 982 | tilemap_set_scrollx(state->bg_tilemap, 0, state->flip ? 0 : 0); |
| 983 | 983 | tilemap_set_scrolly(state->bg_tilemap, 0, state->flip ? -8 : 0); |
| 984 | 984 |
| r5490 | r5491 | |
|---|---|---|
| 279 | 279 | VIDEO_UPDATE( darkseal ) |
| 280 | 280 | { |
| 281 | 281 | flipscreen=!(darkseal_control_0[0]&0x80); |
| 282 | tilemap_set_flip | |
| 282 | tilemap_set_flip | |
| 283 | 283 | |
| 284 | 284 | /* Update scroll registers */ |
| 285 | 285 | tilemap_set_scrollx( pf1_tilemap,0, darkseal_control_1[3] ); |
| r5490 | r5491 | |
|---|---|---|
| 128 | 128 | pens[NUM_CHARMAP_PENS + NUM_BITMAP_PENS] = MAKE_RGB(back_r_weight[0], back_gb_weight[0], back_gb_weight[0]); |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | /* this uses the same color hook-up between bitmap and chars. */ | |
| 132 | /* TODO: clean me up */ | |
| 133 | static void get_panther_pens(running_machine *machine, pen_t *pens) | |
| 134 | { | |
| 135 | static const int resistances_bitmap[] = { 100 }; | |
| 136 | static const int resistances_charmap_rg[] = { 390, 220, 180 }; | |
| 137 | static const int resistances_charmap_b[] = { 220, 100 }; | |
| 138 | static const int resistances_back_r[] = { 1000 + 100 }; | |
| 139 | static const int resistances_back_gb[] = { 100 + 470 }; | |
| 131 | 140 | |
| 141 | offs_t offs; | |
| 142 | double scaler; | |
| 143 | double bitmap_weight[1]; | |
| 144 | double charmap_rg_weights[3]; | |
| 145 | double charmap_b_weights[2]; | |
| 146 | double back_r_weight[1]; | |
| 147 | double back_gb_weight[1]; | |
| 148 | const UINT8 *prom = memory_region(machine, "proms"); | |
| 132 | 149 | |
| 150 | scaler = compute_resistor_weights(0, 0xff, -1, | |
| 151 | 1, resistances_bitmap, bitmap_weight, 470, 0, | |
| 152 | 3, resistances_charmap_rg, charmap_rg_weights, 470, 0, | |
| 153 | 2, resistances_charmap_b, charmap_b_weights, 470, 0); | |
| 154 | ||
| 155 | compute_resistor_weights(0, 0xff, scaler, | |
| 156 | 1, resistances_back_r, back_r_weight, 470, 0, | |
| 157 | 1, resistances_back_gb, back_gb_weight, 470, 0, | |
| 158 | 0, 0, 0, 0, 0); | |
| 159 | ||
| 160 | /* the character layer colors come from the PROM */ | |
| 161 | for (offs = 0; offs < NUM_CHARMAP_PENS; offs++) | |
| 162 | { | |
| 163 | UINT8 data = prom[offs]; | |
| 164 | ||
| 165 | UINT8 r_bit = (~data >> 2) & 0x01; | |
| 166 | UINT8 g_bit = (~data >> 1) & 0x01; | |
| 167 | UINT8 b_bit = (~data >> 0) & 0x01; | |
| 168 | ||
| 169 | UINT8 r = bitmap_weight[r_bit]; | |
| 170 | UINT8 g = bitmap_weight[g_bit]; | |
| 171 | UINT8 b = bitmap_weight[b_bit]; | |
| 172 | ||
| 173 | pens[offs] = MAKE_RGB(r, g, b); | |
| 174 | } | |
| 175 | ||
| 176 | /* the bitmap layer colors are directly mapped */ | |
| 177 | for (offs = 0; offs < NUM_BITMAP_PENS; offs++) | |
| 178 | { | |
| 179 | UINT8 r_bit = (offs >> 2) & 0x01; | |
| 180 | UINT8 g_bit = (offs >> 1) & 0x01; | |
| 181 | UINT8 b_bit = (offs >> 0) & 0x01; | |
| 182 | ||
| 183 | UINT8 r = bitmap_weight[r_bit]; | |
| 184 | UINT8 g = bitmap_weight[g_bit]; | |
| 185 | UINT8 b = bitmap_weight[b_bit]; | |
| 186 | ||
| 187 | pens[NUM_CHARMAP_PENS + offs] = MAKE_RGB(r, g, b); | |
| 188 | } | |
| 189 | ||
| 190 | /* background color */ | |
| 191 | pens[NUM_CHARMAP_PENS + NUM_BITMAP_PENS] = MAKE_RGB(back_r_weight[0], back_gb_weight[0], back_gb_weight[0]); | |
| 192 | } | |
| 193 | ||
| 133 | 194 | /************************************* |
| 134 | 195 | * |
| 135 | 196 | * Video hardware start |
| r5490 | r5491 | |
| 299 | 360 | return 0; |
| 300 | 361 | } |
| 301 | 362 | |
| 363 | /************************************* | |
| 364 | * | |
| 365 | * Panther video update | |
| 366 | * | |
| 367 | *************************************/ | |
| 302 | 368 | |
| 369 | static VIDEO_UPDATE( panther ) | |
| 370 | { | |
| 371 | pen_t pens[NUM_CHARMAP_PENS + NUM_BITMAP_PENS + 1]; | |
| 372 | offs_t offs; | |
| 303 | 373 | |
| 374 | get_panther_pens(screen->machine, pens); | |
| 375 | ||
| 376 | for (offs = 0; offs < 0x2000; offs++) | |
| 377 | { | |
| 378 | int i; | |
| 379 | UINT8 charmap_data_1; | |
| 380 | UINT8 charmap_data_2; | |
| 381 | ||
| 382 | UINT8 y = offs & 0xff; | |
| 383 | UINT8 x = (~offs >> 8) << 3; | |
| 384 | ||
| 385 | UINT8 bitmap_data = redalert_bitmap_videoram[offs]; | |
| 386 | UINT8 bitmap_color = redalert_bitmap_colorram[offs >> 3]; | |
| 387 | ||
| 388 | UINT8 charmap_code = redalert_charmap_videoram[0x0000 | (offs >> 3)]; | |
| 389 | offs_t charmap_data_base = ((charmap_code & 0x7f) << 3) | (offs & 0x07); | |
| 390 | ||
| 391 | /* D7 of the char code selects the char set to use */ | |
| 392 | if (charmap_code & 0x80) | |
| 393 | { | |
| 394 | charmap_data_1 = redalert_charmap_videoram[0x0400 | charmap_data_base]; | |
| 395 | charmap_data_2 = redalert_charmap_videoram[0x0c00 | charmap_data_base]; | |
| 396 | } | |
| 397 | else | |
| 398 | { | |
| 399 | charmap_data_1 = 0; /* effectively disables A0 of the color PROM */ | |
| 400 | charmap_data_2 = redalert_charmap_videoram[0x0800 | charmap_data_base]; | |
| 401 | } | |
| 402 | ||
| 403 | for (i = 0; i < 8; i++) | |
| 404 | { | |
| 405 | pen_t pen; | |
| 406 | ||
| 407 | int bitmap_bit = bitmap_data & 0x80; | |
| 408 | UINT8 color_prom_a0_a1 = ((charmap_data_2 & 0x80) >> 6) | ((charmap_data_1 & 0x80) >> 7); | |
| 409 | ||
| 410 | /* determine priority */ | |
| 411 | if ((color_prom_a0_a1 == 0) || (bitmap_bit && ((charmap_code & 0xc0) == 0xc0))) | |
| 412 | pen = bitmap_bit ? pens[NUM_CHARMAP_PENS + bitmap_color] : pens[NUM_CHARMAP_PENS + NUM_BITMAP_PENS]; | |
| 413 | else | |
| 414 | pen = pens[((charmap_code & 0xfe) << 1) | color_prom_a0_a1]; | |
| 415 | ||
| 416 | if ((*redalert_video_control ^ redalert_control_xor) & 0x04) | |
| 417 | *BITMAP_ADDR32(bitmap, y, x) = pen; | |
| 418 | else | |
| 419 | *BITMAP_ADDR32(bitmap, y ^ 0xff, x ^ 0xff) = pen; | |
| 420 | ||
| 421 | /* next pixel */ | |
| 422 | x = x + 1; | |
| 423 | ||
| 424 | bitmap_data = bitmap_data << 1; | |
| 425 | charmap_data_1 = charmap_data_1 << 1; | |
| 426 | charmap_data_2 = charmap_data_2 << 1; | |
| 427 | } | |
| 428 | } | |
| 429 | ||
| 430 | return 0; | |
| 431 | } | |
| 432 | ||
| 433 | ||
| 304 | 434 | /************************************* |
| 305 | 435 | * |
| 306 | 436 | * Red Alert machine driver |
| r5490 | r5491 | |
| 354 | 484 | MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1) |
| 355 | 485 | |
| 356 | 486 | MACHINE_DRIVER_END |
| 487 | ||
| 488 | ||
| 489 | MACHINE_DRIVER_START( panther_video ) | |
| 490 | ||
| 491 | MDRV_VIDEO_START(ww3) | |
| 492 | MDRV_VIDEO_UPDATE(panther) | |
| 493 | ||
| 494 | MDRV_SCREEN_ADD("screen", RASTER) | |
| 495 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32) | |
| 496 | MDRV_SCREEN_REFRESH_RATE(60) | |
| 497 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) | |
| 498 | MDRV_SCREEN_SIZE(32*8, 32*8) | |
| 499 | MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1) | |
| 500 | ||
| 501 | MACHINE_DRIVER_END | |
| 502 |
| r5490 | r5491 | |
|---|---|---|
| 87 | 87 | VIDEO_UPDATE( stadhero ) |
| 88 | 88 | { |
| 89 | 89 | flipscreen=stadhero_pf2_control_0[0]&0x80; |
| 90 | tilemap_set_flip | |
| 90 | tilemap_set_flip | |
| 91 | 91 | tilemap_set_scrollx( pf2_tilemap,0, stadhero_pf2_control_1[0] ); |
| 92 | 92 | tilemap_set_scrolly( pf2_tilemap,0, stadhero_pf2_control_1[1] ); |
| 93 | 93 |
| r5490 | r5491 | |
|---|---|---|
| 152 | 152 | |
| 153 | 153 | /* Draw playfield */ |
| 154 | 154 | flipscreen=actfancr_control_2[0]&0x80; |
| 155 | tilemap_set_flip | |
| 155 | tilemap_set_flip | |
| 156 | 156 | |
| 157 | 157 | tilemap_set_scrollx( pf1_tilemap,0, scrollx ); |
| 158 | 158 | tilemap_set_scrolly( pf1_tilemap,0, scrolly ); |
| r5490 | r5491 | |
| 232 | 232 | |
| 233 | 233 | /* Draw playfield */ |
| 234 | 234 | flipscreen=actfancr_control_2[0]&0x80; |
| 235 | tilemap_set_flip | |
| 235 | tilemap_set_flip | |
| 236 | 236 | |
| 237 | 237 | if (actfancr_control_2[0]&0x4) { |
| 238 | 238 | tilemap_set_scroll_rows(pf1_tilemap,32); |
| r5490 | r5491 | |
|---|---|---|
| 69 | 69 | * |
| 70 | 70 | */ |
| 71 | 71 | |
| 72 | static void taitob_video_control (UINT8 data) | |
| 72 | static void taitob_video_control (running_machine *machine, UINT8 data) | |
| 73 | 73 | { |
| 74 | 74 | #if 0 |
| 75 | 75 | if (data != video_control) |
| r5490 | r5491 | |
| 81 | 81 | if (video_control & 0x80) |
| 82 | 82 | framebuffer_page = (~video_control & 0x40) >> 6; |
| 83 | 83 | |
| 84 | tilemap_set_flip | |
| 84 | tilemap_set_flip | |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | 87 | |
| r5490 | r5491 | |
| 129 | 129 | } |
| 130 | 130 | break; |
| 131 | 131 | case 7: |
| 132 | taitob_video_control( (TC0180VCU_ctrl[offset]>>8) & 0xff ); | |
| 132 | taitob_video_control( space->machine, (TC0180VCU_ctrl[offset]>>8) & 0xff ); | |
| 133 | 133 | break; |
| 134 | 134 | default: |
| 135 | 135 | break; |
| r5490 | r5491 | |
| 496 | 496 | rectangle myclip = *cliprect; |
| 497 | 497 | int x,y; |
| 498 | 498 | |
| 499 | profiler_mark(PROFILER_USER1); | |
| 499 | profiler_mark_start(PROFILER_USER1); | |
| 500 | 500 | |
| 501 | 501 | priority <<= 4; |
| 502 | 502 | |
| r5490 | r5491 | |
| 587 | 587 | } |
| 588 | 588 | } |
| 589 | 589 | } |
| 590 | profiler_mark | |
| 590 | profiler_mark | |
| 591 | 591 | } |
| 592 | 592 | |
| 593 | 593 | VIDEO_UPDATE( taitob ) |
| r5490 | r5491 | |
|---|---|---|
| 347 | 347 | /* flip screen is embedded in the sprite control registers */ |
| 348 | 348 | /* can't use flip_screen_set(screen->machine, ) because the visible area is asymmetrical */ |
| 349 | 349 | flip_screen_set_no_update(screen->machine, spriteram[0x07f6] & 1); |
| 350 | tilemap_set_flip | |
| 350 | tilemap_set_flip | |
| 351 | 351 | set_scroll(screen->machine, 0); |
| 352 | 352 | set_scroll(screen->machine, 1); |
| 353 | 353 | set_scroll(screen->machine, 2); |
| r5490 | r5491 | |
|---|---|---|
| 416 | 416 | { |
| 417 | 417 | int max_tiles = memory_region_length(machine, "gfx1") / (0x400 * 0x20); |
| 418 | 418 | |
| 419 | if (input_code_pressed_once(KEYCODE_Q)) { page--; tilemap_mark_all_tiles_dirty(ALL_TILEMAPS); } | |
| 420 | if (input_code_pressed_once(KEYCODE_W)) { page++; tilemap_mark_all_tiles_dirty(ALL_TILEMAPS); } | |
| 421 | if (input_code_pressed_once(KEYCODE_E)) { tiles--; tilemap_mark_all_tiles_dirty(ALL_TILEMAPS); } | |
| 422 | if (input_code_pressed_once(KEYCODE_R)) { tiles++; tilemap_mark_all_tiles_dirty(ALL_TILEMAPS); } | |
| 423 | if (input_code_pressed_once(KEYCODE_A)) { rombank--; tilemap_mark_all_tiles_dirty(ALL_TILEMAPS); } | |
| 424 | if (input_code_pressed_once(KEYCODE_S)) { rombank++; tilemap_mark_all_tiles_dirty(ALL_TILEMAPS); } | |
| 419 | if (input_code_pressed_once(KEYCODE_Q)) { page--; tilemap_mark_all_tiles_dirty_all(screen->machine); } | |
| 420 | if (input_code_pressed_once(KEYCODE_W)) { page++; tilemap_mark_all_tiles_dirty_all(screen->machine); } | |
| 421 | if (input_code_pressed_once(KEYCODE_E)) { tiles--; tilemap_mark_all_tiles_dirty_all(screen->machine); } | |
| 422 | if (input_code_pressed_once(KEYCODE_R)) { tiles++; tilemap_mark_all_tiles_dirty_all(screen->machine); } | |
| 423 | if (input_code_pressed_once(KEYCODE_A)) { rombank--; tilemap_mark_all_tiles_dirty_all(screen->machine); } | |
| 424 | if (input_code_pressed_once(KEYCODE_S)) { rombank++; tilemap_mark_all_tiles_dirty_all(screen->machine); } | |
| 425 | 425 | |
| 426 | 426 | rombank &= 0xf; |
| 427 | 427 | page &= (suna8_text_dim > 0)?3:7; |
| r5490 | r5491 | |
|---|---|---|
| 59 | 59 | if (flip_screen_get(space->machine) != (data & 0x08)) |
| 60 | 60 | { |
| 61 | 61 | flip_screen_set(space->machine, data & 0x08); |
| 62 | tilemap_mark_all_tiles_dirty | |
| 62 | tilemap_mark_all_tiles_dirty | |
| 63 | 63 | } |
| 64 | 64 | } |
| 65 | 65 |
| r5490 | r5491 | |
|---|---|---|
| 108 | 108 | if (palettebank != (data & 0x07)) |
| 109 | 109 | { |
| 110 | 110 | palettebank = data & 0x07; |
| 111 | tilemap_mark_all_tiles_dirty | |
| 111 | tilemap_mark_all_tiles_dirty | |
| 112 | 112 | } |
| 113 | 113 | } |
| 114 | 114 | |
| r5490 | r5491 | |
| 127 | 127 | if (flip_screen_get(space->machine) != (data & 0x01)) |
| 128 | 128 | { |
| 129 | 129 | flip_screen_set(space->machine, data & 0x01); |
| 130 | tilemap_mark_all_tiles_dirty | |
| 130 | tilemap_mark_all_tiles_dirty | |
| 131 | 131 | } |
| 132 | 132 | } |
| 133 | 133 |
| r5490 | r5491 | |
|---|---|---|
| 173 | 173 | int offs; |
| 174 | 174 | |
| 175 | 175 | flip_screen_set_no_update(screen->machine, sshangha_control_0[0]&0x80); |
| 176 | tilemap_set_flip | |
| 176 | tilemap_set_flip | |
| 177 | 177 | |
| 178 | 178 | tilemap_set_enable( pf2_tilemap, sshangha_control_0[5]&0x8000); |
| 179 | 179 | tilemap_set_enable( pf1_8x8_tilemap, sshangha_control_0[5]&0x0080); |
| r5490 | r5491 | |
|---|---|---|
| 151 | 151 | { |
| 152 | 152 | flipscreen = (data & 0x01); |
| 153 | 153 | |
| 154 | tilemap_set_flip | |
| 154 | tilemap_set_flip | |
| 155 | 155 | } |
| 156 | 156 | } |
| 157 | 157 |
| r5490 | r5491 | |
|---|---|---|
| 108 | 108 | if (flip_screen_get(space->machine) != (data & 0x01)) |
| 109 | 109 | { |
| 110 | 110 | flip_screen_set(space->machine, data & 0x01); |
| 111 | tilemap_mark_all_tiles_dirty | |
| 111 | tilemap_mark_all_tiles_dirty | |
| 112 | 112 | } |
| 113 | 113 | } |
| 114 | 114 |
| r5490 | r5491 | |
|---|---|---|
| 50 | 50 | WRITE8_HANDLER( tiamc1_bankswitch_w ) |
| 51 | 51 | { |
| 52 | 52 | if ((data & 128) != (tiamc1_layers_ctrl & 128)) |
| 53 | tilemap_mark_all_tiles_dirty | |
| 53 | tilemap_mark_all_tiles_dirty | |
| 54 | 54 | |
| 55 | 55 | tiamc1_layers_ctrl = data; |
| 56 | 56 | } |
| r5490 | r5491 | |
|---|---|---|
| 442 | 442 | { |
| 443 | 443 | logerror("Setting BCU controller flipscreen port to %04x\n",data); |
| 444 | 444 | bcu_flipscreen = data & 0x01; /* 0x0001 = flip, 0x0000 = no flip */ |
| 445 | tilemap_set_flip | |
| 445 | tilemap_set_flip | |
| 446 | 446 | if (bcu_flipscreen) |
| 447 | 447 | { |
| 448 | 448 | scrollx_offs1 = 0x080 - 6; |
| r5490 | r5491 | |
| 469 | 469 | { |
| 470 | 470 | logerror("Setting BCU controller flipscreen port to %04x\n",data); |
| 471 | 471 | bcu_flipscreen = data & 0x01; /* 0x0001 = flip, 0x0000 = no flip */ |
| 472 | tilemap_set_flip | |
| 472 | tilemap_set_flip | |
| 473 | 473 | if (bcu_flipscreen) |
| 474 | 474 | { |
| 475 | 475 | scrollx_offs1 = 0x011 - 6; |
| r5490 | r5491 | |
|---|---|---|
| 412 | 412 | if (blswhstl_rombank != ((data & 0x80) >> 7)) |
| 413 | 413 | { |
| 414 | 414 | blswhstl_rombank = (data & 0x80) >> 7; |
| 415 | tilemap_mark_all_tiles_dirty | |
| 415 | tilemap_mark_all_tiles_dirty | |
| 416 | 416 | } |
| 417 | 417 | |
| 418 | 418 | /* other bits unknown */ |
| r5490 | r5491 | |
|---|---|---|
| 49 | 49 | if (flip_screen_get(space->machine) != (~data & 0x01)) |
| 50 | 50 | { |
| 51 | 51 | flip_screen_set(space->machine, ~data & 0x01); |
| 52 | tilemap_mark_all_tiles_dirty | |
| 52 | tilemap_mark_all_tiles_dirty | |
| 53 | 53 | } |
| 54 | 54 | } |
| 55 | 55 |
| r5490 | r5491 | |
|---|---|---|
| 888 | 888 | reg = decode_reg_64(offset, mem_mask, &shift); |
| 889 | 889 | |
| 890 | 890 | #if DEBUG_PVRCTRL |
| 891 | mame_printf_verbose("PVRCTRL: [%08x] read %x @ %x (reg %x), mask % | |
| 891 | mame_printf_verbose("PVRCTRL: [%08x] read %x @ %x (reg %x), mask %" I64FMT "x (PC=%x)\n", 0x5f7c00+reg*4, pvrctrl_regs[reg], offset, reg, mem_mask, cpu_get_pc(space->cpu)); | |
| 892 | 892 | #endif |
| 893 | 893 | |
| 894 | 894 | return (UINT64)pvrctrl_regs[reg] << shift; |
| r5490 | r5491 | |
| 969 | 969 | } |
| 970 | 970 | |
| 971 | 971 | #if DEBUG_PVRCTRL |
| 972 | mame_printf_verbose("PVRCTRL: [%08x=%x] write % | |
| 972 | mame_printf_verbose("PVRCTRL: [%08x=%x] write %" I64FMT "x to %x (reg %x), mask %" I64FMT "x\n", 0x5f7c00+reg*4, dat, data>>shift, offset, reg, mem_mask); | |
| 973 | 973 | #endif |
| 974 | 974 | |
| 975 | 975 | // pvrctrl_regs[reg] |= dat; |
| r5490 | r5491 | |
| 993 | 993 | |
| 994 | 994 | #if DEBUG_PVRTA_REGS |
| 995 | 995 | if (reg != 0x43) |
| 996 | mame_printf_verbose("PVRTA: [%08x] read %x @ %x (reg %x), mask % | |
| 996 | mame_printf_verbose("PVRTA: [%08x] read %x @ %x (reg %x), mask %" I64FMT "x (PC=%x)\n", 0x5f8000+reg*4, pvrta_regs[reg], offset, reg, mem_mask, cpu_get_pc(space->cpu)); | |
| 997 | 997 | #endif |
| 998 | 998 | return (UINT64)pvrta_regs[reg] << shift; |
| 999 | 999 | } |
| r5490 | r5491 | |
| 1045 | 1045 | } |
| 1046 | 1046 | break; |
| 1047 | 1047 | case STARTRENDER: |
| 1048 | profiler_mark(PROFILER_USER1); | |
| 1048 | profiler_mark_start(PROFILER_USER1); | |
| 1049 | 1049 | #if DEBUG_PVRTA |
| 1050 | 1050 | mame_printf_verbose("Start Render Received:\n"); |
| 1051 | 1051 | mame_printf_verbose(" Region Array at %08x\n",pvrta_regs[REGION_BASE]); |
| r5490 | r5491 | |
| 1183 | 1183 | state_ta.grab[state_ta.grabsel].verts_size=0; |
| 1184 | 1184 | state_ta.grab[state_ta.grabsel].strips_size=0; |
| 1185 | 1185 | |
| 1186 | profiler_mark | |
| 1186 | profiler_mark | |
| 1187 | 1187 | break; |
| 1188 | 1188 | //#define TA_YUV_TEX_BASE ((0x005f8148-0x005f8000)/4) |
| 1189 | 1189 | case TA_YUV_TEX_BASE: |
| r5490 | r5491 | |
| 1207 | 1207 | |
| 1208 | 1208 | #if DEBUG_PVRTA_REGS |
| 1209 | 1209 | if ((reg != 0x14) && (reg != 0x15)) |
| 1210 | mame_printf_verbose("PVRTA: [%08x=%x] write % | |
| 1210 | mame_printf_verbose("PVRTA: [%08x=%x] write %" I64FMT "x to %x (reg %x %x), mask %" I64FMT "x\n", 0x5f8000+reg*4, dat, data>>shift, offset, reg, (reg*4)+0x8000, mem_mask); | |
| 1211 | 1211 | #endif |
| 1212 | 1212 | } |
| 1213 | 1213 | static void process_ta_fifo(running_machine* machine) |
| r5490 | r5491 | |
| 1524 | 1524 | tafifo_buff[state_ta.tafifo_pos]=(UINT32)data; |
| 1525 | 1525 | tafifo_buff[state_ta.tafifo_pos+1]=(UINT32)(data >> 32); |
| 1526 | 1526 | #if DEBUG_FIFO_POLY |
| 1527 | mame_printf_debug("ta_fifo_poly_w: Unmapped write64 %08x = % | |
| 1527 | mame_printf_debug("ta_fifo_poly_w: Unmapped write64 %08x = %" I64FMT "x -> %08x %08x\n", 0x10000000+offset*8, data, tafifo_buff[state_ta.tafifo_pos], tafifo_buff[state_ta.tafifo_pos+1]); | |
| 1528 | 1528 | #endif |
| 1529 | 1529 | state_ta.tafifo_pos += 2; |
| 1530 | 1530 | } |
| r5490 | r5491 | |
| 1550 | 1550 | reg = decode_reg_64(offset, mem_mask, &shift); |
| 1551 | 1551 | dat = (UINT32)(data >> shift); |
| 1552 | 1552 | |
| 1553 | mame_printf_verbose("YUV FIFO: [%08x=%x] write % | |
| 1553 | mame_printf_verbose("YUV FIFO: [%08x=%x] write %" I64FMT "x to %x, mask %" I64FMT "x\n", 0x10800000+reg*4, dat, data, offset, mem_mask); | |
| 1554 | 1554 | } |
| 1555 | 1555 | |
| 1556 | 1556 | /* test video start */ |
| r5490 | r5491 | |
|---|---|---|
| 80 | 80 | { |
| 81 | 81 | if (firstpix & 7) |
| 82 | 82 | { |
| 83 | UINT32 pixsrc = src[firstpix | |
| 83 | UINT32 pixsrc = src[firstpix / | |
| 84 | 84 | while (firstpix & 7) |
| 85 | 85 | { |
| 86 | int pix = (pixsrc >> ((~firstpix & 7) | |
| 86 | int pix = (pixsrc >> (4 * (~firstpix & 7) | |
| 87 | 87 | if ((!(flags & 4) || pix) && (UINT32)xpos < 760) |
| 88 | 88 | { |
| 89 | 89 | if (!(flags & 2)) |
| r5490 | r5491 | |
| 96 | 96 | } |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | firstpix >>= 3; | |
| 100 | iwidth >>= 3; | |
| 99 | firstpix /= 8; | |
| 100 | iwidth /= 8; | |
| 101 | 101 | iwidth -= firstpix; |
| 102 | 102 | |
| 103 | 103 | while (iwidth-- > 0) |
| r5490 | r5491 | |
| 178 | 178 | xpos += dxpos; |
| 179 | 179 | } |
| 180 | 180 | else |
| 181 | xpos += dxpos | |
| 181 | xpos += 8 * dxpos | |
| 182 | 182 | } |
| 183 | 183 | } |
| 184 | 184 | |
| r5490 | r5491 | |
| 246 | 246 | { |
| 247 | 247 | if (firstpix & 3) |
| 248 | 248 | { |
| 249 | UINT32 pixsrc = src[firstpix | |
| 249 | UINT32 pixsrc = src[firstpix / | |
| 250 | 250 | while (firstpix & 3) |
| 251 | 251 | { |
| 252 | UINT8 pix = pixsrc >> ((~firstpix & 3) | |
| 252 | UINT8 pix = pixsrc >> (8 * (~firstpix & 3) | |
| 253 | 253 | if ((!(flags & 4) || pix) && (UINT32)xpos < 760) |
| 254 | 254 | { |
| 255 | 255 | if (!(flags & 2)) |
| r5490 | r5491 | |
| 262 | 262 | } |
| 263 | 263 | } |
| 264 | 264 | |
| 265 | firstpix >>= 2; | |
| 266 | iwidth >>= 2; | |
| 265 | firstpix /= 4; | |
| 266 | iwidth /= 4; | |
| 267 | 267 | iwidth -= firstpix; |
| 268 | 268 | |
| 269 | 269 | while (iwidth-- > 0) |
| r5490 | r5491 | |
| 308 | 308 | xpos += dxpos; |
| 309 | 309 | } |
| 310 | 310 | else |
| 311 | xpos += dxpos | |
| 311 | xpos += 4 * dxpos | |
| 312 | 312 | } |
| 313 | 313 | } |
| 314 | 314 | |
| r5490 | r5491 | |
| 376 | 376 | { |
| 377 | 377 | if (firstpix & 1) |
| 378 | 378 | { |
| 379 | UINT16 pix = src[firstpix | |
| 379 | UINT16 pix = src[firstpix / | |
| 380 | 380 | if ((!(flags & 4) || pix) && (UINT32)xpos < 760) |
| 381 | 381 | { |
| 382 | 382 | if (!(flags & 2)) |
| r5490 | r5491 | |
| 387 | 387 | xpos += dxpos; |
| 388 | 388 | } |
| 389 | 389 | |
| 390 | firstpix >>= 1; | |
| 391 | iwidth >>= 1; | |
| 390 | firstpix /= 2; | |
| 391 | iwidth /= 2; | |
| 392 | 392 | iwidth -= firstpix; |
| 393 | 393 | |
| 394 | 394 | while (iwidth-- > 0) |
| r5490 | r5491 | |
| 415 | 415 | xpos += dxpos; |
| 416 | 416 | } |
| 417 | 417 | else |
| 418 | xpos += dxpos | |
| 418 | xpos += 2 * dxpos | |
| 419 | 419 | } |
| 420 | 420 | } |
| 421 | 421 | |
| r5490 | r5491 | |
| 473 | 473 | |
| 474 | 474 | |
| 475 | 475 | |
| 476 | ||
| 477 | ||
| 478 | /************************************* | |
| 479 | * | |
| 480 | * 32bpp bitmap renderers - needs to be verified | |
| 481 | * | |
| 482 | *************************************/ | |
| 483 | ||
| 484 | INLINE void bitmap_32_draw(INT32 firstpix, INT32 iwidth, UINT32 *src, INT32 xpos, UINT8 flags, INT32 dxpos) | |
| 485 | { | |
| 486 | iwidth -= firstpix; | |
| 487 | ||
| 488 | while (iwidth-- > 0) | |
| 489 | { | |
| 490 | UINT32 pix = src[firstpix++]; | |
| 491 | ||
| 492 | if (xpos < 760) | |
| 493 | { | |
| 494 | scanline[xpos++] = (pix&0xffff0000)>>16; | |
| 495 | scanline[xpos++] = pix&0xffff; | |
| 496 | } | |
| 497 | } | |
| 498 | } | |
| 499 | ||
| 500 | static void bitmap_32_0(INT32 firstpix, INT32 iwidth, UINT32 *src, INT32 xpos) | |
| 501 | { | |
| 502 | bitmap_32_draw(firstpix, iwidth, src, xpos, 0, 1); | |
| 503 | } | |
| 504 | ||
| 505 | static void bitmap_32_1(INT32 firstpix, INT32 iwidth, UINT32 *src, INT32 xpos) | |
| 506 | { | |
| 507 | bitmap_32_draw(firstpix, iwidth, src, xpos, 1, -1); | |
| 508 | } | |
| 509 | ||
| 510 | static void bitmap_32_2(INT32 firstpix, INT32 iwidth, UINT32 *src, INT32 xpos) | |
| 511 | { | |
| 512 | bitmap_32_draw(firstpix, iwidth, src, xpos, 2, 1); | |
| 513 | } | |
| 514 | ||
| 515 | static void bitmap_32_3(INT32 firstpix, INT32 iwidth, UINT32 *src, INT32 xpos) | |
| 516 | { | |
| 517 | bitmap_32_draw(firstpix, iwidth, src, xpos, 3, -1); | |
| 518 | } | |
| 519 | ||
| 520 | static void bitmap_32_4(INT32 firstpix, INT32 iwidth, UINT32 *src, INT32 xpos) | |
| 521 | { | |
| 522 | bitmap_32_draw(firstpix, iwidth, src, xpos, 4, 1); | |
| 523 | } | |
| 524 | ||
| 525 | static void bitmap_32_5(INT32 firstpix, INT32 iwidth, UINT32 *src, INT32 xpos) | |
| 526 | { | |
| 527 | bitmap_32_draw(firstpix, iwidth, src, xpos, 5, -1); | |
| 528 | } | |
| 529 | ||
| 530 | static void bitmap_32_6(INT32 firstpix, INT32 iwidth, UINT32 *src, INT32 xpos) | |
| 531 | { | |
| 532 | bitmap_32_draw(firstpix, iwidth, src, xpos, 6, 1); | |
| 533 | } | |
| 534 | ||
| 535 | static void bitmap_32_7(INT32 firstpix, INT32 iwidth, UINT32 *src, INT32 xpos) | |
| 536 | { | |
| 537 | bitmap_32_draw(firstpix, iwidth, src, xpos, 7, -1); | |
| 538 | } | |
| 539 | ||
| 540 | static void (*const bitmap32[8])(INT32, INT32, UINT32 *, INT32) = | |
| 541 | { | |
| 542 | bitmap_32_0, | |
| 543 | bitmap_32_1, | |
| 544 | bitmap_32_2, | |
| 545 | bitmap_32_3, | |
| 546 | bitmap_32_4, | |
| 547 | bitmap_32_5, | |
| 548 | bitmap_32_6, | |
| 549 | bitmap_32_7 | |
| 550 | }; | |
| 551 | ||
| 552 | ||
| 553 | ||
| 554 | 476 | INLINE UINT8 lookup_pixel(const UINT32 *src, int i, int pitch, int depth) |
| 555 | 477 | { |
| 556 | 478 | int ppl = 32 / depth; |
| 557 | UINT32 data = src[((i & ppl) / ppl) + ((i / (ppl | |
| 479 | UINT32 data = src[((i & ppl) / ppl) + ((i / (ppl*2 | |
| 558 | 480 | UINT8 pix = (data >> ((~i & (ppl-1)) * depth)) & ((1 << depth) - 1); |
| 559 | 481 | return pix; |
| 560 | 482 | } |
| r5490 | r5491 | |
| 719 | 641 | (*bitmap16[flags & 7])(firstpix, iwidth, src, xpos); |
| 720 | 642 | break; |
| 721 | 643 | |
| 722 | /* 32bpp case */ | |
| 723 | case 5: | |
| 724 | /* only handle pitch=1 for now */ | |
| 725 | if (pitch != 1) | |
| 726 | logerror("Unhandled pitch = %d\n", pitch); | |
| 727 | ||
| 728 | (*bitmap32[flags & 7])(firstpix, iwidth, src, xpos); | |
| 729 | break; | |
| 730 | ||
| 731 | 644 | default: |
| 732 | 645 | fprintf(stderr, "Unhandled bitmap source depth = %d\n", depthlog); |
| 733 | 646 | break; |
| r5490 | r5491 | |
| 811 | 724 | int dxpos = (flags & 1) ? -1 : 1; |
| 812 | 725 | int xpix = firstpix, yinc; |
| 813 | 726 | |
| 814 | /* only handle pitch= | |
| 727 | /* only handle pitch=0 | |
| 815 | 728 | if (pitch != 1) |
| 816 | 729 | logerror("Unhandled pitch = %d\n", pitch); |
| 817 | 730 | if (flags & 2) |
| r5490 | r5491 | |
| 829 | 742 | /* switch off the depth */ |
| 830 | 743 | switch (depthlog) |
| 831 | 744 | { |
| 832 | case 0: /* needs to be verified */ | |
| 833 | { | |
| 834 | UINT16 *clut = (UINT16 *)jaguar_gpu_clut; | |
| 835 | clut += _index & 0x01; | |
| 836 | ||
| 837 | /* render in phrases */ | |
| 838 | while (xpix < iwidth) | |
| 839 | { | |
| 840 | UINT16 pix = (src[xpix >> 5] >> (~xpix & 31)) & 0x01; | |
| 841 | ||
| 842 | while (xleft > 0) | |
| 843 | { | |
| 844 | if (xpos >= 0 && xpos < 760 && (pix || !(flags & 4))) | |
| 845 | scanline[xpos] = clut[BYTE_XOR_BE(pix)]; | |
| 846 | xpos += dxpos; | |
| 847 | xleft -= 0x20; | |
| 848 | } | |
| 849 | while (xleft <= 0) | |
| 850 | xleft += hscale, xpix++; | |
| 851 | } | |
| 852 | break; | |
| 853 | } | |
| 854 | ||
| 855 | case 1: /* needs to be verified */ | |
| 856 | { | |
| 857 | UINT16 *clut = (UINT16 *)jaguar_gpu_clut; | |
| 858 | clut += _index & 0x0f; | |
| 859 | ||
| 860 | /* render in phrases */ | |
| 861 | while (xpix < iwidth) | |
| 862 | { | |
| 863 | UINT16 pix = (src[xpix >> 4] >> ((~xpix & 15) << 1)) & 0x03; | |
| 864 | ||
| 865 | while (xleft > 0) | |
| 866 | { | |
| 867 | if (xpos >= 0 && xpos < 760 && (pix || !(flags & 4))) | |
| 868 | scanline[xpos] = clut[BYTE_XOR_BE(pix)]; | |
| 869 | xpos += dxpos; | |
| 870 | xleft -= 0x20; | |
| 871 | } | |
| 872 | while (xleft <= 0) | |
| 873 | xleft += hscale, xpix++; | |
| 874 | } | |
| 875 | break; | |
| 876 | } | |
| 877 | ||
| 878 | 745 | case 2: |
| 879 | 746 | { |
| 880 | 747 | UINT16 *clut = (UINT16 *)jaguar_gpu_clut; |
| r5490 | r5491 | |
| 883 | 750 | /* render in phrases */ |
| 884 | 751 | while (xpix < iwidth) |
| 885 | 752 | { |
| 886 | UINT16 pix = (src[xpix | |
| 753 | UINT16 pix = (src[xpix / | |
| 887 | 754 | |
| 888 | 755 | while (xleft > 0) |
| 889 | 756 | { |
| r5490 | r5491 | |
| 905 | 772 | /* render in phrases */ |
| 906 | 773 | while (xpix < iwidth) |
| 907 | 774 | { |
| 908 | UINT16 pix = (src[xpix | |
| 775 | UINT16 pix = (src[xpix / | |
| 909 | 776 | |
| 910 | 777 | while (xleft > 0) |
| 911 | 778 | { |
| r5490 | r5491 | |
| 923 | 790 | case 4: |
| 924 | 791 | while (xpix < iwidth) |
| 925 | 792 | { |
| 926 | UINT16 pix = src[xpix | |
| 793 | UINT16 pix = src[xpix / | |
| 927 | 794 | |
| 928 | 795 | while (xleft > 0) |
| 929 | 796 | { |
| r5490 | r5491 | |
|---|---|---|
| 98 | 98 | WRITE8_HANDLER(pitnrun_color_select_w) |
| 99 | 99 | { |
| 100 | 100 | pitnrun_color_select=data; |
| 101 | tilemap_mark_all_tiles_dirty | |
| 101 | tilemap_mark_all_tiles_dirty | |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | static void pitnrun_spotlights(running_machine *machine) |
| r5490 | r5491 | |
|---|---|---|
| 1353 | 1353 | const device_config *screen = machine->primary_screen; |
| 1354 | 1354 | video_screen_update_partial(screen, video_screen_get_vpos(screen)); |
| 1355 | 1355 | info->bank[banknum] = offset; |
| 1356 | tilemap_mark_all_tiles_dirty( | |
| 1356 | tilemap_mark_all_tiles_dirty_all(machine); | |
| 1357 | 1357 | } |
| 1358 | 1358 | } |
| 1359 | 1359 |
| r5490 | r5491 | |
|---|---|---|
| 101 | 101 | WRITE8_HANDLER( suprridr_flipx_w ) |
| 102 | 102 | { |
| 103 | 103 | flipx = data & 1; |
| 104 | tilemap_set_flip | |
| 104 | tilemap_set_flip | |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | |
| 108 | 108 | WRITE8_HANDLER( suprridr_flipy_w ) |
| 109 | 109 | { |
| 110 | 110 | flipy = data & 1; |
| 111 | tilemap_set_flip | |
| 111 | tilemap_set_flip | |
| 112 | 112 | } |
| 113 | 113 | |
| 114 | 114 |
| r5490 | r5491 | |
|---|---|---|
| 23 | 23 | pkrdewin | clone | Poker De Win. |
| 24 | 24 | ampkr95 | clone | American Poker 95. |
| 25 | 25 | videomat | clone | Videomat (polish bootleg). |
| 26 | rabbitpk | clone | Rabbit Poker / Arizona Poker 1.1? (with PIC) | |
| 26 | 27 | sigmapkr | parent | Sigma Poker. |
| 27 | 28 | sigma2k | parent | Sigma Poker 2000. |
| 28 | 29 |
| r5490 | r5491 | |
|---|---|---|
| 90 | 90 | |
| 91 | 91 | /* bit 1 is flip screen */ |
| 92 | 92 | flipscreen = data & 0x02; |
| 93 | tilemap_set_flip | |
| 93 | tilemap_set_flip | |
| 94 | 94 | |
| 95 | 95 | /* bit 2 is unknown - unused? */ |
| 96 | 96 |
| r5490 | r5491 | |
|---|---|---|
| 115 | 115 | if (flip_screen_get(space->machine) != data) |
| 116 | 116 | { |
| 117 | 117 | flip_screen_set(space->machine, data); |
| 118 | tilemap_mark_all_tiles_dirty | |
| 118 | tilemap_mark_all_tiles_dirty | |
| 119 | 119 | } |
| 120 | 120 | } |
| 121 | 121 |
| r5490 | r5491 | |
|---|---|---|
| 26 | 26 | video_ctrl=data; |
| 27 | 27 | |
| 28 | 28 | flipscreen = (data&4)?(TILEMAP_FLIPX|TILEMAP_FLIPY):0; |
| 29 | tilemap_set_flip( | |
| 29 | tilemap_set_flip_all( space->machine,flipscreen ); | |
| 30 | 30 | tilemap_set_scrolly( ksayakyu_tilemap, 0, (data&0xe0)<<3 ); |
| 31 | 31 | } |
| 32 | 32 |
| r5490 | r5491 | |
|---|---|---|
| 63 | 63 | if (flip_screen_get(space->machine) != (data & 0x80)) |
| 64 | 64 | { |
| 65 | 65 | flip_screen_set(space->machine, data & 0x80); |
| 66 | tilemap_mark_all_tiles_dirty | |
| 66 | tilemap_mark_all_tiles_dirty | |
| 67 | 67 | } |
| 68 | 68 | } |
| 69 | 69 |
| r5490 | r5491 | |
|---|---|---|
| 98 | 98 | if (charbank != (data & 0x03)) |
| 99 | 99 | { |
| 100 | 100 | charbank = data & 0x03; |
| 101 | tilemap_mark_all_tiles_dirty | |
| 101 | tilemap_mark_all_tiles_dirty | |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | spriterambank = data & 0x08; |
| r5490 | r5491 | |
| 111 | 111 | if (palettebank != (data & 0x07)) |
| 112 | 112 | { |
| 113 | 113 | palettebank = data & 0x07; |
| 114 | tilemap_mark_all_tiles_dirty | |
| 114 | tilemap_mark_all_tiles_dirty | |
| 115 | 115 | } |
| 116 | 116 | |
| 117 | 117 | coin_counter_w(0, data & 0x10); |
| r5490 | r5491 | |
| 127 | 127 | if (flip_screen_get(space->machine) != (~data & 0x08)) |
| 128 | 128 | { |
| 129 | 129 | flip_screen_set(space->machine, ~data & 0x08); |
| 130 | tilemap_mark_all_tiles_dirty | |
| 130 | tilemap_mark_all_tiles_dirty | |
| 131 | 131 | } |
| 132 | 132 | |
| 133 | 133 | /* other bits are used too, but unknown */ |
| r5490 | r5491 | |
|---|---|---|
| 418 | 418 | /* scrolling */ |
| 419 | 419 | UINT32 basevmap; |
| 420 | 420 | UINT16 vscroll, hscroll, vtilescroll; |
| 421 | // UINT16 offset_per_tile_valid; | |
| 422 | // UINT8 offset_per_tile_mode; | |
| 421 | // UINT16 offset_per_tile_valid; | |
| 422 | // UINT8 offset_per_tile_mode; | |
| 423 | 423 | UINT8 vshift, hshift, tile_size; |
| 424 | 424 | /* variables depending on color_depth */ |
| 425 | 425 | UINT8 color_shift = 0; |
| r5490 | r5491 | |
| 508 | 508 | wrap_around_x = 0; /* Make sure we don't do this again */ |
| 509 | 509 | } |
| 510 | 510 | //if (tmap > 0x10000) |
| 511 | // | |
| 511 | // tmap %= 0x10000; | |
| 512 | 512 | |
| 513 | 513 | vflip = snes_vram[tmap + ii + 1] & 0x80; |
| 514 | 514 | hflip = snes_vram[tmap + ii + 1] & 0x40; |
| r5490 | r5491 | |
| 1094 | 1094 | case 0x0: /* OR */ |
| 1095 | 1095 | snes_ppu.clipmasks[5][ii] = w1 | w2 ? 0x00 : 0xff; |
| 1096 | 1096 | break; |
| 1097 | case 0x | |
| 1097 | case 0x4: /* AND */ | |
| 1098 | 1098 | snes_ppu.clipmasks[5][ii] = w1 & w2 ? 0x00 : 0xff; |
| 1099 | 1099 | break; |
| 1100 | case 0x | |
| 1100 | case 0x8: /* XOR */ | |
| 1101 | 1101 | snes_ppu.clipmasks[5][ii] = w1 ^ w2 ? 0x00 : 0xff; |
| 1102 | 1102 | break; |
| 1103 | case 0x | |
| 1103 | case 0xc: /* XNOR */ | |
| 1104 | 1104 | snes_ppu.clipmasks[5][ii] = !(w1 ^ w2) ? 0x00 : 0xff; |
| 1105 | 1105 | break; |
| 1106 | 1106 | } |
| r5490 | r5491 | |
| 1154 | 1154 | int fade; |
| 1155 | 1155 | struct SCANLINE *scanline; |
| 1156 | 1156 | |
| 1157 | profiler_mark(PROFILER_VIDEO); | |
| 1157 | profiler_mark_start(PROFILER_VIDEO); | |
| 1158 | 1158 | |
| 1159 | 1159 | if (snes_ram[INIDISP] & 0x80) /* screen is forced blank */ |
| 1160 | 1160 | for (x = 0; x < SNES_SCR_WIDTH * 2; x++) |
| r5490 | r5491 | |
| 1203 | 1203 | #ifdef MAME_DEBUG |
| 1204 | 1204 | if (snes_dbg_video(machine, bitmap, curline)) |
| 1205 | 1205 | { |
| 1206 | profiler_mark | |
| 1206 | profiler_mark | |
| 1207 | 1207 | return; |
| 1208 | 1208 | } |
| 1209 | 1209 | |
| r5490 | r5491 | |
| 1233 | 1233 | } |
| 1234 | 1234 | } |
| 1235 | 1235 | |
| 1236 | profiler_mark | |
| 1236 | profiler_mark | |
| 1237 | 1237 | } |
| 1238 | 1238 | |
| 1239 | 1239 | VIDEO_UPDATE( snes ) |
| r5490 | r5491 | |
|---|---|---|
| 235 | 235 | mcatadv_draw_tilemap_part(mcatadv_scroll2, mcatadv_videoram2, i, mcatadv_tilemap2, bitmap, cliprect); |
| 236 | 236 | } |
| 237 | 237 | |
| 238 | profiler_mark(PROFILER_USER1); | |
| 238 | profiler_mark_start(PROFILER_USER1); | |
| 239 | 239 | #ifdef MAME_DEBUG |
| 240 | 240 | if (!input_code_pressed(KEYCODE_E)) |
| 241 | 241 | #endif |
| 242 | 242 | draw_sprites (screen->machine, bitmap, cliprect); |
| 243 | profiler_mark | |
| 243 | profiler_mark | |
| 244 | 244 | return 0; |
| 245 | 245 | } |
| 246 | 246 |
| r5490 | r5491 | |
|---|---|---|
| 59 | 59 | if (gfx_bank != (data & 0x01)) |
| 60 | 60 | { |
| 61 | 61 | gfx_bank = data & 0x01; |
| 62 | tilemap_mark_all_tiles_dirty | |
| 62 | tilemap_mark_all_tiles_dirty | |
| 63 | 63 | } |
| 64 | 64 | } |
| 65 | 65 |
| r5490 | r5491 | |
|---|---|---|
| 513 | 513 | if (flipscreen != flipscreen_old) |
| 514 | 514 | { |
| 515 | 515 | flipscreen_old = flipscreen; |
| 516 | tilemap_set_flip | |
| 516 | tilemap_set_flip | |
| 517 | 517 | } |
| 518 | 518 | |
| 519 | 519 | /* Flip Screen */ |
| r5490 | r5491 | |
| 597 | 597 | if (flipscreen != flipscreen_old) |
| 598 | 598 | { |
| 599 | 599 | flipscreen_old = flipscreen; |
| 600 | tilemap_set_flip | |
| 600 | tilemap_set_flip | |
| 601 | 601 | } |
| 602 | 602 | |
| 603 | 603 | /* Flip Screen */ |
| r5490 | r5491 | |
|---|---|---|
| 137 | 137 | static int last_bank=0; |
| 138 | 138 | |
| 139 | 139 | if (last_bank!=bank_base) |
| 140 | tilemap_mark_all_tiles_dirty | |
| 140 | tilemap_mark_all_tiles_dirty | |
| 141 | 141 | last_bank=bank_base; |
| 142 | tilemap_set_flip | |
| 142 | tilemap_set_flip | |
| 143 | 143 | |
| 144 | 144 | bitmap_fill(bitmap,cliprect,2047); |
| 145 | 145 | //AT |
| r5490 | r5491 | |
| 275 | 275 | static int last_bank=0; |
| 276 | 276 | |
| 277 | 277 | if (last_bank!=bank_base) |
| 278 | tilemap_mark_all_tiles_dirty | |
| 278 | tilemap_mark_all_tiles_dirty | |
| 279 | 279 | last_bank=bank_base; |
| 280 | tilemap_set_flip | |
| 280 | tilemap_set_flip | |
| 281 | 281 | |
| 282 | 282 | bitmap_fill(bitmap,cliprect,4095); |
| 283 | 283 | |
| r5490 | r5491 | |
| 311 | 311 | static int last_bank=0; |
| 312 | 312 | |
| 313 | 313 | if (last_bank!=bank_base) |
| 314 | tilemap_mark_all_tiles_dirty | |
| 314 | tilemap_mark_all_tiles_dirty | |
| 315 | 315 | last_bank=bank_base; |
| 316 | tilemap_set_flip | |
| 316 | tilemap_set_flip | |
| 317 | 317 | |
| 318 | 318 | bitmap_fill(bitmap,cliprect,4095); |
| 319 | 319 |
| r5490 | r5491 | |
|---|---|---|
| 113 | 113 | if (gfxbank != (data & 0x01)) |
| 114 | 114 | { |
| 115 | 115 | gfxbank = data & 0x01; |
| 116 | tilemap_mark_all_tiles_dirty | |
| 116 | tilemap_mark_all_tiles_dirty | |
| 117 | 117 | } |
| 118 | 118 | } |
| 119 | 119 |
| r5490 | r5491 | |
|---|---|---|
| 84 | 84 | if (flip_screen_get(device->machine) != (~data & 0x80)) |
| 85 | 85 | { |
| 86 | 86 | flip_screen_set(device->machine, ~data & 0x80); |
| 87 | tilemap_mark_all_tiles_dirty | |
| 87 | tilemap_mark_all_tiles_dirty | |
| 88 | 88 | } |
| 89 | 89 | } |
| 90 | 90 |
| r5490 | r5491 | |
|---|---|---|
| 107 | 107 | if (palettebank != (data & 0x07)) |
| 108 | 108 | { |
| 109 | 109 | palettebank = data & 0x07; |
| 110 | tilemap_mark_all_tiles_dirty | |
| 110 | tilemap_mark_all_tiles_dirty | |
| 111 | 111 | } |
| 112 | 112 | } |
| 113 | 113 | |
| r5490 | r5491 | |
| 116 | 116 | if (flip_screen_get(space->machine) != (data & 0x01)) |
| 117 | 117 | { |
| 118 | 118 | flip_screen_set(space->machine, data & 0x01); |
| 119 | tilemap_mark_all_tiles_dirty | |
| 119 | tilemap_mark_all_tiles_dirty | |
| 120 | 120 | } |
| 121 | 121 | } |
| 122 | 122 |
| r5490 | r5491 | |
|---|---|---|
| 115 | 115 | if (flip_screen_get(space->machine) != (data &0x01)) |
| 116 | 116 | { |
| 117 | 117 | flip_screen_set(space->machine, data & 0x01); |
| 118 | tilemap_mark_all_tiles_dirty | |
| 118 | tilemap_mark_all_tiles_dirty | |
| 119 | 119 | } |
| 120 | 120 | } |
| 121 | 121 |
| r5490 | r5491 | |
|---|---|---|
| 102 | 102 | |
| 103 | 103 | WRITE8_HANDLER( yunsung8_flipscreen_w ) |
| 104 | 104 | { |
| 105 | tilemap_set_flip | |
| 105 | tilemap_set_flip | |
| 106 | 106 | } |
| 107 | 107 | |
| 108 | 108 |
| r5490 | r5491 | |
|---|---|---|
| 424 | 424 | { |
| 425 | 425 | /* YCC full */ |
| 426 | 426 | case 0x000: |
| 427 | /* RGB24 */ | |
| 428 | case 0x002: | |
| 429 | 427 | for (i = 0; i < 65536; i++) |
| 430 | 428 | { |
| 431 | 429 | UINT8 r = (red_lookup[i >> 8] * (i & 0xff)) >> 8; |
| r5490 | r5491 | |
| 467 | 465 | /* others */ |
| 468 | 466 | default: |
| 469 | 467 | logerror("Can't handle mode %X\n", vmode); |
| 470 | fprintf(stderr, "Can't handle mode %X\n", vmode); | |
| 471 | 468 | break; |
| 472 | 469 | } |
| 473 | 470 | } |
| r5490 | r5491 | |
| 500 | 497 | UINT32 a1flags = blitter_regs[A1_FLAGS] & STATIC_FLAGS_MASK; |
| 501 | 498 | UINT32 a2flags = blitter_regs[A2_FLAGS] & STATIC_FLAGS_MASK; |
| 502 | 499 | |
| 503 | profiler_mark(PROFILER_USER1); | |
| 500 | profiler_mark_start(PROFILER_USER1); | |
| 504 | 501 | |
| 505 | 502 | if (a1flags == a2flags) |
| 506 | 503 | { |
| r5490 | r5491 | |
| 589 | 586 | } |
| 590 | 587 | |
| 591 | 588 | generic_blitter(machine, blitter_regs[B_CMD], blitter_regs[A1_FLAGS], blitter_regs[A2_FLAGS]); |
| 592 | profiler_mark | |
| 589 | profiler_mark | |
| 593 | 590 | } |
| 594 | 591 | |
| 595 | 592 | |
| r5490 | r5491 | |
| 690 | 687 | int hbend = effective_hvalue(ENABLE_BORDERS ? gpu_regs[HBE] : MIN(gpu_regs[HDB1], gpu_regs[HDB2])); |
| 691 | 688 | int hbstart = effective_hvalue(gpu_regs[ENABLE_BORDERS ? HBB : HDE]); |
| 692 | 689 | int vperiod = (gpu_regs[VP] & 0x7ff) + 1; |
| 693 | int vbend = | |
| 690 | int vbend = | |
| 694 | 691 | int vbstart = gpu_regs[VBB] & 0x7ff; |
| 695 | 692 | |
| 696 | 693 | /* adjust for the half-lines */ |
| r5490 | r5491 | |
| 777 | 774 | /* only run if video is enabled and we are past the "display begin" */ |
| 778 | 775 | if ((gpu_regs[VMODE] & 1) && vc >= (gpu_regs[VDB] & 0x7ff)) |
| 779 | 776 | { |
| 780 | UINT32 *dest = BITMAP_ADDR32(screen_bitmap, vc | |
| 777 | UINT32 *dest = BITMAP_ADDR32(screen_bitmap, vc / | |
| 781 | 778 | int maxx = visarea->max_x; |
| 782 | int hde = effective_hvalue(gpu_regs[HDE]) | |
| 779 | int hde = effective_hvalue(gpu_regs[HDE]) / | |
| 783 | 780 | UINT16 x,scanline[760]; |
| 784 | 781 | UINT8 y,pixel_width = ((gpu_regs[VMODE]>>10)&3)+1; |
| 785 | 782 | |
| r5490 | r5491 | |
| 795 | 792 | process_object_list(machine, vc, scanline); |
| 796 | 793 | |
| 797 | 794 | /* copy the data to the target, clipping */ |
| 798 | if ((gpu_regs[VMODE] & 0x106) == 0x002) /* RGB24 */ | |
| 799 | { | |
| 800 | for (x = 0; x < 760 && hdb <= maxx && hdb < hde; x+=2) | |
| 801 | for (y = 0; y < pixel_width; y++) | |
| 802 | { | |
| 803 | UINT8 r = pen_table[(scanline[x]&0xff)|256]; | |
| 804 | UINT8 g = pen_table[(scanline[x]>>8)|512]; | |
| 805 | UINT8 b = pen_table[scanline[x+1]&0xff]; | |
| 806 | dest[hdb++] = MAKE_RGB(r, g, b); | |
| 807 | } | |
| 808 | } | |
| 809 | else | |
| 810 | { | |
| 811 | for (x = 0; x < 760 && hdb <= maxx && hdb < hde; x++) | |
| 812 | for (y = 0; y < pixel_width; y++) | |
| 813 | dest[hdb++] = pen_table[scanline[x]]; | |
| 814 | } | |
| 795 | for (x = 0; x < 760 && hdb <= maxx && hdb < hde; x++) | |
| 796 | for (y = 0; y < pixel_width; y++) | |
| 797 | dest[hdb++] = pen_table[scanline[x]]; | |
| 815 | 798 | } |
| 816 | 799 | |
| 817 | 800 | /* adjust the timer in a loop, to handle missed cases */ |
| r5490 | r5491 | |
|---|---|---|
| 146 | 146 | |
| 147 | 147 | ojankohs_flipscreen = data & 0x01; |
| 148 | 148 | |
| 149 | tilemap_set_flip | |
| 149 | tilemap_set_flip | |
| 150 | 150 | |
| 151 | 151 | if (ojankohs_flipscreen) { |
| 152 | 152 | ojankohs_scrollx = -0xe0; |
| r5490 | r5491 | |
|---|---|---|
| 141 | 141 | set after IN0 - Coin 1 goes high AND the credit has been added |
| 142 | 142 | */ |
| 143 | 143 | flipscreen = data & 0x01; |
| 144 | tilemap_set_flip | |
| 144 | tilemap_set_flip | |
| 145 | 145 | |
| 146 | 146 | coin_counter_w(0,data & 0x02); |
| 147 | 147 | coin_counter_w(1,data & 0x20); |
| r5490 | r5491 | |
|---|---|---|
| 86 | 86 | { |
| 87 | 87 | po[offset] = data & 1; |
| 88 | 88 | palette_offset = (po[0] + (po[1] << 1)) << 4; |
| 89 | tilemap_mark_all_tiles_dirty | |
| 89 | tilemap_mark_all_tiles_dirty | |
| 90 | 90 | } |
| 91 | 91 | } |
| 92 | 92 |
| r5490 | r5491 | |
|---|---|---|
| 82 | 82 | { |
| 83 | 83 | int tile; |
| 84 | 84 | |
| 85 | /* TODO: bits 0-3 are used and there's an unimplemented per-tile flip y / +0x10 tile banking, understand where. */ | |
| 85 | /* | |
| 86 | robiza notes: | |
| 87 | - flip y (handled with a +0x10 tile banking) depends only by position of the tile in the screen | |
| 88 | - bits 0-3 are not used by gfx hardware; the value is the color of the pixel in the map (golf) | |
| 89 | */ | |
| 86 | 90 | |
| 87 | 91 | tile = (prosport_bg_vram[tile_index] & 0xf0)>>4; |
| 88 | // if(!(tile & 0x08)) { tile+=0x10; } | |
| 89 | tile+= deco16_io_ram[0]&0x20; //Pro Bowling bg tiles banking bit | |
| 90 | 92 | |
| 93 | if (tile_index & 0x8) tile += 0x10; | |
| 94 | ||
| 95 | tile += deco16_io_ram[0]&0x20; //Pro Bowling bg tiles banking bit | |
| 96 | ||
| 91 | 97 | SET_TILE_INFO(8, tile, 0, 0); |
| 92 | 98 | } |
| 93 | 99 | |
| r5490 | r5491 | |
| 383 | 389 | sy2=sy+16; |
| 384 | 390 | } |
| 385 | 391 | |
| 386 | drawgfx_transpen(bitmap,cliprect,machine->gfx[gfx_region], | |
| 387 | code, | |
| 392 | drawgfx_transpen(bitmap,cliprect,machine->gfx[gfx_region], | |
| 393 | code, | |
| 388 | 394 | color, |
| 389 | 395 | fx,fy, |
| 390 | 396 | sx,sy,0); |
| 391 | if (multi) | |
| 392 | drawgfx_transpen(bitmap,cliprect,machine->gfx[gfx_region], | |
| 397 | if (multi) | |
| 398 | drawgfx_transpen(bitmap,cliprect,machine->gfx[gfx_region], | |
| 393 | 399 | code2, |
| 394 | 400 | color, |
| 395 | 401 | fx,fy, |
| r5490 | r5491 | |
| 468 | 474 | fy = spriteram[offs+0] & 2; |
| 469 | 475 | |
| 470 | 476 | drawgfx_transpen(bitmap,cliprect,machine->gfx[1], |
| 471 | code, | |
| 477 | code, | |
| 472 | 478 | 0, |
| 473 | 479 | fx,fy, |
| 474 | 480 | sx,sy,0); |
| r5490 | r5491 | |
| 502 | 508 | |
| 503 | 509 | offs = 0; |
| 504 | 510 | /* TODO: what's bits 0 and 2 for? Internal scrolling state? */ |
| 505 | ||
| 511 | | |
| 506 | 512 | scrollx = ((deco16_io_ram[0] & 0x2)<<7) | (deco16_io_ram[1]); |
| 507 | 513 | |
| 508 | 514 | tilemap_set_scrolly(background_tilemap,0,scrolly); |
| r5490 | r5491 | |
|---|---|---|
| 426 | 426 | if (twineagl_tilebank[offset] != data) |
| 427 | 427 | { |
| 428 | 428 | twineagl_tilebank[offset] = data; |
| 429 | tilemap_mark_all_tiles_dirty | |
| 429 | tilemap_mark_all_tiles_dirty | |
| 430 | 430 | } |
| 431 | 431 | } |
| 432 | 432 | } |
| r5490 | r5491 | |
| 907 | 907 | |
| 908 | 908 | flip ^= tilemaps_flip; |
| 909 | 909 | |
| 910 | tilemap_set_flip | |
| 910 | tilemap_set_flip | |
| 911 | 911 | |
| 912 | 912 | x_0 = seta_vctrl_0[ 0/2 ]; |
| 913 | 913 | y_0 = seta_vctrl_0[ 2/2 ]; |
| r5490 | r5491 | |
|---|---|---|
| 187 | 187 | |
| 188 | 188 | if (cliprect->min_y == video_screen_get_visible_area(screen)->min_y) |
| 189 | 189 | { |
| 190 | tilemap_mark_all_tiles_dirty | |
| 190 | tilemap_mark_all_tiles_dirty | |
| 191 | 191 | |
| 192 | 192 | tilemap_set_scrollx(bg_tilemap, 0, *tp84_scroll_x); |
| 193 | 193 | tilemap_set_scrolly(bg_tilemap, 0, *tp84_scroll_y); |
| 194 | 194 | |
| 195 | tilemap_set_flip | |
| 195 | tilemap_set_flip | |
| 196 | 196 | ((*tp84_flipscreen_y & 0x01) ? TILEMAP_FLIPY : 0)); |
| 197 | 197 | } |
| 198 | 198 |
| r5490 | r5491 | |
|---|---|---|
| 105 | 105 | else |
| 106 | 106 | tilemap_flip &= ~TILEMAP_FLIPX; |
| 107 | 107 | |
| 108 | tilemap_set_flip | |
| 108 | tilemap_set_flip | |
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | if (ACCESSING_BITS_8_15) |
| r5490 | r5491 | |
| 124 | 124 | else |
| 125 | 125 | tilemap_flip &= ~TILEMAP_FLIPY; |
| 126 | 126 | |
| 127 | tilemap_set_flip | |
| 127 | tilemap_set_flip | |
| 128 | 128 | } |
| 129 | 129 | } |
| 130 | 130 | |
| r5490 | r5491 | |
| 150 | 150 | tilemap_flip &= ~TILEMAP_FLIPY; |
| 151 | 151 | |
| 152 | 152 | if (accessing_bits & 0x0c) |
| 153 | tilemap_set_flip | |
| 153 | tilemap_set_flip | |
| 154 | 154 | |
| 155 | 155 | irq_port_last = data; |
| 156 | 156 | } |
| r5490 | r5491 | |
|---|---|---|
| 155 | 155 | int scrolly = ((*cheekyms_port_80 >> 3) & 0x07); |
| 156 | 156 | int flip = *cheekyms_port_80 & 0x80; |
| 157 | 157 | |
| 158 | tilemap_mark_all_tiles_dirty(ALL_TILEMAPS); | |
| 159 | tilemap_set_flip(ALL_TILEMAPS, flip ? TILEMAP_FLIPX | TILEMAP_FLIPY : 0); | |
| 158 | tilemap_mark_all_tiles_dirty_all(screen->machine); | |
| 159 | tilemap_set_flip_all(screen->machine, flip ? TILEMAP_FLIPX | TILEMAP_FLIPY : 0); | |
| 160 | 160 | |
| 161 | 161 | bitmap_fill(bitmap, cliprect, 0); |
| 162 | 162 | bitmap_fill(bitmap_buffer, cliprect, 0); |
| r5490 | r5491 | |
|---|---|---|
| 96 | 96 | /* Flipscreen */ |
| 97 | 97 | if (offset==3 && ACCESSING_BITS_0_7) { |
| 98 | 98 | flipscreen=data&0x2; |
| 99 | tilemap_set_flip | |
| 99 | tilemap_set_flip | |
| 100 | 100 | } |
| 101 | 101 | } |
| 102 | 102 | |
| r5490 | r5491 | |
| 107 | 107 | /* Flipscreen */ |
| 108 | 108 | if (offset==3 && ACCESSING_BITS_0_7) { |
| 109 | 109 | flipscreen=data&0x40; |
| 110 | tilemap_set_flip | |
| 110 | tilemap_set_flip | |
| 111 | 111 | } |
| 112 | 112 | } |
| 113 | 113 |
| r5490 | r5491 | |
|---|---|---|
| 38 | 38 | if (flip_screen_get(space->machine) != (data & 0x01)) |
| 39 | 39 | { |
| 40 | 40 | flip_screen_set(space->machine, data & 0x01); |
| 41 | tilemap_mark_all_tiles_dirty | |
| 41 | tilemap_mark_all_tiles_dirty | |
| 42 | 42 | } |
| 43 | 43 | } |
| 44 | 44 |
| r5490 | r5491 | |
|---|---|---|
| 40 | 40 | WRITE8_HANDLER( carjmbre_flipscreen_w ) |
| 41 | 41 | { |
| 42 | 42 | carjmbre_flipscreen = data?(TILEMAP_FLIPX|TILEMAP_FLIPY):0; |
| 43 | tilemap_set_flip( | |
| 43 | tilemap_set_flip_all( space->machine,carjmbre_flipscreen ); | |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | WRITE8_HANDLER( carjmbre_bgcolor_w ) |
| r5490 | r5491 | |
|---|---|---|
| 124 | 124 | WRITE8_HANDLER( gundealr_flipscreen_w ) |
| 125 | 125 | { |
| 126 | 126 | flipscreen = data; |
| 127 | tilemap_set_flip | |
| 127 | tilemap_set_flip | |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | 130 |
| r5490 | r5491 | |
|---|---|---|
| 221 | 221 | /* Mr. Do! so we don't emulate them */ |
| 222 | 222 | |
| 223 | 223 | flipscreen = data & 0x01; |
| 224 | tilemap_set_flip | |
| 224 | tilemap_set_flip | |
| 225 | 225 | } |
| 226 | 226 | |
| 227 | 227 |
| r5490 | r5491 | |
|---|---|---|
| 354 | 354 | /* flip screen is embedded in the sprite control registers */ |
| 355 | 355 | /* can't use flip_screen_set(screen->machine, ) because the visible area is asymmetrical */ |
| 356 | 356 | flip_screen_set_no_update(screen->machine, spriteram[0x07f6] & 1); |
| 357 | tilemap_set_flip | |
| 357 | tilemap_set_flip | |
| 358 | 358 | |
| 359 | 359 | |
| 360 | 360 | /* background color */ |
| r5490 | r5491 | |
|---|---|---|
| 301 | 301 | |
| 302 | 302 | flipscreen = data & 0x01; |
| 303 | 303 | if (flipscreen) |
| 304 | tilemap_set_flip | |
| 304 | tilemap_set_flip | |
| 305 | 305 | else |
| 306 | tilemap_set_flip | |
| 306 | tilemap_set_flip | |
| 307 | 307 | |
| 308 | 308 | coin_counter_w(0,data & 2); |
| 309 | 309 | coin_counter_w(1,data & 4); |
| r5490 | r5491 | |
|---|---|---|
| 234 | 234 | flip_screen_x_set(space->machine, data & 0x01); |
| 235 | 235 | flip_screen_y_set(space->machine, data & 0x02); |
| 236 | 236 | |
| 237 | tilemap_set_flip | |
| 237 | tilemap_set_flip | |
| 238 | 238 | (flip_screen_y_get(space->machine) ? TILEMAP_FLIPY : 0)); |
| 239 | 239 | } |
| 240 | 240 | |
| r5490 | r5491 | |
| 246 | 246 | if (gfxbank != bank) |
| 247 | 247 | { |
| 248 | 248 | gfxbank = bank; |
| 249 | tilemap_mark_all_tiles_dirty | |
| 249 | tilemap_mark_all_tiles_dirty | |
| 250 | 250 | } |
| 251 | 251 | |
| 252 | 252 | lasso_flip_screen_w(space, offset, data); |
| r5490 | r5491 | |
| 260 | 260 | if (gfxbank != bank) |
| 261 | 261 | { |
| 262 | 262 | gfxbank = bank; |
| 263 | tilemap_mark_all_tiles_dirty | |
| 263 | tilemap_mark_all_tiles_dirty | |
| 264 | 264 | } |
| 265 | 265 | |
| 266 | 266 | lasso_flip_screen_w(space, offset, data); |
| r5490 | r5491 | |
|---|---|---|
| 178 | 178 | */ |
| 179 | 179 | case 6: |
| 180 | 180 | flipscreen = !(data & 1); |
| 181 | tilemap_set_flip | |
| 181 | tilemap_set_flip | |
| 182 | 182 | break; |
| 183 | 183 | case 7: |
| 184 | 184 | soundlatch_w(space, 0, data); |
| r5490 | r5491 | |
|---|---|---|
| 83 | 83 | if (flip_screen_get(space->machine) != (data & 0x01)) |
| 84 | 84 | { |
| 85 | 85 | flip_screen_set(space->machine, data & 0x01); |
| 86 | tilemap_mark_all_tiles_dirty | |
| 86 | tilemap_mark_all_tiles_dirty | |
| 87 | 87 | } |
| 88 | 88 | } |
| 89 | 89 |
| r5490 | r5491 | |
|---|---|---|
| 87 | 87 | WRITE8_HANDLER( popper_flipscreen_w ) |
| 88 | 88 | { |
| 89 | 89 | popper_flipscreen = data; |
| 90 | tilemap_set_flip( | |
| 90 | tilemap_set_flip_all( space->machine,popper_flipscreen?(TILEMAP_FLIPX|TILEMAP_FLIPY):0 ); | |
| 91 | 91 | |
| 92 | 92 | tilemap_clip = *video_screen_get_visible_area(space->machine->primary_screen); |
| 93 | 93 | |
| r5490 | r5491 | |
| 107 | 107 | if (popper_gfx_bank != data) |
| 108 | 108 | { |
| 109 | 109 | popper_gfx_bank = data; |
| 110 | tilemap_mark_all_tiles_dirty | |
| 110 | tilemap_mark_all_tiles_dirty | |
| 111 | 111 | } |
| 112 | 112 | } |
| 113 | 113 |
| r5490 | r5491 | |
|---|---|---|
| 71 | 71 | { |
| 72 | 72 | flipon = data & 0x80; |
| 73 | 73 | flip_screen_set(space->machine, flipon); |
| 74 | tilemap_mark_all_tiles_dirty | |
| 74 | tilemap_mark_all_tiles_dirty | |
| 75 | 75 | } |
| 76 | 76 | } |
| 77 | 77 |
| r5490 | r5491 | |
|---|---|---|
| 177 | 177 | if (flip_screen_get(space->machine) != (data & 0x80)) |
| 178 | 178 | { |
| 179 | 179 | flip_screen_set(space->machine, data & 0x80); |
| 180 | tilemap_mark_all_tiles_dirty | |
| 180 | tilemap_mark_all_tiles_dirty | |
| 181 | 181 | } |
| 182 | 182 | } |
| 183 | 183 |
| r5490 | r5491 | |
|---|---|---|
| 136 | 136 | if (charbank != bank) |
| 137 | 137 | { |
| 138 | 138 | charbank = bank; |
| 139 | tilemap_mark_all_tiles_dirty | |
| 139 | tilemap_mark_all_tiles_dirty | |
| 140 | 140 | } |
| 141 | 141 | |
| 142 | 142 | /* bit 7 flips screen */ |
| r5490 | r5491 | |
| 144 | 144 | if (flip_screen_get(space->machine) != (data & 0x80)) |
| 145 | 145 | { |
| 146 | 146 | flip_screen_set(space->machine, data & 0x80); |
| 147 | tilemap_mark_all_tiles_dirty | |
| 147 | tilemap_mark_all_tiles_dirty | |
| 148 | 148 | } |
| 149 | 149 | } |
| 150 | 150 | |
| r5490 | r5491 | |
| 252 | 252 | if (flip_screen_get(space->machine) != (data & 0x01)) |
| 253 | 253 | { |
| 254 | 254 | flip_screen_set(space->machine, data & 0x01); |
| 255 | tilemap_mark_all_tiles_dirty | |
| 255 | tilemap_mark_all_tiles_dirty | |
| 256 | 256 | } |
| 257 | 257 | |
| 258 | 258 | /* bit 1 enables interrups */ |
| r5490 | r5491 | |
|---|---|---|
| 90 | 90 | if (flip_screen_get(space->machine) != (data & 0x02)) |
| 91 | 91 | { |
| 92 | 92 | flip_screen_set(space->machine, data & 0x02); |
| 93 | tilemap_mark_all_tiles_dirty | |
| 93 | tilemap_mark_all_tiles_dirty | |
| 94 | 94 | } |
| 95 | 95 | } |
| 96 | 96 |
| r5490 | r5491 | |
|---|---|---|
| 1229 | 1229 | static int K007121_flipscreen[MAX_K007121]; |
| 1230 | 1230 | |
| 1231 | 1231 | |
| 1232 | void K007121_ctrl_w(int chip,int offset,int data) | |
| 1232 | void K007121_ctrl_w(running_machine *machine,int chip,int offset,int data) | |
| 1233 | 1233 | { |
| 1234 | 1234 | switch (offset) |
| 1235 | 1235 | { |
| 1236 | 1236 | case 6: |
| 1237 | 1237 | /* palette bank change */ |
| 1238 | 1238 | if ((K007121_ctrlram[chip][offset] & 0x30) != (data & 0x30)) |
| 1239 | tilemap_mark_all_tiles_dirty | |
| 1239 | tilemap_mark_all_tiles_dirty | |
| 1240 | 1240 | break; |
| 1241 | 1241 | case 7: |
| 1242 | 1242 | K007121_flipscreen[chip] = data & 0x08; |
| r5490 | r5491 | |
| 1248 | 1248 | |
| 1249 | 1249 | WRITE8_HANDLER( K007121_ctrl_0_w ) |
| 1250 | 1250 | { |
| 1251 | K007121_ctrl_w(0,offset,data); | |
| 1251 | K007121_ctrl_w(space->machine,0,offset,data); | |
| 1252 | 1252 | } |
| 1253 | 1253 | |
| 1254 | 1254 | WRITE8_HANDLER( K007121_ctrl_1_w ) |
| 1255 | 1255 | { |
| 1256 | K007121_ctrl_w(1,offset,data); | |
| 1256 | K007121_ctrl_w(space->machine,1,offset,data); | |
| 1257 | 1257 | } |
| 1258 | 1258 | |
| 1259 | 1259 | |
| r5490 | r5491 | |
| 1578 | 1578 | break; |
| 1579 | 1579 | case 0x01: /* used for banking in Rock'n'Rage */ |
| 1580 | 1580 | if (data != K007342_regs[1]) |
| 1581 | tilemap_mark_all_tiles_dirty | |
| 1581 | tilemap_mark_all_tiles_dirty | |
| 1582 | 1582 | case 0x02: |
| 1583 | 1583 | K007342_scrollx[0] = (K007342_scrollx[0] & 0xff) | ((data & 0x01) << 8); |
| 1584 | 1584 | K007342_scrollx[1] = (K007342_scrollx[1] & 0xff) | ((data & 0x02) << 7); |
| r5490 | r5491 | |
| 5124 | 5124 | } |
| 5125 | 5125 | |
| 5126 | 5126 | if (!K053251_tilemaps_set) |
| 5127 | tilemap_mark_all_tiles_dirty | |
| 5127 | tilemap_mark_all_tiles_dirty | |
| 5128 | 5128 | } |
| 5129 | 5129 | else if (offset == 10) |
| 5130 | 5130 | { |
| r5490 | r5491 | |
| 5142 | 5142 | } |
| 5143 | 5143 | |
| 5144 | 5144 | if (!K053251_tilemaps_set) |
| 5145 | tilemap_mark_all_tiles_dirty | |
| 5145 | tilemap_mark_all_tiles_dirty | |
| 5146 | 5146 | } |
| 5147 | 5147 | } |
| 5148 | 5148 | } |
| r5490 | r5491 | |
|---|---|---|
| 8 | 8 | #define MAX_K007121 2 |
| 9 | 9 | extern UINT8 K007121_ctrlram[MAX_K007121][8]; |
| 10 | 10 | |
| 11 | void K007121_ctrl_w(int chip,int offset,int data); | |
| 11 | void K007121_ctrl_w(running_machine *machine, int chip,int offset,int data); | |
| 12 | 12 | WRITE8_HANDLER( K007121_ctrl_0_w ); |
| 13 | 13 | WRITE8_HANDLER( K007121_ctrl_1_w ); |
| 14 | 14 | void K007121_sprites_draw(int chip,bitmap_t *bitmap,const rectangle *cliprect, gfx_element **gfxs, colortable_t *ctable, |
| r5490 | r5491 | |
|---|---|---|
| 15 | 15 | if (flip_screen_get(space->machine) != (data & 0x80)) |
| 16 | 16 | { |
| 17 | 17 | flip_screen_set(space->machine, data & 0x80); |
| 18 | tilemap_mark_all_tiles_dirty | |
| 18 | tilemap_mark_all_tiles_dirty | |
| 19 | 19 | } |
| 20 | 20 | } |
| 21 | 21 |
| r5490 | r5491 | |
|---|---|---|
| 137 | 137 | if (ACCESSING_BITS_0_7) |
| 138 | 138 | { |
| 139 | 139 | flipscreen = data & 0x08; |
| 140 | tilemap_set_flip | |
| 140 | tilemap_set_flip | |
| 141 | 141 | |
| 142 | 142 | sprite_flip_axis = data & 0x04; // for streetsm? though might not be present on this board |
| 143 | 143 | |
| r5490 | r5491 | |
| 154 | 154 | if (ACCESSING_BITS_0_7) |
| 155 | 155 | { |
| 156 | 156 | flipscreen = data & 0x08; |
| 157 | tilemap_set_flip | |
| 157 | tilemap_set_flip | |
| 158 | 158 | |
| 159 | 159 | sprite_flip_axis = data & 0x04; |
| 160 | 160 | } |
| r5490 | r5491 | |
|---|---|---|
| 111 | 111 | if (charbank != data) |
| 112 | 112 | { |
| 113 | 113 | charbank = data; |
| 114 | tilemap_mark_all_tiles_dirty | |
| 114 | tilemap_mark_all_tiles_dirty | |
| 115 | 115 | } |
| 116 | 116 | } |
| 117 | 117 | |
| r5490 | r5491 | |
| 127 | 127 | if (charpalbank != ((data & 0x60) >> 5)) |
| 128 | 128 | { |
| 129 | 129 | charpalbank = (data & 0x60) >> 5; |
| 130 | tilemap_mark_all_tiles_dirty | |
| 130 | tilemap_mark_all_tiles_dirty | |
| 131 | 131 | } |
| 132 | 132 | |
| 133 | 133 | /* bit 4 is flip screen */ |
| r5490 | r5491 | |
| 135 | 135 | if (flipscreen != (data & 0x10)) |
| 136 | 136 | { |
| 137 | 137 | flipscreen = data & 0x10; |
| 138 | tilemap_mark_all_tiles_dirty | |
| 138 | tilemap_mark_all_tiles_dirty | |
| 139 | 139 | } |
| 140 | 140 | |
| 141 | 141 | /* bit 0 could be used but unknown */ |
| r5490 | r5491 | |
|---|---|---|
| 92 | 92 | if (state->gfx_bank != (data & 0x01)) |
| 93 | 93 | { |
| 94 | 94 | state->gfx_bank = data & 0x01; |
| 95 | tilemap_mark_all_tiles_dirty | |
| 95 | tilemap_mark_all_tiles_dirty | |
| 96 | 96 | } |
| 97 | 97 | } |
| 98 | 98 | |
| r5490 | r5491 | |
| 103 | 103 | if (state->palette_bank != (data & 0x01)) |
| 104 | 104 | { |
| 105 | 105 | state->palette_bank = data & 0x01; |
| 106 | tilemap_mark_all_tiles_dirty | |
| 106 | tilemap_mark_all_tiles_dirty | |
| 107 | 107 | } |
| 108 | 108 | } |
| 109 | 109 | |
| r5490 | r5491 | |
| 122 | 122 | { |
| 123 | 123 | state->flip = data & 0x01; |
| 124 | 124 | if (state->flip) |
| 125 | tilemap_set_flip | |
| 125 | tilemap_set_flip | |
| 126 | 126 | else |
| 127 | tilemap_set_flip(ALL_TILEMAPS, 0); | |
| 128 | tilemap_mark_all_tiles_dirty(ALL_TILEMAPS); | |
| 127 | tilemap_set_flip_all(space->machine, 0); | |
| 128 | tilemap_mark_all_tiles_dirty_all(space->machine); | |
| 129 | 129 | } |
| 130 | 130 | } |
| 131 | 131 | |
| r5490 | r5491 | |
| 217 | 217 | if (t != state->monitor) |
| 218 | 218 | { |
| 219 | 219 | state->monitor = t; |
| 220 | tilemap_mark_all_tiles_dirty | |
| 220 | tilemap_mark_all_tiles_dirty | |
| 221 | 221 | } |
| 222 | 222 | |
| 223 | 223 | tilemap_set_scrollx(state->bg_tilemap, 0, state->flip ? (HTOTAL-HBSTART) : 0); |
| r5490 | r5491 | |
|---|---|---|
| 21 | 21 | if (flip_screen_get(space->machine) != (data & 0x01)) |
| 22 | 22 | { |
| 23 | 23 | flip_screen_set(space->machine, data & 0x01); |
| 24 | tilemap_mark_all_tiles_dirty | |
| 24 | tilemap_mark_all_tiles_dirty | |
| 25 | 25 | } |
| 26 | 26 | } |
| 27 | 27 |
| r5490 | r5491 | |
|---|---|---|
| 143 | 143 | if (palettebank != (offset & 1)) |
| 144 | 144 | { |
| 145 | 145 | palettebank = offset & 1; |
| 146 | tilemap_mark_all_tiles_dirty | |
| 146 | tilemap_mark_all_tiles_dirty | |
| 147 | 147 | } |
| 148 | 148 | } |
| 149 | 149 |
| r5490 | r5491 | |
|---|---|---|
| 541 | 541 | int offs,offs2; |
| 542 | 542 | |
| 543 | 543 | flipscreen=tumblepb_control_0[0]&0x80; |
| 544 | tilemap_set_flip | |
| 544 | tilemap_set_flip | |
| 545 | 545 | if (flipscreen) offs=1; else offs=-1; |
| 546 | 546 | if (flipscreen) offs2=-3; else offs2=-5; |
| 547 | 547 | |
| r5490 | r5491 | |
| 566 | 566 | int offs,offs2; |
| 567 | 567 | |
| 568 | 568 | flipscreen=tumblepb_control_0[0]&0x80; |
| 569 | tilemap_set_flip | |
| 569 | tilemap_set_flip | |
| 570 | 570 | if (flipscreen) offs=1; else offs=-1; |
| 571 | 571 | if (flipscreen) offs2=-3; else offs2=-5; |
| 572 | 572 | |
| r5490 | r5491 | |
| 591 | 591 | int offs,offs2; |
| 592 | 592 | |
| 593 | 593 | flipscreen=tumblepb_control_0[0]&0x80; |
| 594 | tilemap_set_flip | |
| 594 | tilemap_set_flip | |
| 595 | 595 | if (flipscreen) offs=1; else offs=-1; /* fixed */ |
| 596 | 596 | if (flipscreen) offs2=-3; else offs2=-5; /* fixed */ |
| 597 | 597 | |
| r5490 | r5491 | |
| 642 | 642 | int offs,offs2; |
| 643 | 643 | |
| 644 | 644 | flipscreen=tumblepb_control_0[0]&0x80; |
| 645 | tilemap_set_flip | |
| 645 | tilemap_set_flip | |
| 646 | 646 | if (flipscreen) offs=1; else offs=8; /* not sure of this */ |
| 647 | 647 | if (flipscreen) offs2=-3; else offs2=8; /* not sure of this */ |
| 648 | 648 | |
| r5490 | r5491 | |
| 667 | 667 | int offs,offs2; |
| 668 | 668 | |
| 669 | 669 | flipscreen=tumblepb_control_0[0]&0x80; |
| 670 | tilemap_set_flip | |
| 670 | tilemap_set_flip | |
| 671 | 671 | offs=-1; |
| 672 | 672 | offs2=-2; |
| 673 | 673 | |
| r5490 | r5491 | |
| 694 | 694 | int offs,offs2; |
| 695 | 695 | |
| 696 | 696 | flipscreen=tumblepb_control_0[0]&0x80; |
| 697 | tilemap_set_flip | |
| 697 | tilemap_set_flip | |
| 698 | 698 | offs=-1; |
| 699 | 699 | offs2=-5; // foreground scroll.. |
| 700 | 700 | |
| r5490 | r5491 | |
| 723 | 723 | int offs,offs2; |
| 724 | 724 | |
| 725 | 725 | flipscreen=tumblepb_control_0[0]&0x80; |
| 726 | tilemap_set_flip | |
| 726 | tilemap_set_flip | |
| 727 | 727 | if (flipscreen) offs=1; else offs=-1; |
| 728 | 728 | if (flipscreen) offs2=-3; else offs2=-5; |
| 729 | 729 | |
| r5490 | r5491 | |
| 805 | 805 | int offs,offs2; |
| 806 | 806 | |
| 807 | 807 | flipscreen=tumblepb_control_0[0]&0x80; |
| 808 | tilemap_set_flip | |
| 808 | tilemap_set_flip | |
| 809 | 809 | if (flipscreen) offs=1; else offs=-1; |
| 810 | 810 | if (flipscreen) offs2=-3; else offs2=-5; |
| 811 | 811 |
| r5490 | r5491 | |
|---|---|---|
| 256 | 256 | |
| 257 | 257 | cocktail_mode = videoram_pg_index && (input_port_read(space->machine, "CAB") & 0x01); |
| 258 | 258 | |
| 259 | tilemap_set_flip(ALL_TILEMAPS, cocktail_mode ? (TILEMAP_FLIPX | TILEMAP_FLIPY) : 0); | |
| 260 | tilemap_mark_all_tiles_dirty(ALL_TILEMAPS); | |
| 259 | tilemap_set_flip_all(space->machine, cocktail_mode ? (TILEMAP_FLIPX | TILEMAP_FLIPY) : 0); | |
| 260 | tilemap_mark_all_tiles_dirty_all(space->machine); | |
| 261 | 261 | } |
| 262 | 262 | |
| 263 | 263 | /* Phoenix has only one palette select effecting both layers */ |
| r5490 | r5491 | |
| 265 | 265 | { |
| 266 | 266 | palette_bank = (data >> 1) & 1; |
| 267 | 267 | |
| 268 | tilemap_mark_all_tiles_dirty | |
| 268 | tilemap_mark_all_tiles_dirty | |
| 269 | 269 | } |
| 270 | 270 | } |
| 271 | 271 | |
| r5490 | r5491 | |
| 279 | 279 | |
| 280 | 280 | cocktail_mode = videoram_pg_index && (input_port_read(space->machine, "CAB") & 0x01); |
| 281 | 281 | |
| 282 | tilemap_set_flip(ALL_TILEMAPS, cocktail_mode ? (TILEMAP_FLIPX | TILEMAP_FLIPY) : 0); | |
| 283 | tilemap_mark_all_tiles_dirty(ALL_TILEMAPS); | |
| 282 | tilemap_set_flip_all(space->machine, cocktail_mode ? (TILEMAP_FLIPX | TILEMAP_FLIPY) : 0); | |
| 283 | tilemap_mark_all_tiles_dirty_all(space->machine); | |
| 284 | 284 | } |
| 285 | 285 | |
| 286 | 286 | |
| r5490 | r5491 | |
| 292 | 292 | { |
| 293 | 293 | palette_bank = ((data >> 1) & 3); |
| 294 | 294 | |
| 295 | tilemap_mark_all_tiles_dirty | |
| 295 | tilemap_mark_all_tiles_dirty | |
| 296 | 296 | |
| 297 | 297 | logerror("Palette: %02X\n", (data & 0x06) >> 1); |
| 298 | 298 | } |
| r5490 | r5491 | |
|---|---|---|
| 54 | 54 | if (flip_screen_get(space->machine) != (data & 0x01)) |
| 55 | 55 | { |
| 56 | 56 | flip_screen_set(space->machine, data & 0x01); |
| 57 | tilemap_mark_all_tiles_dirty | |
| 57 | tilemap_mark_all_tiles_dirty | |
| 58 | 58 | } |
| 59 | 59 | } |
| 60 | 60 |
| r5490 | r5491 | |
|---|---|---|
| 22 | 22 | if (flip_screen_get(space->machine) != (data & 0x02)) |
| 23 | 23 | { |
| 24 | 24 | flip_screen_set(space->machine, data & 0x02); |
| 25 | tilemap_mark_all_tiles_dirty | |
| 25 | tilemap_mark_all_tiles_dirty | |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | /* bit 2 selects bg char bank */ |
| r5490 | r5491 | |
|---|---|---|
| 1900 | 1900 | int spritenum = 0; |
| 1901 | 1901 | UINT16 *sprite; |
| 1902 | 1902 | |
| 1903 | profiler_mark(PROFILER_USER2); | |
| 1903 | profiler_mark_start(PROFILER_USER2); | |
| 1904 | 1904 | |
| 1905 | 1905 | logerror("----\n"); |
| 1906 | 1906 | |
| r5490 | r5491 | |
| 1971 | 1971 | } |
| 1972 | 1972 | } |
| 1973 | 1973 | |
| 1974 | profiler_mark | |
| 1974 | profiler_mark | |
| 1975 | 1975 | } |
| 1976 | 1976 | |
| 1977 | 1977 | |
| r5490 | r5491 | |
| 2460 | 2460 | } |
| 2461 | 2461 | |
| 2462 | 2462 | /* update the tilemaps */ |
| 2463 | profiler_mark(PROFILER_USER1); | |
| 2463 | profiler_mark_start(PROFILER_USER1); | |
| 2464 | 2464 | enablemask = update_tilemaps(screen, cliprect); |
| 2465 | profiler_mark | |
| 2465 | profiler_mark | |
| 2466 | 2466 | |
| 2467 | 2467 | /* debugging */ |
| 2468 | 2468 | #if QWERTY_LAYER_ENABLE |
| r5490 | r5491 | |
| 2475 | 2475 | #endif |
| 2476 | 2476 | |
| 2477 | 2477 | /* do the mixing */ |
| 2478 | profiler_mark(PROFILER_USER3); | |
| 2478 | profiler_mark_start(PROFILER_USER3); | |
| 2479 | 2479 | mix_all_layers(0, 0, bitmap, cliprect, enablemask); |
| 2480 | profiler_mark | |
| 2480 | profiler_mark | |
| 2481 | 2481 | |
| 2482 | 2482 | if (LOG_SPRITES && input_code_pressed(KEYCODE_L)) |
| 2483 | 2483 | { |
| r5490 | r5491 | |
| 2640 | 2640 | } |
| 2641 | 2641 | |
| 2642 | 2642 | /* update the tilemaps */ |
| 2643 | profiler_mark(PROFILER_USER1); | |
| 2643 | profiler_mark_start(PROFILER_USER1); | |
| 2644 | 2644 | enablemask = update_tilemaps(screen, cliprect); |
| 2645 | profiler_mark | |
| 2645 | profiler_mark | |
| 2646 | 2646 | |
| 2647 | 2647 | /* debugging */ |
| 2648 | 2648 | #if QWERTY_LAYER_ENABLE |
| r5490 | r5491 | |
| 2655 | 2655 | #endif |
| 2656 | 2656 | |
| 2657 | 2657 | /* do the mixing */ |
| 2658 | profiler_mark(PROFILER_USER3); | |
| 2658 | profiler_mark_start(PROFILER_USER3); | |
| 2659 | 2659 | mix_all_layers(((screen == left_screen) ? 0 : 1), 0, bitmap, cliprect, enablemask); |
| 2660 | profiler_mark | |
| 2660 | profiler_mark | |
| 2661 | 2661 | |
| 2662 | 2662 | if (PRINTF_MIXER_DATA) |
| 2663 | 2663 | { |
| r5490 | r5491 | |
|---|---|---|
| 210 | 210 | { |
| 211 | 211 | int offs; |
| 212 | 212 | |
| 213 | tilemap_set_flip | |
| 213 | tilemap_set_flip | |
| 214 | 214 | if (flipscreen) { |
| 215 | 215 | tilemap_set_scrollx( fix_tilemap,0,296); |
| 216 | 216 | tilemap_set_scrollx( pf1_tilemap,0,(*slapfight_scrollx_lo + 256 * *slapfight_scrollx_hi)+296 ); |
| r5490 | r5491 | |
|---|---|---|
| 433 | 433 | |
| 434 | 434 | if (!zoomx || !zoomy) return; |
| 435 | 435 | |
| 436 | profiler_mark(PROFILER_DRAWGFX); | |
| 436 | profiler_mark_start(PROFILER_DRAWGFX); | |
| 437 | 437 | |
| 438 | 438 | assert(dest_bmp->bpp == 32); |
| 439 | 439 | |
| r5490 | r5491 | |
| 953 | 953 | } |
| 954 | 954 | } |
| 955 | 955 | } |
| 956 | profiler_mark | |
| 956 | profiler_mark | |
| 957 | 957 | } |
| 958 | 958 | |
| 959 | 959 | #define SPRITE_PRI(n) (((psikyosh_vidregs[2] << (4*n)) & 0xf0000000 ) >> 28) |
| r5490 | r5491 | |
| 1112 | 1112 | |
| 1113 | 1113 | assert(bitmap->bpp == 32); |
| 1114 | 1114 | |
| 1115 | profiler_mark(PROFILER_USER1); | |
| 1115 | profiler_mark_start(PROFILER_USER1); | |
| 1116 | 1116 | for (y = cliprect->min_y; y <= cliprect->max_y; y += 1) { |
| 1117 | 1117 | |
| 1118 | 1118 | dstline = BITMAP_ADDR32(bitmap, y, 0); |
| r5490 | r5491 | |
| 1121 | 1121 | for (x = cliprect->min_x; x <= cliprect->max_x; x += 1) |
| 1122 | 1122 | dstline[x] = linefill[y]>>8; |
| 1123 | 1123 | } |
| 1124 | profiler_mark | |
| 1124 | profiler_mark | |
| 1125 | 1125 | } |
| 1126 | 1126 | |
| 1127 | 1127 | static void psikyosh_postlineblend( bitmap_t *bitmap, const rectangle *cliprect ) |
| r5490 | r5491 | |
| 1133 | 1133 | |
| 1134 | 1134 | assert(bitmap->bpp == 32); |
| 1135 | 1135 | |
| 1136 | profiler_mark(PROFILER_USER2); | |
| 1136 | profiler_mark_start(PROFILER_USER2); | |
| 1137 | 1137 | for (y = cliprect->min_y; y <= cliprect->max_y; y += 1) { |
| 1138 | 1138 | |
| 1139 | 1139 | dstline = BITMAP_ADDR32(bitmap, y, 0); |
| r5490 | r5491 | |
| 1149 | 1149 | dstline[x] = alpha_blend_r32(dstline[x], lineblend[y]>>8, 2*(lineblend[y]&0x7f)); |
| 1150 | 1150 | } |
| 1151 | 1151 | } |
| 1152 | profiler_mark | |
| 1152 | profiler_mark | |
| 1153 | 1153 | } |
| 1154 | 1154 | |
| 1155 | 1155 | VIDEO_UPDATE( psikyosh ) /* Note the z-buffer on each sprite to get correct priority */ |
| r5490 | r5491 | |
|---|---|---|
| 158 | 158 | if (flipscreen != flipscreen_old) |
| 159 | 159 | { |
| 160 | 160 | flipscreen_old = flipscreen; |
| 161 | tilemap_set_flip | |
| 161 | tilemap_set_flip | |
| 162 | 162 | } |
| 163 | 163 | } |
| 164 | 164 |
| r5490 | r5491 | |
|---|---|---|
| 363 | 363 | |
| 364 | 364 | VIDEO_UPDATE( firetrk ) |
| 365 | 365 | { |
| 366 | tilemap_mark_all_tiles_dirty | |
| 366 | tilemap_mark_all_tiles_dirty | |
| 367 | 367 | tilemap_set_scrollx(tilemap1, 0, *firetrk_scroll_x - 37); |
| 368 | 368 | tilemap_set_scrollx(tilemap2, 0, *firetrk_scroll_x - 37); |
| 369 | 369 | tilemap_set_scrolly(tilemap1, 0, *firetrk_scroll_y); |
| r5490 | r5491 | |
| 397 | 397 | |
| 398 | 398 | VIDEO_UPDATE( superbug ) |
| 399 | 399 | { |
| 400 | tilemap_mark_all_tiles_dirty | |
| 400 | tilemap_mark_all_tiles_dirty | |
| 401 | 401 | tilemap_set_scrollx(tilemap1, 0, *firetrk_scroll_x - 37); |
| 402 | 402 | tilemap_set_scrollx(tilemap2, 0, *firetrk_scroll_x - 37); |
| 403 | 403 | tilemap_set_scrolly(tilemap1, 0, *firetrk_scroll_y); |
| r5490 | r5491 | |
| 426 | 426 | |
| 427 | 427 | VIDEO_UPDATE( montecar ) |
| 428 | 428 | { |
| 429 | tilemap_mark_all_tiles_dirty | |
| 429 | tilemap_mark_all_tiles_dirty | |
| 430 | 430 | tilemap_set_scrollx(tilemap1, 0, *firetrk_scroll_x - 37); |
| 431 | 431 | tilemap_set_scrollx(tilemap2, 0, *firetrk_scroll_x - 37); |
| 432 | 432 | tilemap_set_scrolly(tilemap1, 0, *firetrk_scroll_y); |
| r5490 | r5491 | |
|---|---|---|
| 55 | 55 | if (flip_screen_get(space->machine) != (data & 0x01)) |
| 56 | 56 | { |
| 57 | 57 | flip_screen_set(space->machine, data & 0x01); |
| 58 | tilemap_mark_all_tiles_dirty | |
| 58 | tilemap_mark_all_tiles_dirty | |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | /* tile bank */ |
| r5490 | r5491 | |
| 63 | 63 | if ((control_byte ^ data) & 0x08) |
| 64 | 64 | { |
| 65 | 65 | control_byte = data; |
| 66 | tilemap_mark_all_tiles_dirty | |
| 66 | tilemap_mark_all_tiles_dirty | |
| 67 | 67 | } |
| 68 | 68 | } |
| 69 | 69 |
| r5490 | r5491 | |
|---|---|---|
| 97 | 97 | if (bank0 != ((data & 0x02) >> 1)) |
| 98 | 98 | { |
| 99 | 99 | bank0 = (data & 0x02) >> 1; |
| 100 | tilemap_mark_all_tiles_dirty | |
| 100 | tilemap_mark_all_tiles_dirty | |
| 101 | 101 | } |
| 102 | 102 | K051316_wraparound_enable(1,data & 0x04); |
| 103 | 103 | if (bank1 != ((data & 0x08) >> 3)) |
| 104 | 104 | { |
| 105 | 105 | bank1 = (data & 0x08) >> 3; |
| 106 | tilemap_mark_all_tiles_dirty | |
| 106 | tilemap_mark_all_tiles_dirty | |
| 107 | 107 | } |
| 108 | 108 | K051316_wraparound_enable(2,data & 0x10); |
| 109 | 109 | if (bank2 != ((data & 0x20) >> 5)) |
| 110 | 110 | { |
| 111 | 111 | bank2 = (data & 0x20) >> 5; |
| 112 | tilemap_mark_all_tiles_dirty | |
| 112 | tilemap_mark_all_tiles_dirty | |
| 113 | 113 | } |
| 114 | 114 | coin_counter_w(0, data & 0x40); |
| 115 | 115 | coin_counter_w(1, data & 0x80); |
| r5490 | r5491 | |
|---|---|---|
| 164 | 164 | if (flip_screen_get(space->machine) != (data & 0x01)) |
| 165 | 165 | { |
| 166 | 166 | flip_screen_set(space->machine, data & 0x01); |
| 167 | tilemap_mark_all_tiles_dirty | |
| 167 | tilemap_mark_all_tiles_dirty | |
| 168 | 168 | } |
| 169 | 169 | } |
| 170 | 170 | |
| r5490 | r5491 | |
| 253 | 253 | if (flip_screen_get(space->machine) != (data & 0x80)) |
| 254 | 254 | { |
| 255 | 255 | flip_screen_set(space->machine, data & 0x80); |
| 256 | tilemap_mark_all_tiles_dirty | |
| 256 | tilemap_mark_all_tiles_dirty | |
| 257 | 257 | } |
| 258 | 258 | |
| 259 | 259 | sraider_grid_color = data & 0x70; |
| r5490 | r5491 | |
|---|---|---|
| 443 | 443 | |
| 444 | 444 | WRITE8_HANDLER( combasc_pf_control_w ) |
| 445 | 445 | { |
| 446 | K007121_ctrl_w(combasc_video_circuit,offset,data); | |
| 446 | K007121_ctrl_w(space->machine,combasc_video_circuit,offset,data); | |
| 447 | 447 | |
| 448 | 448 | if (offset == 7) |
| 449 | 449 | tilemap_set_flip(bg_tilemap[combasc_video_circuit],(data & 0x08) ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0); |
| r5490 | r5491 | |
|---|---|---|
| 61 | 61 | if (gfx_bank != ((data & 0x04) >> 2)) |
| 62 | 62 | { |
| 63 | 63 | gfx_bank = ((data & 0x04) >> 2); |
| 64 | tilemap_mark_all_tiles_dirty | |
| 64 | tilemap_mark_all_tiles_dirty | |
| 65 | 65 | } |
| 66 | 66 | } |
| 67 | 67 |
| r5490 | r5491 | |
|---|---|---|
| 81 | 81 | /* bits 0-1: sprite bank select */ |
| 82 | 82 | |
| 83 | 83 | if ((data & 0x0c) != (rockrage_vreg & 0x0c)) |
| 84 | tilemap_mark_all_tiles_dirty | |
| 84 | tilemap_mark_all_tiles_dirty | |
| 85 | 85 | |
| 86 | 86 | rockrage_vreg = data; |
| 87 | 87 | } |
| r5490 | r5491 | |
|---|---|---|
| 726 | 726 | int *ppu_regs = &this_ppu->regs[0]; |
| 727 | 727 | |
| 728 | 728 | /* lets see how long it takes */ |
| 729 | profiler_mark(PROFILER_USER1); | |
| 729 | profiler_mark_start(PROFILER_USER1); | |
| 730 | 730 | |
| 731 | 731 | /* clear the line priority for this scanline */ |
| 732 | 732 | memset(line_priority, 0, VISIBLE_SCREEN_WIDTH); |
| r5490 | r5491 | |
| 760 | 760 | draw_sprites(device, line_priority); |
| 761 | 761 | |
| 762 | 762 | /* done updating, whew */ |
| 763 | profiler_mark | |
| 763 | profiler_mark | |
| 764 | 764 | } |
| 765 | 765 | |
| 766 | 766 | static void update_scanline( const device_config *device ) |
| r5490 | r5491 | |
| 1018 | 1018 | if (this_ppu->regs[PPU_CONTROL1] & PPU_CONTROL1_DISPLAY_MONO) |
| 1019 | 1019 | return (this_ppu->palette_ram[offset & 0x1f] & 0x30); |
| 1020 | 1020 | |
| 1021 | else | |
| 1021 | else | |
| 1022 | 1022 | return (this_ppu->palette_ram[offset & 0x1f] & 0x3f); |
| 1023 | 1023 | } |
| 1024 | 1024 | } |
| r5490 | r5491 | |
|---|---|---|
| 166 | 166 | int offs; |
| 167 | 167 | const UINT8 *gfx; |
| 168 | 168 | |
| 169 | profiler_mark(PROFILER_USER1); | |
| 169 | profiler_mark_start(PROFILER_USER1); | |
| 170 | 170 | |
| 171 | 171 | gfx = memory_region(machine, "gfx2"); |
| 172 | 172 | for (offs = 0;offs < spriteram_size;offs += 4) |
| r5490 | r5491 | |
| 230 | 230 | } |
| 231 | 231 | } |
| 232 | 232 | |
| 233 | profiler_mark | |
| 233 | profiler_mark | |
| 234 | 234 | } |
| 235 | 235 | |
| 236 | 236 |
| r5490 | r5491 | |
|---|---|---|
| 74 | 74 | if (gfxbank[banksel] != ((data & 0x0f00) >> 8)) |
| 75 | 75 | { |
| 76 | 76 | gfxbank[banksel] = (data & 0x0f00) >> 8; |
| 77 | tilemap_mark_all_tiles_dirty | |
| 77 | tilemap_mark_all_tiles_dirty | |
| 78 | 78 | } |
| 79 | 79 | } |
| 80 | 80 | } |
| r5490 | r5491 | |
|---|---|---|
| 136 | 136 | WRITE8_HANDLER( pandoras_flipscreen_w ) |
| 137 | 137 | { |
| 138 | 138 | flipscreen = data; |
| 139 | tilemap_set_flip | |
| 139 | tilemap_set_flip | |
| 140 | 140 | } |
| 141 | 141 | |
| 142 | 142 | /*************************************************************************** |
| r5490 | r5491 | |
|---|---|---|
| 67 | 67 | if (flip_screen_x_get(space->machine) != (data & 0x02)) |
| 68 | 68 | { |
| 69 | 69 | flip_screen_x_set(space->machine, data & 0x02); |
| 70 | tilemap_mark_all_tiles_dirty | |
| 70 | tilemap_mark_all_tiles_dirty | |
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | /* bit 2 controls horizonal flip screen */ |
| 74 | 74 | if (flip_screen_y_get(space->machine) != (data & 0x04)) |
| 75 | 75 | { |
| 76 | 76 | flip_screen_y_set(space->machine, data & 0x04); |
| 77 | tilemap_mark_all_tiles_dirty | |
| 77 | tilemap_mark_all_tiles_dirty | |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | /* in Q*Bert Qubes only, bit 4 controls the sprite bank */ |
| r5490 | r5491 | |
|---|---|---|
| 588 | 588 | if (reikaids_gfx_bank[reikaids_which] != data) |
| 589 | 589 | { |
| 590 | 590 | reikaids_gfx_bank[reikaids_which] = data; |
| 591 | tilemap_mark_all_tiles_dirty( | |
| 591 | tilemap_mark_all_tiles_dirty_all( space->machine ); | |
| 592 | 592 | } |
| 593 | 593 | |
| 594 | 594 | reikaids_which ^= 1; |
| r5490 | r5491 | |
| 600 | 600 | if (pteacher_gfx_bank != data) |
| 601 | 601 | { |
| 602 | 602 | pteacher_gfx_bank = data; |
| 603 | tilemap_mark_all_tiles_dirty( | |
| 603 | tilemap_mark_all_tiles_dirty_all( space->machine ); | |
| 604 | 604 | } |
| 605 | 605 | } |
| 606 | 606 | |
| r5490 | r5491 | |
| 620 | 620 | */ |
| 621 | 621 | |
| 622 | 622 | if ((blitter_bank ^ data) & 0x3b) |
| 623 | tilemap_mark_all_tiles_dirty( | |
| 623 | tilemap_mark_all_tiles_dirty_all( space->machine); | |
| 624 | 624 | |
| 625 | 625 | blitter_bank = data; |
| 626 | 626 | } |
| r5490 | r5491 | |
| 643 | 643 | */ |
| 644 | 644 | |
| 645 | 645 | if ((blitter_bank ^ data) & 0x03) |
| 646 | tilemap_mark_all_tiles_dirty( | |
| 646 | tilemap_mark_all_tiles_dirty_all( space->machine); | |
| 647 | 647 | |
| 648 | 648 | blitter_bank = data; |
| 649 | 649 | } |
| r5490 | r5491 | |
| 689 | 689 | if (flags != homedata_flipscreen) |
| 690 | 690 | { |
| 691 | 691 | homedata_flipscreen = flags; |
| 692 | tilemap_mark_all_tiles_dirty( | |
| 692 | tilemap_mark_all_tiles_dirty_all( screen->machine ); | |
| 693 | 693 | } |
| 694 | 694 | |
| 695 | 695 | switch (homedata_vreg[0x3]) |
| r5490 | r5491 | |
| 739 | 739 | if (flags != homedata_flipscreen) |
| 740 | 740 | { |
| 741 | 741 | homedata_flipscreen = flags; |
| 742 | tilemap_mark_all_tiles_dirty( | |
| 742 | tilemap_mark_all_tiles_dirty_all( screen->machine ); | |
| 743 | 743 | } |
| 744 | 744 | |
| 745 | 745 | |
| r5490 | r5491 | |
| 785 | 785 | if (flags != homedata_flipscreen) |
| 786 | 786 | { |
| 787 | 787 | homedata_flipscreen = flags; |
| 788 | tilemap_mark_all_tiles_dirty( | |
| 788 | tilemap_mark_all_tiles_dirty_all( screen->machine ); | |
| 789 | 789 | } |
| 790 | 790 | |
| 791 | 791 | |
| r5490 | r5491 | |
| 814 | 814 | if (flags != homedata_flipscreen) |
| 815 | 815 | { |
| 816 | 816 | homedata_flipscreen = flags; |
| 817 | tilemap_mark_all_tiles_dirty( | |
| 817 | tilemap_mark_all_tiles_dirty_all( screen->machine ); | |
| 818 | 818 | } |
| 819 | 819 | |
| 820 | 820 | /* bit 2 of blitter_bank stretches characters horizontally by 3/2, |
| r5490 | r5491 | |
|---|---|---|
| 138 | 138 | |
| 139 | 139 | VIDEO_UPDATE( xxmissio ) |
| 140 | 140 | { |
| 141 | tilemap_mark_all_tiles_dirty(ALL_TILEMAPS); | |
| 142 | tilemap_set_flip(ALL_TILEMAPS, flipscreen ? TILEMAP_FLIPX | TILEMAP_FLIPY : 0); | |
| 141 | tilemap_mark_all_tiles_dirty_all(screen->machine); | |
| 142 | tilemap_set_flip_all(screen->machine, flipscreen ? TILEMAP_FLIPX | TILEMAP_FLIPY : 0); | |
| 143 | 143 | |
| 144 | 144 | tilemap_set_scrollx(bg_tilemap, 0, xscroll * 2); |
| 145 | 145 | tilemap_set_scrolly(bg_tilemap, 0, yscroll); |
| r5490 | r5491 | |
|---|---|---|
| 41 | 41 | if (flip_screen_get(space->machine) != (data & 0x80)) |
| 42 | 42 | { |
| 43 | 43 | flip_screen_set(space->machine, data & 0x80); |
| 44 | tilemap_mark_all_tiles_dirty | |
| 44 | tilemap_mark_all_tiles_dirty | |
| 45 | 45 | } |
| 46 | 46 | } |
| 47 | 47 |
| r5490 | r5491 | |
|---|---|---|
| 34 | 34 | if (flip_screen_get(space->machine) != (data & 0x01)) |
| 35 | 35 | { |
| 36 | 36 | flip_screen_set(space->machine, data & 0x01); |
| 37 | tilemap_mark_all_tiles_dirty | |
| 37 | tilemap_mark_all_tiles_dirty | |
| 38 | 38 | } |
| 39 | 39 | } |
| 40 | 40 |
| r5490 | r5491 | |
|---|---|---|
| 147 | 147 | |
| 148 | 148 | /* bit 4 flip screen */ |
| 149 | 149 | flipscreen = data & 0x10; |
| 150 | tilemap_set_flip | |
| 150 | tilemap_set_flip | |
| 151 | 151 | |
| 152 | 152 | /* bit 5 display enable - handled in vh_screenrefresh() */ |
| 153 | 153 | } |
| r5490 | r5491 | |
|---|---|---|
| 158 | 158 | { |
| 159 | 159 | if (cliprect->min_y == video_screen_get_visible_area(screen)->min_y) |
| 160 | 160 | { |
| 161 | tilemap_mark_all_tiles_dirty(ALL_TILEMAPS); | |
| 162 | tilemap_set_flip(ALL_TILEMAPS, (*gyruss_flipscreen & 0x01) ? (TILEMAP_FLIPX | TILEMAP_FLIPY) : 0); | |
| 161 | tilemap_mark_all_tiles_dirty_all(screen->machine); | |
| 162 | tilemap_set_flip_all(screen->machine, (*gyruss_flipscreen & 0x01) ? (TILEMAP_FLIPX | TILEMAP_FLIPY) : 0); | |
| 163 | 163 | } |
| 164 | 164 | |
| 165 | 165 | tilemap_draw(bitmap, cliprect, gyruss_tilemap, TILEMAP_DRAW_OPAQUE, 0); |
| r5490 | r5491 | |
|---|---|---|
| 116 | 116 | int offs; |
| 117 | 117 | |
| 118 | 118 | |
| 119 | profiler_mark(PROFILER_VIDEO); | |
| 119 | profiler_mark_start(PROFILER_VIDEO); | |
| 120 | 120 | |
| 121 | 121 | for (offs = gfxlist_addr << 3;offs < shangha3_ram_size/2;offs += 16) |
| 122 | 122 | { |
| r5490 | r5491 | |
| 259 | 259 | } |
| 260 | 260 | } |
| 261 | 261 | |
| 262 | profiler_mark | |
| 262 | profiler_mark | |
| 263 | 263 | } |
| 264 | 264 | |
| 265 | 265 |
| r5490 | r5491 | |
|---|---|---|
| 3230 | 3230 | UINT32 sy_fix[5],sx_fix[5]; |
| 3231 | 3231 | |
| 3232 | 3232 | f3_skip_this_frame=0; |
| 3233 | tilemap_set_flip | |
| 3233 | tilemap_set_flip | |
| 3234 | 3234 | |
| 3235 | 3235 | /* Setup scroll */ |
| 3236 | 3236 | sy_fix[0]=((f3_control_0[2]&0xffff0000)>> 7) + (1<<16); |
| r5490 | r5491 | |
|---|---|---|
| 313 | 313 | /* flip screen is embedded in the sprite control registers */ |
| 314 | 314 | /* can't use flip_screen_set(screen->machine, ) because the visible area is asymmetrical */ |
| 315 | 315 | flip_screen_set_no_update(screen->machine, spriteram[0x07f6] & 0x01); |
| 316 | tilemap_set_flip | |
| 316 | tilemap_set_flip | |
| 317 | 317 | set_scroll(screen->machine, 0); |
| 318 | 318 | set_scroll(screen->machine, 1); |
| 319 | 319 |
| r5490 | r5491 | |
|---|---|---|
| 5 | 5 | TODO: |
| 6 | 6 | |
| 7 | 7 | - convert background to tilemap |
| 8 | - clean up sprite drawing | |
| 9 | - sprite-background priorities | |
| 10 | - sprite lag in devilw | |
| 11 | - sprite Y axis lag in vulcan | |
| 12 | - add shadow sprites (alpha blending) to sprites in at least devilw | |
| 8 | - clean up sprite system | |
| 9 | - bad sprites in devilw, eg. odd colours for the mud/lava monster in the 1st level, | |
| 10 | or wrong sprite-sprite priority sometimes -- check real arcade first | |
| 11 | - unsure about some sprite preprocessor attributes (see twin16_spriteram_process) | |
| 13 | 12 | |
| 14 | 13 | */ |
| 15 | 14 | |
| 16 | 15 | #include "driver.h" |
| 17 | 16 | #include "includes/twin16.h" |
| 18 | 17 | |
| 18 | static UINT16 twin16_sprite_buffer[0x800]; | |
| 19 | static TIMER_CALLBACK( twin16_sprite_tick ); | |
| 20 | static emu_timer *twin16_sprite_timer; | |
| 21 | static int twin16_sprite_busy; | |
| 22 | ||
| 19 | 23 | static int need_process_spriteram; |
| 20 | 24 | static UINT16 gfx_bank; |
| 21 | 25 | static UINT16 scrollx[3], scrolly[3]; |
| r5490 | r5491 | |
| 23 | 27 | |
| 24 | 28 | enum |
| 25 | 29 | { |
| 26 | TWIN16_SCREEN_FLIPY = 0x01, /* ? breaks devils world text layer */ | |
| 27 | TWIN16_SCREEN_FLIPX = 0x02, /* confirmed: Hard Puncher Intro */ | |
| 28 | TWIN16_UNKNOWN1 = 0x04, /* ?Hard Puncher uses this */ | |
| 29 | TWIN16_PLANE_ORDER = 0x08, /* confirmed: Devil Worlds */ | |
| 30 | TWIN16_TILE_FLIPY = 0x20 /* confirmed? Vulcan Venture */ | |
| 30 | TWIN16_SCREEN_FLIPY = 0x01, | |
| 31 | TWIN16_SCREEN_FLIPX = 0x02, // confirmed: Hard Puncher Intro | |
| 32 | TWIN16_UNKNOWN1 = 0x04, // ? Hard Puncher uses this | |
| 33 | TWIN16_PLANE_ORDER = 0x08, // confirmed: Devil Worlds | |
| 34 | TWIN16_TILE_FLIPX = 0x10, // unused? | |
| 35 | TWIN16_TILE_FLIPY = 0x20 // confirmed? Vulcan Venture | |
| 31 | 36 | }; |
| 32 | 37 | |
| 33 | static tilemap *fg_tilemap; | |
| 38 | enum | |
| 39 | { | |
| 40 | // user-defined priorities | |
| 41 | TWIN16_BG_LAYER1 = 0x01, | |
| 42 | TWIN16_SPRITE_PRI_L1 = 0x02, | |
| 43 | TWIN16_BG_LAYER2 = 0x04, | |
| 44 | TWIN16_SPRITE_PRI_L2 = 0x08, | |
| 45 | TWIN16_SPRITE_OCCUPIED = 0x10, // sprite on screen pixel | |
| 46 | TWIN16_SPRITE_CAST_SHADOW = 0x20 | |
| 47 | }; | |
| 34 | 48 | |
| 35 | WRITE16_HANDLER( twin16_videoram2_w ) | |
| 49 | static tilemap *text_tilemap; | |
| 50 | ||
| 51 | WRITE16_HANDLER( twin16_text_ram_w ) | |
| 36 | 52 | { |
| 37 | COMBINE_DATA(&twin16_videoram2[offset]); | |
| 38 | tilemap_mark_tile_dirty(fg_tilemap, offset); | |
| 53 | COMBINE_DATA(&twin16_text_ram[offset]); | |
| 54 | tilemap_mark_tile_dirty(text_tilemap, offset); | |
| 39 | 55 | } |
| 40 | 56 | |
| 41 | 57 | WRITE16_HANDLER( twin16_paletteram_word_w ) |
| r5490 | r5491 | |
| 60 | 76 | COMBINE_DATA( &video_register ); |
| 61 | 77 | |
| 62 | 78 | flip_screen_x_set(space->machine, video_register & TWIN16_SCREEN_FLIPX); |
| 79 | flip_screen_y_set(space->machine, video_register & TWIN16_SCREEN_FLIPY); | |
| 63 | 80 | |
| 64 | if (twin16_custom_video) | |
| 65 | flip_screen_y_set(space->machine, video_register & TWIN16_SCREEN_FLIPY); | |
| 66 | else | |
| 67 | flip_screen_y_set(space->machine, ~video_register & TWIN16_SCREEN_FLIPY); | |
| 68 | ||
| 69 | 81 | break; |
| 70 | 82 | |
| 71 | 83 | case 1: COMBINE_DATA( &scrollx[0] ); break; |
| r5490 | r5491 | |
| 81 | 93 | } |
| 82 | 94 | } |
| 83 | 95 | |
| 84 | /* slow slow slow, but it's ok for now */ | |
| 85 | static 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 ) | |
| 96 | /* | |
| 97 | * Sprite Format | |
| 98 | * ---------------------------------- | |
| 99 | * preprocessor (not much data to test with): | |
| 100 | * Word | Bit(s) | Use | |
| 101 | * -----+-fedcba9876543210-+---------------- | |
| 102 | * 0 | x--------------- | enable | |
| 103 | * 0 | -xxxxxxx-------- | ? | |
| 104 | * 0 | --------xxxxxxxx | sprite-sprite priority | |
| 105 | * -----+------------------+ | |
| 106 | * 1 | xxxxxxxxxxxxxxxx | ? | |
| 107 | * -----+------------------+ | |
| 108 | * 2 | xxxxxx---------- | ? | |
| 109 | * 2 | ------x--------- | yflip (devilw) | |
| 110 | * 2 | -------x-------- | xflip | |
| 111 | * 2 | --------xx------ | height | |
| 112 | * 2 | ----------xx---- | width | |
| 113 | * 2 | ------------xxxx | color | |
| 114 | * -----+------------------+ | |
| 115 | * 3 | -xxxxxxxxxxxxxxx | code | |
| 116 | * -----+------------------+ | |
| 117 | * 4 | -------xxxxxxxxx | xpos high, other bits probably no effect | |
| 118 | * 5 | xxxxxxxx-------- | xpos low, other bits probably no effect | |
| 119 | * 6 | -------xxxxxxxxx | xpos high, other bits probably no effect | |
| 120 | * 7 | xxxxxxxx-------- | ypos low, other bits probably no effect | |
| 121 | * | |
| 122 | * ---------------------------------- | |
| 123 | * normal/after preprocessing: | |
| 124 | * Word | Bit(s) | Use | |
| 125 | * -----+-fedcba9876543210-+---------------- | |
| 126 | * 0 | -xxxxxxxxxxxxxxx | code | |
| 127 | * -----+------------------+ | |
| 128 | * 1 | -------xxxxxxxxx | ypos | |
| 129 | * -----+------------------+ | |
| 130 | * 2 | -------xxxxxxxxx | xpos | |
| 131 | * -----+------------------+ | |
| 132 | * 3 | x--------------- | enable | |
| 133 | * 3 | -x-------------- | priority ? | |
| 134 | * 3 | -----x---------- | no shadow ? | |
| 135 | * 3 | ------x--------- | yflip ? | |
| 136 | * 3 | -------x-------- | xflip | |
| 137 | * 3 | --------xx------ | height | |
| 138 | * 3 | ----------xx---- | width | |
| 139 | * 3 | ------------xxxx | color | |
| 140 | */ | |
| 141 | ||
| 142 | READ16_HANDLER( twin16_sprite_status_r ) | |
| 86 | 143 | { |
| 87 | int x,y,pval; | |
| 88 | if( xpos>=320 ) xpos -= 65536; | |
| 89 | if( ypos>=256 ) ypos -= 65536; | |
| 144 | // bit 0: busy, other bits: dunno | |
| 145 | return twin16_sprite_busy; | |
| 146 | } | |
| 90 | 147 | |
| 91 | if (pri) pval=2; else pval=8; | |
| 148 | static TIMER_CALLBACK( twin16_sprite_tick ) | |
| 149 | { | |
| 150 | twin16_sprite_busy = 0; | |
| 151 | } | |
| 92 | 152 | |
| 93 | for( y=0; y<height; y++ ) | |
| 94 | { | |
| 95 | int sy = (flipy)?(ypos+height-1-y):(ypos+y); | |
| 96 | if( sy>=16 && sy<256-16 ) | |
| 97 | { | |
| 98 | UINT16 *dest = BITMAP_ADDR16(bitmap, sy, 0); | |
| 99 | UINT8 *pdest = BITMAP_ADDR8(machine->priority_bitmap, sy, 0); | |
| 153 | static int twin16_set_sprite_timer( running_machine *machine ) | |
| 154 | { | |
| 155 | if (twin16_sprite_busy) return 1; | |
| 100 | 156 | |
| 101 | for( x=0; x<width; x++ ) | |
| 102 | { | |
| 103 | int sx = (flipx)?(xpos+width-1-x):(xpos+x); | |
| 104 | if( sx>=0 && sx<320 ) | |
| 105 | { | |
| 106 | UINT16 pen = pen_data[x/4]; | |
| 107 | switch( x%4 ) | |
| 108 | { | |
| 109 | case 0: pen = pen>>12; break; | |
| 110 | case 1: pen = (pen>>8)&0xf; break; | |
| 111 | case 2: pen = (pen>>4)&0xf; break; | |
| 112 | case 3: pen = pen&0xf; break; | |
| 113 | } | |
| 157 | // sprite system busy, maybe a dma? time is guessed, assume 4 scanlines | |
| 158 | twin16_sprite_busy = 1; | |
| 159 | timer_adjust_oneshot(twin16_sprite_timer, attotime_make(0,(((screen_config *)(machine->primary_screen)->inline_config)->refresh) / video_screen_get_height(machine->primary_screen) * 4), 0); | |
| 114 | 160 | |
| 115 | if( pen ) | |
| 116 | { | |
| 117 | if(pdest[sx]<pval) | |
| 118 | { | |
| 119 | dest[sx] = pal_base + pen; | |
| 120 | } | |
| 121 | pdest[sx]|=0x10; | |
| 122 | } | |
| 123 | } | |
| 124 | } | |
| 125 | } | |
| 126 | pen_data += width/4; | |
| 127 | } | |
| 161 | return 0; | |
| 128 | 162 | } |
| 129 | 163 | |
| 130 | void twin16_spriteram_process( | |
| 164 | void twin16_spriteram_process( running_machine *machine ) | |
| 131 | 165 | { |
| 132 | 166 | UINT16 dx = scrollx[0]; |
| 133 | 167 | UINT16 dy = scrolly[0]; |
| r5490 | r5491 | |
| 135 | 169 | const UINT16 *source = &spriteram16[0x0000]; |
| 136 | 170 | const UINT16 *finish = &spriteram16[0x1800]; |
| 137 | 171 | |
| 138 | memset( &spriteram16[0x1800], 0, 0x800 ); | |
| 172 | twin16_set_sprite_timer(machine); | |
| 173 | memset(&spriteram16[0x1800],0xff,0x800*sizeof(UINT16)); | |
| 174 | ||
| 139 | 175 | while( source<finish ) |
| 140 | 176 | { |
| 141 | 177 | UINT16 priority = source[0]; |
| 142 | 178 | if( priority & 0x8000 ) |
| 143 | 179 | { |
| 144 | UINT16 *dest = &spriteram16[0x1800 | |
| 180 | UINT16 *dest = &spriteram16[0x1800| | |
| 145 | 181 | |
| 146 | INT32 xpos = (0x10000*source[4])|source[5]; | |
| 147 | INT32 ypos = (0x10000*source[6])|source[7]; | |
| 182 | UINT32 xpos = (0x10000*source[4])|source[5]; | |
| 183 | UINT32 ypos = (0x10000*source[6])|source[7]; | |
| 148 | 184 | |
| 149 | UINT16 attributes = source[2]&0x03ff; /* scale,size,color */ | |
| 150 | if( priority & 0x0200 ) attributes |= 0x4000; | |
| 151 | /* Todo: priority & 0x0100 is also used */ | |
| 152 | attributes |= 0x8000; | |
| 185 | /* notes on uncertain attributes: | |
| 186 | shadows: pen $F only (like other Konami hw), used in devilw, fround, | |
| 187 | miaj? (shadows are solid in tmnt hw version), | |
| 188 | gradius2? (ship exhaust) | |
| 153 | 189 | |
| 190 | sprite-background priority: in devilw, most sprites look best at high priority, | |
| 191 | in gradius2, most sprites look best at low priority. exceptions: | |
| 192 | - devilw prologue: sprites behind crowd (maybe more, haven't completed the game) | |
| 193 | - gradius2 intro showing earlier games: sprites above layers | |
| 194 | ||
| 195 | currently using (priority&0x200), broken: | |
| 196 | - devilw prologue: sprites should be behind crowd | |
| 197 | - gradius2 level 7: bosses should be behind portal (ok except brain boss and mouth boss) | |
| 198 | - gradius2 ending: sun should be behind planet | |
| 199 | ||
| 200 | does TWIN16_PLANE_ORDER affect it? | |
| 201 | ||
| 202 | more? | |
| 203 | devilw monster dens exploding monochrome, players fading to white in prologue, and trees in | |
| 204 | the 1st level shrinking with a solid green color look odd, maybe alpha blended? | |
| 205 | ||
| 206 | fround, hpuncher, miaj, cuebrickj, don't use the preprocessor. all sprites are expected | |
| 207 | to be high priority, and shadows are enabled | |
| 208 | */ | |
| 209 | UINT16 attributes = 0x8000| // enabled | |
| 210 | (source[2]&0x03ff)| // scale,size,color | |
| 211 | (source[2]&0x4000)>>4| // no-shadow? (gradius2 level 7 boss sets this bit and appears to expect pen $F to be solid) | |
| 212 | (priority&0x200)<<5; // sprite-background priority? | |
| 213 | ||
| 154 | 214 | dest[0] = source[3]; /* gfx data */ |
| 155 | 215 | dest[1] = ((xpos>>8) - dx)&0xffff; |
| 156 | 216 | dest[2] = ((ypos>>8) - dy)&0xffff; |
| r5490 | r5491 | |
| 161 | 221 | need_process_spriteram = 0; |
| 162 | 222 | } |
| 163 | 223 | |
| 164 | /* | |
| 165 | * Sprite Format | |
| 166 | * ---------------------------------- | |
| 167 | * | |
| 168 | * Word | Bit(s) | Use | |
| 169 | * -----+-fedcba9876543210-+---------------- | |
| 170 | * 0 | --xxxxxxxxxxxxxx | code | |
| 171 | * -----+------------------+ | |
| 172 | * 1 | -------xxxxxxxxx | ypos | |
| 173 | * -----+------------------+ | |
| 174 | * 2 | -------xxxxxxxxx | xpos | |
| 175 | * -----+------------------+ | |
| 176 | * 3 | x--------------- | enble | |
| 177 | * 3 | -x-------------- | priority? | |
| 178 | * 3 | ------x--------- | yflip? | |
| 179 | * 3 | -------x-------- | xflip | |
| 180 | * 3 | --------xx------ | height | |
| 181 | * 3 | ----------xx---- | width | |
| 182 | * 3 | ------------xxxx | color | |
| 183 | ||
| 184 | shadow bit? | |
| 185 | ||
| 186 | */ | |
| 187 | ||
| 188 | 224 | static void draw_sprites( running_machine *machine, bitmap_t *bitmap ) |
| 189 | 225 | { |
| 190 | int count = 0; | |
| 191 | ||
| 192 | 226 | const UINT16 *source = 0x1800+buffered_spriteram16 + 0x800 - 4; |
| 193 | 227 | const UINT16 *finish = 0x1800+buffered_spriteram16; |
| 194 | 228 | |
| r5490 | r5491 | |
| 201 | 235 | { |
| 202 | 236 | int xpos = source[1]; |
| 203 | 237 | int ypos = source[2]; |
| 238 | int x,y; | |
| 204 | 239 | |
| 205 | 240 | int pal_base = ((attributes&0xf)+0x10)*16; |
| 206 | 241 | int height = 16<<((attributes>>6)&0x3); |
| r5490 | r5491 | |
| 208 | 243 | const UINT16 *pen_data = 0; |
| 209 | 244 | int flipy = attributes&0x0200; |
| 210 | 245 | int flipx = attributes&0x0100; |
| 246 | int priority = (attributes&0x4000)?TWIN16_SPRITE_PRI_L1:TWIN16_SPRITE_PRI_L2; | |
| 211 | 247 | |
| 212 | if( twin16_custom_video == 1 ) | |
| 213 | { | |
| 248 | if( twin16_custom_video ) { | |
| 249 | /* fround board */ | |
| 214 | 250 | pen_data = twin16_gfx_rom + 0x80000; |
| 215 | 251 | } |
| 216 | 252 | else |
| 217 | 253 | { |
| 218 | 254 | switch( (code>>12)&0x3 ) |
| 219 | { /* bank select */ | |
| 255 | { | |
| 256 | /* bank select */ | |
| 220 | 257 | case 0: |
| 221 | pen_data = twin16_gfx_rom; | |
| 222 | break; | |
| 258 | pen_data = twin16_gfx_rom; | |
| 259 | break; | |
| 223 | 260 | |
| 224 | 261 | case 1: |
| 225 | pen_data = twin16_gfx_rom + 0x40000; | |
| 226 | break; | |
| 262 | pen_data = twin16_gfx_rom + 0x40000; | |
| 263 | break; | |
| 227 | 264 | |
| 228 | 265 | case 2: |
| 229 | pen_data = twin16_gfx_rom + 0x80000; | |
| 230 | if( code&0x4000 ) pen_data += 0x40000; | |
| 231 | break; | |
| 266 | pen_data = twin16_gfx_rom + 0x80000; | |
| 267 | if( code&0x4000 ) pen_data += 0x40000; | |
| 268 | break; | |
| 232 | 269 | |
| 233 | 270 | case 3: |
| 234 | pen_data = twin16_sprite_gfx_ram; | |
| 235 | break; | |
| 271 | pen_data = twin16_sprite_gfx_ram; | |
| 272 | break; | |
| 236 | 273 | } |
| 237 | 274 | code &= 0xfff; |
| 238 | 275 | } |
| 239 | 276 | |
| 240 | 277 | /* some code masking */ |
| 241 | if(height == 64 && width == 64) | |
| 242 | { | |
| 243 | code &= ~8; // fixes bad sprites in vulcan ending sequence | |
| 244 | } | |
| 245 | else if(height == 32 && width == 32) | |
| 246 | { | |
| 247 | code &= ~3; // fixes bad sprites in devilw | |
| 248 | } | |
| 249 | else if(height == 32 && width == 16) | |
| 250 | { | |
| 251 | code &= ~1; // fixes bad sprites in devilw | |
| 252 | } | |
| 253 | else if(height == 16 && width == 32) | |
| 254 | { | |
| 255 | code &= ~1; // fixes bad sprites in devilw | |
| 256 | } | |
| 278 | if ((height&width) == 64) code &= ~8; // gradius2 ending sequence 64*64 | |
| 279 | else if ((height&width) == 32) code &= ~3; // devilw 32*32 | |
| 280 | else if ((height|width) == 48) code &= ~1; // devilw 32*16 / 16*32 | |
| 257 | 281 | |
| 258 | 282 | pen_data += code*0x40; |
| 259 | 283 | |
| r5490 | r5491 | |
| 269 | 293 | xpos = 320-xpos-width; |
| 270 | 294 | flipx = !flipx; |
| 271 | 295 | } |
| 296 | if( xpos>=320 ) xpos -= 65536; | |
| 297 | if( ypos>=256 ) ypos -= 65536; | |
| 272 | 298 | |
| 273 | //if( sprite_which==count || !input_code_pressed( KEYCODE_B ) ) | |
| 274 | draw_sprite( machine, bitmap, pen_data, pal_base, xpos, ypos, width, height, flipx, flipy, (attributes&0x4000) ); | |
| 299 | /* slow slow slow, but it's ok for now */ | |
| 300 | for( y=0; y<height; y++, pen_data += width/4 ) | |
| 301 | { | |
| 302 | int sy = (flipy)?(ypos+height-1-y):(ypos+y); | |
| 303 | if( sy>=16 && sy<256-16 ) | |
| 304 | { | |
| 305 | UINT16 *dest = BITMAP_ADDR16(bitmap, sy, 0); | |
| 306 | UINT8 *pdest = BITMAP_ADDR8(machine->priority_bitmap, sy, 0); | |
| 307 | ||
| 308 | for( x=0; x<width; x++ ) | |
| 309 | { | |
| 310 | int sx = (flipx)?(xpos+width-1-x):(xpos+x); | |
| 311 | if( sx>=0 && sx<320 ) | |
| 312 | { | |
| 313 | UINT16 pen = pen_data[x>>2]>>((~x&3)<<2)&0xf; | |
| 314 | ||
| 315 | if( pen ) | |
| 316 | { | |
| 317 | int shadow = (pen==0xf) & ((attributes&0x400)==0); | |
| 318 | ||
| 319 | if (pdest[sx]<priority) { | |
| 320 | if (shadow) { | |
| 321 | dest[sx] = machine->shadow_table[dest[sx]]; | |
| 322 | pdest[sx]|=TWIN16_SPRITE_CAST_SHADOW; | |
| 323 | } | |
| 324 | else { | |
| 325 | dest[sx] = pal_base + pen; | |
| 326 | } | |
| 327 | } | |
| 328 | else if (!shadow && pdest[sx]&TWIN16_SPRITE_CAST_SHADOW && (pdest[sx]&0xf)<priority) { | |
| 329 | // shadow cast onto sprite below, evident in devilw lava level | |
| 330 | dest[sx] = machine->shadow_table[pal_base + pen]; | |
| 331 | pdest[sx]^=TWIN16_SPRITE_CAST_SHADOW; | |
| 332 | } | |
| 333 | ||
| 334 | pdest[sx]|=TWIN16_SPRITE_OCCUPIED; | |
| 335 | } | |
| 336 | } | |
| 337 | } | |
| 338 | } | |
| 339 | } | |
| 275 | 340 | } |
| 276 | ||
| 277 | count++; | |
| 278 | 341 | } |
| 279 | 342 | } |
| 280 | 343 | |
| 344 | ||
| 345 | ||
| 281 | 346 | static void draw_layer( running_machine *machine, bitmap_t *bitmap, int opaque ) |
| 282 | 347 | { |
| 283 | 348 | const UINT16 *gfx_base; |
| r5490 | r5491 | |
| 285 | 350 | int i, xxor, yxor; |
| 286 | 351 | int bank_table[4]; |
| 287 | 352 | int dx, dy, palette; |
| 288 | int tile_flipx = | |
| 353 | int tile_flipx = | |
| 289 | 354 | int tile_flipy = video_register&TWIN16_TILE_FLIPY; |
| 290 | 355 | |
| 291 | if( ((video_register&TWIN16_PLANE_ORDER)?1:0) != opaque ) | |
| 292 | { | |
| 356 | if( ((video_register&TWIN16_PLANE_ORDER)?1:0) != opaque ) { | |
| 293 | 357 | source += 0x1000; |
| 294 | 358 | dx = scrollx[2]; |
| 295 | 359 | dy = scrolly[2]; |
| 296 | 360 | palette = 1; |
| 297 | 361 | } |
| 298 | else | |
| 299 | { | |
| 362 | else { | |
| 300 | 363 | source += 0x0000; |
| 301 | 364 | dx = scrollx[1]; |
| 302 | 365 | dy = scrolly[1]; |
| 303 | 366 | palette = 0; |
| 304 | 367 | } |
| 305 | 368 | |
| 306 | if( twin16_custom_video == 1 ) | |
| 307 | { | |
| 369 | if( twin16_custom_video ) { | |
| 370 | /* fround board */ | |
| 308 | 371 | gfx_base = twin16_gfx_rom; |
| 309 | 372 | bank_table[3] = (gfx_bank>>(4*3))&0xf; |
| 310 | 373 | bank_table[2] = (gfx_bank>>(4*2))&0xf; |
| 311 | 374 | bank_table[1] = (gfx_bank>>(4*1))&0xf; |
| 312 | 375 | bank_table[0] = (gfx_bank>>(4*0))&0xf; |
| 313 | 376 | } |
| 314 | else | |
| 315 | { | |
| 377 | else { | |
| 316 | 378 | gfx_base = twin16_tile_gfx_ram; |
| 317 | 379 | bank_table[0] = 0; |
| 318 | 380 | bank_table[1] = 1; |
| r5490 | r5491 | |
| 358 | 420 | if (x1 <= x2 && y1 <= y2) |
| 359 | 421 | { |
| 360 | 422 | int code = source[i]; |
| 361 | /* | |
| 362 | xxx------------- color | |
| 363 | ---xx----------- tile bank | |
| 364 | -----xxxxxxxxxxx tile number | |
| 423 | /* fedcba9876543210 | |
| 424 | xxx------------- color | |
| 425 | ---xx----------- tile bank | |
| 426 | -----xxxxxxxxxxx tile number | |
| 365 | 427 | */ |
| 366 | 428 | const UINT16 *gfx_data = gfx_base + (code&0x7ff)*16 + bank_table[(code>>11)&0x3]*0x8000; |
| 367 | 429 | int color = (code>>13); |
| r5490 | r5491 | |
| 381 | 443 | int effx = (x - xpos) ^ xxor; |
| 382 | 444 | UINT16 data = gfxptr[effx / 4]; |
| 383 | 445 | dest[x] = pal_base + ((data >> 4*(~effx & 3)) & 0x0f); |
| 384 | pdest[x] |= 1; | |
| 446 | pdest[x] |= TWIN16_BG_LAYER1; | |
| 385 | 447 | } |
| 386 | 448 | } |
| 387 | 449 | } |
| r5490 | r5491 | |
| 401 | 463 | if (pen) |
| 402 | 464 | { |
| 403 | 465 | dest[x] = pal_base + pen; |
| 404 | pdest[x] |= | |
| 466 | pdest[x] |= TWIN16_BG_LAYER2; | |
| 405 | 467 | } |
| 406 | 468 | } |
| 407 | 469 | } |
| r5490 | r5491 | |
| 410 | 472 | } |
| 411 | 473 | } |
| 412 | 474 | |
| 413 | static TILE_GET_INFO( get_ | |
| 475 | static TILE_GET_INFO( get_text_tile_info ) | |
| 414 | 476 | { |
| 415 | const UINT16 *source = twin16_ | |
| 477 | const UINT16 *source = twin16_t | |
| 416 | 478 | int attr = source[tile_index]; |
| 479 | /* fedcba9876543210 | |
| 480 | -x-------------- yflip | |
| 481 | --x------------- xflip | |
| 482 | ---xxxx--------- color | |
| 483 | -------xxxxxxxxx tile number | |
| 484 | */ | |
| 417 | 485 | int code = attr & 0x1ff; |
| 418 | 486 | int color = (attr >> 9) & 0x0f; |
| 487 | int flags=0; | |
| 419 | 488 | |
| 420 | SET_TILE_INFO(0, code, color, 0); | |
| 489 | if (attr&0x2000) flags|=TILE_FLIPX; | |
| 490 | if (attr&0x4000) flags|=TILE_FLIPY; | |
| 491 | ||
| 492 | SET_TILE_INFO(0, code, color, flags); | |
| 421 | 493 | } |
| 422 | 494 | |
| 423 | 495 | VIDEO_START( twin16 ) |
| 424 | 496 | { |
| 425 | fg_tilemap = tilemap_create(machine, get_fg_tile_info, tilemap_scan_rows_flip_y, 8, 8, 64, 32); | |
| 497 | text_tilemap = tilemap_create(machine, get_text_tile_info, tilemap_scan_rows, 8, 8, 64, 32); | |
| 498 | tilemap_set_transparent_pen(text_tilemap, 0); | |
| 426 | 499 | |
| 427 | tilemap_set_transparent_pen(fg_tilemap, 0); | |
| 428 | } | |
| 500 | memset(twin16_sprite_buffer,0xff,0x800*sizeof(UINT16)); | |
| 501 | twin16_sprite_busy = 0; | |
| 502 | twin16_sprite_timer = timer_alloc(machine, twin16_sprite_tick, NULL); | |
| 503 | timer_adjust_oneshot(twin16_sprite_timer, attotime_never, 0); | |
| 429 | 504 | |
| 430 | VIDEO_START( fround ) | |
| 431 | { | |
| 432 | fg_tilemap = tilemap_create(machine, get_fg_tile_info, tilemap_scan_rows, 8, 8, 64, 32); | |
| 505 | /* register for savestates */ | |
| 506 | state_save_register_global_array(machine, twin16_sprite_buffer); | |
| 507 | state_save_register_global_array(machine, scrollx); | |
| 508 | state_save_register_global_array(machine, scrolly); | |
| 433 | 509 | |
| 434 | tilemap_set_transparent_pen(fg_tilemap, 0); | |
| 510 | state_save_register_global(machine, need_process_spriteram); | |
| 511 | state_save_register_global(machine, gfx_bank); | |
| 512 | state_save_register_global(machine, video_register); | |
| 513 | state_save_register_global(machine, twin16_sprite_busy); | |
| 435 | 514 | } |
| 436 | 515 | |
| 437 | 516 | VIDEO_UPDATE( twin16 ) |
| 438 | 517 | { |
| 518 | int text_flip=0; | |
| 519 | if (video_register&TWIN16_SCREEN_FLIPX) text_flip|=TILEMAP_FLIPX; | |
| 520 | if (video_register&TWIN16_SCREEN_FLIPY) text_flip|=TILEMAP_FLIPY; | |
| 521 | ||
| 439 | 522 | bitmap_fill(screen->machine->priority_bitmap,cliprect,0); |
| 440 | 523 | draw_layer( screen->machine, bitmap, 1 ); |
| 524 | draw_layer( screen->machine, bitmap, 0 ); | |
| 525 | draw_sprites( screen->machine, bitmap ); | |
| 441 | 526 | |
| 442 | if (twin16_custom_video) | |
| 443 | { | |
| 444 | draw_layer( screen->machine, bitmap, 0 ); | |
| 445 | draw_sprites( screen->machine, bitmap ); | |
| 446 | } | |
| 447 | else // devilw, vulcan - different priorities order? there should be an enable bit somewhere... | |
| 448 | { | |
| 449 | draw_sprites( screen->machine, bitmap ); | |
| 450 | draw_layer( screen->machine, bitmap, 0 ); | |
| 451 | } | |
| 452 | ||
| 453 | tilemap_draw(bitmap, cliprect, fg_tilemap, 0, 0); | |
| 527 | if (text_flip) tilemap_set_flip(text_tilemap, text_flip); | |
| 528 | tilemap_draw(bitmap, cliprect, text_tilemap, 0, 0); | |
| 454 | 529 | return 0; |
| 455 | 530 | } |
| 456 | 531 | |
| 457 | 532 | VIDEO_EOF( twin16 ) |
| 458 | 533 | { |
| 459 | | |
| 534 | twin16_s | |
| 460 | 535 | |
| 461 | if( twin16_spriteram_process_enable() && need_process_spriteram ) | |
| 462 | twin16_spriteram_process(); | |
| 536 | if (twin16_spriteram_process_enable()) { | |
| 537 | if (need_process_spriteram) twin16_spriteram_process(machine); | |
| 538 | need_process_spriteram = 1; | |
| 463 | 539 | |
| 464 | need_process_spriteram = 1; | |
| 465 | ||
| 466 | buffer_spriteram16_w(space,0,0,0xffff); | |
| 540 | /* if the sprite preprocessor is used, sprite ram is copied to an external buffer first, | |
| 541 | as evidenced by 1-frame sprite lag in gradius2 and devilw otherwise, though there's probably | |
| 542 | more to it than that */ | |
| 543 | memcpy(&buffered_spriteram16[0x1800],twin16_sprite_buffer,0x800*sizeof(UINT16)); | |
| 544 | memcpy(twin16_sprite_buffer,&spriteram16[0x1800],0x800*sizeof(UINT16)); | |
| 545 | } | |
| 546 | else { | |
| 547 | const address_space *space = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM); | |
| 548 | buffer_spriteram16_w(space,0,0,0xffff); | |
| 549 | } | |
| 467 | 550 | } |
| 468 | 551 |
| r5490 | r5491 | |
|---|---|---|
| 968 | 968 | active_layers |= 1 << ((pri & 0xf0000) >> 16); // bottom layer can't be disabled |
| 969 | 969 | } |
| 970 | 970 | |
| 971 | tilemap_set_flip( | |
| 971 | tilemap_set_flip_all( screen->machine, (megasys1_screen_flag & 1) ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0 ); | |
| 972 | 972 | |
| 973 | 973 | for (i = 0;i < 3;i++) |
| 974 | 974 | { |
| r5490 | r5491 | |
|---|---|---|
| 70 | 70 | tilemap_set_transmask(bg_tilemap,0,0xff,0x00); /* split type 0 is totally transparent in front half */ |
| 71 | 71 | tilemap_set_transmask(bg_tilemap,1,0x01,0xfe); /* split type 1 has pen 0 transparent in front half */ |
| 72 | 72 | |
| 73 | tilemap_set_flip | |
| 73 | tilemap_set_flip | |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | |
| r5490 | r5491 | |
| 96 | 96 | WRITE8_HANDLER( sidepckt_flipscreen_w ) |
| 97 | 97 | { |
| 98 | 98 | flipscreen = data; |
| 99 | tilemap_set_flip | |
| 99 | tilemap_set_flip | |
| 100 | 100 | } |
| 101 | 101 | |
| 102 | 102 |
| r5490 | r5491 | |
|---|---|---|
| 28 | 28 | if (gfxbank != bank) |
| 29 | 29 | { |
| 30 | 30 | gfxbank = bank; |
| 31 | tilemap_mark_all_tiles_dirty | |
| 31 | tilemap_mark_all_tiles_dirty | |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | /* bits 6-7 unknown */ |
| r0 | r5491 | |
|---|---|---|
| 1 | <?xml version="1.0"?> | |
| 2 | <mamelayout version="2"> | |
| 3 | <element name="overlay"> | |
| 4 | <rect> | |
| 5 | <bounds left="0" top="0" right="256" bottom="224" /> | |
| 6 | <color red="0.27" green="0.53" blue="0.8" /> | |
| 7 | </rect> | |
| 8 | </element> | |
| 9 | ||
| 10 | <view name="Color Overlay"> | |
| 11 | <screen index="0"> | |
| 12 | <bounds left="0" top="0" right="4" bottom="3" /> | |
| 13 | </screen> | |
| 14 | <overlay name="overlay" element="overlay"> | |
| 15 | <bounds left="0" top="0" right="4" bottom="3" /> | |
| 16 | </overlay> | |
| 17 | </view> | |
| 18 | </mamelayout> |
| r0 | r5491 | |
|---|---|---|
| 1 | <?xml version="1.0"?> | |
| 2 | <mamelayout version="2"> | |
| 3 | <element name="overlay"> | |
| 4 | <rect> | |
| 5 | <bounds left="0" top="0" right="260" bottom="224" /> | |
| 6 | <color red="1" green="1" blue="1" /> | |
| 7 | </rect> | |
| 8 | ||
| 9 | <rect> | |
| 10 | <bounds left="0" top="158" right="131" bottom="181" /> | |
| 11 | <color red="0.2" green="0.5" blue="1" /> | |
| 12 | </rect> | |
| 13 | <rect> | |
| 14 | <bounds left="131" top="158" right="260" bottom="181" /> | |
| 15 | <color red="0" green="0.9" blue="0.5" /> | |
| 16 | </rect> | |
| 17 | ||
| 18 | <rect> | |
| 19 | <bounds left="0" top="181" right="131" bottom="207" /> | |
| 20 | <color red="0" green="0.9" blue="0.5" /> | |
| 21 | </rect> | |
| 22 | <rect> | |
| 23 | <bounds left="131" top="181" right="260" bottom="207" /> | |
| 24 | <color red="0.2" green="0.5" blue="1" /> | |
| 25 | </rect> | |
| 26 | ||
| 27 | <rect> | |
| 28 | <bounds left="0" top="207" right="47" bottom="224" /> | |
| 29 | <color red="0.2" green="0.5" blue="1" /> | |
| 30 | </rect> | |
| 31 | <rect> | |
| 32 | <bounds left="47" top="207" right="122" bottom="224" /> | |
| 33 | <color red="1" green="1" blue="0.25" /> | |
| 34 | </rect> | |
| 35 | <rect> | |
| 36 | <bounds left="122" top="207" right="141" bottom="224" /> | |
| 37 | <color red="1" green="0.2" blue="0.15" /> | |
| 38 | </rect> | |
| 39 | <rect> | |
| 40 | <bounds left="141" top="207" right="218" bottom="224" /> | |
| 41 | <color red="1" green="1" blue="0.25" /> | |
| 42 | </rect> | |
| 43 | <rect> | |
| 44 | <bounds left="218" top="207" right="260" bottom="224" /> | |
| 45 | <color red="0" green="0.9" blue="0.5" /> | |
| 46 | </rect> | |
| 47 | </element> | |
| 48 | ||
| 49 | <view name="Color Overlay"> | |
| 50 | <screen index="0"> | |
| 51 | <bounds left="0" top="0" right="4" bottom="3" /> | |
| 52 | </screen> | |
| 53 | <overlay name="overlay" element="overlay"> | |
| 54 | <bounds left="0" top="0" right="4" bottom="3" /> | |
| 55 | </overlay> | |
| 56 | </view> | |
| 57 | </mamelayout> |
| r5490 | r5491 | |
|---|---|---|
| 1270 | 1270 | |
| 1271 | 1271 | ROM_START( dland ) |
| 1272 | 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) ) | |
| 1273 | ROM_LOAD( "dl_3.u69", 0x00000, 0x08000, CRC(01eb3e4f) SHA1(8edc0f2e98b928b1d9d508948bcff947df697b6f) ) | |
| 1274 | /* ROMs banked at 8000-bfff */ | |
| 1275 | ROM_LOAD( "dl_5.u67", 0x10000, 0x08000, CRC(75740b61) SHA1(7ebfbb9abfcc44c31b31f146d7bc37004a1b528c) ) | |
| 1276 | ROM_LOAD( "dl_4.u68", 0x18000, 0x08000, CRC(c6a3776f) SHA1(473fc8c990046f90517f2506f1ca59eeb7ea13e5) ) | |
| 1277 | 1277 | /* 20000-2ffff empty */ |
| 1278 | 1278 | |
| 1279 | 1279 | ROM_REGION( 0x10000, "slave", 0 ) /* 64k for the second CPU */ |
| 1280 | ROM_LOAD( "dl_1. | |
| 1280 | ROM_LOAD( "dl_1.u42", 0x0000, 0x08000, CRC(ae11a07b) SHA1(af7a335c8da637103103cc274e077f123908ebb7) ) | |
| 1281 | 1281 | |
| 1282 | 1282 | ROM_REGION( 0x10000, "audiocpu", 0 ) /* 64k for the third CPU */ |
| 1283 | ROM_LOAD( "dl_2. | |
| 1283 | ROM_LOAD( "dl_2.u74", 0x0000, 0x08000, CRC(4f9a26e8) SHA1(3105b34b88a7134493c2b3f584729f8b0407a011) ) | |
| 1284 | 1284 | |
| 1285 | 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) ) | |
| 1286 | ROM_LOAD( "dl_6.58", 0x00000, 0x10000, CRC(6352d3fa) SHA1(eacaddd476952f3c048138184e712ca1fbba4ce2) ) | |
| 1287 | ROM_LOAD( "dl_7.59", 0x10000, 0x10000, CRC(37a38b69) SHA1(3d28fbf1725b35f664836ee45f705c05f6ccd78a) ) | |
| 1288 | ROM_LOAD( "dl_8.60", 0x20000, 0x10000, CRC(509ee5b1) SHA1(b5edc7346d43db0157deadece60e478ba6d63eab) ) | |
| 1289 | 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) ) | |
| 1290 | ROM_LOAD( "dl_9.61", 0x40000, 0x10000, CRC(ae8514d7) SHA1(5205a3faf354f5b5616be4494f5bd553de4c7965) ) | |
| 1291 | ROM_LOAD( "dl_10.62", 0x50000, 0x10000, CRC(6d406fb7) SHA1(26d9236d259f8b3876087797b77994b299eeea63) ) | |
| 1292 | ROM_LOAD( "dl_11.63", 0x60000, 0x10000, CRC(bdf9c0ab) SHA1(d5afc5205e8e391a4a095a4e2efbeee96e780638) ) | |
| 1293 | 1293 | /* 0x70000-0x7ffff empty */ |
| 1294 | 1294 | |
| 1295 | 1295 | ROM_REGION( 0x0100, "proms", 0 ) // not on this? (but needed for the bublbobl video driver to work) |
| r5490 | r5491 | |
|---|---|---|
| 1046 | 1046 | |
| 1047 | 1047 | // I don't have manual for this game. |
| 1048 | 1048 | |
| 1049 | PORT_START("DSWA") | |
| 1049 | PORT_START("DSWA") | |
| 1050 | 1050 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" ) |
| 1051 | 1051 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1052 | 1052 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1072 | 1072 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1073 | 1073 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1074 | 1074 | |
| 1075 | PORT_START("DSWB") | |
| 1075 | PORT_START("DSWB") | |
| 1076 | 1076 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 1077 | 1077 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1078 | 1078 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1098 | 1098 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1099 | 1099 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1100 | 1100 | |
| 1101 | PORT_START("SYSTEM") | |
| 1101 | PORT_START("SYSTEM") | |
| 1102 | 1102 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 1103 | 1103 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1104 | 1104 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1105 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 1105 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1106 | 1106 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1107 | 1107 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1108 | 1108 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 1115 | 1115 | |
| 1116 | 1116 | // I don't have manual for this game. |
| 1117 | 1117 | |
| 1118 | PORT_START("DSWA") | |
| 1118 | PORT_START("DSWA") | |
| 1119 | 1119 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" ) |
| 1120 | 1120 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1121 | 1121 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1141 | 1141 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1142 | 1142 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1143 | 1143 | |
| 1144 | PORT_START("DSWB") | |
| 1144 | PORT_START("DSWB") | |
| 1145 | 1145 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 1146 | 1146 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1147 | 1147 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1167 | 1167 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1168 | 1168 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1169 | 1169 | |
| 1170 | PORT_START("SYSTEM") | |
| 1170 | PORT_START("SYSTEM") | |
| 1171 | 1171 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 1172 | 1172 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1173 | 1173 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1174 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 1174 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1175 | 1175 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1176 | 1176 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1177 | 1177 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 1184 | 1184 | |
| 1185 | 1185 | // I don't have manual for this game. |
| 1186 | 1186 | |
| 1187 | PORT_START("DSWA") | |
| 1187 | PORT_START("DSWA") | |
| 1188 | 1188 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" ) |
| 1189 | 1189 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1190 | 1190 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1210 | 1210 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1211 | 1211 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1212 | 1212 | |
| 1213 | PORT_START("DSWB") | |
| 1213 | PORT_START("DSWB") | |
| 1214 | 1214 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 1215 | 1215 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1216 | 1216 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1236 | 1236 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1237 | 1237 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1238 | 1238 | |
| 1239 | PORT_START("SYSTEM") | |
| 1239 | PORT_START("SYSTEM") | |
| 1240 | 1240 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 1241 | 1241 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1242 | 1242 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1243 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 1243 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1244 | 1244 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1245 | 1245 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1246 | 1246 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 1253 | 1253 | |
| 1254 | 1254 | // I don't have manual for this game. |
| 1255 | 1255 | |
| 1256 | PORT_START("DSWA") | |
| 1256 | PORT_START("DSWA") | |
| 1257 | 1257 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" ) |
| 1258 | 1258 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1259 | 1259 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1279 | 1279 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1280 | 1280 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1281 | 1281 | |
| 1282 | PORT_START("DSWB") | |
| 1282 | PORT_START("DSWB") | |
| 1283 | 1283 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 1284 | 1284 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 1285 | 1285 | PORT_DIPSETTING( 0x01, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1305 | 1305 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1306 | 1306 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1307 | 1307 | |
| 1308 | PORT_START("SYSTEM") | |
| 1308 | PORT_START("SYSTEM") | |
| 1309 | 1309 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 1310 | 1310 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1311 | 1311 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1312 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 1312 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1313 | 1313 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1314 | 1314 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1315 | 1315 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 1322 | 1322 | |
| 1323 | 1323 | // I don't have manual for this game. |
| 1324 | 1324 | |
| 1325 | PORT_START("DSWA") | |
| 1325 | PORT_START("DSWA") | |
| 1326 | 1326 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" ) |
| 1327 | 1327 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1328 | 1328 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1348 | 1348 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1349 | 1349 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1350 | 1350 | |
| 1351 | PORT_START("DSWB") | |
| 1351 | PORT_START("DSWB") | |
| 1352 | 1352 | PORT_DIPNAME( 0x01, 0x00, DEF_STR( Flip_Screen ) ) |
| 1353 | 1353 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 1354 | 1354 | PORT_DIPSETTING( 0x01, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1374 | 1374 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1375 | 1375 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1376 | 1376 | |
| 1377 | PORT_START("SYSTEM") | |
| 1377 | PORT_START("SYSTEM") | |
| 1378 | 1378 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 1379 | 1379 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1380 | 1380 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1381 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 1381 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1382 | 1382 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1383 | 1383 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1384 | 1384 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 1391 | 1391 | |
| 1392 | 1392 | // I don't have manual for this game. |
| 1393 | 1393 | |
| 1394 | PORT_START("DSWA") | |
| 1394 | PORT_START("DSWA") | |
| 1395 | 1395 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" ) |
| 1396 | 1396 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1397 | 1397 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1417 | 1417 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1418 | 1418 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1419 | 1419 | |
| 1420 | PORT_START("DSWB") | |
| 1420 | PORT_START("DSWB") | |
| 1421 | 1421 | PORT_DIPNAME( 0x01, 0x00, DEF_STR( Flip_Screen ) ) |
| 1422 | 1422 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 1423 | 1423 | PORT_DIPSETTING( 0x01, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1443 | 1443 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1444 | 1444 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1445 | 1445 | |
| 1446 | PORT_START("SYSTEM") | |
| 1446 | PORT_START("SYSTEM") | |
| 1447 | 1447 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 1448 | 1448 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1449 | 1449 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1450 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 1450 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1451 | 1451 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1452 | 1452 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1453 | 1453 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 1460 | 1460 | |
| 1461 | 1461 | // I don't have manual for this game. |
| 1462 | 1462 | |
| 1463 | PORT_START("DSWA") | |
| 1463 | PORT_START("DSWA") | |
| 1464 | 1464 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" ) |
| 1465 | 1465 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1466 | 1466 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1486 | 1486 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1487 | 1487 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1488 | 1488 | |
| 1489 | PORT_START("DSWB") | |
| 1489 | PORT_START("DSWB") | |
| 1490 | 1490 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 1491 | 1491 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1492 | 1492 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1512 | 1512 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1513 | 1513 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1514 | 1514 | |
| 1515 | PORT_START("SYSTEM") | |
| 1515 | PORT_START("SYSTEM") | |
| 1516 | 1516 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 1517 | 1517 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1518 | 1518 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1519 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 1519 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1520 | 1520 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1521 | 1521 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1522 | 1522 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 1529 | 1529 | |
| 1530 | 1530 | // I don't have manual for this game. |
| 1531 | 1531 | |
| 1532 | PORT_START("DSWA") | |
| 1532 | PORT_START("DSWA") | |
| 1533 | 1533 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" ) |
| 1534 | 1534 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1535 | 1535 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1555 | 1555 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1556 | 1556 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1557 | 1557 | |
| 1558 | PORT_START("DSWB") | |
| 1558 | PORT_START("DSWB") | |
| 1559 | 1559 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 1560 | 1560 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1561 | 1561 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1581 | 1581 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1582 | 1582 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1583 | 1583 | |
| 1584 | PORT_START("SYSTEM") | |
| 1584 | PORT_START("SYSTEM") | |
| 1585 | 1585 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 1586 | 1586 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1587 | 1587 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1588 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 1588 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1589 | 1589 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1590 | 1590 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1591 | 1591 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 1598 | 1598 | |
| 1599 | 1599 | // I don't have manual for this game. |
| 1600 | 1600 | |
| 1601 | PORT_START("DSWA") | |
| 1601 | PORT_START("DSWA") | |
| 1602 | 1602 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" ) |
| 1603 | 1603 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1604 | 1604 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1624 | 1624 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 1625 | 1625 | PORT_DIPSETTING( 0x80, DEF_STR( On ) ) |
| 1626 | 1626 | |
| 1627 | PORT_START("DSWB") | |
| 1627 | PORT_START("DSWB") | |
| 1628 | 1628 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 1629 | 1629 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1630 | 1630 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1650 | 1650 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1651 | 1651 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1652 | 1652 | |
| 1653 | PORT_START("SYSTEM") | |
| 1653 | PORT_START("SYSTEM") | |
| 1654 | 1654 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 1655 | 1655 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1656 | 1656 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1657 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 1657 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1658 | 1658 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1659 | 1659 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1660 | 1660 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 1664 | 1664 | INPUT_PORTS_END |
| 1665 | 1665 | |
| 1666 | 1666 | static INPUT_PORTS_START( mjlaman ) |
| 1667 | PORT_START("DSWA") | |
| 1667 | PORT_START("DSWA") | |
| 1668 | 1668 | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) ) |
| 1669 | 1669 | PORT_DIPSETTING( 0x00, DEF_STR( 2C_1C ) ) |
| 1670 | 1670 | PORT_DIPSETTING( 0x03, DEF_STR( 1C_1C ) ) |
| r5490 | r5491 | |
| 1689 | 1689 | PORT_DIPSETTING( 0x20, "7" ) |
| 1690 | 1690 | PORT_DIPSETTING( 0x00, "8 (Hard)" ) |
| 1691 | 1691 | |
| 1692 | PORT_START("DSWB") | |
| 1692 | PORT_START("DSWB") | |
| 1693 | 1693 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 1694 | 1694 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1695 | 1695 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1715 | 1715 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1716 | 1716 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1717 | 1717 | |
| 1718 | PORT_START("SYSTEM") | |
| 1718 | PORT_START("SYSTEM") | |
| 1719 | 1719 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 1720 | 1720 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1721 | 1721 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| r5490 | r5491 | |
| 1729 | 1729 | INPUT_PORTS_END |
| 1730 | 1730 | |
| 1731 | 1731 | static INPUT_PORTS_START( mkeibaou ) |
| 1732 | PORT_START("DSWA") | |
| 1732 | PORT_START("DSWA") | |
| 1733 | 1733 | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) |
| 1734 | 1734 | PORT_DIPSETTING( 0x03, "1" ) |
| 1735 | 1735 | PORT_DIPSETTING( 0x02, "2" ) |
| r5490 | r5491 | |
| 1754 | 1754 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1755 | 1755 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1756 | 1756 | |
| 1757 | PORT_START("DSWB") | |
| 1757 | PORT_START("DSWB") | |
| 1758 | 1758 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 1759 | 1759 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1760 | 1760 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1780 | 1780 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1781 | 1781 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1782 | 1782 | |
| 1783 | PORT_START("SYSTEM") | |
| 1783 | PORT_START("SYSTEM") | |
| 1784 | 1784 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 1785 | 1785 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1786 | 1786 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1787 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 1787 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1788 | 1788 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1789 | 1789 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1790 | 1790 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 1794 | 1794 | INPUT_PORTS_END |
| 1795 | 1795 | |
| 1796 | 1796 | static INPUT_PORTS_START( pachiten ) |
| 1797 | PORT_START("DSWA") | |
| 1797 | PORT_START("DSWA") | |
| 1798 | 1798 | PORT_DIPNAME( 0x07, 0x07, "Game Out" ) |
| 1799 | 1799 | PORT_DIPSETTING( 0x07, "90% (Easy)" ) |
| 1800 | 1800 | PORT_DIPSETTING( 0x06, "85%" ) |
| r5490 | r5491 | |
| 1820 | 1820 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1821 | 1821 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1822 | 1822 | |
| 1823 | PORT_START("DSWB") | |
| 1823 | PORT_START("DSWB") | |
| 1824 | 1824 | PORT_DIPNAME( 0x01, 0x00, DEF_STR( Flip_Screen ) ) |
| 1825 | 1825 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 1826 | 1826 | PORT_DIPSETTING( 0x01, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1844 | 1844 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 1845 | 1845 | PORT_DIPSETTING( 0x80, DEF_STR( On ) ) |
| 1846 | 1846 | |
| 1847 | PORT_START("SYSTEM") | |
| 1847 | PORT_START("SYSTEM") | |
| 1848 | 1848 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 1849 | 1849 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1850 | 1850 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1851 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 1851 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1852 | 1852 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1853 | 1853 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1854 | 1854 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 1858 | 1858 | INPUT_PORTS_END |
| 1859 | 1859 | |
| 1860 | 1860 | static INPUT_PORTS_START( sailorws ) |
| 1861 | PORT_START("DSWA") | |
| 1861 | PORT_START("DSWA") | |
| 1862 | 1862 | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) |
| 1863 | 1863 | PORT_DIPSETTING( 0x03, "1" ) |
| 1864 | 1864 | PORT_DIPSETTING( 0x02, "2" ) |
| r5490 | r5491 | |
| 1883 | 1883 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1884 | 1884 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1885 | 1885 | |
| 1886 | PORT_START("DSWB") | |
| 1886 | PORT_START("DSWB") | |
| 1887 | 1887 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 1888 | 1888 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1889 | 1889 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1909 | 1909 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1910 | 1910 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1911 | 1911 | |
| 1912 | PORT_START("SYSTEM") | |
| 1912 | PORT_START("SYSTEM") | |
| 1913 | 1913 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 1914 | 1914 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1915 | 1915 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1916 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 1916 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1917 | 1917 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1918 | 1918 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1919 | 1919 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 1923 | 1923 | INPUT_PORTS_END |
| 1924 | 1924 | |
| 1925 | 1925 | static INPUT_PORTS_START( sailorwr ) |
| 1926 | PORT_START("DSWA") | |
| 1926 | PORT_START("DSWA") | |
| 1927 | 1927 | PORT_DIPNAME( 0x07, 0x07, "Game Out" ) |
| 1928 | 1928 | PORT_DIPSETTING( 0x07, "90% (Easy)" ) |
| 1929 | 1929 | PORT_DIPSETTING( 0x06, "85%" ) |
| r5490 | r5491 | |
| 1949 | 1949 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1950 | 1950 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1951 | 1951 | |
| 1952 | PORT_START("DSWB") | |
| 1952 | PORT_START("DSWB") | |
| 1953 | 1953 | PORT_DIPNAME( 0x01, 0x00, DEF_STR( Flip_Screen ) ) |
| 1954 | 1954 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 1955 | 1955 | PORT_DIPSETTING( 0x01, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 1973 | 1973 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 1974 | 1974 | PORT_DIPSETTING( 0x80, DEF_STR( On ) ) |
| 1975 | 1975 | |
| 1976 | PORT_START("SYSTEM") | |
| 1976 | PORT_START("SYSTEM") | |
| 1977 | 1977 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 1978 | 1978 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1979 | 1979 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1980 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 1980 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1981 | 1981 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1982 | 1982 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1983 | 1983 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 1987 | 1987 | INPUT_PORTS_END |
| 1988 | 1988 | |
| 1989 | 1989 | static INPUT_PORTS_START( psailor1 ) |
| 1990 | PORT_START("DSWA") | |
| 1990 | PORT_START("DSWA") | |
| 1991 | 1991 | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) ) |
| 1992 | 1992 | PORT_DIPSETTING( 0x00, DEF_STR( 2C_1C ) ) |
| 1993 | 1993 | PORT_DIPSETTING( 0x03, DEF_STR( 1C_1C ) ) |
| r5490 | r5491 | |
| 2012 | 2012 | PORT_DIPSETTING( 0x20, "7" ) |
| 2013 | 2013 | PORT_DIPSETTING( 0x00, "8 (Hard)" ) |
| 2014 | 2014 | |
| 2015 | PORT_START("DSWB") | |
| 2015 | PORT_START("DSWB") | |
| 2016 | 2016 | PORT_DIPNAME( 0x03, 0x03, "Start Score" ) |
| 2017 | 2017 | PORT_DIPSETTING( 0x00, "5000" ) |
| 2018 | 2018 | PORT_DIPSETTING( 0x01, "3000" ) |
| r5490 | r5491 | |
| 2037 | 2037 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2038 | 2038 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2039 | 2039 | |
| 2040 | PORT_START("SYSTEM") | |
| 2040 | PORT_START("SYSTEM") | |
| 2041 | 2041 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 2042 | 2042 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 2043 | 2043 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2044 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 2044 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2045 | 2045 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2046 | 2046 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2047 | 2047 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 2051 | 2051 | INPUT_PORTS_END |
| 2052 | 2052 | |
| 2053 | 2053 | static INPUT_PORTS_START( psailor2 ) |
| 2054 | PORT_START("DSWA") | |
| 2054 | PORT_START("DSWA") | |
| 2055 | 2055 | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) ) |
| 2056 | 2056 | PORT_DIPSETTING( 0x00, DEF_STR( 2C_1C ) ) |
| 2057 | 2057 | PORT_DIPSETTING( 0x03, DEF_STR( 1C_1C ) ) |
| r5490 | r5491 | |
| 2076 | 2076 | PORT_DIPSETTING( 0x20, "7" ) |
| 2077 | 2077 | PORT_DIPSETTING( 0x00, "8 (Hard)" ) |
| 2078 | 2078 | |
| 2079 | PORT_START("DSWB") | |
| 2079 | PORT_START("DSWB") | |
| 2080 | 2080 | PORT_DIPNAME( 0x03, 0x03, "Start Score" ) |
| 2081 | 2081 | PORT_DIPSETTING( 0x00, "5000" ) |
| 2082 | 2082 | PORT_DIPSETTING( 0x01, "3000" ) |
| r5490 | r5491 | |
| 2101 | 2101 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2102 | 2102 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2103 | 2103 | |
| 2104 | PORT_START("SYSTEM") | |
| 2104 | PORT_START("SYSTEM") | |
| 2105 | 2105 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 2106 | 2106 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 2107 | 2107 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2108 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 2108 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2109 | 2109 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2110 | 2110 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2111 | 2111 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 2118 | 2118 | |
| 2119 | 2119 | // I don't have manual for this game. |
| 2120 | 2120 | |
| 2121 | PORT_START("DSWA") | |
| 2121 | PORT_START("DSWA") | |
| 2122 | 2122 | PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) ) |
| 2123 | 2123 | PORT_DIPSETTING( 0x07, "1 (Easy)" ) |
| 2124 | 2124 | PORT_DIPSETTING( 0x06, "2" ) |
| r5490 | r5491 | |
| 2143 | 2143 | PORT_DIPSETTING( 0x80, DEF_STR( 1C_2C ) ) |
| 2144 | 2144 | PORT_DIPSETTING( 0x40, DEF_STR( 1C_3C ) ) |
| 2145 | 2145 | |
| 2146 | PORT_START("DSWB") | |
| 2146 | PORT_START("DSWB") | |
| 2147 | 2147 | PORT_DIPNAME( 0x03, 0x03, "Start Score" ) |
| 2148 | 2148 | PORT_DIPSETTING( 0x00, "5000" ) |
| 2149 | 2149 | PORT_DIPSETTING( 0x01, "3000" ) |
| r5490 | r5491 | |
| 2168 | 2168 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2169 | 2169 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2170 | 2170 | |
| 2171 | PORT_START("SYSTEM") | |
| 2171 | PORT_START("SYSTEM") | |
| 2172 | 2172 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 2173 | 2173 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 2174 | 2174 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2175 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 2175 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2176 | 2176 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2177 | 2177 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2178 | 2178 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 2185 | 2185 | |
| 2186 | 2186 | // I don't have manual for this game. |
| 2187 | 2187 | |
| 2188 | PORT_START("DSWA") | |
| 2188 | PORT_START("DSWA") | |
| 2189 | 2189 | PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) ) |
| 2190 | 2190 | PORT_DIPSETTING( 0x07, "1 (Easy)" ) |
| 2191 | 2191 | PORT_DIPSETTING( 0x06, "2" ) |
| r5490 | r5491 | |
| 2210 | 2210 | PORT_DIPSETTING( 0x80, DEF_STR( 1C_2C ) ) |
| 2211 | 2211 | PORT_DIPSETTING( 0x40, DEF_STR( 1C_3C ) ) |
| 2212 | 2212 | |
| 2213 | PORT_START("DSWB") | |
| 2213 | PORT_START("DSWB") | |
| 2214 | 2214 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 2215 | 2215 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 2216 | 2216 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 2236 | 2236 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2237 | 2237 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2238 | 2238 | |
| 2239 | PORT_START("SYSTEM") | |
| 2239 | PORT_START("SYSTEM") | |
| 2240 | 2240 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 2241 | 2241 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 2242 | 2242 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2243 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 2243 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2244 | 2244 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2245 | 2245 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2246 | 2246 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 2253 | 2253 | |
| 2254 | 2254 | // I don't have manual for this game. |
| 2255 | 2255 | |
| 2256 | PORT_START("DSWA") | |
| 2256 | PORT_START("DSWA") | |
| 2257 | 2257 | PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) ) |
| 2258 | 2258 | PORT_DIPSETTING( 0x07, "1 (Easy)" ) |
| 2259 | 2259 | PORT_DIPSETTING( 0x06, "2" ) |
| r5490 | r5491 | |
| 2278 | 2278 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2279 | 2279 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2280 | 2280 | |
| 2281 | PORT_START("DSWB") | |
| 2281 | PORT_START("DSWB") | |
| 2282 | 2282 | PORT_DIPNAME( 0x03, 0x03, "Start Score" ) |
| 2283 | 2283 | PORT_DIPSETTING( 0x00, "5000" ) |
| 2284 | 2284 | PORT_DIPSETTING( 0x01, "3000" ) |
| r5490 | r5491 | |
| 2303 | 2303 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2304 | 2304 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2305 | 2305 | |
| 2306 | PORT_START("SYSTEM") | |
| 2306 | PORT_START("SYSTEM") | |
| 2307 | 2307 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 2308 | 2308 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 2309 | 2309 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2310 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 2310 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2311 | 2311 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2312 | 2312 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2313 | 2313 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 2320 | 2320 | |
| 2321 | 2321 | // I don't have manual for this game. |
| 2322 | 2322 | |
| 2323 | PORT_START("DSWA") | |
| 2323 | PORT_START("DSWA") | |
| 2324 | 2324 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" ) |
| 2325 | 2325 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 2326 | 2326 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 2346 | 2346 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2347 | 2347 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2348 | 2348 | |
| 2349 | PORT_START("DSWB") | |
| 2349 | PORT_START("DSWB") | |
| 2350 | 2350 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 2351 | 2351 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 2352 | 2352 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 2372 | 2372 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2373 | 2373 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2374 | 2374 | |
| 2375 | PORT_START("SYSTEM") | |
| 2375 | PORT_START("SYSTEM") | |
| 2376 | 2376 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 2377 | 2377 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 2378 | 2378 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2379 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 2379 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2380 | 2380 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2381 | 2381 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2382 | 2382 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 2386 | 2386 | INPUT_PORTS_END |
| 2387 | 2387 | |
| 2388 | 2388 | static INPUT_PORTS_START( ngpgal ) |
| 2389 | PORT_START("DSWA") | |
| 2389 | PORT_START("DSWA") | |
| 2390 | 2390 | PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) ) |
| 2391 | 2391 | PORT_DIPSETTING( 0x07, "1 (Easy)" ) |
| 2392 | 2392 | PORT_DIPSETTING( 0x06, "2" ) |
| r5490 | r5491 | |
| 2412 | 2412 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2413 | 2413 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2414 | 2414 | |
| 2415 | PORT_START("DSWB") | |
| 2415 | PORT_START("DSWB") | |
| 2416 | 2416 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 2417 | 2417 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 2418 | 2418 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 2438 | 2438 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2439 | 2439 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2440 | 2440 | |
| 2441 | PORT_START("SYSTEM") | |
| 2441 | PORT_START("SYSTEM") | |
| 2442 | 2442 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 2443 | 2443 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 2444 | 2444 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2445 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 2445 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2446 | 2446 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2447 | 2447 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2448 | 2448 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 2452 | 2452 | INPUT_PORTS_END |
| 2453 | 2453 | |
| 2454 | 2454 | static INPUT_PORTS_START( mjgottsu ) |
| 2455 | PORT_START("DSWA") | |
| 2455 | PORT_START("DSWA") | |
| 2456 | 2456 | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) |
| 2457 | 2457 | PORT_DIPSETTING( 0x03, "1" ) |
| 2458 | 2458 | PORT_DIPSETTING( 0x02, "2" ) |
| r5490 | r5491 | |
| 2477 | 2477 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2478 | 2478 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2479 | 2479 | |
| 2480 | PORT_START("DSWB") | |
| 2480 | PORT_START("DSWB") | |
| 2481 | 2481 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 2482 | 2482 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 2483 | 2483 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 2503 | 2503 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2504 | 2504 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2505 | 2505 | |
| 2506 | PORT_START("SYSTEM") | |
| 2506 | PORT_START("SYSTEM") | |
| 2507 | 2507 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 2508 | 2508 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 2509 | 2509 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2510 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 2510 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2511 | 2511 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2512 | 2512 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2513 | 2513 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 2517 | 2517 | INPUT_PORTS_END |
| 2518 | 2518 | |
| 2519 | 2519 | static INPUT_PORTS_START( bakuhatu ) |
| 2520 | PORT_START("DSWA") | |
| 2520 | PORT_START("DSWA") | |
| 2521 | 2521 | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) |
| 2522 | 2522 | PORT_DIPSETTING( 0x03, "1" ) |
| 2523 | 2523 | PORT_DIPSETTING( 0x02, "2" ) |
| r5490 | r5491 | |
| 2542 | 2542 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2543 | 2543 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2544 | 2544 | |
| 2545 | PORT_START("DSWB") | |
| 2545 | PORT_START("DSWB") | |
| 2546 | 2546 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 2547 | 2547 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 2548 | 2548 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 2568 | 2568 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2569 | 2569 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2570 | 2570 | |
| 2571 | PORT_START("SYSTEM") | |
| 2571 | PORT_START("SYSTEM") | |
| 2572 | 2572 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 2573 | 2573 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 2574 | 2574 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2575 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 2575 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2576 | 2576 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2577 | 2577 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2578 | 2578 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 2582 | 2582 | INPUT_PORTS_END |
| 2583 | 2583 | |
| 2584 | 2584 | static INPUT_PORTS_START( cmehyou ) |
| 2585 | PORT_START("DSWA") | |
| 2585 | PORT_START("DSWA") | |
| 2586 | 2586 | PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) ) |
| 2587 | 2587 | PORT_DIPSETTING( 0x07, "1 (Easy)" ) |
| 2588 | 2588 | PORT_DIPSETTING( 0x06, "2" ) |
| r5490 | r5491 | |
| 2608 | 2608 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2609 | 2609 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2610 | 2610 | |
| 2611 | PORT_START("DSWB") | |
| 2611 | PORT_START("DSWB") | |
| 2612 | 2612 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 2613 | 2613 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 2614 | 2614 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 2634 | 2634 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2635 | 2635 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2636 | 2636 | |
| 2637 | PORT_START("SYSTEM") | |
| 2637 | PORT_START("SYSTEM") | |
| 2638 | 2638 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 2639 | 2639 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 2640 | 2640 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2641 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 2641 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2642 | 2642 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2643 | 2643 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2644 | 2644 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 2648 | 2648 | INPUT_PORTS_END |
| 2649 | 2649 | |
| 2650 | 2650 | static INPUT_PORTS_START( mjkoiura ) |
| 2651 | PORT_START("DSWA") | |
| 2651 | PORT_START("DSWA") | |
| 2652 | 2652 | PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) ) |
| 2653 | 2653 | PORT_DIPSETTING( 0x07, "1 (Easy)" ) |
| 2654 | 2654 | PORT_DIPSETTING( 0x06, "2" ) |
| r5490 | r5491 | |
| 2674 | 2674 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2675 | 2675 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2676 | 2676 | |
| 2677 | PORT_START("DSWB") | |
| 2677 | PORT_START("DSWB") | |
| 2678 | 2678 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 2679 | 2679 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 2680 | 2680 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 2700 | 2700 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2701 | 2701 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2702 | 2702 | |
| 2703 | PORT_START("SYSTEM") | |
| 2703 | PORT_START("SYSTEM") | |
| 2704 | 2704 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // COIN OUT |
| 2705 | 2705 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 2706 | 2706 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2707 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 2707 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2708 | 2708 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2709 | 2709 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2710 | 2710 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| r5490 | r5491 | |
| 2714 | 2714 | INPUT_PORTS_END |
| 2715 | 2715 | |
| 2716 | 2716 | static INPUT_PORTS_START( mscoutm ) |
| 2717 | PORT_START("DSWA") | |
| 2717 | PORT_START("DSWA") | |
| 2718 | 2718 | PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) ) |
| 2719 | 2719 | PORT_DIPSETTING( 0x07, "1 (Easy)" ) |
| 2720 | 2720 | PORT_DIPSETTING( 0x06, "2" ) |
| r5490 | r5491 | |
| 2739 | 2739 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2740 | 2740 | PORT_DIPSETTING( 0x80, DEF_STR( On ) ) |
| 2741 | 2741 | |
| 2742 | PORT_START("DSWB") | |
| 2742 | PORT_START("DSWB") | |
| 2743 | 2743 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 2744 | 2744 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 2745 | 2745 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 2765 | 2765 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2766 | 2766 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2767 | 2767 | |
| 2768 | PORT_START("SYSTEM") | |
| 2768 | PORT_START("SYSTEM") | |
| 2769 | 2769 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2770 | 2770 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2771 | 2771 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2772 | 2772 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2773 | 2773 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2774 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_ | |
| 2774 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2775 | 2775 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 2776 | 2776 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2777 | 2777 | |
| r5490 | r5491 | |
| 2779 | 2779 | INPUT_PORTS_END |
| 2780 | 2780 | |
| 2781 | 2781 | static INPUT_PORTS_START( imekura ) |
| 2782 | PORT_START("DSWA") | |
| 2782 | PORT_START("DSWA") | |
| 2783 | 2783 | PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) ) |
| 2784 | 2784 | PORT_DIPSETTING( 0x07, "1 (Easy)" ) |
| 2785 | 2785 | PORT_DIPSETTING( 0x06, "2" ) |
| r5490 | r5491 | |
| 2804 | 2804 | PORT_DIPSETTING( 0x80, DEF_STR( 1C_2C ) ) |
| 2805 | 2805 | PORT_DIPSETTING( 0x40, DEF_STR( 1C_3C ) ) |
| 2806 | 2806 | |
| 2807 | PORT_START("DSWB") | |
| 2807 | PORT_START("DSWB") | |
| 2808 | 2808 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 2809 | 2809 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 2810 | 2810 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 2830 | 2830 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2831 | 2831 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2832 | 2832 | |
| 2833 | PORT_START("SYSTEM") | |
| 2833 | PORT_START("SYSTEM") | |
| 2834 | 2834 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2835 | 2835 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2836 | 2836 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2837 | 2837 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2838 | 2838 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2839 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_ | |
| 2839 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2840 | 2840 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 2841 | 2841 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2842 | 2842 | |
| r5490 | r5491 | |
| 2844 | 2844 | INPUT_PORTS_END |
| 2845 | 2845 | |
| 2846 | 2846 | static INPUT_PORTS_START( mjegolf ) |
| 2847 | PORT_START("DSWA") | |
| 2847 | PORT_START("DSWA") | |
| 2848 | 2848 | PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) ) |
| 2849 | 2849 | PORT_DIPSETTING( 0x07, "1 (Easy)" ) |
| 2850 | 2850 | PORT_DIPSETTING( 0x06, "2" ) |
| r5490 | r5491 | |
| 2869 | 2869 | PORT_DIPSETTING( 0x80, DEF_STR( 1C_2C ) ) |
| 2870 | 2870 | PORT_DIPSETTING( 0x40, DEF_STR( 1C_3C ) ) |
| 2871 | 2871 | |
| 2872 | PORT_START("DSWB") | |
| 2872 | PORT_START("DSWB") | |
| 2873 | 2873 | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 2874 | 2874 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 2875 | 2875 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 2895 | 2895 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2896 | 2896 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2897 | 2897 | |
| 2898 | PORT_START("SYSTEM") | |
| 2898 | PORT_START("SYSTEM") | |
| 2899 | 2899 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2900 | 2900 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2901 | 2901 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2902 | 2902 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2903 | 2903 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2904 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_ | |
| 2904 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2905 | 2905 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 2906 | 2906 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2907 | 2907 |
| r5490 | r5491 | |
|---|---|---|
| 858 | 858 | } |
| 859 | 859 | } |
| 860 | 860 | |
| 861 | // WORD at 30000e: IRQ 4 tests bits 6 and 7, IRQ5 tests bits 4 and 5 | |
| 862 | // (vsync and hsync status for each of the two screens?) | |
| 863 | ||
| 861 | 864 | static ADDRESS_MAP_START( gn680_memmap, ADDRESS_SPACE_PROGRAM, 16 ) |
| 862 | 865 | AM_RANGE(0x000000, 0x01ffff) AM_ROM |
| 863 | 866 | AM_RANGE(0x200000, 0x203fff) AM_RAM |
| r5490 | r5491 | |
| 1114 | 1117 | |
| 1115 | 1118 | MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 1116 | 1119 | |
| 1117 | MDRV_SOUND_ADD("rf", RF5C400, 6400 | |
| 1120 | MDRV_SOUND_ADD("rf", RF5C400, 16934400) | |
| 1118 | 1121 | MDRV_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 1119 | 1122 | MDRV_SOUND_ROUTE(1, "rspeaker", 1.0) |
| 1120 | 1123 |
| r5490 | r5491 | |
|---|---|---|
| 817 | 817 | } |
| 818 | 818 | |
| 819 | 819 | |
| 820 | GAME( 1984, gaplus, 0, gaplus, gaplus, 56_58l, ROT90, "Namco", "Gaplus (rev. D)", GAME_IMPERFECT_GRAPHICS ) | |
| 821 | GAME( 1984, galaga3, gaplus, gaplus, gaplus, 56_58l, ROT90, "Namco", "Galaga 3 (rev. C)", GAME_IMPERFECT_GRAPHICS ) | |
| 822 | GAME( 1984, gapluso, gaplus, gaplus, gapluso, 56_58, ROT90, "Namco", "Gaplus (rev. B)", GAME_IMPERFECT_GRAPHICS ) | |
| 823 | GAME( 1984, gaplusa, gaplus, gaplus, gapluso, 58_56, ROT90, "Namco", "Gaplus (alternate hardware)", GAME_IMPERFECT_GRAPHICS ) | |
| 824 | GAME( 1984, galaga3a, gaplus, gaplus, galaga3a, 56_58l, ROT90, "Namco", "Galaga 3 (set 2)", GAME_IMPERFECT_GRAPHICS ) | |
| 825 | GAME( 1984, galaga3m, gaplus, gaplus, galaga3m, 56_58l, ROT90, "Namco", "Galaga 3 (set 3)", GAME_IMPERFECT_GRAPHICS ) | |
| 820 | GAME( 1984, gaplus, 0, gaplus, gaplus, 56_58l, ROT90, "Namco", "Gaplus (rev. D)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS ) | |
| 821 | GAME( 1984, galaga3, gaplus, gaplus, gaplus, 56_58l, ROT90, "Namco", "Galaga 3 (rev. C)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS ) | |
| 822 | GAME( 1984, gapluso, gaplus, gaplus, gapluso, 56_58, ROT90, "Namco", "Gaplus (rev. B)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS ) | |
| 823 | GAME( 1984, gaplusa, gaplus, gaplus, gapluso, 58_56, ROT90, "Namco", "Gaplus (alternate hardware)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS ) | |
| 824 | GAME( 1984, galaga3a, gaplus, gaplus, galaga3a, 56_58l, ROT90, "Namco", "Galaga 3 (set 2)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS ) | |
| 825 | GAME( 1984, galaga3m, gaplus, gaplus, galaga3m, 56_58l, ROT90, "Namco", "Galaga 3 (set 3)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS ) |
| r0 | r5491 | |
|---|---|---|
| 1 | /****************************************************************************** | |
| 2 | ||
| 3 | COINMASTER-GAMING - VGA BOARD | |
| 4 | ----------------------------- | |
| 5 | ||
| 6 | Preliminary driver by Roberto Fresca & Angelo Salese. | |
| 7 | ||
| 8 | ||
| 9 | Games running on this hardware: | |
| 10 | ||
| 11 | * Colorama (standalone), 199x-2001, Coinmaster-Gaming, Ltd. | |
| 12 | * Roulette (bet station). 199x-2001, Coinmaster-Gaming, Ltd. | |
| 13 | * Keno, (bet station). 2000-2001, Coinmaster-Gaming, Ltd. | |
| 14 | ||
| 15 | ||
| 16 | ||
| 17 | ******************************************************************************* | |
| 18 | ||
| 19 | ||
| 20 | Hardware Notes: | |
| 21 | --------------- | |
| 22 | ||
| 23 | This board is used in each bet station of Coinmaster's Roulette and Keno game. | |
| 24 | Both systems have a phisical electromechanical unit with their own controller | |
| 25 | plus sound. The central units (wheel controller) are routed to the bet stations | |
| 26 | (10 for default) through 2 different kind of networks, depending the wheel system. | |
| 27 | ||
| 28 | There are 2 multisystems types: | |
| 29 | ||
| 30 | ||
| 31 | - System RWC (Roulette Wheel Controller) | |
| 32 | ||
| 33 | The old version. The central unit is tied to a controller and then routed to | |
| 34 | the bet stations using a custom serial network with RJ9 connectors and regular | |
| 35 | phone cable. Also has a thermal printer attached. | |
| 36 | ||
| 37 | ||
| 38 | - System Y2K (Year 2000) | |
| 39 | ||
| 40 | The newer system. The central unit has 4 trays inside with power supply, roulette | |
| 41 | controller, and a custom HUB board. All the system is interconnected through | |
| 42 | regular RJ45 CAT5 cables from the hub board. Also has a thermal printer attached. | |
| 43 | ||
| 44 | ||
| 45 | All systems are controlled through a touch screen. | |
| 46 | ||
| 47 | ||
| 48 | Colorama is a standalone roulette system, driven by one VGA board. It has a big lamps | |
| 49 | loom, and a vertical positioned roulette painted on the marquee with one phisical arm | |
| 50 | pointing to the numbers. | |
| 51 | ||
| 52 | ||
| 53 | ||
| 54 | Bet station (VGA board): | |
| 55 | ----------------------- | |
| 56 | ||
| 57 | 1x H8 CPU. (HD6413007F20). (IC01) | |
| 58 | 1x AMD MACH 131-15JC CPLD. (IC29) | |
| 59 | 1x AMD MACH 231-7JC CPLD. (IC12) | |
| 60 | 1x ADV471. (IC30) | |
| 61 | ||
| 62 | 1x YMZ280B (sound). (IC33) | |
| 63 | ||
| 64 | 1x PALCE 22V10H25 PC/4. (IC11) | |
| 65 | 1x MSM62X42B. (IC06) | |
| 66 | 1x COM20020. (IC31) | |
| 67 | ||
| 68 | 2x K6T10082CE-DB70. (IC04, IC05) | |
| 69 | 2x HY62256BLP-70. (IC13, IC14) | |
| 70 | ||
| 71 | 1x 14.7456 MHz.Xtal (H8 CPU direct clock). | |
| 72 | 1x 20.0000 MHz.Xtal (COM20020 direct clock). | |
| 73 | 1x 50.35 Mhz module (MACH 231 direct clock). | |
| 74 | 1x 16.9344 MHz.Xtal (YMZ280B direct? clock). | |
| 75 | ||
| 76 | 2x 27c040 --> Program. | |
| 77 | 2x 27c040 --> Foreground GFX. | |
| 78 | 4x 27c801 --> Background GFX. | |
| 79 | 1x 27c801 --> Sound. | |
| 80 | ||
| 81 | 1x 15-pin VGA connector. | |
| 82 | 1x Microtouch connector. | |
| 83 | ||
| 84 | ||
| 85 | ||
| 86 | The VGA board is a general-purpose control board with the following features: | |
| 87 | ||
| 88 | * 24 discrete inputs (pulled up on board). | |
| 89 | * 32 discrete open collector Darlington drivers. | |
| 90 | * 2 RS232 channels. | |
| 91 | * Stereo, digital sound replay and amplification. | |
| 92 | * Arcnet network communications interface. | |
| 93 | * VGA video graphics generation | |
| 94 | * Power supply monitoring and static (spark) discharge detector. | |
| 95 | * Battery backed up RAM | |
| 96 | ||
| 97 | ||
| 98 | Input N? | Pin N? | Colours | Ground | |
| 99 | ---------+--------+---------+--------------------------------------------------------------- | |
| 100 | 00 | 1A | Brn-Wht | Universal Hopper Early / AWP hopper switch 1 (?1) / Y2K Hop 1. | |
| 101 | 01 | 2A | Red-Wht | Universal Hopper Late / AWP hopper switch 2 (20p) / Y2K Hop 2. | |
| 102 | 02 | 3A | Org-Wht | CC46 Coin / C435 Accept 1. | |
| 103 | 03 | 4A | Yel-Wht | CC46 Error / C435 Accept 2. | |
| 104 | 04 | 5A | Grn-Wht | CC46 Sensor / C435 Accept 3. | |
| 105 | 05 | 6A | Blu-Wht | Lid Switch. | |
| 106 | 06 | 7A | Vio-Wht | Door Switch. | |
| 107 | 07 | 8A | Gry-Wht | Key Switch. | |
| 108 | 08 | 17A | Brn-Pnk | Shooting Button / Start Button. | |
| 109 | 09 | 18A | Red-Pnk | C435 Accept 4. | |
| 110 | 10 | 19A | Org-Pnk | Dumbcard Present. | |
| 111 | 11 | 20A | Yel-Pnk | Small Hopper Return / Y2K Hop 3. | |
| 112 | 12 | 21A | Grn-Pnk | Dumbcard / Bill. | |
| 113 | 13 | 22A | Blu-Pnk | C435 Accept 5. | |
| 114 | 14 | 23A | Vio-Pnk | Cancel Button. | |
| 115 | 15 | 24A | Gry-Pnk | Payout Button. | |
| 116 | 16 | 27A | Red-Brn | Gamble Button. | |
| 117 | 17 | 28A | Org-Brn | | |
| 118 | 18 | 29A | Yel-Brn | | |
| 119 | 19 | 30A | Grn-Brn | | |
| 120 | 20 | 31A | Blu-Brn | | |
| 121 | 21 | 32A | Vio-Brn | | |
| 122 | 22 | 33A | Gry-Brn | | |
| 123 | 23 | 34A | Pnk-Brn | | |
| 124 | ||
| 125 | ||
| 126 | Output N? | Pin N? | Colours | Description | |
| 127 | ----------+--------+---------+--------------------------------------------------------------- | |
| 128 | 00 | 4B | Brn-Blu | Universal Hopper Drive / AWP hopper drive 1 (?1) / Y2K Hop 1. | |
| 129 | 01 | 5B | Red-Blu | Candle 1. | |
| 130 | 02 | 6B | Org-Blu | Candle 2. | |
| 131 | 03 | 7B | Yel-Blu | Cancel Button Lamp. | |
| 132 | 04 | 8B | Grn-Blu | CC46 Deflector / C435 Inhibit 1. | |
| 133 | 05 | 1B | Vio-Blu | CC46 Inhibit / C435 Inhibit 2. | |
| 134 | 06 | 2B | Gry-Blu | C435 Inhibit 3. | |
| 135 | 07 | 3B | Wht-Blu | C435 Inhibit 4. | |
| 136 | 08 | 10B | Brn-Vio | Small Hopper Drive / AWP hopper drive 2 (20p) / Y2K Hop 2. | |
| 137 | 09 | 11B | Red-Vio | Shooting Button Lamp / Start Button Lamp. | |
| 138 | 10 | 12B | Org-Vio | Payout Button Lamp. | |
| 139 | 11 | 13B | Yel-Vio | Gamble Button Lamp. | |
| 140 | 12 | 14B | Vio-Red | Y2K Hop 3. | |
| 141 | 13 | 15B | Blu-Vio | Candle 3. | |
| 142 | 14 | 16B | Gry-Vio | C435 Overide B. | |
| 143 | 15 | 17B | Wht-Vio | C435 Overide C. | |
| 144 | 16 | 24B | Brn-Gry | C435 Inhibit 5. | |
| 145 | 17 | 25B | Red-Gry | C435 Inhibit 6. | |
| 146 | 18 | 26B | Org-Gry | C435 Inhibit 7. | |
| 147 | 19 | 27B | Yel-Gry | C435 Inhibit 8. | |
| 148 | 20 | 28B | Grn-Gry | C435 Overide D. | |
| 149 | 21 | 29B | Blu-Gry | | |
| 150 | 22 | 30B | Vio-Gry | Dumbcard Trigger. | |
| 151 | 23 | 31B | Wht-Gry | Screen Supply. | |
| 152 | 24 | 38B | Org-Red | Credit In (Coin In). | |
| 153 | 25 | 39B | Yel-Red | Credit Out (Coin Out). | |
| 154 | 26 | 40B | Grn-Red | Cashbox (Cashbox). | |
| 155 | 27 | 37B | Blu-Red | Remote Out (Canceled Credits). | |
| 156 | 28 | 36B | Vio-Red | Games. | |
| 157 | 29 | 35B | Gry-Red | Tot Wins. | |
| 158 | 30 | 34B | Wht-Red | Total Bet. | |
| 159 | 31 | 33B | Pnk-Red | Jackpot. | |
| 160 | ||
| 161 | ||
| 162 | ******************************************************************************* | |
| 163 | ||
| 164 | ||
| 165 | *** Games Notes *** | |
| 166 | ||
| 167 | ||
| 168 | Nothing, yet... | |
| 169 | ||
| 170 | ||
| 171 | ******************************************************************************* | |
| 172 | ||
| 173 | -------------------- | |
| 174 | *** Memory Map *** | |
| 175 | -------------------- | |
| 176 | ||
| 177 | 0x000000 - 0x09FFFF ; ROM space. | |
| 178 | 0x210000 - 0x21FFFF ; NVRAM?. | |
| 179 | ||
| 180 | ||
| 181 | ******************************************************************************* | |
| 182 | ||
| 183 | ||
| 184 | DRIVER UPDATES: | |
| 185 | ||
| 186 | ||
| 187 | [2009-08-18] | |
| 188 | ||
| 189 | - Renamed Roulette V75 to Coinmaster Roulette V75. | |
| 190 | - Added Roulette controller program & sound ROMs. | |
| 191 | - Added 2 complete spanish Keno sets. | |
| 192 | - Added technical notes. | |
| 193 | ||
| 194 | ||
| 195 | [2009-08-17] | |
| 196 | ||
| 197 | - Initial release. | |
| 198 | - Added technical notes. | |
| 199 | ||
| 200 | ||
| 201 | TODO: | |
| 202 | ||
| 203 | - Interrupts generation is unknown. | |
| 204 | - Touch screen hook-up. | |
| 205 | - Fully understand why it trigger some RTEs that should be RTS at POST. | |
| 206 | ||
| 207 | ||
| 208 | *******************************************************************************/ | |
| 209 | ||
| 210 | ||
| 211 | #define CPU_CLOCK XTAL_14_7456MHz | |
| 212 | #define MACH_CLOCK XTAL_50MHz // 50.35 | |
| 213 | #define COM_CLOCK XTAL_20MHz | |
| 214 | #define SND_CLOCK XTAL_16_9344MHz | |
| 215 | ||
| 216 | #include "driver.h" | |
| 217 | #include "cpu/h83002/h8.h" | |
| 218 | #include "sound/ymz280b.h" | |
| 219 | ||
| 220 | static UINT16 *vram; | |
| 221 | ||
| 222 | ||
| 223 | /************************* | |
| 224 | * Video Hardware * | |
| 225 | *************************/ | |
| 226 | ||
| 227 | ||
| 228 | static VIDEO_START( coinmvga ) | |
| 229 | { | |
| 230 | ||
| 231 | } | |
| 232 | ||
| 233 | ||
| 234 | static VIDEO_UPDATE( coinmvga ) | |
| 235 | { | |
| 236 | const gfx_element *gfx = screen->machine->gfx[0]; | |
| 237 | int count = 0x04000/2; | |
| 238 | ||
| 239 | int y,x; | |
| 240 | ||
| 241 | ||
| 242 | for (y=0;y<64;y++) | |
| 243 | { | |
| 244 | for (x=0;x<128;x++) | |
| 245 | { | |
| 246 | int tile = vram[count]; | |
| 247 | //int colour = tile>>12; | |
| 248 | drawgfx_opaque(bitmap,cliprect,gfx,tile,0,0,0,x*8,y*8); | |
| 249 | ||
| 250 | count++; | |
| 251 | } | |
| 252 | } | |
| 253 | ||
| 254 | ||
| 255 | return 0; | |
| 256 | } | |
| 257 | ||
| 258 | ||
| 259 | static PALETTE_INIT( coinmvga ) | |
| 260 | { | |
| 261 | ||
| 262 | } | |
| 263 | ||
| 264 | ||
| 265 | /************************** | |
| 266 | * Read / Write Handlers * | |
| 267 | **************************/ | |
| 268 | ||
| 269 | //static WRITE8_HANDLER( debug_w ) | |
| 270 | //{ | |
| 271 | // popmessage("written : %02X", data); | |
| 272 | //} | |
| 273 | ||
| 274 | static WRITE16_HANDLER( ramdac_bg_w ) | |
| 275 | { | |
| 276 | static int pal_offs,internal_pal_offs,r,g,b; | |
| 277 | ||
| 278 | if(ACCESSING_BITS_8_15) | |
| 279 | { | |
| 280 | pal_offs = data >> 8; | |
| 281 | internal_pal_offs = 0; | |
| 282 | } | |
| 283 | else //if(mem_mask == 0x00ff) | |
| 284 | { | |
| 285 | switch(internal_pal_offs) | |
| 286 | { | |
| 287 | case 0: | |
| 288 | r = ((data & 0x3f) << 2) | ((data & 0x30) >> 4); | |
| 289 | internal_pal_offs++; | |
| 290 | break; | |
| 291 | case 1: | |
| 292 | g = ((data & 0x3f) << 2) | ((data & 0x30) >> 4); | |
| 293 | internal_pal_offs++; | |
| 294 | break; | |
| 295 | case 2: | |
| 296 | b = ((data & 0x3f) << 2) | ((data & 0x30) >> 4); | |
| 297 | palette_set_color(space->machine, pal_offs, MAKE_RGB(r, g, b)); | |
| 298 | internal_pal_offs = 0; | |
| 299 | pal_offs++; | |
| 300 | break; | |
| 301 | } | |
| 302 | } | |
| 303 | } | |
| 304 | ||
| 305 | ||
| 306 | static WRITE16_HANDLER( ramdac_fg_w ) | |
| 307 | { | |
| 308 | static int pal_offs,internal_pal_offs,r,g,b; | |
| 309 | ||
| 310 | if(ACCESSING_BITS_8_15) | |
| 311 | { | |
| 312 | pal_offs = data >> 8; | |
| 313 | internal_pal_offs = 0; | |
| 314 | } | |
| 315 | else | |
| 316 | { | |
| 317 | switch(internal_pal_offs) | |
| 318 | { | |
| 319 | case 0: | |
| 320 | r = ((data & 0x3f) << 2) | ((data & 0x30) >> 4); | |
| 321 | internal_pal_offs++; | |
| 322 | break; | |
| 323 | case 1: | |
| 324 | g = ((data & 0x3f) << 2) | ((data & 0x30) >> 4); | |
| 325 | internal_pal_offs++; | |
| 326 | break; | |
| 327 | case 2: | |
| 328 | b = ((data & 0x3f) << 2) | ((data & 0x30) >> 4); | |
| 329 | palette_set_color(space->machine, 0x100+pal_offs, MAKE_RGB(r, g, b)); | |
| 330 | internal_pal_offs = 0; | |
| 331 | pal_offs++; | |
| 332 | break; | |
| 333 | } | |
| 334 | } | |
| 335 | } | |
| 336 | ||
| 337 | /* | |
| 338 | static READ16_HANDLER( test_r ) | |
| 339 | { | |
| 340 | return mame_rand(space->machine); | |
| 341 | }*/ | |
| 342 | ||
| 343 | /************************* | |
| 344 | * Memory Map Information * | |
| 345 | *************************/ | |
| 346 | ||
| 347 | static ADDRESS_MAP_START( coinmvga_map, ADDRESS_SPACE_PROGRAM, 16 ) | |
| 348 | AM_RANGE(0x000000, 0x07ffff) AM_ROM | |
| 349 | AM_RANGE(0x080000, 0x0fffff) AM_ROM AM_REGION("maincpu", 0) //maybe not | |
| 350 | ||
| 351 | // AM_RANGE(0x0a0000, 0x0fffff) AM_RAM | |
| 352 | // AM_RANGE(0x100000, 0x1fffff) AM_RAM //colorama | |
| 353 | AM_RANGE(0x210000, 0x21ffff) AM_RAM AM_BASE(&vram) | |
| 354 | // AM_RANGE(0x40746e, 0x40746f) AM_READ(test_r) AM_WRITENOP //touch screen related, colorama | |
| 355 | // AM_RANGE(0x403afa, 0x403afb) AM_READ(test_r) AM_WRITENOP //touch screen related, cmrltv75 | |
| 356 | AM_RANGE(0x400000, 0x40ffff) AM_RAM | |
| 357 | ||
| 358 | AM_RANGE(0x600000, 0x600001) AM_WRITE(ramdac_bg_w) | |
| 359 | AM_RANGE(0x600004, 0x600005) AM_WRITE(ramdac_fg_w) | |
| 360 | AM_RANGE(0x600008, 0x600009) AM_DEVREADWRITE8("ymz", ymz280b_r, ymz280b_w, 0xffff) | |
| 361 | AM_RANGE(0x610000, 0x61000f) AM_RAM //touch screen i/o | |
| 362 | ||
| 363 | AM_RANGE(0x800000, 0x800001) AM_READ_PORT("DSW1") //"arrow" r? | |
| 364 | AM_RANGE(0x800002, 0x800003) AM_READ_PORT("DSW2") | |
| 365 | //0x800008 "arrow" w? | |
| 366 | ADDRESS_MAP_END | |
| 367 | ||
| 368 | static ADDRESS_MAP_START( coinmvga_io_map, ADDRESS_SPACE_IO, 8 ) | |
| 369 | /* Digital I/O ports (ports 4-B are valid on 16-bit H8/3xx) */ | |
| 370 | // AM_RANGE(H8_PORT_4, H8_PORT_4) | |
| 371 | // AM_RANGE(H8_PORT_5, H8_PORT_5) | |
| 372 | // AM_RANGE(H8_PORT_6, H8_PORT_6) | |
| 373 | // AM_RANGE(H8_PORT_7, H8_PORT_7) <---- 0006 RW colorama | |
| 374 | // AM_RANGE(H8_PORT_8, H8_PORT_8) | |
| 375 | // AM_RANGE(H8_PORT_9, H8_PORT_9) | |
| 376 | // AM_RANGE(H8_PORT_A, H8_PORT_A) | |
| 377 | // AM_RANGE(H8_PORT_B, H8_PORT_B) | |
| 378 | ||
| 379 | /* Analog Inputs */ | |
| 380 | // AM_RANGE(H8_ADC_0_H, H8_ADC_0_L) | |
| 381 | // AM_RANGE(H8_ADC_1_H, H8_ADC_1_L) | |
| 382 | // AM_RANGE(H8_ADC_2_H, H8_ADC_2_L) | |
| 383 | // AM_RANGE(H8_ADC_3_H, H8_ADC_3_L) | |
| 384 | ||
| 385 | /* Serial ports */ | |
| 386 | // AM_RANGE(H8_SERIAL_0, H8_SERIAL_0) | |
| 387 | // AM_RANGE(H8_SERIAL_1, H8_SERIAL_1) | |
| 388 | ||
| 389 | ADDRESS_MAP_END | |
| 390 | ||
| 391 | /* unknown writes (cmrltv75): | |
| 392 | ||
| 393 | CPU 'main' (PC=00000218): unmapped program memory word write to 00FFFFF2 = 001E & 00FF | |
| 394 | CPU 'main' (PC=0000021C): unmapped program memory word write to 00FFFFEC = E800 & FF00 | |
| 395 | CPU 'main' (PC=00000220): unmapped program memory word write to 00FFFFEC = 00FF & 00FF | |
| 396 | CPU 'main' (PC=00000224): unmapped program memory word write to 00FFFFEE = 00FD & 00FF | |
| 397 | CPU 'main' (PC=00000228): unmapped program memory word write to 00FFFFEE = F300 & FF00 | |
| 398 | CPU 'main' (PC=0000023C): unmapped program memory word write to 0040FBF2 = 0000 & FFFF | |
| 399 | CPU 'main' (PC=0000023C): unmapped program memory word write to 0040FBF4 = 023E & FFFF | |
| 400 | CPU 'main' (PC=00000252): unmapped program memory word write to 0040FBEE = 0000 & FFFF | |
| 401 | CPU 'main' (PC=00000252): unmapped program memory word write to 0040FBF0 = 0254 & FFFF | |
| 402 | CPU 'main' (PC=00000330): unmapped program memory word read from 0040FBEE & FFFF | |
| 403 | CPU 'main' (PC=00000330): unmapped program memory word read from 0040FBF0 & FFFF | |
| 404 | ||
| 405 | ||
| 406 | ** unknown writes (colorama): | |
| 407 | ||
| 408 | ||
| 409 | CPU 'main' (PC=00000218): unmapped program memory word write to 00FFFFF2 = 001E & 00FF | |
| 410 | CPU 'main' (PC=0000021C): unmapped program memory word write to 00FFFFEC = E800 & FF00 | |
| 411 | CPU 'main' (PC=00000220): unmapped program memory word write to 00FFFFEC = 00FF & 00FF | |
| 412 | CPU 'main' (PC=00000224): unmapped program memory word write to 00FFFFEE = 00FD & 00FF | |
| 413 | CPU 'main' (PC=00000228): unmapped program memory word write to 00FFFFEE = F300 & FF00 | |
| 414 | CPU 'main' (PC=0000023C): unmapped program memory word write to 0040B572 = 0000 & FFFF | |
| 415 | CPU 'main' (PC=0000023C): unmapped program memory word write to 0040B574 = 023E & FFFF | |
| 416 | CPU 'main' (PC=00000252): unmapped program memory word write to 0040B56E = 0000 & FFFF | |
| 417 | CPU 'main' (PC=00000252): unmapped program memory word write to 0040B570 = 0254 & FFFF | |
| 418 | CPU 'main' (PC=00000330): unmapped program memory word read from 0040B56E & FFFF | |
| 419 | CPU 'main' (PC=00000330): unmapped program memory word read from 0040B570 & FFFF | |
| 420 | CPU 'main' (PC=000000D4): unmapped program memory word write to 0040B5FA = 0000 & FFFF | |
| 421 | CPU 'main' (PC=000000D4): unmapped program memory word write to 0040B5FC = 00D6 & FFFF | |
| 422 | ||
| 423 | ||
| 424 | 000214: F81E ;mov.b #1e, R0L | |
| 425 | 000216: 38F3 ;mov.b R0L, @0ffffff3 | |
| 426 | 000218: F8E8 ;mov.b #e8, R0L | |
| 427 | 00021A: 38EC ;mov.b R0L, @0fffffec | |
| 428 | 00021C: F8FF ;mov.b #ff, R0L | |
| 429 | 00021E: 38ED ;mov.b R0L, @0fffffed | |
| 430 | 000220: F8FD ;mov.b #fd, R0L | |
| 431 | 000222: 38EF ;mov.b R0L, @0fffffef | |
| 432 | 000224: F8F3 ;mov.b #f3, R0L | |
| 433 | 000226: 38EE ;mov.b R0L, @0fffffee | |
| 434 | 000228: F8F8 ;mov.b #f8, R0L | |
| 435 | 00022A: 38CD ;mov.b R0L, @0fffffcd | |
| 436 | ||
| 437 | 600000 W \ | |
| 438 | 600002 W | seems registers... | |
| 439 | 600004 W | | |
| 440 | 600008 W / | |
| 441 | ||
| 442 | 210000-21ffff W (NVRAM?) | |
| 443 | ||
| 444 | ||
| 445 | I/O | |
| 446 | ||
| 447 | 0006 RW | |
| 448 | ||
| 449 | ||
| 450 | */ | |
| 451 | ||
| 452 | /************************* | |
| 453 | * Input Ports * | |
| 454 | *************************/ | |
| 455 | ||
| 456 | static INPUT_PORTS_START( coinmvga ) | |
| 457 | ||
| 458 | PORT_START("IN0") | |
| 459 | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_Q) PORT_NAME("IN0-0001") | |
| 460 | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_W) PORT_NAME("IN0-0002") | |
| 461 | PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_E) PORT_NAME("IN0-0004") | |
| 462 | PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_R) PORT_NAME("IN0-0008") | |
| 463 | PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_T) PORT_NAME("IN0-0010") | |
| 464 | PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_Y) PORT_NAME("IN0-0020") | |
| 465 | PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_U) PORT_NAME("IN0-0040") | |
| 466 | PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_I) PORT_NAME("IN0-0080") | |
| 467 | PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_A) PORT_NAME("IN0-0100") | |
| 468 | PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_S) PORT_NAME("IN0-0200") | |
| 469 | PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_D) PORT_NAME("IN0-0400") | |
| 470 | PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F) PORT_NAME("IN0-0800") | |
| 471 | PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_G) PORT_NAME("IN0-1000") | |
| 472 | PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_H) PORT_NAME("IN0-2000") | |
| 473 | PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_J) PORT_NAME("IN0-4000") | |
| 474 | PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_K) PORT_NAME("IN0-8000") | |
| 475 | ||
| 476 | PORT_START("IN1") | |
| 477 | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_Z) PORT_NAME("IN1-0001") | |
| 478 | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_X) PORT_NAME("IN1-0002") | |
| 479 | PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_C) PORT_NAME("IN1-0004") | |
| 480 | PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_V) PORT_NAME("IN1-0008") | |
| 481 | PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_B) PORT_NAME("IN1-0010") | |
| 482 | PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_N) PORT_NAME("IN1-0020") | |
| 483 | PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_M) PORT_NAME("IN1-0040") | |
| 484 | PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_L) PORT_NAME("IN1-0080") | |
| 485 | PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_1) PORT_NAME("IN1-0100") | |
| 486 | PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_2) PORT_NAME("IN1-0200") | |
| 487 | PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_3) PORT_NAME("IN1-0400") | |
| 488 | PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_4) PORT_NAME("IN1-0800") | |
| 489 | PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_5) PORT_NAME("IN1-1000") | |
| 490 | PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_6) PORT_NAME("IN1-2000") | |
| 491 | PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_7) PORT_NAME("IN1-4000") | |
| 492 | PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_8) PORT_NAME("IN1-8000") | |
| 493 | ||
| 494 | PORT_START("DSW1") | |
| 495 | PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unknown ) ) | |
| 496 | PORT_DIPSETTING( 0x0001, DEF_STR( Off ) ) | |
| 497 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 498 | PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unknown ) ) | |
| 499 | PORT_DIPSETTING( 0x0002, DEF_STR( Off ) ) | |
| 500 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 501 | PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unknown ) ) | |
| 502 | PORT_DIPSETTING( 0x0004, DEF_STR( Off ) ) | |
| 503 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 504 | PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Unknown ) ) | |
| 505 | PORT_DIPSETTING( 0x0008, DEF_STR( Off ) ) | |
| 506 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 507 | PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unknown ) ) | |
| 508 | PORT_DIPSETTING( 0x0010, DEF_STR( Off ) ) | |
| 509 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 510 | PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unknown ) ) | |
| 511 | PORT_DIPSETTING( 0x0020, DEF_STR( Off ) ) | |
| 512 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 513 | PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unknown ) ) | |
| 514 | PORT_DIPSETTING( 0x0040, DEF_STR( Off ) ) | |
| 515 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 516 | PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unknown ) ) | |
| 517 | PORT_DIPSETTING( 0x0080, DEF_STR( Off ) ) | |
| 518 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 519 | PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) ) | |
| 520 | PORT_DIPSETTING( 0x0100, DEF_STR( Off ) ) | |
| 521 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 522 | PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Unknown ) ) | |
| 523 | PORT_DIPSETTING( 0x0200, DEF_STR( Off ) ) | |
| 524 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 525 | PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unknown ) ) | |
| 526 | PORT_DIPSETTING( 0x0400, DEF_STR( Off ) ) | |
| 527 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 528 | PORT_DIPNAME( 0x0800, 0x0800, DEF_STR( Unknown ) ) | |
| 529 | PORT_DIPSETTING( 0x0800, DEF_STR( Off ) ) | |
| 530 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 531 | PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Unknown ) ) | |
| 532 | PORT_DIPSETTING( 0x1000, DEF_STR( Off ) ) | |
| 533 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 534 | PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Unknown ) ) | |
| 535 | PORT_DIPSETTING( 0x2000, DEF_STR( Off ) ) | |
| 536 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 537 | PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Unknown ) ) | |
| 538 | PORT_DIPSETTING( 0x4000, DEF_STR( Off ) ) | |
| 539 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 540 | PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unknown ) ) | |
| 541 | PORT_DIPSETTING( 0x8000, DEF_STR( Off ) ) | |
| 542 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 543 | ||
| 544 | PORT_START("DSW2") | |
| 545 | PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unknown ) ) | |
| 546 | PORT_DIPSETTING( 0x0001, DEF_STR( Off ) ) | |
| 547 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 548 | PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unknown ) ) | |
| 549 | PORT_DIPSETTING( 0x0002, DEF_STR( Off ) ) | |
| 550 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 551 | PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unknown ) ) | |
| 552 | PORT_DIPSETTING( 0x0004, DEF_STR( Off ) ) | |
| 553 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 554 | PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Unknown ) ) | |
| 555 | PORT_DIPSETTING( 0x0008, DEF_STR( Off ) ) | |
| 556 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 557 | PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unknown ) ) | |
| 558 | PORT_DIPSETTING( 0x0010, DEF_STR( Off ) ) | |
| 559 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 560 | PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unknown ) ) | |
| 561 | PORT_DIPSETTING( 0x0020, DEF_STR( Off ) ) | |
| 562 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 563 | PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unknown ) ) | |
| 564 | PORT_DIPSETTING( 0x0040, DEF_STR( Off ) ) | |
| 565 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 566 | PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unknown ) ) | |
| 567 | PORT_DIPSETTING( 0x0080, DEF_STR( Off ) ) | |
| 568 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 569 | PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) ) | |
| 570 | PORT_DIPSETTING( 0x0100, DEF_STR( Off ) ) | |
| 571 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 572 | PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Unknown ) ) | |
| 573 | PORT_DIPSETTING( 0x0200, DEF_STR( Off ) ) | |
| 574 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 575 | PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unknown ) ) | |
| 576 | PORT_DIPSETTING( 0x0400, DEF_STR( Off ) ) | |
| 577 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 578 | PORT_DIPNAME( 0x0800, 0x0800, DEF_STR( Unknown ) ) | |
| 579 | PORT_DIPSETTING( 0x0800, DEF_STR( Off ) ) | |
| 580 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 581 | PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Unknown ) ) | |
| 582 | PORT_DIPSETTING( 0x1000, DEF_STR( Off ) ) | |
| 583 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 584 | PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Unknown ) ) | |
| 585 | PORT_DIPSETTING( 0x2000, DEF_STR( Off ) ) | |
| 586 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 587 | PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Unknown ) ) | |
| 588 | PORT_DIPSETTING( 0x4000, DEF_STR( Off ) ) | |
| 589 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 590 | PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unknown ) ) | |
| 591 | PORT_DIPSETTING( 0x8000, DEF_STR( Off ) ) | |
| 592 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) | |
| 593 | ||
| 594 | INPUT_PORTS_END | |
| 595 | ||
| 596 | ||
| 597 | /************************* | |
| 598 | * Graphics Layouts * | |
| 599 | *************************/ | |
| 600 | ||
| 601 | static const gfx_layout tiles8x8_layout = | |
| 602 | { | |
| 603 | 8, 8, | |
| 604 | RGN_FRAC(1,1), | |
| 605 | 4, | |
| 606 | { 3,2,1,0 }, | |
| 607 | { 12, 8, 4, 0, 28, 24, 20, 16 }, | |
| 608 | { 0*8, 4*8, 8*8, 12*8, 16*8, 20*8, 24*8, 28*8 }, | |
| 609 | 32*8 | |
| 610 | }; | |
| 611 | ||
| 612 | /* FIX ME */ | |
| 613 | static const gfx_layout tiles16x16_layout = | |
| 614 | { | |
| 615 | 8,8, | |
| 616 | RGN_FRAC(1,2), | |
| 617 | 8, | |
| 618 | { RGN_FRAC(1,2)+3,3,RGN_FRAC(1,2)+2,2,RGN_FRAC(1,2)+1,1,RGN_FRAC(1,2)+0,0 }, | |
| 619 | { 12, 4, 28, 20, 12+32*8, 4+32*8, 28+32*8, 20+32*8 }, | |
| 620 | { 0*8, 4*8, 8*8, 12*8, 16*8, 20*8, 24*8, 28*8 }, | |
| 621 | 32*8*2 | |
| 622 | }; | |
| 623 | ||
| 624 | ||
| 625 | /****************************** | |
| 626 | * Graphics Decode Information * | |
| 627 | ******************************/ | |
| 628 | ||
| 629 | static GFXDECODE_START( coinmvga ) | |
| 630 | GFXDECODE_ENTRY( "gfx1", 0, tiles8x8_layout, 0x100, 16 ) /* Foreground GFX */ | |
| 631 | GFXDECODE_ENTRY( "gfx2", 0, tiles16x16_layout, 0x000, 16 ) /* Background GFX */ | |
| 632 | GFXDECODE_END | |
| 633 | ||
| 634 | ||
| 635 | /************************* | |
| 636 | * Sound Interface * | |
| 637 | *************************/ | |
| 638 | ||
| 639 | static const ymz280b_interface ymz280b_intf = | |
| 640 | { | |
| 641 | 0 // irq ? | |
| 642 | }; | |
| 643 | ||
| 644 | static INTERRUPT_GEN( vblank_irq ) | |
| 645 | { | |
| 646 | //printf("1\n"); | |
| 647 | cpu_set_input_line(device, 2, HOLD_LINE); | |
| 648 | } | |
| 649 | ||
| 650 | ||
| 651 | /************************* | |
| 652 | * Machine Drivers * | |
| 653 | *************************/ | |
| 654 | ||
| 655 | static MACHINE_DRIVER_START( coinmvga ) | |
| 656 | ||
| 657 | /* basic machine hardware */ | |
| 658 | MDRV_CPU_ADD("maincpu", H83007, CPU_CLOCK) /* xtal */ | |
| 659 | MDRV_CPU_PROGRAM_MAP(coinmvga_map) | |
| 660 | MDRV_CPU_IO_MAP(coinmvga_io_map) | |
| 661 | MDRV_CPU_VBLANK_INT("screen", vblank_irq) /* wrong, fix me */ | |
| 662 | ||
| 663 | // MDRV_NVRAM_HANDLER(generic_0fill) | |
| 664 | ||
| 665 | /* video hardware */ | |
| 666 | MDRV_SCREEN_ADD("screen", RASTER) | |
| 667 | MDRV_SCREEN_REFRESH_RATE(60) | |
| 668 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) | |
| 669 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) | |
| 670 | MDRV_SCREEN_SIZE(640,480) | |
| 671 | MDRV_SCREEN_VISIBLE_AREA(0, 640-1, 0, 480-1) | |
| 672 | ||
| 673 | MDRV_GFXDECODE(coinmvga) | |
| 674 | ||
| 675 | MDRV_PALETTE_INIT(coinmvga) | |
| 676 | MDRV_PALETTE_LENGTH(512) | |
| 677 | ||
| 678 | MDRV_VIDEO_START(coinmvga) | |
| 679 | MDRV_VIDEO_UPDATE(coinmvga) | |
| 680 | ||
| 681 | /* sound hardware */ | |
| 682 | MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") | |
| 683 | ||
| 684 | MDRV_SOUND_ADD("ymz", YMZ280B, SND_CLOCK) | |
| 685 | MDRV_SOUND_CONFIG(ymz280b_intf) | |
| 686 | MDRV_SOUND_ROUTE(0, "lspeaker", 1.0) | |
| 687 | MDRV_SOUND_ROUTE(1, "rspeaker", 1.0) | |
| 688 | MACHINE_DRIVER_END | |
| 689 | ||
| 690 | ||
| 691 | /************************* | |
| 692 | * Rom Load * | |
| 693 | *************************/ | |
| 694 | ||
| 695 | /* | |
| 696 | Colorama (english) | |
| 697 | Standalone. Phisical arm on marquee + bet station. | |
| 698 | */ | |
| 699 | ||
| 700 | ROM_START( colorama ) | |
| 701 | ROM_REGION( 0x100000, "maincpu", 0 ) | |
| 702 | ROM_LOAD16_BYTE( "p521_prg1.cp1", 0x00001, 0x80000, CRC(f5da12cb) SHA1(d75fdda09e57c8a4637b0bcc98931796b5449435) ) | |
| 703 | ROM_LOAD16_BYTE( "p521_prg2.cp2", 0x00000, 0x80000, CRC(6db85d66) SHA1(21009aa01db5193d1be588deaeba8f89582d53dd) ) | |
| 704 | ||
| 705 | ROM_REGION( 0x100000, "gfx1", 0 ) | |
| 706 | ROM_LOAD16_BYTE( "p521_fore1.fg1", 0x00001, 0x80000, CRC(0a8fe27a) SHA1(29500040e2bd0b6f349abaf51bb7f8aaac73e8cf) ) | |
| 707 | ROM_LOAD16_BYTE( "p521_fore2.fg2", 0x00000, 0x80000, CRC(3ae78445) SHA1(ef590a6042969718d88732244d2639b7cd8ab507) ) | |
| 708 | ||
| 709 | ROM_REGION( 0x400000, "gfx2", 0 ) | |
| 710 | ROM_LOAD16_BYTE( "p521_back1.bg1", 0x200001, 0x100000, CRC(0c1a7a2d) SHA1(a7827c6091d0f78e146419261eca427cd229d445) ) | |
| 711 | ROM_LOAD16_BYTE( "p521_back2.bg2", 0x200000, 0x100000, CRC(218912d7) SHA1(64e3dc22ff6ae296e1843b6d6bfb02eb0d202db5) ) | |
| 712 | ROM_LOAD16_BYTE( "p521_back3.bg3", 0x000001, 0x100000, CRC(8ddad7d1) SHA1(0a41ca166c8a9eca2ee27d35a3ae41ddb8759dce) ) | |
| 713 | ROM_LOAD16_BYTE( "p521_back4.bg4", 0x000000, 0x100000, CRC(28d54ce1) SHA1(0dadae2e11f9b86dddb6a0c33abfbdb8b6f2d862) ) | |
| 714 | ||
| 715 | ROM_REGION( 0x100000, "ymz", 0 ) | |
| 716 | ROM_LOAD( "p521_snd.sp1", 0x00000, 0x100000, CRC(5c87bb98) SHA1(bc1b8c090fbae166e3a7e1da74bfd2e84c1a03f6) ) | |
| 717 | ||
| 718 | ROM_REGION( 0x0200, "plds", 0 ) | |
| 719 | ROM_LOAD( "palce22v10h25.u11", 0x0000, 0x0200, NO_DUMP ) | |
| 720 | ||
| 721 | ROM_END | |
| 722 | ||
| 723 | ||
| 724 | /* | |
| 725 | Coinmaster Roulette V75 (y2k, spanish) | |
| 726 | Phisical Unit + 10/15 bet stations. | |
| 727 | */ | |
| 728 | ||
| 729 | ROM_START( cmrltv75 ) | |
| 730 | ||
| 731 | /*** Bet Station ***/ | |
| 732 | ||
| 733 | ROM_REGION( 0x100000, "maincpu", 0 ) | |
| 734 | ROM_LOAD16_BYTE( "bet.cp1", 0x00001, 0x80000, CRC(2dc1c899) SHA1(2be488d23df5e50bbcfa4e66a49a455c617b29b4) ) | |
| 735 | ROM_LOAD16_BYTE( "bet.cp2", 0x00000, 0x80000, CRC(fcab8825) SHA1(79cb862ac5363ab90e91184efd9cfaec86bb82a5) ) | |
| 736 | ||
| 737 | ROM_REGION( 0x100000, "gfx1", 0 ) | |
| 738 | ROM_LOAD16_BYTE( "p497.fg1", 0x00001, 0x80000, CRC(ce5f9fe9) SHA1(a30f5f375eaa651ede4057449c1648c64d207577) ) | |
| 739 | ROM_LOAD16_BYTE( "p497.fg2", 0x00000, 0x80000, CRC(3846fad0) SHA1(409725ab8c9353a8d5774c5f010ace1077b3fd35) ) | |
| 740 | ||
| 741 | ROM_REGION( 0x400000, "gfx2", 0 ) | |
| 742 | ROM_LOAD16_BYTE( "p497.bg1", 0x200001, 0x100000, CRC(fadf2a5a) SHA1(ac5413ff213ef5c6210e716a24cd41519b81a54a) ) | |
| 743 | ROM_LOAD16_BYTE( "p497.bg2", 0x200000, 0x100000, CRC(5d648914) SHA1(2a4a2839293529aee500aacfbf1d6b12b328b2eb) ) | |
| 744 | ROM_LOAD16_BYTE( "p497.bg3", 0x000001, 0x100000, CRC(627e236c) SHA1(a4bd8b482cbac2bf2ab1723ee61d32480ede8985) ) | |
| 745 | ROM_LOAD16_BYTE( "p497.bg4", 0x000000, 0x100000, CRC(3698f748) SHA1(856eeed8eff79273ba3aafbbd5d0b1d89e9cff5b) ) | |
| 746 | ||
| 747 | ROM_REGION( 0x100000, "ymz", 0 ) | |
| 748 | ROM_LOAD( "betsound.sp1", 0x00000, 0x100000, CRC(979ecd0e) SHA1(827e8c86b27e5252368960fffe42ace167aa4495) ) | |
| 749 | ||
| 750 | ROM_REGION( 0x0200, "plds", 0 ) | |
| 751 | ROM_LOAD( "palce22v10h25.u11", 0x0000, 0x0200, NO_DUMP ) | |
| 752 | ||
| 753 | /*** Wheel Controller ***/ | |
| 754 | ||
| 755 | ROM_REGION( 0x100000, "wheelcpu", 0 ) | |
| 756 | ROM_LOAD16_BYTE( "wheel.cp1", 0x00001, 0x80000, CRC(57f8a869) SHA1(2a3cdae1bad5e94506b9b42b7f2630c52ffcbbef) ) | |
| 757 | ROM_LOAD16_BYTE( "wheel.cp2", 0x00000, 0x80000, CRC(a8441b04) SHA1(cc8f10390947c2a15b2c94b11574c5eeb69fded5) ) | |
| 758 | ||
| 759 | ROM_REGION( 0x800000, "wheelsnd", 0 ) /* the wheel controller has 8 sockets */ | |
| 760 | ROM_LOAD( "rwc497ym.sp1", 0x000000, 0x100000, CRC(13d6cff5) SHA1(ad1858f251e11017a427cbf7219d78bb2b854528) ) | |
| 761 | ROM_LOAD( "rwc497ym.sp2", 0x100000, 0x100000, CRC(f8c7efd1) SHA1(e86a7ef0617c85415334e1f39a9059d5b16bc7d1) ) | |
| 762 | ROM_LOAD( "rwc497ym.sp3", 0x200000, 0x100000, CRC(a1977dff) SHA1(c405bf1f1721ae864a2ff91ec7d637f03e431ad4) ) | |
| 763 | ROM_LOAD( "rwc497ym.sp4", 0x300000, 0x100000, CRC(f8cb0fb8) SHA1(3ea8f268bc8745a257eb4b20d7e79196d0f1fb9e) ) | |
| 764 | ROM_LOAD( "rwc497ym.sp5", 0x400000, 0x100000, CRC(788b52f7) SHA1(1b339cb984b807a08e6fde260b5ee2bc8ca66f62) ) | |
| 765 | ROM_LOAD( "rwc497ym.sp6", 0x500000, 0x100000, CRC(be94fd18) SHA1(2884cae7cf96008a78e77f42e8efb5c3ca8f4a4d) ) | |
| 766 | ||
| 767 | ROM_END | |
| 768 | ||
| 769 | ||
| 770 | /* | |
| 771 | Coinmaster Keno (y2k, spanish, 2000-12-14) | |
| 772 | Phisical Unit + 10 bet stations. | |
| 773 | */ | |
| 774 | ||
| 775 | ROM_START( cmkenosp ) | |
| 776 | ||
| 777 | /*** Bet Station ***/ | |
| 778 | ||
| 779 | ROM_REGION( 0x100000, "maincpu", 0 ) | |
| 780 | ROM_LOAD16_BYTE( "bet1.cp1", 0x00001, 0x80000, CRC(ee04b815) SHA1(cea29973cf9caa5c06bc312fc3b19e146c1ae063) ) | |
| 781 | ROM_LOAD16_BYTE( "bet2.cp2", 0x00000, 0x80000, CRC(32071845) SHA1(278217a70ea777f82ae91d11d51b832383eafdbe) ) | |
| 782 | ||
| 783 | ROM_REGION( 0x100000, "gfx1", 0 ) | |
| 784 | ROM_LOAD16_BYTE( "fore1.fg1", 0x00001, 0x80000, CRC(a3548c2a) SHA1(02f98ee09581a235df3704951683f9d2aab3b1e8) ) | |
| 785 | ROM_LOAD16_BYTE( "fore2.fg2", 0x00000, 0x80000, CRC(8b1afa73) SHA1(efd176dfb55f047b8e01b9460469936c86953417) ) | |
| 786 | ||
| 787 | ROM_REGION( 0x400000, "gfx2", 0 ) | |
| 788 | ROM_LOAD16_BYTE( "back1.bg1", 0x200001, 0x100000, CRC(8e9d1753) SHA1(4a733bc6b284571b2dae9e80ba8b88724e9dbffb) ) | |
| 789 | ROM_LOAD16_BYTE( "back2.bg2", 0x200000, 0x100000, CRC(aa4fe1ba) SHA1(241cf6ee13664d4cf0c559c26170cb561afca016) ) | |
| 790 | ROM_LOAD16_BYTE( "back3.bg3", 0x000001, 0x100000, CRC(9f26f0e0) SHA1(0c3d78e2befc6fdeb8c3534f5278d2d275106219) ) | |
| 791 | ROM_LOAD16_BYTE( "back4.bg4", 0x000000, 0x100000, CRC(96d33887) SHA1(ca7eb9f2cfeb65c69e837246c8c78ea56c057e66) ) | |
| 792 | ||
| 793 | ROM_REGION( 0x100000, "ymz", 0 ) | |
| 794 | ROM_LOAD( "betsound.sp1", 0x00000, 0x100000, CRC(979ecd0e) SHA1(827e8c86b27e5252368960fffe42ace167aa4495) ) | |
| 795 | ||
| 796 | ROM_REGION( 0x0200, "plds", 0 ) | |
| 797 | ROM_LOAD( "palce22v10h25.u11", 0x0000, 0x0200, NO_DUMP ) | |
| 798 | ||
| 799 | /*** Wheel Controller ***/ | |
| 800 | ||
| 801 | ROM_REGION( 0x100000, "wheelcpu", 0 ) | |
| 802 | ROM_LOAD16_BYTE( "wheel_prog_1.cp1", 0x00001, 0x80000, CRC(d56b0d2c) SHA1(d8a79fecf8fca92cc4856d9dad9f1d16d51b68a3) ) | |
| 803 | ROM_LOAD16_BYTE( "wheel_prog_2.cp2", 0x00000, 0x80000, CRC(cfc02d3e) SHA1(09e41b26c62137b31f8673184dad565932881f47) ) | |
| 804 | ||
| 805 | ROM_REGION( 0x800000, "wheelsnd", 0 ) /* the wheel controller has 8 sockets */ | |
| 806 | ROM_LOAD( "rwc497ym.sp1", 0x000000, 0x100000, CRC(90a93951) SHA1(73603f402eb3b62e69a745af9d45738f35bc0b4e) ) | |
| 807 | ROM_LOAD( "rwc497ym.sp2", 0x100000, 0x100000, CRC(f5d0a6e7) SHA1(c4a1c333854c95e37c0040fed35b72ac1e853832) ) | |
| 808 | ROM_LOAD( "rwc497ym.sp3", 0x200000, 0x100000, CRC(0e53c1a9) SHA1(0785c52b24277c9ba24d0fbf0ac335acb0235e23) ) | |
| 809 | ROM_LOAD( "rwc497ym.sp4", 0x300000, 0x100000, CRC(b5729ae7) SHA1(0e63fbb81ff5f2fef3c653f769db8073dff1214b) ) | |
| 810 | ||
| 811 | ROM_END | |
| 812 | ||
| 813 | ||
| 814 | /* | |
| 815 | Coinmaster Keno (y2k, spanish, 2000-12-02) | |
| 816 | Phisical Unit + 10 bet stations. | |
| 817 | */ | |
| 818 | ||
| 819 | ROM_START( cmkenospa ) | |
| 820 | ||
| 821 | /*** Bet Station ***/ | |
| 822 | ||
| 823 | ROM_REGION( 0x100000, "maincpu", 0 ) | |
| 824 | ROM_LOAD16_BYTE( "bet.cp1", 0x00001, 0x80000, CRC(ffdc69a0) SHA1(2ba6a36cb0953474164d4fb80a60bf8ca27e9a0c) ) | |
| 825 | ROM_LOAD16_BYTE( "bet.cp2", 0x00000, 0x80000, CRC(c46f237c) SHA1(75a60ace7277a90b3d7acd7838d1271fd41517f1) ) | |
| 826 | ||
| 827 | ROM_REGION( 0x100000, "gfx1", 0 ) | |
| 828 | ROM_LOAD16_BYTE( "fore1.fg1", 0x00001, 0x80000, CRC(a3548c2a) SHA1(02f98ee09581a235df3704951683f9d2aab3b1e8) ) | |
| 829 | ROM_LOAD16_BYTE( "fore2.fg2", 0x00000, 0x80000, CRC(8b1afa73) SHA1(efd176dfb55f047b8e01b9460469936c86953417) ) | |
| 830 | ||
| 831 | ROM_REGION( 0x400000, "gfx2", 0 ) | |
| 832 | ROM_LOAD16_BYTE( "back1.bg1", 0x200001, 0x100000, CRC(8e9d1753) SHA1(4a733bc6b284571b2dae9e80ba8b88724e9dbffb) ) | |
| 833 | ROM_LOAD16_BYTE( "back2.bg2", 0x200000, 0x100000, CRC(aa4fe1ba) SHA1(241cf6ee13664d4cf0c559c26170cb561afca016) ) | |
| 834 | ROM_LOAD16_BYTE( "back3.bg3", 0x000001, 0x100000, CRC(9f26f0e0) SHA1(0c3d78e2befc6fdeb8c3534f5278d2d275106219) ) | |
| 835 | ROM_LOAD16_BYTE( "back4.bg4", 0x000000, 0x100000, CRC(96d33887) SHA1(ca7eb9f2cfeb65c69e837246c8c78ea56c057e66) ) | |
| 836 | ||
| 837 | ROM_REGION( 0x100000, "ymz", 0 ) | |
| 838 | ROM_LOAD( "betsound.sp1", 0x00000, 0x100000, CRC(979ecd0e) SHA1(827e8c86b27e5252368960fffe42ace167aa4495) ) | |
| 839 | ||
| 840 | ROM_REGION( 0x0200, "plds", 0 ) | |
| 841 | ROM_LOAD( "palce22v10h25.u11", 0x0000, 0x0200, NO_DUMP ) | |
| 842 | ||
| 843 | /*** Wheel Controller ***/ | |
| 844 | ||
| 845 | ROM_REGION( 0x100000, "wheelcpu", 0 ) | |
| 846 | ROM_LOAD16_BYTE( "wheel.cp1", 0x00001, 0x80000, CRC(16f750b7) SHA1(b1c99ec659cda1b2fe6ef9ec39f4cdd8f0ddecec) ) | |
| 847 | ROM_LOAD16_BYTE( "wheel.cp2", 0x00000, 0x80000, CRC(49a50ae7) SHA1(89857ebd94ebbfa040d99648a46779c9ba8f85dd) ) | |
| 848 | ||
| 849 | ROM_REGION( 0x800000, "wheelsnd", 0 ) /* the wheel controller has 8 sockets */ | |
| 850 | ROM_LOAD( "rwc497ym.sp1", 0x000000, 0x100000, CRC(90a93951) SHA1(73603f402eb3b62e69a745af9d45738f35bc0b4e) ) | |
| 851 | ROM_LOAD( "rwc497ym.sp2", 0x100000, 0x100000, CRC(f5d0a6e7) SHA1(c4a1c333854c95e37c0040fed35b72ac1e853832) ) | |
| 852 | ROM_LOAD( "rwc497ym.sp3", 0x200000, 0x100000, CRC(0e53c1a9) SHA1(0785c52b24277c9ba24d0fbf0ac335acb0235e23) ) | |
| 853 | ROM_LOAD( "rwc497ym.sp4", 0x300000, 0x100000, CRC(b5729ae7) SHA1(0e63fbb81ff5f2fef3c653f769db8073dff1214b) ) | |
| 854 | ||
| 855 | ROM_END | |
| 856 | ||
| 857 | ||
| 858 | /************************* | |
| 859 | * Driver Init * | |
| 860 | *************************/ | |
| 861 | ||
| 862 | static DRIVER_INIT( colorama ) | |
| 863 | { | |
| 864 | UINT16 *ROM; | |
| 865 | ROM = (UINT16 *)memory_region(machine, "maincpu"); | |
| 866 | ||
| 867 | // rte in non-irq routines? wtf? patch them to rts... | |
| 868 | ROM[0x02B476/2] = 0x5470; | |
| 869 | ROM[0x02AE3A/2] = 0x5470; | |
| 870 | ROM[0x02A9FC/2] = 0x5470; | |
| 871 | ROM[0x02AA3A/2] = 0x5470; | |
| 872 | ||
| 873 | ROM[0x02729e/2] = 0x5470; | |
| 874 | ROM[0x029fb4/2] = 0x5470; | |
| 875 | ROM[0x02a224/2] = 0x5470; | |
| 876 | ROM[0x02a94e/2] = 0x5470; | |
| 877 | } | |
| 878 | ||
| 879 | static DRIVER_INIT( cmrltv75 ) | |
| 880 | { | |
| 881 | UINT16 *ROM; | |
| 882 | ROM = (UINT16 *)memory_region(machine, "maincpu"); | |
| 883 | ||
| 884 | // rte in non-irq routines? wtf? patch them to rts... | |
| 885 | ROM[0x056fd6/2] = 0x5470; | |
| 886 | ROM[0x05655c/2] = 0x5470; | |
| 887 | ROM[0x05659a/2] = 0x5470; | |
| 888 | ROM[0x05699a/2] = 0x5470; | |
| 889 | ||
| 890 | //... | |
| 891 | } | |
| 892 | ||
| 893 | ||
| 894 | /************************* | |
| 895 | * Game Drivers * | |
| 896 | *************************/ | |
| 897 | ||
| 898 | /* YEAR NAME PARENT MACHINE INPUT INIT ROT COMPANY FULLNAME FLAGS */ | |
| 899 | GAME( 2001, colorama, 0, coinmvga, coinmvga, colorama, ROT0, "Coinmaster-Gaming, Ltd.", "Colorama (english)", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND | GAME_NOT_WORKING ) | |
| 900 | GAME( 2001, cmrltv75, 0, coinmvga, coinmvga, cmrltv75, ROT90, "Coinmaster-Gaming, Ltd.", "Coinmaster Roulette V75 (Y2K, spanish)", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND | GAME_NOT_WORKING ) | |
| 901 | GAME( 2000, cmkenosp, 0, coinmvga, coinmvga, 0, ROT90, "Coinmaster-Gaming, Ltd.", "Coinmaster Keno (Y2K, spanish, 2000-12-14)", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND | GAME_NOT_WORKING ) | |
| 902 | GAME( 2000, cmkenospa, cmkenosp, coinmvga, coinmvga, 0, ROT90, "Coinmaster-Gaming, Ltd.", "Coinmaster Keno (Y2K, spanish, 2000-12-02)", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND | GAME_NOT_WORKING ) |
| r5490 | r5491 | |
|---|---|---|
| 31 | 31 | #include "machine/timekpr.h" |
| 32 | 32 | #include "machine/6532riot.h" |
| 33 | 33 | #include "sound/pokey.h" |
| 34 | #include "sound/5220 | |
| 34 | #include "sound/tms5220 | |
| 35 | 35 | #include "sound/2151intf.h" |
| 36 | 36 | |
| 37 | 37 | static int tomcat_control_num; |
| r5490 | r5491 | |
|---|---|---|
| 1529 | 1529 | *************************************/ |
| 1530 | 1530 | |
| 1531 | 1531 | /* these games run on standard Zaxxon hardware */ |
| 1532 | GAME( 1982, zaxxon, 0, zaxxon, zaxxon, 0, ROT90, "Sega", "Zaxxon (set 1)", GAME_SUPPORTS_SAVE ) | |
| 1533 | GAME( 1982, zaxxon2, zaxxon, zaxxon, zaxxon, 0, ROT90, "Sega", "Zaxxon (set 2)", GAME_SUPPORTS_SAVE ) | |
| 1534 | GAME( 1982, zaxxonb, zaxxon, zaxxon, zaxxon, zaxxonb, ROT90, "bootleg", "Jackson", GAME_SUPPORTS_SAVE ) | |
| 1535 | GAME( 1982, szaxxon, 0, zaxxon, szaxxon, szaxxon, ROT90, "Sega", "Super Zaxxon (315-5013)", GAME_SUPPORTS_SAVE ) | |
| 1536 | GAME( 1984, futspy, 0, futspy, futspy, futspy, ROT90, "Sega", "Future Spy (315-5061)", GAME_SUPPORTS_SAVE ) | |
| 1532 | GAME( 1982, zaxxon, 0, zaxxon, zaxxon, 0, ROT90, "Sega", "Zaxxon (set 1)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1533 | GAME( 1982, zaxxon2, zaxxon, zaxxon, zaxxon, 0, ROT90, "Sega", "Zaxxon (set 2)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1534 | GAME( 1982, zaxxonb, zaxxon, zaxxon, zaxxon, zaxxonb, ROT90, "bootleg", "Jackson", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1535 | GAME( 1982, szaxxon, 0, zaxxon, szaxxon, szaxxon, ROT90, "Sega", "Super Zaxxon (315-5013)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1536 | GAME( 1984, futspy, 0, futspy, futspy, futspy, ROT90, "Sega", "Future Spy (315-5061)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1537 | 1537 | |
| 1538 | 1538 | /* these games run on modified Zaxxon hardware with no skewing, extra inputs, and a */ |
| 1539 | 1539 | /* G-80 Universal Sound Board */ |
| r5490 | r5491 | |
| 1542 | 1542 | |
| 1543 | 1543 | /* these games run on a slightly newer Zaxxon hardware with more ROM space and a */ |
| 1544 | 1544 | /* custom sprite DMA chip */ |
| 1545 | GAME( 1983, congo, 0, congo, congo, 0, ROT90, "Sega", "Congo Bongo", GAME_SUPPORTS_SAVE ) | |
| 1546 | GAME( 1983, tiptop, congo, congo, congo, 0, ROT90, "Sega", "Tip Top", GAME_SUPPORTS_SAVE ) | |
| 1545 | GAME( 1983, congo, 0, congo, congo, 0, ROT90, "Sega", "Congo Bongo", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1546 | GAME( 1983, tiptop, congo, congo, congo, 0, ROT90, "Sega", "Tip Top", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) |
| r5490 | r5491 | |
|---|---|---|
| 47 | 47 | VIDEO_UPDATE( karnov ); |
| 48 | 48 | WRITE16_HANDLER( karnov_playfield_swap_w ); |
| 49 | 49 | WRITE16_HANDLER( karnov_videoram_w ); |
| 50 | void karnov_flipscreen_w(int data); | |
| 50 | void karnov_flipscreen_w(running_machine *machine, int data); | |
| 51 | 51 | |
| 52 | 52 | VIDEO_START( karnov ); |
| 53 | 53 | VIDEO_START( wndrplnt ); |
| r5490 | r5491 | |
| 317 | 317 | |
| 318 | 318 | case 8: /* HSHIFT (9 bits) - Top bit indicates video flip */ |
| 319 | 319 | COMBINE_DATA(&karnov_scroll[0]); |
| 320 | karnov_flipscreen_w(data>>15); | |
| 320 | karnov_flipscreen_w(space->machine, data>>15); | |
| 321 | 321 | break; |
| 322 | 322 | |
| 323 | 323 | case 0xa: /* VSHIFT */ |
| r5490 | r5491 | |
|---|---|---|
| 608 | 608 | static int ddenlovr_blit_reg[2]; |
| 609 | 609 | int hi_bits; |
| 610 | 610 | |
| 611 | profiler_mark(PROFILER_VIDEO); | |
| 611 | profiler_mark_start(PROFILER_VIDEO); | |
| 612 | 612 | |
| 613 | 613 | switch(offset) |
| 614 | 614 | { |
| r5490 | r5491 | |
| 759 | 759 | } |
| 760 | 760 | } |
| 761 | 761 | |
| 762 | profiler_mark | |
| 762 | profiler_mark | |
| 763 | 763 | } |
| 764 | 764 | |
| 765 | 765 | |
| r5490 | r5491 | |
| 771 | 771 | static int ddenlovr_blit_reg[2]; |
| 772 | 772 | int hi_bits; |
| 773 | 773 | |
| 774 | profiler_mark(PROFILER_VIDEO); | |
| 774 | profiler_mark_start(PROFILER_VIDEO); | |
| 775 | 775 | |
| 776 | 776 | switch(offset) |
| 777 | 777 | { |
| r5490 | r5491 | |
| 917 | 917 | } |
| 918 | 918 | } |
| 919 | 919 | |
| 920 | profiler_mark | |
| 920 | profiler_mark | |
| 921 | 921 | } |
| 922 | 922 | |
| 923 | 923 | |
| r5490 | r5491 | |
| 933 | 933 | { |
| 934 | 934 | int hi_bits; |
| 935 | 935 | |
| 936 | profiler_mark(PROFILER_VIDEO); | |
| 936 | profiler_mark_start(PROFILER_VIDEO); | |
| 937 | 937 | |
| 938 | 938 | hi_bits = (ddenlovr_blit_reg & 0x03) << 8; |
| 939 | 939 | |
| r5490 | r5491 | |
| 1115 | 1115 | break; |
| 1116 | 1116 | } |
| 1117 | 1117 | |
| 1118 | profiler_mark | |
| 1118 | profiler_mark | |
| 1119 | 1119 | } |
| 1120 | 1120 | |
| 1121 | 1121 | |
| r5490 | r5491 | |
| 4054 | 4054 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN) |
| 4055 | 4055 | |
| 4056 | 4056 | PORT_START("KEY0") |
| 4057 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_A ) // A | |
| 4058 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_E ) // E | |
| 4057 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) PORT_PLAYER(2) // A | |
| 4058 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) PORT_PLAYER(2) // E | |
| 4059 | 4059 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // I |
| 4060 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 4060 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 4061 | 4061 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) // Kan |
| 4062 | 4062 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 ) |
| 4063 | 4063 | |
| 4064 | 4064 | PORT_START("KEY1") |
| 4065 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_B ) // B | |
| 4066 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_F ) // F | |
| 4065 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) PORT_PLAYER(2) // B | |
| 4066 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) PORT_PLAYER(2) // F | |
| 4067 | 4067 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // J |
| 4068 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 4068 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 4069 | 4069 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) // Reach |
| 4070 | 4070 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_MAHJONG_BET ) PORT_PLAYER(2) // BET |
| 4071 | 4071 | |
| 4072 | 4072 | PORT_START("KEY2") |
| 4073 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_C ) // C | |
| 4074 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_G ) // G | |
| 4073 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_C ) PORT_PLAYER(2) // C | |
| 4074 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_G ) PORT_PLAYER(2) // G | |
| 4075 | 4075 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // K |
| 4076 | 4076 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) // Chi |
| 4077 | 4077 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) // Ron |
| 4078 | 4078 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 4079 | 4079 | |
| 4080 | 4080 | PORT_START("KEY3") |
| 4081 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_D ) // D | |
| 4082 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_H ) // H | |
| 4081 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) PORT_PLAYER(2) // D | |
| 4082 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_H ) PORT_PLAYER(2) // H | |
| 4083 | 4083 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // L |
| 4084 | 4084 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) // PON |
| 4085 | 4085 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| r5490 | r5491 | |
| 4094 | 4094 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_MAHJONG_SMALL ) PORT_PLAYER(2) // "s" |
| 4095 | 4095 | |
| 4096 | 4096 | PORT_START("KEY5") |
| 4097 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("1") PORT_CODE(KEYCODE_1_PAD) // A | |
| 4098 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("5") PORT_CODE(KEYCODE_5_PAD) // E | |
| 4097 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) | |
| 4098 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) | |
| 4099 | 4099 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // I |
| 4100 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 4100 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 4101 | 4101 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) // Kan |
| 4102 | 4102 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 ) |
| 4103 | 4103 | |
| 4104 | 4104 | PORT_START("KEY6") |
| 4105 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("2") PORT_CODE(KEYCODE_2_PAD) // B | |
| 4106 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("6") PORT_CODE(KEYCODE_6_PAD) // F | |
| 4105 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) | |
| 4106 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) | |
| 4107 | 4107 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // J |
| 4108 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 4108 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 4109 | 4109 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) // Reach |
| 4110 | 4110 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_MAHJONG_BET ) // BET |
| 4111 | 4111 | |
| 4112 | 4112 | PORT_START("KEY7") |
| 4113 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("3") PORT_CODE(KEYCODE_3_PAD) // C | |
| 4114 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("7") PORT_CODE(KEYCODE_7_PAD) // G | |
| 4113 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_C ) | |
| 4114 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_G ) | |
| 4115 | 4115 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // K |
| 4116 | 4116 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) // Chi |
| 4117 | 4117 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) // Ron |
| 4118 | 4118 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 4119 | 4119 | |
| 4120 | 4120 | PORT_START("KEY8") |
| 4121 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("4") PORT_CODE(KEYCODE_4_PAD) // D | |
| 4122 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("8") PORT_CODE(KEYCODE_8_PAD) // H | |
| 4121 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) | |
| 4122 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_H ) | |
| 4123 | 4123 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // L |
| 4124 | 4124 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) // PON |
| 4125 | 4125 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| r5490 | r5491 | |
| 5700 | 5700 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN) |
| 5701 | 5701 | |
| 5702 | 5702 | PORT_START("KEY0") |
| 5703 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("1") PORT_CODE(KEYCODE_1_PAD) // A | |
| 5704 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("5") PORT_CODE(KEYCODE_5_PAD) // E | |
| 5703 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) | |
| 5704 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) | |
| 5705 | 5705 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // I |
| 5706 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 5706 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 5707 | 5707 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_SCORE ) // Kan |
| 5708 | 5708 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1) |
| 5709 | 5709 | |
| 5710 | 5710 | PORT_START("KEY1") |
| 5711 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("2") PORT_CODE(KEYCODE_2_PAD) // B | |
| 5712 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("6") PORT_CODE(KEYCODE_6_PAD) // F | |
| 5711 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) | |
| 5712 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) | |
| 5713 | 5713 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // J |
| 5714 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 5714 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 5715 | 5715 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_SMALL ) // Reach |
| 5716 | 5716 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) // BET |
| 5717 | 5717 | |
| 5718 | 5718 | PORT_START("KEY2") |
| 5719 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_ | |
| 5719 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_ | |
| 5720 | 5720 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) // G |
| 5721 | 5721 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // K |
| 5722 | 5722 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_BIG ) // Chi |
| r5490 | r5491 | |
| 5724 | 5724 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 5725 | 5725 | |
| 5726 | 5726 | PORT_START("KEY3") |
| 5727 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("4") PORT_CODE(KEYCODE_4_PAD) // D | |
| 5728 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) // H | |
| 5729 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // L | |
| 5727 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) | |
| 5728 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) // H | |
| 5729 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // L | |
| 5730 | 5730 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_DOUBLE_UP ) // PON |
| 5731 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN) | |
| 5732 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN) | |
| 5731 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 5732 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 5733 | 5733 | |
| 5734 | 5734 | PORT_START("KEY4") |
| 5735 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN) | |
| 5735 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 5736 | 5736 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) // "t" |
| 5737 | 5737 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // "w" |
| 5738 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN) | |
| 5738 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 5739 | 5739 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) // "b" |
| 5740 | 5740 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) // "s" |
| 5741 | 5741 | |
| 5742 | 5742 | PORT_START("KEY5") |
| 5743 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_A ) PORT_PLAYER(2) // A | |
| 5744 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_E ) PORT_PLAYER(2) // E | |
| 5743 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) PORT_PLAYER(2) | |
| 5744 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) PORT_PLAYER(2) | |
| 5745 | 5745 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // I |
| 5746 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 5746 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 5747 | 5747 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_SCORE ) PORT_PLAYER(2) // Kan |
| 5748 | 5748 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2) |
| 5749 | 5749 | |
| 5750 | 5750 | PORT_START("KEY6") |
| 5751 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_B ) PORT_PLAYER(2) // B | |
| 5752 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_F ) PORT_PLAYER(2) // F | |
| 5751 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) PORT_PLAYER(2) | |
| 5752 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) PORT_PLAYER(2) | |
| 5753 | 5753 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // J |
| 5754 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 5754 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 5755 | 5755 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_SMALL ) PORT_PLAYER(2) // Reach |
| 5756 | 5756 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) // BET |
| 5757 | 5757 | |
| 5758 | 5758 | PORT_START("KEY7") |
| 5759 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_ | |
| 5759 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_ | |
| 5760 | 5760 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_PLAYER(2) // G |
| 5761 | 5761 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // K |
| 5762 | 5762 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_BIG ) PORT_PLAYER(2) // Chi |
| r5490 | r5491 | |
| 5764 | 5764 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 5765 | 5765 | |
| 5766 | 5766 | PORT_START("KEY8") |
| 5767 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_D ) PORT_PLAYER(2) // D | |
| 5768 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN) PORT_PLAYER(2) // H | |
| 5769 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // L | |
| 5767 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) PORT_PLAYER(2) | |
| 5768 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_PLAYER(2) // H | |
| 5769 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // L | |
| 5770 | 5770 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_DOUBLE_UP ) PORT_PLAYER(2) // PON |
| 5771 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN) | |
| 5772 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN) | |
| 5771 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 5772 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 5773 | 5773 | |
| 5774 | 5774 | PORT_START("KEY9") |
| 5775 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN) | |
| 5775 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 5776 | 5776 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) // "t" |
| 5777 | 5777 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // "w" |
| 5778 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN) | |
| 5778 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 5779 | 5779 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) // "b" |
| 5780 | 5780 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) // "s" |
| 5781 | 5781 | |
| r5490 | r5491 | |
| 6508 | 6508 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 6509 | 6509 | |
| 6510 | 6510 | /* keyb 1 */ |
| 6511 | ||
| 6512 | 6511 | PORT_START("KEY0") |
| 6513 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("1") PORT_CODE(KEYCODE_1_PAD) // A | |
| 6514 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("5") PORT_CODE(KEYCODE_5_PAD) // E | |
| 6512 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) | |
| 6513 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) | |
| 6515 | 6514 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // I |
| 6516 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 6515 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 6517 | 6516 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) // Kan |
| 6518 | 6517 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 ) |
| 6519 | 6518 | |
| 6520 | 6519 | PORT_START("KEY1") |
| 6521 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("2") PORT_CODE(KEYCODE_2_PAD) // B | |
| 6522 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("6") PORT_CODE(KEYCODE_6_PAD) // F | |
| 6520 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) | |
| 6521 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) | |
| 6523 | 6522 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // J |
| 6524 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 6523 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 6525 | 6524 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) // Reach |
| 6526 | 6525 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) // BET |
| 6527 | 6526 | |
| 6528 | 6527 | PORT_START("KEY2") |
| 6529 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("3") PORT_CODE(KEYCODE_3_PAD) // C | |
| 6530 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("7") PORT_CODE(KEYCODE_7_PAD) // G | |
| 6528 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_C ) | |
| 6529 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_G ) | |
| 6531 | 6530 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // K |
| 6532 | 6531 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) // Chi |
| 6533 | 6532 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) // Ron |
| 6534 | 6533 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 6535 | 6534 | |
| 6536 | 6535 | PORT_START("KEY3") |
| 6537 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("4") PORT_CODE(KEYCODE_4_PAD) // D | |
| 6538 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("8") PORT_CODE(KEYCODE_8_PAD) // H | |
| 6536 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) | |
| 6537 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_H ) | |
| 6539 | 6538 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // L |
| 6540 | 6539 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) // PON |
| 6541 | 6540 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| r5490 | r5491 | |
| 6550 | 6549 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) // "s" |
| 6551 | 6550 | |
| 6552 | 6551 | /* keyb 2 */ |
| 6553 | ||
| 6554 | 6552 | PORT_START("KEY5") |
| 6555 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_A ) PORT_PLAYER(2) // A | |
| 6556 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_E ) PORT_PLAYER(2) // E | |
| 6553 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) PORT_PLAYER(2) | |
| 6554 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) PORT_PLAYER(2) | |
| 6557 | 6555 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // I |
| 6558 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 6556 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 6559 | 6557 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) // Kan |
| 6560 | 6558 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 ) |
| 6561 | 6559 | |
| 6562 | 6560 | PORT_START("KEY6") |
| 6563 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_B ) PORT_PLAYER(2) // B | |
| 6564 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_F ) PORT_PLAYER(2) // F | |
| 6561 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) PORT_PLAYER(2) | |
| 6562 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) PORT_PLAYER(2) | |
| 6565 | 6563 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // J |
| 6566 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 6564 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_ | |
| 6567 | 6565 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) // Reach |
| 6568 | 6566 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) // BET |
| 6569 | 6567 | |
| 6570 | 6568 | PORT_START("KEY7") |
| 6571 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_C ) PORT_PLAYER(2) // C | |
| 6572 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_G ) PORT_PLAYER(2) // G | |
| 6569 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_C ) PORT_PLAYER(2) | |
| 6570 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_G ) PORT_PLAYER(2) | |
| 6573 | 6571 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // K |
| 6574 | 6572 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) // Chi |
| 6575 | 6573 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) // Ron |
| 6576 | 6574 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 6577 | 6575 | |
| 6578 | 6576 | PORT_START("KEY8") |
| 6579 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_D ) PORT_PLAYER(2) // D | |
| 6580 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_H ) PORT_PLAYER(2) // H | |
| 6577 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) PORT_PLAYER(2) | |
| 6578 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_H ) PORT_PLAYER(2) | |
| 6581 | 6579 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) // L |
| 6582 | 6580 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) // PON |
| 6583 | 6581 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| r5490 | r5491 | |
|---|---|---|
| 3202 | 3202 | ROM_LOAD( "fb040a.u33", 0x000000, 0x020000, CRC(4b62c4d9) SHA1(35c943dde70438a411714070e42a84366db5ef83) ) |
| 3203 | 3203 | |
| 3204 | 3204 | ROM_REGION( 0x1000000, "gfx1", 0 ) /* Sprites */ /* not sure these are all correct size */ |
| 3205 | ROM_LOAD( "fb020a.u1", 0x000000, 0x080000, CRC(da1b7373) SHA1(89510901848f1798fb76dd82d1cd9ac97c41521d) ) | |
| 3206 | ROM_LOAD( "fb022a.u5", 0x080000, 0x080000, CRC(60aa1282) SHA1(4648816016e00df3256226ba5134f6e5bb429909) ) | |
| 3205 | ROM_LOAD( "fb-020a.u1", 0x000000, 0x100000, CRC(87e55c6d) SHA1(87886c045d7c30b8dee3c8fb0bf8f2cdbc5fd7fb) ) | |
| 3207 | 3206 | ROM_LOAD( "fb020b.u2", 0x100000, 0x100000, CRC(276b9d7b) SHA1(7a154f65b4737f2b6ac8effa3352711079f571dc) ) |
| 3208 | 3207 | ROM_LOAD( "fb021a.u3", 0x200000, 0x100000, CRC(7da15d37) SHA1(345cf2242e8210a697294a45197f2b3b974de885) ) |
| 3209 | 3208 | ROM_LOAD( "fb021b.u4", 0x300000, 0x100000, CRC(6a512d7b) SHA1(7fc3002d23262a9a590a283ea9e111e38d889ef2) ) |
| 3210 | ROM_LOAD( "fb023.u7", 0x400000, 0x100000, CRC(132794bd) SHA1(bcc73c3183c59a4b66f79d04774773b8a9239501) ) | |
| 3211 | ROM_LOAD( "fb022b.u6", 0x500000, 0x080000, CRC(cd05a5c8) SHA1(9f000cca8d31e19fdc4b38c00c3ed13f71e5541c) ) | |
| 3209 | ROM_LOAD( "fb022a.u5", 0x400000, 0x080000, CRC(60aa1282) SHA1(4648816016e00df3256226ba5134f6e5bb429909) ) | |
| 3210 | ROM_LOAD( "fb022b.u6", 0x480000, 0x080000, CRC(cd05a5c8) SHA1(9f000cca8d31e19fdc4b38c00c3ed13f71e5541c) ) | |
| 3211 | ROM_LOAD( "fb023.u7", 0x500000, 0x100000, CRC(132794bd) SHA1(bcc73c3183c59a4b66f79d04774773b8a9239501) ) | |
| 3212 | 3212 | |
| 3213 | 3213 | ROM_REGION( 0x400000, "gfx2", 0 ) /* Tiles (scrambled) */ |
| 3214 | 3214 | ROM_LOAD( "fb010.u65", 0x000000, 0x100000, CRC(296ffd92) SHA1(183a28e4594c428deb4726ed22d5166592b94b60) ) // 42 pin mask rom |
| r5490 | r5491 | |
| 3260 | 3260 | ROM_REGION( 0x020000, "cpu1", 0 ) /* MCU Code */ |
| 3261 | 3261 | ROM_LOAD( "fb040e.u33", 0x000000, 0x020000, CRC(299d0746) SHA1(67fe3a47ab01fa02ce2bb5836c2041986c19d875) ) |
| 3262 | 3262 | |
| 3263 | ROM_REGION( 0x600000, "gfx1", 0 ) /* Sprites */ | |
| 3264 | ROM_LOAD( "fb020a.u1", 0x000000, 0x080000, CRC(da1b7373) SHA1(89510901848f1798fb76dd82d1cd9ac97c41521d) ) | |
| 3265 | ROM_LOAD( "fb022a.u5", 0x080000, 0x080000, CRC(60aa1282) SHA1(4648816016e00df3256226ba5134f6e5bb429909) ) | |
| 3263 | ROM_REGION( 0x1000000, "gfx1", 0 ) /* Sprites */ /* not sure these are all correct size */ | |
| 3264 | ROM_LOAD( "fb-020a.u1", 0x000000, 0x100000, CRC(87e55c6d) SHA1(87886c045d7c30b8dee3c8fb0bf8f2cdbc5fd7fb) ) | |
| 3266 | 3265 | ROM_LOAD( "fb020b.u2", 0x100000, 0x100000, CRC(276b9d7b) SHA1(7a154f65b4737f2b6ac8effa3352711079f571dc) ) |
| 3267 | 3266 | ROM_LOAD( "fb021a.u3", 0x200000, 0x100000, CRC(7da15d37) SHA1(345cf2242e8210a697294a45197f2b3b974de885) ) |
| 3268 | 3267 | ROM_LOAD( "fb021b.u4", 0x300000, 0x100000, CRC(6a512d7b) SHA1(7fc3002d23262a9a590a283ea9e111e38d889ef2) ) |
| 3269 | ROM_LOAD( "fb023.u7", 0x400000, 0x100000, CRC(132794bd) SHA1(bcc73c3183c59a4b66f79d04774773b8a9239501) ) | |
| 3270 | ROM_LOAD( "fb022b.u6", 0x500000, 0x080000, CRC(cd05a5c8) SHA1(9f000cca8d31e19fdc4b38c00c3ed13f71e5541c) ) | |
| 3268 | ROM_LOAD( "fb022a.u5", 0x400000, 0x080000, CRC(60aa1282) SHA1(4648816016e00df3256226ba5134f6e5bb429909) ) | |
| 3269 | ROM_LOAD( "fb022b.u6", 0x480000, 0x080000, CRC(cd05a5c8) SHA1(9f000cca8d31e19fdc4b38c00c3ed13f71e5541c) ) | |
| 3270 | ROM_LOAD( "fb023.u7", 0x500000, 0x100000, CRC(132794bd) SHA1(bcc73c3183c59a4b66f79d04774773b8a9239501) ) | |
| 3271 | 3271 | |
| 3272 | 3272 | ROM_REGION( 0x400000, "gfx2", 0 ) /* Tiles (scrambled) */ |
| 3273 | 3273 | ROM_LOAD( "fb010.u65", 0x000000, 0x100000, CRC(296ffd92) SHA1(183a28e4594c428deb4726ed22d5166592b94b60) ) // 42 pin mask rom |
| r5490 | r5491 | |
| 3328 | 3328 | ROM_REGION( 0x020000, "cpu1", 0 ) /* MCU Code */ |
| 3329 | 3329 | ROM_LOAD( "fb040j.u33", 0x000000, 0x020000, CRC(299d0746) SHA1(67fe3a47ab01fa02ce2bb5836c2041986c19d875) ) |
| 3330 | 3330 | |
| 3331 | ROM_REGION( 0x600000, "gfx1", 0 ) /* Sprites */ | |
| 3332 | ROM_LOAD( "fb020a.u1", 0x000000, 0x080000, CRC(da1b7373) SHA1(89510901848f1798fb76dd82d1cd9ac97c41521d) ) | |
| 3333 | ROM_LOAD( "fb022a.u5", 0x080000, 0x080000, CRC(60aa1282) SHA1(4648816016e00df3256226ba5134f6e5bb429909) ) | |
| 3331 | ROM_REGION( 0x1000000, "gfx1", 0 ) /* Sprites */ /* not sure these are all correct size */ | |
| 3332 | ROM_LOAD( "fb-020a.u1", 0x000000, 0x100000, CRC(87e55c6d) SHA1(87886c045d7c30b8dee3c8fb0bf8f2cdbc5fd7fb) ) | |
| 3334 | 3333 | ROM_LOAD( "fb020b.u2", 0x100000, 0x100000, CRC(276b9d7b) SHA1(7a154f65b4737f2b6ac8effa3352711079f571dc) ) |
| 3335 | 3334 | ROM_LOAD( "fb021a.u3", 0x200000, 0x100000, CRC(7da15d37) SHA1(345cf2242e8210a697294a45197f2b3b974de885) ) |
| 3336 | 3335 | ROM_LOAD( "fb021b.u4", 0x300000, 0x100000, CRC(6a512d7b) SHA1(7fc3002d23262a9a590a283ea9e111e38d889ef2) ) |
| 3337 | ROM_LOAD( "fb023.u7", 0x400000, 0x100000, CRC(132794bd) SHA1(bcc73c3183c59a4b66f79d04774773b8a9239501) ) | |
| 3338 | ROM_LOAD( "fb022b.u6", 0x500000, 0x080000, CRC(cd05a5c8) SHA1(9f000cca8d31e19fdc4b38c00c3ed13f71e5541c) ) | |
| 3336 | ROM_LOAD( "fb022a.u5", 0x400000, 0x080000, CRC(60aa1282) SHA1(4648816016e00df3256226ba5134f6e5bb429909) ) | |
| 3337 | ROM_LOAD( "fb022b.u6", 0x480000, 0x080000, CRC(cd05a5c8) SHA1(9f000cca8d31e19fdc4b38c00c3ed13f71e5541c) ) | |
| 3338 | ROM_LOAD( "fb023.u7", 0x500000, 0x100000, CRC(132794bd) SHA1(bcc73c3183c59a4b66f79d04774773b8a9239501) ) | |
| 3339 | 3339 | |
| 3340 | 3340 | ROM_REGION( 0x400000, "gfx2", 0 ) /* Tiles (scrambled) */ |
| 3341 | 3341 | ROM_LOAD( "fb010.u65", 0x000000, 0x100000, CRC(296ffd92) SHA1(183a28e4594c428deb4726ed22d5166592b94b60) ) // 42 pin mask rom |
| r5490 | r5491 | |
|---|---|---|
| 122 | 122 | #include "cpu/m68000/m68000.h" |
| 123 | 123 | #include "cpu/m6502/m6502.h" |
| 124 | 124 | #include "machine/atarigen.h" |
| 125 | #include "sound/5220 | |
| 125 | #include "sound/tms5220 | |
| 126 | 126 | #include "sound/2151intf.h" |
| 127 | 127 | #include "sound/pokey.h" |
| 128 | 128 | #include "gauntlet.h" |
| r5490 | r5491 | |
|---|---|---|
| 28 | 28 | and no cocktail mode) |
| 29 | 29 | - if it's like System 16, the top bit of palette ram should be an additional bit |
| 30 | 30 | for Green. But is it ever not 0? |
| 31 | - Logic Pro 2 sound test menu is bugged on the real pcb. You can't change the sound | |
| 32 | sample and music selected due to an incorrect compare/branch at pc=0x3fd0/0x3fd2 | |
| 33 | (for sfx) and pc=0x3ffa/0x3ffc (for bgm). Patching the two compare opcodes with | |
| 34 | the value 0xb041 lets you properly change the sound and bgm in the test mode, | |
| 35 | otherwise they're stuck at 19 and 03 respectively. Verified on real hardware. | |
| 36 | - Logic Pro has an unemulated graphical effect: when you insert a coin, the screen | |
| 37 | becomes very slightly darker until the next 'scene change'. This is not emulated | |
| 38 | yet. | |
| 39 | - Both Logic Pro and Logic Pro 2 have 4 pixels of garbage (related to fg layer?) | |
| 40 | at the left edge of the screen on the real pcb. Sprites can properly be displayed | |
| 41 | in this area. Mame displays this area as black. | |
| 31 | 42 | |
| 32 | 43 | ***************************************************************************/ |
| 33 | 44 | |
| r5490 | r5491 | |
| 237 | 248 | static MACHINE_DRIVER_START( deniam16b ) |
| 238 | 249 | |
| 239 | 250 | /* basic machine hardware */ |
| 240 | MDRV_CPU_ADD("maincpu", M68000,25 | |
| 251 | MDRV_CPU_ADD("maincpu", M68000,XTAL_25MHz | |
| 241 | 252 | MDRV_CPU_PROGRAM_MAP(deniam16b_map) |
| 242 | 253 | MDRV_CPU_VBLANK_INT("screen", irq4_line_hold) |
| 243 | 254 | |
| 244 | MDRV_CPU_ADD("audiocpu", Z80,25 | |
| 255 | MDRV_CPU_ADD("audiocpu", Z80,XTAL_25MHz | |
| 245 | 256 | MDRV_CPU_PROGRAM_MAP(sound_map) |
| 246 | 257 | MDRV_CPU_IO_MAP(sound_io_map) |
| 247 | 258 | |
| r5490 | r5491 | |
| 253 | 264 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) |
| 254 | 265 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 255 | 266 | MDRV_SCREEN_SIZE(512, 256) |
| 256 | MDRV_SCREEN_VISIBLE_AREA(24*8, 64*8-1, 0*8, 28*8-1) | |
| 267 | //MDRV_SCREEN_VISIBLE_AREA(24*8, 64*8-1, 0*8, 28*8-1) // looks better but doesn't match hardware | |
| 268 | MDRV_SCREEN_VISIBLE_AREA(24*8-4, 64*8-5, 0*8, 28*8-1) | |
| 257 | 269 | |
| 258 | 270 | MDRV_GFXDECODE(deniam) |
| 259 | 271 | MDRV_PALETTE_LENGTH(2048) |
| r5490 | r5491 | |
| 264 | 276 | /* sound hardware */ |
| 265 | 277 | MDRV_SPEAKER_STANDARD_MONO("mono") |
| 266 | 278 | |
| 267 | MDRV_SOUND_ADD("ym", YM3812, 25 | |
| 279 | MDRV_SOUND_ADD("ym", YM3812, XTAL_25MHz | |
| 268 | 280 | MDRV_SOUND_CONFIG(ym3812_config) |
| 269 | 281 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.60) |
| 270 | 282 | |
| 271 | MDRV_SOUND_ADD("oki", OKIM6295, 1056000) | |
| 272 | MDRV_SOUND_CONFIG(okim6295_interface_pin7high) // clock frequency & pin 7 not verified | |
| 283 | MDRV_SOUND_ADD("oki", OKIM6295, XTAL_25MHz/24) /* 1.041620 measured, = 1.0416666Mhz verified */ | |
| 284 | MDRV_SOUND_CONFIG(okim6295_interface_pin7high) // pin 7 verified high | |
| 273 | 285 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) |
| 274 | 286 | MACHINE_DRIVER_END |
| 275 | 287 | |
| 276 | 288 | static MACHINE_DRIVER_START( deniam16c ) |
| 277 | 289 | |
| 278 | 290 | /* basic machine hardware */ |
| 279 | MDRV_CPU_ADD("maincpu", M68000,25 | |
| 291 | MDRV_CPU_ADD("maincpu", M68000,XTAL_25MHz | |
| 280 | 292 | MDRV_CPU_PROGRAM_MAP(deniam16c_map) |
| 281 | 293 | MDRV_CPU_VBLANK_INT("screen", irq4_line_hold) |
| 282 | 294 | |
| r5490 | r5491 | |
| 288 | 300 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) |
| 289 | 301 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 290 | 302 | MDRV_SCREEN_SIZE(512, 256) |
| 291 | MDRV_SCREEN_VISIBLE_AREA(24*8, 64*8-1, 0*8, 28*8-1) | |
| 303 | //MDRV_SCREEN_VISIBLE_AREA(24*8, 64*8-1, 0*8, 28*8-1) // looks better but doesn't match hardware | |
| 304 | MDRV_SCREEN_VISIBLE_AREA(24*8-4, 64*8-5, 0*8, 28*8-1) | |
| 292 | 305 | |
| 293 | 306 | MDRV_GFXDECODE(deniam) |
| 294 | 307 | MDRV_PALETTE_LENGTH(2048) |
| r5490 | r5491 | |
| 299 | 312 | /* sound hardware */ |
| 300 | 313 | MDRV_SPEAKER_STANDARD_MONO("mono") |
| 301 | 314 | |
| 302 | MDRV_SOUND_ADD("ym", YM3812, 25 | |
| 315 | MDRV_SOUND_ADD("ym", YM3812, XTAL_25MHz | |
| 303 | 316 | MDRV_SOUND_CONFIG(ym3812_config) |
| 304 | 317 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.60) |
| 305 | 318 | |
| 306 | MDRV_SOUND_ADD("oki", OKIM6295, 1056000) | |
| 307 | MDRV_SOUND_CONFIG(okim6295_interface_pin7high) // clock frequency & pin 7 not verified | |
| 319 | MDRV_SOUND_ADD("oki", OKIM6295, XTAL_25MHz/24) /* 1.041620 measured, = 1.0416666Mhz verified */ | |
| 320 | MDRV_SOUND_CONFIG(okim6295_interface_pin7high) // pin 7 verified high | |
| 308 | 321 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) |
| 309 | 322 | MACHINE_DRIVER_END |
| 310 | 323 | |
| r5490 | r5491 | |
| 402 | 415 | |
| 403 | 416 | |
| 404 | 417 | |
| 405 | GAME( 1996, logicpro, 0, deniam16b, logicpr2, logicpro, ROT0, "Deniam", "Logic Pro (Japan)", | |
| 418 | GAME( 1996, logicpro, 0, deniam16b, logicpr2, logicpro, ROT0, "Deniam", "Logic Pro (Japan)", GAME_IMPERFECT_GRAPHICS ) | |
| 406 | 419 | GAME( 1996, croquis, logicpro, deniam16b, logicpr2, logicpro, ROT0, "Deniam", "Croquis (Germany)", 0 ) |
| 407 | 420 | GAME( 1996, karianx, 0, deniam16b, karianx, karianx, ROT0, "Deniam", "Karian Cross (Rev. 1.0)", 0 ) |
| 408 | 421 | GAME( 1997, logicpr2, 0, deniam16c, logicpr2, logicpro, ROT0, "Deniam", "Logic Pro 2 (Japan)", GAME_IMPERFECT_SOUND ) |
| r5490 | r5491 | |
|---|---|---|
| 421 | 421 | MDRV_CPU_VBLANK_INT("screen", redalert_vblank_interrupt) |
| 422 | 422 | |
| 423 | 423 | /* video hardware */ |
| 424 | MDRV_IMPORT_FROM( | |
| 424 | MDRV_IMPORT_FROM(panther_video) | |
| 425 | 425 | |
| 426 | 426 | /* audio hardware */ |
| 427 | 427 | MDRV_IMPORT_FROM(ww3_audio) |
| r5490 | r5491 | |
| 463 | 463 | ROM_LOAD( "q7a.bin", 0x7000, 0x0800, CRC(febd1674) SHA1(e122d0855ab6a352d741f9013c20ec31e0068248) ) |
| 464 | 464 | |
| 465 | 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 */ | |
| 466 | ROM_LOAD( "6349-1j-8026.1a", 0x0000, 0x0200, CRC(ea9c2ada) SHA1(cb720c0d77b24f995e0750b3fa42a68962c7a977) ) /* 512*8 74S472 or compatible BPROM like a 82s147 */ | |
| 468 | 467 | ROM_END |
| 469 | 468 | |
| 470 | 469 | |
| r5490 | r5491 | |
| 537 | 536 | * |
| 538 | 537 | *************************************/ |
| 539 | 538 | |
| 540 | GAME( 1981, panther, 0, panther, panther, 0, ROT270, "Irem", "Panther", GAME_NO_SOUND | GAME_SUPPORTS_SAVE | |
| 539 | GAME( 1981, panther, 0, panther, panther, 0, ROT270, "Irem", "Panther", GAME_NO_SOUND | GAME_SUPPORTS_SAVE | |
| 541 | 540 | GAME( 1981, redalert, 0, redalert, redalert, 0, ROT270, "Irem + GDI", "Red Alert", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) |
| 542 | 541 | GAME( 1981, ww3, 0, ww3, redalert, 0, ROT270, "Irem", "WW III", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) |
| 543 | 542 | GAME( 1981, demoneye, 0, demoneye, demoneye, 0, ROT270, "Irem", "Demoneye-X", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) |
| r5490 | r5491 | |
|---|---|---|
| 19 | 19 | * Spy Hunter crashes at the end of the boat level |
| 20 | 20 | * sprite placement on the scrolling games seems a bit off |
| 21 | 21 | |
| 22 | ||
| 22 | 23 | **************************************************************************** |
| 23 | 24 | |
| 25 | Game Hardware | |
| 26 | ||
| 27 | Sarge: | |
| 28 | * Mono Board (A080-91787-C000) | |
| 29 | * Turbo Cheap Squeak (A080-91779-B000) | |
| 30 | * MCR/2 Dual Power Amp (A082-90910-F000) | |
| 31 | ||
| 32 | Spy Hunter: | |
| 33 | * MCR/III CPU (A080-91442-J000) | |
| 34 | * Super Sound I/O (A082-90913-F000) | |
| 35 | * MCR/III Video Gen (A082-91433-J000) | |
| 36 | * Cheap Squeak Deluxe (A080-91671-E000) | |
| 37 | * Absolute Position Board (A080-91649-C000) | |
| 38 | * Lamp Driver Board (A080-91673-B000) | |
| 39 | * MCR/2 Dual Power Amp (A082-90910-F000) | |
| 40 | ||
| 41 | **************************************************************************** | |
| 42 | ||
| 24 | 43 | Memory map |
| 25 | 44 | |
| 26 | 45 | **************************************************************************** |
| r5490 | r5491 | |
| 1211 | 1230 | ROM_LOAD( "spr_6e.bin", 0x08000, 0x8000, CRC(7cc6fb28) SHA1(5fe24d5114551b4a4bf303cd612da332555c0f93) ) |
| 1212 | 1231 | ROM_LOAD( "spr_5e.bin", 0x10000, 0x8000, CRC(c832375c) SHA1(dfb7782b13e1e959e0ecd5da771cd38962f6952b) ) |
| 1213 | 1232 | ROM_LOAD( "spr_4e.bin", 0x18000, 0x8000, CRC(c382267d) SHA1(6b459e9ec7948a529b5308357851a0bede085aef) ) |
| 1233 | ||
| 1234 | ROM_REGION( 0x0007, "pals", 0) /* PAL's located on the Mono Board (91787) */ | |
| 1235 | ROM_LOAD( "a59a26axlcxhd.13j.bin", 0x0000, 0x0001, NO_DUMP ) /* PLS153N */ | |
| 1236 | ROM_LOAD( "a59a26axlbxhd.2j.bin", 0x0000, 0x0001, NO_DUMP ) /* PLS153N */ | |
| 1237 | ROM_LOAD( "a59a26axlaxhd.3j.bin", 0x0000, 0x0001, NO_DUMP ) /* PLS153N */ | |
| 1238 | ROM_LOAD( "0066-314bx-xxqx.6h.bin", 0x0000, 0x0001, NO_DUMP ) /* Unknown PAL Type */ | |
| 1239 | ROM_LOAD( "0066-316bx-xxqx.5h.bin", 0x0000, 0x0001, NO_DUMP ) /* Unknown PAL Type */ | |
| 1240 | ROM_LOAD( "0066-315bx-xxqx.5g.bin", 0x0000, 0x0001, NO_DUMP ) /* Unknown PAL Type */ | |
| 1241 | ROM_LOAD( "0066-313bx-xxqx.4g.bin", 0x0000, 0x0001, NO_DUMP ) /* Unknown PAL Type */ | |
| 1214 | 1242 | ROM_END |
| 1215 | 1243 | |
| 1216 | 1244 |
| r5490 | r5491 | |
|---|---|---|
| 20 | 20 | * Guided Missile |
| 21 | 21 | * M-4 |
| 22 | 22 | * Clowns |
| 23 | * Space Walk | |
| 23 | 24 | * Extra Inning |
| 24 | 25 | * Shuffleboard |
| 25 | 26 | * Dog Patch |
| r5490 | r5491 | |
| 33 | 34 | |
| 34 | 35 | Other games on this basic hardware: |
| 35 | 36 | * Gun Fight (cocktail version) |
| 36 | * Space Walk | |
| 37 | 37 | * 4 Player Bowling Alley (cocktail version) |
| 38 | 38 | |
| 39 | 39 | Notes: |
| r5490 | r5491 | |
| 152 | 152 | #include "invaders.lh" |
| 153 | 153 | #include "invad2ct.lh" |
| 154 | 154 | #include "lagunar.lh" |
| 155 | #include "spacwalk.lh" | |
| 155 | 156 | |
| 156 | 157 | |
| 157 | 158 | |
| r5490 | r5491 | |
| 1839 | 1840 | MACHINE_DRIVER_END |
| 1840 | 1841 | |
| 1841 | 1842 | |
| 1843 | ||
| 1844 | /************************************* | |
| 1845 | * | |
| 1846 | * Space Walk (PCB #640) | |
| 1847 | * | |
| 1848 | *************************************/ | |
| 1849 | ||
| 1842 | 1850 | static ADDRESS_MAP_START( spacwalk_io_map, ADDRESS_SPACE_IO, 8 ) |
| 1843 | 1851 | ADDRESS_MAP_GLOBAL_MASK(0x7) |
| 1844 | 1852 | |
| r5490 | r5491 | |
| 1847 | 1855 | AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2") |
| 1848 | 1856 | AM_RANGE(0x03, 0x03) AM_READ(mb14241_0_shift_result_r) |
| 1849 | 1857 | |
| 1850 | AM_RANGE(0x04, 0x04) AM_WRITE(watchdog_reset_w) | |
| 1851 | ||
| 1852 | 1858 | AM_RANGE(0x01, 0x01) AM_WRITE(mb14241_0_shift_count_w) |
| 1853 | 1859 | AM_RANGE(0x02, 0x02) AM_WRITE(mb14241_0_shift_data_w) |
| 1860 | AM_RANGE(0x03, 0x03) AM_WRITE(spacwalk_audio_1_w) | |
| 1861 | AM_RANGE(0x04, 0x04) AM_WRITE(watchdog_reset_w) | |
| 1854 | 1862 | ADDRESS_MAP_END |
| 1855 | 1863 | |
| 1856 | 1864 | static INPUT_PORTS_START( spacwalk ) |
| r5490 | r5491 | |
| 1867 | 1875 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 1868 | 1876 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1869 | 1877 | |
| 1878 | /* 8 pin DIP Switch on location C2 on PCB A084-90700-D640 */ | |
| 1879 | /* PCB picture also shows a 2nd DIP Switch on location B2, supposedly for language selection, | |
| 1880 | but ROM contents suggests it's not connected (no different languages or unmapped reads) */ | |
| 1870 | 1881 | 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 ) ) | |
| 1882 | PORT_DIPNAME( 0x03, 0x01, DEF_STR( Game_Time ) ) PORT_DIPLOCATION("C2:1,2") | |
| 1883 | PORT_DIPSETTING( 0x03, "40 seconds + 20 extended" ) PORT_CONDITION("IN2", 0x30, PORTCOND_NOTEQUALS, 0x00) // 45 + 20 for 2 players | |
| 1884 | PORT_DIPSETTING( 0x02, "50 seconds + 25 extended" ) PORT_CONDITION("IN2", 0x30, PORTCOND_NOTEQUALS, 0x00) // 60 + 30 for 2 players | |
| 1885 | PORT_DIPSETTING( 0x01, "60 seconds + 30 extended" ) PORT_CONDITION("IN2", 0x30, PORTCOND_NOTEQUALS, 0x00) // 75 + 35 for 2 players | |
| 1886 | PORT_DIPSETTING( 0x00, "70 seconds + 35 extended" ) PORT_CONDITION("IN2", 0x30, PORTCOND_NOTEQUALS, 0x00) // 90 + 45 for 2 players | |
| 1887 | PORT_DIPSETTING( 0x03, "40 seconds" ) PORT_CONDITION("IN2", 0x30, PORTCOND_EQUALS, 0x00) | |
| 1888 | PORT_DIPSETTING( 0x02, "50 seconds" ) PORT_CONDITION("IN2", 0x30, PORTCOND_EQUALS, 0x00) | |
| 1889 | PORT_DIPSETTING( 0x01, "60 seconds" ) PORT_CONDITION("IN2", 0x30, PORTCOND_EQUALS, 0x00) | |
| 1890 | PORT_DIPSETTING( 0x00, "70 seconds" ) PORT_CONDITION("IN2", 0x30, PORTCOND_EQUALS, 0x00) | |
| 1891 | PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coinage ) ) PORT_DIPLOCATION("C2:3,4") | |
| 1892 | PORT_DIPSETTING( 0x00, "1 Coin per Player" ) | |
| 1893 | PORT_DIPSETTING( 0x04, "1 Coin/1 or 2 Players" ) | |
| 1894 | PORT_DIPSETTING( 0x0c, "2 Coins per Player" ) | |
| 1895 | PORT_DIPSETTING( 0x08, "2 Coins/1 or 2 Players" ) | |
| 1896 | PORT_DIPNAME( 0x30, 0x00, "Extended Time At" ) PORT_DIPLOCATION("C2:5,6") | |
| 1897 | PORT_DIPSETTING( 0x00, DEF_STR( None ) ) | |
| 1898 | PORT_DIPSETTING( 0x10, "5000" ) | |
| 1899 | PORT_DIPSETTING( 0x20, "6000" ) | |
| 1900 | PORT_DIPSETTING( 0x30, "7000" ) | |
| 1901 | PORT_DIPNAME( 0x40, 0x00, "Springboard Alignment" ) PORT_DIPLOCATION("C2:7") | |
| 1902 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) | |
| 1903 | PORT_DIPSETTING( 0x40, DEF_STR( On ) ) | |
| 1904 | PORT_SERVICE_DIPLOC(0x80, IP_ACTIVE_HIGH, "C2:8" ) // RAM-ROM Test | |
| 1895 | 1905 | |
| 1896 | 1906 | /* fake ports for two analog controls multiplexed */ |
| 1897 | 1907 | PORT_START(CLOWNS_CONTROLLER_P1_TAG) |
| r5490 | r5491 | |
| 1899 | 1909 | |
| 1900 | 1910 | PORT_START(CLOWNS_CONTROLLER_P2_TAG) |
| 1901 | 1911 | 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" ) | |
| 1905 | 1912 | INPUT_PORTS_END |
| 1906 | 1913 | |
| 1907 | 1914 | static MACHINE_DRIVER_START( spacwalk ) |
| r5490 | r5491 | |
| 1914 | 1921 | MDRV_WATCHDOG_TIME_INIT(USEC(255000000 / (MW8080BW_PIXEL_CLOCK / MW8080BW_HTOTAL / MW8080BW_VTOTAL))) |
| 1915 | 1922 | |
| 1916 | 1923 | /* audio hardware */ |
| 1917 | MDRV_IMPORT_FROM(c | |
| 1924 | // MDRV_IMPORT_FROM(spac | |
| 1918 | 1925 | |
| 1919 | 1926 | MACHINE_DRIVER_END |
| 1920 | 1927 | |
| 1928 | ||
| 1929 | ||
| 1921 | 1930 | /************************************* |
| 1922 | 1931 | * |
| 1923 | 1932 | * Shuffleboard (PCB #643) |
| r5490 | r5491 | |
| 3166 | 3175 | /* 626 */ GAME( 1977, m4, 0, m4, m4, 0, ROT0, "Midway", "M-4", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) |
| 3167 | 3176 | /* 630 */ GAMEL(1978, clowns, 0, clowns, clowns, 0, ROT0, "Midway", "Clowns (rev. 2)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE , layout_clowns ) |
| 3168 | 3177 | /* 630 */ GAMEL(1978, clowns1, clowns, clowns, clowns1, 0, ROT0, "Midway", "Clowns (rev. 1)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE , layout_clowns ) |
| 3169 | /* 640 */ GAME( | |
| 3178 | /* 640 */ GAMEL( | |
| 3170 | 3179 | /* 642 */ GAME( 1978, einning, 0, dplay, einning, 0, ROT0, "Midway", "Extra Inning", GAME_SUPPORTS_SAVE ) |
| 3171 | 3180 | /* 643 */ GAME( 1978, shuffle, 0, shuffle, shuffle, 0, ROT90, "Midway", "Shuffleboard", GAME_NO_SOUND | GAME_SUPPORTS_SAVE ) |
| 3172 | 3181 | /* 644 */ GAME( 1977, dogpatch, 0, dogpatch, dogpatch, 0, ROT0, "Midway", "Dog Patch", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) |
| r5490 | r5491 | |
|---|---|---|
| 150 | 150 | #include "machine/eeprom.h" |
| 151 | 151 | #include "sound/dmadac.h" |
| 152 | 152 | |
| 153 | #define LOG 0 | |
| 153 | 154 | |
| 154 | 155 | #define SOUND_CHANNELS 4 |
| 155 | 156 | |
| r5490 | r5491 | |
| 271 | 272 | UINT16 result = 0xffff; |
| 272 | 273 | if (eeprom_read_bit()) |
| 273 | 274 | result ^= 0x0004; |
| 274 | logerror("eeprom_data_r(%02X)\n", result); | |
| 275 | if (LOG) | |
| 276 | logerror("eeprom_data_r(%02X)\n", result); | |
| 275 | 277 | return result; |
| 276 | 278 | } |
| 277 | 279 | |
| r5490 | r5491 | |
| 306 | 308 | |
| 307 | 309 | static TIMER_CALLBACK( delayed_sound_w ) |
| 308 | 310 | { |
| 309 | logerror("delayed_sound_w(%02X)\n", param); | |
| 311 | if (LOG) | |
| 312 | logerror("delayed_sound_w(%02X)\n", param); | |
| 310 | 313 | sound_data = param; |
| 311 | 314 | cputag_set_input_line(machine, "adsp", ADSP2115_IRQ2, ASSERT_LINE); |
| 312 | 315 | } |
| r5490 | r5491 | |
| 314 | 317 | |
| 315 | 318 | static WRITE16_HANDLER( sound_data_w ) |
| 316 | 319 | { |
| 317 | logerror("%06X:sound_data_w(%02X) = %08X & %08X\n", cpu_get_pc(space->cpu), offset, data, mem_mask); | |
| 320 | if (LOG) | |
| 321 | logerror("%06X:sound_data_w(%02X) = %08X & %08X\n", cpu_get_pc(space->cpu), offset, data, mem_mask); | |
| 318 | 322 | if (ACCESSING_BITS_0_7) |
| 319 | 323 | timer_call_after_resynch(space->machine, NULL, data & 0xff, delayed_sound_w); |
| 320 | 324 | } |
| r5490 | r5491 | |
| 322 | 326 | |
| 323 | 327 | static READ16_HANDLER( sound_data_r ) |
| 324 | 328 | { |
| 325 | logerror("sound_data_r(%02X)\n", sound_data); | |
| 329 | if (LOG) | |
| 330 | logerror("sound_data_r(%02X)\n", sound_data); | |
| 326 | 331 | cputag_set_input_line(space->machine, "adsp", ADSP2115_IRQ2, CLEAR_LINE); |
| 327 | 332 | return sound_data; |
| 328 | 333 | } |
| r5490 | r5491 | |
| 330 | 335 | |
| 331 | 336 | static READ16_HANDLER( sound_status_r ) |
| 332 | 337 | { |
| 333 | logerror("%06X:sound_status_r(%02X) = %02X\n", cpu_get_pc(space->cpu), offset, sound_status); | |
| 338 | if (LOG) | |
| 339 | logerror("%06X:sound_status_r(%02X) = %02X\n", cpu_get_pc(space->cpu), offset, sound_status); | |
| 334 | 340 | if (ACCESSING_BITS_0_7) |
| 335 | 341 | return sound_status; |
| 336 | 342 | return 0xffff; |
| r5490 | r5491 | |
| 339 | 345 | |
| 340 | 346 | static WRITE16_HANDLER( sound_status_w ) |
| 341 | 347 | { |
| 342 | logerror("sound_status_w(%02X)\n", sound_data); | |
| 348 | if (LOG) | |
| 349 | logerror("sound_status_w(%02X)\n", sound_data); | |
| 343 | 350 | sound_status = data; |
| 344 | 351 | } |
| 345 | 352 | |
| r5490 | r5491 | |
| 372 | 379 | } |
| 373 | 380 | } |
| 374 | 381 | else |
| 375 | logerror("%06X:analog_port_clock_w(%02X) = %08X & %08X\n", cpu_get_pc(space->cpu), offset, data, mem_mask); | |
| 382 | { | |
| 383 | if (LOG) | |
| 384 | logerror("%06X:analog_port_clock_w(%02X) = %08X & %08X\n", cpu_get_pc(space->cpu), offset, data, mem_mask); | |
| 385 | } | |
| 376 | 386 | } |
| 377 | 387 | |
| 378 | 388 | |
| r5490 | r5491 | |
| 390 | 400 | } |
| 391 | 401 | } |
| 392 | 402 | else |
| 393 | logerror("%06X:analog_port_latch_w(%02X) = %08X & %08X\n", cpu_get_pc(space->cpu), offset, data, mem_mask); | |
| 403 | { | |
| 404 | if (LOG) | |
| 405 | logerror("%06X:analog_port_latch_w(%02X) = %08X & %08X\n", cpu_get_pc(space->cpu), offset, data, mem_mask); | |
| 406 | } | |
| 407 | ||
| 394 | 408 | } |
| 395 | 409 | |
| 396 | 410 | |
| r5490 | r5491 | |
| 416 | 430 | |
| 417 | 431 | static void iack_w(const device_config *device, UINT8 state, offs_t addr) |
| 418 | 432 | { |
| 419 | logerror("iack_w(%d) - %06X\n", state, addr); | |
| 433 | if (LOG) | |
| 434 | logerror("iack_w(%d) - %06X\n", state, addr); | |
| 420 | 435 | cpu_set_input_line(device, 0, CLEAR_LINE); |
| 421 | 436 | } |
| 422 | 437 | |
| r5490 | r5491 | |
| 432 | 447 | { |
| 433 | 448 | /* this is set to 0 while data is uploaded, then set to $ffff after it is done */ |
| 434 | 449 | /* it does not ever appear to be touched after that */ |
| 435 | logerror("%06X:tms_reset_w(%02X) = %08X & %08X\n", cpu_get_pc(space->cpu), offset, data, mem_mask); | |
| 450 | if (LOG) | |
| 451 | logerror("%06X:tms_reset_w(%02X) = %08X & %08X\n", cpu_get_pc(space->cpu), offset, data, mem_mask); | |
| 436 | 452 | cputag_set_input_line(space->machine, "tms", INPUT_LINE_RESET, (data == 0xffff) ? CLEAR_LINE : ASSERT_LINE); |
| 437 | 453 | } |
| 438 | 454 | |
| r5490 | r5491 | |
| 441 | 457 | { |
| 442 | 458 | /* this is written twice, 0,1, in quick succession */ |
| 443 | 459 | /* done after uploading, and after modifying the comm area */ |
| 444 | logerror("%06X:tms_irq_w(%02X) = %08X & %08X\n", cpu_get_pc(space->cpu), offset, data, mem_mask); | |
| 460 | if (LOG) | |
| 461 | logerror("%06X:tms_irq_w(%02X) = %08X & %08X\n", cpu_get_pc(space->cpu), offset, data, mem_mask); | |
| 445 | 462 | if (ACCESSING_BITS_0_7) |
| 446 | 463 | cputag_set_input_line(space->machine, "tms", 0, (data & 0x01) ? CLEAR_LINE : ASSERT_LINE); |
| 447 | 464 | } |
| r5490 | r5491 | |
| 449 | 466 | |
| 450 | 467 | static WRITE16_HANDLER( tms_control3_w ) |
| 451 | 468 | { |
| 452 | logerror("%06X:tms_control3_w(%02X) = %08X & %08X\n", cpu_get_pc(space->cpu), offset, data, mem_mask); | |
| 469 | if (LOG) | |
| 470 | logerror("%06X:tms_control3_w(%02X) = %08X & %08X\n", cpu_get_pc(space->cpu), offset, data, mem_mask); | |
| 453 | 471 | } |
| 454 | 472 | |
| 455 | 473 | |
| 456 | 474 | static WRITE16_HANDLER( tms_comm_w ) |
| 457 | 475 | { |
| 458 | 476 | COMBINE_DATA(&tms_comm_base[offset ^ tms_offset_xor]); |
| 459 | logerror("%06X:tms_comm_w(%02X) = %08X & %08X\n", cpu_get_pc(space->cpu), offset*2, data, mem_mask); | |
| 477 | if (LOG) | |
| 478 | logerror("%06X:tms_comm_w(%02X) = %08X & %08X\n", cpu_get_pc(space->cpu), offset*2, data, mem_mask); | |
| 460 | 479 | } |
| 461 | 480 | |
| 462 | 481 | |
| r5490 | r5491 | |
| 500 | 519 | |
| 501 | 520 | static WRITE16_HANDLER( adsp_control_w ) |
| 502 | 521 | { |
| 503 | logerror("ADSP control %04X W = %04X\n", 0x3fe0 + offset, data); | |
| 522 | if (LOG) | |
| 523 | logerror("ADSP control %04X W = %04X\n", 0x3fe0 + offset, data); | |
| 504 | 524 | |
| 505 | 525 | adsp_control_regs[offset] = data; |
| 506 | 526 | switch (offset) |
| r5490 | r5491 | |
| 535 | 555 | |
| 536 | 556 | static WRITE16_HANDLER( adsp_rombank_w ) |
| 537 | 557 | { |
| 538 | logerror("adsp_rombank_w(%d) = %04X\n", offset, data); | |
| 558 | if (LOG) | |
| 559 | logerror("adsp_rombank_w(%d) = %04X\n", offset, data); | |
| 539 | 560 | memory_set_bank(space->machine, 1, (offset & 1) * 0x80 + (data & 0x7f)); |
| 540 | 561 | } |
| 541 | 562 |
| r5490 | r5491 | |
|---|---|---|
| 1081 | 1081 | |
| 1082 | 1082 | ROM_START( ptblank ) |
| 1083 | 1083 | ROM_REGION( 0x100000, "maincpu", 0 ) /* main program */ |
| 1084 | ROM_LOAD32_WORD( "gn2mprlb.15b", 0x00002, 0x80000, CRC(fe2d9425) SHA1(51b166a629cbb522720d63720558816b496b6b76) ) | |
| 1085 | ROM_LOAD32_WORD( "gn2mprub.13b", 0x00000, 0x80000, CRC(3bf4985a) SHA1(f559e0d5f55d23d886fe61bd7d5ca556acc7f87c) ) | |
| 1084 | ROM_LOAD32_WORD( "gn2_mprlb.15b", 0x00002, 0x80000, CRC(fe2d9425) SHA1(51b166a629cbb522720d63720558816b496b6b76) ) | |
| 1085 | ROM_LOAD32_WORD( "gn2_mprub.13b", 0x00000, 0x80000, CRC(3bf4985a) SHA1(f559e0d5f55d23d886fe61bd7d5ca556acc7f87c) ) | |
| 1086 | 1086 | |
| 1087 | 1087 | ROM_REGION16_LE( 0x4000, "c75", 0 ) /* C75 program */ |
| 1088 | 1088 | ROM_LOAD( "c75.bin", 0, 0x4000, CRC(42f539a5) SHA1(3103e5a0a2867620309fd4fe478a2be0effbeff8) ) |
| 1089 | 1089 | |
| 1090 | 1090 | ROM_REGION16_LE( 0x80000, "c75data", 0 ) /* sound data */ |
| 1091 | ROM_LOAD( "gn1-spr0.b | |
| 1091 | ROM_LOAD( "gn1-spr0.5b | |
| 1092 | 1092 | |
| 1093 | 1093 | ROM_REGION( 0x200000, "c352", 0 ) |
| 1094 | ROM_LOAD( "gn1-voi0. | |
| 1094 | ROM_LOAD( "gn1-voi0.5j | |
| 1095 | 1095 | |
| 1096 | 1096 | ROM_REGION( 0x800000, NAMCONB1_SPRITEGFXREGION, 0 ) |
| 1097 | ROM_LOAD16_BYTE( "gn1obj0l.bin", 0x000001, 0x200000, CRC(06722dc8) SHA1(56fee4e17ed707fa6dbc6bad0d0281fc8cdf72d1) ) | |
| 1098 | ROM_LOAD16_BYTE( "gn1obj0u.bin", 0x000000, 0x200000, CRC(fcefc909) SHA1(48c19b6032096dd80777aa6d5eb5f90463095cbe) ) | |
| 1099 | ROM_LOAD16_BYTE( "gn1obj1u.bin", 0x400000, 0x200000, CRC(3109a071) SHA1(4bb16df5a3aecdf37baf843edfc82952d46f5227) ) | |
| 1100 | ROM_LOAD16_BYTE( "gn1obj1l.bin", 0x400001, 0x200000, CRC(48468df7) SHA1(c5fb9082c84ac2ffceb6f5f4cbc1d40047c55e3d) ) | |
| 1097 | ROM_LOAD16_BYTE( "gn1obj0l.ic1", 0x000001, 0x200000, CRC(06722dc8) SHA1(56fee4e17ed707fa6dbc6bad0d0281fc8cdf72d1) ) /* These four located on MEMEXT OBJ8 PCB daughter-card */ | |
| 1098 | ROM_LOAD16_BYTE( "gn1obj0u.ic2", 0x000000, 0x200000, CRC(fcefc909) SHA1(48c19b6032096dd80777aa6d5eb5f90463095cbe) ) | |
| 1099 | ROM_LOAD16_BYTE( "gn1obj1l.ic3", 0x400001, 0x200000, CRC(48468df7) SHA1(c5fb9082c84ac2ffceb6f5f4cbc1d40047c55e3d) ) | |
| 1100 | ROM_LOAD16_BYTE( "gn1obj1u.ic4", 0x400000, 0x200000, CRC(3109a071) SHA1(4bb16df5a3aecdf37baf843edfc82952d46f5227) ) | |
| 1101 | 1101 | |
| 1102 | 1102 | ROM_REGION( 0x400000, NAMCONB1_TILEGFXREGION, 0 ) |
| 1103 | ROM_LOAD( "gn1-chr0.bin", 0x000000, 0x100000, CRC(a5c61246) SHA1(d1d9f286b93b5b9880160029c53384d13c08dd8a) ) | |
| 1104 | ROM_LOAD( "gn1-chr1.bin", 0x100000, 0x100000, CRC(c8c59772) SHA1(91de633a300e3b25a919579eaada5549640ab6f0) ) | |
| 1105 | ROM_LOAD( "gn1-chr2.bin", 0x200000, 0x100000, CRC(dc96d999) SHA1(d006a401762b57fef6716f56eb3a7edcb3d3c00e) ) | |
| 1106 | ROM_LOAD( "gn1-chr3.bin", 0x300000, 0x100000, CRC(4352c308) SHA1(785c13df219dceac2f940519141665b630a29f86) ) | |
| 1103 | ROM_LOAD( "gn1-chr0.8j", 0x000000, 0x100000, CRC(a5c61246) SHA1(d1d9f286b93b5b9880160029c53384d13c08dd8a) ) | |
| 1104 | ROM_LOAD( "gn1-chr1.9j", 0x100000, 0x100000, CRC(c8c59772) SHA1(91de633a300e3b25a919579eaada5549640ab6f0) ) | |
| 1105 | ROM_LOAD( "gn1-chr2.10j", 0x200000, 0x100000, CRC(dc96d999) SHA1(d006a401762b57fef6716f56eb3a7edcb3d3c00e) ) | |
| 1106 | ROM_LOAD( "gn1-chr3.11j", 0x300000, 0x100000, CRC(4352c308) SHA1(785c13df219dceac2f940519141665b630a29f86) ) | |
| 1107 | 1107 | |
| 1108 | 1108 | ROM_REGION( 0x80000, NAMCONB1_TILEMASKREGION, 0 ) |
| 1109 | ROM_LOAD( "gn1-sha0. | |
| 1109 | ROM_LOAD( "gn1-sha0.5m | |
| 1110 | 1110 | ROM_END |
| 1111 | 1111 | |
| 1112 | ROM_START( gunbulet ) | |
| 1112 | ROM_START( gunbuletw ) | |
| 1113 | 1113 | ROM_REGION( 0x100000, "maincpu", 0 ) /* main program */ |
| 1114 | ROM_LOAD32_WORD( "gn1-mprl.bin", 0x00002, 0x80000, CRC(f99e309e) SHA1(3fe0ddf756e6849f8effc7672456cbe32f65c98a) ) | |
| 1115 | ROM_LOAD32_WORD( "gn1-mpru.bin", 0x00000, 0x80000, CRC(72a4db07) SHA1(8c5e1e51cd961b311d03f7b21f36a5bd5e8e9104) ) | |
| 1114 | ROM_LOAD32_WORD( "gn3_mprlb.15b", 0x00002, 0x80000, CRC(9260fce5) SHA1(064579be1ac90e04082a8b403c6adf35dbb46a7e) ) | |
| 1115 | ROM_LOAD32_WORD( "gn3_mprub.13b", 0x00000, 0x80000, CRC(6c1ac697) SHA1(7b52b5ef8154a5d741ac24673f3e6bbfa246a494) ) | |
| 1116 | 1116 | |
| 1117 | 1117 | ROM_REGION16_LE( 0x4000, "c75", 0 ) /* C75 program */ |
| 1118 | 1118 | ROM_LOAD( "c75.bin", 0, 0x4000, CRC(42f539a5) SHA1(3103e5a0a2867620309fd4fe478a2be0effbeff8) ) |
| 1119 | 1119 | |
| 1120 | 1120 | ROM_REGION16_LE( 0x80000, "c75data", 0 ) /* sound data */ |
| 1121 | ROM_LOAD( "gn1-spr0.b | |
| 1121 | ROM_LOAD( "gn1-spr0.5b | |
| 1122 | 1122 | |
| 1123 | 1123 | ROM_REGION( 0x200000, "c352", 0 ) |
| 1124 | ROM_LOAD( "gn1-voi0. | |
| 1124 | ROM_LOAD( "gn1-voi0.5j | |
| 1125 | 1125 | |
| 1126 | 1126 | ROM_REGION( 0x800000, NAMCONB1_SPRITEGFXREGION, 0 ) |
| 1127 | ROM_LOAD16_BYTE( "gn1obj0l.bin", 0x000001, 0x200000, CRC(06722dc8) SHA1(56fee4e17ed707fa6dbc6bad0d0281fc8cdf72d1) ) | |
| 1128 | ROM_LOAD16_BYTE( "gn1obj0u.bin", 0x000000, 0x200000, CRC(fcefc909) SHA1(48c19b6032096dd80777aa6d5eb5f90463095cbe) ) | |
| 1129 | ROM_LOAD16_BYTE( "gn1obj1u.bin", 0x400000, 0x200000, CRC(3109a071) SHA1(4bb16df5a3aecdf37baf843edfc82952d46f5227) ) | |
| 1130 | ROM_LOAD16_BYTE( "gn1obj1l.bin", 0x400001, 0x200000, CRC(48468df7) SHA1(c5fb9082c84ac2ffceb6f5f4cbc1d40047c55e3d) ) | |
| 1127 | ROM_LOAD16_BYTE( "gn1obj0l.ic1", 0x000001, 0x200000, CRC(06722dc8) SHA1(56fee4e17ed707fa6dbc6bad0d0281fc8cdf72d1) ) /* These four located on MEMEXT OBJ8 PCB daughter-card */ | |
| 1128 | ROM_LOAD16_BYTE( "gn1obj0u.ic2", 0x000000, 0x200000, CRC(fcefc909) SHA1(48c19b6032096dd80777aa6d5eb5f90463095cbe) ) | |
| 1129 | ROM_LOAD16_BYTE( "gn1obj1l.ic3", 0x400001, 0x200000, CRC(48468df7) SHA1(c5fb9082c84ac2ffceb6f5f4cbc1d40047c55e3d) ) | |
| 1130 | ROM_LOAD16_BYTE( "gn1obj1u.ic4", 0x400000, 0x200000, CRC(3109a071) SHA1(4bb16df5a3aecdf37baf843edfc82952d46f5227) ) | |
| 1131 | 1131 | |
| 1132 | 1132 | ROM_REGION( 0x400000, NAMCONB1_TILEGFXREGION, 0 ) |
| 1133 | ROM_LOAD( "gn1-chr0.bin", 0x000000, 0x100000, CRC(a5c61246) SHA1(d1d9f286b93b5b9880160029c53384d13c08dd8a) ) | |
| 1134 | ROM_LOAD( "gn1-chr1.bin", 0x100000, 0x100000, CRC(c8c59772) SHA1(91de633a300e3b25a919579eaada5549640ab6f0) ) | |
| 1135 | ROM_LOAD( "gn1-chr2.bin", 0x200000, 0x100000, CRC(dc96d999) SHA1(d006a401762b57fef6716f56eb3a7edcb3d3c00e) ) | |
| 1136 | ROM_LOAD( "gn1-chr3.bin", 0x300000, 0x100000, CRC(4352c308) SHA1(785c13df219dceac2f940519141665b630a29f86) ) | |
| 1133 | ROM_LOAD( "gn1-chr0.8j", 0x000000, 0x100000, CRC(a5c61246) SHA1(d1d9f286b93b5b9880160029c53384d13c08dd8a) ) | |
| 1134 | ROM_LOAD( "gn1-chr1.9j", 0x100000, 0x100000, CRC(c8c59772) SHA1(91de633a300e3b25a919579eaada5549640ab6f0) ) | |
| 1135 | ROM_LOAD( "gn1-chr2.10j", 0x200000, 0x100000, CRC(dc96d999) SHA1(d006a401762b57fef6716f56eb3a7edcb3d3c00e) ) | |
| 1136 | ROM_LOAD( "gn1-chr3.11j", 0x300000, 0x100000, CRC(4352c308) SHA1(785c13df219dceac2f940519141665b630a29f86) ) | |
| 1137 | 1137 | |
| 1138 | 1138 | ROM_REGION( 0x80000, NAMCONB1_TILEMASKREGION, 0 ) |
| 1139 | ROM_LOAD( "gn1-sha0. | |
| 1139 | ROM_LOAD( "gn1-sha0.5m | |
| 1140 | 1140 | ROM_END |
| 1141 | 1141 | |
| 1142 | ROM_START( gunbuletj ) | |
| 1143 | ROM_REGION( 0x100000, "maincpu", 0 ) /* main program */ | |
| 1144 | ROM_LOAD32_WORD( "gn1_mprl.15b", 0x00002, 0x80000, CRC(f99e309e) SHA1(3fe0ddf756e6849f8effc7672456cbe32f65c98a) ) | |
| 1145 | ROM_LOAD32_WORD( "gn1_mpru.13b", 0x00000, 0x80000, CRC(72a4db07) SHA1(8c5e1e51cd961b311d03f7b21f36a5bd5e8e9104) ) | |
| 1146 | ||
| 1147 | ROM_REGION16_LE( 0x4000, "c75", 0 ) /* C75 program */ | |
| 1148 | ROM_LOAD( "c75.bin", 0, 0x4000, CRC(42f539a5) SHA1(3103e5a0a2867620309fd4fe478a2be0effbeff8) ) | |
| 1149 | ||
| 1150 | ROM_REGION16_LE( 0x80000, "c75data", 0 ) /* sound data */ | |
| 1151 | ROM_LOAD( "gn1-spr0.5b", 0, 0x20000, CRC(6836ba38) SHA1(6ea17ea4bbb59be108e8887acd7871409580732f) ) | |
| 1152 | ||
| 1153 | ROM_REGION( 0x200000, "c352", 0 ) | |
| 1154 | ROM_LOAD( "gn1-voi0.5j", 0, 0x200000, CRC(05477eb7) SHA1(f2eaacb5dbac06c37c56b9b131230c9cf6602221) ) | |
| 1155 | ||
| 1156 | ROM_REGION( 0x800000, NAMCONB1_SPRITEGFXREGION, 0 ) | |
| 1157 | ROM_LOAD16_BYTE( "gn1obj0l.ic1", 0x000001, 0x200000, CRC(06722dc8) SHA1(56fee4e17ed707fa6dbc6bad0d0281fc8cdf72d1) ) /* These four located on MEMEXT OBJ8 PCB daughter-card */ | |
| 1158 | ROM_LOAD16_BYTE( "gn1obj0u.ic2", 0x000000, 0x200000, CRC(fcefc909) SHA1(48c19b6032096dd80777aa6d5eb5f90463095cbe) ) | |
| 1159 | ROM_LOAD16_BYTE( "gn1obj1l.ic3", 0x400001, 0x200000, CRC(48468df7) SHA1(c5fb9082c84ac2ffceb6f5f4cbc1d40047c55e3d) ) | |
| 1160 | ROM_LOAD16_BYTE( "gn1obj1u.ic4", 0x400000, 0x200000, CRC(3109a071) SHA1(4bb16df5a3aecdf37baf843edfc82952d46f5227) ) | |
| 1161 | ||
| 1162 | ROM_REGION( 0x400000, NAMCONB1_TILEGFXREGION, 0 ) | |
| 1163 | ROM_LOAD( "gn1-chr0.8j", 0x000000, 0x100000, CRC(a5c61246) SHA1(d1d9f286b93b5b9880160029c53384d13c08dd8a) ) | |
| 1164 | ROM_LOAD( "gn1-chr1.9j", 0x100000, 0x100000, CRC(c8c59772) SHA1(91de633a300e3b25a919579eaada5549640ab6f0) ) | |
| 1165 | ROM_LOAD( "gn1-chr2.10j", 0x200000, 0x100000, CRC(dc96d999) SHA1(d006a401762b57fef6716f56eb3a7edcb3d3c00e) ) | |
| 1166 | ROM_LOAD( "gn1-chr3.11j", 0x300000, 0x100000, CRC(4352c308) SHA1(785c13df219dceac2f940519141665b630a29f86) ) | |
| 1167 | ||
| 1168 | ROM_REGION( 0x80000, NAMCONB1_TILEMASKREGION, 0 ) | |
| 1169 | ROM_LOAD( "gn1-sha0.5m", 0, 0x80000, CRC(86d4ff85) SHA1(a71056b2bcbba50c834fe28269ebda9719df354a) ) | |
| 1170 | ROM_END | |
| 1171 | ||
| 1142 | 1172 | ROM_START( nebulray ) |
| 1143 | 1173 | ROM_REGION( 0x100000, "maincpu", 0 ) /* main program */ |
| 1144 | ROM_LOAD32_WORD( "nr2-mpru.13b", 0x00000, 0x80000, CRC(049b97cb) SHA1(0e344b29a4d4bdc854fa9849589772df2eeb0a05) ) | |
| 1145 | ROM_LOAD32_WORD( "nr2-mprl.15b", 0x00002, 0x80000, CRC(0431b6d4) SHA1(54c96e8ac9e753956c31bdef79d390f1c20e10ff) ) | |
| 1174 | ROM_LOAD32_WORD( "nr2_mprl.15b", 0x00002, 0x80000, CRC(0431b6d4) SHA1(54c96e8ac9e753956c31bdef79d390f1c20e10ff) ) | |
| 1175 | ROM_LOAD32_WORD( "nr2_mpru.13b", 0x00000, 0x80000, CRC(049b97cb) SHA1(0e344b29a4d4bdc854fa9849589772df2eeb0a05) ) | |
| 1146 | 1176 | |
| 1147 | 1177 | ROM_REGION16_LE( 0x4000, "c75", 0 ) /* C75 program */ |
| 1148 | 1178 | ROM_LOAD( "c75.bin", 0, 0x4000, CRC(42f539a5) SHA1(3103e5a0a2867620309fd4fe478a2be0effbeff8) ) |
| r5490 | r5491 | |
| 1178 | 1208 | |
| 1179 | 1209 | ROM_START( nebulrayj ) |
| 1180 | 1210 | ROM_REGION( 0x100000, "maincpu", 0 ) /* main program */ |
| 1181 | ROM_LOAD32_WORD( "nr1-mpru", 0x00000, 0x80000, CRC(42ef71f9) SHA1(20e3cb63e1fde293c60c404b378d901d635c4b79) ) | |
| 1182 | ROM_LOAD32_WORD( "nr1-mprl", 0x00002, 0x80000, CRC(fae5f62c) SHA1(143d716abbc834aac6270db3bbb89ec71ea3804d) ) | |
| 1211 | ROM_LOAD32_WORD( "nr1_mprl.15b", 0x00002, 0x80000, CRC(fae5f62c) SHA1(143d716abbc834aac6270db3bbb89ec71ea3804d) ) | |
| 1212 | ROM_LOAD32_WORD( "nr1_mpru.13b", 0x00000, 0x80000, CRC(42ef71f9) SHA1(20e3cb63e1fde293c60c404b378d901d635c4b79) ) | |
| 1183 | 1213 | |
| 1184 | 1214 | ROM_REGION16_LE( 0x4000, "c75", 0 ) /* C75 program */ |
| 1185 | 1215 | ROM_LOAD( "c75.bin", 0, 0x4000, CRC(42f539a5) SHA1(3103e5a0a2867620309fd4fe478a2be0effbeff8) ) |
| r5490 | r5491 | |
| 1215 | 1245 | |
| 1216 | 1246 | ROM_START( gslgr94u ) |
| 1217 | 1247 | ROM_REGION( 0x100000, "maincpu", 0 ) /* main program */ |
| 1218 | ROM_LOAD32_WORD( "gse2mprl.bin", 0x00002, 0x80000, CRC(a514349c) SHA1(1f7ec81cd6193410d2f01e6f0f84878561fc8035) ) | |
| 1219 | ROM_LOAD32_WORD( "gse2mpru.bin", 0x00000, 0x80000, CRC(b6afd238) SHA1(438a3411ac8ce3d22d5da8c0800738cb8d2994a9) ) | |
| 1248 | ROM_LOAD32_WORD( "gse2mprl.15b", 0x00002, 0x80000, CRC(a514349c) SHA1(1f7ec81cd6193410d2f01e6f0f84878561fc8035) ) | |
| 1249 | ROM_LOAD32_WORD( "gse2mpru.13b", 0x00000, 0x80000, CRC(b6afd238) SHA1(438a3411ac8ce3d22d5da8c0800738cb8d2994a9) ) | |
| 1220 | 1250 | |
| 1221 | 1251 | ROM_REGION16_LE( 0x4000, "c75", 0 ) /* C75 program */ |
| 1222 | 1252 | ROM_LOAD( "c75.bin", 0, 0x4000, CRC(42f539a5) SHA1(3103e5a0a2867620309fd4fe478a2be0effbeff8) ) |
| r5490 | r5491 | |
| 1415 | 1445 | ROM_LOAD16_BYTE( "gs1obj-1.ic2", 0x000000, 0x200000, CRC(31c66f76) SHA1(8903e6586dff6f34a6ffca2d7c75343c0a5bff56) ) |
| 1416 | 1446 | |
| 1417 | 1447 | ROM_REGION( 0x400000, NAMCONB1_TILEGFXREGION, 0 ) |
| 1418 | ROM_LOAD( "gs1chr-0.8j", 0x000000, 0x100000, CRC(e7ced86a) SHA1(de90c2e3870b317431d3910f581660681b46ff9d) ) | |
| 1419 | ROM_LOAD( "gs1chr-1.9j", 0x100000, 0x100000, CRC(1fe46749) SHA1(f4c0ea666d52cb1c8b1da93e7486ade5eae336cc) ) | |
| 1448 | ROM_LOAD( "gs1chr-0.8j", 0x000000, 0x100000, CRC(e7ced86a) SHA1(de90c2e3870b317431d3910f581660681b46ff9d) ) | |
| 1449 | ROM_LOAD( "gs1chr-1.9j", 0x100000, 0x100000, CRC(1fe46749) SHA1(f4c0ea666d52cb1c8b1da93e7486ade5eae336cc) ) | |
| 1420 | 1450 | ROM_LOAD( "gs1chr-2.10j", 0x200000, 0x100000, CRC(f53afa20) SHA1(5c317e276ca2355e9737c1e8114dccbb5e11058a) ) |
| 1421 | 1451 | ROM_LOAD( "gs1chr-3.11j", 0x300000, 0x100000, CRC(b149d7da) SHA1(d50c6258db0ccdd69b563e880d1711aae811fbe3) ) |
| 1422 | 1452 | |
| r5490 | r5491 | |
| 1524 | 1554 | ROM_LOAD( "vsjvoi-0.5j", 0, 0x200000, CRC(0528c9ed) SHA1(52b67978fdeb97b77065575774a7ddeb49fe1d81) ) |
| 1525 | 1555 | |
| 1526 | 1556 | ROM_REGION( 0x800000, NAMCONB1_SPRITEGFXREGION, 0 ) |
| 1527 | ROM_LOAD16_BYTE( "vsjobj0l.ic1", 0x000001, 0x200000, CRC(e134faa7) SHA1(a844c8a5bd6d8907f9e5c7ba9e2ee8e9a886cd1e) ) | |
| 1557 | ROM_LOAD16_BYTE( "vsjobj0l.ic1", 0x000001, 0x200000, CRC(e134faa7) SHA1(a844c8a5bd6d8907f9e5c7ba9e2ee8e9a886cd1e) ) /* These four located on MEMEXT OBJ8 PCB daughter-card */ | |
| 1528 | 1558 | ROM_LOAD16_BYTE( "vsjobj0u.ic2", 0x000000, 0x200000, CRC(974d0714) SHA1(976050eaf82d4b66e13c1c579e5521eb867527fb) ) |
| 1529 | 1559 | ROM_LOAD16_BYTE( "vsjobj1l.ic3", 0x400001, 0x200000, CRC(ba46f967) SHA1(ddfb0ac7fba7369869e4df9a66d465a662eba2e6) ) |
| 1530 | 1560 | ROM_LOAD16_BYTE( "vsjobj1u.ic4", 0x400000, 0x200000, CRC(09da7e9c) SHA1(e98e07a886a4fe369748fc97f3cee6a4bb668385) ) |
| r5490 | r5491 | |
| 1699 | 1729 | |
| 1700 | 1730 | ROM_START( outfxies ) |
| 1701 | 1731 | ROM_REGION( 0x100000, "maincpu", 0 ) /* main program */ |
| 1702 | ROM_LOAD32_WORD( "ou2mprl.11c", 0x00002, 0x80000, CRC(f414a32e) SHA1(9733ab087cfde1b8fb5b676d8a2eb5325ebdbb56) ) | |
| 1703 | ROM_LOAD32_WORD( "ou2mpru.11d", 0x00000, 0x80000, CRC(ab5083fb) SHA1(cb2e7a4838c2b80057edb83ea63116bccb1394d3) ) | |
| 1732 | ROM_LOAD32_WORD( "ou2_mprl.11c", 0x00002, 0x80000, CRC(f414a32e) SHA1(9733ab087cfde1b8fb5b676d8a2eb5325ebdbb56) ) | |
| 1733 | ROM_LOAD32_WORD( "ou2_mpru.11d", 0x00000, 0x80000, CRC(ab5083fb) SHA1(cb2e7a4838c2b80057edb83ea63116bccb1394d3) ) | |
| 1704 | 1734 | |
| 1705 | 1735 | ROM_REGION( 0x4000, "c75", 0 ) /* C75 program */ |
| 1706 | 1736 | ROM_LOAD( "c75.bin", 0, 0x4000, CRC(42f539a5) SHA1(3103e5a0a2867620309fd4fe478a2be0effbeff8) ) |
| r5490 | r5491 | |
| 1718 | 1748 | ROM_LOAD( "ou1shar.18s", 0, 0x200000, CRC(fbb48194) SHA1(2d3ec5bc519fad2b755018f83fadfe0cba13c292) ) |
| 1719 | 1749 | |
| 1720 | 1750 | ROM_REGION( 0x2000000, NAMCONB1_SPRITEGFXREGION, 0 ) |
| 1721 | ROM_LOAD16_BYTE( "ou1obj0l", 0x0000001, 0x200000, CRC(1b4f7184) SHA1(a05d67842fce92f321d1fdd3bd30aa3427775a0c) ) | |
| 1722 | ROM_LOAD16_BYTE( "ou1obj0u", 0x0000000, 0x200000, CRC(d0a69794) SHA1(07d449e54e9971abeb9cd5bb7b372270fafa8bac) ) | |
| 1723 | ROM_LOAD16_BYTE( "ou1obj1l", 0x0400001, 0x200000, CRC(48a93e84) SHA1(6935ec161a12237d4cec732d42070f381c23b47c) ) | |
| 1724 | ROM_LOAD16_BYTE( "ou1obj1u", 0x0400000, 0x200000, CRC(999de386) SHA1(d4780ab1929a3e2c2df464363d6451a2bcecb2a2) ) | |
| 1725 | ROM_LOAD16_BYTE( "ou1obj2l", 0x0800001, 0x200000, CRC(30386cd0) SHA1(3563c5378288da58136f102381373bd6fcaeec21) ) | |
| 1726 | ROM_LOAD16_BYTE( "ou1obj2u", 0x0800000, 0x200000, CRC(ccada5f8) SHA1(75ed95bb295780126879d67bba4d0ae1da63c928) ) | |
| 1727 | ROM_LOAD16_BYTE( "ou1obj3l", 0x0c00001, 0x200000, CRC(5f41b44e) SHA1(3f5376fcd3e15af772df65b8eda4d5ee07ee5664) ) | |
| 1728 | ROM_LOAD16_BYTE( "ou1obj3u", 0x0c00000, 0x200000, CRC(bc852c8e) SHA1(4863302c45ee16aaf2c36dac07aceaf287959c53) ) | |
| 1729 | ROM_LOAD16_BYTE( "ou1obj4l", 0x1000001, 0x200000, CRC(99a5f9d7) SHA1(b0f46f4ac357918137031a19c36a56a47b7aefd6) ) | |
| 1730 | ROM_LOAD16_BYTE( "ou1obj4u", 0x1000000, 0x200000, CRC(70ecaabb) SHA1(521c6849526fb271e6447f6c4f5bfa081f96b91e) ) | |
| 1751 | ROM_LOAD16_BYTE( "ou1obj0l.4c", 0x0000001, 0x200000, CRC(1b4f7184) SHA1(a05d67842fce92f321d1fdd3bd30aa3427775a0c) ) | |
| 1752 | ROM_LOAD16_BYTE( "ou1obj0u.8c", 0x0000000, 0x200000, CRC(d0a69794) SHA1(07d449e54e9971abeb9cd5bb7b372270fafa8bac) ) | |
| 1753 | ROM_LOAD16_BYTE( "ou1obj1l.4b", 0x0400001, 0x200000, CRC(48a93e84) SHA1(6935ec161a12237d4cec732d42070f381c23b47c) ) | |
| 1754 | ROM_LOAD16_BYTE( "ou1obj1u.8b", 0x0400000, 0x200000, CRC(999de386) SHA1(d4780ab1929a3e2c2df464363d6451a2bcecb2a2) ) | |
| 1755 | ROM_LOAD16_BYTE( "ou1obj2l.4a", 0x0800001, 0x200000, CRC(30386cd0) SHA1(3563c5378288da58136f102381373bd6fcaeec21) ) | |
| 1756 | ROM_LOAD16_BYTE( "ou1obj2u.8a", 0x0800000, 0x200000, CRC(ccada5f8) SHA1(75ed95bb295780126879d67bba4d0ae1da63c928) ) | |
| 1757 | ROM_LOAD16_BYTE( "ou1obj3l.6c", 0x0c00001, 0x200000, CRC(5f41b44e) SHA1(3f5376fcd3e15af772df65b8eda4d5ee07ee5664) ) | |
| 1758 | ROM_LOAD16_BYTE( "ou1obj3u.9c", 0x0c00000, 0x200000, CRC(bc852c8e) SHA1(4863302c45ee16aaf2c36dac07aceaf287959c53) ) | |
| 1759 | ROM_LOAD16_BYTE( "ou1obj4l.6b", 0x1000001, 0x200000, CRC(99a5f9d7) SHA1(b0f46f4ac357918137031a19c36a56a47b7aefd6) ) | |
| 1760 | ROM_LOAD16_BYTE( "ou1obj4u.9b", 0x1000000, 0x200000, CRC(70ecaabb) SHA1(521c6849526fb271e6447f6c4f5bfa081f96b91e) ) | |
| 1731 | 1761 | |
| 1732 | 1762 | ROM_REGION( 0x600000, NAMCONB1_ROTGFXREGION, 0 ) |
| 1733 | ROM_LOAD( "ou1-rot0", 0x000000, 0x200000, CRC(a50c67c8) SHA1(432b8451eb9eaa3078134fce1e5e2d58a8b64be3) ) | |
| 1734 | ROM_LOAD( "ou1-rot1", 0x200000, 0x200000, CRC(14866780) SHA1(4a54151fada4dfba7232e53e40623e5697eeb7db) ) | |
| 1735 | ROM_LOAD( "ou1-rot2", 0x400000, 0x200000, CRC(55ccf3af) SHA1(d98489aaa840cbffb21c47609961c1163b0336f3) ) | |
| 1763 | ROM_LOAD( "ou1-rot0.3d", 0x000000, 0x200000, CRC(a50c67c8) SHA1(432b8451eb9eaa3078134fce1e5e2d58a8b64be3) ) | |
| 1764 | ROM_LOAD( "ou1-rot1.3c", 0x200000, 0x200000, CRC(14866780) SHA1(4a54151fada4dfba7232e53e40623e5697eeb7db) ) | |
| 1765 | ROM_LOAD( "ou1-rot2.3b", 0x400000, 0x200000, CRC(55ccf3af) SHA1(d98489aaa840cbffb21c47609961c1163b0336f3) ) | |
| 1736 | 1766 | |
| 1737 | 1767 | ROM_REGION( 0x200000, NAMCONB1_TILEGFXREGION, 0 ) |
| 1738 | ROM_LOAD( "ou1-scr0", 0x000000, 0x200000, CRC(b3b3f2e9) SHA1(541bd7e9ba12aff4ec4033bd9c6bb19476acb3c4) ) | |
| 1768 | ROM_LOAD( "ou1-scr0.1d", 0x000000, 0x200000, CRC(b3b3f2e9) SHA1(541bd7e9ba12aff4ec4033bd9c6bb19476acb3c4) ) | |
| 1739 | 1769 | |
| 1740 | 1770 | ROM_REGION32_BE( 0x100000, "data", 0 ) |
| 1741 | 1771 | ROM_LOAD16_WORD_SWAP( "ou1dat0.20a", 0x00000, 0x80000, CRC(1a49aead) SHA1(df243aff1a6fb5bcf4d5d883c5af2374a4aff477) ) |
| r5490 | r5491 | |
| 1744 | 1774 | |
| 1745 | 1775 | ROM_START( outfxiesj ) |
| 1746 | 1776 | ROM_REGION( 0x100000, "maincpu", 0 ) /* main program */ |
| 1747 | ROM_LOAD32_WORD( "ou1-mprl.11c", 0x00002, 0x80000, CRC(d3b9e530) SHA1(3f5fe5eea817a23dfe42e76f32912ce94d4c49c9) ) | |
| 1748 | ROM_LOAD32_WORD( "ou1-mpru.11d", 0x00000, 0x80000, CRC(d98308fb) SHA1(fdefeebf56464a20e3aaefd88df4eee9f7b5c4f3) ) | |
| 1777 | ROM_LOAD32_WORD( "ou1_mprl.11c", 0x00002, 0x80000, CRC(d3b9e530) SHA1(3f5fe5eea817a23dfe42e76f32912ce94d4c49c9) ) | |
| 1778 | ROM_LOAD32_WORD( "ou1_mpru.11d", 0x00000, 0x80000, CRC(d98308fb) SHA1(fdefeebf56464a20e3aaefd88df4eee9f7b5c4f3) ) | |
| 1749 | 1779 | |
| 1750 | 1780 | ROM_REGION( 0x4000, "c75", 0 ) /* C75 program */ |
| 1751 | 1781 | ROM_LOAD( "c75.bin", 0, 0x4000, CRC(42f539a5) SHA1(3103e5a0a2867620309fd4fe478a2be0effbeff8) ) |
| r5490 | r5491 | |
| 1763 | 1793 | ROM_LOAD( "ou1shar.18s", 0, 0x200000, CRC(fbb48194) SHA1(2d3ec5bc519fad2b755018f83fadfe0cba13c292) ) |
| 1764 | 1794 | |
| 1765 | 1795 | ROM_REGION( 0x2000000, NAMCONB1_SPRITEGFXREGION, 0 ) |
| 1766 | ROM_LOAD16_BYTE( "ou1obj0l", 0x0000001, 0x200000, CRC(1b4f7184) SHA1(a05d67842fce92f321d1fdd3bd30aa3427775a0c) ) | |
| 1767 | ROM_LOAD16_BYTE( "ou1obj0u", 0x0000000, 0x200000, CRC(d0a69794) SHA1(07d449e54e9971abeb9cd5bb7b372270fafa8bac) ) | |
| 1768 | ROM_LOAD16_BYTE( "ou1obj1l", 0x0400001, 0x200000, CRC(48a93e84) SHA1(6935ec161a12237d4cec732d42070f381c23b47c) ) | |
| 1769 | ROM_LOAD16_BYTE( "ou1obj1u", 0x0400000, 0x200000, CRC(999de386) SHA1(d4780ab1929a3e2c2df464363d6451a2bcecb2a2) ) | |
| 1770 | ROM_LOAD16_BYTE( "ou1obj2l", 0x0800001, 0x200000, CRC(30386cd0) SHA1(3563c5378288da58136f102381373bd6fcaeec21) ) | |
| 1771 | ROM_LOAD16_BYTE( "ou1obj2u", 0x0800000, 0x200000, CRC(ccada5f8) SHA1(75ed95bb295780126879d67bba4d0ae1da63c928) ) | |
| 1772 | ROM_LOAD16_BYTE( "ou1obj3l", 0x0c00001, 0x200000, CRC(5f41b44e) SHA1(3f5376fcd3e15af772df65b8eda4d5ee07ee5664) ) | |
| 1773 | ROM_LOAD16_BYTE( "ou1obj3u", 0x0c00000, 0x200000, CRC(bc852c8e) SHA1(4863302c45ee16aaf2c36dac07aceaf287959c53) ) | |
| 1774 | ROM_LOAD16_BYTE( "ou1obj4l", 0x1000001, 0x200000, CRC(99a5f9d7) SHA1(b0f46f4ac357918137031a19c36a56a47b7aefd6) ) | |
| 1775 | ROM_LOAD16_BYTE( "ou1obj4u", 0x1000000, 0x200000, CRC(70ecaabb) SHA1(521c6849526fb271e6447f6c4f5bfa081f96b91e) ) | |
| 1796 | ROM_LOAD16_BYTE( "ou1obj0l.4c", 0x0000001, 0x200000, CRC(1b4f7184) SHA1(a05d67842fce92f321d1fdd3bd30aa3427775a0c) ) | |
| 1797 | ROM_LOAD16_BYTE( "ou1obj0u.8c", 0x0000000, 0x200000, CRC(d0a69794) SHA1(07d449e54e9971abeb9cd5bb7b372270fafa8bac) ) | |
| 1798 | ROM_LOAD16_BYTE( "ou1obj1l.4b", 0x0400001, 0x200000, CRC(48a93e84) SHA1(6935ec161a12237d4cec732d42070f381c23b47c) ) | |
| 1799 | ROM_LOAD16_BYTE( "ou1obj1u.8b", 0x0400000, 0x200000, CRC(999de386) SHA1(d4780ab1929a3e2c2df464363d6451a2bcecb2a2) ) | |
| 1800 | ROM_LOAD16_BYTE( "ou1obj2l.4a", 0x0800001, 0x200000, CRC(30386cd0) SHA1(3563c5378288da58136f102381373bd6fcaeec21) ) | |
| 1801 | ROM_LOAD16_BYTE( "ou1obj2u.8a", 0x0800000, 0x200000, CRC(ccada5f8) SHA1(75ed95bb295780126879d67bba4d0ae1da63c928) ) | |
| 1802 | ROM_LOAD16_BYTE( "ou1obj3l.6c", 0x0c00001, 0x200000, CRC(5f41b44e) SHA1(3f5376fcd3e15af772df65b8eda4d5ee07ee5664) ) | |
| 1803 | ROM_LOAD16_BYTE( "ou1obj3u.9c", 0x0c00000, 0x200000, CRC(bc852c8e) SHA1(4863302c45ee16aaf2c36dac07aceaf287959c53) ) | |
| 1804 | ROM_LOAD16_BYTE( "ou1obj4l.6b", 0x1000001, 0x200000, CRC(99a5f9d7) SHA1(b0f46f4ac357918137031a19c36a56a47b7aefd6) ) | |
| 1805 | ROM_LOAD16_BYTE( "ou1obj4u.9b", 0x1000000, 0x200000, CRC(70ecaabb) SHA1(521c6849526fb271e6447f6c4f5bfa081f96b91e) ) | |
| 1776 | 1806 | |
| 1777 | 1807 | ROM_REGION( 0x600000, NAMCONB1_ROTGFXREGION, 0 ) |
| 1778 | ROM_LOAD( "ou1-rot0", 0x000000, 0x200000, CRC(a50c67c8) SHA1(432b8451eb9eaa3078134fce1e5e2d58a8b64be3) ) | |
| 1779 | ROM_LOAD( "ou1-rot1", 0x200000, 0x200000, CRC(14866780) SHA1(4a54151fada4dfba7232e53e40623e5697eeb7db) ) | |
| 1780 | ROM_LOAD( "ou1-rot2", 0x400000, 0x200000, CRC(55ccf3af) SHA1(d98489aaa840cbffb21c47609961c1163b0336f3) ) | |
| 1808 | ROM_LOAD( "ou1-rot0.3d", 0x000000, 0x200000, CRC(a50c67c8) SHA1(432b8451eb9eaa3078134fce1e5e2d58a8b64be3) ) | |
| 1809 | ROM_LOAD( "ou1-rot1.3c", 0x200000, 0x200000, CRC(14866780) SHA1(4a54151fada4dfba7232e53e40623e5697eeb7db) ) | |
| 1810 | ROM_LOAD( "ou1-rot2.3b", 0x400000, 0x200000, CRC(55ccf3af) SHA1(d98489aaa840cbffb21c47609961c1163b0336f3) ) | |
| 1781 | 1811 | |
| 1782 | 1812 | ROM_REGION( 0x200000, NAMCONB1_TILEGFXREGION, 0 ) |
| 1783 | ROM_LOAD( "ou1-scr0", 0x000000, 0x200000, CRC(b3b3f2e9) SHA1(541bd7e9ba12aff4ec4033bd9c6bb19476acb3c4) ) | |
| 1813 | ROM_LOAD( "ou1-scr0.1d", 0x000000, 0x200000, CRC(b3b3f2e9) SHA1(541bd7e9ba12aff4ec4033bd9c6bb19476acb3c4) ) | |
| 1784 | 1814 | |
| 1785 | 1815 | ROM_REGION32_BE( 0x100000, "data", 0 ) |
| 1786 | 1816 | ROM_LOAD16_WORD_SWAP( "ou1dat0.20a", 0x00000, 0x80000, CRC(1a49aead) SHA1(df243aff1a6fb5bcf4d5d883c5af2374a4aff477) ) |
| r5490 | r5491 | |
| 1994 | 2024 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 1995 | 2025 | INPUT_PORTS_END |
| 1996 | 2026 | |
| 1997 | GAME( 1994, nebulray, 0, namconb1, namconb1, nebulray, ROT90, "Namco", "Nebulas Ray (World)", GAME_IMPERFECT_SOUND ) | |
| 1998 | GAME( 1994, nebulrayj,nebulray, namconb1, namconb1, nebulray, ROT90, "Namco", "Nebulas Ray (Japan)", GAME_IMPERFECT_SOUND ) | |
| 1999 | GAME( 1994, ptblank, 0, namconb1, gunbulet, gunbulet, ROT0, "Namco", "Point Blank", GAME_IMPERFECT_SOUND ) | |
| 2000 | GAME( 1994, gunbulet, ptblank, namconb1, gunbulet, gunbulet, ROT0, "Namco", "Gun Bullet (Japan)", GAME_IMPERFECT_SOUND ) | |
| 2027 | GAME( 1994, nebulray, 0, namconb1, namconb1, nebulray, ROT90, "Namco", "Nebulas Ray (World, NR2)", GAME_IMPERFECT_SOUND ) | |
| 2028 | GAME( 1994, nebulrayj,nebulray, namconb1, namconb1, nebulray, ROT90, "Namco", "Nebulas Ray (Japan, NR1)", GAME_IMPERFECT_SOUND ) | |
| 2029 | GAME( 1994, ptblank, 0, namconb1, gunbulet, gunbulet, ROT0, "Namco", "Point Blank (World, GN2 Rev B)", GAME_IMPERFECT_SOUND ) | |
| 2030 | GAME( 1994, gunbuletj,ptblank, namconb1, gunbulet, gunbulet, ROT0, "Namco", "Gun Bullet (Japan, GN1)", GAME_IMPERFECT_SOUND ) | |
| 2031 | GAME( 1994, gunbuletw,ptblank, namconb1, gunbulet, gunbulet, ROT0, "Namco", "Gun Bullet (World, GN3 Rev B)", GAME_IMPERFECT_SOUND ) | |
| 2001 | 2032 | GAME( 1993, gslugrsj, 0, namconb1, nbsports, gslgr94u, ROT0, "Namco", "Great Sluggers (Japan)", GAME_IMPERFECT_SOUND ) |
| 2002 | 2033 | GAME( 1994, gslgr94u, 0, namconb1, nbsports, gslgr94u, ROT0, "Namco", "Great Sluggers '94", GAME_IMPERFECT_SOUND ) |
| 2003 | 2034 | GAME( 1994, gslgr94j, gslgr94u, namconb1, nbsports, gslgr94j, ROT0, "Namco", "Great Sluggers '94 (Japan)", GAME_IMPERFECT_SOUND ) |
| r5490 | r5491 | |
| 2007 | 2038 | GAME( 1994, vshoot, 0, namconb1, namconb1, vshoot, ROT0, "Namco", "J-League Soccer V-Shoot (Japan)", GAME_IMPERFECT_SOUND ) |
| 2008 | 2039 | |
| 2009 | 2040 | /* YEAR, NAME, PARENT, MACHINE, INPUT, INIT, MNTR, COMPANY, FULLNAME, FLAGS */ |
| 2010 | GAME( 1994, outfxies, 0, namconb2, outfxies, outfxies, ROT0, "Namco", "Outfoxies", GAME_IMPERFECT_SOUND ) | |
| 2011 | GAME( 1994, outfxiesj,outfxies, namconb2, outfxies, outfxies, ROT0, "Namco", "Outfoxies (Japan)", GAME_IMPERFECT_SOUND ) | |
| 2012 | GAME( 1995, machbrkr, 0, namconb2, namconb1, machbrkr, ROT0, "Namco", "Mach Breakers - Numan Athletics 2 (Japan)", GAME_IMPERFECT_SOUND ) | |
| 2041 | GAME( 1994, outfxies, 0, namconb2, outfxies, outfxies, ROT0, "Namco", "Outfoxies (World, OU2)", GAME_IMPERFECT_SOUND ) | |
| 2042 | GAME( 1994, outfxiesj,outfxies, namconb2, outfxies, outfxies, ROT0, "Namco", "Outfoxies (Japan, OU1)", GAME_IMPERFECT_SOUND ) | |
| 2043 | GAME( 1995, machbrkr, 0, namconb2, namconb1, machbrkr, ROT0, "Namco", "Mach Breakers - Numan Athletics 2 (Japan)", GAME_IMPERFECT_SOUND ) |
| r5490 | r5491 | |
|---|---|---|
| 1584 | 1584 | } |
| 1585 | 1585 | |
| 1586 | 1586 | |
| 1587 | GAME( 1979, cosmicg, 0, cosmicg, cosmicg, cosmicg, ROT270, "Universal", "Cosmic Guerilla", GAME_NO_COCKTAIL ) | |
| 1588 | GAME( 1979, cosmica, 0, cosmica, cosmica, 0, ROT270, "Universal", "Cosmic Alien", 0 ) | |
| 1589 | GAME( 1979, cosmica2, cosmica, cosmica, cosmica, 0, ROT270, "Universal", "Cosmic Alien (older)", 0 ) | |
| 1587 | GAME( 1979, cosmicg, 0, cosmicg, cosmicg, cosmicg, ROT270, "Universal", "Cosmic Guerilla", GAME_IMPERFECT_SOUND | GAME_NO_COCKTAIL ) | |
| 1588 | GAME( 1979, cosmica, 0, cosmica, cosmica, 0, ROT270, "Universal", "Cosmic Alien", GAME_IMPERFECT_SOUND ) | |
| 1589 | GAME( 1979, cosmica2, cosmica, cosmica, cosmica, 0, ROT270, "Universal", "Cosmic Alien (older)", GAME_IMPERFECT_SOUND ) | |
| 1590 | 1590 | GAME( 1980, nomnlnd, 0, nomnlnd, nomnlnd, nomnlnd, ROT270, "Universal", "No Man's Land", GAME_IMPERFECT_SOUND ) |
| 1591 | 1591 | GAME( 1980, nomnlndg, nomnlnd, nomnlnd, nomnlndg, nomnlnd, ROT270, "Universal (Gottlieb license)", "No Man's Land (Gottlieb)", GAME_IMPERFECT_SOUND ) |
| 1592 | 1592 | GAME( 1980, magspot, 0, magspot, magspot, 0, ROT270, "Universal", "Magical Spot", GAME_IMPERFECT_SOUND ) |
| 1593 | 1593 | GAME( 1980, magspot2, 0, magspot, magspot, 0, ROT270, "Universal", "Magical Spot II", GAME_IMPERFECT_SOUND ) |
| 1594 | GAME( 1980, panic, 0, panic, panic, 0, ROT270, "Universal", "Space Panic (version E)", 0 ) | |
| 1595 | GAME( 1980, panic2, panic, panic, panic, 0, ROT270, "Universal", "Space Panic (set 2)", 0 ) | |
| 1596 | GAME( 1980, panic3, panic, panic, panic, 0, ROT270, "Universal", "Space Panic (set 3)", 0 ) | |
| 1597 | GAME( 1980, panich, panic, panic, panic, 0, ROT270, "Universal", "Space Panic (harder)", 0 ) | |
| 1598 | GAME( 1980, panicger, panic, panic, panic, 0, ROT270, "Universal (ADP Automaten license)", "Space Panic (German)", 0 ) | |
| 1594 | GAME( 1980, panic, 0, panic, panic, 0, ROT270, "Universal", "Space Panic (version E)", GAME_IMPERFECT_SOUND ) | |
| 1595 | GAME( 1980, panic2, panic, panic, panic, 0, ROT270, "Universal", "Space Panic (set 2)", GAME_IMPERFECT_SOUND ) | |
| 1596 | GAME( 1980, panic3, panic, panic, panic, 0, ROT270, "Universal", "Space Panic (set 3)", GAME_IMPERFECT_SOUND ) | |
| 1597 | GAME( 1980, panich, panic, panic, panic, 0, ROT270, "Universal", "Space Panic (harder)", GAME_IMPERFECT_SOUND ) | |
| 1598 | GAME( 1980, panicger, panic, panic, panic, 0, ROT270, "Universal (ADP Automaten license)", "Space Panic (German)", GAME_IMPERFECT_SOUND ) | |
| 1599 | 1599 | GAME( 1980, devzone, 0, devzone, devzone, devzone, ROT270, "Universal", "Devil Zone", GAME_IMPERFECT_SOUND ) |
| 1600 | 1600 | GAME( 1980, devzone2, devzone, devzone, devzone2, devzone, ROT270, "Universal", "Devil Zone (easier)", GAME_IMPERFECT_SOUND ) |
| r5490 | r5491 | |
|---|---|---|
| 66 | 66 | g-stream_title.jpg 152672 0xf7b9bfd3 |
| 67 | 67 | g-stream_pcb.jpg 2563664 0x5ec864f3 |
| 68 | 68 | |
| 69 | Name Size CRC32 Chip Type | |
| 70 | --------------------------------------------- | |
| 71 | gs_prg_02.bin 2097152 0x2f8a6bea 27C160 | |
| 72 | gs_gr_01.bin 2097152 0xb82cfab8 27C160 | |
| 73 | gs_gr_02.bin 2097152 0x37e19cbd 27C160 | |
| 74 | gs_gr_03.bin 2097152 0x1a3b2b11 27C160 | |
| 75 | gs_gr_04.bin 2097152 0xa4e8906c 27C160 | |
| 76 | gs_gr_05.bin 2097152 0xef283a73 27C160 | |
| 77 | gs_gr_06.bin 2097152 0xd4e3a2b2 27C160 | |
| 78 | gs_gr_07.bin 2097152 0x84e66fe1 27C160 | |
| 79 | gs_gr_08.bin 2097152 0xabd0d6aa 27C160 | |
| 80 | gs_gr_09.bin 2097152 0xf2c4fd77 27C160 | |
| 81 | gs_gr_10.bin 2097152 0xd696d15d 27C160 | |
| 82 | gs_gr_11.bin 2097152 0x946d71d1 27C160 | |
| 83 | gs_gr_12.bin 2097152 0x94b56e4e 27C160 | |
| 84 | gs_gr_13.bin 2097152 0x7daaeff0 27C160 | |
| 85 | gs_gr_14.bin 2097152 0x6bd2a1e1 27C160 | |
| 86 | gs_snd_01.bin 524288 0x79b64d3f 27C040 | |
| 87 | gs_snd_02.bin 524288 0xe49ed92c 27C040 | |
| 88 | gs_snd_03.bin 524288 0x2bfff4ac 27C040 | |
| 89 | gs_snd_04.bin 524288 0xb259de3b 27C040 | |
| 90 | gs_prg_01.bin 524288 0x0d0c6a38 27C040 | |
| 69 | Name Size CRC32 Chip Type | |
| 70 | ---------------------------------------------- | |
| 71 | gs_prg_02.u197 2097152 0x2f8a6bea 27C160 | |
| 72 | gs_gr_01.u120 2097152 0xb82cfab8 27C160 | |
| 73 | gs_gr_02.u121 2097152 0x37e19cbd 27C160 | |
| 74 | gs_gr_03.u125 2097152 0x1a3b2b11 27C160 | |
| 75 | gs_gr_04.u126 2097152 0xa4e8906c 27C160 | |
| 76 | gs_gr_05.u174 2097152 0xef283a73 27C160 | |
| 77 | gs_gr_06.u175 2097152 0xd4e3a2b2 27C160 | |
| 78 | gs_gr_07.u107 2097152 0x84e66fe1 27C160 | |
| 79 | gs_gr_08.u109 2097152 0xabd0d6aa 27C160 | |
| 80 | gs_gr_09.u180 2097152 0xf2c4fd77 27C160 | |
| 81 | gs_gr_10.u182 2097152 0xd696d15d 27C160 | |
| 82 | gs_gr_11.u108 2097152 0x946d71d1 27C160 | |
| 83 | gs_gr_12.u110 2097152 0x94b56e4e 27C160 | |
| 84 | gs_gr_13.u181 2097152 0x7daaeff0 27C160 | |
| 85 | gs_gr_14.u183 2097152 0x6bd2a1e1 27C160 | |
| 86 | gs_snd_01.u192 524288 0x79b64d3f 27C040 | |
| 87 | gs_snd_02.u194 524288 0xe49ed92c 27C040 | |
| 88 | gs_snd_03.u191 524288 0x2bfff4ac 27C040 | |
| 89 | gs_snd_04.u193 524288 0xb259de3b 27C040 | |
| 90 | gs_prg_01.u56 524288 0x0d0c6a38 27C040 | |
| 91 | 91 | |
| 92 | 92 | . Board supplied by Tormod |
| 93 | 93 | . Board dumped by Tormod |
| r5490 | r5491 | |
| 509 | 509 | |
| 510 | 510 | ROM_REGION( 0x1000000, "gfx1", 0 ) /* sprite tiles (16x16x8) */ |
| 511 | 511 | ROM_LOAD32_WORD( "gs_gr_07.u107", 0x000000, 0x200000, CRC(84e66fe1) SHA1(73d828714f9ed9baffdc06998f5bf3298396fe9c) ) |
| 512 | ROM_LOAD32_WORD( "gs_gr_11. | |
| 512 | ROM_LOAD32_WORD( "gs_gr_11.u108", | |
| 513 | 513 | ROM_LOAD32_WORD( "gs_gr_08.u109", 0x400000, 0x200000, CRC(abd0d6aa) SHA1(dd294bbdda05697df84247257f735ab51bc26ca3) ) |
| 514 | 514 | ROM_LOAD32_WORD( "gs_gr_12.u110", 0x400002, 0x200000, CRC(94b56e4e) SHA1(7c3877f993e575326dbd4c2e5d7570747277b20d) ) |
| 515 | ROM_LOAD32_WORD( "gs_gr_09. | |
| 515 | ROM_LOAD32_WORD( "gs_gr_09.u180", | |
| 516 | 516 | ROM_LOAD32_WORD( "gs_gr_13.u181", 0x800002, 0x200000, CRC(7daaeff0) SHA1(5766d9a3a8c0931305424e0089108ce8df7dfe41) ) |
| 517 | ROM_LOAD32_WORD( "gs_gr_10. | |
| 517 | ROM_LOAD32_WORD( "gs_gr_10.u182", | |
| 518 | 518 | ROM_LOAD32_WORD( "gs_gr_14.u183", 0xc00002, 0x200000, CRC(6bd2a1e1) SHA1(aedca91643f14ececc101a7708255ce9b1d70f68) ) |
| 519 | 519 | |
| 520 | 520 | ROM_REGION( 0xc00000, "gfx2", 0 ) /* bg tiles (32x32x8) */ |
| r5490 | r5491 | |
| 523 | 523 | ROM_LOAD( "gs_gr_03.u125", 0x400000, 0x200000, CRC(1a3b2b11) SHA1(a4b1dc1a9709f8f8f2ab2190d7badc246caa540f) ) |
| 524 | 524 | ROM_LOAD( "gs_gr_04.u126", 0x600000, 0x200000, CRC(a4e8906c) SHA1(b285d7697cdaa62014cf65d09a19fcbd6a95bb98) ) |
| 525 | 525 | ROM_LOAD( "gs_gr_05.u174", 0x800000, 0x200000, CRC(ef283a73) SHA1(8b598facb344eac33138611abc141a2acb375983) ) |
| 526 | ROM_LOAD( "gs_gr_06. | |
| 526 | ROM_LOAD( "gs_gr_06.u175", | |
| 527 | 527 | |
| 528 | 528 | ROM_REGION( 0x200000, "oki1", 0 ) |
| 529 | 529 | ROM_LOAD( "gs_snd_01.u192", 0x000000, 0x080000, CRC(79b64d3f) SHA1(b2166210d3a3b85b9ace90749a444c881f69d551) ) |
| 530 | 530 | ROM_LOAD( "gs_snd_02.u194", 0x080000, 0x080000, CRC(e49ed92c) SHA1(a3d7b3fe93a786a246acf2657d9056398c793078) ) |
| 531 | ROM_LOAD( "gs_snd_03. | |
| 531 | ROM_LOAD( "gs_snd_03.u191", | |
| 532 | 532 | ROM_LOAD( "gs_snd_04.u193", 0x180000, 0x080000, CRC(b259de3b) SHA1(1a64f41d4344fefad5832332f1a7655e23f6b017) ) |
| 533 | 533 | |
| 534 | 534 | ROM_REGION( 0x200000, "oki2", 0 ) |
| r5490 | r5491 | |
|---|---|---|
| 178 | 178 | // AM_RANGE(0x52, 0x52) AM_WRITENOP // CRT Controller |
| 179 | 179 | ADDRESS_MAP_END |
| 180 | 180 | |
| 181 | static INPUT_PORTS_START( | |
| 181 | static INPUT_PORTS_START( hf_keyboard ) | |
| 182 | 182 | PORT_START("KEY0") |
| 183 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_A ) | |
| 184 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_E ) | |
| 185 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_I ) | |
| 186 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_M ) | |
| 187 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_KAN ) | |
| 183 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) | |
| 184 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) | |
| 185 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 186 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_YES ) | |
| 187 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 188 | 188 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 ) |
| 189 | 189 | PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 190 | 190 | |
| 191 | 191 | PORT_START("KEY1") |
| 192 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_B ) | |
| 193 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_F ) | |
| 194 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_J ) | |
| 195 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_N ) | |
| 196 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_REACH ) | |
| 192 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) | |
| 193 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) | |
| 194 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 195 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_NO ) | |
| 196 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 197 | 197 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_MAHJONG_BET ) |
| 198 | 198 | PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 199 | 199 | |
| 200 | 200 | PORT_START("KEY2") |
| 201 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_C ) | |
| 202 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_G ) | |
| 203 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_K ) | |
| 204 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_CHI ) | |
| 205 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_RON ) | |
| 201 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_C ) | |
| 202 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_G ) | |
| 203 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 204 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 205 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 206 | 206 | PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 207 | 207 | |
| 208 | 208 | PORT_START("KEY3") |
| 209 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_D ) | |
| 210 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_H ) | |
| 211 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_L ) | |
| 212 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_PON ) | |
| 209 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) | |
| 210 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_H ) | |
| 211 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 212 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 213 | 213 | PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 214 | 214 | |
| 215 | 215 | PORT_START("KEY4") |
| r5490 | r5491 | |
| 308 | 308 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2) |
| 309 | 309 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 310 | 310 | |
| 311 | PORT_INCLUDE( | |
| 311 | PORT_INCLUDE( hf_keyboard ) | |
| 312 | 312 | INPUT_PORTS_END |
| 313 | 313 | |
| 314 | 314 | static INPUT_PORTS_START( hnfubuki ) |
| r5490 | r5491 | |
| 398 | 398 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2) |
| 399 | 399 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 400 | 400 | |
| 401 | PORT_INCLUDE( | |
| 401 | PORT_INCLUDE( hf_keyboard ) | |
| 402 | 402 | INPUT_PORTS_END |
| 403 | 403 | |
| 404 | 404 | |
| r5490 | r5491 | |
| 692 | 692 | GAME( 1987, hnayayoi, 0, hnayayoi, hnayayoi, 0, ROT0, "Dyna Electronics", "Hana Yayoi (Japan)", 0 ) |
| 693 | 693 | GAME( 1987, hnfubuki, hnayayoi, hnfubuki, hnfubuki, hnfubuki, ROT0, "Dynax", "Hana Fubuki [BET] (Japan)", 0 ) |
| 694 | 694 | GAME( 1987, untoucha, 0, untoucha, untoucha, 0, ROT0, "Dynax", "Untouchable (Japan)", 0 ) |
| 695 |
| r5490 | r5491 | |
|---|---|---|
| 11 | 11 | - Tetris |
| 12 | 12 | - Python |
| 13 | 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 | 14 | */ |
| 27 | 15 | |
| 28 | 16 | #include "driver.h" |
| 29 | 17 | #include "cpu/i8085/i8085.h" |
| 30 | 18 | #include "includes/pk8000.h" |
| 31 | 19 | #include "machine/i8255a.h" |
| 32 | #include "sound/ | |
| 20 | #include "sound/speaker.h" | |
| 33 | 21 | |
| 34 | 22 | static void pk8000_set_bank(running_machine *machine,UINT8 data) |
| 35 | 23 | { |
| r5490 | r5491 | |
| 102 | 90 | |
| 103 | 91 | static WRITE8_DEVICE_HANDLER(pk8000_80_portc_w) |
| 104 | 92 | { |
| 105 | | |
| 93 | | |
| 106 | 94 | } |
| 107 | 95 | |
| 108 | 96 | static I8255A_INTERFACE( pk8000_ppi8255_interface_1 ) |
| r5490 | r5491 | |
| 173 | 161 | PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_UNUSED) |
| 174 | 162 | |
| 175 | 163 | 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) | |
| 164 | PORT_BIT(0xff, IP_ACTIVE_HIGH, IPT_UNUSED) | |
| 184 | 165 | INPUT_PORTS_END |
| 185 | 166 | |
| 186 | 167 | |
| r5490 | r5491 | |
| 238 | 219 | |
| 239 | 220 | /* audio hardware */ |
| 240 | 221 | MDRV_SPEAKER_STANDARD_MONO("mono") |
| 241 | MDRV_SOUND_ADD(" | |
| 222 | MDRV_SOUND_ADD("speaker", SPEAKER, 0) | |
| 242 | 223 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) |
| 243 | 224 | MACHINE_DRIVER_END |
| 244 | 225 | |
| 245 | ||
| 226 | /* | |
| 227 | Dump was made using custom adaptor, hence it is marked as bad dump. | |
| 228 | The real machine has following roms: | |
| 229 | 0000...07FFh - ROM1 (D41) | |
| 230 | 0800...0FFFh - ROM2 (D42) | |
| 231 | 1000...17FFh - ROM3 (D43) | |
| 232 | 1800...1FFFh - not chip sealed (D44) | |
| 233 | 2000...27FFh - ROM5 (D45) | |
| 234 | 2800...2FFFh - ROM6 (D46) | |
| 235 | 3000...37FFh - ROM7 (D47) | |
| 236 | 3000...37FFh - ROM8 (D48) | |
| 237 | */ | |
| 246 | 238 | ROM_START( phtetris ) |
| 247 | 239 | ROM_REGION( 0x20000, "maincpu", 0 ) |
| 248 | 240 | ROM_LOAD( "foton_tetris.bin", 0x10000, 0x4000, BAD_DUMP CRC(a8af10bb) SHA1(5e2ea9a5d38399cbe156638eea73a3d25c442f77) ) |
| 249 | 241 | ROM_END |
| 250 | 242 | |
| 251 | GAME( 19??, phtetris, 0, photon, photon, 0, ROT0, "<unknown>", "Tetris (Photon System)", 0 ) | |
| 243 | /* | |
| 244 | Dump was made using custom adaptor, hence it is marked as bad dump. | |
| 245 | The real machine has following roms: | |
| 246 | ||
| 247 | 0000...07FFh - ROM1 (D41) | |
| 248 | 0800...0FFFh - ROM2 (D42) | |
| 249 | 1000...17FFh - ROM3 (D43) | |
| 250 | */ | |
| 251 | ROM_START( phpython ) | |
| 252 | ROM_REGION( 0x20000, "maincpu", 0 ) | |
| 253 | ROM_LOAD( "foton_piton.bin", 0x10000, 0x1800, BAD_DUMP CRC(4eac925a) SHA1(26f9a18c7aed31b7daacdc003bafb60a5e6d6300) ) | |
| 254 | ROM_END | |
| 255 | ||
| 256 | GAME( 19??, phtetris, 0, photon, photon, 0, ROT0, "<unknown>", "Tetris (Photon System)", 0 ) | |
| 257 | GAME( 1989?, phpython, 0, photon, photon, 0, ROT0, "<unknown>", "Python (Photon System)", 0 ) |
| r5490 | r5491 | |
|---|---|---|
| 23 | 23 | pkrdewin | clone | Poker De Win. |
| 24 | 24 | ampkr95 | clone | American Poker 95. |
| 25 | 25 | videomat | clone | Videomat (polish bootleg). |
| 26 | rabbitpk | clone | Rabbit Poker / Arizona Poker 1.1? (with PIC) | |
| 26 | 27 | sigmapkr | parent | Sigma Poker. |
| 27 | 28 | sigma2k | parent | Sigma Poker 2000. |
| 28 | 29 | |
| r5490 | r5491 | |
| 278 | 279 | --- DRIVER UPDATES --- |
| 279 | 280 | |
| 280 | 281 | |
| 282 | [2009-08-17] | |
| 283 | ||
| 284 | - Added Rabbit Poker / Arizona Poker? set (with GAL22V10 and PIC16F84A). | |
| 285 | - Added proper decryption algorithms. | |
| 286 | - Updated technical notes. | |
| 287 | ||
| 288 | ||
| 281 | 289 | [2008-10-07] |
| 282 | 290 | - Improved the button-lamps layout to all games. Now are more realistic. |
| 283 | 291 | |
| r5490 | r5491 | |
| 603 | 611 | AM_RANGE(0x3A, 0x3A) AM_DEVREAD("ay", ay8910_r) |
| 604 | 612 | ADDRESS_MAP_END |
| 605 | 613 | |
| 614 | /* | |
| 606 | 615 | |
| 616 | Rabbit Poker writes... | |
| 617 | ||
| 618 | 12dc W \ Writting to the PIC?... The program doesn't seems to poll it. | |
| 619 | 12dd W / | |
| 620 | ||
| 621 | Something is going wrong here. 12xx is ROM space. Put a BP on 12e5 and | |
| 622 | you can see the NVRAM checking routine (NVRAM = c000-cfff) | |
| 623 | ||
| 624 | 'maincpu' (000012E5): unmapped program memory byte write to 000012DC = E5 | |
| 625 | 'maincpu' (000012E5): unmapped program memory byte write to 000012DD = 12 | |
| 626 | 'maincpu' (000012F0): unmapped program memory byte write to 000012DC = F0 | |
| 627 | 'maincpu' (000012F0): unmapped program memory byte write to 000012DD = 12 | |
| 628 | 'maincpu' (000012F0): unmapped program memory byte write to 000012DC = F0 | |
| 629 | 'maincpu' (000012F0): unmapped program memory byte write to 000012DD = 12 | |
| 630 | 'maincpu' (000012F0): unmapped program memory byte write to 000012DC = F0 | |
| 631 | 'maincpu' (000012F0): unmapped program memory byte write to 000012DD = 12 | |
| 632 | 'maincpu' (000012F0): unmapped program memory byte write to 000012DC = F0 | |
| 633 | 'maincpu' (000012F0): unmapped program memory byte write to 000012DD = 12 | |
| 634 | 'maincpu' (000012F0): unmapped program memory byte write to 000012DC = F0 | |
| 635 | 'maincpu' (000012F0): unmapped program memory byte write to 000012DD = 12 | |
| 636 | 'maincpu' (000012F0): unmapped program memory byte write to 000012DC = F0 | |
| 637 | 'maincpu' (000012F0): unmapped program memory byte write to 000012DD = 12 | |
| 638 | 'maincpu' (000012F2): unmapped program memory byte write to 000012DC = F2 | |
| 639 | 'maincpu' (000012F2): unmapped program memory byte write to 000012DD = 12 | |
| 640 | ||
| 641 | */ | |
| 642 | ||
| 607 | 643 | /************************* |
| 608 | 644 | * Input ports * |
| 609 | 645 | *************************/ |
| r5490 | r5491 | |
| 1208 | 1244 | ROM_LOAD( "82s147an_s2k.u48", 0x0000, 0x0200, CRC(715361cc) SHA1(cac239399c9ec5d7498e49a906fb5b934ef7f4dc) ) |
| 1209 | 1245 | ROM_END |
| 1210 | 1246 | |
| 1247 | /* | |
| 1211 | 1248 | |
| 1249 | Rabbit Poker, or Arizona Poker 1.1 ?? | |
| 1250 | ||
| 1251 | American Poker 2 board | |
| 1252 | program rom on small daughter board | |
| 1253 | with GAL22V10 and PIC16F84A | |
| 1254 | prom not dumped | |
| 1255 | ||
| 1256 | */ | |
| 1257 | ROM_START( rabbitpk ) | |
| 1258 | ROM_REGION( 0x10000, "maincpu", 0 ) | |
| 1259 | ROM_LOAD( "poldi_ren.u6", 0x0000, 0x10000, CRC(ef0d5b47) SHA1(5d209c803ab8ced08953d24202a364ce1aa677c2) ) | |
| 1260 | ||
| 1261 | ROM_REGION( 0x4000, "gfx1", 0 ) | |
| 1262 | ROM_LOAD( "poldi_graf.u47", 0x0000, 0x4000, CRC(f1807f39) SHA1(631645272c7508104749e0ff1357bd74098851d5) ) | |
| 1263 | ||
| 1264 | ROM_REGION( 0x200, "proms", 0 ) /* not dumped. using the ampoker2 one instead */ | |
| 1265 | ROM_LOAD( "82s147an.u48", 0x0000, 0x0200, CRC(9bc8e543) SHA1(e4882868a43e21a509a180b9731600d1dd63b5cc) ) | |
| 1266 | ROM_END | |
| 1267 | ||
| 1268 | ||
| 1212 | 1269 | /************************* |
| 1270 | * Driver Init * | |
| 1271 | *************************/ | |
| 1272 | ||
| 1273 | static DRIVER_INIT( rabbitpk ) | |
| 1274 | { | |
| 1275 | ||
| 1276 | UINT8 *rom = memory_region(machine, "maincpu"); | |
| 1277 | UINT8 *buffer; | |
| 1278 | int size = memory_region_length(machine, "maincpu"); | |
| 1279 | int start = 0; | |
| 1280 | int i; | |
| 1281 | ||
| 1282 | UINT8 dec_base[32] = | |
| 1283 | { | |
| 1284 | 0x00, 0x43, 0x45, 0x06, 0xc3, 0x80, 0x86, 0xc5, | |
| 1285 | 0x84, 0xc7, 0xc1, 0x82, 0x47, 0x04, 0x02, 0x41, | |
| 1286 | 0x86, 0xc5, 0xc3, 0x80, 0x45, 0x06, 0x00, 0x43, | |
| 1287 | 0x02, 0x41, 0x47, 0x04, 0xc1, 0x82, 0x84, 0xc7 | |
| 1288 | }; | |
| 1289 | ||
| 1290 | for (i = start; i < size; i++) | |
| 1291 | { | |
| 1292 | rom[i] = BITSWAP8(rom[i], 1, 2, 5, 4, 3, 0, 7, 6) ^ dec_base[(i >> 2) & 0x1f]; | |
| 1293 | } | |
| 1294 | ||
| 1295 | buffer = alloc_array_or_die(UINT8, size); | |
| 1296 | memcpy(buffer, rom, size); | |
| 1297 | ||
| 1298 | free(buffer); | |
| 1299 | } | |
| 1300 | ||
| 1301 | ||
| 1302 | /************************* | |
| 1213 | 1303 | * Game Drivers * |
| 1214 | 1304 | *************************/ |
| 1215 | 1305 | |
| 1216 | /* YEAR NAME PARENT MACHINE INPUT INIT ROT COMPANY FULLNAME FLAGS LAYOUT */ | |
| 1217 | GAMEL( 1990, ampoker2, 0, ampoker2, ampoker2, 0, ROT0, "Novomatic", "American Poker II", GAME_SUPPORTS_SAVE, layout_ampoker2 ) | |
| 1218 | GAMEL( 1990, ampkr2b1, ampoker2, ampoker2, ampoker2, 0, ROT0, "bootleg", "American Poker II (bootleg, set 1)", GAME_SUPPORTS_SAVE, layout_ampoker2 ) | |
| 1219 | GAMEL( 1990, ampkr2b2, ampoker2, ampoker2, ampoker2, 0, ROT0, "bootleg", "American Poker II (bootleg, set 2)", GAME_SUPPORTS_SAVE, layout_ampoker2 ) | |
| 1220 | GAMEL( 1994, ampkr2b3, ampoker2, ampoker2, ampoker2, 0, ROT0, "bootleg", "American Poker II (bootleg, set 3)", GAME_SUPPORTS_SAVE, layout_ampoker2 ) | |
| 1221 | GAMEL( 1994, ampkr2b4, ampoker2, ampoker2, ampoker2, 0, ROT0, "bootleg", "American Poker II (bootleg, set 4)", GAME_SUPPORTS_SAVE, layout_ampoker2 ) | |
| 1222 | GAMEL( 1994, ampkr228, ampoker2, ampoker2, ampoker2, 0, ROT0, "bootleg?", "American Poker II (iamp2 v28)", GAME_SUPPORTS_SAVE, layout_ampoker2 ) | |
| 1223 | GAMEL( 1995, ampkr95, ampoker2, ampoker2, ampkr95, 0, ROT0, "bootleg", "American Poker 95", GAME_SUPPORTS_SAVE, layout_ampoker2 ) | |
| 1224 | GAMEL( 1990, pkrdewin, ampoker2, ampoker2, ampoker2, 0, ROT0, "bootleg", "Poker De Win", GAME_SUPPORTS_SAVE, layout_ampoker2 ) | |
| 1225 | GAMEL( 1990, videomat, ampoker2, ampoker2, ampoker2, 0, ROT0, "bootleg", "Videomat (polish bootleg)", GAME_SUPPORTS_SAVE, layout_ampoker2 ) | |
| 1226 | GAMEL( 1995, sigmapkr, 0, ampoker2, sigmapkr, 0, ROT0, "Sigma Inc.", "Sigma Poker", GAME_SUPPORTS_SAVE, layout_sigmapkr ) | |
| 1227 | GAMEL( 1998, sigma2k, 0, sigma2k, sigma2k, 0, ROT0, "Sigma Inc.", "Sigma Poker 2000", GAME_SUPPORTS_SAVE, layout_sigmapkr ) | |
| 1306 | /* YEAR NAME PARENT MACHINE INPUT INIT ROT COMPANY FULLNAME FLAGS LAYOUT */ | |
| 1307 | GAMEL( 1990, ampoker2, 0, ampoker2, ampoker2, 0, ROT0, "Novomatic", "American Poker II", GAME_SUPPORTS_SAVE, layout_ampoker2 ) | |
| 1308 | GAMEL( 1990, ampkr2b1, ampoker2, ampoker2, ampoker2, 0, ROT0, "bootleg", "American Poker II (bootleg, set 1)", GAME_SUPPORTS_SAVE, layout_ampoker2 ) | |
| 1309 | GAMEL( 1990, ampkr2b2, ampoker2, ampoker2, ampoker2, 0, ROT0, "bootleg", "American Poker II (bootleg, set 2)", GAME_SUPPORTS_SAVE, layout_ampoker2 ) | |
| 1310 | GAMEL( 1994, ampkr2b3, ampoker2, ampoker2, ampoker2, 0, ROT0, "bootleg", "American Poker II (bootleg, set 3)", GAME_SUPPORTS_SAVE, layout_ampoker2 ) | |
| 1311 | GAMEL( 1994, ampkr2b4, ampoker2, ampoker2, ampoker2, 0, ROT0, "bootleg", "American Poker II (bootleg, set 4)", GAME_SUPPORTS_SAVE, layout_ampoker2 ) | |
| 1312 | GAMEL( 1994, ampkr228, ampoker2, ampoker2, ampoker2, 0, ROT0, "bootleg?", "American Poker II (iamp2 v28)", GAME_SUPPORTS_SAVE, layout_ampoker2 ) | |
| 1313 | GAMEL( 1995, ampkr95, ampoker2, ampoker2, ampkr95, 0, ROT0, "bootleg", "American Poker 95", GAME_SUPPORTS_SAVE, layout_ampoker2 ) | |
| 1314 | GAMEL( 1990, pkrdewin, ampoker2, ampoker2, ampoker2, 0, ROT0, "bootleg", "Poker De Win", GAME_SUPPORTS_SAVE, layout_ampoker2 ) | |
| 1315 | GAMEL( 1990, videomat, ampoker2, ampoker2, ampoker2, 0, ROT0, "bootleg", "Videomat (polish bootleg)", GAME_SUPPORTS_SAVE, layout_ampoker2 ) | |
| 1316 | GAMEL( 1990, rabbitpk, ampoker2, ampoker2, ampoker2, rabbitpk, ROT0, "bootleg", "Rabbit Poker (Arizona Poker v1.1?)", GAME_SUPPORTS_SAVE, layout_ampoker2 ) | |
| 1317 | GAMEL( 1995, sigmapkr, 0, ampoker2, sigmapkr, 0, ROT0, "Sigma Inc.", "Sigma Poker", GAME_SUPPORTS_SAVE, layout_sigmapkr ) | |
| 1318 | GAMEL( 1998, sigma2k, 0, sigma2k, sigma2k, 0, ROT0, "Sigma Inc.", "Sigma Poker 2000", GAME_SUPPORTS_SAVE, layout_sigmapkr ) |
| r5490 | r5491 | |
|---|---|---|
| 657 | 657 | ROM_LOAD( "u27", 0xf800, 0x0800, CRC(f3782bd0) SHA1(bfc6d29f9668e02857453e96c005c81568ae931d) ) |
| 658 | 658 | ROM_END |
| 659 | 659 | |
| 660 | ||
| 660 | // original taito board 08-00003-001 | |
| 661 | 661 | ROM_START( qixa ) |
| 662 | 662 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 663 | ROM_LOAD( "u12_", 0xc000, 0x0800, CRC(5adc046d) SHA1(aafd3ae7139a83fe64fc69c771a57fe7ee271469) ) | |
| 664 | ROM_LOAD( "u13_", 0xc800, 0x0800, CRC(e63283c6) SHA1(efb6e5c835c0511be024f664cb8d2fcfe8f842f1) ) | |
| 665 | ROM_LOAD( "u14_", 0xd000, 0x0800, CRC(a2fd4c28) SHA1(7da8bd1164d8d1a16f0841345ab6d73ae4fde97e) ) | |
| 666 | ROM_LOAD( "u15_", 0xd800, 0x0800, CRC(0e5e17d6) SHA1(fd6afe1ef87158868c266a0d39dd894c1f656a1f) ) | |
| 667 | ROM_LOAD( "u16_", 0xe000, 0x0800, CRC(6acfa3b8) SHA1(4759c72626cf287b068a1f14eae9fdb210b6ecfa) ) | |
| 668 | ROM_LOAD( "u17_", 0xe800, 0x0800, CRC(bc091f21) SHA1(f3db149a794640e0826def688ab19a26750d9f1e) ) | |
| 669 | ROM_LOAD( "u18_", 0xf000, 0x0800, CRC(610b19ce) SHA1(6d3d6012a4d0cd3ea82f4ab07582fa262feaaf97) ) | |
| 670 | ROM_LOAD( "u19_", 0xf800, 0x0800, CRC(11f957f4) SHA1(5700603b2d50eef6ab32316f59d70782a8ef4a6d) ) | |
| 671 | ||
| 672 | ROM_REGION( 0x10000, "videocpu", 0 ) | |
| 673 | ROM_LOAD( "u3_", 0xc000, 0x0800, CRC(79cf997c) SHA1(853cb88d371cd2d47caf60baa795caef9461815c) ) | |
| 674 | ROM_LOAD( "u4_", 0xc800, 0x0800, CRC(e5ee74cd) SHA1(10fd95385d0d8667f739fe43a9fb26d2780840f9) ) | |
| 675 | ROM_LOAD( "u5_", 0xd000, 0x0800, CRC(4e939d87) SHA1(ca45f212bd419666716685931f18d2990444bb1b) ) | |
| 676 | ROM_LOAD( "u6_", 0xd800, 0x0800, CRC(b42ca7d8) SHA1(09907f7c2c5165ce5cdf270c33caafc9e5db534e) ) | |
| 677 | ROM_LOAD( "u7_", 0xe000, 0x0800, CRC(d6733019) SHA1(89e9e63c91e044fe1c6ce883e3ec18eec0cb39d3) ) | |
| 678 | ROM_LOAD( "u8_", 0xe800, 0x0800, CRC(8cab8fb2) SHA1(4ae58119d24ac70bea2cd4871a21a59ef20f7351) ) | |
| 679 | ROM_LOAD( "u9_", 0xf000, 0x0800, CRC(98fbac76) SHA1(5a9b5bdf930dc494cd50059f88256d7e561b4e09) ) | |
| 680 | ROM_LOAD( "u10_", 0xf800, 0x0800, CRC(b40f084a) SHA1(16811b8f24b955a72f2a0950e9688cbd0e26afa4) ) | |
| 681 | ||
| 682 | ROM_REGION( 0x10000, "audiocpu", 0 ) | |
| 683 | ROM_LOAD( "u27", 0xf800, 0x0800, CRC(f3782bd0) SHA1(bfc6d29f9668e02857453e96c005c81568ae931d) ) | |
| 684 | ROM_END | |
| 685 | ||
| 686 | // same set as above, but with larger roms | |
| 687 | ROM_START( qixb ) | |
| 688 | ROM_REGION( 0x10000, "maincpu", 0 ) | |
| 689 | ROM_LOAD( "lk14.bin", 0xc000, 0x1000, CRC(6d164986) SHA1(c805abe1a441e10080ceca8ba547835bafb61bcc) ) | |
| 690 | ROM_LOAD( "lk15.bin", 0xd000, 0x1000, CRC(16c6ce0f) SHA1(b8091d2db476d2acb4b3f0789e1f155336be9b39) ) | |
| 691 | ROM_LOAD( "lk16.bin", 0xe000, 0x1000, CRC(698b1f9c) SHA1(7e7637ca5985f072e821e16f8b65aedb87df136b) ) | |
| 692 | ROM_LOAD( "lk17.bin", 0xf000, 0x1000, CRC(7e3adde6) SHA1(dfe66317f87e10919f1ea4b4d565703e73039821) ) | |
| 693 | ||
| 694 | ROM_REGION( 0x10000, "videocpu", 0 ) | |
| 695 | ROM_LOAD( "lk10.bin", 0xc000, 0x1000, CRC(7eac67d0) SHA1(ca5938422aaa1e380af0afa505876d4682ac69b9) ) | |
| 696 | ROM_LOAD( "lk11.bin", 0xd000, 0x1000, CRC(90ccbb6a) SHA1(b65592384597dc2aafc02f49b6b6f477c9112580) ) | |
| 697 | ROM_LOAD( "lk12.bin", 0xe000, 0x1000, CRC(be9b9f7d) SHA1(e681bdb9aa8b8c31af1c14e23d0f420577d6db63) ) | |
| 698 | ROM_LOAD( "lk13.bin", 0xf000, 0x1000, CRC(51c9853b) SHA1(29a5221f2af866d2ee73110409ecddc2c96404fd) ) | |
| 699 | ||
| 700 | ROM_REGION( 0x10000, "audiocpu", 0 ) | |
| 701 | ROM_LOAD( "u27", 0xf800, 0x0800, CRC(f3782bd0) SHA1(bfc6d29f9668e02857453e96c005c81568ae931d) ) | |
| 702 | ROM_END | |
| 703 | ||
| 704 | ||
| 705 | ROM_START( qixo ) | |
| 706 | ROM_REGION( 0x10000, "maincpu", 0 ) | |
| 663 | 707 | ROM_LOAD( "qu12", 0xc000, 0x0800, CRC(1c55b44d) SHA1(6385e5e484e24cf396c14de86344170639c3cc65) ) |
| 664 | 708 | ROM_LOAD( "qu13", 0xc800, 0x0800, CRC(20279e8c) SHA1(722da239636de3fe40318768ddbe687b19afcdb6) ) |
| 665 | 709 | ROM_LOAD( "qu14", 0xd000, 0x0800, CRC(bafe3ce3) SHA1(648a54545a1b545c82c0ace5eb1ce17af5ea7391) ) |
| r5490 | r5491 | |
| 684 | 728 | ROM_END |
| 685 | 729 | |
| 686 | 730 | |
| 687 | ROM_START( qixb ) | |
| 688 | ROM_REGION( 0x10000, "maincpu", 0 ) | |
| 689 | ROM_LOAD( "lk14.bin", 0xc000, 0x1000, CRC(6d164986) SHA1(c805abe1a441e10080ceca8ba547835bafb61bcc) ) | |
| 690 | ROM_LOAD( "lk15.bin", 0xd000, 0x1000, CRC(16c6ce0f) SHA1(b8091d2db476d2acb4b3f0789e1f155336be9b39) ) | |
| 691 | ROM_LOAD( "lk16.bin", 0xe000, 0x1000, CRC(698b1f9c) SHA1(7e7637ca5985f072e821e16f8b65aedb87df136b) ) | |
| 692 | ROM_LOAD( "lk17.bin", 0xf000, 0x1000, CRC(7e3adde6) SHA1(dfe66317f87e10919f1ea4b4d565703e73039821) ) | |
| 693 | 731 | |
| 694 | ROM_REGION( 0x10000, "videocpu", 0 ) | |
| 695 | ROM_LOAD( "lk10.bin", 0xc000, 0x1000, CRC(7eac67d0) SHA1(ca5938422aaa1e380af0afa505876d4682ac69b9) ) | |
| 696 | ROM_LOAD( "lk11.bin", 0xd000, 0x1000, CRC(90ccbb6a) SHA1(b65592384597dc2aafc02f49b6b6f477c9112580) ) | |
| 697 | ROM_LOAD( "lk12.bin", 0xe000, 0x1000, CRC(be9b9f7d) SHA1(e681bdb9aa8b8c31af1c14e23d0f420577d6db63) ) | |
| 698 | ROM_LOAD( "lk13.bin", 0xf000, 0x1000, CRC(51c9853b) SHA1(29a5221f2af866d2ee73110409ecddc2c96404fd) ) | |
| 699 | ||
| 700 | ROM_REGION( 0x10000, "audiocpu", 0 ) | |
| 701 | ROM_LOAD( "u27", 0xf800, 0x0800, CRC(f3782bd0) SHA1(bfc6d29f9668e02857453e96c005c81568ae931d) ) | |
| 702 | ROM_END | |
| 703 | ||
| 704 | ||
| 705 | 732 | ROM_START( qix2 ) |
| 706 | 733 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 707 | 734 | ROM_LOAD( "u12.rmb", 0xc000, 0x0800, CRC(484280fd) SHA1(a60c1a278e519721294b2486dc817d248d19c3be) ) |
| r5490 | r5491 | |
| 1305 | 1332 | * |
| 1306 | 1333 | *************************************/ |
| 1307 | 1334 | |
| 1308 | GAME( 1981, qix, 0, qix, qix, 0, ROT270, "Taito America Corporation", "Qix (set 1)", GAME_SUPPORTS_SAVE ) | |
| 1309 | GAME( 1981, qixa, qix, qix, qix, 0, ROT270, "Taito America Corporation", "Qix (set 2)", GAME_SUPPORTS_SAVE ) | |
| 1310 | GAME( 1981, qixb, qix, qix, qix, 0, ROT270, "Taito America Corporation", "Qix (set 3)", GAME_SUPPORTS_SAVE ) | |
| 1335 | GAME( 1981, qix, 0, qix, qix, 0, ROT270, "Taito America Corporation", "Qix (set 1)", GAME_SUPPORTS_SAVE ) // newest set? closest to 'qix2' | |
| 1336 | GAME( 1981, qixa, qix, qix, qix, 0, ROT270, "Taito America Corporation", "Qix (set 2, smaller roms)", GAME_SUPPORTS_SAVE ) | |
| 1337 | GAME( 1981, qixb, qix, qix, qix, 0, ROT270, "Taito America Corporation", "Qix (set 2, larger roms)", GAME_SUPPORTS_SAVE ) | |
| 1338 | GAME( 1981, qixo, qix, qix, qix, 0, ROT270, "Taito America Corporation", "Qix (set 3, earlier)", GAME_SUPPORTS_SAVE ) // oldest set / prototype? has incorrect spelling 'deutch' and doesn't allow language selection to be changed | |
| 1311 | 1339 | GAME( 1981, qix2, qix, qix, qix, 0, ROT270, "Taito America Corporation", "Qix II (Tournament)", GAME_SUPPORTS_SAVE ) |
| 1312 | 1340 | GAME( 1981, sdungeon, 0, mcu, sdungeon, 0, ROT270, "Taito America Corporation", "Space Dungeon", GAME_SUPPORTS_SAVE ) |
| 1313 | 1341 | GAMEL(1982, elecyoyo, 0, mcu, elecyoyo, 0, ROT270, "Taito America Corporation", "The Electric Yo-Yo (set 1)", GAME_SUPPORTS_SAVE, layout_elecyoyo ) |
| r5490 | r5491 | |
|---|---|---|
| 550 | 550 | MDRV_CPU_ADD("soundcpu", SPC700, 2048000/2) /* 2.048 Mhz, but internal divider */ |
| 551 | 551 | MDRV_CPU_PROGRAM_MAP(spc_mem) |
| 552 | 552 | |
| 553 | MDRV_QUANTUM_ | |
| 553 | MDRV_QUANTUM_P | |
| 554 | 554 | |
| 555 | 555 | MDRV_MACHINE_START( snes ) |
| 556 | 556 | MDRV_MACHINE_RESET( snes ) |
| r5490 | r5491 | |
|---|---|---|
| 1477 | 1477 | * |
| 1478 | 1478 | *************************************/ |
| 1479 | 1479 | |
| 1480 | GAME( 1977, spacewar, 0, spacewar, spacewar, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Space Wars", GAME_SUPPORTS_SAVE ) | |
| 1481 | GAME( 1979, barrier, 0, barrier, barrier, 0, ORIENTATION_FLIP_X ^ ROT270, "Vectorbeam", "Barrier", GAME_SUPPORTS_SAVE ) | |
| 1482 | GAME( 1979, speedfrk, 0, speedfrk, speedfrk, speedfrk, ORIENTATION_FLIP_Y, "Vectorbeam", "Speed Freak", GAME_NO_SOUND ) | |
| 1483 | GAME( 1979, starhawk, 0, starhawk, starhawk, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Star Hawk", GAME_SUPPORTS_SAVE ) | |
| 1484 | GAMEL(1979, sundance, 0, sundance, sundance, sundance, ORIENTATION_FLIP_X ^ ROT270, "Cinematronics", "Sundance", GAME_SUPPORTS_SAVE, layout_voffff20 ) | |
| 1485 | GAMEL(1979, tailg, 0, tailg, tailg, tailg, ORIENTATION_FLIP_Y, "Cinematronics", "Tailgunner", GAME_SUPPORTS_SAVE, layout_ho20ffff ) | |
| 1486 | GAME( 1979, warrior, 0, warrior, warrior, 0, ORIENTATION_FLIP_Y, "Vectorbeam", "Warrior", GAME_SUPPORTS_SAVE ) | |
| 1487 | GAMEL(1980, armora, 0, armora, armora, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Armor Attack", GAME_SUPPORTS_SAVE, layout_armora ) | |
| 1488 | GAMEL(1980, armorap, armora, armora, armora, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Armor Attack (prototype)", GAME_SUPPORTS_SAVE, layout_armora ) | |
| 1489 | GAMEL(1980, armorar, armora, armora, armora, 0, ORIENTATION_FLIP_Y, "Cinematronics (Rock-ola license)", "Armor Attack (Rock-ola)", GAME_SUPPORTS_SAVE, layout_armora ) | |
| 1490 | GAME( 1980, ripoff, 0, ripoff, ripoff, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Rip Off", GAME_SUPPORTS_SAVE ) | |
| 1491 | GAMEL(1980, starcas, 0, starcas, starcas, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Star Castle (version 3)", GAME_SUPPORTS_SAVE, layout_starcas ) | |
| 1492 | GAMEL(1980, starcas1, starcas, starcas, starcas, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Star Castle (older)", GAME_SUPPORTS_SAVE, layout_starcas ) | |
| 1493 | GAMEL(1980, starcasp, starcas, starcas, starcas, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Star Castle (prototype)", GAME_SUPPORTS_SAVE, layout_starcas ) | |
| 1494 | GAMEL(1980, starcase, starcas, starcas, starcas, 0, ORIENTATION_FLIP_Y, "Cinematronics (Mottoeis license)", "Star Castle (Mottoeis)", GAME_SUPPORTS_SAVE, layout_starcas ) | |
| 1495 | GAMEL(1980, stellcas, starcas, starcas, starcas, 0, ORIENTATION_FLIP_Y, "bootleg", "Stellar Castle (Elettronolo)", GAME_SUPPORTS_SAVE, layout_starcas ) | |
| 1496 | GAMEL(1981, spaceftr, starcas, starcas, starcas, 0, ORIENTATION_FLIP_Y, "Zaccaria", "Space Fortress (Zaccaria)", GAME_SUPPORTS_SAVE | GAME_NOT_WORKING, layout_starcas ) | |
| 1497 | GAMEL(1981, solarq, 0, solarq, solarq, 0, ORIENTATION_FLIP_Y ^ ORIENTATION_FLIP_X, "Cinematronics", "Solar Quest", GAME_SUPPORTS_SAVE, layout_solarq ) | |
| 1498 | GAME( 1981, boxingb, 0, boxingb, boxingb, boxingb, ORIENTATION_FLIP_Y, "Cinematronics", "Boxing Bugs", GAME_SUPPORTS_SAVE ) | |
| 1499 | GAME( 1981, wotw, 0, wotw, wotw, 0, ORIENTATION_FLIP_Y, "Cinematronics", "War of the Worlds", GAME_SUPPORTS_SAVE ) | |
| 1500 | GAME( 1981, wotwc, wotw, wotwc, wotw, 0, ORIENTATION_FLIP_Y, "Cinematronics", "War of the Worlds (color)", GAME_SUPPORTS_SAVE ) | |
| 1480 | GAME( 1977, spacewar, 0, spacewar, spacewar, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Space Wars", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1481 | GAME( 1979, barrier, 0, barrier, barrier, 0, ORIENTATION_FLIP_X ^ ROT270, "Vectorbeam", "Barrier", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1482 | GAME( 1979, speedfrk, 0, speedfrk, speedfrk, speedfrk, ORIENTATION_FLIP_Y, "Vectorbeam", "Speed Freak", GAME_NO_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1483 | GAME( 1979, starhawk, 0, starhawk, starhawk, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Star Hawk", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1484 | GAMEL(1979, sundance, 0, sundance, sundance, sundance, ORIENTATION_FLIP_X ^ ROT270, "Cinematronics", "Sundance", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_voffff20 ) | |
| 1485 | GAMEL(1979, tailg, 0, tailg, tailg, tailg, ORIENTATION_FLIP_Y, "Cinematronics", "Tailgunner", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_ho20ffff ) | |
| 1486 | GAME( 1979, warrior, 0, warrior, warrior, 0, ORIENTATION_FLIP_Y, "Vectorbeam", "Warrior", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1487 | GAMEL(1980, armora, 0, armora, armora, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Armor Attack", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_armora ) | |
| 1488 | GAMEL(1980, armorap, armora, armora, armora, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Armor Attack (prototype)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_armora ) | |
| 1489 | GAMEL(1980, armorar, armora, armora, armora, 0, ORIENTATION_FLIP_Y, "Cinematronics (Rock-ola license)", "Armor Attack (Rock-ola)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_armora ) | |
| 1490 | GAME( 1980, ripoff, 0, ripoff, ripoff, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Rip Off", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1491 | GAMEL(1980, starcas, 0, starcas, starcas, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Star Castle (version 3)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_starcas ) | |
| 1492 | GAMEL(1980, starcas1, starcas, starcas, starcas, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Star Castle (older)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_starcas ) | |
| 1493 | GAMEL(1980, starcasp, starcas, starcas, starcas, 0, ORIENTATION_FLIP_Y, "Cinematronics", "Star Castle (prototype)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_starcas ) | |
| 1494 | GAMEL(1980, starcase, starcas, starcas, starcas, 0, ORIENTATION_FLIP_Y, "Cinematronics (Mottoeis license)", "Star Castle (Mottoeis)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_starcas ) | |
| 1495 | GAMEL(1980, stellcas, starcas, starcas, starcas, 0, ORIENTATION_FLIP_Y, "bootleg", "Stellar Castle (Elettronolo)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_starcas ) | |
| 1496 | GAMEL(1981, spaceftr, starcas, starcas, starcas, 0, ORIENTATION_FLIP_Y, "Zaccaria", "Space Fortress (Zaccaria)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE | GAME_NOT_WORKING, layout_starcas ) | |
| 1497 | GAMEL(1981, solarq, 0, solarq, solarq, 0, ORIENTATION_FLIP_Y ^ ORIENTATION_FLIP_X, "Cinematronics", "Solar Quest", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_solarq ) | |
| 1498 | GAME( 1981, boxingb, 0, boxingb, boxingb, boxingb, ORIENTATION_FLIP_Y, "Cinematronics", "Boxing Bugs", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1499 | GAME( 1981, wotw, 0, wotw, wotw, 0, ORIENTATION_FLIP_Y, "Cinematronics", "War of the Worlds", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1500 | GAME( 1981, wotwc, wotw, wotwc, wotw, 0, ORIENTATION_FLIP_Y, "Cinematronics", "War of the Worlds (color)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1501 | 1501 | GAME( 1982, demon, 0, demon, demon, 0, ORIENTATION_FLIP_Y, "Rock-ola", "Demon", GAME_SUPPORTS_SAVE ) |
| 1502 | 1502 | GAME( 1982, qb3, 0, qb3, qb3, qb3, ORIENTATION_FLIP_Y, "Rock-ola", "QB-3 (prototype)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) |
| r5490 | r5491 | |
|---|---|---|
| 86 | 86 | #include "driver.h" |
| 87 | 87 | #include "cpu/z80/z80.h" |
| 88 | 88 | #include "cpu/mcs48/mcs48.h" |
| 89 | #include "sound/5220 | |
| 89 | #include "sound/tms5220 | |
| 90 | 90 | |
| 91 | 91 | extern UINT8 *portrait_bgvideoram,*portrait_fgvideoram; |
| 92 | 92 |
| r5490 | r5491 | |
|---|---|---|
| 56 | 56 | #include "cpu/i8085/i8085.h" |
| 57 | 57 | #include "vicdual.h" |
| 58 | 58 | |
| 59 | #include "depthch.lh" | |
| 59 | 60 | |
| 60 | 61 | |
| 62 | ||
| 61 | 63 | /************************************* |
| 62 | 64 | * |
| 63 | 65 | * Coin handling |
| r5490 | r5491 | |
| 3218 | 3220 | * |
| 3219 | 3221 | *************************************/ |
| 3220 | 3222 | |
| 3221 | GAME( 1977, depthch, 0, depthch, depthch, 0, ROT0, "Gremlin", "Depthcharge", 0 ) | |
| 3222 | GAME( 1977, depthcho, depthch, depthch, depthch, 0, ROT0, "Gremlin", "Depthcharge (older)", 0 ) | |
| 3223 | GAME( 1977, subhunt, depthch, depthch, depthch, 0, ROT0, "Taito", "Sub Hunter", 0 ) | |
| 3223 | GAMEL(1977, depthch, 0, depthch, depthch, 0, ROT0, "Gremlin", "Depthcharge", GAME_IMPERFECT_SOUND, layout_depthch ) | |
| 3224 | GAMEL(1977, depthcho, depthch, depthch, depthch, 0, ROT0, "Gremlin", "Depthcharge (older)", GAME_IMPERFECT_SOUND, layout_depthch ) | |
| 3225 | GAME( 1977, subhunt, depthch, depthch, depthch, 0, ROT0, "Taito", "Sub Hunter", GAME_IMPERFECT_SOUND ) | |
| 3224 | 3226 | GAME( 1977, safari, 0, safari, safari, 0, ROT0, "Gremlin", "Safari", GAME_NO_SOUND ) |
| 3225 | GAME( 1978, frogs, 0, frogs, frogs, 0, ROT0, "Gremlin", "Frogs", | |
| 3227 | GAME( 1978, frogs, 0, frogs, frogs, 0, ROT0, "Gremlin", "Frogs", GAME_IMPERFECT_SOUND ) | |
| 3226 | 3228 | GAME( 1979, sspaceat, 0, sspaceat, sspaceat, 0, ROT270, "Sega", "Space Attack (upright set 1)", GAME_NO_SOUND ) |
| 3227 | 3229 | GAME( 1979, sspaceat2,sspaceat, sspaceat, sspaceat, 0, ROT270, "Sega", "Space Attack (upright set 2)", GAME_NO_SOUND ) |
| 3228 | 3230 | GAME( 1979, sspaceat3,sspaceat, sspaceat, sspaceat, 0, ROT270, "Sega", "Space Attack (upright set 3)", GAME_NO_SOUND ) |
| r5490 | r5491 | |
| 3237 | 3239 | GAME( 1979, invho2, 0, invho2, invho2, 0, ROT270, "Sega", "Invinco / Head On 2", GAME_IMPERFECT_SOUND ) |
| 3238 | 3240 | GAME( 1980, nsub, 0, nsub, nsub, 0, ROT270, "Sega", "N-Sub (upright)", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 3239 | 3241 | GAME( 1980, samurai, 0, samurai, samurai, 0, ROT270, "Sega", "Samurai", GAME_NO_SOUND ) |
| 3240 | GAME( 1979, invinco, 0, invinco, invinco, 0, ROT270, "Sega", "Invinco", | |
| 3242 | GAME( 1979, invinco, 0, invinco, invinco, 0, ROT270, "Sega", "Invinco", GAME_IMPERFECT_SOUND ) | |
| 3241 | 3243 | GAME( 1979, invds, 0, invds, invds, 0, ROT270, "Sega", "Invinco / Deep Scan", GAME_IMPERFECT_SOUND ) |
| 3242 | 3244 | GAME( 1980, tranqgun, 0, tranqgun, tranqgun, 0, ROT270, "Sega", "Tranquillizer Gun", GAME_NO_SOUND ) |
| 3243 | 3245 | GAME( 1980, spacetrk, 0, spacetrk, spacetrk, 0, ROT270, "Sega", "Space Trek (upright)", GAME_NO_SOUND ) |
| 3244 | 3246 | GAME( 1980, spacetrkc,spacetrk, spacetrk, sptrekct, 0, ROT270, "Sega", "Space Trek (cocktail)", GAME_NO_SOUND ) |
| 3245 | GAME( 1980, carnival, 0, carnival, carnival, 0, ROT270, "Sega", "Carnival (upright)", 0 ) | |
| 3246 | GAME( 1980, carnivalc,carnival, carnival, carnvckt, 0, ROT270, "Sega", "Carnival (cocktail)", 0 ) | |
| 3247 | GAME( 1980, carnival, 0, carnival, carnival, 0, ROT270, "Sega", "Carnival (upright)", GAME_IMPERFECT_SOUND ) | |
| 3248 | GAME( 1980, carnivalc,carnival, carnival, carnvckt, 0, ROT270, "Sega", "Carnival (cocktail)", GAME_IMPERFECT_SOUND ) | |
| 3247 | 3249 | GAME( 1981, brdrline, 0, brdrline, brdrline, 0, ROT270, "Sega", "Borderline", GAME_NO_SOUND ) |
| 3248 | 3250 | GAME( 1981, brdrlins, brdrline, brdrline, brdrline, 0, ROT270, "[Sega] (Sidam bootleg)", "Borderline (Sidam bootleg)", GAME_NO_SOUND ) |
| 3249 | 3251 | GAME( 1981, brdrlinb, brdrline, brdrline, brdrline, 0, ROT270, "[Sega] (Karateco bootleg)", "Borderline (Karateco bootleg)", GAME_NO_SOUND ) |
| 3250 | 3252 | GAME( 1980, digger, 0, digger, digger, 0, ROT270, "Sega", "Digger", GAME_NO_SOUND ) |
| 3251 | GAME( 1981, pulsar, 0, pulsar, pulsar, 0, ROT270, "Sega", "Pulsar", | |
| 3253 | GAME( 1981, pulsar, 0, pulsar, pulsar, 0, ROT270, "Sega", "Pulsar", GAME_IMPERFECT_SOUND ) | |
| 3252 | 3254 | GAME( 1979, heiankyo, 0, heiankyo, heiankyo, 0, ROT270, "Denki Onkyo", "Heiankyo Alien", GAME_NO_SOUND ) |
| 3253 | 3255 | GAME( 19??, alphaho, 0, alphaho, alphaho, 0, ROT270, "Data East Corporation", "Alpha Fighter / Head On", GAME_WRONG_COLORS | GAME_NO_SOUND ) |
| r5490 | r5491 | |
|---|---|---|
| 40 | 40 | #include "machine/8255ppi.h" |
| 41 | 41 | #include "sound/ay8910.h" |
| 42 | 42 | #include "sound/dac.h" |
| 43 | #include "sound/5220 | |
| 43 | #include "sound/tms5220 | |
| 44 | 44 | |
| 45 | 45 | |
| 46 | 46 | extern UINT8 *zaccaria_videoram,*zaccaria_attributesram; |
| r5490 | r5491 | |
|---|---|---|
| 129 | 129 | #include "machine/atarigen.h" |
| 130 | 130 | #include "slapstic.h" |
| 131 | 131 | #include "atarisy2.h" |
| 132 | #include "sound/5220 | |
| 132 | #include "sound/tms5220 | |
| 133 | 133 | #include "sound/2151intf.h" |
| 134 | 134 | #include "sound/pokey.h" |
| 135 | 135 |
| r5490 | r5491 | |
|---|---|---|
| 653 | 653 | |
| 654 | 654 | PORT_START("DIPSW2") |
| 655 | 655 | PORT_SERVICE_DIPLOC( 0x01, IP_ACTIVE_LOW, "SW2:8" ) |
| 656 | PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "SW2:7" ) | |
| 657 | PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "SW2:6" ) | |
| 658 | PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "SW2:5" ) | |
| 659 | PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x10, "SW2:4" ) | |
| 656 | PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW2:7" ) | |
| 657 | PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "SW2:6" ) | |
| 658 | PORT_DIPUNUSED_DIPLOC( 0x08, 0x08, "SW2:5" ) | |
| 659 | PORT_DIPUNUSED_DIPLOC( 0x10, 0x10, "SW2:4" ) | |
| 660 | 660 | PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW2:3,2,1") |
| 661 | 661 | PORT_DIPSETTING( 0x00, DEF_STR( 5C_1C ) ) |
| 662 | 662 | PORT_DIPSETTING( 0x20, DEF_STR( 4C_1C ) ) |
| r5490 | r5491 | |
| 680 | 680 | PORT_DIPNAME( 0x04, 0x04, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SW1:6") |
| 681 | 681 | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) |
| 682 | 682 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 683 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:5") // manual says "Table_Type Off=Table On=Upright", but not work? | |
| 684 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) | |
| 685 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 683 | PORT_DIPUNUSED_DIPLOC( 0x08, 0x08, "SW1:5" ) // manual says "Table_Type Off=Table On=Upright", but not work? | |
| 686 | 684 | PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:4") |
| 687 | 685 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
| 688 | 686 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 689 | 687 | PORT_DIPNAME( 0x20, 0x20, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:3") // listed on Japanese manual only ? |
| 690 | 688 | PORT_DIPSETTING( 0x20, DEF_STR( Normal ) ) |
| 691 | 689 | PORT_DIPSETTING( 0x00, DEF_STR( Hard ) ) |
| 692 | PORT_DIPNAME( 0x40, 0x40, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:2 | |
| 690 | PORT_DIPNAME( 0x40, 0x40, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:2 | |
| 693 | 691 | PORT_DIPSETTING( 0x40, "50000 and every 50000" ) |
| 694 | 692 | PORT_DIPSETTING( 0x00, "100000 and every 100000" ) |
| 695 | 693 | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:1") |
| r5490 | r5491 | |
| 698 | 696 | |
| 699 | 697 | PORT_START("DIPSW2") |
| 700 | 698 | PORT_SERVICE_DIPLOC( 0x01, IP_ACTIVE_LOW, "SW2:8" ) |
| 701 | PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "SW2:7" ) | |
| 702 | PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "SW2:6" ) | |
| 703 | PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "SW2:5" ) | |
| 704 | PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x10, "SW2:4" ) | |
| 705 | PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x20, "SW2:3" ) | |
| 706 | PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x40, "SW2:2" ) | |
| 707 | PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x80, "SW2:1" ) | |
| 699 | PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW2:7" ) | |
| 700 | PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "SW2:6" ) | |
| 701 | PORT_DIPUNUSED_DIPLOC( 0x08, 0x08, "SW2:5" ) | |
| 702 | PORT_DIPUNUSED_DIPLOC( 0x10, 0x10, "SW2:4" ) | |
| 703 | PORT_DIPUNUSED_DIPLOC( 0x20, 0x20, "SW2:3" ) | |
| 704 | PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW2:2" ) | |
| 705 | PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW2:1" ) | |
| 708 | 706 | INPUT_PORTS_END |
| 709 | 707 | |
| 710 | 708 | static INPUT_PORTS_START( robokid ) |
| r5490 | r5491 | |
| 737 | 735 | |
| 738 | 736 | PORT_START("DIPSW2") |
| 739 | 737 | PORT_SERVICE_DIPLOC( 0x01, IP_ACTIVE_LOW, "SW2:8" ) |
| 740 | PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "SW2:7" ) | |
| 741 | PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "SW2:6" ) | |
| 742 | PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "SW2:5" ) | |
| 743 | PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x10, "SW2:4" ) | |
| 738 | PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW2:7" ) | |
| 739 | PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "SW2:6" ) | |
| 740 | PORT_DIPUNUSED_DIPLOC( 0x08, 0x08, "SW2:5" ) | |
| 741 | PORT_DIPUNUSED_DIPLOC( 0x10, 0x10, "SW2:4" ) | |
| 744 | 742 | PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW2:3,2,1") |
| 745 | 743 | PORT_DIPSETTING( 0x00, DEF_STR( 5C_1C ) ) |
| 746 | 744 | PORT_DIPSETTING( 0x20, DEF_STR( 4C_1C ) ) |
| r5490 | r5491 | |
| 777 | 775 | PORT_DIPSETTING( 0x02, DEF_STR( Hard ) ) |
| 778 | 776 | PORT_DIPSETTING( 0x04, DEF_STR( Hardest ) ) |
| 779 | 777 | PORT_SERVICE_DIPLOC( 0x08, IP_ACTIVE_LOW, "SW1:5" ) |
| 780 | PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:4") // manual says "Off=Table_Type On=Upright_Type", but not work? | |
| 781 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) | |
| 782 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 778 | PORT_DIPUNUSED_DIPLOC( 0x10, 0x10, "SW1:4" ) // manual says "Off=Table_Type On=Upright_Type", but not work? | |
| 783 | 779 | PORT_DIPNAME( 0x20, 0x20, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:3") |
| 784 | 780 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 785 | 781 | PORT_DIPSETTING( 0x20, DEF_STR( On ) ) |
| r5490 | r5491 | |
|---|---|---|
| 205 | 205 | break; |
| 206 | 206 | case 5: |
| 207 | 207 | if( geebee_bgw != (data & 1) ) |
| 208 | tilemap_mark_all_tiles_dirty | |
| 208 | tilemap_mark_all_tiles_dirty | |
| 209 | 209 | geebee_bgw = data & 1; |
| 210 | 210 | break; |
| 211 | 211 | case 6: |
| r5490 | r5491 | |
|---|---|---|
| 333 | 333 | MDRV_CPU_PROGRAM_MAP(gng_map) |
| 334 | 334 | MDRV_CPU_VBLANK_INT("screen", irq0_line_hold) |
| 335 | 335 | |
| 336 | MDRV_CPU_ADD("audiocpu", Z80, XTAL_12MHz/ | |
| 336 | MDRV_CPU_ADD("audiocpu", Z80, XTAL_12MHz/4) /* verified on pcb */ | |
| 337 | 337 | MDRV_CPU_PROGRAM_MAP(sound_map) |
| 338 | 338 | MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,4) |
| 339 | 339 |
| r5490 | r5491 | |
|---|---|---|
| 22 | 22 | |
| 23 | 23 | - Telmajan cannot set to JAMMA type. I don't know why. |
| 24 | 24 | |
| 25 | - Controls in gionbana: 1~8 is assigned to A~H, "Yes" is LShift, "No" is Z. | |
| 26 | ||
| 27 | - Controls in maiko,hanaoji,hnxmasev and hnageman: 1~8 is assigned to A~H, "Yes" is M, "No" is N. | |
| 28 | ||
| 29 | 25 | - Real machine has ROMs for protection, but I don't know how to access the ROM, |
| 30 | 26 | so I'm doing something that works but is probably wrong. |
| 31 | 27 | The interesting thing about that ROM is that it comes from other, older games, |
| r5490 | r5491 | |
| 713 | 709 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 714 | 710 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 715 | 711 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 716 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_ | |
| 712 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 717 | 713 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 718 | 714 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 719 | 715 | |
| r5490 | r5491 | |
| 780 | 776 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 781 | 777 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 782 | 778 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 783 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 779 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 784 | 780 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 785 | 781 | |
| 786 | 782 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 845 | 841 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 846 | 842 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 847 | 843 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 848 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_ | |
| 844 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 849 | 845 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 850 | 846 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 851 | 847 | |
| r5490 | r5491 | |
| 911 | 907 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 912 | 908 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 913 | 909 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 914 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_ | |
| 910 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 915 | 911 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 916 | 912 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 917 | 913 | |
| r5490 | r5491 | |
| 997 | 993 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 998 | 994 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 999 | 995 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1000 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_ | |
| 996 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1001 | 997 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1002 | 998 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 1003 | 999 | |
| r5490 | r5491 | |
| 1082 | 1078 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1083 | 1079 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1084 | 1080 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1085 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_ | |
| 1081 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1086 | 1082 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1087 | 1083 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 1088 | 1084 | |
| 1089 | PORT_INCLUDE( nb | |
| 1085 | PORT_INCLUDE( nbhf1_c | |
| 1090 | 1086 | INPUT_PORTS_END |
| 1091 | 1087 | |
| 1092 | 1088 | static INPUT_PORTS_START( mgion ) |
| r5490 | r5491 | |
| 1148 | 1144 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1149 | 1145 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1150 | 1146 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1151 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_ | |
| 1147 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1152 | 1148 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1153 | 1149 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 1154 | 1150 | |
| 1155 | PORT_INCLUDE( nb | |
| 1151 | PORT_INCLUDE( nbhf1_c | |
| 1156 | 1152 | INPUT_PORTS_END |
| 1157 | 1153 | |
| 1158 | 1154 | static INPUT_PORTS_START( omotesnd ) |
| r5490 | r5491 | |
| 1215 | 1211 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1216 | 1212 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1217 | 1213 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1218 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1214 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1219 | 1215 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 1220 | 1216 | |
| 1221 | PORT_INCLUDE( nb | |
| 1217 | PORT_INCLUDE( nbhf1_c | |
| 1222 | 1218 | INPUT_PORTS_END |
| 1223 | 1219 | |
| 1224 | 1220 | static INPUT_PORTS_START( abunai ) |
| r5490 | r5491 | |
| 1279 | 1275 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1280 | 1276 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1281 | 1277 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1282 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_ | |
| 1278 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1283 | 1279 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1284 | 1280 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 1285 | 1281 | |
| 1286 | PORT_INCLUDE( nb | |
| 1282 | PORT_INCLUDE( nbhf1_c | |
| 1287 | 1283 | INPUT_PORTS_END |
| 1288 | 1284 | |
| 1289 | 1285 | static INPUT_PORTS_START( mgmen89 ) |
| r5490 | r5491 | |
| 1345 | 1341 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1346 | 1342 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1347 | 1343 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1348 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_ | |
| 1344 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1349 | 1345 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1350 | 1346 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 1351 | 1347 | |
| r5490 | r5491 | |
| 1414 | 1410 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1415 | 1411 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1416 | 1412 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1417 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_ | |
| 1413 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1418 | 1414 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1419 | 1415 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 1420 | 1416 | |
| r5490 | r5491 | |
| 1479 | 1475 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1480 | 1476 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1481 | 1477 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 1482 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1478 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1483 | 1479 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1484 | 1480 | |
| 1485 | 1481 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1544 | 1540 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1545 | 1541 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1546 | 1542 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1547 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_ | |
| 1543 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1548 | 1544 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1549 | 1545 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 1550 | 1546 | |
| r5490 | r5491 | |
| 1611 | 1607 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1612 | 1608 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1613 | 1609 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 1614 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1610 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1615 | 1611 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1616 | 1612 | |
| 1617 | 1613 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1675 | 1671 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1676 | 1672 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1677 | 1673 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 1678 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1674 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1679 | 1675 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1680 | 1676 | |
| 1681 | 1677 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1740 | 1736 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1741 | 1737 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1742 | 1738 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1743 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_ | |
| 1739 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1744 | 1740 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1745 | 1741 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 1746 | 1742 | |
| r5490 | r5491 | |
| 1806 | 1802 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1807 | 1803 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1808 | 1804 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1809 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_ | |
| 1805 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1810 | 1806 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1811 | 1807 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 1812 | 1808 | |
| r5490 | r5491 | |
| 1876 | 1872 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1877 | 1873 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1878 | 1874 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1879 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1875 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1880 | 1876 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 1881 | 1877 | |
| 1882 | 1878 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1940 | 1936 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 1941 | 1937 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1942 | 1938 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1943 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_ | |
| 1939 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1944 | 1940 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1945 | 1941 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 1946 | 1942 | |
| r5490 | r5491 | |
| 2020 | 2016 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2021 | 2017 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2022 | 2018 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2023 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 2019 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2024 | 2020 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2025 | 2021 | INPUT_PORTS_END |
| 2026 | 2022 | |
| r5490 | r5491 | |
| 2082 | 2078 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 2083 | 2079 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2084 | 2080 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2085 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_ | |
| 2081 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2086 | 2082 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2087 | 2083 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 2088 | 2084 | |
| r5490 | r5491 | |
| 2147 | 2143 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET |
| 2148 | 2144 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2149 | 2145 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2150 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_ | |
| 2146 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2151 | 2147 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2152 | 2148 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 2153 | 2149 | |
| r5490 | r5491 | |
| 2217 | 2213 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) // |
| 2218 | 2214 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 2219 | 2215 | |
| 2220 | PORT_INCLUDE( nb | |
| 2216 | PORT_INCLUDE( nbhf2_c | |
| 2221 | 2217 | |
| 2222 | 2218 | PORT_START("PORT0-2") |
| 2223 | 2219 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // |
| r5490 | r5491 | |
| 2226 | 2222 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2227 | 2223 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) // |
| 2228 | 2224 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED ) // |
| 2229 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 2225 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2230 | 2226 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) // |
| 2231 | 2227 | INPUT_PORTS_END |
| 2232 | 2228 | |
| r5490 | r5491 | |
| 2293 | 2289 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2294 | 2290 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 2295 | 2291 | |
| 2296 | PORT_INCLUDE( nb | |
| 2292 | PORT_INCLUDE( nbhf2_c | |
| 2297 | 2293 | |
| 2298 | 2294 | PORT_START("PORT0-2") |
| 2299 | 2295 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) |
| r5490 | r5491 | |
| 2302 | 2298 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2303 | 2299 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2304 | 2300 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2305 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 2301 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2306 | 2302 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2307 | 2303 | INPUT_PORTS_END |
| 2308 | 2304 | |
| r5490 | r5491 | |
| 2369 | 2365 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) // |
| 2370 | 2366 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 2371 | 2367 | |
| 2372 | PORT_INCLUDE( nb | |
| 2368 | PORT_INCLUDE( nbhf2_c | |
| 2373 | 2369 | |
| 2374 | 2370 | PORT_START("PORT0-2") |
| 2375 | 2371 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) // |
| r5490 | r5491 | |
| 2378 | 2374 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2379 | 2375 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) // |
| 2380 | 2376 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED ) // |
| 2381 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 2377 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2382 | 2378 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) // |
| 2383 | 2379 | INPUT_PORTS_END |
| 2384 | 2380 | |
| r5490 | r5491 | |
| 2544 | 2540 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2545 | 2541 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2546 | 2542 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2547 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 2543 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2548 | 2544 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 2549 | 2545 | |
| 2550 | 2546 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 2792 | 2788 | /* basic machine hardware */ |
| 2793 | 2789 | MDRV_IMPORT_FROM(maiko) |
| 2794 | 2790 | MDRV_CPU_MODIFY("maincpu") |
| 2795 | MDRV_CPU_PROGRAM_MAP(maiko_map) | |
| 2791 | MDRV_CPU_PROGRAM_MAP(mmaiko_map) | |
| 2796 | 2792 | |
| 2797 | 2793 | MDRV_NVRAM_HANDLER(nb1413m3) |
| 2798 | 2794 | MACHINE_DRIVER_END |
| r5490 | r5491 | |
| 3879 | 3875 | DISK_IMAGE_READONLY( "hnageman", 0, NO_DUMP ) |
| 3880 | 3876 | ROM_END |
| 3881 | 3877 | |
| 3882 | ||
| 3883 | ||
| 3884 | ||
| 3885 | 3878 | // YEAR, NAME, PARENT, MACHINE, INPUT, INIT, MONITOR,COMPANY,FULLNAME,FLAGS) |
| 3886 | 3879 | GAME( 1988, msjiken, 0, msjiken, msjiken, msjiken, ROT270, "Nichibutsu", "Mahjong Satsujin Jiken (Japan 881017)", 0 ) |
| 3887 | 3880 | GAME( 1988, hanamomo, 0, hanamomo, hanamomo, hanamomo, ROT0, "Nichibutsu", "Mahjong Hana no Momoko gumi (Japan 881201)", 0 ) |
| r5490 | r5491 | |
|---|---|---|
| 242 | 242 | |
| 243 | 243 | static ADDRESS_MAP_START( prosport_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| 244 | 244 | AM_RANGE(0x0200, 0x021f) AM_RAM_WRITE(prosport_paletteram_w) AM_BASE(&paletteram) |
| 245 | AM_RANGE(0x0000, 0x03ff) AM_ | |
| 245 | AM_RANGE(0x0000, 0x03ff) AM_MI | |
| 246 | 246 | AM_RANGE(0x0400, 0x07ff) AM_RAM_WRITE(prosport_bg_vram_w) AM_BASE(&prosport_bg_vram) |
| 247 | AM_RANGE(0x0800, 0x1fff) AM_READWRITE(prosport_charram_r,prosport_charram_w) //0x1e00-0x1ff isn't charram! | |
| 248 | AM_RANGE(0x2000, 0x23ff) AM_SHARE(2) AM_RAM | |
| 247 | AM_RANGE(0x0800, 0x1fff) AM_READWRITE(prosport_charram_r,prosport_charram_w) //0x1e00-0x1fff isn't charram! | |
| 249 | 248 | AM_RANGE(0x2400, 0x2fff) AM_RAM |
| 250 | 249 | AM_RANGE(0x3000, 0x33ff) AM_RAM_WRITE(liberate_colorram_w) AM_BASE(&colorram) |
| 251 | 250 | AM_RANGE(0x3400, 0x37ff) AM_RAM_WRITE(liberate_videoram_w) AM_BASE(&videoram) |
| r5490 | r5491 | |
| 527 | 526 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 528 | 527 | INPUT_PORTS_END |
| 529 | 528 | |
| 529 | static INPUT_PORTS_START( prosport ) | |
| 530 | PORT_INCLUDE( generic_input ) | |
| 531 | ||
| 532 | PORT_MODIFY("DSW1") | |
| 533 | PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) | |
| 534 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) | |
| 535 | PORT_DIPSETTING( 0x04, DEF_STR( On ) ) | |
| 536 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) | |
| 537 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) | |
| 538 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) | |
| 539 | PORT_DIPNAME( 0x10, 0x10, "Service" ) | |
| 540 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) | |
| 541 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 542 | PORT_DIPNAME( 0x20, 0x20, "Test Mode" ) | |
| 543 | PORT_DIPSETTING( 0x00, "ROM Test" ) | |
| 544 | PORT_DIPSETTING( 0x20, "Maping Test" ) | |
| 545 | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) | |
| 546 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) | |
| 547 | PORT_DIPSETTING( 0x80, DEF_STR( On ) ) | |
| 548 | ||
| 549 | PORT_MODIFY("DSW2") | |
| 550 | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) | |
| 551 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) | |
| 552 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 553 | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) | |
| 554 | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) | |
| 555 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 556 | PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) | |
| 557 | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) | |
| 558 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 559 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) | |
| 560 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) | |
| 561 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 562 | PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) ) | |
| 563 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) | |
| 564 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 565 | PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) ) | |
| 566 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) | |
| 567 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 568 | INPUT_PORTS_END | |
| 569 | ||
| 530 | 570 | static INPUT_PORTS_START( dualaslt ) |
| 531 | 571 | PORT_INCLUDE( liberate ) |
| 532 | 572 | |
| r5490 | r5491 | |
| 850 | 890 | MDRV_CPU_PROGRAM_MAP(liberate_sound_map) |
| 851 | 891 | MDRV_CPU_PERIODIC_INT(nmi_line_pulse,16*60) /* ??? */ |
| 852 | 892 | |
| 853 | ||
| 893 | // MDRV_QUANTUM_TIME(HZ(12000)) | |
| 854 | 894 | |
| 855 | 895 | /* video hardware */ |
| 856 | 896 | MDRV_SCREEN_ADD("screen", RASTER) |
| 857 | 897 | MDRV_SCREEN_REFRESH_RATE(60) |
| 858 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(529) /* 529ms Vblank duration?? */) | |
| 898 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(1529) /* 529ms Vblank duration?? */) | |
| 859 | 899 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 860 | 900 | MDRV_SCREEN_SIZE(32*8, 32*8) |
| 861 | 901 | MDRV_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1) |
| r5490 | r5491 | |
| 1345 | 1385 | *************************************/ |
| 1346 | 1386 | |
| 1347 | 1387 | GAME( 1983, prosoccr, 0, prosoccr, prosoccr, prosport, ROT270, "Data East Corporation", "Pro Soccer", 0 ) |
| 1348 | GAME( 1983, prosport, 0, prosport, liberate, prosport, ROT270, "Data East Corporation", "Pro. Sports", GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) | |
| 1349 | GAME( 1983, prosporta, prosport, prosport, liberate, prosport, ROT270, "Data East Corporation", "Pro. Sports (alternate)", GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) | |
| 1388 | GAME( 1983, prosport, 0, prosport, prosport, prosport, ROT270, "Data East Corporation", "Pro. Sports", GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) | |
| 1389 | GAME( 1983, prosporta, prosport, prosport, prosport, prosport, ROT270, "Data East Corporation", "Pro. Sports (alternate)", GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) | |
| 1350 | 1390 | GAME( 1983, boomrang, 0, boomrang, boomrang, prosport, ROT270, "Data East Corporation", "Boomer Rang'r / Genesis (set 1)", 0 ) |
| 1351 | 1391 | GAME( 1983, boomranga, boomrang, boomrang, boomrang, prosport, ROT270, "Data East Corporation", "Boomer Rang'r / Genesis (set 2)", 0 ) |
| 1352 | 1392 | GAME( 1984, kamikcab, 0, boomrang, kamikcab, prosport, ROT270, "Data East Corporation", "Kamikaze Cabbie", 0 ) |
| r5490 | r5491 | |
|---|---|---|
| 1725 | 1725 | port_select = (data & 0x40) >> 6; |
| 1726 | 1726 | |
| 1727 | 1727 | seta_tiles_offset = (data & 0x10) ? 0x4000: 0; |
| 1728 | if (old_tiles_offset != seta_tiles_offset) tilemap_mark_all_tiles_dirty | |
| 1728 | if (old_tiles_offset != seta_tiles_offset) tilemap_mark_all_tiles_dirty | |
| 1729 | 1729 | old_tiles_offset = seta_tiles_offset; |
| 1730 | 1730 | |
| 1731 | 1731 | seta_coin_lockout_w(space->machine, data); |
| r5490 | r5491 | |
| 6613 | 6613 | |
| 6614 | 6614 | /* video hardware */ |
| 6615 | 6615 | MDRV_SCREEN_ADD("screen", RASTER) |
| 6616 | MDRV_SCREEN_REFRESH_RATE( | |
| 6616 | MDRV_SCREEN_REFRESH_RATE(57.42) /* verified on pcb */ | |
| 6617 | 6617 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) |
| 6618 | 6618 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 6619 | 6619 | MDRV_SCREEN_SIZE(64*8, 32*8) |
| r5490 | r5491 | |
| 6626 | 6626 | MDRV_VIDEO_UPDATE(seta) |
| 6627 | 6627 | |
| 6628 | 6628 | /* sound hardware */ |
| 6629 | MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") | |
| 6630 | ||
| 6629 | MDRV_SPEAKER_STANDARD_MONO("mono") | |
| 6631 | 6630 | MDRV_SOUND_ADD("x1", X1_010, 16000000) /* 16 MHz */ |
| 6632 | 6631 | MDRV_SOUND_CONFIG(seta_sound_intf) |
| 6633 | MDRV_SOUND_ROUTE(0, "lspeaker", 1.0) | |
| 6634 | MDRV_SOUND_ROUTE(1, "rspeaker", 1.0) | |
| 6632 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) | |
| 6635 | 6633 | MACHINE_DRIVER_END |
| 6636 | 6634 | |
| 6637 | 6635 | |
| r5490 | r5491 | |
| 6709 | 6707 | static MACHINE_DRIVER_START( calibr50 ) |
| 6710 | 6708 | |
| 6711 | 6709 | /* basic machine hardware */ |
| 6712 | MDRV_CPU_ADD("maincpu", M68000, 16 | |
| 6710 | MDRV_CPU_ADD("maincpu", M68000, XTAL_16MHz | |
| 6713 | 6711 | MDRV_CPU_PROGRAM_MAP(calibr50_map) |
| 6714 | 6712 | MDRV_CPU_VBLANK_INT_HACK(calibr50_interrupt,calibr50_INTERRUPTS_NUM) |
| 6715 | 6713 | |
| 6716 | MDRV_CPU_ADD("sub", M65C02, 16 | |
| 6714 | MDRV_CPU_ADD("sub", M65C02, XTAL_16MHz | |
| 6717 | 6715 | MDRV_CPU_PROGRAM_MAP(calibr50_sub_map) |
| 6718 | 6716 | MDRV_CPU_VBLANK_INT_HACK(irq0_line_hold,4) /* IRQ: 4/frame |
| 6719 | 6717 | NMI: when the 68k writes the sound latch */ |
| r5490 | r5491 | |
| 6722 | 6720 | |
| 6723 | 6721 | /* video hardware */ |
| 6724 | 6722 | MDRV_SCREEN_ADD("screen", RASTER) |
| 6725 | MDRV_SCREEN_REFRESH_RATE( | |
| 6723 | MDRV_SCREEN_REFRESH_RATE(57.42) /* verified on pcb */ | |
| 6726 | 6724 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) |
| 6727 | 6725 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 6728 | 6726 | MDRV_SCREEN_SIZE(64*8, 32*8) |
| r5490 | r5491 | |
| 6735 | 6733 | MDRV_VIDEO_UPDATE(seta) |
| 6736 | 6734 | |
| 6737 | 6735 | /* sound hardware */ |
| 6738 | MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") | |
| 6739 | ||
| 6736 | MDRV_SPEAKER_STANDARD_MONO("mono") | |
| 6740 | 6737 | MDRV_SOUND_ADD("x1", X1_010, 16000000) /* 16 MHz */ |
| 6741 | 6738 | MDRV_SOUND_CONFIG(seta_sound_intf2) |
| 6742 | MDRV_SOUND_ROUTE(0, "lspeaker", 1.0) | |
| 6743 | MDRV_SOUND_ROUTE(1, "rspeaker", 1.0) | |
| 6739 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) | |
| 6744 | 6740 | MACHINE_DRIVER_END |
| 6745 | 6741 | |
| 6746 | 6742 |
| r5490 | r5491 | |
|---|---|---|
| 3 | 3 | Sega Naomi / Naomi 2 / Atomiswave |
| 4 | 4 | |
| 5 | 5 | Driver by Samuele Zannoli, R. Belmont, ElSemi, |
| 6 | David Haywood | |
| 6 | David Haywood, | |
| 7 | 7 | |
| 8 | 8 | Notes: |
| 9 | NAMCO Naomi games require a Namco specific BIOS | |
| 10 | ||
| 11 | 9 | Several early Naomi games are running on an earlier revision mainboard (HOTD2 etc.) which appears to have an earlier |
| 12 | 10 | revision of the graphic chip. Attempting to run these games on the later board results in graphical glitches and/or |
| 13 | 11 | other problems. |
| r5490 | r5491 | |
| 1005 | 1003 | CN4 - Gun connection for player 1 trigger and optical |
| 1006 | 1004 | CN5 - Gun connection for player 1 pump switch |
| 1007 | 1005 | |
| 1008 | ||
| 1009 | ||
| 1010 | 1006 | */ |
| 1011 | 1007 | |
| 1012 | 1008 | #include "driver.h" |
| 1013 | 1009 | #include "cpu/arm7/arm7.h" |
| 1014 | 1010 | #include "video/generic.h" |
| 1015 | 1011 | #include "machine/eeprom.h" |
| 1012 | #include "machine/intelfsh.h" | |
| 1016 | 1013 | #include "naomibd.h" |
| 1017 | 1014 | #include "naomi.h" |
| 1018 | 1015 | #include "cpu/sh4/sh4.h" |
| r5490 | r5491 | |
| 1090 | 1087 | { "keyboard", { 0x32, 0x7E, 0x10, 0x42, 0x45, 0x42, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0x32, 0x7E, 0x10, 0x42, 0x45, 0x42, 0x30, 0x09, 0x10, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11, 0xF0, 0x4A, 0x0C, 0x0C, 0xF0, 0x4A, 0x0C, 0x0C, 0x18, 0x09, 0x01, 0x20, 0x02, 0x00, 0x3C, 0x00, 0x32, 0x00, 0x00, 0x00, 0x18, 0x09, 0x01, 0x20, 0x02, 0x00, 0x3C, 0x00, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } |
| 1091 | 1088 | }; |
| 1092 | 1089 | |
| 1090 | static NVRAM_HANDLER( aw_nvram ) | |
| 1091 | { | |
| 1092 | nvram_handler_intelflash(machine, 0, file, read_or_write); | |
| 1093 | ||
| 1094 | // TODO: save AW NVRAM at 00200000 | |
| 1095 | } | |
| 1096 | ||
| 1093 | 1097 | static NVRAM_HANDLER( naomi_eeproms ) |
| 1094 | 1098 | { |
| 1095 | 1099 | if (read_or_write) |
| r5490 | r5491 | |
| 1097 | 1101 | /* JVS 'eeprom' */ |
| 1098 | 1102 | mame_fwrite(file,maple0x86data1,0x80); |
| 1099 | 1103 | |
| 1100 | ||
| 1101 | 1104 | // mainboard eeprom? |
| 1102 | 1105 | eeprom_save(file); |
| 1103 | ||
| 1104 | 1106 | } |
| 1105 | 1107 | else |
| 1106 | 1108 | { |
| r5490 | r5491 | |
| 1119 | 1121 | eeprom_load(file); |
| 1120 | 1122 | |
| 1121 | 1123 | } |
| 1122 | else | |
| 1124 | else | |
| 1123 | 1125 | { |
| 1124 | 1126 | // int a; |
| 1125 | 1127 | |
| r5490 | r5491 | |
| 1320 | 1322 | AM_RANGE(0x00, 0x0f) AM_READWRITE(eeprom_93c46a_r, eeprom_93c46a_w) |
| 1321 | 1323 | ADDRESS_MAP_END |
| 1322 | 1324 | |
| 1325 | static READ64_HANDLER( aw_flash_r ) | |
| 1326 | { | |
| 1327 | return (UINT64)intelflash_read(0, offset*8) | (UINT64)intelflash_read(0, (offset*8)+1)<<8 | (UINT64)intelflash_read(0, (offset*8)+2)<<16 | (UINT64)intelflash_read(0, (offset*8)+3)<<24 | | |
| 1328 | (UINT64)intelflash_read(0, (offset*8)+4)<<32 | (UINT64)intelflash_read(0, (offset*8)+5)<<40 | (UINT64)intelflash_read(0, (offset*8)+6)<<48 | (UINT64)intelflash_read(0, (offset*8)+7)<<56; | |
| 1329 | } | |
| 1323 | 1330 | |
| 1331 | static WRITE64_HANDLER( aw_flash_w ) | |
| 1332 | { | |
| 1333 | int i; | |
| 1334 | UINT32 addr = offset * 8; | |
| 1335 | ||
| 1336 | for (i = 0; i < 8; i++) | |
| 1337 | { | |
| 1338 | if (mem_mask & ((UINT64)0xff)<< (i*8)) | |
| 1339 | { | |
| 1340 | addr += i; | |
| 1341 | break; | |
| 1342 | } | |
| 1343 | } | |
| 1344 | ||
| 1345 | data >>= (i*8); | |
| 1346 | intelflash_write(0, addr, data); | |
| 1347 | } | |
| 1348 | ||
| 1349 | ||
| 1324 | 1350 | /* |
| 1325 | * Atomiswave address map, identical to Dreamcast | |
| 1351 | * Atomiswave address map, almost identical to Dreamcast | |
| 1326 | 1352 | */ |
| 1327 | 1353 | |
| 1328 | 1354 | static ADDRESS_MAP_START( aw_map, ADDRESS_SPACE_PROGRAM, 64 ) |
| 1329 | 1355 | /* Area 0 */ |
| 1330 | AM_RANGE(0x00000000, 0x001fffff) AM_ROM AM_SHARE(3) AM_REGION("maincpu", 0) // BIOS | |
| 1331 | AM_RANGE(0xa0000000, 0xa01fffff) AM_ROM AM_SHARE(3) // non cachable access to 0x00000000 - 0x001fffff | |
| 1356 | AM_RANGE(0x00000000, 0x0001ffff) AM_READWRITE( aw_flash_r, aw_flash_w ) | |
| 1357 | AM_RANGE(0xa0000000, 0xa001ffff) AM_READWRITE( aw_flash_r, aw_flash_w ) | |
| 1332 | 1358 | |
| 1333 | AM_RANGE(0x00200000, 0x002 | |
| 1359 | AM_RANGE(0x00200000, 0x0021 | |
| 1334 | 1360 | AM_RANGE(0x005f6800, 0x005f69ff) AM_READWRITE( dc_sysctrl_r, dc_sysctrl_w ) |
| 1335 | 1361 | AM_RANGE(0x005f6c00, 0x005f6cff) AM_READWRITE( dc_maple_r, dc_maple_w ) |
| 1336 | 1362 | AM_RANGE(0x005f7000, 0x005f70ff) AM_DEVREADWRITE("rom_board", naomibd_r, naomibd_w) |
| r5490 | r5491 | |
| 1650 | 1676 | */ |
| 1651 | 1677 | |
| 1652 | 1678 | static MACHINE_DRIVER_START( aw ) |
| 1653 | MDRV_IMPORT_FROM(naomi) | |
| 1679 | MDRV_IMPORT_FROM(naomi_base) | |
| 1654 | 1680 | MDRV_CPU_MODIFY("maincpu") |
| 1655 | 1681 | MDRV_CPU_PROGRAM_MAP(aw_map) |
| 1682 | MDRV_NVRAM_HANDLER(aw_nvram) | |
| 1683 | MDRV_AW_ROM_BOARD_ADD("rom_board", "user1") | |
| 1656 | 1684 | MACHINE_DRIVER_END |
| 1657 | 1685 | |
| 1658 | 1686 | #define ROM_LOAD16_WORD_SWAP_BIOS(bios,name,offset,length,hash) \ |
| r5490 | r5491 | |
| 1842 | 1870 | ROM_SYSTEM_BIOS( 7, "bios7", "epr-23607 (USA)" ) \ |
| 1843 | 1871 | ROM_LOAD16_WORD_SWAP_BIOS( 7, "epr-23607.bin", 0x000000, 0x200000, CRC(2b55add2) SHA1(547de5f97d3183c8cd069c4fa3c09f13d8b637d9) ) \ |
| 1844 | 1872 | |
| 1845 | /* | |
| 1873 | /* F | |
| 1846 | 1874 | #define AW_BIOS \ |
| 1847 | 1875 | ROM_SYSTEM_BIOS( 0, "bios0", "Atomiswave BIOS" ) \ |
| 1848 | ROM_LOAD16_WORD_SWAP_BIOS( 0, "bios.ic23_l", 0x000000, 0x010000, BAD_DUMP CRC(e5693ce3) SHA1(1bde3ed87af64b0f675ebd47f12a53e1fc5709c1) ) /* Might be bad.. especially. bytes 0x0000, 0x6000, 0x8000 which gave different reads */ \ | |
| 1849 | ROM_LOAD16_WORD_SWAP_BIOS( 0, "bios.ic23_h-dolphin_blue_settings", 0x010000, 0x010000, BAD_DUMP CRC(5d5687c7) SHA1(2600ce09c44872d1793f6b55bf44342673da5ad1) ) /* it appears to flash settings game data here */ /* this is one flashrom, however the second half looks like it's used for game settings, may differ between dumps, and may not be needed / could be blanked */ | |
| 1876 | ROM_LOAD16_WORD_SWAP_BIOS( 0, "bios.ic23_l", 0x000000, 0x010000, BAD_DUMP CRC(e5693ce3) SHA1(1bde3ed87af64b0f675ebd47f12a53e1fc5709c1) ) /* Might be bad.. especially. bytes 0x0000, 0x6000, 0x8000 which gave different reads */ | |
| 1850 | 1877 | |
| 1851 | 1878 | |
| 1852 | 1879 | ROM_START( naomi ) |
| r5490 | r5491 | |
| 2883 | 2910 | Note: the following game is one of the few known regular Naomi game to have a rom test item in its specific test mode menu. |
| 2884 | 2911 | So the Naomi regular board test item is unreliable in this circumstance. |
| 2885 | 2912 | |
| 2886 | protection notes: | |
| 2887 | CPU 'maincpu' (PC=0C001014): unmapped program memory qword write to 0231FCF8 = 00000000E2534910 & 00000000FFFFFFFF | |
| 2888 | CPU 'maincpu': warning - attempt to direct-map address 02534910 in program space | |
| 2889 | CPU 'maincpu' (PC=02534910): unmapped program memory qword read from 02534910 & 000000000000FFFF | |
| 2890 | CPU 'maincpu': warning - attempt to direct-map address 02534912 in program space | |
| 2891 | CPU 'maincpu' (PC=02534912): unmapped program memory qword read from 02534910 & 00000000FFFF0000 | |
| 2892 | CPU 'maincpu': warning - attempt to direct-map address 02534914 in program space | |
| 2893 | 2913 | */ |
| 2894 | 2914 | |
| 2895 | ||
| 2896 | 2915 | ROM_START( mvsc2 ) |
| 2897 | 2916 | ROM_REGION( 0x200000, "maincpu", 0) |
| 2898 | 2917 | NAOMI_BIOS |
| 2899 | 2918 | |
| 2900 | ROM_REGION( 0x8800000, "user1", ROMREGION_ERASEFF) | |
| 2901 | ROM_LOAD("epr-23085a.ic11", 0x0000000, 0x0400000, CRC(5d5b7ad1) SHA1(f58c31b245fc33fa541f9f074548402a63f7c3d3) ) //ic 22 | |
| 2919 | ROM_REGION( 0x8900000, "user1", ROMREGION_ERASEFF) | |
| 2920 | ROM_LOAD("epr-23085a.ic11", 0x0000000, 0x0400000, CRC(5d5b7ad1) SHA1(f58c31b245fc33fa541f9f074548402a63f7c3d3) ) | |
| 2902 | 2921 | ROM_RELOAD( 0x400000, 0x400000) |
| 2903 | ROM_LOAD("mpr-23048.ic17", 0x0800000, 0x0800000, CRC(93d7a63a) SHA1(c50d10b4a3f9db51eae5749f5b665d7c8ab6c898) ) //ic 1 | |
| 2904 | ROM_LOAD("mpr-23049.ic18", 0x1000000, 0x0800000, CRC(003dcce0) SHA1(fb71c8ca9271d2155878c72d8fe2df3031e6c014) ) //ic 2 | |
| 2905 | ROM_LOAD("mpr-23050.ic19", 0x1800000, 0x0800000, CRC(1d6b88a7) SHA1(ba42e9d1d912d88a7ad839b878975ba590634320) ) //ic 3 | |
| 2906 | ROM_LOAD("mpr-23051.ic20", 0x2000000, 0x0800000, CRC(01226aaa) SHA1(a4c6a0eda05e53d0e51b92a4317a86a708a7efdb) ) //ic 4 | |
| 2907 | ROM_LOAD("mpr-23052.ic21", 0x2800000, 0x0800000, CRC(74bee120) SHA1(5a0fb48fa758a2be2e08e3b1298103c5aa748835) ) //ic 5 | |
| 2908 | ROM_LOAD("mpr-23053.ic22", 0x3000000, 0x0800000, CRC(d92d4401) SHA1(a868780f8d2e176ff10781e1c08bf932f34ac504) ) //ic 6 | |
| 2909 | ROM_LOAD("mpr-23054.ic23", 0x3800000, 0x0800000, CRC(78ba02e8) SHA1(0f696a33e1e6671001efc309ed62f084a246ad24) ) //ic 7 | |
| 2910 | ROM_LOAD("mpr-23055.ic24", 0x4000000, 0x0800000, CRC(84319604) SHA1(c3dde162e043a54e1325202b46191b32e8784a1c) ) //ic 8 | |
| 2911 | ROM_LOAD("mpr-23056.ic25", 0x4800000, 0x0800000, CRC(d7386034) SHA1(be1f3ca5f283e428dc59dc072de3e7d36e122d53) ) //ic 9 | |
| 2912 | ROM_LOAD("mpr-23057.ic26", 0x5000000, 0x0800000, CRC(a3f087db) SHA1(b52d7c072cb5c2fdd10d0ac0b62cebe48b229ae3) ) //ic 10 | |
| 2913 | ROM_LOAD("mpr-23058.ic27", 0x5800000, 0x0800000, CRC(61a6cc5d) SHA1(34e52cb076888313a80f2b87876b8d37b91d85a0) ) //ic 11 | |
| 2914 | ROM_LOAD("mpr-23059.ic28", 0x6000000, 0x0800000, CRC(64808024) SHA1(1a6c60c330642b273978d3dd02d95d17d36ee3f2) ) //ic 12 | |
| 2915 | ROM_LOAD("mpr-23060.ic29", 0x6800000, 0x0800000, CRC(67519942) SHA1(fc758d9075625f8140d5d828c8f6b7a91bcc9119) ) //ic 13 | |
| 2916 | ROM_LOAD("mpr-23061.ic30", 0x7000000, 0x0800000, CRC(fb1844c4) SHA1(1d1571516a6dbed0c4ded3b80efde9cc9281f66f) ) //ic 14 | |
| 2917 | ROM_LOAD32_WORD("mpr-23083.ic31", 0x8000000, 0x0400000, CRC(c61d2dfe) SHA1(a05fb979ed7c8040de91716fc8814e6bd995efa2) ) //ic 15 | |
| 2918 | ROM_LOAD32_WORD("mpr-23084.ic32", 0x8000002, 0x0400000, CRC(4ebbbdd9) SHA1(9ad8c1a644850de6e35705318cd1991e1d6e60a8) ) //ic 16 | |
| 2922 | ROM_LOAD("mpr-23048.ic17", 0x0800000, 0x0800000, CRC(93d7a63a) SHA1(c50d10b4a3f9db51eae5749f5b665d7c8ab6c898) ) | |
| 2923 | ROM_LOAD("mpr-23049.ic18", 0x1000000, 0x0800000, CRC(003dcce0) SHA1(fb71c8ca9271d2155878c72d8fe2df3031e6c014) ) | |
| 2924 | ROM_LOAD("mpr-23050.ic19", 0x1800000, 0x0800000, CRC(1d6b88a7) SHA1(ba42e9d1d912d88a7ad839b878975ba590634320) ) | |
| 2925 | ROM_LOAD("mpr-23051.ic20", 0x2000000, 0x0800000, CRC(01226aaa) SHA1(a4c6a0eda05e53d0e51b92a4317a86a708a7efdb) ) | |
| 2926 | ROM_LOAD("mpr-23052.ic21", 0x2800000, 0x0800000, CRC(74bee120) SHA1(5a0fb48fa758a2be2e08e3b1298103c5aa748835) ) | |
| 2927 | ROM_LOAD("mpr-23053.ic22", 0x3000000, 0x0800000, CRC(d92d4401) SHA1(a868780f8d2e176ff10781e1c08bf932f34ac504) ) | |
| 2928 | ROM_LOAD("mpr-23054.ic23", 0x3800000, 0x0800000, CRC(78ba02e8) SHA1(0f696a33e1e6671001efc309ed62f084a246ad24) ) | |
| 2929 | ROM_LOAD("mpr-23055.ic24", 0x4000000, 0x0800000, CRC(84319604) SHA1(c3dde162e043a54e1325202b46191b32e8784a1c) ) | |
| 2930 | ROM_LOAD("mpr-23056.ic25", 0x4800000, 0x0800000, CRC(d7386034) SHA1(be1f3ca5f283e428dc59dc072de3e7d36e122d53) ) | |
| 2931 | ROM_LOAD("mpr-23057.ic26", 0x5000000, 0x0800000, CRC(a3f087db) SHA1(b52d7c072cb5c2fdd10d0ac0b62cebe48b229ae3) ) | |
| 2932 | ROM_LOAD("mpr-23058.ic27", 0x5800000, 0x0800000, CRC(61a6cc5d) SHA1(34e52cb076888313a80f2b87876b8d37b91d85a0) ) | |
| 2933 | ROM_LOAD("mpr-23059.ic28", 0x6000000, 0x0800000, CRC(64808024) SHA1(1a6c60c330642b273978d3dd02d95d17d36ee3f2) ) | |
| 2934 | ROM_LOAD("mpr-23060.ic29", 0x6800000, 0x0800000, CRC(67519942) SHA1(fc758d9075625f8140d5d828c8f6b7a91bcc9119) ) | |
| 2935 | ROM_LOAD("mpr-23061.ic30", 0x7000000, 0x0800000, CRC(fb1844c4) SHA1(1d1571516a6dbed0c4ded3b80efde9cc9281f66f) ) | |
| 2936 | ROM_LOAD("mpr-23083.ic31", 0x7800000, 0x0400000, CRC(c61d2dfe) SHA1(a05fb979ed7c8040de91716fc8814e6bd995efa2) ) | |
| 2937 | ROM_LOAD("mpr-23084.ic32", 0x8000000, 0x0400000, CRC(e228cdfd) SHA1(d02a2e3557bd24cf34c5ddb42d41ca15e78ae885) ) | |
| 2938 | ||
| 2939 | // DMA protection data | |
| 2940 | ROM_LOAD("88000000.bin", 0x8800000, 0x025f00, CRC(77d79823) SHA1(2545d28eee47114e8ffb9bc6d7a910e90fc48420) ) | |
| 2941 | ROM_LOAD("88026440.bin", 0x8830000, 0x016520, CRC(dad9ebbd) SHA1(39c0697caa2b5ee11d99e75726e92ed86a23f10b) ) | |
| 2942 | ROM_LOAD("8803bda0.bin", 0x8850000, 0x01e5e0, CRC(9e0b8202) SHA1(729bed557c1a00da13c990603bbadab38d90285e) ) | |
| 2943 | ROM_LOAD("8805a560.bin", 0x8870000, 0x0017a0, CRC(7bc27482) SHA1(6ce6074cf47989f42af02deb7aac52883912784a) ) | |
| 2944 | ROM_LOAD("8805b720.bin", 0x8880000, 0x02b5a0, CRC(485d0aef) SHA1(853f4b49b489cc512c906edcaf3cd8b5bf4c64c0) ) | |
| 2945 | ROM_LOAD("8808b7e0.bin", 0x88a0000, 0x013ec0, CRC(0fc8f363) SHA1(dad30d43cef89d01ce80301b1d796aabad755de6) ) | |
| 2919 | 2946 | ROM_END |
| 2920 | 2947 | |
| 2921 | 2948 | /* toy fighter - 1999 sega */ |
| r5490 | r5491 | |
| 5213 | 5240 | {4,0,1,2,5,7,3,6} |
| 5214 | 5241 | }; |
| 5215 | 5242 | |
| 5243 | static const atomiswave_key xh2_key = { | |
| 5244 | {14,1,11,15,7,3,8,13,0,4,2,12,6,10,5,9}, | |
| 5245 | {11,3,7,1,31,17,16,15,24,18,23,26,4,25,20,10,12,27,29,21,5,8,30,14,19,9,0,2,13,6,22,28}, | |
| 5246 | {7,11,10,3,15,6,14,4,9,5,8,0,1,12,2,13}, | |
| 5247 | {11,1,8,10,9,5,15,14,12,3,0,6,4,7,13,2}, | |
| 5248 | {4,0,1,2,5,7,3,6} | |
| 5249 | }; | |
| 5250 | ||
| 5216 | 5251 | static UINT16 atomiswave_decrypt(UINT16 cipherText, int address, const atomiswave_key* key) |
| 5217 | 5252 | { |
| 5218 | 5253 | int b0,b1,b2,b3; |
| r5490 | r5491 | |
| 5236 | 5271 | return (b3<<13)|(b2<<9)|(b1<<5)|b0; |
| 5237 | 5272 | } |
| 5238 | 5273 | |
| 5274 | static DRIVER_INIT( atomiswave ) | |
| 5275 | { | |
| 5276 | UINT64 *ROM = (UINT64 *)memory_region(machine, "maincpu"); | |
| 5239 | 5277 | |
| 5278 | // patch out long startup delay | |
| 5279 | ROM[0x98e/8] = (ROM[0x98e/8] & U64(0xffffffffffff)) | (UINT64)0x0009<<48; | |
| 5280 | ||
| 5281 | intelflash_init(machine, 0, FLASH_MACRONIX_29L001MC, memory_region(machine, "maincpu")); | |
| 5282 | } | |
| 5283 | ||
| 5284 | ||
| 5240 | 5285 | static DRIVER_INIT(fotns) |
| 5241 | 5286 | { |
| 5242 | 5287 | int i; |
| r5490 | r5491 | |
| 5249 | 5294 | src[i] = atomiswave_decrypt(src[i], i*2, &fotns_key); |
| 5250 | 5295 | } |
| 5251 | 5296 | |
| 5252 | #if 0 | |
| 5253 | { | |
| 5254 | FILE *fp; | |
| 5255 | const char *gamename = machine->gamedrv->name; | |
| 5256 | char filename[256]; | |
| 5257 | sprintf(filename, "%s.dump", gamename); | |
| 5258 | ||
| 5259 | fp=fopen(filename, "w+b"); | |
| 5260 | if (fp) | |
| 5261 | { | |
| 5262 | fwrite(src, rom_size, 1, fp); | |
| 5263 | fclose(fp); | |
| 5264 | } | |
| 5265 | } | |
| 5266 | #endif | |
| 5297 | DRIVER_INIT_CALL(atomiswave); | |
| 5267 | 5298 | } |
| 5268 | 5299 | |
| 5269 | 5300 | |
| r5490 | r5491 | |
| 5280 | 5311 | src[i] = atomiswave_decrypt(src[i], i*2, &df_key); |
| 5281 | 5312 | } |
| 5282 | 5313 | |
| 5283 | #if 0 | |
| 5284 | { | |
| 5285 | FILE *fp; | |
| 5286 | const char *gamename = machine->gamedrv->name; | |
| 5287 | char filename[256]; | |
| 5288 | sprintf(filename, "%s.dump", gamename); | |
| 5289 | ||
| 5290 | fp=fopen(filename, "w+b"); | |
| 5291 | if (fp) | |
| 5292 | { | |
| 5293 | fwrite(src, rom_size, 1, fp); | |
| 5294 | fclose(fp); | |
| 5295 | } | |
| 5296 | } | |
| 5297 | #endif | |
| 5314 | DRIVER_INIT_CALL(atomiswave); | |
| 5298 | 5315 | } |
| 5299 | 5316 | |
| 5300 | 5317 | static DRIVER_INIT(sprtshot) |
| r5490 | r5491 | |
| 5308 | 5325 | { |
| 5309 | 5326 | src[i] = atomiswave_decrypt(src[i], i*2, &ssu_key); |
| 5310 | 5327 | } |
| 5328 | ||
| 5329 | DRIVER_INIT_CALL(atomiswave); | |
| 5311 | 5330 | } |
| 5312 | 5331 | |
| 5313 | 5332 | static DRIVER_INIT(rangrmsn) |
| r5490 | r5491 | |
| 5321 | 5340 | { |
| 5322 | 5341 | src[i] = atomiswave_decrypt(src[i], i*2, &rm_key); |
| 5323 | 5342 | } |
| 5343 | ||
| 5344 | DRIVER_INIT_CALL(atomiswave); | |
| 5324 | 5345 | } |
| 5325 | 5346 | |
| 5326 | 5347 | static DRIVER_INIT(xtrmhunt) |
| r5490 | r5491 | |
| 5334 | 5355 | { |
| 5335 | 5356 | src[i] = atomiswave_decrypt(src[i], i*2, &xh_key); |
| 5336 | 5357 | } |
| 5358 | ||
| 5359 | DRIVER_INIT_CALL(atomiswave); | |
| 5337 | 5360 | } |
| 5338 | 5361 | |
| 5362 | static DRIVER_INIT(xtrmhnt2) | |
| 5363 | { | |
| 5364 | int i; | |
| 5365 | UINT16 *src = (UINT16 *)(memory_region(machine, "user1")); | |
| 5366 | ||
| 5367 | long rom_size = memory_region_length(machine, "user1"); | |
| 5368 | ||
| 5369 | for(i=0; i<rom_size/2; i++) | |
| 5370 | { | |
| 5371 | src[i] = atomiswave_decrypt(src[i], i*2, &xh2_key); | |
| 5372 | } | |
| 5373 | ||
| 5374 | DRIVER_INIT_CALL(atomiswave); | |
| 5375 | } | |
| 5376 | ||
| 5339 | 5377 | ROM_START( fotns ) |
| 5340 | 5378 | ROM_REGION( 0x200000, "maincpu", 0) |
| 5341 | 5379 | AW_BIOS |
| r5490 | r5491 | |
| 5405 | 5443 | ROM_LOAD("ax2406m01.ic16", 0x6000000, 0x1000000, CRC(cbcf2c5d) SHA1(61362fabcbb3bfc01c996748a7ca65f8a0e02f2f) ) |
| 5406 | 5444 | ROM_END |
| 5407 | 5445 | |
| 5446 | ROM_START( xtrmhnt2 ) | |
| 5447 | ROM_REGION( 0x200000, "maincpu", 0) | |
| 5448 | AW_BIOS | |
| 5408 | 5449 | |
| 5450 | ROM_REGION( 0x8000000, "user1", ROMREGION_ERASE) | |
| 5451 | ROM_LOAD( "610-0752.u3", 0x0000000, 0x1000000, CRC(bab6182e) SHA1(4d25256c81941316887cbb4524a203922f5b7104) ) | |
| 5452 | ROM_LOAD( "610-0752.u1", 0x1000000, 0x1000000, CRC(3086bc47) SHA1(eb7b04db90d296985528f0cfdd4545f184c40b64) ) | |
| 5453 | ROM_LOAD( "610-0752.u2", 0x2000000, 0x1000000, CRC(d3a88b31) SHA1(ccf14367e4e7efbc2cc835f3b001fd6d64302a5e) ) | |
| 5454 | ROM_LOAD( "610-0752.u4", 0x3000000, 0x1000000, CRC(9787f145) SHA1(8445ede0477f70fbdc113810b80356945ce498d2) ) | |
| 5455 | ROM_LOAD( "610-0752.u14", 0x4000000, 0x1000000, CRC(ce83bcc7) SHA1(e2d324a5a7eacbec7b0df9a4b9e276521bb9ab80) ) | |
| 5456 | ROM_LOAD( "610-0752.u15", 0x5000000, 0x1000000, CRC(864a6342) SHA1(fb97532d5dd00f8520fdaf68dfcd1ea627bdf90a) ) | |
| 5457 | ROM_LOAD( "610-0752.u16", 0x6000000, 0x1000000, CRC(8ac71c76) SHA1(080e41e633bf082fc536781541c6031d1ac81939) ) | |
| 5458 | ROM_LOAD( "610-0752.u17", 0x7000000, 0x1000000, CRC(a79fb1fa) SHA1(f75c5b574fd79677b926c595b369e95605a3c848) ) | |
| 5459 | ||
| 5460 | ROM_REGION( 0x1400000, "network", 0) // network board | |
| 5461 | ROM_LOAD( "fpr-24330a.ic2", 0x000000, 0x400000, CRC(8d89877e) SHA1(6caafc49114eb0358e217bc2d1a3ab58a93c8d19) ) | |
| 5462 | ROM_LOAD( "flash128.ic4s", 0x400000, 0x1000000, CRC(866ed675) SHA1(2c4c06935b7ab1876e640cede51713b841833567) ) | |
| 5463 | ROM_END | |
| 5464 | ||
| 5409 | 5465 | /* Atomiswave */ |
| 5410 | GAME( 2001, awbios, 0, | |
| 5466 | GAME( 2001, awbios, 0, | |
| 5411 | 5467 | |
| 5412 | GAME( 2002, sprtshot, awbios, naomi, naomi, sprtshot, ROT0, "Sammy", "Sports Shooting USA", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING ) | |
| 5413 | GAME( 2003, demofist, awbios, naomi, naomi, demofist, ROT0, "Polygon Magic / Dimps", "Demolish Fist", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING ) | |
| 5414 | GAME( 2004, rangrmsn, awbios, naomi, naomi, rangrmsn, ROT0, "Sammy", "Ranger Mission", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING ) | |
| 5415 | GAME( 2005, fotns, awbios, naomi, naomi, fotns, ROT0, "Arc System Works", "Fist Of The North Star", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING ) | |
| 5416 | GAME( 2005, xtrmhunt, awbios, naomi, naomi, xtrmhunt, ROT0, "Sammy", "Extreme Hunting", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING ) | |
| 5468 | GAME( 2002, sprtshot, awbios, aw, naomi, sprtshot, ROT0, "Sammy", "Sports Shooting USA", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING ) | |
| 5469 | GAME( 2003, demofist, awbios, aw, naomi, demofist, ROT0, "Polygon Magic / Dimps", "Demolish Fist", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING ) | |
| 5470 | GAME( 2004, rangrmsn, awbios, aw, naomi, rangrmsn, ROT0, "Sammy", "Ranger Mission", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING ) | |
| 5471 | GAME( 2005, fotns, awbios, aw, naomi, fotns, ROT0, "Arc System Works", "Fist Of The North Star", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING ) | |
| 5472 | GAME( 2005, xtrmhunt, awbios, aw, naomi, xtrmhunt, ROT0, "Sammy", "Extreme Hunting", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING ) | |
| 5473 | GAME( 2006, xtrmhnt2, awbios, aw, naomi, xtrmhnt2, ROT0, "Sammy", "Extreme Hunting 2", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING ) | |
| 5417 | 5474 |
| r5490 | r5491 | |
|---|---|---|
| 2646 | 2646 | /*set the first Timer-1 event*/ |
| 2647 | 2647 | cur_scan = scanline+1; |
| 2648 | 2648 | if(stv_irq.timer_1) |
| 2649 | timer_adjust_oneshot(t1_timer, video_screen_get_time_until_pos(machine->primary_screen, scanline+1, | |
| 2649 | timer_adjust_oneshot(t1_timer, video_screen_get_time_until_pos(machine->primary_screen, scanline+1, timer_1), scanline+1); | |
| 2650 | 2650 | } |
| 2651 | 2651 | |
| 2652 | 2652 | timer_0++; |
| r5490 | r5491 | |
| 2654 | 2654 | |
| 2655 | 2655 | static TIMER_CALLBACK( timer1_irq ) |
| 2656 | 2656 | { |
| 2657 | int c | |
| 2657 | int scanl | |
| 2658 | 2658 | |
| 2659 | 2659 | TIMER_1_IRQ; |
| 2660 | 2660 | |
| 2661 | if((cur_point+1) < h_sync && stv_irq.timer_1) | |
| 2662 | { | |
| 2663 | timer_adjust_oneshot(t1_timer, video_screen_get_time_until_pos(machine->primary_screen, cur_scan, cur_point+1), cur_point+1); | |
| 2664 | } | |
| 2665 | ||
| 2666 | if(timer_1 > 0) timer_1--; | |
| 2661 | if(stv_irq.timer_1) | |
| 2662 | timer_adjust_oneshot(t1_timer, video_screen_get_time_until_pos(machine->primary_screen, scanline+1, timer_1), scanline+1); | |
| 2667 | 2663 | } |
| 2668 | 2664 | |
| 2669 | 2665 | static TIMER_CALLBACK( vdp1_irq ) |
| r5490 | r5491 | |
|---|---|---|
| 1272 | 1272 | |
| 1273 | 1273 | |
| 1274 | 1274 | |
| 1275 | GAME( 1980, rallyx, 0, rallyx, rallyx, 0, ROT0, "Namco", "Rally X", 0 ) | |
| 1276 | GAME( 1980, rallyxm, rallyx, rallyx, rallyx, 0, ROT0, "[Namco] (Midway license)", "Rally X (Midway)", 0 ) | |
| 1277 | GAME( 1981, nrallyx, 0, rallyx, nrallyx, 0, ROT0, "Namco", "New Rally X", 0 ) | |
| 1275 | GAME( 1980, rallyx, 0, rallyx, rallyx, 0, ROT0, "Namco", "Rally X", GAME_IMPERFECT_SOUND ) | |
| 1276 | GAME( 1980, rallyxm, rallyx, rallyx, rallyx, 0, ROT0, "[Namco] (Midway license)", "Rally X (Midway)", GAME_IMPERFECT_SOUND ) | |
| 1277 | GAME( 1981, nrallyx, 0, rallyx, nrallyx, 0, ROT0, "Namco", "New Rally X", GAME_IMPERFECT_SOUND ) | |
| 1278 | 1278 | GAME( 1981, jungler, 0, jungler, jungler, 0, ROT90, "Konami", "Jungler", 0 ) |
| 1279 | 1279 | GAME( 1981, junglers, jungler, jungler, jungler, 0, ROT90, "[Konami] (Stern license)", "Jungler (Stern)", 0 ) |
| 1280 | 1280 | GAME( 1982, tactcian, 0, tactcian, tactcian, 0, ROT90, "[Konami] (Sega license)", "Tactician (set 1)", 0 ) |
| r5490 | r5491 | |
|---|---|---|
| 50 | 50 | |
| 51 | 51 | PORT_MODIFY("IN2") |
| 52 | 52 | PORT_DIPNAME( 0x03, 0x01, DEF_STR( Bonus_Life ) ) |
| 53 | PORT_DIPSETTING( 0x01, "4000" ) | |
| 54 | PORT_DIPSETTING( 0x02, "5000" ) | |
| 55 | PORT_DIPSETTING( 0x03, "7000" ) | |
| 56 | 53 | PORT_DIPSETTING( 0x00, DEF_STR( None ) ) |
| 57 | PORT_DIPNAME( 0x04, 0x00, DEF_STR( Lives ) ) | |
| 58 | PORT_DIPSETTING( 0x00, "3" ) | |
| 59 | PORT_DIPSETTING( 0x04, "5" ) | |
| 60 | INPUT_PORTS_END | |
| 61 | ||
| 62 | ||
| 63 | static INPUT_PORTS_START( galtaito ) | |
| 64 | PORT_INCLUDE(galaxian) | |
| 65 | ||
| 66 | PORT_MODIFY("IN2") | |
| 67 | PORT_DIPNAME( 0x03, 0x01, DEF_STR( Bonus_Life ) ) | |
| 68 | PORT_DIPSETTING( 0x00, DEF_STR( None ) ) | |
| 69 | 54 | PORT_DIPSETTING( 0x01, "4000" ) |
| 70 | 55 | PORT_DIPSETTING( 0x02, "5000" ) |
| 71 | 56 | PORT_DIPSETTING( 0x03, "7000" ) |
| 72 | 57 | PORT_DIPNAME( 0x04, 0x00, DEF_STR( Lives ) ) |
| 73 | 58 | PORT_DIPSETTING( 0x00, "3" ) |
| 74 | 59 | PORT_DIPSETTING( 0x04, "5" ) |
| 75 | PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unused ) ) | |
| 76 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) | |
| 77 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) | |
| 78 | 60 | INPUT_PORTS_END |
| 79 | 61 | |
| 80 | 62 | |
| r5490 | r5491 | |
| 2313 | 2295 | PORT_BIT( 0xff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(25) PORT_KEYDELTA(10) PORT_RESET PORT_COCKTAIL |
| 2314 | 2296 | INPUT_PORTS_END |
| 2315 | 2297 | |
| 2298 | static INPUT_PORTS_START( tdpgal ) | |
| 2299 | PORT_START("IN0") | |
| 2300 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) | |
| 2301 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_COIN2 ) | |
| 2302 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) | |
| 2303 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) | |
| 2304 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 ) | |
| 2305 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) | |
| 2306 | PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) ) | |
| 2307 | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) | |
| 2308 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 2309 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) | |
| 2316 | 2310 | |
| 2311 | PORT_START("IN1") | |
| 2312 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_START1 ) | |
| 2313 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 ) | |
| 2314 | PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) ) | |
| 2315 | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) | |
| 2316 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 2317 | PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) ) | |
| 2318 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) | |
| 2319 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 2320 | PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) ) | |
| 2321 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) | |
| 2322 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 2323 | PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) ) | |
| 2324 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) | |
| 2325 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 2326 | PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) ) | |
| 2327 | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) | |
| 2328 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 2329 | PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) ) | |
| 2330 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) | |
| 2331 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 2317 | 2332 | |
| 2333 | PORT_START("IN2") | |
| 2334 | PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) ) | |
| 2335 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) | |
| 2336 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 2337 | PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) ) | |
| 2338 | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) | |
| 2339 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 2340 | PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) ) | |
| 2341 | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) | |
| 2342 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 2343 | PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) ) | |
| 2344 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) | |
| 2345 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 2346 | PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) ) | |
| 2347 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) | |
| 2348 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 2349 | PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) ) | |
| 2350 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) | |
| 2351 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 2352 | PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) ) | |
| 2353 | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) | |
| 2354 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 2355 | PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) ) | |
| 2356 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) | |
| 2357 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 2358 | INPUT_PORTS_END | |
| 2359 | ||
| 2318 | 2360 | /************************************* |
| 2319 | 2361 | * |
| 2320 | 2362 | * ROM definitions |
| r5490 | r5491 | |
| 4983 | 5025 | ROM_END |
| 4984 | 5026 | |
| 4985 | 5027 | |
| 5028 | ROM_START( tdpgal ) | |
| 5029 | ROM_REGION( 0x10000, "maincpu", 0 ) | |
| 5030 | ROM_LOAD( "1.bin", 0x0000, 0x0800, CRC(7be819fe) SHA1(ab5a332914546692f9976e243daf3040f0d9952e) ) | |
| 5031 | ROM_LOAD( "2.bin", 0x0800, 0x0800, CRC(70c83a5e) SHA1(7b781b027c73d6c3901c6d27901f97fae61a352d) ) | |
| 5032 | ROM_LOAD( "3.bin", 0x1000, 0x0800, CRC(475eb5a0) SHA1(b7436873fd74aff3577540474420a1abaa2babcb) ) | |
| 5033 | ROM_LOAD( "4.bin", 0x1800, 0x0800, CRC(20a71943) SHA1(e196eea20bd0518545dcde61f2697a1d6f61568b) ) | |
| 5034 | ROM_LOAD( "5.bin", 0x2000, 0x0800, CRC(72c4f2dc) SHA1(30a9c69afd2c4da4a14363fc0b17b1e0da188927) ) | |
| 5035 | ROM_LOAD( "6.bin", 0x2800, 0x0800, CRC(fa4e2be4) SHA1(a30d43189660f8a1437faf87064fce28c9c760ad) ) | |
| 5036 | ||
| 5037 | ROM_REGION( 0x1000, "gfx1", 0 ) | |
| 5038 | ROM_LOAD( "8.bin", 0x0000, 0x0800, CRC(d701b1d4) SHA1(8f23ba3c9f42fedd8b8f38d321118a86889f00dc) ) | |
| 5039 | ROM_LOAD( "7.bin", 0x0800, 0x0800, CRC(3113bcfd) SHA1(e2792e5fe7d7f27bb329e3104dee3ca29d72ef48) ) | |
| 5040 | ||
| 5041 | ROM_REGION( 0x0020, "proms", 0 ) | |
| 5042 | ROM_LOAD( "bprom.bin", 0x0000, 0x0020, CRC(2b4cf53f) SHA1(8d7eb0453173b9821eea32419b67559bfb4578d0) ) | |
| 5043 | ROM_END | |
| 5044 | ||
| 5045 | ||
| 4986 | 5046 | /************************************* |
| 4987 | 5047 | * |
| 4988 | 5048 | * Game drivers |
| r5490 | r5491 | |
| 4995 | 5055 | GAME( 1979, galaxiana, galaxian, galaxian, superg, galaxian, ROT90, "Namco", "Galaxian (Namco set 2)", GAME_SUPPORTS_SAVE ) |
| 4996 | 5056 | GAME( 1979, galaxianm, galaxian, galaxian, galaxian, galaxian, ROT90, "[Namco] (Midway license)", "Galaxian (Midway set 1)", GAME_SUPPORTS_SAVE ) |
| 4997 | 5057 | GAME( 1979, galaxianmo, galaxian, galaxian, galaxian, galaxian, ROT90, "[Namco] (Midway license)", "Galaxian (Midway set 2)", GAME_SUPPORTS_SAVE ) |
| 4998 | GAME( 1979, galaxiant, galaxian, galaxian, g | |
| 5058 | GAME( 1979, galaxiant, galaxian, galaxian, superg | |
| 4999 | 5059 | |
| 5000 | 5060 | /* straight Galaxian ripoffs on basic galaxian hardware */ |
| 5001 | 5061 | GAME( 1979, moonaln, galaxian, galaxian, superg, galaxian, ROT90, "[Nichibutsu] (Karateco license)", "Moon Alien", GAME_SUPPORTS_SAVE ) |
| r5490 | r5491 | |
| 5008 | 5068 | GAME( 1979, zerotime, galaxian, galaxian, zerotime, galaxian, ROT90, "Petaco S.A.", "Zero Time", GAME_SUPPORTS_SAVE ) |
| 5009 | 5069 | GAME( 1979, starfght, galaxian, galaxian, swarm, galaxian, ROT90, "Jeutel", "Star Fighter", GAME_SUPPORTS_SAVE ) |
| 5010 | 5070 | GAME( 1979, galaxbsf, galaxian, galaxian, galaxian, galaxian, ROT90, "bootleg", "Galaxian (bootleg)", GAME_SUPPORTS_SAVE ) |
| 5011 | GAME( 1979, kamakazi3,galaxian, galaxian, g | |
| 5071 | GAME( 1979, kamakazi3,galaxian, galaxian, superg | |
| 5012 | 5072 | GAME( 1980, supergx, galaxian, galaxian, superg, galaxian, ROT90, "Nichibutsu", "Super GX", GAME_NOT_WORKING | GAME_WRONG_COLORS | GAME_SUPPORTS_SAVE ) |
| 5013 | 5073 | GAME( 19??, tst_galx, galaxian, galaxian, galaxian, galaxian, ROT90, "Test ROM", "Galaxian Test ROM", GAME_SUPPORTS_SAVE ) |
| 5014 | 5074 | |
| r5490 | r5491 | |
| 5024 | 5084 | GAME( 1981, warofbug, 0, galaxian, warofbug, nolock, ROT90, "Armenia", "War of the Bugs or Monsterous Manouvers in a Mushroom Maze", GAME_SUPPORTS_SAVE ) |
| 5025 | 5085 | GAME( 1981, redufo, 0, galaxian, redufo, nolock, ROT90, "bootleg", "Defend the Terra Attack on the Red UFO", GAME_SUPPORTS_SAVE ) |
| 5026 | 5086 | GAME( 19??, exodus, redufo, galaxian, exodus, nolock, ROT90, "Subelectro", "Exodus (bootleg?)", GAME_SUPPORTS_SAVE ) |
| 5087 | GAME( 1983, tdpgal, 0, galaxian, tdpgal, nolock, ROT90, "Design Labs / Thomas Automatics", "Triple Draw Poker", GAME_SUPPORTS_SAVE ) | |
| 5027 | 5088 | |
| 5028 | 5089 | /* different bullet color */ |
| 5029 | 5090 | GAME( 1982, azurian, 0, galaxian, azurian, azurian, ROT90, "Rait Electronics Ltd", "Azurian Attack", GAME_SUPPORTS_SAVE ) |
| r5490 | r5491 | |
| 5059 | 5120 | |
| 5060 | 5121 | |
| 5061 | 5122 | |
| 5123 | ||
| 5124 | ||
| 5062 | 5125 | /************************************* |
| 5063 | 5126 | * |
| 5064 | 5127 | * Game drivers |
| r5490 | r5491 | |
|---|---|---|
| 31 | 31 | #include "cpu/m6502/m6502.h" |
| 32 | 32 | #include "sound/pokey.h" |
| 33 | 33 | #include "sound/tms5220.h" |
| 34 | #include "sound/5220intf.h" | |
| 35 | 34 | #include "machine/laserdsc.h" |
| 36 | 35 | #include "machine/6532riot.h" |
| 37 | 36 | #include "machine/x2212.h" |
| r5490 | r5491 | |
|---|---|---|
| 263 | 263 | PORT_DIPUNUSED_DIPLOC( 0x01, 0x01, "SW2:1" ) /* Listed as "Unused" */ |
| 264 | 264 | PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW2:2" ) /* Listed as "Unused" */ |
| 265 | 265 | PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "SW2:3" ) /* Listed as "Unused" */ |
| 266 | PORT_DIPNAME( 0x18, 0x10, "Bonus Energy" ) PORT_DIPLOCATION("SW2:4,5") | |
| 266 | PORT_DIPNAME( 0x18, 0x10, "Bonus Energy" ) PORT_DIPLOCATION("SW2:4,5") // Typo on US manual "SW2:1,2" | |
| 267 | 267 | PORT_DIPSETTING( 0x00, "60" ) |
| 268 | 268 | PORT_DIPSETTING( 0x08, "70" ) |
| 269 | PORT_DIPSETTING( 0x10, "80" ) | |
| 269 | PORT_DIPSETTING( 0x10, "80" ) // factory default | |
| 270 | 270 | PORT_DIPSETTING( 0x18, "90" ) |
| 271 | 271 | PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:6,7") |
| 272 | 272 | PORT_DIPSETTING( 0x60, DEF_STR( Easy ) ) |
| 273 | PORT_DIPSETTING( 0x40, DEF_STR( Normal ) ) | |
| 273 | PORT_DIPSETTING( 0x40, DEF_STR( Normal ) ) // factory default | |
| 274 | 274 | PORT_DIPSETTING( 0x20, DEF_STR( Hard ) ) |
| 275 | 275 | PORT_DIPSETTING( 0x00, DEF_STR( Very_Hard ) ) |
| 276 | 276 | PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8") |
| r5490 | r5491 | |
| 339 | 339 | PORT_MODIFY("DSW2") |
| 340 | 340 | PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:1,2") |
| 341 | 341 | PORT_DIPSETTING( 0x03, "2" ) |
| 342 | PORT_DIPSETTING( 0x02, "3" ) | |
| 342 | PORT_DIPSETTING( 0x02, "3" ) // factory default | |
| 343 | 343 | PORT_DIPSETTING( 0x01, "5" ) |
| 344 | 344 | PORT_DIPSETTING( 0x00, "7" ) |
| 345 | 345 | PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "SW2:3" ) /* Listed as "Unused" */ |
| 346 | PORT_DIPNAME( 0x18, 0x1 | |
| 346 | PORT_DIPNAME( 0x18, 0x10, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:4,5") | |
| 347 | 347 | PORT_DIPSETTING( 0x18, "150 and every 200" ) |
| 348 | PORT_DIPSETTING( 0x10, "150 and every 250" ) | |
| 348 | PORT_DIPSETTING( 0x10, "150 and every 250" ) // factory default | |
| 349 | 349 | PORT_DIPSETTING( 0x08, "150 Only" ) |
| 350 | 350 | PORT_DIPSETTING( 0x00, "200 Only" ) |
| 351 | 351 | INPUT_PORTS_END |
| r5490 | r5491 | |
|---|---|---|
| 597 | 597 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 598 | 598 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 599 | 599 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 600 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 600 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 601 | 601 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 602 | 602 | |
| 603 | 603 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 702 | 702 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 703 | 703 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 704 | 704 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 705 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 705 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 706 | 706 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 707 | 707 | |
| 708 | 708 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 768 | 768 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 769 | 769 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 770 | 770 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 771 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 771 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 772 | 772 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 773 | 773 | |
| 774 | 774 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 834 | 834 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 835 | 835 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 836 | 836 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 837 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 837 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 838 | 838 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 839 | 839 | |
| 840 | 840 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 898 | 898 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 899 | 899 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 900 | 900 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 901 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 901 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 902 | 902 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 903 | 903 | |
| 904 | 904 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 965 | 965 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 966 | 966 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 967 | 967 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 968 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 968 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 969 | 969 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 970 | 970 | |
| 971 | 971 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1032 | 1032 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1033 | 1033 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1034 | 1034 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1035 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1035 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1036 | 1036 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 1037 | 1037 | |
| 1038 | 1038 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1099 | 1099 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1100 | 1100 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1101 | 1101 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1102 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1102 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1103 | 1103 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 1104 | 1104 | |
| 1105 | 1105 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1166 | 1166 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1167 | 1167 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1168 | 1168 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1169 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1169 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1170 | 1170 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 1171 | 1171 | |
| 1172 | 1172 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1231 | 1231 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1232 | 1232 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1233 | 1233 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1234 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1234 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1235 | 1235 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 1236 | 1236 | |
| 1237 | 1237 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1297 | 1297 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1298 | 1298 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1299 | 1299 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1300 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1300 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1301 | 1301 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 1302 | 1302 | |
| 1303 | 1303 | PORT_START("KEY0") |
| 1304 | 1304 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SLOT_STOP1 ) |
| 1305 | 1305 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SLOT_STOP2 ) |
| 1306 | 1306 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) |
| 1307 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OT | |
| 1307 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SLOT | |
| 1308 | 1308 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("1P Start") PORT_CODE(KEYCODE_N) |
| 1309 | 1309 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) |
| 1310 | 1310 | PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| r5490 | r5491 | |
| 1408 | 1408 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1409 | 1409 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1410 | 1410 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1411 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1411 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1412 | 1412 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 1413 | 1413 | |
| 1414 | 1414 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1513 | 1513 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1514 | 1514 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1515 | 1515 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 1516 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1516 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1517 | 1517 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1518 | 1518 | |
| 1519 | 1519 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1579 | 1579 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1580 | 1580 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1581 | 1581 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 1582 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1582 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1583 | 1583 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1584 | 1584 | |
| 1585 | 1585 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1643 | 1643 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1644 | 1644 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1645 | 1645 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 1646 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1646 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1647 | 1647 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1648 | 1648 | |
| 1649 | 1649 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1709 | 1709 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1710 | 1710 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1711 | 1711 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 1712 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1712 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1713 | 1713 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1714 | 1714 | |
| 1715 | 1715 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1775 | 1775 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1776 | 1776 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1777 | 1777 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 1778 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1778 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1779 | 1779 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1780 | 1780 | |
| 1781 | 1781 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1841 | 1841 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1842 | 1842 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1843 | 1843 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 1844 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1844 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1845 | 1845 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1846 | 1846 | |
| 1847 | 1847 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1906 | 1906 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1907 | 1907 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1908 | 1908 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 1909 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1909 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1910 | 1910 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1911 | 1911 | |
| 1912 | 1912 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1970 | 1970 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1971 | 1971 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1972 | 1972 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 1973 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1973 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1974 | 1974 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1975 | 1975 | |
| 1976 | 1976 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 2034 | 2034 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2035 | 2035 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2036 | 2036 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 2037 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 2037 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2038 | 2038 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2039 | 2039 | |
| 2040 | 2040 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 2097 | 2097 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2098 | 2098 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2099 | 2099 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 2100 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 2100 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2101 | 2101 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2102 | 2102 | |
| 2103 | 2103 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 2164 | 2164 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2165 | 2165 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN2 |
| 2166 | 2166 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2167 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_ | |
| 2167 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2168 | 2168 | |
| 2169 | 2169 | PORT_INCLUDE( nbmjcontrols ) |
| 2170 | 2170 | INPUT_PORTS_END |
| r5490 | r5491 | |
| 2230 | 2230 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2231 | 2231 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN2 |
| 2232 | 2232 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2233 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_ | |
| 2233 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2234 | 2234 | |
| 2235 | 2235 | PORT_INCLUDE( nbmjcontrols ) |
| 2236 | 2236 | INPUT_PORTS_END |
| r5490 | r5491 | |
| 2296 | 2296 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2297 | 2297 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN2 |
| 2298 | 2298 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2299 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_ | |
| 2299 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2300 | 2300 | |
| 2301 | 2301 | PORT_INCLUDE( nbmjcontrols ) |
| 2302 | 2302 | INPUT_PORTS_END |
| r5490 | r5491 | |
| 2361 | 2361 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2362 | 2362 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2363 | 2363 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 2364 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 2364 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2365 | 2365 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2366 | 2366 | |
| 2367 | 2367 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 2439 | 2439 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2440 | 2440 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2441 | 2441 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 2442 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 2442 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2443 | 2443 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2444 | 2444 | |
| 2445 | 2445 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 2505 | 2505 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2506 | 2506 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2507 | 2507 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 2508 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 2508 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2509 | 2509 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2510 | 2510 | |
| 2511 | 2511 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 2571 | 2571 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2572 | 2572 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2573 | 2573 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 2574 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 2574 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2575 | 2575 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2576 | 2576 | |
| 2577 | 2577 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 2637 | 2637 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2638 | 2638 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2639 | 2639 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 2640 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 2640 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2641 | 2641 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2642 | 2642 | |
| 2643 | 2643 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 2703 | 2703 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2704 | 2704 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2705 | 2705 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2706 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 2706 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2707 | 2707 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) // OPTION (?) |
| 2708 | 2708 | |
| 2709 | 2709 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 2765 | 2765 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2766 | 2766 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2767 | 2767 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2768 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 2768 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2769 | 2769 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) // OPTION (?) |
| 2770 | 2770 | |
| 2771 | 2771 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 2831 | 2831 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2832 | 2832 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2833 | 2833 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2834 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 2834 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2835 | 2835 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 2836 | 2836 | |
| 2837 | 2837 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 2897 | 2897 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 2898 | 2898 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 2899 | 2899 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 2900 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 2900 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 2901 | 2901 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 2902 | 2902 | |
| 2903 | 2903 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
|---|---|---|
| 33 | 33 | most universal combinations are: |
| 34 | 34 | 60 second long game |
| 35 | 35 | 2500 points for extended play 12345678 |
| 36 | On coin each player | |
| 36 | One coin each player | |
| 37 | 37 | |
| 38 | 38 | Ports: |
| 39 | 39 | In: |
| r5490 | r5491 | |
|---|---|---|
| 1438 | 1438 | ROM_LOAD( "sc3981-0a.u51", 0x000, 0x117, CRC(4fc750d0) SHA1(d09ff7a8c66aeb5c49e9fec84bd1521e3f5d8d0a) ) |
| 1439 | 1439 | ROM_END |
| 1440 | 1440 | |
| 1441 | ROM_START( megat5 ) /* Dallas DS1204V security key at U5 labeled 9255-60-01 U5- | |
| 1441 | ROM_START( megat5 ) /* Dallas DS1204V security key at U5 labeled 9255-60-01 U5-C-RO1 C1998 MII */ | |
| 1442 | 1442 | ROM_REGION( 0x400000, "maincpu", 0 ) |
| 1443 | 1443 | ROM_LOAD( "9255-60-01_u32-r0", 0x000000, 0x100000, CRC(f8f7f48e) SHA1(1bebe1f8898c60b795a0f794ca9b79e03d2744e4) ) |
| 1444 | 1444 | ROM_LOAD( "qs9255-05_u36-r0", 0x100000, 0x80000, CRC(0bed9e27) SHA1(1414385ce562b127e1ddeccc20ea4ff2a7098b7e) ) |
| 1445 | 1445 | ROM_RELOAD( 0x180000, 0x80000) |
| 1446 | 1446 | ROM_LOAD( "qs9255-05_u37-r0", 0x200000, 0x80000, CRC(b713a1c5) SHA1(d6ccba2ea90fd0e2ecf15249514231eed54000c1) ) |
| 1447 | 1447 | ROM_RELOAD( 0x280000, 0x80000) |
| 1448 | ROM_LOAD( "9255-60-01_u38-r0c", 0x300000, 0x80000, BAD_DUMP CRC(018e36c7) SHA1(8e9b457238a40b10d59887d13bac9c0a05c73614) ) /* Location U38, 07/10/1997 16:27:51 Dumped at half size */ | |
| 1449 | ROM_RELOAD( 0x380000, 0x80000) | |
| 1448 | ROM_LOAD( "9255-60-01_u38-r0i", 0x300000, 0x100000, CRC(82a4471d) SHA1(e66ab64bb7047e248f9edbf99eb83c480895dc68) ) /* Location U38, 09/26/1997 12:09:52 - Standard Version */ | |
| 1450 | 1449 | |
| 1451 | 1450 | ROM_REGION( 0x1000, "user2", 0 ) // PALs |
| 1452 | 1451 | ROM_LOAD( "sc3943.u20", 0x000, 0x117, CRC(5a72fe78) SHA1(4b1a36904eb7048518507fe14bdade5c2589dbd7) ) |
| r5490 | r5491 | |
| 1455 | 1454 | ROM_LOAD( "sc3981-0a.u51", 0x000, 0x117, CRC(4fc750d0) SHA1(d09ff7a8c66aeb5c49e9fec84bd1521e3f5d8d0a) ) |
| 1456 | 1455 | ROM_END |
| 1457 | 1456 | |
| 1457 | ROM_START( megat5a ) /* Dallas DS1204V security key at U5 labeled 9255-60-01 U5-C-RO1 C1998 MII */ | |
| 1458 | ROM_REGION( 0x400000, "maincpu", 0 ) | |
| 1459 | ROM_LOAD( "9255-60-01_u32-r0", 0x000000, 0x100000, CRC(f8f7f48e) SHA1(1bebe1f8898c60b795a0f794ca9b79e03d2744e4) ) | |
| 1460 | ROM_LOAD( "qs9255-05_u36-r0", 0x100000, 0x80000, CRC(0bed9e27) SHA1(1414385ce562b127e1ddeccc20ea4ff2a7098b7e) ) | |
| 1461 | ROM_RELOAD( 0x180000, 0x80000) | |
| 1462 | ROM_LOAD( "qs9255-05_u37-r0", 0x200000, 0x80000, CRC(b713a1c5) SHA1(d6ccba2ea90fd0e2ecf15249514231eed54000c1) ) | |
| 1463 | ROM_RELOAD( 0x280000, 0x80000) | |
| 1464 | ROM_LOAD( "9255-60-01_u38-r0c", 0x300000, 0x100000, BAD_DUMP CRC(1091e7fd) SHA1(3c31c178eb7bea0d2c7e839dc3ec549463092296) ) /* Location U38, 07/10/1997 16:49:56 - Standard Version */ | |
| 1465 | ||
| 1466 | ROM_REGION( 0x1000, "user2", 0 ) // PALs | |
| 1467 | ROM_LOAD( "sc3943.u20", 0x000, 0x117, CRC(5a72fe78) SHA1(4b1a36904eb7048518507fe14bdade5c2589dbd7) ) | |
| 1468 | ROM_LOAD( "sc3944-0a.u19", 0x000, 0x2dd, CRC(4cc46c5e) SHA1(0bab970df1539ce905f43603ad13171b05449a01) ) | |
| 1469 | ROM_LOAD( "sc3980.u40", 0x000, 0x117, CRC(ee0cdab5) SHA1(216fef50a8a0f6a33b704d3501a4c5c3cbac2bad) ) | |
| 1470 | ROM_LOAD( "sc3981-0a.u51", 0x000, 0x117, CRC(4fc750d0) SHA1(d09ff7a8c66aeb5c49e9fec84bd1521e3f5d8d0a) ) | |
| 1471 | ROM_END | |
| 1472 | ||
| 1458 | 1473 | ROM_START( megat5nj ) /* Dallas DS1204V security key at U5 labeled 9255-60-01 U5-B-RO1 C1998 MII */ |
| 1459 | 1474 | ROM_REGION( 0x400000, "maincpu", 0 ) |
| 1460 | 1475 | ROM_LOAD( "9255-60-01_u32-r0", 0x000000, 0x100000, CRC(f8f7f48e) SHA1(1bebe1f8898c60b795a0f794ca9b79e03d2744e4) ) |
| r5490 | r5491 | |
| 1610 | 1625 | GAME( 1996, megat4sn, megat4, meritm_crt260, meritm_crt260, megat4, ROT0, "Merit", "Super Megatouch IV (9255-41-07 ROG, New Jersey version)", GAME_IMPERFECT_GRAPHICS ) |
| 1611 | 1626 | GAME( 1996, megat4te, megat4, meritm_crt260, meritm_crt260, megat4te, ROT0, "Merit", "Megatouch IV Tournament Edition (9255-50-01 ROD, Standard version)", GAME_IMPERFECT_GRAPHICS ) |
| 1612 | 1627 | GAME( 1996, megat4st, megat4, meritm_crt260, meritm_crt260, megat4st, ROT0, "Merit", "Super Megatouch IV Tournament Edition (9255-51-01 ROB, Standard version)", GAME_IMPERFECT_GRAPHICS ) |
| 1613 | GAME( 1997, megat5, 0, meritm_crt260, meritm_crt260, megat5, ROT0, "Merit", "Megatouch 5 (9255-60-01 ROC, Standard version)", GAME_IMPERFECT_GRAPHICS|GAME_NOT_WORKING ) | |
| 1628 | GAME( 1997, megat5, 0, meritm_crt260, meritm_crt260, megat5, ROT0, "Merit", "Megatouch 5 (9255-60-01 ROI, Standard version)", GAME_IMPERFECT_GRAPHICS ) | |
| 1629 | GAME( 1997, megat5a, megat5, meritm_crt260, meritm_crt260, megat5, ROT0, "Merit", "Megatouch 5 (9255-60-01 ROC, Standard version)", GAME_IMPERFECT_GRAPHICS|GAME_NOT_WORKING ) | |
| 1614 | 1630 | GAME( 1998, megat5nj, megat5, meritm_crt260, meritm_crt260, megat5, ROT0, "Merit", "Megatouch 5 (9255-60-07 RON, New Jersey version)", GAME_IMPERFECT_GRAPHICS ) |
| 1615 | 1631 | GAME( 1998, megat6, 0, meritm_crt260, meritm_crt260, megat6, ROT0, "Merit", "Megatouch 6 (9255-80-01 ROA, Standard version)", GAME_IMPERFECT_GRAPHICS ) |
| r5490 | r5491 | |
|---|---|---|
| 66 | 66 | - Skate Kids (by Two-Bit Score, 1988; hack of Vs. Super Mario Bros.) |
| 67 | 67 | |
| 68 | 68 | Needed roms: |
| 69 | - Babel no Tou (by Namco, 198?) | |
| 70 | - Family Boxing (by Namco/Woodplace, 198?) | |
| 69 | - Babel no Tou (by Namco, 1986) | |
| 70 | - Family Boxing (by Namco/Woodplace, 1987) | |
| 71 | 71 | - Family Stadium '87 (by Namco, 1987) |
| 72 | 72 | - Family Stadium '88 (by Namco, 1988) |
| 73 | - Family Tennis (by Namco, 198 | |
| 73 | - Family Tennis (by Namco, 1987) | |
| 74 | 74 | - Head to Head Baseball (ever finished/released?, by Nintendo, 1986) |
| 75 | - Japanese version of Vs. Soccer (1985) | |
| 76 | - Japanese version of Vs. Super Mario Bros. (1986) | |
| 77 | 75 | - Lionex (prototype by Sunsoft, 1987) |
| 78 | 76 | - Madura no Tsubasa (prototype by Sunsoft, 1987) |
| 79 | - Predators (prototype by Williams, 84) | |
| 80 | - Pro Yakyuu Family Stadium (by Namco, 1986?) | |
| 81 | - Quest of Ki (by Namco/Game Studio, 198?) | |
| 77 | - Predators (prototype by Williams, 1984) | |
| 78 | - Pro Yakyuu Family Stadium (by Namco, 1986) | |
| 79 | - Quest of Ki (by Namco/Game Studio, 1988) | |
| 82 | 80 | - Super Chinese (by Namco/Culture Brain, 1988) |
| 83 | 81 | - Toukaidou 53tsugi (prototype by Sunsoft, 1985) |
| 84 | 82 | - Trojan (by Capcom, 1987) |
| 85 | 83 | - Urban Champion (1984) |
| 86 | 84 | - Volleyball (1986) |
| 87 | - Walkure no Bouken (by Namco, 198 | |
| 85 | - Walkure no Bouken (by Namco, 1986) | |
| 88 | 86 | - Wild Gunman (1984, light gun game) |
| 89 | 87 | |
| 90 | 88 | TO DO: |
| r5490 | r5491 | |
| 1853 | 1851 | |
| 1854 | 1852 | /******************************************************************************/ |
| 1855 | 1853 | |
| 1854 | /* correct label format. revision number is stamped(red), other letters are printed(black) | |
| 1855 | game code in line 1, ROM position in line 2 | |
| 1856 | i.e. | |
| 1857 | MDS-DH3 | |
| 1858 | 1B or 6B e | |
| 1859 | */ | |
| 1856 | 1860 | |
| 1861 | ||
| 1857 | 1862 | ROM_START( suprmrio ) |
| 1858 | 1863 | ROM_REGION( 0x10000,"maincpu", 0 ) /* 6502 memory */ |
| 1859 | 1864 | ROM_LOAD( "mds-sm4.1d", 0x8000, 0x2000, CRC(be4d5436) SHA1(08162a7c987f1939d09bebdb676f596c86abf465) ) |
| r5490 | r5491 | |
| 1904 | 1909 | |
| 1905 | 1910 | ROM_START( iceclimbj ) |
| 1906 | 1911 | ROM_REGION( 0x10000,"maincpu", 0 ) /* 6502 memory */ |
| 1907 | ROM_LOAD( "mds-ic4-4_6d_b.bin", 0x8000, 0x2000, CRC(0ea5f9cb) SHA1(3ba6228ac8011371fc36ce9dde4fc158a81a99a2) ) | |
| 1908 | ROM_LOAD( "mds-ic4-4_6c_b.bin", 0xa000, 0x2000, CRC(51fe438e) SHA1(f40812d4275dabaac6f9539e1300c08d07992654) ) | |
| 1909 | ROM_LOAD( "mds-ic4-4_6b_b-1.bin",0xc000, 0x2000, CRC(a8afdc62) SHA1(f798da6c107926790026d4a4d384961dbff2380e) ) | |
| 1910 | ROM_LOAD( "mds-ic4-4_6a_b.bin", 0xe000, 0x2000, CRC(96505d4d) SHA1(0fb913853decebec1d5d15ee5adc8027cd66f016) ) | |
| 1912 | ROM_LOAD( "mds-ic4-4_6d b.bin", 0x8000, 0x2000, CRC(0ea5f9cb) SHA1(3ba6228ac8011371fc36ce9dde4fc158a81a99a2) ) | |
| 1913 | ROM_LOAD( "mds-ic4-4_6c b.bin", 0xa000, 0x2000, CRC(51fe438e) SHA1(f40812d4275dabaac6f9539e1300c08d07992654) ) | |
| 1914 | ROM_LOAD( "mds-ic4-4_6b b-1.bin",0xc000, 0x2000, CRC(a8afdc62) SHA1(f798da6c107926790026d4a4d384961dbff2380e) ) | |
| 1915 | ROM_LOAD( "mds-ic4-4_6a b.bin", 0xe000, 0x2000, CRC(96505d4d) SHA1(0fb913853decebec1d5d15ee5adc8027cd66f016) ) | |
| 1911 | 1916 | |
| 1912 | 1917 | ROM_REGION( 0x4000,"gfx1", 0 ) /* PPU memory */ |
| 1913 | ROM_LOAD( "mds-ic4-4_8b_b.bin", 0x0000, 0x2000, CRC(331460b4) SHA1(4cf94d711cdb5715d14f1ab3cadec245e0adfb1e) ) | |
| 1914 | ROM_LOAD( "mds-ic4-4_8a_b.bin", 0x2000, 0x2000, CRC(4ec44fb3) SHA1(676e0ab574dec08df562c6f278e8a9cc7c8afa41) ) | |
| 1918 | ROM_LOAD( "mds-ic4-4_8b b.bin", 0x0000, 0x2000, CRC(331460b4) SHA1(4cf94d711cdb5715d14f1ab3cadec245e0adfb1e) ) | |
| 1919 | ROM_LOAD( "mds-ic4-4_8a b.bin", 0x2000, 0x2000, CRC(4ec44fb3) SHA1(676e0ab574dec08df562c6f278e8a9cc7c8afa41) ) | |
| 1915 | 1920 | ROM_END |
| 1916 | 1921 | |
| 1917 | 1922 | /* Gun games */ |
| 1918 | 1923 | ROM_START( duckhunt ) |
| 1919 | 1924 | ROM_REGION( 0x10000,"maincpu", 0 ) /* 6502 memory */ |
| 1920 | ROM_LOAD( "mds-dh3.1d", 0x8000, 0x2000, CRC(3f51f0ed) SHA1(984d8a5cecddde776ffd4f718ee0ca7a9959228b) ) | |
| 1921 | ROM_LOAD( "mds-dh3.1c", 0xa000, 0x2000, CRC(8bc7376c) SHA1(d90d663c5e5b6d5247089c8ba618912305049b19) ) | |
| 1922 | ROM_LOAD( "mds-dh3.1b", 0xc000, 0x2000, CRC(a042b6e1) SHA1(df571c31a6a52df56869eda0621f7615a625e66d) ) | |
| 1923 | ROM_LOAD( "mds-dh3.1a", 0xe000, 0x2000, CRC(1906e3ab) SHA1(bff68829a96e2d251dd12129f84bdf1dbdf61d06) ) | |
| 1925 | ROM_LOAD( "mds-dh3_1d or 6d e.bin", 0x8000, 0x2000, CRC(3f51f0ed) SHA1(984d8a5cecddde776ffd4f718ee0ca7a9959228b) ) | |
| 1926 | ROM_LOAD( "mds-dh3_1c or 6c e.bin", 0xa000, 0x2000, CRC(8bc7376c) SHA1(d90d663c5e5b6d5247089c8ba618912305049b19) ) | |
| 1927 | ROM_LOAD( "mds-dh3_1b or 6b e.bin", 0xc000, 0x2000, CRC(a042b6e1) SHA1(df571c31a6a52df56869eda0621f7615a625e66d) ) | |
| 1928 | ROM_LOAD( "mds-dh3_1a or 6a e.bin", 0xe000, 0x2000, CRC(1906e3ab) SHA1(bff68829a96e2d251dd12129f84bdf1dbdf61d06) ) | |
| 1924 | 1929 | |
| 1925 | 1930 | ROM_REGION( 0x4000, "gfx1", 0 ) /* PPU memory */ |
| 1926 | ROM_LOAD( "mds-dh3.2b", 0x0000, 0x2000, CRC(0c52ec28) SHA1(c8fb6a5d4c13a7075d313326e2da9ce88780a88d) ) | |
| 1927 | ROM_LOAD( "mds-dh3.2a", 0x2000, 0x2000, CRC(3d238df3) SHA1(e868ef3d5357ef5294e4faeecc9dbf801c5253e8) ) | |
| 1931 | ROM_LOAD( "mds-dh3_2b or 8b e.bin", 0x0000, 0x2000, CRC(0c52ec28) SHA1(c8fb6a5d4c13a7075d313326e2da9ce88780a88d) ) | |
| 1932 | ROM_LOAD( "mds-dh3_2a or 8a e.bin", 0x2000, 0x2000, CRC(3d238df3) SHA1(e868ef3d5357ef5294e4faeecc9dbf801c5253e8) ) | |
| 1928 | 1933 | ROM_END |
| 1929 | 1934 | |
| 1930 | 1935 | ROM_START( hogalley ) |
| 1931 | 1936 | ROM_REGION( 0x10000, "maincpu",0 ) /* 6502 memory */ |
| 1932 | ROM_LOAD( "mds-ha4-1_1d_or_6d_e-1.bin", 0x8000, 0x2000, CRC(2089e166) SHA1(7db09b5b6bcd87589bed89a5fc1a4b772155a0f3) ) | |
| 1933 | ROM_LOAD( "mds-ha4-1_1c_or_6c_e-1.bin", 0xa000, 0x2000, CRC(a85934ae) SHA1(f26af4f60a4072c45e900dff7f74d9907bc2e1e0) ) | |
| 1934 | ROM_LOAD( "mds-ha4-1_1b_or_6b_e-1.bin", 0xc000, 0x2000, CRC(718e25b3) SHA1(2710827931d3cd55984c3107c3b8e0f691965eaa) ) | |
| 1935 | ROM_LOAD( "mds-ha4-1_1a_or_6a_e-1.bin", 0xe000, 0x2000, CRC(f9526852) SHA1(244c6a12801d4aa774a416f7c3dd8465d01dbca2) ) | |
| 1937 | ROM_LOAD( "mds-ha4-1_1d or 6d e-1.bin", 0x8000, 0x2000, CRC(2089e166) SHA1(7db09b5b6bcd87589bed89a5fc1a4b772155a0f3) ) | |
| 1938 | ROM_LOAD( "mds-ha4-1_1c or 6c e-1.bin", 0xa000, 0x2000, CRC(a85934ae) SHA1(f26af4f60a4072c45e900dff7f74d9907bc2e1e0) ) | |
| 1939 | ROM_LOAD( "mds-ha4-1_1b or 6b e-1.bin", 0xc000, 0x2000, CRC(718e25b3) SHA1(2710827931d3cd55984c3107c3b8e0f691965eaa) ) | |
| 1940 | ROM_LOAD( "mds-ha4-1_1a or 6a e-1.bin", 0xe000, 0x2000, CRC(f9526852) SHA1(244c6a12801d4aa774a416f7c3dd8465d01dbca2) ) | |
| 1936 | 1941 | |
| 1937 | 1942 | ROM_REGION( 0x4000,"gfx1", 0 ) /* PPU memory */ |
| 1938 | ROM_LOAD( "mds-ha4-1_2b_or_8b_e-1.bin", 0x0000, 0x2000, CRC(fc5a91ad) SHA1(7ce6c64d81a9626d0b34bdc0a2a28fee457ebcb1) ) // there is another dump ( CRC 0x7623e954 ) where 0xFE1 = 04, the dump we use is probably the correct one | |
| 1939 | ROM_LOAD( "mds-ha4-1_2a_or_8a_e-1.bin", 0x2000, 0x2000, CRC(78c842b6) SHA1(39f2a7fc1f1cbe2378a369e45b5cbb05057db3f0) ) | |
| 1943 | ROM_LOAD( "mds-ha4-1_2b or 8b e-1.bin", 0x0000, 0x2000, CRC(fc5a91ad) SHA1(7ce6c64d81a9626d0b34bdc0a2a28fee457ebcb1) ) // there is another dump ( CRC 0x7623e954 ) where 0xFE1 = 04, the dump we use is probably the correct one | |
| 1944 | ROM_LOAD( "mds-ha4-1_2a or 8a e-1.bin", 0x2000, 0x2000, CRC(78c842b6) SHA1(39f2a7fc1f1cbe2378a369e45b5cbb05057db3f0) ) | |
| 1940 | 1945 | ROM_END |
| 1941 | 1946 | |
| 1942 | 1947 | ROM_START( vsgshoe ) |
| r5490 | r5491 | |
| 2015 | 2020 | |
| 2016 | 2021 | ROM_START( excitebkj ) |
| 2017 | 2022 | ROM_REGION( 0x10000,"maincpu", 0 ) /* 6502 memory */ |
| 2018 | ROM_LOAD( "mds-eb4-4_6d_a.bin", 0x8000, 0x2000, CRC(6aa87037) SHA1(f3313700955498800a3d59c523ba2a4e0cf443bc) ) | |
| 2019 | ROM_LOAD( "mds-eb4-4_6c_a.bin", 0xa000, 0x2000, CRC(bdb317db) SHA1(a8b3e8deb1e625d764aaffe86a513bc7ede51a46) ) | |
| 2020 | ROM_LOAD( "mds-eb4-4_6b_a.bin", 0xc000, 0x2000, CRC(d1afe2dd) SHA1(ef0f44d98464b7dab7c51be4379242f7a4e4fcdd) ) | |
| 2021 | ROM_LOAD( "mds-eb4-4_6a_a.bin", 0xe000, 0x2000, CRC(46711d0e) SHA1(6ce2f395b3f407671a87c6e1133ab63a637022f2) ) | |
| 2023 | ROM_LOAD( "mds-eb4-4_6d a.bin", 0x8000, 0x2000, CRC(6aa87037) SHA1(f3313700955498800a3d59c523ba2a4e0cf443bc) ) | |
| 2024 | ROM_LOAD( "mds-eb4-4_6c a.bin", 0xa000, 0x2000, CRC(bdb317db) SHA1(a8b3e8deb1e625d764aaffe86a513bc7ede51a46) ) | |
| 2025 | ROM_LOAD( "mds-eb4-4_6b a.bin", 0xc000, 0x2000, CRC(d1afe2dd) SHA1(ef0f44d98464b7dab7c51be4379242f7a4e4fcdd) ) | |
| 2026 | ROM_LOAD( "mds-eb4-4_6a a.bin", 0xe000, 0x2000, CRC(46711d0e) SHA1(6ce2f395b3f407671a87c6e1133ab63a637022f2) ) | |
| 2022 | 2027 | |
| 2023 | 2028 | ROM_REGION( 0x4000,"gfx1", 0 ) /* PPU memory */ |
| 2024 | ROM_LOAD( "mds-eb4-4_8b_a.bin", 0x0000, 0x2000, CRC(62a76c52) SHA1(7ebd0dac976abe8636f4f75a3b2a473d7a54934d) ) | |
| 2025 | ROM_LOAD( "mds-eb4-4_8a_a.bin", 0x2000, 0x2000, CRC(a9b49a05) SHA1(c14706e6a5524f81e79c101e32deef9f3d60de3f) ) | |
| 2029 | ROM_LOAD( "mds-eb4-4_8b a.bin", 0x0000, 0x2000, CRC(62a76c52) SHA1(7ebd0dac976abe8636f4f75a3b2a473d7a54934d) ) | |
| 2030 | ROM_LOAD( "mds-eb4-4_8a a.bin", 0x2000, 0x2000, CRC(a9b49a05) SHA1(c14706e6a5524f81e79c101e32deef9f3d60de3f) ) | |
| 2026 | 2031 | ROM_END |
| 2027 | 2032 | |
| 2028 | 2033 | ROM_START( jajamaru ) |
| r5490 | r5491 | |
| 2051 | 2056 | |
| 2052 | 2057 | ROM_START( smgolfj ) |
| 2053 | 2058 | ROM_REGION( 0x10000,"maincpu", 0 ) /* 6502 memory */ |
| 2054 | ROM_LOAD( "mds-gf3_6d_b.bin", 0x8000, 0x2000, CRC(8ce375b6) SHA1(f787f5ebe584cc95428b63660cd41e2b3df6ddf2) ) | |
| 2055 | ROM_LOAD( "mds-gf3_6c_b.bin", 0xa000, 0x2000, CRC(50a938d3) SHA1(5f5c5e50024fe113240f1b0b3b6d38cbf9130133) ) | |
| 2056 | ROM_LOAD( "mds-gf3_6b_b.bin", 0xc000, 0x2000, CRC(7dc39f1f) SHA1(12ff2f0ec7418754f9b6e600746e15f345e3ddaa) ) | |
| 2057 | ROM_LOAD( "mds-gf3_6a_b.bin", 0xe000, 0x2000, CRC(9b8a2106) SHA1(008ab9098f9ce564bcb4beb17285c2bc18b529ff) ) | |
| 2059 | ROM_LOAD( "mds-gf3_6d b.bin", 0x8000, 0x2000, CRC(8ce375b6) SHA1(f787f5ebe584cc95428b63660cd41e2b3df6ddf2) ) | |
| 2060 | ROM_LOAD( "mds-gf3_6c b.bin", 0xa000, 0x2000, CRC(50a938d3) SHA1(5f5c5e50024fe113240f1b0b3b6d38cbf9130133) ) | |
| 2061 | ROM_LOAD( "mds-gf3_6b b.bin", 0xc000, 0x2000, CRC(7dc39f1f) SHA1(12ff2f0ec7418754f9b6e600746e15f345e3ddaa) ) | |
| 2062 | ROM_LOAD( "mds-gf3_6a b.bin", 0xe000, 0x2000, CRC(9b8a2106) SHA1(008ab9098f9ce564bcb4beb17285c2bc18b529ff) ) | |
| 2058 | 2063 | |
| 2059 | 2064 | ROM_REGION( 0x4000,"gfx1", 0 ) /* PPU memory */ |
| 2060 | ROM_LOAD( "mds-gf3_8b_b.bin", 0x0000, 0x2000, CRC(7ef68029) SHA1(a639e463fd0abfb1bff0dd17aa0c9f70a72ee139) ) | |
| 2061 | ROM_LOAD( "mds-gf3_8a_b.bin", 0x2000, 0x2000, CRC(f2285878) SHA1(e0d34161a1879975f51c12222cf366228170b0e3) ) | |
| 2065 | ROM_LOAD( "mds-gf3_8b b.bin", 0x0000, 0x2000, CRC(7ef68029) SHA1(a639e463fd0abfb1bff0dd17aa0c9f70a72ee139) ) | |
| 2066 | ROM_LOAD( "mds-gf3_8a b.bin", 0x2000, 0x2000, CRC(f2285878) SHA1(e0d34161a1879975f51c12222cf366228170b0e3) ) | |
| 2062 | 2067 | ROM_END |
| 2063 | 2068 | |
| 2064 | 2069 | ROM_START( machridr ) |
| r5490 | r5491 | |
| 2075 | 2080 | |
| 2076 | 2081 | ROM_START( machridrj ) |
| 2077 | 2082 | ROM_REGION( 0x10000,"maincpu",0 ) /* 6502 memory */ |
| 2078 | ROM_LOAD( "mds-mr4-1_1d_or_6d_a.bin", 0x8000, 0x2000, CRC(ab7e0594) SHA1(fc5982a93791608a20e5ec9e3a4b71d702bda354) ) | |
| 2079 | ROM_LOAD( "mds-mr4-1_1c_or_6c_a.bin", 0xa000, 0x2000, CRC(d4a341c3) SHA1(c799e40d0ebd1447032d8767fb2caeee6b33f31a) ) | |
| 2080 | ROM_LOAD( "mds-mr4-1_1b_or_6b_a.bin", 0xc000, 0x2000, CRC(cbdcfece) SHA1(91f3a0e1e91bdbb61721e9777009299f7e8efa96) ) | |
| 2081 | ROM_LOAD( "mds-mr4-1_1a_or_6a_a.bin", 0xe000, 0x2000, CRC(e5b1e350) SHA1(ab30f84597cbf470a02a2d083587cdc589a29a3c) ) | |
| 2083 | ROM_LOAD( "mds-mr4-1_1d or 6d a.bin", 0x8000, 0x2000, CRC(ab7e0594) SHA1(fc5982a93791608a20e5ec9e3a4b71d702bda354) ) | |
| 2084 | ROM_LOAD( "mds-mr4-1_1c or 6c a.bin", 0xa000, 0x2000, CRC(d4a341c3) SHA1(c799e40d0ebd1447032d8767fb2caeee6b33f31a) ) | |
| 2085 | ROM_LOAD( "mds-mr4-1_1b or 6b a.bin", 0xc000, 0x2000, CRC(cbdcfece) SHA1(91f3a0e1e91bdbb61721e9777009299f7e8efa96) ) | |
| 2086 | ROM_LOAD( "mds-mr4-1_1a or 6a a.bin", 0xe000, 0x2000, CRC(e5b1e350) SHA1(ab30f84597cbf470a02a2d083587cdc589a29a3c) ) | |
| 2082 | 2087 | |
| 2083 | 2088 | ROM_REGION( 0x4000,"gfx1" , 0) /* PPU memory */ |
| 2084 | ROM_LOAD( "mds-mr4-1_2b_or_8b_a.bin", 0x0000, 0x2000, CRC(59867e36) SHA1(2b5546aa9f140277d611d6d5516b1343e5e672a0) ) | |
| 2085 | ROM_LOAD( "mds-mr4-1_2a_or_8a_a.bin", 0x2000, 0x2000, CRC(ccfedc5a) SHA1(3d6321681fbe256d7c71037205d45d22fc264569) ) | |
| 2089 | ROM_LOAD( "mds-mr4-1_2b or 8b a.bin", 0x0000, 0x2000, CRC(59867e36) SHA1(2b5546aa9f140277d611d6d5516b1343e5e672a0) ) | |
| 2090 | ROM_LOAD( "mds-mr4-1_2a or 8a a.bin", 0x2000, 0x2000, CRC(ccfedc5a) SHA1(3d6321681fbe256d7c71037205d45d22fc264569) ) | |
| 2086 | 2091 | ROM_END |
| 2087 | 2092 | |
| 2088 | 2093 | ROM_START( smgolf ) |
| r5490 | r5491 | |
| 2123 | 2128 | |
| 2124 | 2129 | ROM_START( vspinbalj ) |
| 2125 | 2130 | ROM_REGION( 0x10000, "maincpu", 0 ) /* 6502 memory */ |
| 2126 | ROM_LOAD( "mds-pn3_6d_b.bin", 0x8000, 0x2000, CRC(fd50c42e) SHA1(4a3ea9e85b60caf8b6975fd2798bc59e86ec257f) ) | |
| 2127 | ROM_LOAD( "mds-pn3_6c_b.bin", 0xa000, 0x2000, CRC(59beb9e5) SHA1(682b31dfbdf1ee44fd5d5d63169ab35409e93546) ) | |
| 2128 | ROM_LOAD( "mds-pn3_6b_b.bin", 0xc000, 0x2000, CRC(ce7f47ce) SHA1(c548c1b94d3807b4968629c7fdce8aae3a61e6e0) ) | |
| 2129 | ROM_LOAD( "mds-pn3_6a_b.bin", 0xe000, 0x2000, CRC(5685e2ee) SHA1(a38fbf25c93dfc73658d3837b2b6397736e8d2f2) ) | |
| 2131 | ROM_LOAD( "mds-pn3_6d b.bin", 0x8000, 0x2000, CRC(fd50c42e) SHA1(4a3ea9e85b60caf8b6975fd2798bc59e86ec257f) ) | |
| 2132 | ROM_LOAD( "mds-pn3_6c b.bin", 0xa000, 0x2000, CRC(59beb9e5) SHA1(682b31dfbdf1ee44fd5d5d63169ab35409e93546) ) | |
| 2133 | ROM_LOAD( "mds-pn3_6b b.bin", 0xc000, 0x2000, CRC(ce7f47ce) SHA1(c548c1b94d3807b4968629c7fdce8aae3a61e6e0) ) | |
| 2134 | ROM_LOAD( "mds-pn3_6a b.bin", 0xe000, 0x2000, CRC(5685e2ee) SHA1(a38fbf25c93dfc73658d3837b2b6397736e8d2f2) ) | |
| 2130 | 2135 | |
| 2131 | 2136 | ROM_REGION( 0x4000,"gfx1", 0 ) /* PPU memory */ |
| 2132 | ROM_LOAD( "mds-pn3_8b_b.bin", 0x0000, 0x2000, CRC(1e3fec3e) SHA1(aef18cee358af202ec48c1c36986e42e134466b1) ) | |
| 2133 | ROM_LOAD( "mds-pn3_8a_b.bin", 0x2000, 0x2000, CRC(6f963a65) SHA1(af69564b51aa42ef0815c952e0d0d0d928651685) ) | |
| 2137 | ROM_LOAD( "mds-pn3_8b b.bin", 0x0000, 0x2000, CRC(1e3fec3e) SHA1(aef18cee358af202ec48c1c36986e42e134466b1) ) | |
| 2138 | ROM_LOAD( "mds-pn3_8a b.bin", 0x2000, 0x2000, CRC(6f963a65) SHA1(af69564b51aa42ef0815c952e0d0d0d928651685) ) | |
| 2134 | 2139 | ROM_END |
| 2135 | 2140 | |
| 2136 | 2141 | ROM_START( vsslalom ) |
| r5490 | r5491 | |
| 2156 | 2161 | ROM_LOAD( "soccer2a", 0x2000, 0x2000, CRC(7263613a) SHA1(aa5673b57833d1f32c2cb0230a809397ec6103b4) ) |
| 2157 | 2162 | ROM_END |
| 2158 | 2163 | |
| 2164 | ROM_START( vssoccerj ) | |
| 2165 | ROM_REGION( 0x10000,"maincpu", 0 ) /* 6502 memory */ | |
| 2166 | ROM_LOAD( "mds-sc4-2_1d or 6d a.bin", 0x8000, 0x2000, CRC(722fc5bc) SHA1(1ac06ade7412c476b834190034d94420863fe301) ) | |
| 2167 | ROM_LOAD( "mds-sc4-2_1c or 6c a.bin", 0xa000, 0x2000, CRC(6407cb08) SHA1(95e79633dfa4468e2a2af6d0a2cf5a23e4f23eb1) ) | |
| 2168 | ROM_LOAD( "mds-sc4-2_1b or 6b a.bin", 0xc000, 0x2000, CRC(d156b824) SHA1(2b7916805a0f09c10a334ba3c13481ce1da82be1) ) | |
| 2169 | ROM_LOAD( "mds-sc4-2_1a or 6a a.bin", 0xe000, 0x2000, CRC(2d75ca32) SHA1(9509bd984ca1ca6fce83874a6e13e75cdf91726b) ) | |
| 2170 | ||
| 2171 | ROM_REGION( 0x4000,"gfx1", 0 ) /* PPU memory */ | |
| 2172 | ROM_LOAD( "mds-sc4-2_2b or 8b a.bin", 0x0000, 0x2000, CRC(307b19ab) SHA1(b35ef4c2cf071db77cec1b4529b43a20cfcce172) ) | |
| 2173 | ROM_LOAD( "mds-sc4-2_2a or 8a a.bin", 0x2000, 0x2000, CRC(7263613a) SHA1(aa5673b57833d1f32c2cb0230a809397ec6103b4) ) | |
| 2174 | ROM_END | |
| 2175 | ||
| 2159 | 2176 | ROM_START( starlstr ) |
| 2160 | 2177 | ROM_REGION( 0x10000,"maincpu", 0 ) /* 6502 memory */ |
| 2161 | 2178 | ROM_LOAD( "sl_04.1d", 0x8000, 0x2000, CRC(4fd5b385) SHA1(a4cfdb9d74538a162825d9fbbed67e2a645bcc2c) ) |
| r5490 | r5491 | |
| 2242 | 2259 | |
| 2243 | 2260 | ROM_START( bnglngby ) |
| 2244 | 2261 | ROM_REGION( 0x10000,"maincpu", 0 ) /* 6502 memory */ |
| 2245 | ROM_LOAD( "mds-rb4-2_6d_b.bin", 0x8000, 0x2000, CRC(d152d8c2) SHA1(d127195be8219df1c6f7bdd86658ed26c658470e) ) | |
| 2246 | ROM_LOAD( "mds-rb4-2_6c_b.bin", 0xa000, 0x2000, CRC(c3383935) SHA1(8ed1e8ed36069e5e6f2f3c672aae5e1f3dabbdd0) ) | |
| 2247 | ROM_LOAD( "mds-rb4-2_6b_b.bin", 0xc000, 0x2000, CRC(e2a24af8) SHA1(89cca4188b859882487fe64776c1ca0173fee142) ) | |
| 2248 | ROM_LOAD( "mds-rb4-2_6a_b.bin", 0xe000, 0x2000, CRC(024ad874) SHA1(b02241c3d2ae90ccd5402410fa650741034a2f78) ) | |
| 2262 | ROM_LOAD( "mds-rb4-2_6d b.bin", 0x8000, 0x2000, CRC(d152d8c2) SHA1(d127195be8219df1c6f7bdd86658ed26c658470e) ) | |
| 2263 | ROM_LOAD( "mds-rb4-2_6c b.bin", 0xa000, 0x2000, CRC(c3383935) SHA1(8ed1e8ed36069e5e6f2f3c672aae5e1f3dabbdd0) ) | |
| 2264 | ROM_LOAD( "mds-rb4-2_6b b.bin", 0xc000, 0x2000, CRC(e2a24af8) SHA1(89cca4188b859882487fe64776c1ca0173fee142) ) | |
| 2265 | ROM_LOAD( "mds-rb4-2_6a b.bin", 0xe000, 0x2000, CRC(024ad874) SHA1(b02241c3d2ae90ccd5402410fa650741034a2f78) ) | |
| 2249 | 2266 | |
| 2250 | 2267 | ROM_REGION( 0x4000, "gfx1", 0 ) /* PPU memory */ |
| 2251 | ROM_LOAD( "mds-rb4-2_8b_b.bin", 0x0000, 0x2000, CRC(d3d946ab) SHA1(e2ed8af0cf6edb925c1ff47fccb5caabd0b8c09f) ) | |
| 2252 | ROM_LOAD( "mds-rb4-2_8a_b.bin", 0x2000, 0x2000, CRC(ca08126a) SHA1(48b315e3e90b19b2d74dcd88c734dcdf3539d6ca) ) | |
| 2268 | ROM_LOAD( "mds-rb4-2_8b b.bin", 0x0000, 0x2000, CRC(d3d946ab) SHA1(e2ed8af0cf6edb925c1ff47fccb5caabd0b8c09f) ) | |
| 2269 | ROM_LOAD( "mds-rb4-2_8a b.bin", 0x2000, 0x2000, CRC(ca08126a) SHA1(48b315e3e90b19b2d74dcd88c734dcdf3539d6ca) ) | |
| 2253 | 2270 | |
| 2254 | 2271 | ROM_REGION( 0x2000, "user1", 0 ) /* unknown */ |
| 2255 | ROM_LOAD( "mds-rb4-2_1a | |
| 2272 | ROM_LOAD( "mds-rb4-2_1a b.bin", 0x0000, 0x2000, CRC(b49939ad) SHA1(ebaab2864d9ff9876e9d2666746c4bab57e49ec3) ) /* Unknown, maps at 0xe000, maybe from another set, but we have other roms? */ | |
| 2256 | 2273 | ROM_END |
| 2257 | 2274 | |
| 2258 | 2275 | ROM_START( supxevs ) |
| r5490 | r5491 | |
| 2279 | 2296 | |
| 2280 | 2297 | ROM_START( balonfgt ) |
| 2281 | 2298 | ROM_REGION( 0x10000,"maincpu", 0 ) /* 6502 memory */ |
| 2282 | ROM_LOAD( "bf.1d", 0x08000, 0x02000, CRC(1248a6d6) SHA1(0f6c586e8e021a0710ec4e967750b55a74229d74) ) | |
| 2283 | ROM_LOAD( "bf.1c", 0x0a000, 0x02000, CRC(14af0e42) SHA1(ceb749eca2dfe81fddc6cb57e4aa87a4bfac0316) ) | |
| 2284 | ROM_LOAD( "bf.1b", 0x0c000, 0x02000, CRC(a420babf) SHA1(ab296a86132bb9103cbb107518b4ac9beb8b2e11) ) | |
| 2285 | ROM_LOAD( "bf.1a", 0x0e000, 0x02000, CRC(9c31f94d) SHA1(19bccd6b79423f495b0ee49dd3b219ffc4676470) ) | |
| 2299 | ROM_LOAD( "mds-bf4_1d a-3.bin", 0x08000, 0x02000, CRC(1248a6d6) SHA1(0f6c586e8e021a0710ec4e967750b55a74229d74) ) | |
| 2300 | ROM_LOAD( "mds-bf4_1c a-3.bin", 0x0a000, 0x02000, CRC(14af0e42) SHA1(ceb749eca2dfe81fddc6cb57e4aa87a4bfac0316) ) | |
| 2301 | ROM_LOAD( "mds-bf4_1b a-3.bin", 0x0c000, 0x02000, CRC(a420babf) SHA1(ab296a86132bb9103cbb107518b4ac9beb8b2e11) ) | |
| 2302 | ROM_LOAD( "mds-bf4_1a a-3.bin", 0x0e000, 0x02000, CRC(9c31f94d) SHA1(19bccd6b79423f495b0ee49dd3b219ffc4676470) ) | |
| 2286 | 2303 | |
| 2287 | 2304 | ROM_REGION( 0x4000,"gfx1", 0 ) /* PPU memory */ |
| 2288 | ROM_LOAD( "bf.2b", 0x0000, 0x2000, CRC(f27d9aa0) SHA1(429a1ad2a07947e4c4809495bfab55bf0f0e428f) ) | |
| 2289 | ROM_LOAD( "bf.2a", 0x2000, 0x2000, CRC(76e6bbf8) SHA1(a4cae3a129a787162050187453b1583c8735fb46) ) | |
| 2305 | ROM_LOAD( "mds-bf4_2b a-3.bin", 0x0000, 0x2000, CRC(f27d9aa0) SHA1(429a1ad2a07947e4c4809495bfab55bf0f0e428f) ) | |
| 2306 | ROM_LOAD( "mds-bf4_2a a-3.bin", 0x2000, 0x2000, CRC(76e6bbf8) SHA1(a4cae3a129a787162050187453b1583c8735fb46) ) | |
| 2290 | 2307 | |
| 2291 | 2308 | ROM_REGION( 0x10000,"sub",0 ) /* 6502 memory */ |
| 2292 | ROM_LOAD( "bf.6d", 0x08000, 0x02000, CRC(ef4ebff1) SHA1(17153ad44a402f05f7ddfe3ac364a0e4adb6f16b) ) | |
| 2293 | ROM_LOAD( "bf.6c", 0x0a000, 0x02000, CRC(14af0e42) SHA1(ceb749eca2dfe81fddc6cb57e4aa87a4bfac0316) ) | |
| 2294 | ROM_LOAD( "bf.6b", 0x0c000, 0x02000, CRC(a420babf) SHA1(ab296a86132bb9103cbb107518b4ac9beb8b2e11) ) | |
| 2295 | ROM_LOAD( "bf.6a", 0x0e000, 0x02000, CRC(3aa5c095) SHA1(3815016e5615c9327200150e0181357f16f3d636) ) | |
| 2309 | ROM_LOAD( "mds-bf4_6d a-3.bin", 0x08000, 0x02000, CRC(ef4ebff1) SHA1(17153ad44a402f05f7ddfe3ac364a0e4adb6f16b) ) | |
| 2310 | ROM_LOAD( "mds-bf4_6c a-3.bin", 0x0a000, 0x02000, CRC(14af0e42) SHA1(ceb749eca2dfe81fddc6cb57e4aa87a4bfac0316) ) | |
| 2311 | ROM_LOAD( "mds-bf4_6b a-3.bin", 0x0c000, 0x02000, CRC(a420babf) SHA1(ab296a86132bb9103cbb107518b4ac9beb8b2e11) ) | |
| 2312 | ROM_LOAD( "mds-bf4_6a a-3.bin", 0x0e000, 0x02000, CRC(3aa5c095) SHA1(3815016e5615c9327200150e0181357f16f3d636) ) | |
| 2296 | 2313 | |
| 2297 | 2314 | ROM_REGION( 0x4000,"gfx2", 0 ) /* PPU memory */ |
| 2298 | ROM_LOAD( "bf.8b", 0x0000, 0x2000, CRC(f27d9aa0) SHA1(429a1ad2a07947e4c4809495bfab55bf0f0e428f) ) | |
| 2299 | ROM_LOAD( "bf.8a", 0x2000, 0x2000, CRC(76e6bbf8) SHA1(a4cae3a129a787162050187453b1583c8735fb46) ) | |
| 2315 | ROM_LOAD( "mds-bf4_8b a-3.bin", 0x0000, 0x2000, CRC(f27d9aa0) SHA1(429a1ad2a07947e4c4809495bfab55bf0f0e428f) ) | |
| 2316 | ROM_LOAD( "mds-bf4_8a a-3.bin", 0x2000, 0x2000, CRC(76e6bbf8) SHA1(a4cae3a129a787162050187453b1583c8735fb46) ) | |
| 2300 | 2317 | ROM_END |
| 2301 | 2318 | |
| 2302 | 2319 | ROM_START( vsmahjng ) |
| r5490 | r5491 | |
| 2341 | 2358 | |
| 2342 | 2359 | ROM_START( vsbballj ) |
| 2343 | 2360 | ROM_REGION( 0x10000,"maincpu", 0 ) /* 6502 memory */ |
| 2344 | ROM_LOAD( "mds-ba_1d_a-1.bin", 0x08000, 0x02000, CRC(6dbc129b) SHA1(3e786632563364bf7ae13c7d25c522999f237009) ) | |
| 2345 | ROM_LOAD( "mds-ba_1c_a-1.bin", 0x0a000, 0x02000, CRC(2a684b3a) SHA1(316aa1051a5ff33e5a2369f9e984b34f637595ff) ) | |
| 2346 | ROM_LOAD( "mds-ba_1b_a-1.bin", 0x0c000, 0x02000, CRC(7ca0f715) SHA1(cf87e530c15c142efa48d6462870bbdf44002f45) ) | |
| 2347 | ROM_LOAD( "mds-ba_1a_a-1.bin", 0x0e000, 0x02000, CRC(926bb4fc) SHA1(b9b8611b90d73f39f65166010058e03d0aad5bb0) ) | |
| 2361 | ROM_LOAD( "mds-ba_1d a-1.bin", 0x08000, 0x02000, CRC(6dbc129b) SHA1(3e786632563364bf7ae13c7d25c522999f237009) ) | |
| 2362 | ROM_LOAD( "mds-ba_1c a-1.bin", 0x0a000, 0x02000, CRC(2a684b3a) SHA1(316aa1051a5ff33e5a2369f9e984b34f637595ff) ) | |
| 2363 | ROM_LOAD( "mds-ba_1b a-1.bin", 0x0c000, 0x02000, CRC(7ca0f715) SHA1(cf87e530c15c142efa48d6462870bbdf44002f45) ) | |
| 2364 | ROM_LOAD( "mds-ba_1a a-1.bin", 0x0e000, 0x02000, CRC(926bb4fc) SHA1(b9b8611b90d73f39f65166010058e03d0aad5bb0) ) | |
| 2348 | 2365 | |
| 2349 | 2366 | ROM_REGION( 0x4000,"gfx1", 0 ) /* PPU memory */ |
| 2350 | ROM_LOAD( "mds-ba_2b_a.bin", 0x0000, 0x2000, CRC(919147d0) SHA1(9fccdfccc2a3ec634e350880ded7053f36c377bc) ) | |
| 2351 | ROM_LOAD( "mds-ba_2a_a.bin", 0x2000, 0x2000, CRC(3f7edb00) SHA1(f59d24f15bdb8903187eabc1578dcb60443614ed) ) | |
| 2367 | ROM_LOAD( "mds-ba_2b a.bin", 0x0000, 0x2000, CRC(919147d0) SHA1(9fccdfccc2a3ec634e350880ded7053f36c377bc) ) | |
| 2368 | ROM_LOAD( "mds-ba_2a a.bin", 0x2000, 0x2000, CRC(3f7edb00) SHA1(f59d24f15bdb8903187eabc1578dcb60443614ed) ) | |
| 2352 | 2369 | |
| 2353 | 2370 | ROM_REGION( 0x10000,"sub",0 ) /* 6502 memory */ |
| 2354 | ROM_LOAD( "mds-ba_6d_a-1.bin", 0x08000, 0x02000, CRC(d534dca4) SHA1(6d454a2b5944f98c95d3a1bdeee8e8e52524cb21) ) | |
| 2355 | ROM_LOAD( "mds-ba_6c_a-1.bin", 0x0a000, 0x02000, CRC(73904bbc) SHA1(d32a0f659d628b98a0b06f846842432f83e79a07) ) | |
| 2356 | ROM_LOAD( "mds-ba_6b_a-1.bin", 0x0c000, 0x02000, CRC(7c130724) SHA1(99134180e158eaa4b260d1dacf9aa56a6d48ad73) ) | |
| 2357 | ROM_LOAD( "mds-ba_6a_a-1.bin", 0x0e000, 0x02000, CRC(d938080e) SHA1(35e00bd76364ec88fb3bb8908bc9171df9cd26de) ) | |
| 2371 | ROM_LOAD( "mds-ba_6d a-1.bin", 0x08000, 0x02000, CRC(d534dca4) SHA1(6d454a2b5944f98c95d3a1bdeee8e8e52524cb21) ) | |
| 2372 | ROM_LOAD( "mds-ba_6c a-1.bin", 0x0a000, 0x02000, CRC(73904bbc) SHA1(d32a0f659d628b98a0b06f846842432f83e79a07) ) | |
| 2373 | ROM_LOAD( "mds-ba_6b a-1.bin", 0x0c000, 0x02000, CRC(7c130724) SHA1(99134180e158eaa4b260d1dacf9aa56a6d48ad73) ) | |
| 2374 | ROM_LOAD( "mds-ba_6a a-1.bin", 0x0e000, 0x02000, CRC(d938080e) SHA1(35e00bd76364ec88fb3bb8908bc9171df9cd26de) ) | |
| 2358 | 2375 | |
| 2359 | 2376 | ROM_REGION( 0x4000,"gfx2", 0 ) /* PPU memory */ |
| 2360 | ROM_LOAD( "mds-ba_8b_a.bin", 0x0000, 0x2000, CRC(919147d0) SHA1(9fccdfccc2a3ec634e350880ded7053f36c377bc) ) | |
| 2361 | ROM_LOAD( "mds-ba_8a_a.bin", 0x2000, 0x2000, CRC(3f7edb00) SHA1(f59d24f15bdb8903187eabc1578dcb60443614ed) ) | |
| 2377 | ROM_LOAD( "mds-ba_8b a.bin", 0x0000, 0x2000, CRC(919147d0) SHA1(9fccdfccc2a3ec634e350880ded7053f36c377bc) ) | |
| 2378 | ROM_LOAD( "mds-ba_8a a.bin", 0x2000, 0x2000, CRC(3f7edb00) SHA1(f59d24f15bdb8903187eabc1578dcb60443614ed) ) | |
| 2362 | 2379 | ROM_END |
| 2363 | 2380 | |
| 2364 | 2381 | ROM_START( vsbballja ) |
| 2365 | 2382 | ROM_REGION( 0x10000,"maincpu", 0 ) /* 6502 memory */ |
| 2366 | ROM_LOAD( "mds-ba_1d_a-2.bin", 0x08000, 0x02000, CRC(f3820b70) SHA1(c50d0c2e34f646dd186ee0f2774e94add733f21d) ) | |
| 2367 | ROM_LOAD( "mds-ba_1c_a-2.bin", 0x0a000, 0x02000, CRC(39fbbf28) SHA1(9941defda548f2c51cf62f0ad62a041ee9a69c37) ) | |
| 2368 | ROM_LOAD( "mds-ba_1b_a-2.bin", 0x0c000, 0x02000, CRC(b1377b12) SHA1(9afca83f343b768de8ac51c5967f8825de9d7883) ) | |
| 2369 | ROM_LOAD( "mds-ba_1a_a-2.bin", 0x0e000, 0x02000, CRC(08fab347) SHA1(b6ecd1464c47afac922355b8d5e961892e58a0ed) ) | |
| 2383 | ROM_LOAD( "mds-ba_1d a-2.bin", 0x08000, 0x02000, CRC(f3820b70) SHA1(c50d0c2e34f646dd186ee0f2774e94add733f21d) ) | |
| 2384 | ROM_LOAD( "mds-ba_1c a-2.bin", 0x0a000, 0x02000, CRC(39fbbf28) SHA1(9941defda548f2c51cf62f0ad62a041ee9a69c37) ) | |
| 2385 | ROM_LOAD( "mds-ba_1b a-2.bin", 0x0c000, 0x02000, CRC(b1377b12) SHA1(9afca83f343b768de8ac51c5967f8825de9d7883) ) | |
| 2386 | ROM_LOAD( "mds-ba_1a a-2.bin", 0x0e000, 0x02000, CRC(08fab347) SHA1(b6ecd1464c47afac922355b8d5e961892e58a0ed) ) | |
| 2370 | 2387 | |
| 2371 | 2388 | ROM_REGION( 0x4000,"gfx1", 0 ) /* PPU memory */ |
| 2372 | ROM_LOAD( "mds-ba_2b_a.bin", 0x0000, 0x2000, CRC(919147d0) SHA1(9fccdfccc2a3ec634e350880ded7053f36c377bc) ) | |
| 2373 | ROM_LOAD( "mds-ba_2a_a.bin", 0x2000, 0x2000, CRC(3f7edb00) SHA1(f59d24f15bdb8903187eabc1578dcb60443614ed) ) | |
| 2389 | ROM_LOAD( "mds-ba_2b a.bin", 0x0000, 0x2000, CRC(919147d0) SHA1(9fccdfccc2a3ec634e350880ded7053f36c377bc) ) | |
| 2390 | ROM_LOAD( "mds-ba_2a a.bin", 0x2000, 0x2000, CRC(3f7edb00) SHA1(f59d24f15bdb8903187eabc1578dcb60443614ed) ) | |
| 2374 | 2391 | |
| 2375 | 2392 | ROM_REGION( 0x10000,"sub",0 ) /* 6502 memory */ |
| 2376 | ROM_LOAD( "mds-ba_6d_a-2.bin", 0x08000, 0x02000, CRC(c69561b0) SHA1(4234d88ffa957e7f70ef9da8c61db4e251c3bc66) ) | |
| 2377 | ROM_LOAD( "mds-ba_6c_a-2.bin", 0x0a000, 0x02000, CRC(17d1ca39) SHA1(2fa61a2c39495b72a22f001a72e4526e86d9544e) ) | |
| 2378 | ROM_LOAD( "mds-ba_6b_a-2.bin", 0x0c000, 0x02000, CRC(37481900) SHA1(dbab48d6c95e365ee4ab6ca4c61224b2c813e538) ) | |
| 2379 | ROM_LOAD( "mds-ba_6a_a-2.bin", 0x0e000, 0x02000, CRC(a44ffc4b) SHA1(ec65c3b52659dacfd2b7afe1e744e7bbd61fd6e1) ) | |
| 2393 | ROM_LOAD( "mds-ba_6d a-2.bin", 0x08000, 0x02000, CRC(c69561b0) SHA1(4234d88ffa957e7f70ef9da8c61db4e251c3bc66) ) | |
| 2394 | ROM_LOAD( "mds-ba_6c a-2.bin", 0x0a000, 0x02000, CRC(17d1ca39) SHA1(2fa61a2c39495b72a22f001a72e4526e86d9544e) ) | |
| 2395 | ROM_LOAD( "mds-ba_6b a-2.bin", 0x0c000, 0x02000, CRC(37481900) SHA1(dbab48d6c95e365ee4ab6ca4c61224b2c813e538) ) | |
| 2396 | ROM_LOAD( "mds-ba_6a a-2.bin", 0x0e000, 0x02000, CRC(a44ffc4b) SHA1(ec65c3b52659dacfd2b7afe1e744e7bbd61fd6e1) ) | |
| 2380 | 2397 | |
| 2381 | 2398 | ROM_REGION( 0x4000,"gfx2", 0 ) /* PPU memory */ |
| 2382 | ROM_LOAD( "mds-ba_8b_a.bin", 0x0000, 0x2000, CRC(919147d0) SHA1(9fccdfccc2a3ec634e350880ded7053f36c377bc) ) | |
| 2383 | ROM_LOAD( "mds-ba_8a_a.bin", 0x2000, 0x2000, CRC(3f7edb00) SHA1(f59d24f15bdb8903187eabc1578dcb60443614ed) ) | |
| 2399 | ROM_LOAD( "mds-ba_8b a.bin", 0x0000, 0x2000, CRC(919147d0) SHA1(9fccdfccc2a3ec634e350880ded7053f36c377bc) ) | |
| 2400 | ROM_LOAD( "mds-ba_8a a.bin", 0x2000, 0x2000, CRC(3f7edb00) SHA1(f59d24f15bdb8903187eabc1578dcb60443614ed) ) | |
| 2384 | 2401 | ROM_END |
| 2385 | 2402 | |
| 2386 | 2403 | ROM_START( vsbballjb ) |
| 2387 | 2404 | ROM_REGION( 0x10000,"maincpu", 0 ) /* 6502 memory */ |
| 2388 | ROM_LOAD( "mds-ba_1d_a-3.bin", 0x08000, 0x02000, CRC(e234d609) SHA1(a148d6b57fbc9d5f91737fa30c2df2c2b66df404) ) | |
| 2389 | ROM_LOAD( "mds-ba_1c_a-3.bin", 0x0a000, 0x02000, CRC(ca1a9591) SHA1(3544f244c59d3dab40c2745e84775b7c1defaf54) ) | |
| 2390 | ROM_LOAD( "mds-ba_1b_a-3.bin", 0x0c000, 0x02000, CRC(50e1f6cf) SHA1(8eb4ccb4817295084280ffd1ee5261eee02485c5) ) | |
| 2391 | ROM_LOAD( "mds-ba_1a_a-3.bin", 0x0e000, 0x02000, BAD_DUMP CRC(4312aa6d) SHA1(dfadbbb6b03a3c1b5cc56c6c60f5005d4b572d8d) ) //FIXED BITS (xxxxxxx1) | |
| 2405 | ROM_LOAD( "mds-ba_1d a-3.bin", 0x08000, 0x02000, CRC(e234d609) SHA1(a148d6b57fbc9d5f91737fa30c2df2c2b66df404) ) | |
| 2406 | ROM_LOAD( "mds-ba_1c a-3.bin", 0x0a000, 0x02000, CRC(ca1a9591) SHA1(3544f244c59d3dab40c2745e84775b7c1defaf54) ) | |
| 2407 | ROM_LOAD( "mds-ba_1b a-3.bin", 0x0c000, 0x02000, CRC(50e1f6cf) SHA1(8eb4ccb4817295084280ffd1ee5261eee02485c5) ) | |
| 2408 | ROM_LOAD( "mds-ba_1a a-3.bin", 0x0e000, 0x02000, CRC(f796df5b) SHA1(7e7e1c69b27f2fe41c509107abbe802877e3a92e) ) | |
| 2392 | 2409 | |
| 2393 | 2410 | ROM_REGION( 0x4000,"gfx1", 0 ) /* PPU memory */ |
| 2394 | ROM_LOAD( "mds-ba_2b_a.bin", 0x0000, 0x2000, CRC(919147d0) SHA1(9fccdfccc2a3ec634e350880ded7053f36c377bc) ) | |
| 2395 | ROM_LOAD( "mds-ba_2a_a.bin", 0x2000, 0x2000, CRC(3f7edb00) SHA1(f59d24f15bdb8903187eabc1578dcb60443614ed) ) | |
| 2411 | ROM_LOAD( "mds-ba_2b a.bin", 0x0000, 0x2000, CRC(919147d0) SHA1(9fccdfccc2a3ec634e350880ded7053f36c377bc) ) | |
| 2412 | ROM_LOAD( "mds-ba_2a a.bin", 0x2000, 0x2000, CRC(3f7edb00) SHA1(f59d24f15bdb8903187eabc1578dcb60443614ed) ) | |
| 2396 | 2413 | |
| 2397 | 2414 | ROM_REGION( 0x10000,"sub",0 ) /* 6502 memory */ |
| 2398 | ROM_LOAD( "mds-ba_6d_a-3.bin", 0x08000, 0x02000, CRC(6eb9e36e) SHA1(3877dee54a1a11417296150f7e7a1ae2c2847484) ) | |
| 2399 | ROM_LOAD( "mds-ba_6c_a-3.bin", 0x0a000, 0x02000, CRC(dca4dc75) SHA1(231819edb58caf96b4f5c56a44163fbb666dc67d) ) | |
| 2400 | ROM_LOAD( "mds-ba_6b_a-3.bin", 0x0c000, 0x02000, CRC(46cf6f84) SHA1(125af20e1e9066e4b92174ba0a7f59271ef57557) ) | |
| 2401 | ROM_LOAD( "mds-ba_6a_a-3.bin", 0x0e000, 0x02000, CRC(4cbc2cac) SHA1(90bed7694836075738d99aa8fe672dbffa7bbd6d) ) | |
| 2415 | ROM_LOAD( "mds-ba_6d a-3.bin", 0x08000, 0x02000, CRC(6eb9e36e) SHA1(3877dee54a1a11417296150f7e7a1ae2c2847484) ) | |
| 2416 | ROM_LOAD( "mds-ba_6c a-3.bin", 0x0a000, 0x02000, CRC(dca4dc75) SHA1(231819edb58caf96b4f5c56a44163fbb666dc67d) ) | |
| 2417 | ROM_LOAD( "mds-ba_6b a-3.bin", 0x0c000, 0x02000, CRC(46cf6f84) SHA1(125af20e1e9066e4b92174ba0a7f59271ef57557) ) | |
| 2418 | ROM_LOAD( "mds-ba_6a a-3.bin", 0x0e000, 0x02000, CRC(4cbc2cac) SHA1(90bed7694836075738d99aa8fe672dbffa7bbd6d) ) | |
| 2402 | 2419 | |
| 2403 | 2420 | ROM_REGION( 0x4000,"gfx2", 0 ) /* PPU memory */ |
| 2404 | ROM_LOAD( "mds-ba_8b_a.bin", 0x0000, 0x2000, CRC(919147d0) SHA1(9fccdfccc2a3ec634e350880ded7053f36c377bc) ) | |
| 2405 | ROM_LOAD( "mds-ba_8a_a.bin", 0x2000, 0x2000, CRC(3f7edb00) SHA1(f59d24f15bdb8903187eabc1578dcb60443614ed) ) | |
| 2421 | ROM_LOAD( "mds-ba_8b a.bin", 0x0000, 0x2000, CRC(919147d0) SHA1(9fccdfccc2a3ec634e350880ded7053f36c377bc) ) | |
| 2422 | ROM_LOAD( "mds-ba_8a a.bin", 0x2000, 0x2000, CRC(3f7edb00) SHA1(f59d24f15bdb8903187eabc1578dcb60443614ed) ) | |
| 2406 | 2423 | ROM_END |
| 2407 | 2424 | |
| 2408 | 2425 | ROM_START( vstennis ) |
| r5490 | r5491 | |
| 2429 | 2446 | |
| 2430 | 2447 | ROM_START( vstennisj ) |
| 2431 | 2448 | ROM_REGION( 0x10000,"maincpu", 0 ) /* 6502 memory */ |
| 2432 | ROM_LOAD( "mds-te_1d_a-3.bin", 0x08000, 0x2000, CRC(8d88fbe5) SHA1(1aa172d02d0d47325edf2f5ea4fc3c1c52f1efbe) ) | |
| 2433 | ROM_LOAD( "mds-te_1c_a-2.bin", 0x0a000, 0x2000, CRC(5f00c129) SHA1(e9954ebedc037be0a177286bbfc2ecdaa9223d85) ) | |
| 2434 | ROM_LOAD( "mds-te_1b_a-2.bin", 0x0c000, 0x2000, CRC(4b57910c) SHA1(1baeb31e0e9085ac6a9406a1802dfa47952d833e) ) | |
| 2435 | ROM_LOAD( "mds-te_1a_a-2.bin", 0x0e000, 0x2000, CRC(41097060) SHA1(aec457f7780dcd693dd93076cc185d5db38d5b93) ) | |
| 2449 | ROM_LOAD( "mds-te_1d a-3.bin", 0x08000, 0x2000, CRC(8d88fbe5) SHA1(1aa172d02d0d47325edf2f5ea4fc3c1c52f1efbe) ) | |
| 2450 | ROM_LOAD( "mds-te_1c a-2.bin", 0x0a000, 0x2000, CRC(5f00c129) SHA1(e9954ebedc037be0a177286bbfc2ecdaa9223d85) ) | |
| 2451 | ROM_LOAD( "mds-te_1b a-2.bin", 0x0c000, 0x2000, CRC(4b57910c) SHA1(1baeb31e0e9085ac6a9406a1802dfa47952d833e) ) | |
| 2452 | ROM_LOAD( "mds-te_1a a-2.bin", 0x0e000, 0x2000, CRC(41097060) SHA1(aec457f7780dcd693dd93076cc185d5db38d5b93) ) | |
| 2436 | 2453 | |
| 2437 | 2454 | ROM_REGION( 0x4000,"gfx1", 0 ) /* PPU memory */ |
| 2438 | ROM_LOAD( "mds-te_2b_a.bin", 0x0000, 0x2000, CRC(9de19c9c) SHA1(1cb65e423a6c2d2a56c67ad08ecf7e746551c322) ) | |
| 2439 | ROM_LOAD( "mds-te_2a_a.bin", 0x2000, 0x2000, CRC(67a5800e) SHA1(7bad1b486d9dac962fa8c87984038be4ac6b699b) ) | |
| 2455 | ROM_LOAD( "mds-te_2b a.bin", 0x0000, 0x2000, CRC(9de19c9c) SHA1(1cb65e423a6c2d2a56c67ad08ecf7e746551c322) ) | |
| 2456 | ROM_LOAD( "mds-te_2a a.bin", 0x2000, 0x2000, CRC(67a5800e) SHA1(7bad1b486d9dac962fa8c87984038be4ac6b699b) ) | |
| 2440 | 2457 | |
| 2441 | 2458 | ROM_REGION( 0x10000,"sub", 0 ) /* 6502 memory */ |
| 2442 | ROM_LOAD( "mds-te_6d_a-3.bin", 0x08000, 0x2000, CRC(b18fd769) SHA1(152413e065d1f5af0a70f9272a908dfbd162fe65) ) | |
| 2443 | ROM_LOAD( "mds-te_6c_a-2.bin", 0x0a000, 0x2000, CRC(315d8178) SHA1(2165c8a42004fb5b1e6b8904a59159cd4157538e) ) | |
| 2444 | ROM_LOAD( "mds-te_6b_a-2.bin", 0x0c000, 0x2000, CRC(18114f8d) SHA1(351894e0cc791028a43da0ec27d78d669cdeea27) ) | |
| 2445 | ROM_LOAD( "mds-te_6a_a-2.bin", 0x0e000, 0x2000, CRC(50a2de11) SHA1(3e22e50c9ae2521dc7f4416ac834cdbd3988369e) ) | |
| 2459 | ROM_LOAD( "mds-te_6d a-3.bin", 0x08000, 0x2000, CRC(b18fd769) SHA1(152413e065d1f5af0a70f9272a908dfbd162fe65) ) | |
| 2460 | ROM_LOAD( "mds-te_6c a-2.bin", 0x0a000, 0x2000, CRC(315d8178) SHA1(2165c8a42004fb5b1e6b8904a59159cd4157538e) ) | |
| 2461 | ROM_LOAD( "mds-te_6b a-2.bin", 0x0c000, 0x2000, CRC(18114f8d) SHA1(351894e0cc791028a43da0ec27d78d669cdeea27) ) | |
| 2462 | ROM_LOAD( "mds-te_6a a-2.bin", 0x0e000, 0x2000, CRC(50a2de11) SHA1(3e22e50c9ae2521dc7f4416ac834cdbd3988369e) ) | |
| 2446 | 2463 | |
| 2447 | 2464 | ROM_REGION( 0x4000,"gfx2" , 0) /* PPU memory */ |
| 2448 | ROM_LOAD( "mds-te_8b_a.bin", 0x0000, 0x2000, CRC(c81e9260) SHA1(6d4809a05364cc05485ee1add833428529af2be6) ) | |
| 2449 | ROM_LOAD( "mds-te_8a_a.bin", 0x2000, 0x2000, CRC(d91eb295) SHA1(6b69bcef5421a6bcde89a2d1f514853f9f7992c3) ) | |
| 2465 | ROM_LOAD( "mds-te_8b a.bin", 0x0000, 0x2000, CRC(c81e9260) SHA1(6d4809a05364cc05485ee1add833428529af2be6) ) | |
| 2466 | ROM_LOAD( "mds-te_8a a.bin", 0x2000, 0x2000, CRC(d91eb295) SHA1(6b69bcef5421a6bcde89a2d1f514853f9f7992c3) ) | |
| 2450 | 2467 | ROM_END |
| 2451 | 2468 | |
| 2452 | 2469 | ROM_START( wrecking ) |
| r5490 | r5491 | |
| 2473 | 2490 | |
| 2474 | 2491 | ROM_START( iceclmrj ) |
| 2475 | 2492 | ROM_REGION( 0x10000,"maincpu", 0 ) /* 6502 memory */ |
| 2476 | ROM_LOAD( "mds-ic4-4_1d_a.bin", 0x08000, 0x02000, CRC(94e3197d) SHA1(414156809a3fe2c072d8947a91708f3ed40008b2) ) | |
| 2477 | ROM_LOAD( "mds-ic4-4_1c_a.bin", 0x0a000, 0x02000, CRC(b253011e) SHA1(abc2c84e342d1f8e8d0dbb580370733ef4b38413) ) | |
| 2478 | ROM_LOAD( "mds-ic4-4_1b_or_6b_a-1.bin",0x0c000, 0x02000, CRC(f3795874) SHA1(f22f786960a27ab886a7fad7e312bdf28ffa5362) ) | |
| 2479 | ROM_LOAD( "mds-ic4-4_1a_a.bin", 0x0e000, 0x02000, CRC(094c246c) SHA1(82aba548706041c2de0cda02d21409fe8a09338c) ) | |
| 2493 | ROM_LOAD( "mds-ic4-4_1d a.bin", 0x08000, 0x02000, CRC(94e3197d) SHA1(414156809a3fe2c072d8947a91708f3ed40008b2) ) | |
| 2494 | ROM_LOAD( "mds-ic4-4_1c a.bin", 0x0a000, 0x02000, CRC(b253011e) SHA1(abc2c84e342d1f8e8d0dbb580370733ef4b38413) ) | |
| 2495 | ROM_LOAD( "mds-ic4-4_1b or 6b a-1.bin",0x0c000, 0x02000, CRC(f3795874) SHA1(f22f786960a27ab886a7fad7e312bdf28ffa5362) ) | |
| 2496 | ROM_LOAD( "mds-ic4-4_1a a.bin", 0x0e000, 0x02000, CRC(094c246c) SHA1(82aba548706041c2de0cda02d21409fe8a09338c) ) | |
| 2480 | 2497 | |
| 2481 | 2498 | ROM_REGION( 0x4000,"gfx1", 0 ) /* PPU memory */ |
| 2482 | ROM_LOAD( "mds-ic4-4_2b_a.bin", 0x0000, 0x2000, CRC(331460b4) SHA1(4cf94d711cdb5715d14f1ab3cadec245e0adfb1e) ) | |
| 2483 | ROM_LOAD( "mds-ic4-4_2a_a.bin", 0x2000, 0x2000, CRC(4ec44fb3) SHA1(676e0ab574dec08df562c6f278e8a9cc7c8afa41) ) | |
| 2499 | ROM_LOAD( "mds-ic4-4_2b a.bin", 0x0000, 0x2000, CRC(331460b4) SHA1(4cf94d711cdb5715d14f1ab3cadec245e0adfb1e) ) | |
| 2500 | ROM_LOAD( "mds-ic4-4_2a a.bin", 0x2000, 0x2000, CRC(4ec44fb3) SHA1(676e0ab574dec08df562c6f278e8a9cc7c8afa41) ) | |
| 2484 | 2501 | |
| 2485 | 2502 | ROM_REGION( 0x10000,"sub", 0 ) /* 6502 memory */ |
| 2486 | ROM_LOAD( "mds-ic4-4_6d_a.bin", 0x08000, 0x02000, CRC(94e3197d) SHA1(414156809a3fe2c072d8947a91708f3ed40008b2) ) | |
| 2487 | ROM_LOAD( "mds-ic4-4_6c_a.bin", 0x0a000, 0x02000, CRC(b253011e) SHA1(abc2c84e342d1f8e8d0dbb580370733ef4b38413) ) | |
| 2488 | ROM_LOAD( "mds-ic4-4_6b_a.bin", 0x0c000, 0x02000, CRC(2ee9c1f9) SHA1(71619cff6d41cf5a8f74a689e30c2a24020f7d06) ) | |
| 2489 | ROM_LOAD( "mds-ic4-4_6a_a.bin", 0x0e000, 0x02000, CRC(094c246c) SHA1(82aba548706041c2de0cda02d21409fe8a09338c) ) | |
| 2503 | ROM_LOAD( "mds-ic4-4_6d a.bin", 0x08000, 0x02000, CRC(94e3197d) SHA1(414156809a3fe2c072d8947a91708f3ed40008b2) ) | |
| 2504 | ROM_LOAD( "mds-ic4-4_6c a.bin", 0x0a000, 0x02000, CRC(b253011e) SHA1(abc2c84e342d1f8e8d0dbb580370733ef4b38413) ) | |
| 2505 | ROM_LOAD( "mds-ic4-4_6b a.bin", 0x0c000, 0x02000, CRC(2ee9c1f9) SHA1(71619cff6d41cf5a8f74a689e30c2a24020f7d06) ) | |
| 2506 | ROM_LOAD( "mds-ic4-4_6a a.bin", 0x0e000, 0x02000, CRC(094c246c) SHA1(82aba548706041c2de0cda02d21409fe8a09338c) ) | |
| 2490 | 2507 | |
| 2491 | 2508 | ROM_REGION( 0x4000,"gfx2", 0 ) /* PPU memory */ |
| 2492 | ROM_LOAD( "mds-ic4-4_8b_a.bin", 0x0000, 0x2000, CRC(331460b4) SHA1(4cf94d711cdb5715d14f1ab3cadec245e0adfb1e) ) | |
| 2493 | ROM_LOAD( "mds-ic4-4_8a_a.bin", 0x2000, 0x2000, CRC(4ec44fb3) SHA1(676e0ab574dec08df562c6f278e8a9cc7c8afa41) ) | |
| 2509 | ROM_LOAD( "mds-ic4-4_8b a.bin", 0x0000, 0x2000, CRC(331460b4) SHA1(4cf94d711cdb5715d14f1ab3cadec245e0adfb1e) ) | |
| 2510 | ROM_LOAD( "mds-ic4-4_8a a.bin", 0x2000, 0x2000, CRC(4ec44fb3) SHA1(676e0ab574dec08df562c6f278e8a9cc7c8afa41) ) | |
| 2494 | 2511 | ROM_END |
| 2495 | 2512 | |
| 2496 | 2513 | /******************************************************************************/ |
| r5490 | r5491 | |
| 2524 | 2541 | GAME( 1984, vspinbalj,vspinbal, vsnes, vspinblj, vsnormal, ROT0, "Nintendo", "Vs. Pinball (Japan)", 0 ) |
| 2525 | 2542 | GAME( 1986, vsslalom, 0, vsnes, vsslalom, vsslalom, ROT0, "Rare LTD.", "Vs. Slalom", GAME_IMPERFECT_GRAPHICS ) |
| 2526 | 2543 | GAME( 1985, vssoccer, 0, vsnes, vssoccer, excitebk, ROT0, "Nintendo", "Vs. Soccer", 0 ) |
| 2544 | GAME( 1985, vssoccerj,vssoccer, vsnes, vssoccer, bnglngby, ROT0, "Nintendo", "Vs. Soccer (Japan)", 0 ) | |
| 2527 | 2545 | GAME( 1986, vsgradus, 0, vsnes, vsgradus, vsgradus, ROT0, "Konami", "Vs. Gradius", 0 ) |
| 2528 | 2546 | GAME( 1987, platoon, 0, vsnes, platoon, platoon, ROT0, "Ocean Software Limited", "Vs. Platoon", GAME_WRONG_COLORS ) |
| 2529 | 2547 | GAME( 1987, vstetris, 0, vsnes, vstetris, vstetris, ROT0, "Academysoft-Elory", "Vs. Tetris" , GAME_IMPERFECT_COLORS ) |
| r5490 | r5491 | |
| 2542 | 2560 | GAME( 1984, balonfgt, 0, vsdual, balonfgt, balonfgt, ROT0, "Nintendo", "Vs. Balloon Fight", 0 ) |
| 2543 | 2561 | GAME( 1984, vsmahjng, 0, vsdual, vsmahjng, vstennis, ROT0, "Nintendo", "Vs. Mahjang (Japan)" , 0 ) |
| 2544 | 2562 | GAME( 1984, vsbball, 0, vsdual, vsbball, vsbball, ROT0, "Nintendo of America", "Vs. BaseBall", 0 ) |
| 2545 | GAME( 1984, vsbballj, vsbball, vsdual, vsbballj, vsbball, ROT0, "Nintendo of America", "Vs. BaseBall (Japan set 1)", 0 ) | |
| 2546 | GAME( 1984, vsbballja,vsbball, vsdual, vsbballj, vsbball, ROT0, "Nintendo of America", "Vs. BaseBall (Japan set 2)", 0 ) | |
| 2563 | GAME( 1984, vsbballj, vsbball, vsdual, vsbballj, vsbball, ROT0, "Nintendo", "Vs. BaseBall (Japan set 1)", 0 ) | |
| 2564 | GAME( 1984, vsbballja,vsbball, vsdual, vsbballj, vsbball, ROT0, "Nintendo", "Vs. BaseBall (Japan set 2)", 0 ) | |
| 2565 | GAME( 1984, vsbballjb,vsbball, vsdual, vsbballj, vsbball, ROT0, "Nintendo", "Vs. BaseBall (Japan set 3)", 0 ) | |
| 2547 | 2566 | GAME( 1984, iceclmrj, 0, vsdual, iceclmrj, iceclmrj, ROT0, "Nintendo", "Vs. Ice Climber Dual (Japan)" , 0 ) |
| 2548 | 2567 | |
| 2549 | 2568 | /* Not Working (bad dumps) */ |
| 2550 | 2569 | GAME( 1985, smgolfb, smgolf, vsnes, golf, machridr, ROT0, "Nintendo", "Vs. Stroke & Match Golf (Men Version, set 2)", GAME_NOT_WORKING ) |
| 2551 | GAME( 1984, vsbballjb,vsbball, vsdual, vsbballj, vsbball, ROT0, "Nintendo of America", "Vs. BaseBall (Japan set 3)", GAME_NOT_WORKING ) |
| r5490 | r5491 | |
|---|---|---|
| 209 | 209 | PORT_DIPNAME( 0x04, 0x04, "Test Mode" ) |
| 210 | 210 | PORT_DIPSETTING( 0x04, DEF_STR( No ) ) |
| 211 | 211 | PORT_DIPSETTING( 0x00, DEF_STR( Yes ) ) |
| 212 | PORT_DIPNAME( 0x08, 0x0 | |
| 212 | PORT_DIPNAME( 0x08, 0x00, "Music" ) | |
| 213 | 213 | PORT_DIPSETTING( 0x00, DEF_STR( No ) ) |
| 214 | 214 | PORT_DIPSETTING( 0x08, DEF_STR( Yes ) ) |
| 215 | 215 | PORT_DIPNAME( 0x30, 0x30, "Game Timing" ) |
| r5490 | r5491 | |
|---|---|---|
| 383 | 383 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 384 | 384 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 385 | 385 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 386 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 386 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 387 | 387 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 388 | 388 | |
| 389 | 389 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 448 | 448 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 449 | 449 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 450 | 450 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 451 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 451 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 452 | 452 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 453 | 453 | |
| 454 | 454 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 513 | 513 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 514 | 514 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 515 | 515 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 516 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 516 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 517 | 517 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 518 | 518 | |
| 519 | 519 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 578 | 578 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 579 | 579 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 580 | 580 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 581 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 581 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 582 | 582 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 583 | 583 | |
| 584 | 584 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 643 | 643 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 644 | 644 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 645 | 645 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 646 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 646 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 647 | 647 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 648 | 648 | |
| 649 | 649 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 710 | 710 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 711 | 711 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 712 | 712 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 713 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 713 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 714 | 714 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 715 | 715 | |
| 716 | 716 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 775 | 775 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 776 | 776 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 777 | 777 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 778 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 778 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 779 | 779 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 780 | 780 | |
| 781 | 781 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 841 | 841 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 842 | 842 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 843 | 843 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 844 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 844 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 845 | 845 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 846 | 846 | |
| 847 | 847 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 910 | 910 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 911 | 911 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 912 | 912 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 913 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 913 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 914 | 914 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 915 | 915 | |
| 916 | 916 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 979 | 979 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 980 | 980 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 981 | 981 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 982 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 982 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 983 | 983 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 984 | 984 | |
| 985 | 985 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1048 | 1048 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1049 | 1049 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1050 | 1050 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1051 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1051 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1052 | 1052 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 1053 | 1053 | |
| 1054 | 1054 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1117 | 1117 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1118 | 1118 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1119 | 1119 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1120 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1120 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1121 | 1121 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 1122 | 1122 | |
| 1123 | 1123 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1186 | 1186 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1187 | 1187 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1188 | 1188 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1189 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1189 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1190 | 1190 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 1191 | 1191 | |
| 1192 | 1192 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1255 | 1255 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1256 | 1256 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1257 | 1257 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1258 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1258 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1259 | 1259 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 1260 | 1260 | |
| 1261 | 1261 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1324 | 1324 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1325 | 1325 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1326 | 1326 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1327 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1327 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1328 | 1328 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 ) // SERVICE |
| 1329 | 1329 | |
| 1330 | 1330 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1388 | 1388 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1389 | 1389 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1390 | 1390 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1391 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1391 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1392 | 1392 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 1393 | 1393 | |
| 1394 | 1394 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
| 1455 | 1455 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER |
| 1456 | 1456 | PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST |
| 1457 | 1457 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) // COIN1 |
| 1458 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_ | |
| 1458 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR | |
| 1459 | 1459 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 ) // COIN2 |
| 1460 | 1460 | |
| 1461 | 1461 | PORT_INCLUDE( nbmjcontrols ) |
| r5490 | r5491 | |
|---|---|---|
| 219 | 219 | if (flip_screen_get(space->machine) != (~data & 0x01)) |
| 220 | 220 | { |
| 221 | 221 | flip_screen_set(space->machine, ~data & 0x01); |
| 222 | tilemap_mark_all_tiles_dirty | |
| 222 | tilemap_mark_all_tiles_dirty | |
| 223 | 223 | } |
| 224 | 224 | } |
| 225 | 225 |
| r5490 | r5491 | |
|---|---|---|
| 1428 | 1428 | * |
| 1429 | 1429 | *************************************/ |
| 1430 | 1430 | |
| 1431 | GAME( 1980, sasuke, 0, sasuke, sasuke, 0, ROT90, "SNK", "Sasuke vs. Commander", | |
| 1431 | GAME( 1980, sasuke, 0, sasuke, sasuke, 0, ROT90, "SNK", "Sasuke vs. Commander", GAME_IMPERFECT_SOUND ) | |
| 1432 | 1432 | GAME( 1981, satansat, 0, satansat, satansat, 0, ROT90, "SNK", "Satan of Saturn (set 1)", GAME_IMPERFECT_SOUND ) |
| 1433 | 1433 | GAME( 1981, satansata,satansat, satansat, satansat, 0, ROT90, "SNK", "Satan of Saturn (set 2)", GAME_IMPERFECT_SOUND ) |
| 1434 | 1434 | GAME( 1981, zarzon, satansat, satansat, satansat, 0, ROT90, "[SNK] (Taito America license)", "Zarzon", GAME_IMPERFECT_SOUND ) |
| 1435 | GAME( 1981, vanguard, 0, vanguard, vanguard, 0, ROT90, "SNK", "Vanguard (SNK)", 0 ) | |
| 1436 | GAME( 1981, vanguardc,vanguard, vanguard, vanguard, 0, ROT90, "SNK (Centuri license)", "Vanguard (Centuri)", 0 ) | |
| 1437 | GAME( 1981, vanguardj,vanguard, vanguard, vanguard, 0, ROT90, "SNK", "Vanguard (Japan)", 0 ) | |
| 1438 | GAME( 1981, fantasy, 0, fantasy, fantasy, 0, ROT90, "SNK", "Fantasy (World)", 0 ) | |
| 1439 | GAME( 1981, fantasyu, fantasy, fantasy, fantasyu, 0, ROT90, "[SNK] (Rock-Ola license)", "Fantasy (US)", 0 ) | |
| 1440 | GAME( 1981, fantasyj, fantasy, fantasy, fantasyu, 0, ROT90, "SNK", "Fantasy (Japan)", 0 ) | |
| 1435 | GAME( 1981, vanguard, 0, vanguard, vanguard, 0, ROT90, "SNK", "Vanguard (SNK)", GAME_IMPERFECT_SOUND ) | |
| 1436 | GAME( 1981, vanguardc,vanguard, vanguard, vanguard, 0, ROT90, "SNK (Centuri license)", "Vanguard (Centuri)", GAME_IMPERFECT_SOUND ) | |
| 1437 | GAME( 1981, vanguardj,vanguard, vanguard, vanguard, 0, ROT90, "SNK", "Vanguard (Japan)", GAME_IMPERFECT_SOUND ) | |
| 1438 | GAME( 1981, fantasy, 0, fantasy, fantasy, 0, ROT90, "SNK", "Fantasy (World)", GAME_IMPERFECT_SOUND ) | |
| 1439 | GAME( 1981, fantasyu, fantasy, fantasy, fantasyu, 0, ROT90, "[SNK] (Rock-Ola license)", "Fantasy (US)", GAME_IMPERFECT_SOUND ) | |
| 1440 | GAME( 1981, fantasyj, fantasy, fantasy, fantasyu, 0, ROT90, "SNK", "Fantasy (Japan)", GAME_IMPERFECT_SOUND ) | |
| 1441 | 1441 | GAME( 1982, pballoon, 0, pballoon, pballoon, 0, ROT90, "SNK", "Pioneer Balloon", 0 ) |
| 1442 | 1442 | GAME( 1982, nibbler, 0, nibbler, nibbler, 0, ROT90, "Rock-Ola", "Nibbler (set 1)", 0 ) |
| 1443 | 1443 | GAME( 1982, nibblera, nibbler, nibbler, nibblera, 0, ROT90, "Rock-Ola", "Nibbler (set 2)", 0 ) |
| r5490 | r5491 | |
|---|---|---|
| 17 | 17 | #include "includes/galaxian.h" |
| 18 | 18 | #include "includes/galaxold.h" |
| 19 | 19 | |
| 20 | ||
| 21 | 20 | static int noise_data = 0; |
| 22 | 21 | |
| 23 | ||
| 24 | static WRITE8_HANDLER( dambustr_noise_enable_w ) | |
| 22 | /* FIXME: Really needed? - Should be handled by either interface */ | |
| 23 | static WRITE8_DEVICE_HANDLER( dambustr_noise_enable_w ) | |
| 25 | 24 | { |
| 26 | 25 | if (data != noise_data) { |
| 27 | 26 | noise_data = data; |
| 28 | galaxian_noise_enable_w( | |
| 27 | galaxian_noise_enable_w(device, offset, data); | |
| 29 | 28 | } |
| 30 | 29 | } |
| 31 | 30 | |
| r5490 | r5491 | |
| 48 | 47 | |
| 49 | 48 | AM_RANGE(0xe000, 0xe000) AM_READ_PORT("IN0") |
| 50 | 49 | AM_RANGE(0xe002, 0xe003) AM_WRITE(galaxold_coin_counter_w) |
| 51 | AM_RANGE(0xe004, 0xe007) AM_WRITE(galaxian_lfo_freq_w) | |
| 50 | AM_RANGE(0xe004, 0xe007) AM_DEVWRITE(GAL_AUDIO, galaxian_lfo_freq_w) | |
| 52 | 51 | |
| 53 | 52 | AM_RANGE(0xe800, 0xefff) AM_READ_PORT("IN1") |
| 54 | AM_RANGE(0xe800, 0xe802) AM_WRITE(galaxian_background_enable_w) | |
| 55 | AM_RANGE(0xe803, 0xe803) AM_WRITE(dambustr_noise_enable_w) | |
| 56 | AM_RANGE(0xe804, 0xe804) AM_WRITE(galaxian_shoot_enable_w) // probably louder than normal shot | |
| 57 | AM_RANGE(0xe805, 0xe805) AM_WRITE(galaxian_shoot_enable_w) // normal shot (like Galaxian) | |
| 58 | AM_RANGE(0xe806, 0xe807) AM_WRITE(galaxian_vol_w) | |
| 53 | AM_RANGE(0xe800, 0xe802) AM_DEVWRITE(GAL_AUDIO, galaxian_background_enable_w) | |
| 54 | AM_RANGE(0xe803, 0xe803) AM_DEVWRITE(GAL_AUDIO, dambustr_noise_enable_w) | |
| 55 | AM_RANGE(0xe804, 0xe804) AM_DEVWRITE(GAL_AUDIO, galaxian_shoot_enable_w) // probably louder than normal shot | |
| 56 | AM_RANGE(0xe805, 0xe805) AM_DEVWRITE(GAL_AUDIO, galaxian_shoot_enable_w) // normal shot (like Galaxian) | |
| 57 | AM_RANGE(0xe806, 0xe807) AM_DEVWRITE(GAL_AUDIO, galaxian_vol_w) | |
| 59 | 58 | |
| 60 | 59 | AM_RANGE(0xf000, 0xf7ff) AM_READ_PORT("DSW") |
| 61 | 60 | AM_RANGE(0xf001, 0xf001) AM_WRITE(galaxold_nmi_enable_w) |
| r5490 | r5491 | |
| 63 | 62 | AM_RANGE(0xf006, 0xf006) AM_WRITE(galaxold_flip_screen_x_w) |
| 64 | 63 | AM_RANGE(0xf007, 0xf007) AM_WRITE(galaxold_flip_screen_y_w) |
| 65 | 64 | |
| 66 | AM_RANGE(0xf800, 0xf800) AM_WRITE(galaxian_pitch_w) | |
| 65 | AM_RANGE(0xf800, 0xf800) AM_DEVWRITE(GAL_AUDIO, galaxian_pitch_w) | |
| 67 | 66 | AM_RANGE(0xf800, 0xffff) AM_READ(watchdog_reset_r) |
| 68 | 67 | ADDRESS_MAP_END |
| 69 | 68 | |
| 70 | ||
| 71 | 69 | static INPUT_PORTS_START( dambustr ) |
| 72 | 70 | PORT_START("IN0") |
| 73 | 71 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN2 ) |
| r5490 | r5491 | |
| 206 | 204 | /* sound hardware */ |
| 207 | 205 | MDRV_SPEAKER_STANDARD_MONO("mono") |
| 208 | 206 | |
| 209 | /* sound hardware */ | |
| 210 | MDRV_SOUND_ADD("samples", SAMPLES, 0) | |
| 211 | MDRV_SOUND_CONFIG(galaxian_samples_interface) | |
| 212 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) | |
| 207 | MDRV_IMPORT_FROM(galaxian_audio) | |
| 213 | 208 | MACHINE_DRIVER_END |
| 214 | 209 | |
| 215 | 210 |
| r5490 | r5491 | |
|---|---|---|
| 320 | 320 | return mcu_sample_latch; |
| 321 | 321 | } |
| 322 | 322 | |
| 323 | INLINE DRIVER_INIT( | |
| 323 | INLINE DRIVER_INIT( | |
| 324 | 324 | { |
| 325 | 325 | const address_space *program = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM); |
| 326 | 326 | const address_space *io = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_IO); |
| r5490 | r5491 | |
| 339 | 339 | memory_install_write8_device_handler(sndio, dac, 0x82, 0x82, 0xff, 0, m72_snd_cpu_sample_w); |
| 340 | 340 | memory_install_read8_handler (sndio, 0x84, 0x84, 0xff, 0, m72_snd_cpu_sample_r); |
| 341 | 341 | |
| 342 | /* lohtb2 */ | |
| 342 | 343 | #if 0 |
| 343 | 344 | /* running the mcu at twice the speed, the following |
| 344 | 345 | * timeouts have to be modified. |
| r5490 | r5491 | |
| 727 | 728 | memory_install_write16_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_IO), 0xc0, 0xc1, 0, 0, nspirit_sample_trigger_w); |
| 728 | 729 | } |
| 729 | 730 | |
| 730 | static DRIVER_INIT( nspiritj ) | |
| 731 | { | |
| 732 | install_protection_handler(machine, nspirit_code,nspiritj_crc); | |
| 733 | ||
| 734 | memory_install_write16_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_IO), 0xc0, 0xc1, 0, 0, nspirit_sample_trigger_w); | |
| 735 | } | |
| 736 | ||
| 737 | 731 | static DRIVER_INIT( imgfight ) |
| 738 | 732 | { |
| 739 | 733 | install_protection_handler(machine, imgfight_code,imgfight_crc); |
| r5490 | r5491 | |
| 2580 | 2574 | ROM_LOAD16_BYTE( "nin-c-l3.rom", 0x60000, 0x10000, CRC(fd7408b8) SHA1(3cbe72835a561c50265a047f0f5cd62db48378fd) ) |
| 2581 | 2575 | ROM_RELOAD( 0xe0000, 0x10000 ) |
| 2582 | 2576 | |
| 2583 | ROM_REGION( 0x10000, "cpu2", 0 ) | |
| 2584 | ROM_LOAD( "nspirit_i8751.mcu", 0x00000, 0x10000, NO_DUMP ) // read protected | |
| 2577 | ROM_REGION( 0x10000, "mcu", 0 ) | |
| 2578 | ROM_LOAD( "nspirit_i8751.mcu", 0x00000, 0x01000, NO_DUMP ) // read protected | |
| 2585 | 2579 | |
| 2586 | 2580 | ROM_REGION( 0x080000, "gfx1", 0 ) |
| 2587 | 2581 | ROM_LOAD( "nin-r00.rom", 0x00000, 0x20000, CRC(5f61d30b) SHA1(7754697e43f6117fa604f50885b76014b1dc5760) ) /* sprites */ |
| r5490 | r5491 | |
| 2618 | 2612 | ROM_LOAD16_BYTE( "c-l3", 0x60000, 0x10000, CRC(e754a87a) SHA1(9951d972ed13a0415c827beff122bc7ddb078447) ) |
| 2619 | 2613 | ROM_RELOAD( 0xe0000, 0x10000 ) |
| 2620 | 2614 | |
| 2621 | ROM_REGION( 0x10000, "cpu2", 0 ) | |
| 2622 | ROM_LOAD( "nspiritj_i8751.mcu", 0x00000, 0x10000, NO_DUMP ) // read protected | |
| 2615 | ROM_REGION( 0x10000, "mcu", 0 ) | |
| 2616 | ROM_LOAD( "nin_c-pr.bin", 0x00000, 0x1000, CRC(802d440a) SHA1(45b844b831aa6d5d002e3960e17fb5a058b02a29) ) /* checksum correct for Japan version only (see test mode) */ | |
| 2623 | 2617 | |
| 2624 | 2618 | ROM_REGION( 0x080000, "gfx1", 0 ) |
| 2625 | 2619 | ROM_LOAD( "nin-r00.rom", 0x00000, 0x20000, CRC(5f61d30b) SHA1(7754697e43f6117fa604f50885b76014b1dc5760) ) /* sprites */ |
| r5490 | r5491 | |
| 3496 | 3490 | GAME( 1987, bchopper, 0, m72, bchopper, bchopper, ROT0, "Irem", "Battle Chopper", GAME_NO_COCKTAIL ) |
| 3497 | 3491 | GAME( 1987, mrheli, bchopper, m72, bchopper, mrheli, ROT0, "Irem", "Mr. HELI no Dai-Bouken", GAME_NO_COCKTAIL ) |
| 3498 | 3492 | GAME( 1988, nspirit, 0, m72, nspirit, nspirit, ROT0, "Irem", "Ninja Spirit", GAME_NO_COCKTAIL ) |
| 3499 | GAME( 1988, nspiritj, nspirit, m72, | |
| 3493 | GAME( 1988, nspiritj, nspirit, m72_8751, | |
| 3500 | 3494 | GAME( 1988, imgfight, 0, m72, imgfight, imgfight, ROT270, "Irem", "Image Fight (revision A, Japan)", 0 ) |
| 3501 | 3495 | GAME( 1988, imgfighto, imgfight, m72, imgfight, imgfight, ROT270, "Irem", "Image Fight (Japan)", 0 ) |
| 3502 | 3496 | GAME( 1989, loht, 0, m72, loht, loht, ROT0, "Irem", "Legend of Hero Tonma", GAME_NO_COCKTAIL ) |
| 3503 | 3497 | GAME( 1989, lohtj, loht, m72, loht, loht, ROT0, "Irem", "Legend of Hero Tonma (Japan)", GAME_NO_COCKTAIL ) |
| 3504 | 3498 | GAME( 1989, lohtb, loht, m72, loht, 0, ROT0, "Irem", "Legend of Hero Tonma (bootleg, set 1)", GAME_NOT_WORKING| GAME_NO_COCKTAIL ) |
| 3505 | GAME( 1989, lohtb2, loht, m72_8751, loht, | |
| 3499 | GAME( 1989, lohtb2, loht, m72_8751, loht, | |
| 3506 | 3500 | GAME( 1989, xmultipl, 0, xmultipl, xmultipl, xmultipl, ROT0, "Irem", "X Multiply (Japan)", GAME_NO_COCKTAIL ) |
| 3507 | 3501 | GAME( 1989, dbreed, 0, dbreed, dbreed, 0, ROT0, "Irem", "Dragon Breed (M81 pcb version)", GAME_NO_COCKTAIL ) |
| 3508 | 3502 | GAME( 1989, dbreedm72, dbreed, dbreed72, dbreed, dbreed72, ROT0, "Irem", "Dragon Breed (M72 pcb version)", GAME_NO_COCKTAIL ) |
| r5490 | r5491 | |
|---|---|---|
| 69 | 69 | |
| 70 | 70 | static READ8_HANDLER( amspdwy_wheel_1_r ) |
| 71 | 71 | { |
| 72 | return amspdwy_wheel_r(space->machine, | |
| 72 | return amspdwy_wheel_r(space->machine, 1); | |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | static READ8_DEVICE_HANDLER( amspdwy_sound_r ) |
| r5490 | r5491 | |
|---|---|---|
| 149 | 149 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start") |
| 150 | 150 | |
| 151 | 151 | PORT_START("IN1") /* 0xe001 */ |
| 152 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Card 1") PORT_CODE(KEYCODE_1_PAD) | |
| 153 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Card 2") PORT_CODE(KEYCODE_2_PAD) | |
| 154 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Card 3") PORT_CODE(KEYCODE_3_PAD) | |
| 155 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Card 4") PORT_CODE(KEYCODE_4_PAD) | |
| 156 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Card 5") PORT_CODE(KEYCODE_5_PAD) | |
| 157 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Card 6") PORT_CODE(KEYCODE_6_PAD) | |
| 158 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME(DEF_STR( Yes )) PORT_CODE(KEYCODE_Y) | |
| 159 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME(DEF_STR( No )) PORT_CODE(KEYCODE_N) | |
| 152 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) | |
| 153 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) | |
| 154 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_HANAFUDA_C ) | |
| 155 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) | |
| 156 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) | |
| 157 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) | |
| 158 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_HANAFUDA_YES ) | |
| 159 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_HANAFUDA_NO ) | |
| 160 | 160 | |
| 161 | 161 | PORT_START("IN2") /* 0xe002 */ |
| 162 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Data Clear" | |
| 162 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE3 ) PORT_NAME("Data Clear" | |
| 163 | 163 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_TILT ) |
| 164 | 164 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Medal In") PORT_CODE(KEYCODE_I) |
| 165 | 165 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Pay Out") PORT_CODE(KEYCODE_O) |
| r5490 | r5491 | |
|---|---|---|
| 58 | 58 | int tile = (mkiv_vram[count+1]|mkiv_vram[count]<<8) & 0x3ff; |
| 59 | 59 | int color = ((mkiv_vram[count]) & 0xe0) >> 5; |
| 60 | 60 | int flipx = ((mkiv_vram[count]) & 0x04); |
| 61 | | |
| 61 | int | |
| 62 | 62 | |
| 63 | drawgfx_opaque(bitmap,cliprect,gfx,tile,color,flipx, | |
| 63 | drawgfx_opaque(bitmap,cliprect,gfx,tile,color,flipx,flipy,x*8,y*8); | |
| 64 | 64 | count+=2; |
| 65 | 65 | } |
| 66 | 66 | } |
| r5490 | r5491 | |
| 264 | 264 | |
| 265 | 265 | |
| 266 | 266 | static ADDRESS_MAP_START( aristmk4_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| 267 | AM_RANGE(0x0000, 0x07ff) AM_RAM AM_BASE(&mkiv_vram) // video ram - chips U49 / U50 | |
| 268 | AM_RANGE(0x0800, 0x1fff) AM_RAM | |
| 269 | AM_RANGE(0x2000, 0x3fff) AM_ROM // graphics rom map | |
| 270 | AM_RANGE(0x4000, 0x4fff) AM_RAM // SRAM for meters - U74 | |
| 271 | // VIA | |
| 272 | AM_RANGE(0x5000, 0x500f) AM_MIRROR(0x0010) AM_DEVREADWRITE("via6522_0",via_r,via_w) | |
| 273 | // PIA | |
| 274 | AM_RANGE(0x5380, 0x5383) AM_READWRITE(mkiv_dataout_pia_r,mkiv_datain_pia_w) // RTC data - PORT A , mechanical meters - PORTB ?? | |
| 275 | AM_RANGE(0x5468, 0x5468) AM_READWRITE(test_r,test_w) // audit switch and cage door switch ??? | |
| 276 | AM_RANGE(0x6000, 0xffff) AM_ROM // game roms | |
| 267 | AM_RANGE(0x0000, 0x07ff) AM_RAM AM_BASE(&mkiv_vram) // video ram - chips U49 / U50 | |
| 268 | AM_RANGE(0x0800, 0x17ff) AM_RAM | |
| 269 | AM_RANGE(0x1800, 0x1800) AM_DEVWRITE("crtc", mc6845_address_w) | |
| 270 | AM_RANGE(0x1801, 0x1801) AM_DEVREADWRITE("crtc", mc6845_register_r, mc6845_register_w) | |
| 271 | AM_RANGE(0x2000, 0x3fff) AM_ROM // graphics rom map | |
| 272 | AM_RANGE(0x4000, 0x4fff) AM_RAM // SRAM for meters - U74 | |
| 273 | // VIA | |
| 274 | AM_RANGE(0x5000, 0x500f) AM_MIRROR(0x0010) AM_DEVREADWRITE("via6522_0",via_r,via_w) | |
| 275 | // PIA | |
| 276 | AM_RANGE(0x5380, 0x5383) AM_READWRITE(mkiv_dataout_pia_r,mkiv_datain_pia_w) // RTC data - PORT A , mechanical meters - PORTB ?? | |
| 277 | AM_RANGE(0x5468, 0x5468) AM_READWRITE(test_r,test_w) // audit switch and cage door switch ??? | |
| 278 | AM_RANGE(0x6000, 0xffff) AM_ROM // game roms | |
| 277 | 279 | ADDRESS_MAP_END |
| 278 | 280 | |
| 279 | 281 | static INPUT_PORTS_START(aristmk4) |
| r5490 | r5491 | |
| 649 | 651 | ROM_LOAD("u59.bin", 0x02000, 0x2000, CRC(84226547) SHA1(df9c2c01a7ac4d930c06a8c4863853ddb1a2adbe)) // sound and video rom |
| 650 | 652 | |
| 651 | 653 | /* 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 | ROM_LOAD("u87.bin", 0x06000, 0x2000, CRC(11b569f7) SHA1(270e1be6bf2a75400af174ceb65436bb6a381a62)) // game code | |
| 655 | ROM_LOAD("u86.bin", 0x08000, 0x8000, CRC(9714b080) SHA1(41c7d840f600ddff31794ebe949f89c89bd4f2ad)) // game code | |
| 654 | 656 | |
| 655 | 657 | /* SHAPE EPROMS */ |
| 656 | 658 | ROM_REGION(0xc000, "tile_gfx", 0 ) |
| r5490 | r5491 | |
|---|---|---|
| 112 | 112 | if (flip_screen_get(space->machine) != (data & 0x80)) |
| 113 | 113 | { |
| 114 | 114 | flip_screen_set(space->machine, data & 0x80); |
| 115 | tilemap_mark_all_tiles_dirty | |
| 115 | tilemap_mark_all_tiles_dirty | |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | /* other bits are used, but unknown */ |
| r5490 | r5491 | |
|---|---|---|
| 56 | 56 | #include "cpu/tms9900/tms9900.h" |
| 57 | 57 | #include "sound/ay8910.h" |
| 58 | 58 | #include "sound/dac.h" |
| 59 | #include "sound/5220 | |
| 59 | #include "sound/tms5220 | |
| 60 | 60 | #include "video/resnet.h" |
| 61 | 61 | #include "cpu/cop400/cop400.h" |
| 62 | 62 | |
| r5490 | r5491 | |
| 87 | 87 | #define VBEND (16) |
| 88 | 88 | #define VBSTART (224+16) |
| 89 | 89 | |
| 90 | UINT8 *cop_io; | |
| 90 | 91 | |
| 91 | ||
| 92 | 92 | /************************************* |
| 93 | 93 | * |
| 94 | 94 | * Type definitions |
| r5490 | r5491 | |
| 429 | 429 | * |
| 430 | 430 | *************************************/ |
| 431 | 431 | |
| 432 | static READ8_HANDLER( cop_io_r ) | |
| 433 | { | |
| 434 | // if (offset == 1) return mame_rand(space->machine) & 0x01; | |
| 435 | return 1; // cop_io[offset]; | |
| 436 | } | |
| 437 | ||
| 438 | static WRITE8_HANDLER( cop_io_w ) | |
| 439 | { | |
| 440 | cop_io[offset] = data; | |
| 441 | if (offset == 0) logerror("%02x ",data); | |
| 442 | } | |
| 443 | ||
| 432 | 444 | static READ8_HANDLER( protection_r ) |
| 433 | 445 | { |
| 434 | /* | |
| 435 | The code reads ($7002) ($7004) alternately | |
| 436 | The result must change at least once every 10 reads | |
| 437 | A read from ($34b0 + result) must == $01 | |
| 446 | // The code reads ($7002) ($7004) alternately | |
| 447 | // The result must change at least once every 10 reads | |
| 448 | // A read from ($34b0 + result) must == $01 | |
| 438 | 449 | |
| 439 | Valid values: | |
| 440 | $61 $67 | |
| 441 | $B7 $BF | |
| 442 | $DB | |
| 443 | $E1 | |
| 444 | $F3 $F7 $FD $FF | |
| 450 | // Valid values: | |
| 451 | // $61 $67 | |
| 452 | // $B7 $BF | |
| 453 | // $DB | |
| 454 | // $E1 | |
| 455 | // $F3 $F7 $FD $FF | |
| 445 | 456 | |
| 446 | Because they read alternately from different locations, | |
| 447 | it is trivial to bypass the protection. | |
| 448 | */ | |
| 449 | if (offset == 2) | |
| 450 | return 0xf3; | |
| 451 | else | |
| 452 | return 0xf7; | |
| 457 | // Because they read alternately from different locations, | |
| 458 | // it is trivial to bypass the protection. | |
| 459 | ||
| 460 | // cop write alternately $02 $01 $08 $04 in port $102 | |
| 461 | // cop write randomly fc (unfortunatly) but 61,67,b7,bf,db,e1,f3,fd,ff too and only these values | |
| 462 | ||
| 463 | // missing something | |
| 464 | if(cop_io[0] != 0xfc) return cop_io[0]; | |
| 465 | return 0xff; | |
| 453 | 466 | } |
| 454 | 467 | |
| 455 | 468 | |
| 456 | ||
| 457 | 469 | /************************************* |
| 458 | 470 | * |
| 459 | 471 | * Address maps |
| r5490 | r5491 | |
| 513 | 525 | AM_RANGE(0x008, 0x008) AM_DEVWRITE("ay", ay_enable_w) |
| 514 | 526 | AM_RANGE(0x009, 0x009) AM_DEVWRITE("tms", speech_enable_w) |
| 515 | 527 | AM_RANGE(0x00a, 0x00a) AM_WRITE(ballon_enable_w) |
| 528 | AM_RANGE(0x00b, 0x00f) AM_NOP | |
| 516 | 529 | ADDRESS_MAP_END |
| 517 | 530 | |
| 518 | 531 | |
| r5490 | r5491 | |
| 525 | 538 | AM_RANGE(0x0000, 0x003f) AM_RAM |
| 526 | 539 | ADDRESS_MAP_END |
| 527 | 540 | |
| 541 | static ADDRESS_MAP_START( looping_cop_io_map, ADDRESS_SPACE_IO, 8 ) | |
| 542 | AM_RANGE(0x0100, 0x0107) AM_READWRITE(cop_io_r, cop_io_w) | |
| 543 | ADDRESS_MAP_END | |
| 528 | 544 | |
| 529 | 545 | |
| 530 | 546 | /************************************* |
| r5490 | r5491 | |
| 602 | 618 | MDRV_CPU_ADD("mcu", COP420, COP_CLOCK) |
| 603 | 619 | MDRV_CPU_PROGRAM_MAP(looping_cop_map) |
| 604 | 620 | MDRV_CPU_DATA_MAP(looping_cop_data_map) |
| 621 | MDRV_CPU_IO_MAP(looping_cop_io_map) | |
| 605 | 622 | MDRV_CPU_CONFIG(looping_cop_intf) |
| 606 | 623 | |
| 607 | 624 | MDRV_MACHINE_START(looping) |
| r5490 | r5491 | |
| 718 | 735 | ROM_LOAD( "i-o.11a", 0x2800, 0x1000, CRC(61c74c79) SHA1(9f34d18a919446dd76857b851cea23fc1526f3c2) ) /* speech */ |
| 719 | 736 | |
| 720 | 737 | ROM_REGION( 0x1000, "mcu", 0 ) /* COP420 microcontroller code */ |
| 721 | ROM_LOAD( "cop.bin", 0x0000, 0x1000, BAD_DUMP CRC(bbfd26d5) SHA1(5f78b32b6e7c003841ef5b635084db2cdfebf0e1) ) // overdumped 4 times, and starting PC is not 0 | |
| 738 | /* | |
| 739 | ROM_LOAD( "cop.bin", 0x0000, 0x0400, BAD_DUMP CRC(bbfd26d5) SHA1(5f78b32b6e7c003841ef5b635084db2cdfebf0e1) ) // overdumped 4 times, and starting PC is not 0 | |
| 740 | ROM_CONTINUE( 0x0000, 0x0400) | |
| 741 | ROM_CONTINUE( 0x0000, 0x0400) | |
| 742 | ROM_CONTINUE( 0x0000, 0x0400) | |
| 743 | */ | |
| 744 | ROM_LOAD( "cop.bin", 0x00c2, 0x033e, CRC(bbfd26d5) SHA1(5f78b32b6e7c003841ef5b635084db2cdfebf0e1) ) // overdumped 4 times and shifted | |
| 745 | ROM_CONTINUE( 0x0000, 0x00c2) | |
| 746 | ROM_CONTINUE( 0x00c2, 0x033e) | |
| 747 | ROM_CONTINUE( 0x0000, 0x00c2) | |
| 748 | ROM_CONTINUE( 0x00c2, 0x033e) | |
| 749 | ROM_CONTINUE( 0x0000, 0x00c2) | |
| 750 | ROM_CONTINUE( 0x00c2, 0x033e) | |
| 751 | ROM_CONTINUE( 0x0000, 0x00c2) | |
| 722 | 752 | |
| 723 | 753 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 724 | 754 | ROM_LOAD( "log2.8a", 0x0000, 0x800, CRC(ef3284ac) SHA1(8719c9df8c972a56c306b3c707aaa53092ffa2d6) ) |
| r5490 | r5491 | |
| 738 | 768 | |
| 739 | 769 | ROM_REGION( 0x3800, "audiocpu", 0 ) /* TMS9980 code */ |
| 740 | 770 | ROM_LOAD( "i-o-v2.13c", 0x0000, 0x0800, CRC(09765ebe) SHA1(93b035c3a94f2f6d5e463256e26b600a4dd5d3ea) ) |
| 741 | ||
| 771 | | |
| 742 | 772 | ROM_LOAD( "i-o.11a", 0x2800, 0x1000, CRC(61c74c79) SHA1(9f34d18a919446dd76857b851cea23fc1526f3c2) ) |
| 743 | 773 | |
| 744 | 774 | ROM_REGION( 0x1000, "mcu", 0 ) /* COP420 microcontroller code */ |
| 745 | ROM_LOAD( "cop.bin", 0x0000, 0x1000, BAD_DUMP CRC(bbfd26d5) SHA1(5f78b32b6e7c003841ef5b635084db2cdfebf0e1) ) // overdumped 4 times, and starting PC is not 0 | |
| 775 | /* | |
| 776 | ROM_LOAD( "cop.bin", 0x0000, 0x0400, BAD_DUMP CRC(bbfd26d5) SHA1(5f78b32b6e7c003841ef5b635084db2cdfebf0e1) ) // overdumped 4 times, and starting PC is not 0 | |
| 777 | ROM_CONTINUE( 0x0000, 0x0400) | |
| 778 | ROM_CONTINUE( 0x0000, 0x0400) | |
| 779 | ROM_CONTINUE( 0x0000, 0x0400) | |
| 780 | */ | |
| 781 | ROM_LOAD( "cop.bin", 0x00c2, 0x033e, CRC(bbfd26d5) SHA1(5f78b32b6e7c003841ef5b635084db2cdfebf0e1) ) // overdumped 4 times and shifted | |
| 782 | ROM_CONTINUE( 0x0000, 0x00c2) | |
| 783 | ROM_CONTINUE( 0x00c2, 0x033e) | |
| 784 | ROM_CONTINUE( 0x0000, 0x00c2) | |
| 785 | ROM_CONTINUE( 0x00c2, 0x033e) | |
| 786 | ROM_CONTINUE( 0x0000, 0x00c2) | |
| 787 | ROM_CONTINUE( 0x00c2, 0x033e) | |
| 788 | ROM_CONTINUE( 0x0000, 0x00c2) | |
| 746 | 789 | |
| 747 | 790 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 748 | 791 | ROM_LOAD( "log2.8a", 0x0000, 0x800, CRC(ef3284ac) SHA1(8719c9df8c972a56c306b3c707aaa53092ffa2d6) ) |
| r5490 | r5491 | |
| 759 | 802 | ROM_LOAD( "cpu.9a", 0x4000, 0x2000, CRC(c7a50797) SHA1(60aa0a28ba970f12d0a0e538ae1c6807d105855c) ) |
| 760 | 803 | ROM_LOAD( "cpu.8a", 0x6000, 0x2000, CRC(a718c6f2) SHA1(19afa8c353829232cb96c27b87f13b43166ab6fc) ) |
| 761 | 804 | |
| 762 | ||
| 805 | | |
| 763 | 806 | ROM_LOAD( "snd.13c", 0x0000, 0x0800, CRC(21e9350c) SHA1(f30a180309e373a17569351944f5e7982c3b3f9d) ) |
| 764 | 807 | ROM_LOAD( "snd.13a", 0x0800, 0x1000, CRC(1de29f25) SHA1(535acb132266d6137b0610ee9a9b946459ae44af) ) |
| 765 | 808 | ROM_LOAD( "snd.11a", 0x2800, 0x1000, CRC(61c74c79) SHA1(9f34d18a919446dd76857b851cea23fc1526f3c2) ) |
| 766 | 809 | |
| 767 | 810 | ROM_REGION( 0x1000, "mcu", 0 ) /* COP420 microcontroller code */ |
| 768 | ROM_LOAD( "cop.bin", 0x0000, 0x1000, BAD_DUMP CRC(bbfd26d5) SHA1(5f78b32b6e7c003841ef5b635084db2cdfebf0e1) ) // overdumped 4 times, and starting PC is not 0 | |
| 811 | /* | |
| 812 | ROM_LOAD( "cop.bin", 0x0000, 0x0400, BAD_DUMP CRC(bbfd26d5) SHA1(5f78b32b6e7c003841ef5b635084db2cdfebf0e1) ) // overdumped 4 times, and starting PC is not 0 | |
| 813 | ROM_CONTINUE( 0x0000, 0x0400) | |
| 814 | ROM_CONTINUE( 0x0000, 0x0400) | |
| 815 | ROM_CONTINUE( 0x0000, 0x0400) | |
| 816 | */ | |
| 817 | ROM_LOAD( "cop.bin", 0x00c2, 0x033e, CRC(bbfd26d5) SHA1(5f78b32b6e7c003841ef5b635084db2cdfebf0e1) ) // overdumped 4 times and shifted | |
| 818 | ROM_CONTINUE( 0x0000, 0x00c2) | |
| 819 | ROM_CONTINUE( 0x00c2, 0x033e) | |
| 820 | ROM_CONTINUE( 0x0000, 0x00c2) | |
| 821 | ROM_CONTINUE( 0x00c2, 0x033e) | |
| 822 | ROM_CONTINUE( 0x0000, 0x00c2) | |
| 823 | ROM_CONTINUE( 0x00c2, 0x033e) | |
| 824 | ROM_CONTINUE( 0x0000, 0x00c2) | |
| 769 | 825 | |
| 770 | 826 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 771 | 827 | ROM_LOAD( "vid.8a", 0x0000, 0x800, CRC(459ccc55) SHA1(747f6789605b48be9e22f779f9e3f6c98ad4e594) ) |
| r5490 | r5491 | |
| 789 | 845 | UINT8 *rom = memory_region(machine, "maincpu"); |
| 790 | 846 | int i; |
| 791 | 847 | |
| 848 | cop_io = auto_alloc_array(machine, UINT8, 0x08); | |
| 849 | ||
| 792 | 850 | /* bitswap the TMS9995 ROMs */ |
| 793 | 851 | for (i = 0; i < length; i++) |
| 794 | 852 | rom[i] = BITSWAP8(rom[i], 0,1,2,3,4,5,6,7); |
| r5490 | r5491 | |
|---|---|---|
| 694 | 694 | * |
| 695 | 695 | *************************************/ |
| 696 | 696 | |
| 697 | GAME( 1979, kamikaze, 0, kamikaze, kamikaze, kamikaze, ROT270, "Leijac Corporation", "Kamikaze", 0 ) | |
| 698 | GAME( 1980, astinvad, kamikaze, kamikaze, astinvad, kamikaze, ROT270, "Stern", "Astro Invader", 0 ) | |
| 699 | GAME( 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. | |
| 700 | GAME( 1979, spcking2, 0, spcking2, spcking2, spcking2, ROT270, "Konami", "Space King 2", 0 ) | |
| 701 | GAME( 1980, spaceint, 0, spaceint, spaceint, 0, ROT90, "Shoei", "Space Intruder", GAME_WRONG_COLORS ) | |
| 702 | GAME( 1980, spaceintj,spaceint, spaceint, spaceinj, 0, ROT90, "Shoei", "Space Intruder (Japan)", GAME_WRONG_COLORS ) | |
| 697 | GAME( 1979, kamikaze, 0, kamikaze, kamikaze, kamikaze, ROT270, "Leijac Corporation", "Kamikaze", GAME_IMPERFECT_SOUND ) | |
| 698 | GAME( 1980, astinvad, kamikaze, kamikaze, astinvad, kamikaze, ROT270, "Stern", "Astro Invader", GAME_IMPERFECT_SOUND ) | |
| 699 | GAME( 19??, kosmokil, kamikaze, kamikaze, kamikaze, kamikaze, ROT270, "bootleg", "Kosmo Killer", GAME_IMPERFECT_SOUND ) // says >BEM< Mi Italy but it looks hacked in, dif revision of game tho. | |
| 700 | GAME( 1979, spcking2, 0, spcking2, spcking2, spcking2, ROT270, "Konami", "Space King 2", GAME_IMPERFECT_SOUND ) | |
| 701 | GAME( 1980, spaceint, 0, spaceint, spaceint, 0, ROT90, "Shoei", "Space Intruder", GAME_IMPERFECT_SOUND | GAME_WRONG_COLORS ) | |
| 702 | GAME( 1980, spaceintj,spaceint, spaceint, spaceinj, 0, ROT90, "Shoei", "Space Intruder (Japan)", GAME_IMPERFECT_SOUND | GAME_WRONG_COLORS ) |
| r5490 | r5491 | |
|---|---|---|
| 2415 | 2415 | ROM_LOAD16_BYTE( "063-c8.bin", 0xc00001, 0x200000, CRC(1ffc6dfa) SHA1(acea18aca76c072e0bac2a364fc96d49cfc86e77) ) /* Plane 2,3 */ |
| 2416 | 2416 | ROM_END |
| 2417 | 2417 | |
| 2418 | // This has corrupt text if used with the Japan bios due to the replacement of the s1 rom to contain the new logo | |
| 2419 | ROM_START( samsho2k ) | |
| 2420 | ROM_REGION( 0x200000, "maincpu", 0 ) | |
| 2421 | ROM_LOAD16_WORD_SWAP( "063-p1-kan.p1", 0x100000, 0x100000, CRC(147cc6d7) SHA1(8e22305f41a0688786ff55437c25948e6c8fda58) ) | |
| 2422 | ROM_CONTINUE( 0x000000, 0x100000 ) | |
| 2423 | // the roms below apply as patch over the main program (I haven't checked what they change, the game boots as the Korean version even with just the above program) | |
| 2424 | ROM_LOAD16_WORD_SWAP( "063-ep1-kan.ep1", 0x000000, 0x080000, CRC(fa32e2d8) SHA1(94f56759ec04ab3a1e557bc2dc51b92176b3c147) ) | |
| 2425 | ROM_LOAD16_WORD_SWAP( "063-ep2-kan.ep2", 0x080000, 0x080000, CRC(70b1a4d9) SHA1(387737e87a68d0ea4fd13693f1f30d3227a17c82) ) // this is exactly the same data anyway! | |
| 2426 | ||
| 2427 | NEO_SFIX_128K( "063-s1-kan.s1", CRC(ff08f80b) SHA1(240c6a1c52edebb49cc99ea08484c6a2d61ebf84) ) | |
| 2428 | ||
| 2429 | NEO_BIOS_AUDIO_128K( "063-m1.bin", CRC(56675098) SHA1(90429fc40d056d480d0e2bbefbc691d9fa260fc4) ) | |
| 2430 | ||
| 2431 | ROM_REGION( 0x700000, "ym", 0 ) | |
| 2432 | ROM_LOAD( "063-v1.bin", 0x000000, 0x200000, CRC(37703f91) SHA1(a373ebef4c33ba1d8340e826981a58769aada238) ) | |
| 2433 | ROM_LOAD( "063-v2.bin", 0x200000, 0x200000, CRC(0142bde8) SHA1(0be6c53acac44802bf70b6925452f70289a139d9) ) | |
| 2434 | ROM_LOAD( "063-v3.bin", 0x400000, 0x200000, CRC(d07fa5ca) SHA1(1da7f081f8b8fc86a91feacf900f573218d82676) ) | |
| 2435 | ROM_LOAD( "063-v4.bin", 0x600000, 0x100000, CRC(24aab4bb) SHA1(10ee4c5b3579865b93dcc1e4079963276aa700a6) ) | |
| 2436 | ||
| 2437 | NO_DELTAT_REGION | |
| 2438 | ||
| 2439 | ROM_REGION( 0x1000000, "sprites", 0 ) | |
| 2440 | ROM_LOAD16_BYTE( "063-c1.bin", 0x000000, 0x200000, CRC(86cd307c) SHA1(0d04336f7c436d74638d8c1cd8651faf436a6bec) ) /* Plane 0,1 */ | |
| 2441 | ROM_LOAD16_BYTE( "063-c2.bin", 0x000001, 0x200000, CRC(cdfcc4ca) SHA1(179dc81432424d68cefedd20cc1c4b2a95deb891) ) /* Plane 2,3 */ | |
| 2442 | ROM_LOAD16_BYTE( "063-c3.bin", 0x400000, 0x200000, CRC(7a63ccc7) SHA1(49d97c543bc2860d493a353ab0d059088c6fbd21) ) /* Plane 0,1 */ | |
| 2443 | ROM_LOAD16_BYTE( "063-c4.bin", 0x400001, 0x200000, CRC(751025ce) SHA1(e1bbaa7cd67fd04e4aab7f7ea77f63ae1cbc90d0) ) /* Plane 2,3 */ | |
| 2444 | ROM_LOAD16_BYTE( "063-c5.bin", 0x800000, 0x200000, CRC(20d3a475) SHA1(28da44a136bd14c73c62c147c3f6e6bcfa1066de) ) /* Plane 0,1 */ | |
| 2445 | ROM_LOAD16_BYTE( "063-c6.bin", 0x800001, 0x200000, CRC(ae4c0a88) SHA1(cc8a7d11daa3821f83a6fd0942534706f939e576) ) /* Plane 2,3 */ | |
| 2446 | ROM_LOAD16_BYTE( "063-c7.bin", 0xc00000, 0x200000, CRC(2df3cbcf) SHA1(e54f9022359963711451c2025825b862d36c6975) ) /* Plane 0,1 */ | |
| 2447 | ROM_LOAD16_BYTE( "063-c8.bin", 0xc00001, 0x200000, CRC(1ffc6dfa) SHA1(acea18aca76c072e0bac2a364fc96d49cfc86e77) ) /* Plane 2,3 */ | |
| 2448 | ROM_END | |
| 2449 | ||
| 2418 | 2450 | ROM_START( wh2j ) /* MVS VERSION */ |
| 2419 | 2451 | ROM_REGION( 0x200000, "maincpu", 0 ) |
| 2420 | 2452 | ROM_LOAD16_WORD_SWAP( "064-p1.bin", 0x100000, 0x100000, CRC(385a2e86) SHA1(cfde4a1aeae038a3d6ca9946065624f097682d3d) ) |
| r5490 | r5491 | |
| 7751 | 7783 | GAME( 1995, savagere, neogeo, neogeo, neogeo, neogeo, ROT0, "SNK", "Savage Reign / Fu'un Mokushiroku - kakutou sousei", 0 ) |
| 7752 | 7784 | GAME( 1994, ssideki2, neogeo, neogeo, neogeo, neogeo, ROT0, "SNK", "Super Sidekicks 2 - The World Championship / Tokuten Ou 2 - real fight football", 0 ) |
| 7753 | 7785 | GAME( 1994, samsho2, neogeo, neogeo, neogeo, neogeo, ROT0, "SNK", "Samurai Shodown II / Shin Samurai Spirits - Haohmaru jigokuhen", 0 ) |
| 7754 | / | |
| 7786 | GAME( 1994, samsho2k, samsho2, neogeo, neogeo, neogeo, ROT0, "SNK", "Saulabi Spirits / | |
| 7755 | 7787 | GAME( 1995, fatfury3, neogeo, neogeo, neogeo, neogeo, ROT0, "SNK", "Fatal Fury 3 - Road to the Final Victory / Garou Densetsu 3 - haruka-naru tatakai", 0 ) |
| 7756 | 7788 | GAME( 1995, ssideki3, neogeo, neogeo, neogeo, neogeo, ROT0, "SNK", "Super Sidekicks 3 - The Next Glory / Tokuten Ou 3 - eikoue no michi", 0 ) |
| 7757 | 7789 | GAME( 1995, kof95, neogeo, neogeo, neogeo, neogeo, ROT0, "SNK", "The King of Fighters '95 (set 1)", 0 ) |
| r5490 | r5491 | |
|---|---|---|
| 286 | 286 | UINT8 pos; |
| 287 | 287 | int delta; |
| 288 | 288 | |
| 289 | pos = input_port_read(space->machine, ttnames[turntable_select]); | |
| 289 | pos = input_port_read_safe(space->machine, ttnames[turntable_select], 0); | |
| 290 | 290 | delta = pos - turntable_last_pos[turntable_select]; |
| 291 | 291 | if (delta < -128) |
| 292 | 292 | delta += 256; |
| r5490 | r5491 | |
| 1080 | 1080 | |
| 1081 | 1081 | //--------- Pop'n Music |
| 1082 | 1082 | |
| 1083 | #ifdef UNUSED_DEFINITION | |
| 1084 | 1083 | static INPUT_PORTS_START( popnmusic_btn ) |
| 1085 | 1084 | PORT_START("BTN1") |
| 1086 | 1085 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) |
| r5490 | r5491 | |
| 1114 | 1113 | //PORT_START("TT2") /* turn table 2P */ |
| 1115 | 1114 | //PORT_BIT( 0xff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(30) PORT_KEYDELTA(15) PORT_PLAYER(2) |
| 1116 | 1115 | INPUT_PORTS_END |
| 1117 | #endif | |
| 1118 | 1116 | |
| 1119 | 1117 | #define POPN_DSW1_COINAGE_OLD \ |
| 1120 | 1118 | PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:8,7,6,5") \ |
| r5490 | r5491 | |
| 1204 | 1202 | PORT_DIPNAME( 0x20, 0x20, "Normal Mode Jamming" ) PORT_DIPLOCATION("SW1:3") \ |
| 1205 | 1203 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) \ |
| 1206 | 1204 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) \ |
| 1207 | PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x10, "SW1:4" ) \ | |
| 1208 | 1205 | POPN_DSW1_COINAGE_NEW |
| 1209 | 1206 | |
| 1210 | 1207 | #define POPN1_DSW2 \ |
| r5490 | r5491 | |
| 1266 | 1263 | INPUT_PORTS_END |
| 1267 | 1264 | #endif |
| 1268 | 1265 | |
| 1269 | #ifdef UNUSED_DEFINITION | |
| 1270 | 1266 | static INPUT_PORTS_START( popnmusic ) /* popn2 and popn3 */ |
| 1271 | 1267 | PORT_INCLUDE( popnmusic_btn ) |
| 1272 | POPN_DSW1 | |
| 1273 | POPN_DSW2 | |
| 1274 | POPN_DSW3 | |
| 1268 | POPN2_DSW1 | |
| 1269 | POPN2_DSW2 | |
| 1270 | POPN2_DSW3 | |
| 1275 | 1271 | INPUT_PORTS_END |
| 1276 | #endif | |
| 1277 | 1272 | |
| 1278 | 1273 | //--------- Pop'n Stage |
| 1279 | 1274 | |
| r5490 | r5491 | |
| 1732 | 1727 | ROM_LOAD16_BYTE( "993jaa10.27d", 0x100001, 0x80000, CRC(9D113A2D) SHA1(eee94a5f7015c49aa630b8df0c8e9d137d238811) ) |
| 1733 | 1728 | |
| 1734 | 1729 | DISK_REGION( "ide" ) /* IDE HARD DRIVE */ |
| 1735 | DISK_IMAGE( "993 | |
| 1730 | DISK_IMAGE( "993hdda01 | |
| 1736 | 1731 | // this image has not been verified |
| 1737 | 1732 | // DISK_IMAGE( "993jaa11", 0, MD5(e26eb62d7cf3357585f5066da6063143) ) /* ver 1.00 JA */ |
| 1738 | 1733 | |
| r5490 | r5491 | |
| 1904 | 1899 | ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */ |
| 1905 | 1900 | ROM_END |
| 1906 | 1901 | |
| 1902 | ROM_START( popn2 ) | |
| 1903 | ROM_REGION( 0x100000, "maincpu", 0 ) /* MC68EC020FG25 MPU */ | |
| 1904 | ROM_LOAD16_BYTE( "831jaa01.8a", 0x000000, 0x80000, CRC(D6214CAC) SHA1(18e74c81710228c91ab9eb554b63d9bd69b93ec8) ) | |
| 1905 | ROM_LOAD16_BYTE( "831jaa02.6a", 0x000001, 0x80000, CRC(AABE8689) SHA1(d51d277e9b5d0233d1c6bdfec40c32587f84b31a) ) | |
| 1906 | ||
| 1907 | ROM_REGION( 0x200000, "gfx1", 0) /* SPRITE */ | |
| 1908 | ROM_LOAD16_BYTE( "831jaa03.19a", 0x000000, 0x80000, CRC(A07AEB72) SHA1(4d957c15d1b989e955249c34b0aa5679fb3e4fbf) ) | |
| 1909 | ROM_LOAD16_BYTE( "831jaa04.20a", 0x000001, 0x80000, CRC(9277D1D2) SHA1(6946845973f0ce15db383032343f6852873698eb) ) | |
| 1910 | ROM_LOAD16_BYTE( "831jaa05.22a", 0x100000, 0x80000, CRC(F3B63033) SHA1(c3c6de0d8c749ddf4926040637f03b11c2a21b99) ) | |
| 1911 | ROM_LOAD16_BYTE( "831jaa06.24a", 0x100001, 0x80000, CRC(43564E9C) SHA1(54b792b8aaf22876f9eb806e31b86af4b354bcf6) ) | |
| 1912 | ||
| 1913 | ROM_REGION( 0x200000, "gfx2", 0 ) /* TILEMAP */ | |
| 1914 | ROM_LOAD16_BYTE( "831jaa07.22d", 0x000000, 0x80000, CRC(25AF75F5) SHA1(c150514a3bc6f3f88a5b98ef0db5440e2c5fec2d) ) | |
| 1915 | ROM_LOAD16_BYTE( "831jaa08.23d", 0x000001, 0x80000, CRC(3B1B5629) SHA1(95b6bed5c5218a3bfb10996cd9af31bd7e08c1c4) ) | |
| 1916 | ROM_LOAD16_BYTE( "831jaa09.25d", 0x100000, 0x80000, CRC(AE7838D2) SHA1(4f8a6793065c6c1eb08161f65b1d6246987bf47e) ) | |
| 1917 | ROM_LOAD16_BYTE( "831jaa10.27d", 0x100001, 0x80000, CRC(85173CB6) SHA1(bc4d86bf4654a9a0a58e624f77090854950f3993) ) | |
| 1918 | ||
| 1919 | DISK_REGION( "ide" ) /* IDE HARD DRIVE */ | |
| 1920 | DISK_IMAGE( "831jhdda01", 0, SHA1(24734177a517898ad5797ffd6974a45b073efc23) ) | |
| 1921 | ||
| 1922 | ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */ | |
| 1923 | ROM_END | |
| 1924 | ||
| 1907 | 1925 | #if 0 |
| 1908 | 1926 | // for reference, these sets have not been verified |
| 1909 | 1927 | ROM_START( bm3rdmxb ) |
| r5490 | r5491 | |
| 1952 | 1970 | ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */ |
| 1953 | 1971 | ROM_END |
| 1954 | 1972 | |
| 1955 | ROM_START( popn2 ) | |
| 1956 | ROM_REGION( 0x100000, "maincpu", 0 ) /* MC68EC020FG25 MPU */ | |
| 1957 | ROM_LOAD16_BYTE( "831jaa01.8a", 0x000000, 0x80000, CRC(D6214CAC) SHA1(d51d277e9b5d0233d1c6bdfec40c32587f84b31a) ) | |
| 1958 | ROM_LOAD16_BYTE( "831jaa02.6a", 0x000001, 0x80000, CRC(AABE8689) SHA1(18e74c81710228c91ab9eb554b63d9bd69b93ec8) ) | |
| 1959 | ||
| 1960 | ROM_REGION( 0x200000, "gfx1", 0) /* SPRITE */ | |
| 1961 | ROM_LOAD16_BYTE( "831jaa03.19a", 0x000000, 0x80000, CRC(A07AEB72) SHA1(4d957c15d1b989e955249c34b0aa5679fb3e4fbf) ) | |
| 1962 | ROM_LOAD16_BYTE( "831jaa04.20a", 0x000001, 0x80000, CRC(9277D1D2) SHA1(6946845973f0ce15db383032343f6852873698eb) ) | |
| 1963 | ROM_LOAD16_BYTE( "831jaa05.22a", 0x100000, 0x80000, CRC(F3B63033) SHA1(c3c6de0d8c749ddf4926040637f03b11c2a21b99) ) | |
| 1964 | ROM_LOAD16_BYTE( "831jaa06.24a", 0x100001, 0x80000, CRC(43564E9C) SHA1(54b792b8aaf22876f9eb806e31b86af4b354bcf6) ) | |
| 1965 | ||
| 1966 | ROM_REGION( 0x200000, "gfx2", 0 ) /* TILEMAP */ | |
| 1967 | ROM_LOAD16_BYTE( "831jaa07.22d", 0x000000, 0x80000, CRC(25AF75F5) SHA1(c150514a3bc6f3f88a5b98ef0db5440e2c5fec2d) ) | |
| 1968 | ROM_LOAD16_BYTE( "831jaa08.23d", 0x000001, 0x80000, CRC(3B1B5629) SHA1(95b6bed5c5218a3bfb10996cd9af31bd7e08c1c4) ) | |
| 1969 | ROM_LOAD16_BYTE( "831jaa09.25d", 0x100000, 0x80000, CRC(AE7838D2) SHA1(4f8a6793065c6c1eb08161f65b1d6246987bf47e) ) | |
| 1970 | ROM_LOAD16_BYTE( "831jaa10.27d", 0x100001, 0x80000, CRC(85173CB6) SHA1(bc4d86bf4654a9a0a58e624f77090854950f3993) ) | |
| 1971 | ||
| 1972 | DISK_REGION( "ide" ) /* IDE HARD DRIVE */ | |
| 1973 | DISK_IMAGE( "831jaa11", 0, NO_DUMP ) | |
| 1974 | ||
| 1975 | ROM_REGION( 0x1000000, "shared", ROMREGION_ERASE00 ) /* K054539 RAM */ | |
| 1976 | ROM_END | |
| 1977 | ||
| 1978 | 1973 | ROM_START( popn3 ) |
| 1979 | 1974 | ROM_REGION( 0x100000, "maincpu", 0 ) /* MC68EC020FG25 MPU */ |
| 1980 | 1975 | ROM_LOAD16_BYTE( "980jaa01.6a", 0x000000, 0x80000, CRC(FFD37D2C) SHA1(2a62ccfdb77a10356dbf08d6daa84faa3ff5d93a) ) |
| r5490 | r5491 | |
| 2249 | 2244 | GAME( 1999, bm5thmix, 0, djmain, bm5thmix, bm5thmix, ROT0, "Konami", "beatmania 5th MIX (ver JA-A)", 0 ) |
| 2250 | 2245 | GAME( 2000, bmcompm2, 0, djmain, bm5thmix, bmcompm2, ROT0, "Konami", "beatmania complete MIX 2 (ver JA-A)", 0 ) |
| 2251 | 2246 | GAME( 2000, hmcompm2, bmcompm2, djmain, hmcompm2, hmcompm2, ROT0, "Konami", "hiphopmania complete MIX 2 (ver UA-A)", 0 ) |
| 2252 | GAME( 2000, bmclubmx, 0, djmain, bmclubmx, bmclubmx, ROT0, "Konami", "beatmania Club MIX (ver JA-A)", | |
| 2247 | GAME( 2000, bmclubmx, 0, djmain, bmclubmx, bmclubmx, ROT0, "Konami", "beatmania Club MIX (ver JA-A)", 0 | |
| 2253 | 2248 | GAME( 2000, bmdct, 0, djmain, bmdct, bmdct, ROT0, "Konami", "beatmania featuring Dreams Come True (ver JA-A)", 0 ) |
| 2254 | 2249 | GAME( 2000, bmcorerm, 0, djmain, bmcorerm, bmcorerm, ROT0, "Konami", "beatmania CORE REMIX (ver JA-A)", 0 ) |
| 2255 | 2250 | GAME( 2001, bm6thmix, 0, djmain, bm6thmix, bm6thmix, ROT0, "Konami", "beatmania 6th MIX (ver JA-A)", 0 ) |
| 2256 | 2251 | GAME( 2001, bm7thmix, 0, djmain, bm6thmix, bm7thmix, ROT0, "Konami", "beatmania 7th MIX (ver JA-B)", 0 ) |
| 2257 | 2252 | GAME( 2002, bmfinal, 0, djmain, bm6thmix, bmfinal, ROT0, "Konami", "beatmania THE FINAL (ver JA-A)", 0 ) |
| 2258 | 2253 | |
| 2254 | GAME( 1998, popn2, 0, djmain, popnmusic, beatmania, ROT0, "Konami", "Pop'n Music 2 (ver JA-A)", 0 ) | |
| 2255 | ||
| 2259 | 2256 | #if 0 |
| 2260 | 2257 | // for reference, these sets have not been verified |
| 2261 | 2258 | GAME( 1998, bm3rdmxb, bm3rdmix, djmain, bm3rdmix, beatmania, ROT0, "Konami", "beatmania 3rd MIX (ver JA-B)", 0 ) |
| 2262 | 2259 | |
| 2263 | 2260 | GAME( 1998, popn1, 0, djmain, popn1, beatmania, ROT0, "Konami", "Pop'n Music 1 (ver JA-A)", 0 ) |
| 2264 | GAME( 1998, popn2, 0, djmain, popnmusic, beatmania, ROT0, "Konami", "Pop'n Music 2 (ver JA-A)", 0 ) | |
| 2265 | 2261 | GAME( 1999, popn3, 0, djmain, popnmusic, beatmania, ROT0, "Konami", "Pop'n Music 3 (ver JA-A)", 0 ) |
| 2266 | 2262 | |
| 2267 | 2263 | GAME( 1999, popnstex, 0, djmain, popnstex, beatmania, ROT0, "Konami", "Pop'n Stage EX (ver JB-A)", 0 ) |
| r5490 | r5491 | |
|---|---|---|
| 2658 | 2658 | *************************************/ |
| 2659 | 2659 | |
| 2660 | 2660 | /* games using rev 1 sound board */ |
| 2661 | GAME( 1982, reactor, 0, reactor, reactor, ramtiles, ROT0, "Gottlieb", "Reactor", 0 ) | |
| 2662 | GAME( 1982, qbert, 0, qbert, qbert, romtiles, ROT270, "Gottlieb", "Q*bert (US set 1)", 0 ) | |
| 2663 | GAME( 1982, qberta, qbert, qbert, qbert, romtiles, ROT270, "Gottlieb", "Q*bert (US set 2)", 0 ) | |
| 2664 | GAME( 1982, qbertj, qbert, qbert, qbert, romtiles, ROT270, "Gottlieb (Konami license)", "Q*bert (Japan)", 0 ) | |
| 2665 | GAME( 1982, myqbert, qbert, qbert, qbert, romtiles, ROT270, "Gottlieb", "Mello Yello Q*bert", 0 ) | |
| 2666 | GAME( 1982, qberttst, qbert, qbert, qbert, romtiles, ROT270, "Gottlieb", "Q*bert (early test version)", 0 ) | |
| 2667 | GAME( 1982, qbtrktst, qbert, qbert, qbert, romtiles, ROT270, "Gottlieb", "Q*bert Board Input Test Rom", 0 ) | |
| 2661 | GAME( 1982, reactor, 0, reactor, reactor, ramtiles, ROT0, "Gottlieb", "Reactor", GAME_IMPERFECT_SOUND ) | |
| 2662 | GAME( 1982, qbert, 0, qbert, qbert, romtiles, ROT270, "Gottlieb", "Q*bert (US set 1)", GAME_IMPERFECT_SOUND ) | |
| 2663 | GAME( 1982, qberta, qbert, qbert, qbert, romtiles, ROT270, "Gottlieb", "Q*bert (US set 2)", GAME_IMPERFECT_SOUND ) | |
| 2664 | GAME( 1982, qbertj, qbert, qbert, qbert, romtiles, ROT270, "Gottlieb (Konami license)", "Q*bert (Japan)", GAME_IMPERFECT_SOUND ) | |
| 2665 | GAME( 1982, myqbert, qbert, qbert, qbert, romtiles, ROT270, "Gottlieb", "Mello Yello Q*bert", GAME_IMPERFECT_SOUND ) | |
| 2666 | GAME( 1982, qberttst, qbert, qbert, qbert, romtiles, ROT270, "Gottlieb", "Q*bert (early test version)", GAME_IMPERFECT_SOUND ) | |
| 2667 | GAME( 1982, qbtrktst, qbert, qbert, qbert, romtiles, ROT270, "Gottlieb", "Q*bert Board Input Test Rom", GAME_IMPERFECT_SOUND ) | |
| 2668 | 2668 | GAME( 1982, insector, 0, gottlieb1, insector, romtiles, ROT0, "Gottlieb", "Insector (prototype)", 0 ) |
| 2669 | 2669 | GAME( 1982, tylz, 0, qbert, tylz, romtiles, ROT0, "Mylstar", "Tylz (prototype)", GAME_IMPERFECT_SOUND ) // modified sound hw? |
| 2670 | 2670 | GAME( 1984, argusg, 0, gottlieb1, argusg, ramtiles, ROT0, "Gottlieb", "Argus (Gottlieb, prototype)" , 0) // aka Guardian / Protector? |
| r5490 | r5491 | |
| 2672 | 2672 | GAME( 1983, mplanetsuk,mplanets, gottlieb1, mplanets, romtiles, ROT270, "Gottlieb (Taitel license)", "Mad Planets (UK)", 0 ) |
| 2673 | 2673 | GAME( 1983, krull, 0, gottlieb1, krull, ramtiles, ROT270, "Gottlieb", "Krull", 0 ) |
| 2674 | 2674 | GAME( 1983, kngtmare, 0, gottlieb1, kngtmare, romtiles, ROT0, "Gottlieb", "Knightmare (prototype)", GAME_NO_SOUND ) |
| 2675 | GAME( 1983, sqbert, 0, qbert, qbert, romtiles, ROT270, "Mylstar", "Faster, Harder, More Challenging Q*bert (prototype)", 0 ) | |
| 2676 | GAME( 1983, qbertqub, 0, qbert, qbertqub, romtiles, ROT270, "Mylstar", "Q*bert's Qubes", 0 ) | |
| 2675 | GAME( 1983, sqbert, 0, qbert, qbert, romtiles, ROT270, "Mylstar", "Faster, Harder, More Challenging Q*bert (prototype)", GAME_IMPERFECT_SOUND ) | |
| 2676 | GAME( 1983, qbertqub, 0, qbert, qbertqub, romtiles, ROT270, "Mylstar", "Q*bert's Qubes", GAME_IMPERFECT_SOUND ) | |
| 2677 | 2677 | GAME( 1984, curvebal, 0, gottlieb1, curvebal, romtiles, ROT270, "Mylstar", "Curve Ball", 0 ) |
| 2678 | 2678 | |
| 2679 | 2679 | /* games using rev 2 sound board */ |
| 2680 | 2680 | GAME( 1983, screwloo, 0, screwloo, screwloo, screwloo, ROT0, "Mylstar", "Screw Loose (prototype)", 0 ) |
| 2681 | 2681 | GAME( 1983, mach3, 0, g2laser, mach3, romtiles, ROT0, "Mylstar", "M.A.C.H. 3", 0 ) |
| 2682 | GAME( 1984, cobram3, cobra, cobram3, | |
| 2682 | GAME( 1984, cobram3, cobra, cobram3, | |
| 2683 | 2683 | GAME( 1984, usvsthem, 0, g2laser, usvsthem, romtiles, ROT0, "Mylstar", "Us vs. Them", 0 ) |
| 2684 | 2684 | GAME( 1984, 3stooges, 0, gottlieb2, 3stooges, stooges, ROT0, "Mylstar", "The Three Stooges In Brides Is Brides", 0 ) |
| 2685 | 2685 | GAME( 1984, vidvince, 0, gottlieb2, vidvince, vidvince, ROT0, "Mylstar", "Video Vince and the Game Factory (prototype)", GAME_IMPERFECT_GRAPHICS ) // sprite wrapping issues |
| r5490 | r5491 | |
|---|---|---|
| 2914 | 2914 | GAMEL( 1981, goldnpkr, 0, goldnpkr, goldnpkr, 0, ROT0, "Bonanza Enterprises, Ltd", "Golden Poker Double Up (Big Boy)", 0, layout_goldnpkr ) |
| 2915 | 2915 | GAMEL( 1981, goldnpkb, goldnpkr, goldnpkr, goldnpkr, 0, ROT0, "Bonanza Enterprises, Ltd", "Golden Poker Double Up (Mini Boy)", 0, layout_goldnpkr ) |
| 2916 | 2916 | GAMEL( 1981, pmpoker, 0, goldnpkr, pmpoker, 0, ROT0, "PlayMan", "PlayMan Poker (german)", 0, layout_pmpoker ) |
| 2917 | GAMEL( 198?, pottnpkr, 0, pottnpkr, pottnpkr, 0, ROT0, "Bootleg", "Jack Potten's Poker (set 1)", 0, layout_goldnpkr ) | |
| 2918 | GAMEL( 198?, potnpkra, pottnpkr, pottnpkr, potnpkra, 0, ROT0, "Bootleg on Coinmaster H/W", "Jack Potten's Poker (set 2)", 0, layout_goldnpkr ) | |
| 2919 | GAMEL( 198?, potnpkrb, pottnpkr, pottnpkr, pottnpkr, 0, ROT0, "Bootleg", "Jack Potten's Poker (set 3)", 0, layout_goldnpkr ) | |
| 2920 | GAMEL( 198?, potnpkrc, pottnpkr, pottnpkr, potnpkrc, 0, ROT0, "Bootleg", "Jack Potten's Poker (set 4)", 0, layout_goldnpkr ) | |
| 2921 | GAMEL( 198?, potnpkrd, pottnpkr, pottnpkr, potnpkrc, 0, ROT0, "Bootleg", "Jack Potten's Poker (set 5)", 0, layout_goldnpkr ) | |
| 2922 | GAMEL( 198?, potnpkre, pottnpkr, pottnpkr, pottnpkr, 0, ROT0, "Bootleg", "Jack Potten's Poker (set 6)", 0, layout_goldnpkr ) | |
| 2917 | GAMEL( 198?, pottnpkr, 0, pottnpkr, pottnpkr, 0, ROT0, "bootleg", "Jack Potten's Poker (set 1)", 0, layout_goldnpkr ) | |
| 2918 | GAMEL( 198?, potnpkra, pottnpkr, pottnpkr, potnpkra, 0, ROT0, "bootleg", "Jack Potten's Poker (set 2) (Coinmaster hardware)", 0, layout_goldnpkr ) | |
| 2919 | GAMEL( 198?, potnpkrb, pottnpkr, pottnpkr, pottnpkr, 0, ROT0, "bootleg", "Jack Potten's Poker (set 3)", 0, layout_goldnpkr ) | |
| 2920 | GAMEL( 198?, potnpkrc, pottnpkr, pottnpkr, potnpkrc, 0, ROT0, "bootleg", "Jack Potten's Poker (set 4)", 0, layout_goldnpkr ) | |
| 2921 | GAMEL( 198?, potnpkrd, pottnpkr, pottnpkr, potnpkrc, 0, ROT0, "bootleg", "Jack Potten's Poker (set 5)", 0, layout_goldnpkr ) | |
| 2922 | GAMEL( 198?, potnpkre, pottnpkr, pottnpkr, pottnpkr, 0, ROT0, "bootleg", "Jack Potten's Poker (set 6)", 0, layout_goldnpkr ) | |
| 2923 | 2923 | GAMEL( 1991, goodluck, 0, witchcrd, goodluck, 0, ROT0, "<unknown>", "Good Luck", 0, layout_goldnpkr ) |
| 2924 | 2924 | GAMEL( 198?, royale, 0, goldnpkr, royale, royale, ROT0, "<unknown>", "Royale (set 1)", GAME_NOT_WORKING, layout_goldnpkr ) |
| 2925 | 2925 | GAMEL( 198?, royalea, royale, goldnpkr, royale, royale, ROT0, "<unknown>", "Royale (set 2)", GAME_NOT_WORKING, layout_goldnpkr ) |
| r5490 | r5491 | |
|---|---|---|
| 107 | 107 | /* count determines the size of the area mapped in KB */ |
| 108 | 108 | for (i = 0; i < count; i++, offset += 0x400) |
| 109 | 109 | { |
| 110 | j = i + start + | |
| 110 | j = i + start + 2; | |
| 111 | 111 | memory_set_bankptr(machine, j, memory_region(machine, "gfx1") + offset); |
| 112 | 112 | } |
| 113 | 113 | } |
| r5490 | r5491 | |
| 652 | 652 | nt_page[3] = nt_ram + 0xc00; |
| 653 | 653 | |
| 654 | 654 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x2000, 0x3eff, 0, 0, multigam_nt_r, multigam_nt_w); |
| 655 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x0000, 0x1fff, 0, 0, SMH_BANK(1), 0); | |
| 655 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x0000, 0x1fff, 0, 0, (read8_space_func)SMH_BANK(1), 0); | |
| 656 | 656 | memory_set_bankptr(machine, 1, memory_region(machine, "gfx1")); |
| 657 | 657 | } |
| 658 | 658 | |
| r5490 | r5491 | |
| 666 | 666 | |
| 667 | 667 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x2000, 0x3eff, 0, 0, multigam_nt_r, multigam_nt_w); |
| 668 | 668 | |
| 669 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x0000, 0x03ff, 0, 0, SMH_BANK(1), 0); | |
| 670 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x0400, 0x07ff, 0, 0, SMH_BANK(2), 0); | |
| 671 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x0800, 0x0bff, 0, 0, SMH_BANK(3), 0); | |
| 672 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x0c00, 0x0fff, 0, 0, SMH_BANK(4), 0); | |
| 673 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x1000, 0x13ff, 0, 0, SMH_BANK(5), 0); | |
| 674 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x1400, 0x17ff, 0, 0, SMH_BANK(6), 0); | |
| 675 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x1800, 0x1bff, 0, 0, SMH_BANK(7), 0); | |
| 676 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x1c00, 0x1fff, 0, 0, SMH_BANK(8), 0); | |
| 669 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x0000, 0x03ff, 0, 0, (read8_space_func)SMH_BANK(2), 0); | |
| 670 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x0400, 0x07ff, 0, 0, (read8_space_func)SMH_BANK(3), 0); | |
| 671 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x0800, 0x0bff, 0, 0, (read8_space_func)SMH_BANK(4), 0); | |
| 672 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x0c00, 0x0fff, 0, 0, (read8_space_func)SMH_BANK(5), 0); | |
| 673 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x1000, 0x13ff, 0, 0, (read8_space_func)SMH_BANK(6), 0); | |
| 674 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x1400, 0x17ff, 0, 0, (read8_space_func)SMH_BANK(7), 0); | |
| 675 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x1800, 0x1bff, 0, 0, (read8_space_func)SMH_BANK(8), 0); | |
| 676 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x1c00, 0x1fff, 0, 0, (read8_space_func)SMH_BANK(9), 0); | |
| 677 | 677 | |
| 678 | 678 | set_videorom_bank(machine, 0, 8, 0, 8); |
| 679 | 679 | }; |
| r5490 | r5491 | |
| 683 | 683 | MDRV_CPU_ADD("maincpu", N2A03, N2A03_DEFAULTCLOCK) |
| 684 | 684 | MDRV_CPU_PROGRAM_MAP(multigam_map) |
| 685 | 685 | |
| 686 | MDRV_MACHINE_START( multigam ) | |
| 686 | 687 | MDRV_MACHINE_RESET( multigam ) |
| 687 | MDRV_MACHINE_START( multigam ) | |
| 688 | 688 | |
| 689 | 689 | /* video hardware */ |
| 690 | 690 | MDRV_SCREEN_ADD("screen", RASTER) |
| r5490 | r5491 | |
|---|---|---|
| 26 | 26 | #include "cpu/arm7/arm7core.h" |
| 27 | 27 | #include "machine/eeprom.h" |
| 28 | 28 | #include "machine/pxa255.h" |
| 29 | #include "sound/dmadac.h" | |
| 29 | 30 | |
| 31 | static UINT32* ram; | |
| 32 | ||
| 33 | static const device_config *dmadac[2]; | |
| 34 | ||
| 30 | 35 | static void pxa255_dma_irq_check(running_machine* machine); |
| 31 | 36 | static READ32_HANDLER( pxa255_dma_r ); |
| 32 | 37 | static WRITE32_HANDLER( pxa255_dma_w ); |
| r5490 | r5491 | |
| 119 | 124 | return 0; |
| 120 | 125 | } |
| 121 | 126 | |
| 127 | //static FILE* audio_dump = NULL; | |
| 122 | 128 | |
| 123 | 129 | static WRITE32_HANDLER( pxa255_i2s_w ) |
| 124 | 130 | { |
| 131 | /* | |
| 132 | if(!audio_dump) | |
| 133 | { | |
| 134 | int count = 0; | |
| 135 | char filename[256]; | |
| 136 | do | |
| 137 | { | |
| 138 | sprintf(filename, "39in1_%04d.raw", count++); | |
| 139 | audio_dump = fopen(filename, "rb"); | |
| 140 | }while(audio_dump != NULL); | |
| 141 | count--; | |
| 142 | sprintf(filename, "39in1_%04d.raw", count); | |
| 143 | audio_dump = fopen(filename, "wb"); | |
| 144 | }*/ | |
| 125 | 145 | switch(PXA255_I2S_BASE_ADDR | (offset << 2)) |
| 126 | 146 | { |
| 127 | 147 | case PXA255_SACR0: |
| r5490 | r5491 | |
| 154 | 174 | case PXA255_SADIV: |
| 155 | 175 | verboselog( space->machine, 3, "pxa255_i2s_w: Serial Audio Clock Divider Register: %08x & %08x\n", data, mem_mask ); |
| 156 | 176 | i2s_regs.sadiv = data & 0x0000007f; |
| 177 | dmadac[0] = devtag_get_device(space->machine, "dac1"); | |
| 178 | dmadac[1] = devtag_get_device(space->machine, "dac2"); | |
| 179 | dmadac_set_frequency(&dmadac[0], 2, ((double)147600000 / (double)i2s_regs.sadiv) / 256.0); | |
| 180 | dmadac_enable(&dmadac[0], 2, 1); | |
| 157 | 181 | break; |
| 158 | 182 | case PXA255_SADR: |
| 159 | 183 | verboselog( space->machine, 4, "pxa255_i2s_w: Serial Audio Data Register: %08x & %08x\n", data, mem_mask ); |
| 160 | 184 | i2s_regs.sadr = data; |
| 185 | /*if(audio_dump) | |
| 186 | { | |
| 187 | fwrite(&data, 4, 1, audio_dump); | |
| 188 | }*/ | |
| 161 | 189 | break; |
| 162 | 190 | default: |
| 163 | 191 | verboselog( space->machine, 0, "pxa255_i2s_w: Unknown address: %08x = %08x & %08x\n", PXA255_I2S_BASE_ADDR | (offset << 2), data, mem_mask); |
| r5490 | r5491 | |
| 241 | 269 | UINT8 temp8; |
| 242 | 270 | UINT16 temp16; |
| 243 | 271 | UINT32 temp32; |
| 244 | for(index = 0; index < count; index++) | |
| 272 | static UINT32 words[0x800]; | |
| 273 | static INT16 samples[0x1000]; | |
| 274 | switch(param) | |
| 245 | 275 | { |
| 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) | |
| 276 | case 3: | |
| 277 | for(index = 0; index < count; index += 4) | |
| 267 | 278 | { |
| 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 | words[index >> 2] = memory_read_dword_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), sadr); | |
| 280 | samples[(index >> 1) + 0] = (INT16)(words[index >> 2] >> 16); | |
| 281 | samples[(index >> 1) + 1] = (INT16)(words[index >> 2] & 0xffff); | |
| 282 | sadr += 4; | |
| 279 | 283 | } |
| 280 | } | |
| 281 | if(dma_regs.dcmd[param] & PXA255_DCMD_INCTRGADDR) | |
| 282 | { | |
| 283 | switch(dma_regs.dcmd[param] & PXA255_DCMD_SIZE) | |
| 284 | dmadac[0] = devtag_get_device(machine, "dac1"); | |
| 285 | dmadac[1] = devtag_get_device(machine, "dac2"); | |
| 286 | dmadac_transfer(&dmadac[0], 2, 2, 2, count/4, samples); | |
| 287 | break; | |
| 288 | default: | |
| 289 | for(index = 0; index < count;) | |
| 284 | 290 | { |
| 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; | |
| 291 | switch(dma_regs.dcmd[param] & PXA255_DCMD_SIZE) | |
| 292 | { | |
| 293 | case PXA255_DCMD_SIZE_8: | |
| 294 | temp8 = memory_read_byte_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), sadr); | |
| 295 | memory_write_byte_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), tadr, temp8); | |
| 296 | index++; | |
| 297 | break; | |
| 298 | case PXA255_DCMD_SIZE_16: | |
| 299 | temp16 = memory_read_word_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), sadr); | |
| 300 | memory_write_word_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), tadr, temp16); | |
| 301 | index += 2; | |
| 302 | break; | |
| 303 | case PXA255_DCMD_SIZE_32: | |
| 304 | temp32 = memory_read_dword_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), sadr); | |
| 305 | memory_write_dword_32le(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), tadr, temp32); | |
| 306 | index += 4; | |
| 307 | break; | |
| 308 | default: | |
| 309 | printf( "pxa255_dma_dma_end: Unsupported DMA size\n" ); | |
| 310 | break; | |
| 311 | } | |
| 312 | if(dma_regs.dcmd[param] & PXA255_DCMD_INCSRCADDR) | |
| 313 | { | |
| 314 | switch(dma_regs.dcmd[param] & PXA255_DCMD_SIZE) | |
| 315 | { | |
| 316 | case PXA255_DCMD_SIZE_8: | |
| 317 | sadr++; | |
| 318 | break; | |
| 319 | case PXA255_DCMD_SIZE_16: | |
| 320 | sadr += 2; | |
| 321 | break; | |
| 322 | case PXA255_DCMD_SIZE_32: | |
| 323 | sadr += 4; | |
| 324 | break; | |
| 325 | default: | |
| 326 | break; | |
| 327 | } | |
| 328 | } | |
| 329 | if(dma_regs.dcmd[param] & PXA255_DCMD_INCTRGADDR) | |
| 330 | { | |
| 331 | switch(dma_regs.dcmd[param] & PXA255_DCMD_SIZE) | |
| 332 | { | |
| 333 | case PXA255_DCMD_SIZE_8: | |
| 334 | tadr++; | |
| 335 | break; | |
| 336 | case PXA255_DCMD_SIZE_16: | |
| 337 | tadr += 2; | |
| 338 | break; | |
| 339 | case PXA255_DCMD_SIZE_32: | |
| 340 | tadr += 4; | |
| 341 | break; | |
| 342 | default: | |
| 343 | break; | |
| 344 | } | |
| 345 | } | |
| 296 | 346 | } |
| 297 | | |
| 347 | break; | |
| 298 | 348 | } |
| 299 | 349 | if(dma_regs.dcmd[param] & PXA255_DCMD_ENDIRQEN) |
| 300 | 350 | { |
| r5490 | r5491 | |
| 1224 | 1274 | static UINT32 state = 0; |
| 1225 | 1275 | static READ32_HANDLER( cpld_r ) |
| 1226 | 1276 | { |
| 1227 | // | |
| 1277 | // if (cpu_get_pc(space->cpu) != 0xe3af4) printf("CPLD read @ %x (PC %x state %d)\n", offset, cpu_get_pc(space->cpu), state); | |
| 1228 | 1278 | |
| 1229 | 1279 | if (cpu_get_pc(space->cpu) == 0x3f04) |
| 1230 | 1280 | { |
| r5490 | r5491 | |
| 1318 | 1368 | AM_RANGE(0x40d00000, 0x40d00017) AM_READWRITE( pxa255_intc_r, pxa255_intc_w ) |
| 1319 | 1369 | AM_RANGE(0x40e00000, 0x40e0006b) AM_READWRITE( pxa255_gpio_r, pxa255_gpio_w ) |
| 1320 | 1370 | AM_RANGE(0x44000000, 0x4400021f) AM_READWRITE( pxa255_lcd_r, pxa255_lcd_w ) |
| 1321 | AM_RANGE(0xa0000000, 0xa07fffff) AM_RAM | |
| 1371 | AM_RANGE(0xa0000000, 0xa07fffff) AM_RAM AM_BASE(&ram) | |
| 1322 | 1372 | ADDRESS_MAP_END |
| 1323 | 1373 | |
| 1324 | 1374 | static INPUT_PORTS_START( 39in1 ) |
| r5490 | r5491 | |
| 1468 | 1518 | MDRV_VIDEO_UPDATE(39in1) |
| 1469 | 1519 | |
| 1470 | 1520 | MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 1521 | ||
| 1522 | MDRV_SOUND_ADD("dac1", DMADAC, 0) | |
| 1523 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0) | |
| 1524 | MDRV_SOUND_ADD("dac2", DMADAC, 0) | |
| 1525 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0) | |
| 1471 | 1526 | MACHINE_DRIVER_END |
| 1472 | 1527 | |
| 1473 | 1528 | ROM_START( 39in1 ) |
| r5490 | r5491 | |
| 1494 | 1549 | ROM_LOAD( "16mflash.bin", 0x000000, 0x200000, CRC(a089f0f8) SHA1(e975eadd9176a8b9e416229589dfe3158cba22cb) ) |
| 1495 | 1550 | ROM_END*/ |
| 1496 | 1551 | |
| 1497 | GAME(2004, 39in1, 0, 39in1, 39in1, 39in1, ROT270, "<unknown>", "39 in 1 MAME bootleg", GAME_ | |
| 1552 | GAME(2004, 39in1, 0, 39in1, 39in1, 39in1, ROT270, "<unknown>", "39 in 1 MAME bootleg", GAME_IMPERFECT_SOUND) | |
| 1498 | 1553 | //GAME(2004, arm4in1, 0, 39in1, 39in1, 0, ROT0, "<unknown>", "4 in 1 MAME bootleg", GAME_NOT_WORKING|GAME_NO_SOUND) |
| r5490 | r5491 | |
|---|---|---|
| 65 | 65 | AM_RANGE(0x90000, 0x9ffff) AM_ROM AM_REGION("gfx", 0) |
| 66 | 66 | AM_RANGE(0xa0300, 0xa031f) AM_RAM_WRITE(paletteram16_RRRRGGGGBBBBIIII_word_w) AM_BASE(&paletteram16) //wrong |
| 67 | 67 | AM_RANGE(0xa0000, 0xaffff) AM_RAM AM_BASE(&blit_ram) |
| 68 | AM_RANGE(0x | |
| 68 | AM_RANGE(0xe0000, 0xfffff) AM_ROM AM_REGION("boot_prg",0) | |
| 69 | 69 | ADDRESS_MAP_END |
| 70 | 70 | |
| 71 | 71 | static ADDRESS_MAP_START( bingor_io, ADDRESS_SPACE_IO, 16 ) |
| r5490 | r5491 | |
| 200 | 200 | // I doubt we need to load the eeproms |
| 201 | 201 | |
| 202 | 202 | ROM_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) ) | |
| 203 | ROM_REGION( 0x20000, "boot_prg", ROMREGION_ERASE00 ) /* i186 code */ | |
| 204 | ROM_LOAD16_BYTE( "bingo v 29.4.99 l.bin", 0x010000, 0x08000, CRC(b6773bff) SHA1(74e375662730e002e05186bd77098fa0d8e43ade) ) | |
| 205 | ROM_LOAD16_BYTE( "bingo v 29.4.99 h.bin", 0x010001, 0x08000, CRC(0e18f90a) SHA1(0743302e675f01f8ad42ac2e67ecb1c1bf870ae7) ) | |
| 206 | 206 | |
| 207 | 207 | // gfx roms on this one are twice the size of the others |
| 208 | 208 | ROM_REGION( 0x20000, "gfx", 0 ) /* blitter data? */ |
| r5490 | r5491 | |
| 217 | 217 | ROM_END |
| 218 | 218 | |
| 219 | 219 | ROM_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) ) | |
| 220 | ROM_REGION( 0x20000, "boot_prg", ROMREGION_ERASE00 ) /* i186 code */ | |
| 221 | ROM_LOAD16_BYTE( "bingo roll vip2 v26.02.02_l.bin", 0x000000, 0x10000, CRC(40df6ee8) SHA1(1e90ef906e47f95ebde85b6dd32fdfe50c0564fc) ) | |
| 222 | ROM_LOAD16_BYTE( "bingo roll vip2 v26.02.02_h.bin", 0x000001, 0x10000, CRC(9154c183) SHA1(a4060294295a9b8df07ce9fcfeefcf009e129817) ) | |
| 223 | 223 | |
| 224 | 224 | ROM_REGION( 0x20000, "gfx", 0 ) /* blitter data? */ |
| 225 | 225 | ROM_LOAD16_BYTE( "bingo roll grafik l.bin", 0x000000, 0x10000, CRC(3e753e13) SHA1(011b5f530e54332be194830c0a1d2ec31425017a) ) |
| r5490 | r5491 | |
| 233 | 233 | ROM_END |
| 234 | 234 | |
| 235 | 235 | ROM_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) ) | |
| 236 | ROM_REGION( 0x20000, "boot_prg", ROMREGION_ERASE00 ) /* i186 code */ | |
| 237 | ROM_LOAD16_BYTE( "bellstar vip2l 27.07_1.bin", 0x010000, 0x08000, CRC(0115bca7) SHA1(0b692b46bc6641296861666f00ec0475dc7296a1) ) | |
| 238 | ROM_LOAD16_BYTE( "bellstar vip2l 27.07_2.bin", 0x010001, 0x08000, CRC(c689aa69) SHA1(fb1f477654909f156c30a6be29f84962f4edb1c3) ) | |
| 239 | 239 | |
| 240 | ROM_REGION( 0x | |
| 240 | ROM_REGION( 0x20000, "gfx", ROMREGION_ERASE00 ) /* blitter data? */ | |
| 241 | 241 | ROM_LOAD16_BYTE( "bsg-11.10.02_l.bin", 0x000000, 0x08000, CRC(a8b22477) SHA1(92d638f0f188a43f14487989cf42195311fb2c35) ) //half size? |
| 242 | 242 | ROM_LOAD16_BYTE( "bsg-11.10.02_h.bin", 0x000001, 0x08000, CRC(969d201c) SHA1(7705ceb383ef122538ebf8046041d1c24ec9b9a4) ) |
| 243 | 243 | |
| r5490 | r5491 | |
| 251 | 251 | |
| 252 | 252 | // this is a mix of 2 of the other sets.. I don't know if it's correct |
| 253 | 253 | ROM_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) ) | |
| 254 | ROM_REGION( 0x20000, "boot_prg", ROMREGION_ERASE00 ) /* i186 code */ | |
| 255 | ROM_LOAD16_BYTE( "01.bin", 0x010000, 0x08000, CRC(0115bca7) SHA1(0b692b46bc6641296861666f00ec0475dc7296a1) ) | |
| 256 | ROM_LOAD16_BYTE( "02.bin", 0x010001, 0x08000, CRC(c689aa69) SHA1(fb1f477654909f156c30a6be29f84962f4edb1c3) ) | |
| 257 | 257 | |
| 258 | 258 | ROM_REGION( 0x20000, "gfx", 0 ) /* blitter data? */ |
| 259 | 259 | ROM_LOAD16_BYTE( "bingo roll grafik l.bin", 0x000000, 0x10000, CRC(3e753e13) SHA1(011b5f530e54332be194830c0a1d2ec31425017a) ) |
| r5490 | r5491 | |
|---|---|---|
| 287 | 287 | memcpy(&dst[0xc000], &src[0x0f8000], 0x4000); |
| 288 | 288 | |
| 289 | 289 | /* uses 8K swapping, all ROM!*/ |
| 290 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x0000, 0x1fff, 0, 0, SMH_BANK(1), 0); | |
| 290 | memory_install_readwrite8_handler(cpu_get_address_space(cputag_get_cpu(machine, "ppu"), ADDRESS_SPACE_PROGRAM), 0x0000, 0x1fff, 0, 0, (read8_space_func)SMH_BANK(1), 0); | |
| 291 | 291 | memory_set_bankptr(machine, 1, memory_region(machine, "gfx1")); |
| 292 | 292 | |
| 293 | 293 | /* need nametable ram, though. I doubt this uses more than 2k, but it starts up configured for 4 */ |
| r5490 | r5491 | |
|---|---|---|
| 26 | 26 | #include "cpu/m6809/m6809.h" |
| 27 | 27 | #include "video/vector.h" |
| 28 | 28 | #include "video/avgdvg.h" |
| 29 | #include "sound/5220 | |
| 29 | #include "sound/tms5220 | |
| 30 | 30 | #include "sound/pokey.h" |
| 31 | 31 | #include "starwars.h" |
| 32 | 32 | #include "slapstic.h" |
| r5490 | r5491 | |
|---|---|---|
| 81 | 81 | AM_RANGE(0xe402, 0xe404) AM_WRITEONLY AM_BASE(&tryout_gfx_control) |
| 82 | 82 | AM_RANGE(0xe414, 0xe414) AM_WRITE(tryout_sound_w) |
| 83 | 83 | AM_RANGE(0xe417, 0xe417) AM_WRITE(tryout_nmi_ack_w) |
| 84 | AM_RANGE(0xfff0, 0xffff) AM_ROM AM_REGION("maincpu", 0xbff0) /* rese | |
| 84 | AM_RANGE(0xfff0, 0xffff) AM_ROM AM_REGION("maincpu", 0xbff0) /* rese | |
| 85 | 85 | ADDRESS_MAP_END |
| 86 | 86 | |
| 87 | 87 | static ADDRESS_MAP_START( sound_cpu, ADDRESS_SPACE_PROGRAM, 8 ) |
| r5490 | r5491 | |
| 198 | 198 | |
| 199 | 199 | static MACHINE_DRIVER_START( tryout ) |
| 200 | 200 | /* basic machine hardware */ |
| 201 | MDRV_CPU_ADD("maincpu", M6502, 2000000) | |
| 201 | MDRV_CPU_ADD("maincpu", M6502, 2000000) | |
| 202 | 202 | MDRV_CPU_PROGRAM_MAP(main_cpu) |
| 203 | 203 | |
| 204 | MDRV_CPU_ADD("audiocpu", M6502, 1500000) | |
| 204 | MDRV_CPU_ADD("audiocpu", M6502, 1500000) | |
| 205 | 205 | MDRV_CPU_PROGRAM_MAP(sound_cpu) |
| 206 | MDRV_CPU_PERIODIC_INT(nmi_line_pulse, | |
| 206 | MDRV_CPU_PERIODIC_INT(nmi_line_pulse,1000) /* controls BGM tempo, 1000 is an hand-tuned value to match a side-by-side video */ | |
| 207 | 207 | |
| 208 | 208 | /* video hardware */ |
| 209 | 209 | MDRV_SCREEN_ADD("screen", RASTER) |
| r5490 | r5491 | |
|---|---|---|
| 20 | 20 | |
| 21 | 21 | Thanks to Olivier Galibert for the handy bitswapper tool :-) |
| 22 | 22 | |
| 23 | ||
| 24 | Notes on version letters: | |
| 25 | ------------------------- | |
| 26 | ||
| 27 | E = Export (It displays a "Outside USA use only" message) | |
| 28 | R = ?? (In some games, it displays value of winning combinations, see e.g. fb4 Ver. R vs. Ver. LT) | |
| 29 | LT = ?? (It displays a "PT/TKT" message, so maybe it has a minimum amount of poits | |
| 30 | needed to get a ticket) | |
| 31 | XT = Texas XT / Arkansas / Iowa | |
| 32 | N = ?? | |
| 33 | B = High Bonus Version | |
| 34 | SH = ?? | |
| 35 | T = 10 Times (Bonus game every ten times, see bonus table) | |
| 36 | ||
| 37 | ||
| 38 | 2009-08 FP: Reworked parent/clone relationships so that parent is the higher revision and/or the | |
| 39 | Export version. Also, I tried to standardize setnames by using the following convention: | |
| 40 | ||
| 41 | parent + label letter + version | |
| 42 | ||
| 43 | where "label letter" comes from the CPU rom name (usually b, c, d or v) and "version" is chosen as | |
| 44 | follows: 1 = Ver. R, 2 = Ver. LT, 3 = Ver. SH, h = Ver. B (High Bonus), x = Ver. XT and t = Ver. T | |
| 45 | ||
| 46 | Older versions are named as: parent + 'o' + progressive number | |
| 47 | In a couple of cases, due to too many older revisions, I used: parent + version + 'o' + progr. num. | |
| 48 | ||
| 23 | 49 | */ |
| 24 | 50 | |
| 25 | 51 | #include "driver.h" |
| r5490 | r5491 | |
| 265 | 291 | |
| 266 | 292 | static INPUT_PORTS_START( amcoecommon ) |
| 267 | 293 | PORT_INCLUDE(amcoebase) |
| 294 | ||
| 268 | 295 | PORT_MODIFY("KEY1") |
| 269 | 296 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON9) PORT_NAME("Payout?") PORT_CODE(KEYCODE_Y) // causes hopper error |
| 270 | 297 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON10) PORT_NAME("Clear SW.") PORT_CODE(KEYCODE_U) |
| 271 | 298 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON11) PORT_NAME("Account") PORT_CODE(KEYCODE_I) |
| 272 | 299 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON12) PORT_NAME("Confirm / Port Test") PORT_CODE(KEYCODE_O) |
| 273 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2) | |
| 300 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2) | |
| 274 | 301 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN3) // 'key in' |
| 275 | 302 | |
| 276 | 303 | PORT_MODIFY("KEY3") |
| 277 | 304 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1) |
| 278 | 305 | INPUT_PORTS_END |
| 279 | 306 | |
| 280 | static INPUT_PORTS_START( amcoetype1 ) | |
| 307 | /* Games use 2 types of inputs: type 1 and type 2 (which is type 1 with reversed bits). | |
| 308 | Both come in 3 flavors (depending on the games): | |
| 309 | - fruit machines with 3 reels: Stop All, Stop 1, Stop 2, Stop 3, Bet; | |
| 310 | - fruit machines with 4 reels: Stop 1, Stop 2, Stop 3, Stop 4, Bet; | |
| 311 | - poker: Hold 1, Hold 2, Hold 3, Hold 4, Hold 5 */ | |
| 312 | ||
| 313 | static INPUT_PORTS_START( amcoe1_reels3 ) | |
| 281 | 314 | PORT_INCLUDE(amcoecommon) |
| 282 | 315 | |
| 283 | 316 | PORT_MODIFY("KEY2") |
| 284 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE1) PORT_IMPULSE(2) // causes service jam if held | |
| 285 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN1) PORT_IMPULSE(2) // causes coin jam if held | |
| 286 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("All Stop / Left") PORT_CODE(KEYCODE_Z) | |
| 317 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE1) PORT_IMPULSE(2) // causes service jam if held | |
| 318 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN1) PORT_IMPULSE(2) // causes coin jam if held | |
| 319 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP_ALL ) PORT_NAME("All Stop / Big") | |
| 287 | 320 | /* 0x08 ? */ |
| 288 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Stop 1 / Select Letter / Double / Hold Help") PORT_CODE(KEYCODE_X) | |
| 289 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Stop 3 / Erase / Take") PORT_CODE(KEYCODE_V) | |
| 290 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Play / Bet") PORT_CODE(KEYCODE_B) | |
| 291 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Stop 2 / Right") PORT_CODE(KEYCODE_C) | |
| 321 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SLOT_STOP1 ) PORT_NAME("Stop 1 / Double / Hold Help") | |
| 322 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) PORT_NAME("Stop 3 / Take") | |
| 323 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Play / Bet") | |
| 324 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SLOT_STOP2 ) PORT_NAME("Stop 2 / Small") | |
| 292 | 325 | INPUT_PORTS_END |
| 293 | 326 | |
| 294 | static INPUT_PORTS_START( amcoe | |
| 327 | static INPUT_PORTS_START( amcoe1_reels4 ) | |
| 295 | 328 | PORT_INCLUDE(amcoecommon) |
| 296 | 329 | |
| 330 | PORT_MODIFY("KEY2") | |
| 331 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE1) PORT_IMPULSE(2) // causes service jam if held | |
| 332 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN1) PORT_IMPULSE(2) // causes coin jam if held | |
| 333 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP1 ) PORT_NAME("Stop 1 / Big") | |
| 334 | /* 0x08 ? */ | |
| 335 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SLOT_STOP2 ) PORT_NAME("Stop 2 / Double / Hold Help") | |
| 336 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SLOT_STOP4 ) PORT_NAME("Stop 4 / Take") | |
| 337 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Play / Bet") | |
| 338 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) PORT_NAME("Stop 3 / Small") | |
| 339 | INPUT_PORTS_END | |
| 340 | ||
| 341 | static INPUT_PORTS_START( amcoe1_poker ) | |
| 342 | PORT_INCLUDE(amcoecommon) | |
| 343 | ||
| 344 | PORT_MODIFY("KEY2") | |
| 345 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE1) PORT_IMPULSE(2) // causes service jam if held | |
| 346 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN1) PORT_IMPULSE(2) // causes coin jam if held | |
| 347 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Hold 2 / Big") | |
| 348 | /* 0x08 ? */ | |
| 349 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Hold 3 / Double / Hold Help") | |
| 350 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Hold 5 / Take") | |
| 351 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Hold 1 / Bet") | |
| 352 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Hold 4 / Small") | |
| 353 | INPUT_PORTS_END | |
| 354 | ||
| 355 | static INPUT_PORTS_START( amcoe2_reels3 ) | |
| 356 | PORT_INCLUDE(amcoecommon) | |
| 357 | ||
| 297 | 358 | PORT_MODIFY("KEY2") // reverse order |
| 298 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Small / Right") PORT_CODE(KEYCODE_C) | |
| 299 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Play / Bet") PORT_CODE(KEYCODE_B) | |
| 300 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Take") PORT_CODE(KEYCODE_V) | |
| 301 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Double / Select") PORT_CODE(KEYCODE_X) | |
| 359 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SLOT_STOP2 ) PORT_NAME("Stop 2 / Small") | |
| 360 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Play / Bet") | |
| 361 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) PORT_NAME("Stop 3 / Take") | |
| 362 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SLOT_STOP1 ) PORT_NAME("Stop 1 / Double / Hold Help") | |
| 302 | 363 | /* 0x10 ? */ |
| 303 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Big / Left") PORT_CODE(KEYCODE_Z) | |
| 304 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1) PORT_IMPULSE(2) // causes coin jam if held | |
| 305 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1) PORT_IMPULSE(2) // causes service jam if held | |
| 364 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SLOT_STOP_ALL ) PORT_NAME("All Stop / Big") | |
| 365 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1) PORT_IMPULSE(2) // causes coin jam if held | |
| 366 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1) PORT_IMPULSE(2) // causes service jam if held | |
| 306 | 367 | INPUT_PORTS_END |
| 307 | 368 | |
| 369 | static INPUT_PORTS_START( amcoe2_reels4 ) | |
| 370 | PORT_INCLUDE(amcoecommon) | |
| 308 | 371 | |
| 372 | PORT_MODIFY("KEY2") // reverse order | |
| 373 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) PORT_NAME("Stop 3 / Small") | |
| 374 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Play / Bet") | |
| 375 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP4 ) PORT_NAME("Stop 4 / Take") | |
| 376 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SLOT_STOP2 ) PORT_NAME("Stop 2 / Double / Hold Help") | |
| 377 | /* 0x10 ? */ | |
| 378 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SLOT_STOP1 ) PORT_NAME("Stop 1 / Big") | |
| 379 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1) PORT_IMPULSE(2) // causes coin jam if held | |
| 380 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1) PORT_IMPULSE(2) // causes service jam if held | |
| 381 | INPUT_PORTS_END | |
| 309 | 382 | |
| 383 | static INPUT_PORTS_START( amcoe2_poker ) | |
| 384 | PORT_INCLUDE(amcoecommon) | |
| 385 | ||
| 386 | PORT_MODIFY("KEY2") // reverse order | |
| 387 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Hold 4 / Small") | |
| 388 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Hold 1 / Bet") | |
| 389 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Hold 5 / Take") | |
| 390 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Hold 3 / Double / Hold Help") | |
| 391 | /* 0x10 ? */ | |
| 392 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Hold 2 / Big") | |
| 393 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1) PORT_IMPULSE(2) // causes coin jam if held | |
| 394 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1) PORT_IMPULSE(2) // causes service jam if held | |
| 395 | INPUT_PORTS_END | |
| 396 | ||
| 397 | ||
| 398 | ||
| 310 | 399 | static TILE_GET_INFO( get_sfbonus_tile_info ) |
| 311 | 400 | { |
| 312 | 401 | int code = sfbonus_tilemap_ram[(tile_index*2)+0] | (sfbonus_tilemap_ram[(tile_index*2)+1]<<8); |
| r5490 | r5491 | |
| 707 | 796 | sfbonus_1800_regs[7]); |
| 708 | 797 | */ |
| 709 | 798 | |
| 710 | if (screen->machine->gamedrv->ipt==ipt_amcoetype2) | |
| 799 | if ((screen->machine->gamedrv->ipt == ipt_amcoe2_reels3) || (screen->machine->gamedrv->ipt == ipt_amcoe2_reels4) | |
| 800 | || (screen->machine->gamedrv->ipt == ipt_amcoe2_poker)) | |
| 711 | 801 | { |
| 712 | 802 | // based on pirpok2 |
| 713 | output_set_lamp_value(0, (sfbonus_1800_regs[6]&0x1)>>0); | |
| 714 | output_set_lamp_value(1, (sfbonus_1800_regs[6]&0x4)>>2); | |
| 715 | output_set_lamp_value(2, (sfbonus_1800_regs[5]&0x4)>>2); | |
| 716 | output_set_lamp_value(3, (sfbonus_1800_regs[5]&0x1)>>0); | |
| 717 | output_set_lamp_value(4, (sfbonus_1800_regs[4]&0x4)>>2); | |
| 718 | output_set_lamp_value(5, (sfbonus_1800_regs[4]&0x1)>>0); | |
| 803 | output_set_lamp_value(0, (sfbonus_1800_regs[6] & 0x1) >> 0); | |
| 804 | output_set_lamp_value(1, (sfbonus_1800_regs[6] & 0x4) >> 2); | |
| 805 | output_set_lamp_value(2, (sfbonus_1800_regs[5] & 0x4) >> 2); | |
| 806 | output_set_lamp_value(3, (sfbonus_1800_regs[5] & 0x1) >> 0); | |
| 807 | output_set_lamp_value(4, (sfbonus_1800_regs[4] & 0x4) >> 2); | |
| 808 | output_set_lamp_value(5, (sfbonus_1800_regs[4] & 0x1) >> 0); | |
| 719 | 809 | } |
| 720 | else if (screen->machine->gamedrv->ipt==ipt_amcoetype1) | |
| 810 | else if ((screen->machine->gamedrv->ipt == ipt_amcoe1_reels3) || (screen->machine->gamedrv->ipt == ipt_amcoe1_reels4) | |
| 811 | || (screen->machine->gamedrv->ipt == ipt_amcoe1_poker)) | |
| 721 | 812 | { |
| 722 | output_set_lamp_value(0, (sfbonus_1800_regs[0]&0x2)>>1); | |
| 723 | output_set_lamp_value(1, (sfbonus_1800_regs[4]&0x2)>>1); | |
| 724 | output_set_lamp_value(2, (sfbonus_1800_regs[3]&0x2)>>1); | |
| 725 | output_set_lamp_value(3, (sfbonus_1800_regs[6]&0x4)>>2); | |
| 726 | output_set_lamp_value(4, (sfbonus_1800_regs[4]&0x4)>>2); | |
| 727 | output_set_lamp_value(5, (sfbonus_1800_regs[3]&0x4)>>2); | |
| 813 | output_set_lamp_value(0, (sfbonus_1800_regs[0] & 0x2) >> 1); | |
| 814 | output_set_lamp_value(1, (sfbonus_1800_regs[4] & 0x2) >> 1); | |
| 815 | output_set_lamp_value(2, (sfbonus_1800_regs[3] & 0x2) >> 1); | |
| 816 | output_set_lamp_value(3, (sfbonus_1800_regs[6] & 0x4) >> 2); | |
| 817 | output_set_lamp_value(4, (sfbonus_1800_regs[4] & 0x4) >> 2); | |
| 818 | output_set_lamp_value(5, (sfbonus_1800_regs[3] & 0x4) >> 2); | |
| 728 | 819 | } |
| 729 | 820 | |
| 730 | ||
| 731 | ||
| 732 | ||
| 733 | 821 | return 0; |
| 734 | 822 | } |
| 735 | 823 | |
| r5490 | r5491 | |
| 973 | 1061 | MACHINE_DRIVER_END |
| 974 | 1062 | |
| 975 | 1063 | |
| 1064 | /* Skill Fruit Bonus */ | |
| 976 | 1065 | ROM_START( sfbonus ) |
| 977 | 1066 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 978 | ROM_LOAD( "skfb1 | |
| 1067 | ROM_LOAD( "skfbb19r.bin", 0x00000, 0x40000, CRC(e185c0b7) SHA1(241aa3d | |
| 979 | 1068 | |
| 980 | 1069 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 981 | 1070 | ROM_LOAD( "skfbrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) |
| r5490 | r5491 | |
| 985 | 1074 | ROM_LOAD16_BYTE( "skfbrom4.bin", 0x00001, 0x80000, CRC(a655bac1) SHA1(0faea01c09409f9182f08370dcc0b466a799f17f) ) |
| 986 | 1075 | |
| 987 | 1076 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 988 | ROM_LOAD16_BYTE( "skfbrom5.bin", 0x00000, 0x80000, CRC(752e6e3b) SHA1(46c3a1bbbf1a2afe36fa5333b6e74459e17e9bae) ) | |
| 989 | ROM_LOAD16_BYTE( "skfbrom6.bin", 0x00001, 0x80000, CRC(30df6b6a) SHA1(7a180fa8ee64b9efb0321baffad72f0a9485d568) ) | |
| 1077 | ROM_LOAD16_BYTE( "skfbrom5a.bin", 0x00000, 0x80000, CRC(ed07a635) SHA1(a31ee06d8cb78c43affa9d899e9cec87a0875934) ) | |
| 1078 | ROM_LOAD16_BYTE( "skfbrom6a.bin", 0x00001, 0x80000, CRC(b9a39e5a) SHA1(cb875db25d8bccf48542bd6dbecc474b1205563b) ) | |
| 1079 | ||
| 1080 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1081 | ROM_LOAD_OPTIONAL( "skfb19rb.id", 0x00, 0x20, CRC(fc9c8ef9) SHA1(402eed23f820f09b18feca60cc90196e7c43db39) ) | |
| 990 | 1082 | ROM_END |
| 991 | 1083 | |
| 992 | ROM_START( sfbonus | |
| 1084 | ROM_START( sfbonusd1 ) | |
| 993 | 1085 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 994 | ROM_LOAD( "skfb1 | |
| 1086 | ROM_LOAD( "skfbd19r.bin", 0x00000, 0x40000, CRC(9e189177 | |
| 995 | 1087 | |
| 996 | ROM_REGION( 0x010000, "debugram", ROMREGION_ERASE00 ) /* DEBUG */ | |
| 997 | ||
| 998 | ||
| 999 | 1088 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1000 | 1089 | ROM_LOAD( "skfbrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) |
| 1001 | 1090 | |
| r5490 | r5491 | |
| 1006 | 1095 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1007 | 1096 | ROM_LOAD16_BYTE( "skfbrom5a.bin", 0x00000, 0x80000, CRC(ed07a635) SHA1(a31ee06d8cb78c43affa9d899e9cec87a0875934) ) |
| 1008 | 1097 | ROM_LOAD16_BYTE( "skfbrom6a.bin", 0x00001, 0x80000, CRC(b9a39e5a) SHA1(cb875db25d8bccf48542bd6dbecc474b1205563b) ) |
| 1098 | ||
| 1099 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1100 | ROM_LOAD_OPTIONAL( "skfb19r.id", 0x00, 0x20, CRC(431bc668) SHA1(10d0d96b3b50faa56f0a958449a7ad1d1f2c1382) ) | |
| 1009 | 1101 | ROM_END |
| 1010 | 1102 | |
| 1011 | ROM_START( sfbonus | |
| 1103 | ROM_START( sfbonusv1 ) | |
| 1012 | 1104 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1013 | ROM_LOAD( "skfb | |
| 1105 | ROM_LOAD( "skfbv19r.bin", 0x00000, 0x40000, CRC(f | |
| 1014 | 1106 | |
| 1015 | 1107 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1016 | 1108 | ROM_LOAD( "skfbrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) |
| r5490 | r5491 | |
| 1024 | 1116 | ROM_LOAD16_BYTE( "skfbrom6a.bin", 0x00001, 0x80000, CRC(b9a39e5a) SHA1(cb875db25d8bccf48542bd6dbecc474b1205563b) ) |
| 1025 | 1117 | |
| 1026 | 1118 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1027 | ROM_LOAD_OPTIONAL( "skfb19r | |
| 1119 | ROM_LOAD_OPTIONAL( "skfb19r | |
| 1028 | 1120 | ROM_END |
| 1029 | 1121 | |
| 1030 | ROM_START( sfbonus | |
| 1122 | ROM_START( sfbonuso2 ) | |
| 1031 | 1123 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1032 | ROM_LOAD( "skfb | |
| 1124 | ROM_LOAD( "skfb | |
| 1033 | 1125 | |
| 1034 | 1126 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1035 | 1127 | ROM_LOAD( "skfbrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) |
| r5490 | r5491 | |
| 1039 | 1131 | ROM_LOAD16_BYTE( "skfbrom4.bin", 0x00001, 0x80000, CRC(a655bac1) SHA1(0faea01c09409f9182f08370dcc0b466a799f17f) ) |
| 1040 | 1132 | |
| 1041 | 1133 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1042 | ROM_LOAD16_BYTE( "skfbrom5a.bin", 0x00000, 0x80000, CRC(ed07a635) SHA1(a31ee06d8cb78c43affa9d899e9cec87a0875934) ) | |
| 1043 | ROM_LOAD16_BYTE( "skfbrom6a.bin", 0x00001, 0x80000, CRC(b9a39e5a) SHA1(cb875db25d8bccf48542bd6dbecc474b1205563b) ) | |
| 1044 | ||
| 1045 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1046 | ROM_LOAD_OPTIONAL( "skfb19r.id", 0x00, 0x20, CRC(431bc668) SHA1(10d0d96b3b50faa56f0a958449a7ad1d1f2c1382) ) | |
| 1134 | ROM_LOAD16_BYTE( "skfbrom5.bin", 0x00000, 0x80000, CRC(752e6e3b) SHA1(46c3a1bbbf1a2afe36fa5333b6e74459e17e9bae) ) | |
| 1135 | ROM_LOAD16_BYTE( "skfbrom6.bin", 0x00001, 0x80000, CRC(30df6b6a) SHA1(7a180fa8ee64b9efb0321baffad72f0a9485d568) ) | |
| 1047 | 1136 | ROM_END |
| 1048 | 1137 | |
| 1049 | ROM_START( sfbonus | |
| 1138 | ROM_START( sfbonuso ) | |
| 1050 | 1139 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1051 | ROM_LOAD( "skfb | |
| 1140 | ROM_LOAD( "skfb | |
| 1052 | 1141 | |
| 1142 | ROM_REGION( 0x010000, "debugram", ROMREGION_ERASE00 ) /* DEBUG */ | |
| 1143 | ||
| 1144 | ||
| 1053 | 1145 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1054 | 1146 | ROM_LOAD( "skfbrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) |
| 1055 | 1147 | |
| r5490 | r5491 | |
| 1060 | 1152 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1061 | 1153 | ROM_LOAD16_BYTE( "skfbrom5a.bin", 0x00000, 0x80000, CRC(ed07a635) SHA1(a31ee06d8cb78c43affa9d899e9cec87a0875934) ) |
| 1062 | 1154 | ROM_LOAD16_BYTE( "skfbrom6a.bin", 0x00001, 0x80000, CRC(b9a39e5a) SHA1(cb875db25d8bccf48542bd6dbecc474b1205563b) ) |
| 1063 | ||
| 1064 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1065 | ROM_LOAD_OPTIONAL( "skfb19r.id", 0x00, 0x20, CRC(431bc668) SHA1(10d0d96b3b50faa56f0a958449a7ad1d1f2c1382) ) | |
| 1066 | 1155 | ROM_END |
| 1067 | 1156 | |
| 1068 | ||
| 1157 | /* Parrot Poker III */ | |
| 1069 | 1158 | ROM_START( parrot3 ) |
| 1070 | 1159 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1071 | ROM_LOAD( "p4p2 | |
| 1160 | ROM_LOAD( "p4pv26e.bin", 0x00000, 0x40000, CRC(d | |
| 1072 | 1161 | |
| 1073 | 1162 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1074 | 1163 | ROM_LOAD( "p4rom2.bin", 0x00000, 0x40000, CRC(d0574efc) SHA1(dd6628450883f0f723744e7caf6525bca7b18a43) ) |
| 1075 | 1164 | |
| 1076 | 1165 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 1077 | ROM_LOAD16_BYTE( "p4rom3_24.bin", 0x00000, 0x80000, CRC(c5fc21cb) SHA1(b4137a97611ff688fbfa688eb3108622bed8da5b) ) | |
| 1078 | ROM_LOAD16_BYTE( "p4rom4_24.bin", 0x00001, 0x80000, CRC(bbe174d3) SHA1(75d964d37470843962419ead170f1db9a1dcc4c4) ) | |
| 1166 | ROM_LOAD16_BYTE( "p4rom3.bin", 0x00000, 0x80000, CRC(2701d7ab) SHA1(9efeaa3dab2aa3f20501876db2100eae4a5b8af1) ) | |
| 1167 | ROM_LOAD16_BYTE( "p4rom4.bin", 0x00001, 0x80000, CRC(46ebe619) SHA1(811c2d35e4e04e8ecd7f4f2a7040de302d2ed91c) ) | |
| 1079 | 1168 | |
| 1080 | 1169 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1081 | ROM_LOAD16_BYTE( "p4rom5_24.bin", 0x00000, 0x80000, CRC(5e184b6e) SHA1(a00eb5a62246ec00e1af6e8c0629a118f71f0c58) ) | |
| 1082 | ROM_LOAD16_BYTE( "p4rom6_24.bin", 0x00001, 0x80000, CRC(598d2117) SHA1(8391054aa8deb8480a69de97b8f5316e7864ed2d) ) | |
| 1170 | ROM_LOAD16_BYTE( "p4rom5.bin", 0x00000, 0x80000, CRC(34a00b25) SHA1(a0bf3b6a40b73e69d790d0f36d12de4851411995) ) | |
| 1171 | ROM_LOAD16_BYTE( "p4rom6.bin", 0x00001, 0x80000, CRC(4b9f30a6) SHA1(c6aac500085225d1684533dc765c6c5461a7e652) ) | |
| 1172 | ||
| 1173 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1174 | ROM_LOAD_OPTIONAL( "p4p26e.id", 0x00, 0x20, CRC(af6ee199) SHA1(e5cebc2a182f70366834390c64e9a2576b2cf4d2) ) | |
| 1083 | 1175 | ROM_END |
| 1084 | 1176 | |
| 1085 | ROM_START( parrot3b ) | |
| 1177 | ROM_START( parrot3b1 ) | |
| 1086 | 1178 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1087 | 1179 | ROM_LOAD( "p4pb26r.bin", 0x00000, 0x40000, CRC(c23202ec) SHA1(49d6f996cb32a2d16f6475bd55a755e3f9ed0fe7) ) |
| 1088 | 1180 | |
| r5490 | r5491 | |
| 1101 | 1193 | ROM_LOAD_OPTIONAL( "p4p26r_.id", 0x00, 0x20, CRC(ed815a5a) SHA1(dd2ff09025567725b047ca3750b76248d5eb2682) ) |
| 1102 | 1194 | ROM_END |
| 1103 | 1195 | |
| 1104 | ROM_START( parrot3d ) | |
| 1196 | ROM_START( parrot3d1 ) | |
| 1105 | 1197 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1106 | 1198 | ROM_LOAD( "p4pd26r.bin", 0x00000, 0x40000, CRC(f68a623c) SHA1(d2166364d4ade9c3cc5c4dfd0331b69de35ec011) ) |
| 1107 | 1199 | |
| r5490 | r5491 | |
| 1120 | 1212 | ROM_LOAD_OPTIONAL( "p4p26r.id", 0x00, 0x20, CRC(0cd529ee) SHA1(c473d82a7e7255df057dcc78f9e00ebfceee6f09) ) |
| 1121 | 1213 | ROM_END |
| 1122 | 1214 | |
| 1123 | ROM_START( parrot3v ) | |
| 1215 | ROM_START( parrot3v1 ) | |
| 1124 | 1216 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1125 | ROM_LOAD( "p4pv26 | |
| 1217 | ROM_LOAD( "p4pv26r.bin", 0x00000, 0x40000, CRC(f4f43a29 | |
| 1126 | 1218 | |
| 1127 | 1219 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1128 | 1220 | ROM_LOAD( "p4rom2.bin", 0x00000, 0x40000, CRC(d0574efc) SHA1(dd6628450883f0f723744e7caf6525bca7b18a43) ) |
| r5490 | r5491 | |
| 1136 | 1228 | ROM_LOAD16_BYTE( "p4rom6.bin", 0x00001, 0x80000, CRC(4b9f30a6) SHA1(c6aac500085225d1684533dc765c6c5461a7e652) ) |
| 1137 | 1229 | |
| 1138 | 1230 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1139 | ROM_LOAD_OPTIONAL( "p4p26 | |
| 1231 | ROM_LOAD_OPTIONAL( "p4p26r.id", 0x00, 0x20, CRC(0cd529ee | |
| 1140 | 1232 | ROM_END |
| 1141 | 1233 | |
| 1142 | ROM_START( parrot3 | |
| 1234 | ROM_START( parrot3o | |
| 1143 | 1235 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1144 | ROM_LOAD( "p4p | |
| 1236 | ROM_LOAD( "p4p | |
| 1145 | 1237 | |
| 1146 | 1238 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1147 | 1239 | ROM_LOAD( "p4rom2.bin", 0x00000, 0x40000, CRC(d0574efc) SHA1(dd6628450883f0f723744e7caf6525bca7b18a43) ) |
| 1148 | 1240 | |
| 1149 | 1241 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 1150 | ROM_LOAD16_BYTE( "p4rom3.bin", 0x00000, 0x80000, CRC(2701d7ab) SHA1(9efeaa3dab2aa3f20501876db2100eae4a5b8af1) ) | |
| 1151 | ROM_LOAD16_BYTE( "p4rom4.bin", 0x00001, 0x80000, CRC(46ebe619) SHA1(811c2d35e4e04e8ecd7f4f2a7040de302d2ed91c) ) | |
| 1242 | ROM_LOAD16_BYTE( "p4rom3_24.bin", 0x00000, 0x80000, CRC(c5fc21cb) SHA1(b4137a97611ff688fbfa688eb3108622bed8da5b) ) | |
| 1243 | ROM_LOAD16_BYTE( "p4rom4_24.bin", 0x00001, 0x80000, CRC(bbe174d3) SHA1(75d964d37470843962419ead170f1db9a1dcc4c4) ) | |
| 1152 | 1244 | |
| 1153 | 1245 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1154 | ROM_LOAD16_BYTE( "p4rom5.bin", 0x00000, 0x80000, CRC(34a00b25) SHA1(a0bf3b6a40b73e69d790d0f36d12de4851411995) ) | |
| 1155 | ROM_LOAD16_BYTE( "p4rom6.bin", 0x00001, 0x80000, CRC(4b9f30a6) SHA1(c6aac500085225d1684533dc765c6c5461a7e652) ) | |
| 1156 | ||
| 1157 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1158 | ROM_LOAD_OPTIONAL( "p4p26r.id", 0x00, 0x20, CRC(0cd529ee) SHA1(c473d82a7e7255df057dcc78f9e00ebfceee6f09) ) | |
| 1246 | ROM_LOAD16_BYTE( "p4rom5_24.bin", 0x00000, 0x80000, CRC(5e184b6e) SHA1(a00eb5a62246ec00e1af6e8c0629a118f71f0c58) ) | |
| 1247 | ROM_LOAD16_BYTE( "p4rom6_24.bin", 0x00001, 0x80000, CRC(598d2117) SHA1(8391054aa8deb8480a69de97b8f5316e7864ed2d) ) | |
| 1159 | 1248 | ROM_END |
| 1160 | 1249 | |
| 1250 | /* Hold & Spin I */ | |
| 1161 | 1251 | ROM_START( hldspin1 ) |
| 1162 | 1252 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1163 | ROM_LOAD( "hs1 | |
| 1253 | ROM_LOAD( "hs1b27t.bin", 0x00000, 0x40000, CRC(b4 | |
| 1164 | 1254 | |
| 1165 | 1255 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1166 | 1256 | ROM_LOAD( "hs_2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) |
| r5490 | r5491 | |
| 1172 | 1262 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1173 | 1263 | ROM_LOAD16_BYTE( "hs_5.bin", 0x00000, 0x40000, CRC(09931910) SHA1(cac792f7c67d0ea274ecb369cef0554a033e8d88) ) |
| 1174 | 1264 | ROM_LOAD16_BYTE( "hs_6.bin", 0x00001, 0x40000, CRC(801703e4) SHA1(7da822b03a6d4f53a49bb1fedc9e1262d8a84782) ) |
| 1265 | ||
| 1266 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1267 | ROM_LOAD_OPTIONAL( "hsi27t_.id", 0x00, 0x20, CRC(f42e2f6c) SHA1(ae6c85b2f6419cdde6d7e074ef2feff7e6d8f9b6) ) | |
| 1175 | 1268 | ROM_END |
| 1176 | 1269 | |
| 1177 | ROM_START( hldspin1 | |
| 1270 | ROM_START( hldspin1dt ) | |
| 1178 | 1271 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1179 | ROM_LOAD( "hs1 | |
| 1272 | ROM_LOAD( "hs1d27t.bin", 0x00000, 0x40000, CRC(c3fc35a3 | |
| 1180 | 1273 | |
| 1181 | 1274 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1182 | 1275 | ROM_LOAD( "hs_2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) |
| r5490 | r5491 | |
| 1190 | 1283 | ROM_LOAD16_BYTE( "hs_6.bin", 0x00001, 0x40000, CRC(801703e4) SHA1(7da822b03a6d4f53a49bb1fedc9e1262d8a84782) ) |
| 1191 | 1284 | |
| 1192 | 1285 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1193 | ROM_LOAD_OPTIONAL( "hsi27t | |
| 1286 | ROM_LOAD_OPTIONAL( "hsi27t | |
| 1194 | 1287 | ROM_END |
| 1195 | 1288 | |
| 1196 | ROM_START( hldspin1 | |
| 1289 | ROM_START( hldspin1vt ) | |
| 1197 | 1290 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1198 | ROM_LOAD( "hs1 | |
| 1291 | ROM_LOAD( "hs1v27t.bin", 0x00000, 0x40000, CRC(99347659 | |
| 1199 | 1292 | |
| 1200 | 1293 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1201 | 1294 | ROM_LOAD( "hs_2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) |
| r5490 | r5491 | |
| 1212 | 1305 | ROM_LOAD_OPTIONAL( "hsi27t.id", 0x00, 0x20, CRC(c3761302) SHA1(c2253092425650cf99098dbc8fd96966b5726a90) ) |
| 1213 | 1306 | ROM_END |
| 1214 | 1307 | |
| 1215 | ROM_START( hldspin1 | |
| 1308 | ROM_START( hldspin1o ) | |
| 1216 | 1309 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1217 | ROM_LOAD( "hs1 | |
| 1310 | ROM_LOAD( "hs1p25t.bin", 0x00000, 0x40000, CRC(0fce | |
| 1218 | 1311 | |
| 1219 | 1312 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1220 | 1313 | ROM_LOAD( "hs_2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) |
| r5490 | r5491 | |
| 1226 | 1319 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1227 | 1320 | ROM_LOAD16_BYTE( "hs_5.bin", 0x00000, 0x40000, CRC(09931910) SHA1(cac792f7c67d0ea274ecb369cef0554a033e8d88) ) |
| 1228 | 1321 | ROM_LOAD16_BYTE( "hs_6.bin", 0x00001, 0x40000, CRC(801703e4) SHA1(7da822b03a6d4f53a49bb1fedc9e1262d8a84782) ) |
| 1229 | ||
| 1230 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1231 | ROM_LOAD_OPTIONAL( "hsi27t.id", 0x00, 0x20, CRC(c3761302) SHA1(c2253092425650cf99098dbc8fd96966b5726a90) ) | |
| 1232 | 1322 | ROM_END |
| 1233 | 1323 | |
| 1324 | ||
| 1325 | /* Hold & Spin II */ | |
| 1234 | 1326 | ROM_START( hldspin2 ) |
| 1235 | 1327 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1236 | ROM_LOAD( "hs2 | |
| 1328 | ROM_LOAD( "hs2b28r.bin", 0x00000, 0x40000, CRC( | |
| 1237 | 1329 | |
| 1238 | 1330 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1239 | 1331 | ROM_LOAD( "hs_2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) |
| r5490 | r5491 | |
| 1245 | 1337 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1246 | 1338 | ROM_LOAD16_BYTE( "hs_5.bin", 0x00000, 0x40000, CRC(09931910) SHA1(cac792f7c67d0ea274ecb369cef0554a033e8d88) ) |
| 1247 | 1339 | ROM_LOAD16_BYTE( "hs_6.bin", 0x00001, 0x40000, CRC(801703e4) SHA1(7da822b03a6d4f53a49bb1fedc9e1262d8a84782) ) |
| 1340 | ||
| 1341 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1342 | ROM_LOAD_OPTIONAL( "hsii28r_.id", 0x00, 0x20, CRC(a3aef393) SHA1(c21c425e598fb01b151bb37bc16791e26c96c021) ) | |
| 1248 | 1343 | ROM_END |
| 1249 | 1344 | |
| 1250 | ROM_START( hldspin2 | |
| 1345 | ROM_START( hldspin2d1 ) | |
| 1251 | 1346 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1252 | ROM_LOAD( "hs2 | |
| 1347 | ROM_LOAD( "hs2d28r.bin", 0x00000, 0x40000, CRC(6e38c | |
| 1253 | 1348 | |
| 1254 | 1349 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1255 | 1350 | ROM_LOAD( "hs_2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) |
| r5490 | r5491 | |
| 1263 | 1358 | ROM_LOAD16_BYTE( "hs_6.bin", 0x00001, 0x40000, CRC(801703e4) SHA1(7da822b03a6d4f53a49bb1fedc9e1262d8a84782) ) |
| 1264 | 1359 | |
| 1265 | 1360 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1266 | ROM_LOAD_OPTIONAL( "hsii28r | |
| 1361 | ROM_LOAD_OPTIONAL( "hsii28r | |
| 1267 | 1362 | ROM_END |
| 1268 | 1363 | |
| 1269 | ROM_START( hldspin2 | |
| 1364 | ROM_START( hldspin2v1 ) | |
| 1270 | 1365 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1271 | ROM_LOAD( "hs2 | |
| 1366 | ROM_LOAD( "hs2v28r.bin", 0x00000, 0x40000, CRC(6f2fd | |
| 1272 | 1367 | |
| 1273 | 1368 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1274 | 1369 | ROM_LOAD( "hs_2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) |
| r5490 | r5491 | |
| 1285 | 1380 | ROM_LOAD_OPTIONAL( "hsii28r.id", 0x00, 0x20, CRC(ee237c53) SHA1(30b2cf73256a1815936cbb7147ea9d0bd2150a93) ) |
| 1286 | 1381 | ROM_END |
| 1287 | 1382 | |
| 1288 | ROM_START( hldspin2 | |
| 1383 | ROM_START( hldspin2o ) | |
| 1289 | 1384 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1290 | ROM_LOAD( "hs2 | |
| 1385 | ROM_LOAD( "hs2p26 | |
| 1291 | 1386 | |
| 1292 | 1387 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1293 | 1388 | ROM_LOAD( "hs_2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) |
| r5490 | r5491 | |
| 1299 | 1394 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1300 | 1395 | ROM_LOAD16_BYTE( "hs_5.bin", 0x00000, 0x40000, CRC(09931910) SHA1(cac792f7c67d0ea274ecb369cef0554a033e8d88) ) |
| 1301 | 1396 | ROM_LOAD16_BYTE( "hs_6.bin", 0x00001, 0x40000, CRC(801703e4) SHA1(7da822b03a6d4f53a49bb1fedc9e1262d8a84782) ) |
| 1397 | ROM_END | |
| 1302 | 1398 | |
| 1399 | /* Fruit Carnival Nudge */ | |
| 1400 | ROM_START( fcnudge ) | |
| 1401 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ | |
| 1402 | ROM_LOAD( "fcv21n.bin", 0x00000, 0x40000, CRC(c1f839bd) SHA1(12da36b864adcabe0386dc2e17dd9550fb23b641) ) | |
| 1403 | ||
| 1404 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 1405 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 1406 | ||
| 1407 | ROM_REGION( 0x100000, "gfx1", 0 ) | |
| 1408 | ROM_LOAD16_BYTE( "fcrom3n.bin", 0x00000, 0x80000, CRC(3d1c3d7f) SHA1(bcb20c08a0a2a36775052ae45258862afc00d61d) ) | |
| 1409 | ROM_LOAD16_BYTE( "fcrom4n.bin", 0x00001, 0x80000, CRC(a047861e) SHA1(b5d160c25945c7c103160e80d545cb3e1091e631) ) | |
| 1410 | ||
| 1411 | ROM_REGION( 0x100000, "gfx2", 0 ) | |
| 1412 | ROM_LOAD16_BYTE( "fcrom5n.bin", 0x00000, 0x80000, CRC(42955842) SHA1(383be3049da5b10ea57a278bc6578ece046058fd) ) | |
| 1413 | ROM_LOAD16_BYTE( "fcrom6n.bin", 0x00001, 0x80000, CRC(eee0f84d) SHA1(4ac096ccea258710f58c8121e7f0af28593d6368) ) | |
| 1414 | ||
| 1303 | 1415 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1304 | ROM_LOAD_OPTIONAL( " | |
| 1416 | ROM_LOAD_OPTIONAL( "fc | |
| 1305 | 1417 | ROM_END |
| 1306 | 1418 | |
| 1419 | ROM_START( fcnudgeo ) | |
| 1420 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ | |
| 1421 | ROM_LOAD( "fcb20n.bin", 0x00000, 0x40000, CRC(f8de6fe2) SHA1(ff47b3f467e701897471b6aa912c086019d9ee6a) ) | |
| 1422 | ||
| 1423 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 1424 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 1425 | ||
| 1426 | ROM_REGION( 0x100000, "gfx1", 0 ) | |
| 1427 | ROM_LOAD16_BYTE( "fcrom3n.bin", 0x00000, 0x80000, CRC(3d1c3d7f) SHA1(bcb20c08a0a2a36775052ae45258862afc00d61d) ) | |
| 1428 | ROM_LOAD16_BYTE( "fcrom4n.bin", 0x00001, 0x80000, CRC(a047861e) SHA1(b5d160c25945c7c103160e80d545cb3e1091e631) ) | |
| 1429 | ||
| 1430 | ROM_REGION( 0x100000, "gfx2", 0 ) | |
| 1431 | ROM_LOAD16_BYTE( "fcrom5n.bin", 0x00000, 0x80000, CRC(42955842) SHA1(383be3049da5b10ea57a278bc6578ece046058fd) ) | |
| 1432 | ROM_LOAD16_BYTE( "fcrom6n.bin", 0x00001, 0x80000, CRC(eee0f84d) SHA1(4ac096ccea258710f58c8121e7f0af28593d6368) ) | |
| 1433 | ||
| 1434 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1435 | ROM_LOAD_OPTIONAL( "fc20n_.id", 0x00, 0x20, CRC(b6072181) SHA1(f666cdc7be23bb2445cae6a338a6739c7f64f907) ) | |
| 1436 | ROM_END | |
| 1437 | ||
| 1438 | ROM_START( fcnudgeo2 ) | |
| 1439 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ | |
| 1440 | ROM_LOAD( "fcd20n.bin", 0x00000, 0x40000, CRC(64c6a5cc) SHA1(dadc22ef7c2415c269619f63bca7761775eacf74) ) | |
| 1441 | ||
| 1442 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 1443 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 1444 | ||
| 1445 | ROM_REGION( 0x100000, "gfx1", 0 ) | |
| 1446 | ROM_LOAD16_BYTE( "fcrom3n.bin", 0x00000, 0x80000, CRC(3d1c3d7f) SHA1(bcb20c08a0a2a36775052ae45258862afc00d61d) ) | |
| 1447 | ROM_LOAD16_BYTE( "fcrom4n.bin", 0x00001, 0x80000, CRC(a047861e) SHA1(b5d160c25945c7c103160e80d545cb3e1091e631) ) | |
| 1448 | ||
| 1449 | ROM_REGION( 0x100000, "gfx2", 0 ) | |
| 1450 | ROM_LOAD16_BYTE( "fcrom5n.bin", 0x00000, 0x80000, CRC(42955842) SHA1(383be3049da5b10ea57a278bc6578ece046058fd) ) | |
| 1451 | ROM_LOAD16_BYTE( "fcrom6n.bin", 0x00001, 0x80000, CRC(eee0f84d) SHA1(4ac096ccea258710f58c8121e7f0af28593d6368) ) | |
| 1452 | ||
| 1453 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1454 | ROM_LOAD_OPTIONAL( "fc20n.id", 0x00, 0x20, CRC(1d8fa4c9) SHA1(f389aab05538688e21bc41ded91f8a2ccf0a7a38) ) | |
| 1455 | ROM_END | |
| 1456 | ||
| 1457 | ROM_START( fcnudgeo3 ) | |
| 1458 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ | |
| 1459 | ROM_LOAD( "fc17n.bin", 0x00000, 0x40000, CRC(b9193d4f) SHA1(5ed77802e5a8f246eb1a559c13ad544adae35201) ) | |
| 1460 | ||
| 1461 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 1462 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 1463 | ||
| 1464 | ROM_REGION( 0x100000, "gfx1", 0 ) | |
| 1465 | ROM_LOAD16_BYTE( "fcrom3n.bin", 0x00000, 0x80000, CRC(3d1c3d7f) SHA1(bcb20c08a0a2a36775052ae45258862afc00d61d) ) | |
| 1466 | ROM_LOAD16_BYTE( "fcrom4n.bin", 0x00001, 0x80000, CRC(a047861e) SHA1(b5d160c25945c7c103160e80d545cb3e1091e631) ) | |
| 1467 | ||
| 1468 | ROM_REGION( 0x100000, "gfx2", 0 ) | |
| 1469 | ROM_LOAD16_BYTE( "fcrom5n.bin", 0x00000, 0x80000, CRC(42955842) SHA1(383be3049da5b10ea57a278bc6578ece046058fd) ) | |
| 1470 | ROM_LOAD16_BYTE( "fcrom6n.bin", 0x00001, 0x80000, CRC(eee0f84d) SHA1(4ac096ccea258710f58c8121e7f0af28593d6368) ) | |
| 1471 | ROM_END | |
| 1472 | ||
| 1473 | /* Pick 'n Win */ | |
| 1307 | 1474 | ROM_START( pickwin ) |
| 1308 | 1475 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1309 | ROM_LOAD( "pw2 | |
| 1476 | ROM_LOAD( "pwv29e.bin", 0x00000, 0x40000, CRC(9b | |
| 1310 | 1477 | |
| 1311 | 1478 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1312 | 1479 | ROM_LOAD( "pw-2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) |
| r5490 | r5491 | |
| 1318 | 1485 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1319 | 1486 | ROM_LOAD16_BYTE( "pw-5.bin", 0x00000, 0x40000, CRC(ec2ac284) SHA1(35cfab27db3740823b3cba821bd178d28e0be5f8) ) |
| 1320 | 1487 | ROM_LOAD16_BYTE( "pw-6.bin", 0x00001, 0x40000, CRC(aba36d00) SHA1(5abb1fe7d4f212fa0f7d5314f76e7c6b07e6c4bb) ) |
| 1488 | ||
| 1489 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1490 | ROM_LOAD_OPTIONAL( "pw29e.id", 0x00, 0x20, CRC(3a412685) SHA1(2c650d20dcf4f05154a9e589865d90496bbf4192) ) | |
| 1321 | 1491 | ROM_END |
| 1322 | 1492 | |
| 1323 | ROM_START( pickwin | |
| 1493 | ROM_START( pickwinb1 ) | |
| 1324 | 1494 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1325 | ROM_LOAD( "pw2 | |
| 1495 | ROM_LOAD( "pwb29r.bin", 0x00000, 0x40000, CRC(c | |
| 1326 | 1496 | |
| 1327 | 1497 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1328 | 1498 | ROM_LOAD( "pw-2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) |
| r5490 | r5491 | |
| 1334 | 1504 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1335 | 1505 | ROM_LOAD16_BYTE( "pw-5.bin", 0x00000, 0x40000, CRC(ec2ac284) SHA1(35cfab27db3740823b3cba821bd178d28e0be5f8) ) |
| 1336 | 1506 | ROM_LOAD16_BYTE( "pw-6.bin", 0x00001, 0x40000, CRC(aba36d00) SHA1(5abb1fe7d4f212fa0f7d5314f76e7c6b07e6c4bb) ) |
| 1507 | ||
| 1508 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1509 | ROM_LOAD_OPTIONAL( "pw29r_.id", 0x00, 0x20, CRC(f3903673) SHA1(e8ab992fcc19e271b141d6e3233db3fb0a1f6181) ) | |
| 1337 | 1510 | ROM_END |
| 1338 | 1511 | |
| 1339 | ROM_START( pickwinb ) | |
| 1512 | ROM_START( pickwinbt ) | |
| 1340 | 1513 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1341 | 1514 | ROM_LOAD( "pwb28t.bin", 0x00000, 0x40000, CRC(884ba143) SHA1(1210a9ee04468ef33902a358f4c1966f3a9169c9) ) |
| 1342 | 1515 | |
| r5490 | r5491 | |
| 1355 | 1528 | ROM_LOAD_OPTIONAL( "pw28t_.id", 0x00, 0x20, CRC(5cea03d7) SHA1(421afef36be9228a87bf81d8df001a91f6c9ec98) ) |
| 1356 | 1529 | ROM_END |
| 1357 | 1530 | |
| 1358 | ROM_START( pickwin | |
| 1531 | ROM_START( pickwind1 ) | |
| 1359 | 1532 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1360 | ROM_LOAD( "pw | |
| 1533 | ROM_LOAD( "pwd29r.bin", 0x00000, 0x40000, CRC(cb9f77e1) SHA1(5 | |
| 1361 | 1534 | |
| 1362 | 1535 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1363 | 1536 | ROM_LOAD( "pw-2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) |
| r5490 | r5491 | |
| 1371 | 1544 | ROM_LOAD16_BYTE( "pw-6.bin", 0x00001, 0x40000, CRC(aba36d00) SHA1(5abb1fe7d4f212fa0f7d5314f76e7c6b07e6c4bb) ) |
| 1372 | 1545 | |
| 1373 | 1546 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1374 | ROM_LOAD_OPTIONAL( "pw29r | |
| 1547 | ROM_LOAD_OPTIONAL( "pw29r | |
| 1375 | 1548 | ROM_END |
| 1376 | 1549 | |
| 1377 | ROM_START( pickwind ) | |
| 1550 | ROM_START( pickwindt ) | |
| 1378 | 1551 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1379 | 1552 | ROM_LOAD( "pwd28t.bin", 0x00000, 0x40000, CRC(8e3c50ee) SHA1(d673f89eb5755a0601c373874eb1789f9afd4ba3) ) |
| 1380 | 1553 | |
| r5490 | r5491 | |
| 1393 | 1566 | ROM_LOAD_OPTIONAL( "pw28t.id", 0x00, 0x20, CRC(9f6dbd2a) SHA1(56cb91bffc45000c0f600bdc55b98e464a041be3) ) |
| 1394 | 1567 | ROM_END |
| 1395 | 1568 | |
| 1396 | ROM_START( pickwin | |
| 1569 | ROM_START( pickwinv1 ) | |
| 1397 | 1570 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1398 | ROM_LOAD( "pw | |
| 1571 | ROM_LOAD( "pwv29r.bin", 0x00000, 0x40000, CRC(a08dcc45 | |
| 1399 | 1572 | |
| 1400 | 1573 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1401 | 1574 | ROM_LOAD( "pw-2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) |
| r5490 | r5491 | |
| 1412 | 1585 | ROM_LOAD_OPTIONAL( "pw29r.id", 0x00, 0x20, CRC(4e79a0ee) SHA1(941d94da4f4bf40fb1c851b032ebb1d7f4241efb) ) |
| 1413 | 1586 | ROM_END |
| 1414 | 1587 | |
| 1415 | ROM_START( pickwinv ) | |
| 1588 | ROM_START( pickwinvt ) | |
| 1416 | 1589 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1417 | 1590 | ROM_LOAD( "pwv28t.bin", 0x00000, 0x40000, CRC(2a523363) SHA1(cb6f0e4b3126ee6952c2eb5c789f8c1e368d12ee) ) |
| 1418 | 1591 | |
| r5490 | r5491 | |
| 1431 | 1604 | ROM_LOAD_OPTIONAL( "pw28t.id", 0x00, 0x20, CRC(9f6dbd2a) SHA1(56cb91bffc45000c0f600bdc55b98e464a041be3) ) |
| 1432 | 1605 | ROM_END |
| 1433 | 1606 | |
| 1434 | ROM_START( pickwin | |
| 1607 | ROM_START( pickwino | |
| 1435 | 1608 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1436 | ROM_LOAD( "pw | |
| 1609 | ROM_LOAD( "pw | |
| 1437 | 1610 | |
| 1438 | 1611 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1439 | 1612 | ROM_LOAD( "pw-2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) |
| r5490 | r5491 | |
| 1445 | 1618 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1446 | 1619 | ROM_LOAD16_BYTE( "pw-5.bin", 0x00000, 0x40000, CRC(ec2ac284) SHA1(35cfab27db3740823b3cba821bd178d28e0be5f8) ) |
| 1447 | 1620 | ROM_LOAD16_BYTE( "pw-6.bin", 0x00001, 0x40000, CRC(aba36d00) SHA1(5abb1fe7d4f212fa0f7d5314f76e7c6b07e6c4bb) ) |
| 1448 | ||
| 1449 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1450 | ROM_LOAD_OPTIONAL( "pw29e.id", 0x00, 0x20, CRC(3a412685) SHA1(2c650d20dcf4f05154a9e589865d90496bbf4192) ) | |
| 1451 | 1621 | ROM_END |
| 1452 | 1622 | |
| 1453 | ROM_START( pickwin | |
| 1623 | ROM_START( pickwino2 ) | |
| 1454 | 1624 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1455 | ROM_LOAD( "pw | |
| 1625 | ROM_LOAD( "pw | |
| 1456 | 1626 | |
| 1457 | 1627 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1458 | 1628 | ROM_LOAD( "pw-2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) |
| r5490 | r5491 | |
| 1464 | 1634 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1465 | 1635 | ROM_LOAD16_BYTE( "pw-5.bin", 0x00000, 0x40000, CRC(ec2ac284) SHA1(35cfab27db3740823b3cba821bd178d28e0be5f8) ) |
| 1466 | 1636 | ROM_LOAD16_BYTE( "pw-6.bin", 0x00001, 0x40000, CRC(aba36d00) SHA1(5abb1fe7d4f212fa0f7d5314f76e7c6b07e6c4bb) ) |
| 1467 | ||
| 1468 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1469 | ROM_LOAD_OPTIONAL( "pw29r.id", 0x00, 0x20, CRC(4e79a0ee) SHA1(941d94da4f4bf40fb1c851b032ebb1d7f4241efb) ) | |
| 1470 | 1637 | ROM_END |
| 1471 | 1638 | |
| 1639 | /* Tiger Hook */ | |
| 1472 | 1640 | ROM_START( tighook ) |
| 1473 | 1641 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1474 | ROM_LOAD( "thk1 | |
| 1642 | ROM_LOAD( "thkv21e | |
| 1475 | 1643 | |
| 1476 | 1644 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1477 | 1645 | ROM_LOAD( "thkrom2.bin", 0x00000, 0x40000, CRC(61b61b75) SHA1(e71c5ab6aedb7ca4db32a2f4d7d2818dcdd92417) ) |
| r5490 | r5491 | |
| 1484 | 1652 | ROM_LOAD16_BYTE( "thkrom5.bin", 0x00000, 0x80000, CRC(4085e345) SHA1(38c8e4727a782630527141e1586fcceff1d07d76) ) |
| 1485 | 1653 | ROM_LOAD16_BYTE( "thkrom6.bin", 0x00001, 0x80000, CRC(637695ff) SHA1(a5707b545968ac9d41c1a4ffd4de60a9df4bcbf1) ) |
| 1486 | 1654 | |
| 1487 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1488 | ROM_LOAD_OPTIONAL( "thk17t.id", 0x00, 0x20, CRC(2732964b) SHA1(1a72804d993ec05bb92693a6bc1d3253a8f1ada0) ) | |
| 1655 | ROM_REGION( 0x20, "defaults", ROMREGION_ERASE00 ) /* default settings */ | |
| 1656 | ROM_LOAD_OPTIONAL( "thk21e.id", 0x00, 0x20, CRC(cfeb62ed) SHA1(2e8032736b1b450a03ee21ba407494c273399a60) ) | |
| 1489 | 1657 | ROM_END |
| 1490 | 1658 | |
| 1491 | ROM_START( tighook | |
| 1659 | ROM_START( tighookc1 ) | |
| 1492 | 1660 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1493 | ROM_LOAD( "thk1 | |
| 1661 | ROM_LOAD( "thkc21r.bin", 0x00000, 0x40000, CRC(04bf78b1 | |
| 1494 | 1662 | |
| 1495 | 1663 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1496 | 1664 | ROM_LOAD( "thkrom2.bin", 0x00000, 0x40000, CRC(61b61b75) SHA1(e71c5ab6aedb7ca4db32a2f4d7d2818dcdd92417) ) |
| r5490 | r5491 | |
| 1504 | 1672 | ROM_LOAD16_BYTE( "thkrom6.bin", 0x00001, 0x80000, CRC(637695ff) SHA1(a5707b545968ac9d41c1a4ffd4de60a9df4bcbf1) ) |
| 1505 | 1673 | |
| 1506 | 1674 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1507 | ROM_LOAD_OPTIONAL( "thk17r.id", 0x00, 0x20, CRC(4766771f) SHA1(9436d647dddc793cc373b1e45163f5af34d025b8) ) | |
| 1508 | ||
| 1675 | ROM_LOAD_OPTIONAL( "thk21r.id", 0x00, 0x20, CRC(6d92c0ad) SHA1(1f1be92bcbdda461f6d36382d72af389f767d63d) ) | |
| 1509 | 1676 | ROM_END |
| 1510 | 1677 | |
| 1511 | ||
| 1512 | ||
| 1513 | ROM_START( tighookc ) | |
| 1678 | ROM_START( tighookc2 ) | |
| 1514 | 1679 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1515 | ROM_LOAD( "thkc2 | |
| 1680 | ROM_LOAD( "thkc20lt.bin", 0x00000, 0x40000, CRC(dc6 | |
| 1516 | 1681 | |
| 1517 | 1682 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1518 | 1683 | ROM_LOAD( "thkrom2.bin", 0x00000, 0x40000, CRC(61b61b75) SHA1(e71c5ab6aedb7ca4db32a2f4d7d2818dcdd92417) ) |
| r5490 | r5491 | |
| 1526 | 1691 | ROM_LOAD16_BYTE( "thkrom6.bin", 0x00001, 0x80000, CRC(637695ff) SHA1(a5707b545968ac9d41c1a4ffd4de60a9df4bcbf1) ) |
| 1527 | 1692 | |
| 1528 | 1693 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1529 | ROM_LOAD_OPTIONAL( "thk2 | |
| 1694 | ROM_LOAD_OPTIONAL( "thk20lt.id", 0x00, 0x20, CRC(04 | |
| 1530 | 1695 | ROM_END |
| 1531 | 1696 | |
| 1532 | ROM_START( tighook | |
| 1697 | ROM_START( tighookd1 ) | |
| 1533 | 1698 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1534 | ROM_LOAD( "thk | |
| 1699 | ROM_LOAD( "thkd21r | |
| 1535 | 1700 | |
| 1536 | 1701 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1537 | 1702 | ROM_LOAD( "thkrom2.bin", 0x00000, 0x40000, CRC(61b61b75) SHA1(e71c5ab6aedb7ca4db32a2f4d7d2818dcdd92417) ) |
| r5490 | r5491 | |
| 1545 | 1710 | ROM_LOAD16_BYTE( "thkrom6.bin", 0x00001, 0x80000, CRC(637695ff) SHA1(a5707b545968ac9d41c1a4ffd4de60a9df4bcbf1) ) |
| 1546 | 1711 | |
| 1547 | 1712 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1548 | ROM_LOAD_OPTIONAL( "thk2 | |
| 1713 | ROM_LOAD_OPTIONAL( "thk21r | |
| 1549 | 1714 | ROM_END |
| 1550 | 1715 | |
| 1551 | ROM_START( tighook | |
| 1716 | ROM_START( tighookd2 ) | |
| 1552 | 1717 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1553 | ROM_LOAD( "thk | |
| 1718 | ROM_LOAD( "thkd20lt.bin", 0x00000, 0x40000, CRC(2b | |
| 1554 | 1719 | |
| 1555 | 1720 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1556 | 1721 | ROM_LOAD( "thkrom2.bin", 0x00000, 0x40000, CRC(61b61b75) SHA1(e71c5ab6aedb7ca4db32a2f4d7d2818dcdd92417) ) |
| r5490 | r5491 | |
| 1564 | 1729 | ROM_LOAD16_BYTE( "thkrom6.bin", 0x00001, 0x80000, CRC(637695ff) SHA1(a5707b545968ac9d41c1a4ffd4de60a9df4bcbf1) ) |
| 1565 | 1730 | |
| 1566 | 1731 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1567 | ROM_LOAD_OPTIONAL( "thk2 | |
| 1732 | ROM_LOAD_OPTIONAL( "thk20lt.id", 0x00, 0x20, CRC(04 | |
| 1568 | 1733 | ROM_END |
| 1569 | 1734 | |
| 1570 | ROM_START( tighookv | |
| 1735 | ROM_START( tighookv1 ) | |
| 1571 | 1736 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1572 | ROM_LOAD( "thkv21 | |
| 1737 | ROM_LOAD( "thkv21r.bin", 0x00000, 0x40000, CRC(3 | |
| 1573 | 1738 | |
| 1574 | 1739 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1575 | 1740 | ROM_LOAD( "thkrom2.bin", 0x00000, 0x40000, CRC(61b61b75) SHA1(e71c5ab6aedb7ca4db32a2f4d7d2818dcdd92417) ) |
| r5490 | r5491 | |
| 1582 | 1747 | ROM_LOAD16_BYTE( "thkrom5.bin", 0x00000, 0x80000, CRC(4085e345) SHA1(38c8e4727a782630527141e1586fcceff1d07d76) ) |
| 1583 | 1748 | ROM_LOAD16_BYTE( "thkrom6.bin", 0x00001, 0x80000, CRC(637695ff) SHA1(a5707b545968ac9d41c1a4ffd4de60a9df4bcbf1) ) |
| 1584 | 1749 | |
| 1585 | ROM_REGION( 0x20, "defaults", ROMREGION_ERASE00 ) /* default settings */ | |
| 1586 | ROM_LOAD_OPTIONAL( "thk21e.id", 0x00, 0x20, CRC(cfeb62ed) SHA1(2e8032736b1b450a03ee21ba407494c273399a60) ) | |
| 1750 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1751 | ROM_LOAD_OPTIONAL( "thk21r.id", 0x00, 0x20, CRC(6d92c0ad) SHA1(1f1be92bcbdda461f6d36382d72af389f767d63d) ) | |
| 1587 | 1752 | ROM_END |
| 1588 | 1753 | |
| 1589 | ROM_START( tighookv | |
| 1754 | ROM_START( tighookv2 ) | |
| 1590 | 1755 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1591 | 1756 | ROM_LOAD( "thkv20lt.bin", 0x00000, 0x40000, CRC(07a8e921) SHA1(2c92ec7187d441d1b205eea626d32a6a41a53918) ) |
| 1592 | 1757 | |
| r5490 | r5491 | |
| 1605 | 1770 | ROM_LOAD_OPTIONAL( "thk20lt.id", 0x00, 0x20, CRC(042cd62e) SHA1(1d145001ddbab44dee055d8dea72426a95150922) ) |
| 1606 | 1771 | ROM_END |
| 1607 | 1772 | |
| 1608 | ROM_START( tighook | |
| 1773 | ROM_START( tighooko ) | |
| 1609 | 1774 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1610 | ROM_LOAD( "thk | |
| 1775 | ROM_LOAD( "thk | |
| 1611 | 1776 | |
| 1612 | 1777 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1613 | 1778 | ROM_LOAD( "thkrom2.bin", 0x00000, 0x40000, CRC(61b61b75) SHA1(e71c5ab6aedb7ca4db32a2f4d7d2818dcdd92417) ) |
| r5490 | r5491 | |
| 1621 | 1786 | ROM_LOAD16_BYTE( "thkrom6.bin", 0x00001, 0x80000, CRC(637695ff) SHA1(a5707b545968ac9d41c1a4ffd4de60a9df4bcbf1) ) |
| 1622 | 1787 | |
| 1623 | 1788 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1624 | ROM_LOAD_OPTIONAL( "thk | |
| 1789 | ROM_LOAD_OPTIONAL( "thk | |
| 1625 | 1790 | ROM_END |
| 1626 | 1791 | |
| 1627 | ROM_START( tighook | |
| 1792 | ROM_START( tighooko2 ) | |
| 1628 | 1793 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1629 | ROM_LOAD( "thk | |
| 1794 | ROM_LOAD( "thk17 | |
| 1630 | 1795 | |
| 1631 | 1796 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1632 | 1797 | ROM_LOAD( "thkrom2.bin", 0x00000, 0x40000, CRC(61b61b75) SHA1(e71c5ab6aedb7ca4db32a2f4d7d2818dcdd92417) ) |
| r5490 | r5491 | |
| 1640 | 1805 | ROM_LOAD16_BYTE( "thkrom6.bin", 0x00001, 0x80000, CRC(637695ff) SHA1(a5707b545968ac9d41c1a4ffd4de60a9df4bcbf1) ) |
| 1641 | 1806 | |
| 1642 | 1807 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1643 | ROM_LOAD_OPTIONAL( "thk | |
| 1808 | ROM_LOAD_OPTIONAL( "thk17r | |
| 1644 | 1809 | ROM_END |
| 1645 | 1810 | |
| 1811 | /* Robin's Adventure */ | |
| 1646 | 1812 | ROM_START( robadv ) |
| 1647 | 1813 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1648 | ROM_LOAD( "ra1 | |
| 1814 | ROM_LOAD( "r1av17e.bin", 0x00000, 0x40000, CRC( | |
| 1649 | 1815 | |
| 1650 | 1816 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1651 | 1817 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) |
| r5490 | r5491 | |
| 1659 | 1825 | ROM_LOAD16_BYTE( "rarom6.bin", 0x00001, 0x80000, CRC(0fb69b4c) SHA1(8e1aaf5ade707b4045d55ff64e72cfe5db696332) ) |
| 1660 | 1826 | |
| 1661 | 1827 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1662 | ROM_LOAD_OPTIONAL( "ra1 | |
| 1828 | ROM_LOAD_OPTIONAL( "ra17e1.id", 0x00, 0x20, CRC(e1a0cd9 | |
| 1663 | 1829 | ROM_END |
| 1664 | 1830 | |
| 1665 | ROM_START( robadvc ) | |
| 1831 | ROM_START( robadvc1 ) | |
| 1666 | 1832 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1667 | 1833 | ROM_LOAD( "r1ac17r.bin", 0x00000, 0x40000, CRC(2e086ad9) SHA1(4cf96cf702fe38895d3ba3582cb7d74d79bc2208) ) |
| 1668 | 1834 | |
| r5490 | r5491 | |
| 1681 | 1847 | ROM_LOAD_OPTIONAL( "ra17r1.id", 0x00, 0x20, CRC(95984bfa) SHA1(b345e2a12795f8b8e3f301800c9b4c196db218c6) ) |
| 1682 | 1848 | ROM_END |
| 1683 | 1849 | |
| 1684 | ROM_START( robadvd ) | |
| 1850 | ROM_START( robadvd1 ) | |
| 1685 | 1851 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1686 | 1852 | ROM_LOAD( "r1ad17r.bin", 0x00000, 0x40000, CRC(a00411d0) SHA1(007a3cf7bdd99a0200a2e34b89487f74a60c5561) ) |
| 1687 | 1853 | |
| r5490 | r5491 | |
| 1702 | 1868 | |
| 1703 | 1869 | ROM_START( robadvv1 ) |
| 1704 | 1870 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1705 | ROM_LOAD( "r1av17 | |
| 1871 | ROM_LOAD( "r1av17r.bin", 0x00000, 0x40000, CRC(1f | |
| 1706 | 1872 | |
| 1707 | 1873 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1708 | 1874 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) |
| r5490 | r5491 | |
| 1716 | 1882 | ROM_LOAD16_BYTE( "rarom6.bin", 0x00001, 0x80000, CRC(0fb69b4c) SHA1(8e1aaf5ade707b4045d55ff64e72cfe5db696332) ) |
| 1717 | 1883 | |
| 1718 | 1884 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1719 | ROM_LOAD_OPTIONAL( "ra17 | |
| 1885 | ROM_LOAD_OPTIONAL( "ra17r1.id", 0x00, 0x20, CRC( | |
| 1720 | 1886 | ROM_END |
| 1721 | 1887 | |
| 1722 | ROM_START( robadv | |
| 1888 | ROM_START( robadvo | |
| 1723 | 1889 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1724 | ROM_LOAD( "r | |
| 1890 | ROM_LOAD( "r | |
| 1725 | 1891 | |
| 1726 | 1892 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 1727 | 1893 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) |
| r5490 | r5491 | |
| 1735 | 1901 | ROM_LOAD16_BYTE( "rarom6.bin", 0x00001, 0x80000, CRC(0fb69b4c) SHA1(8e1aaf5ade707b4045d55ff64e72cfe5db696332) ) |
| 1736 | 1902 | |
| 1737 | 1903 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1738 | ROM_LOAD_OPTIONAL( "ra1 | |
| 1904 | ROM_LOAD_OPTIONAL( "ra15r | |
| 1739 | 1905 | ROM_END |
| 1740 | 1906 | |
| 1741 | ||
| 1742 | ||
| 1743 | ||
| 1744 | ROM_START( anibonus ) | |
| 1907 | /* Robin's Adventure 2 */ | |
| 1908 | ROM_START( robadv2 ) | |
| 1745 | 1909 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1746 | ROM_LOAD( "a | |
| 1910 | ROM_LOAD( "r2av17e | |
| 1747 | 1911 | |
| 1748 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 1749 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 1912 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 1913 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 1750 | 1914 | |
| 1751 | 1915 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 1752 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 1753 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 1916 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 1917 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 1754 | 1918 | |
| 1755 | ||
| 1756 | 1919 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1757 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 1758 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 1759 | ROM_END | |
| 1920 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 1921 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 1760 | 1922 | |
| 1761 | ROM_START( anibonus2 ) | |
| 1762 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ | |
| 1763 | ROM_LOAD( "ab15.bin", 0x00000, 0x40000, CRC(4640a2e7) SHA1(2659c037e88f43f89a5d8cd563eec5e4eb2025b9) ) | |
| 1764 | ||
| 1765 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 1766 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 1767 | ||
| 1768 | ROM_REGION( 0x100000, "gfx1", 0 ) | |
| 1769 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 1770 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 1771 | ||
| 1772 | ||
| 1773 | ROM_REGION( 0x100000, "gfx2", 0 ) | |
| 1774 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 1775 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 1923 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1924 | ROM_LOAD_OPTIONAL( "ra17e2.id", 0x00, 0x20, CRC(d048d70c) SHA1(602b0bd23e02577e822e09b3b0bc363f3aeceaba) ) | |
| 1776 | 1925 | ROM_END |
| 1777 | 1926 | |
| 1778 | ROM_START( | |
| 1927 | ROM_START( r | |
| 1779 | 1928 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1780 | ROM_LOAD( "a | |
| 1929 | ROM_LOAD( "r2ac17r | |
| 1781 | 1930 | |
| 1782 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 1783 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 1931 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 1932 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 1784 | 1933 | |
| 1785 | ||
| 1786 | /* unsure which gfx roms */ | |
| 1787 | 1934 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 1788 | ROM_LOAD16_BYTE( "abrom3.bin", 0x00000, 0x80000, CRC(85f19e19) SHA1(2dd259af132e0cfd34974526c96f0d96ff868516) ) | |
| 1789 | ROM_LOAD16_BYTE( "abrom4.bin", 0x00001, 0x80000, CRC(c12b954c) SHA1(83556abbad0f285360da5f5e0fb93514d46b436b) ) | |
| 1935 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 1936 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 1790 | 1937 | |
| 1791 | ROM_LOAD16_BYTE( "abrom3a.bin", 0x00000, 0x80000, CRC(85f19e19) SHA1(2dd259af132e0cfd34974526c96f0d96ff868516) ) | |
| 1792 | ROM_LOAD16_BYTE( "abrom4a.bin", 0x00001, 0x80000, CRC(c12b954c) SHA1(83556abbad0f285360da5f5e0fb93514d46b436b) ) | |
| 1793 | ||
| 1794 | 1938 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1795 | ROM_LOAD16_BYTE( "abrom5.bin", 0x00000, 0x80000, CRC(74b4fa88) SHA1(922d9c4f864be2b125269a69639e6206aec26d72) ) | |
| 1796 | ROM_LOAD16_BYTE( "abrom6.bin", 0x00001, 0x80000, CRC(e8f4b079) SHA1(2597fa17b6a13e634ba9fe846661d09c65fa8cf2) ) | |
| 1939 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 1940 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 1797 | 1941 | |
| 1798 | ROM_LOAD16_BYTE( "abrom5a.bin", 0x00000, 0x80000, CRC(9810f1e2) SHA1(a10954a46d52c5a53a3b11a04e66c4ed3ce2a0f7) ) | |
| 1799 | ROM_LOAD16_BYTE( "abrom6a.bin", 0x00001, 0x80000, CRC(22d2abbe) SHA1(65d82ed0fc799c4248696f1b2ef76e7e88bf7fb7) ) | |
| 1942 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1943 | ROM_LOAD_OPTIONAL( "ra17r2.id", 0x00, 0x20, CRC(a4705167) SHA1(97573248b4d35c665933e34e6e2fa2ea62e0c8a5) ) | |
| 1800 | 1944 | ROM_END |
| 1801 | 1945 | |
| 1802 | ||
| 1803 | ROM_START( anibonus4 ) | |
| 1946 | ROM_START( robadv2c2 ) | |
| 1804 | 1947 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1805 | ROM_LOAD( "a | |
| 1948 | ROM_LOAD( "r2ac17lt.bin", 0x00000, 0x40000, | |
| 1806 | 1949 | |
| 1807 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 1808 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 1950 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 1951 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 1809 | 1952 | |
| 1810 | /* unsure which gfx roms */ | |
| 1811 | 1953 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 1812 | ROM_LOAD16_BYTE( "abrom3.bin", 0x00000, 0x80000, CRC(85f19e19) SHA1(2dd259af132e0cfd34974526c96f0d96ff868516) ) | |
| 1813 | ROM_LOAD16_BYTE( "abrom4.bin", 0x00001, 0x80000, CRC(c12b954c) SHA1(83556abbad0f285360da5f5e0fb93514d46b436b) ) | |
| 1954 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 1955 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 1814 | 1956 | |
| 1815 | ROM_LOAD16_BYTE( "abrom3a.bin", 0x00000, 0x80000, CRC(85f19e19) SHA1(2dd259af132e0cfd34974526c96f0d96ff868516) ) | |
| 1816 | ROM_LOAD16_BYTE( "abrom4a.bin", 0x00001, 0x80000, CRC(c12b954c) SHA1(83556abbad0f285360da5f5e0fb93514d46b436b) ) | |
| 1817 | ||
| 1818 | 1957 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1819 | ROM_LOAD16_BYTE( "abrom5.bin", 0x00000, 0x80000, CRC(74b4fa88) SHA1(922d9c4f864be2b125269a69639e6206aec26d72) ) | |
| 1820 | ROM_LOAD16_BYTE( "abrom6.bin", 0x00001, 0x80000, CRC(e8f4b079) SHA1(2597fa17b6a13e634ba9fe846661d09c65fa8cf2) ) | |
| 1958 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 1959 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 1821 | 1960 | |
| 1822 | ROM_LOAD16_BYTE( "abrom5a.bin", 0x00000, 0x80000, CRC(9810f1e2) SHA1(a10954a46d52c5a53a3b11a04e66c4ed3ce2a0f7) ) | |
| 1823 | ROM_LOAD16_BYTE( "abrom6a.bin", 0x00001, 0x80000, CRC(22d2abbe) SHA1(65d82ed0fc799c4248696f1b2ef76e7e88bf7fb7) ) | |
| 1961 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1962 | ROM_LOAD_OPTIONAL( "ra17lt2.id", 0x00, 0x20, CRC(697f1668) SHA1(cbac3a24fd9f73c91a2903f5dfe2aee7944cffeb) ) | |
| 1824 | 1963 | ROM_END |
| 1825 | 1964 | |
| 1826 | ROM_START( | |
| 1965 | ROM_START( r | |
| 1827 | 1966 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1828 | ROM_LOAD( "a | |
| 1967 | ROM_LOAD( "r2ac17sh.bin", 0x00000, 0x40000, CRC(721fc8a | |
| 1829 | 1968 | |
| 1830 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 1831 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 1969 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 1970 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 1832 | 1971 | |
| 1833 | /* unsure which gfx roms */ | |
| 1834 | 1972 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 1835 | ROM_LOAD16_BYTE( "abrom3.bin", 0x00000, 0x80000, CRC(85f19e19) SHA1(2dd259af132e0cfd34974526c96f0d96ff868516) ) | |
| 1836 | ROM_LOAD16_BYTE( "abrom4.bin", 0x00001, 0x80000, CRC(c12b954c) SHA1(83556abbad0f285360da5f5e0fb93514d46b436b) ) | |
| 1973 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 1974 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 1837 | 1975 | |
| 1838 | ROM_LOAD16_BYTE( "abrom3a.bin", 0x00000, 0x80000, CRC(85f19e19) SHA1(2dd259af132e0cfd34974526c96f0d96ff868516) ) | |
| 1839 | ROM_LOAD16_BYTE( "abrom4a.bin", 0x00001, 0x80000, CRC(c12b954c) SHA1(83556abbad0f285360da5f5e0fb93514d46b436b) ) | |
| 1840 | ||
| 1841 | 1976 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1842 | ROM_LOAD16_BYTE( "abrom5.bin", 0x00000, 0x80000, CRC(74b4fa88) SHA1(922d9c4f864be2b125269a69639e6206aec26d72) ) | |
| 1843 | ROM_LOAD16_BYTE( "abrom6.bin", 0x00001, 0x80000, CRC(e8f4b079) SHA1(2597fa17b6a13e634ba9fe846661d09c65fa8cf2) ) | |
| 1977 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 1978 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 1844 | 1979 | |
| 1845 | ROM_LOAD16_BYTE( "abrom5a.bin", 0x00000, 0x80000, CRC(9810f1e2) SHA1(a10954a46d52c5a53a3b11a04e66c4ed3ce2a0f7) ) | |
| 1846 | ROM_LOAD16_BYTE( "abrom6a.bin", 0x00001, 0x80000, CRC(22d2abbe) SHA1(65d82ed0fc799c4248696f1b2ef76e7e88bf7fb7) ) | |
| 1980 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 1981 | ROM_LOAD_OPTIONAL( "ra17r2.id", 0x00, 0x20, CRC(a4705167) SHA1(97573248b4d35c665933e34e6e2fa2ea62e0c8a5) ) | |
| 1847 | 1982 | ROM_END |
| 1848 | 1983 | |
| 1849 | ROM_START( | |
| 1984 | ROM_START( r | |
| 1850 | 1985 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1851 | ROM_LOAD( "a | |
| 1986 | ROM_LOAD( "r2ad17r.bin", 0x00000, 0x40000, CRC(2454cd69 | |
| 1852 | 1987 | |
| 1853 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 1854 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 1988 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 1989 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 1855 | 1990 | |
| 1856 | /* unsure which gfx roms */ | |
| 1857 | 1991 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 1858 | ROM_LOAD16_BYTE( "abrom3.bin", 0x00000, 0x80000, CRC(85f19e19) SHA1(2dd259af132e0cfd34974526c96f0d96ff868516) ) | |
| 1859 | ROM_LOAD16_BYTE( "abrom4.bin", 0x00001, 0x80000, CRC(c12b954c) SHA1(83556abbad0f285360da5f5e0fb93514d46b436b) ) | |
| 1992 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 1993 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 1860 | 1994 | |
| 1861 | ROM_LOAD16_BYTE( "abrom3a.bin", 0x00000, 0x80000, CRC(85f19e19) SHA1(2dd259af132e0cfd34974526c96f0d96ff868516) ) | |
| 1862 | ROM_LOAD16_BYTE( "abrom4a.bin", 0x00001, 0x80000, CRC(c12b954c) SHA1(83556abbad0f285360da5f5e0fb93514d46b436b) ) | |
| 1863 | ||
| 1864 | ||
| 1865 | ||
| 1866 | 1995 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1867 | ROM_LOAD16_BYTE( "abrom5.bin", 0x00000, 0x80000, CRC(74b4fa88) SHA1(922d9c4f864be2b125269a69639e6206aec26d72) ) | |
| 1868 | ROM_LOAD16_BYTE( "abrom6.bin", 0x00001, 0x80000, CRC(e8f4b079) SHA1(2597fa17b6a13e634ba9fe846661d09c65fa8cf2) ) | |
| 1996 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 1997 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 1869 | 1998 | |
| 1870 | ROM_LOAD16_BYTE( "abrom5a.bin", 0x00000, 0x80000, CRC(9810f1e2) SHA1(a10954a46d52c5a53a3b11a04e66c4ed3ce2a0f7) ) | |
| 1871 | ROM_LOAD16_BYTE( "abrom6a.bin", 0x00001, 0x80000, CRC(22d2abbe) SHA1(65d82ed0fc799c4248696f1b2ef76e7e88bf7fb7) ) | |
| 1999 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2000 | ROM_LOAD_OPTIONAL( "ra17r2.id", 0x00, 0x20, CRC(a4705167) SHA1(97573248b4d35c665933e34e6e2fa2ea62e0c8a5) ) | |
| 1872 | 2001 | ROM_END |
| 1873 | 2002 | |
| 1874 | ||
| 1875 | ROM_START( anibonusb ) | |
| 2003 | ROM_START( robadv2d2 ) | |
| 1876 | 2004 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1877 | ROM_LOAD( "a | |
| 2005 | ROM_LOAD( "r2ad | |
| 1878 | 2006 | |
| 1879 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 1880 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2007 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2008 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 1881 | 2009 | |
| 1882 | 2010 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 1883 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 1884 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2011 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 2012 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 1885 | 2013 | |
| 1886 | 2014 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1887 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 1888 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2015 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 2016 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 1889 | 2017 | |
| 1890 | 2018 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1891 | ROM_LOAD_OPTIONAL( "a | |
| 2019 | ROM_LOAD_OPTIONAL( "ra | |
| 1892 | 2020 | ROM_END |
| 1893 | 2021 | |
| 1894 | ROM_START( | |
| 2022 | ROM_START( r | |
| 1895 | 2023 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1896 | ROM_LOAD( "a | |
| 2024 | ROM_LOAD( "r2ad | |
| 1897 | 2025 | |
| 1898 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 1899 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2026 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2027 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 1900 | 2028 | |
| 1901 | 2029 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 1902 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 1903 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2030 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 2031 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 1904 | 2032 | |
| 1905 | 2033 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1906 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 1907 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2034 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 2035 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 1908 | 2036 | |
| 1909 | 2037 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1910 | ROM_LOAD_OPTIONAL( "a | |
| 2038 | ROM_LOAD_OPTIONAL( "ra | |
| 1911 | 2039 | ROM_END |
| 1912 | 2040 | |
| 1913 | ROM_START( | |
| 2041 | ROM_START( r | |
| 1914 | 2042 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1915 | ROM_LOAD( "a | |
| 2043 | ROM_LOAD( "r2av | |
| 1916 | 2044 | |
| 1917 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 1918 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2045 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2046 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 1919 | 2047 | |
| 1920 | 2048 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 1921 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 1922 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2049 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 2050 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 1923 | 2051 | |
| 1924 | 2052 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1925 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 1926 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2053 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 2054 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 1927 | 2055 | |
| 1928 | 2056 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1929 | ROM_LOAD_OPTIONAL( "a | |
| 2057 | ROM_LOAD_OPTIONAL( "ra | |
| 1930 | 2058 | ROM_END |
| 1931 | 2059 | |
| 1932 | ROM_START( | |
| 2060 | ROM_START( r | |
| 1933 | 2061 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1934 | ROM_LOAD( "a | |
| 2062 | ROM_LOAD( "r2av | |
| 1935 | 2063 | |
| 1936 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 1937 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2064 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2065 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 1938 | 2066 | |
| 1939 | 2067 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 1940 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 1941 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2068 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 2069 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 1942 | 2070 | |
| 1943 | 2071 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1944 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 1945 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2072 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 2073 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 1946 | 2074 | |
| 1947 | 2075 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1948 | ROM_LOAD_OPTIONAL( "a | |
| 2076 | ROM_LOAD_OPTIONAL( "ra | |
| 1949 | 2077 | ROM_END |
| 1950 | 2078 | |
| 1951 | ROM_START( | |
| 2079 | ROM_START( r | |
| 1952 | 2080 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1953 | ROM_LOAD( "a | |
| 2081 | ROM_LOAD( "r2a | |
| 1954 | 2082 | |
| 1955 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 1956 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2083 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2084 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 1957 | 2085 | |
| 1958 | 2086 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 1959 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 1960 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2087 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 2088 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 1961 | 2089 | |
| 1962 | 2090 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1963 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 1964 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2091 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 2092 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 1965 | 2093 | |
| 1966 | 2094 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1967 | ROM_LOAD_OPTIONAL( "a | |
| 2095 | ROM_LOAD_OPTIONAL( "ra | |
| 1968 | 2096 | ROM_END |
| 1969 | 2097 | |
| 1970 | ROM_START( | |
| 2098 | ROM_START( r | |
| 1971 | 2099 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1972 | ROM_LOAD( "a | |
| 2100 | ROM_LOAD( "r2a | |
| 1973 | 2101 | |
| 1974 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 1975 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2102 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2103 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 1976 | 2104 | |
| 1977 | 2105 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 1978 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 1979 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2106 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 2107 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 1980 | 2108 | |
| 1981 | 2109 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 1982 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 1983 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2110 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 2111 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 1984 | 2112 | |
| 1985 | 2113 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 1986 | ROM_LOAD_OPTIONAL( "a | |
| 2114 | ROM_LOAD_OPTIONAL( "ra | |
| 1987 | 2115 | ROM_END |
| 1988 | 2116 | |
| 1989 | ROM_START( | |
| 2117 | ROM_START( r | |
| 1990 | 2118 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 1991 | ROM_LOAD( "a | |
| 2119 | ROM_LOAD( "r2a | |
| 1992 | 2120 | |
| 1993 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 1994 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2121 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2122 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 1995 | 2123 | |
| 1996 | 2124 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 1997 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 1998 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2125 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 2126 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 1999 | 2127 | |
| 2000 | 2128 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2001 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 2002 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2129 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 2130 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 2003 | 2131 | |
| 2004 | 2132 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2005 | ROM_LOAD_OPTIONAL( "a | |
| 2133 | ROM_LOAD_OPTIONAL( "ra | |
| 2006 | 2134 | ROM_END |
| 2007 | 2135 | |
| 2008 | ROM_START( abnudge ) | |
| 2136 | /* Pirate Poker II */ | |
| 2137 | ROM_START( pirpok2 ) | |
| 2009 | 2138 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2010 | ROM_LOAD( " | |
| 2139 | ROM_LOAD( "p3pv24e.bin", 0x00000, 0x40000, CRC(0e | |
| 2011 | 2140 | |
| 2012 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2013 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2141 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2142 | ROM_LOAD( "p3rom2.bin", 0x00000, 0x20000, CRC(db6182e4) SHA1(65f05247629d5a1f37bf179f468acf8420342d2c) ) | |
| 2014 | 2143 | |
| 2015 | 2144 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2016 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 2017 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2145 | ROM_LOAD16_BYTE( "p3rom3.bin", 0x00000, 0x80000, CRC(34d3e6c5) SHA1(1d89677605188f135c8dbbc2ab20510cae7548fe) ) | |
| 2146 | ROM_LOAD16_BYTE( "p3rom4.bin", 0x00001, 0x80000, CRC(3861b5fb) SHA1(72f085a1fd951919f479e5c6984304f7bbddc054) ) | |
| 2018 | 2147 | |
| 2019 | 2148 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2020 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 2021 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2149 | ROM_LOAD16_BYTE( "p3rom5.bin", 0x00000, 0x80000, CRC(c5eca135) SHA1(bdaccd32e1434016c77579bc8c4214ab2a3ae474) ) | |
| 2150 | ROM_LOAD16_BYTE( "p3rom6.bin", 0x00001, 0x80000, CRC(d990cbb8) SHA1(6f822e38bf401b2eb0b2e36f3b4fc6822fafd3fa) ) | |
| 2151 | ||
| 2152 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2153 | ROM_LOAD_OPTIONAL( "p3p24e.id", 0x00, 0x20, CRC(99d30f6b) SHA1(fb7937e8b595def542f87c08ad69163d18bcde81) ) | |
| 2022 | 2154 | ROM_END |
| 2023 | 2155 | |
| 2024 | ROM_START( | |
| 2156 | ROM_START( pirpok2b1 | |
| 2025 | 2157 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2026 | ROM_LOAD( " | |
| 2158 | ROM_LOAD( "p3pb | |
| 2027 | 2159 | |
| 2028 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2029 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2160 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2161 | ROM_LOAD( "p3rom2.bin", 0x00000, 0x20000, CRC(db6182e4) SHA1(65f05247629d5a1f37bf179f468acf8420342d2c) ) | |
| 2030 | 2162 | |
| 2031 | 2163 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2032 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 2033 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2164 | ROM_LOAD16_BYTE( "p3rom3.bin", 0x00000, 0x80000, CRC(34d3e6c5) SHA1(1d89677605188f135c8dbbc2ab20510cae7548fe) ) | |
| 2165 | ROM_LOAD16_BYTE( "p3rom4.bin", 0x00001, 0x80000, CRC(3861b5fb) SHA1(72f085a1fd951919f479e5c6984304f7bbddc054) ) | |
| 2034 | 2166 | |
| 2035 | 2167 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2036 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 2037 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2168 | ROM_LOAD16_BYTE( "p3rom5.bin", 0x00000, 0x80000, CRC(c5eca135) SHA1(bdaccd32e1434016c77579bc8c4214ab2a3ae474) ) | |
| 2169 | ROM_LOAD16_BYTE( "p3rom6.bin", 0x00001, 0x80000, CRC(d990cbb8) SHA1(6f822e38bf401b2eb0b2e36f3b4fc6822fafd3fa) ) | |
| 2038 | 2170 | |
| 2039 | 2171 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2040 | ROM_LOAD_OPTIONAL( " | |
| 2172 | ROM_LOAD_OPTIONAL( "p3p22r_.id", 0x00, 0x20, CRC( | |
| 2041 | 2173 | ROM_END |
| 2042 | 2174 | |
| 2043 | ROM_START( | |
| 2175 | ROM_START( pirpok2d1 | |
| 2044 | 2176 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2045 | ROM_LOAD( " | |
| 2177 | ROM_LOAD( "p3pd22r.bin", 0x00000, 0x40000, CRC( | |
| 2046 | 2178 | |
| 2047 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2048 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2179 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2180 | ROM_LOAD( "p3rom2.bin", 0x00000, 0x20000, CRC(db6182e4) SHA1(65f05247629d5a1f37bf179f468acf8420342d2c) ) | |
| 2049 | 2181 | |
| 2050 | 2182 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2051 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 2052 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2183 | ROM_LOAD16_BYTE( "p3rom3.bin", 0x00000, 0x80000, CRC(34d3e6c5) SHA1(1d89677605188f135c8dbbc2ab20510cae7548fe) ) | |
| 2184 | ROM_LOAD16_BYTE( "p3rom4.bin", 0x00001, 0x80000, CRC(3861b5fb) SHA1(72f085a1fd951919f479e5c6984304f7bbddc054) ) | |
| 2053 | 2185 | |
| 2054 | 2186 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2055 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 2056 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2187 | ROM_LOAD16_BYTE( "p3rom5.bin", 0x00000, 0x80000, CRC(c5eca135) SHA1(bdaccd32e1434016c77579bc8c4214ab2a3ae474) ) | |
| 2188 | ROM_LOAD16_BYTE( "p3rom6.bin", 0x00001, 0x80000, CRC(d990cbb8) SHA1(6f822e38bf401b2eb0b2e36f3b4fc6822fafd3fa) ) | |
| 2057 | 2189 | |
| 2058 | 2190 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2059 | ROM_LOAD_OPTIONAL( " | |
| 2191 | ROM_LOAD_OPTIONAL( "p3p22r.id", 0x00, 0x20, CRC(fc07ce9b | |
| 2060 | 2192 | ROM_END |
| 2061 | 2193 | |
| 2062 | ROM_START( | |
| 2194 | ROM_START( pirpok2v1 ) | |
| 2063 | 2195 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2064 | ROM_LOAD( " | |
| 2196 | ROM_LOAD( "p3pv22r.bin", 0x00000, 0x40000, CRC(6e2 | |
| 2065 | 2197 | |
| 2066 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2067 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2198 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2199 | ROM_LOAD( "p3rom2.bin", 0x00000, 0x20000, CRC(db6182e4) SHA1(65f05247629d5a1f37bf179f468acf8420342d2c) ) | |
| 2068 | 2200 | |
| 2069 | 2201 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2070 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 2071 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2202 | ROM_LOAD16_BYTE( "p3rom3.bin", 0x00000, 0x80000, CRC(34d3e6c5) SHA1(1d89677605188f135c8dbbc2ab20510cae7548fe) ) | |
| 2203 | ROM_LOAD16_BYTE( "p3rom4.bin", 0x00001, 0x80000, CRC(3861b5fb) SHA1(72f085a1fd951919f479e5c6984304f7bbddc054) ) | |
| 2072 | 2204 | |
| 2073 | 2205 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2074 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 2075 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2206 | ROM_LOAD16_BYTE( "p3rom5.bin", 0x00000, 0x80000, CRC(c5eca135) SHA1(bdaccd32e1434016c77579bc8c4214ab2a3ae474) ) | |
| 2207 | ROM_LOAD16_BYTE( "p3rom6.bin", 0x00001, 0x80000, CRC(d990cbb8) SHA1(6f822e38bf401b2eb0b2e36f3b4fc6822fafd3fa) ) | |
| 2076 | 2208 | |
| 2077 | 2209 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2078 | ROM_LOAD_OPTIONAL( " | |
| 2210 | ROM_LOAD_OPTIONAL( "p3p22r.id", 0x00, 0x20, CRC(fc07ce9b | |
| 2079 | 2211 | ROM_END |
| 2080 | 2212 | |
| 2081 | ROM_START( | |
| 2213 | ROM_START( p | |
| 2082 | 2214 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2083 | ROM_LOAD( " | |
| 2215 | ROM_LOAD( "p3p20.bin", 0x00000, 0x40000, CRC(0e477094 | |
| 2084 | 2216 | |
| 2085 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2086 | ROM_LOAD( "athrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2217 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2218 | ROM_LOAD( "p3rom2.bin", 0x00000, 0x20000, CRC(db6182e4) SHA1(65f05247629d5a1f37bf179f468acf8420342d2c) ) | |
| 2087 | 2219 | |
| 2088 | 2220 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2089 | ROM_LOAD16_BYTE( "athrom3.bin", 0x00000, 0x80000, CRC(f784ec01) SHA1(69474fc9d10882fd9ec0c02675193df7aa31f6a7) ) | |
| 2090 | ROM_LOAD16_BYTE( "athrom4.bin", 0x00001, 0x80000, CRC(49749939) SHA1(6deb10c2b51b5718f0cba31f6bda54bcc001bc71) ) | |
| 2221 | ROM_LOAD16_BYTE( "p3rom3.bin", 0x00000, 0x80000, CRC(34d3e6c5) SHA1(1d89677605188f135c8dbbc2ab20510cae7548fe) ) | |
| 2222 | ROM_LOAD16_BYTE( "p3rom4.bin", 0x00001, 0x80000, CRC(3861b5fb) SHA1(72f085a1fd951919f479e5c6984304f7bbddc054) ) | |
| 2091 | 2223 | |
| 2092 | 2224 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2093 | ROM_LOAD16_BYTE( "ath-rom5.bin", 0x00000, 0x80000, CRC(536a7e23) SHA1(51dc6b2b022a672810b00e1006b0c7ee610a4e4f) ) | |
| 2094 | ROM_LOAD16_BYTE( "ath-rom6.bin", 0x00001, 0x80000, CRC(23bc5067) SHA1(1e279e58437b897c7a68c9cdd15277c6a906a142) ) | |
| 2225 | ROM_LOAD16_BYTE( "p3rom5.bin", 0x00000, 0x80000, CRC(c5eca135) SHA1(bdaccd32e1434016c77579bc8c4214ab2a3ae474) ) | |
| 2226 | ROM_LOAD16_BYTE( "p3rom6.bin", 0x00001, 0x80000, CRC(d990cbb8) SHA1(6f822e38bf401b2eb0b2e36f3b4fc6822fafd3fa) ) | |
| 2095 | 2227 | ROM_END |
| 2096 | 2228 | |
| 2097 | ROM_START( anithunt2 ) | |
| 2229 | /* Animal Bonus */ | |
| 2230 | ROM_START( anibonus ) | |
| 2098 | 2231 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2099 | ROM_LOAD( "a | |
| 2232 | ROM_LOAD( "abv18e.bin", 0x00000, 0x40000, CRC(c05b8fb5) SHA1( | |
| 2100 | 2233 | |
| 2101 | 2234 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2102 | ROM_LOAD( "a | |
| 2235 | ROM_LOAD( "ab | |
| 2103 | 2236 | |
| 2104 | 2237 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2105 | ROM_LOAD16_BYTE( "ath-rom3.bin", 0x00000, 0x80000, CRC(2ce266b2) SHA1(34dcc504d48a26976e17ad0b8399904e5ecc3379) ) | |
| 2106 | ROM_LOAD16_BYTE( "ath-rom4.bin", 0x00001, 0x80000, CRC(59d25672) SHA1(212ba0aa7794b7a37121896190e64069f005b1ea) ) | |
| 2238 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 2239 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2107 | 2240 | |
| 2108 | 2241 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2109 | ROM_LOAD16_BYTE( "ath-rom5.bin", 0x00000, 0x80000, CRC(536a7e23) SHA1(51dc6b2b022a672810b00e1006b0c7ee610a4e4f) ) | |
| 2110 | ROM_LOAD16_BYTE( "ath-rom6.bin", 0x00001, 0x80000, CRC(23bc5067) SHA1(1e279e58437b897c7a68c9cdd15277c6a906a142) ) | |
| 2242 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 2243 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2244 | ||
| 2245 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2246 | ROM_LOAD_OPTIONAL( "ab17e.id", 0x00, 0x20, CRC(5a729357) SHA1(8a218c27fda8991ec9e122eb75675250aa7f73d6) ) // game version is 1.8, but still writes 1.7 to nvram | |
| 2111 | 2247 | ROM_END |
| 2112 | 2248 | |
| 2113 | ROM_START( ani | |
| 2249 | ROM_START( ani | |
| 2114 | 2250 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2115 | ROM_LOAD( "a | |
| 2251 | ROM_LOAD( "a | |
| 2116 | 2252 | |
| 2117 | 2253 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2118 | ROM_LOAD( "a | |
| 2254 | ROM_LOAD( "ab | |
| 2119 | 2255 | |
| 2120 | 2256 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2121 | ROM_LOAD16_BYTE( "athrom3.bin", 0x00000, 0x80000, CRC(f784ec01) SHA1(69474fc9d10882fd9ec0c02675193df7aa31f6a7) ) | |
| 2122 | ROM_LOAD16_BYTE( "athrom4.bin", 0x00001, 0x80000, CRC(49749939) SHA1(6deb10c2b51b5718f0cba31f6bda54bcc001bc71) ) | |
| 2257 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 2258 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2123 | 2259 | |
| 2124 | 2260 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2125 | ROM_LOAD16_BYTE( "ath-rom5.bin", 0x00000, 0x80000, CRC(536a7e23) SHA1(51dc6b2b022a672810b00e1006b0c7ee610a4e4f) ) | |
| 2126 | ROM_LOAD16_BYTE( "ath-rom6.bin", 0x00001, 0x80000, CRC(23bc5067) SHA1(1e279e58437b897c7a68c9cdd15277c6a906a142) ) | |
| 2261 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 2262 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2127 | 2263 | |
| 2128 | 2264 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2129 | ROM_LOAD_OPTIONAL( "a | |
| 2265 | ROM_LOAD_OPTIONAL( "ab | |
| 2130 | 2266 | ROM_END |
| 2131 | 2267 | |
| 2132 | ROM_START( ani | |
| 2268 | ROM_START( anibo | |
| 2133 | 2269 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2134 | ROM_LOAD( "a | |
| 2270 | ROM_LOAD( "abv | |
| 2135 | 2271 | |
| 2136 | 2272 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2137 | ROM_LOAD( "a | |
| 2273 | ROM_LOAD( "ab | |
| 2138 | 2274 | |
| 2139 | 2275 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2140 | ROM_LOAD16_BYTE( "athrom3.bin", 0x00000, 0x80000, CRC(f784ec01) SHA1(69474fc9d10882fd9ec0c02675193df7aa31f6a7) ) | |
| 2141 | ROM_LOAD16_BYTE( "athrom4.bin", 0x00001, 0x80000, CRC(49749939) SHA1(6deb10c2b51b5718f0cba31f6bda54bcc001bc71) ) | |
| 2276 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 2277 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2142 | 2278 | |
| 2143 | 2279 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2144 | ROM_LOAD16_BYTE( "ath-rom5.bin", 0x00000, 0x80000, CRC(536a7e23) SHA1(51dc6b2b022a672810b00e1006b0c7ee610a4e4f) ) | |
| 2145 | ROM_LOAD16_BYTE( "ath-rom6.bin", 0x00001, 0x80000, CRC(23bc5067) SHA1(1e279e58437b897c7a68c9cdd15277c6a906a142) ) | |
| 2280 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 2281 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2146 | 2282 | |
| 2147 | 2283 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2148 | ROM_LOAD_OPTIONAL( "a | |
| 2284 | ROM_LOAD_OPTIONAL( "ab | |
| 2149 | 2285 | ROM_END |
| 2150 | 2286 | |
| 2151 | ROM_START( ani | |
| 2287 | ROM_START( anibo | |
| 2152 | 2288 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2153 | ROM_LOAD( "a | |
| 2289 | ROM_LOAD( "abb | |
| 2154 | 2290 | |
| 2155 | 2291 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2156 | ROM_LOAD( "a | |
| 2292 | ROM_LOAD( "ab | |
| 2157 | 2293 | |
| 2158 | 2294 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2159 | ROM_LOAD16_BYTE( "athrom3.bin", 0x00000, 0x80000, CRC(f784ec01) SHA1(69474fc9d10882fd9ec0c02675193df7aa31f6a7) ) | |
| 2160 | ROM_LOAD16_BYTE( "athrom4.bin", 0x00001, 0x80000, CRC(49749939) SHA1(6deb10c2b51b5718f0cba31f6bda54bcc001bc71) ) | |
| 2295 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 2296 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2161 | 2297 | |
| 2162 | 2298 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2163 | ROM_LOAD16_BYTE( "ath-rom5.bin", 0x00000, 0x80000, CRC(536a7e23) SHA1(51dc6b2b022a672810b00e1006b0c7ee610a4e4f) ) | |
| 2164 | ROM_LOAD16_BYTE( "ath-rom6.bin", 0x00001, 0x80000, CRC(23bc5067) SHA1(1e279e58437b897c7a68c9cdd15277c6a906a142) ) | |
| 2299 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 2300 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2165 | 2301 | |
| 2166 | 2302 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2167 | ROM_LOAD_OPTIONAL( "a | |
| 2303 | ROM_LOAD_OPTIONAL( "ab | |
| 2168 | 2304 | ROM_END |
| 2169 | 2305 | |
| 2170 | ||
| 2171 | ROM_START( dblchal ) | |
| 2306 | ROM_START( anibonusb2 ) | |
| 2172 | 2307 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2173 | ROM_LOAD( " | |
| 2308 | ROM_LOAD( "abb17lt.bin", 0x00000, 0x40000, CRC( | |
| 2174 | 2309 | |
| 2175 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2176 | ROM_LOAD( "dcrom2.bin", 0x00000, 0x20000, CRC(ce099327) SHA1(b1dc43839e9e3bf788141d58c81e1380a12d582a) ) | |
| 2310 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2311 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2177 | 2312 | |
| 2178 | 2313 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2179 | ROM_LOAD16_BYTE( "dcrom3.bin", 0x00000, 0x40000, CRC(50b1c522) SHA1(620f8a1df6954c5db4a85448c810901d69859fec) ) | |
| 2180 | ROM_LOAD16_BYTE( "dcrom4.bin", 0x00001, 0x40000, CRC(a6f46957) SHA1(b4c0a28e428b9fc091ac5fc041a1ce01f65ff402) ) | |
| 2314 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 2315 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2181 | 2316 | |
| 2182 | 2317 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2183 | ROM_LOAD16_BYTE( "dcrom5.bin", 0x00000, 0x80000, CRC(a55f4ed3) SHA1(9f7427357af84026c056624523fd20bc556f3c22) ) | |
| 2184 | ROM_LOAD16_BYTE( "dcrom6.bin", 0x00001, 0x80000, CRC(cf783d82) SHA1(d3f8ae5cb3a5f848e2d84721a5a4ee486a52de85) ) | |
| 2185 | ROM_END | |
| 2318 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 2319 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2186 | 2320 | |
| 2187 | ROM_START( dblchalb ) | |
| 2188 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ | |
| 2189 | ROM_LOAD( "dcb15r.bin", 0x00000, 0x40000, CRC(d89a9756) SHA1(7a4cb88da9d02351a996202fb5b4545db042867b) ) | |
| 2190 | ||
| 2191 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2192 | ROM_LOAD( "dcrom2.bin", 0x00000, 0x20000, CRC(ce099327) SHA1(b1dc43839e9e3bf788141d58c81e1380a12d582a) ) | |
| 2193 | ||
| 2194 | ROM_REGION( 0x100000, "gfx1", 0 ) | |
| 2195 | ROM_LOAD16_BYTE( "dcrom3.bin", 0x00000, 0x40000, CRC(50b1c522) SHA1(620f8a1df6954c5db4a85448c810901d69859fec) ) | |
| 2196 | ROM_LOAD16_BYTE( "dcrom4.bin", 0x00001, 0x40000, CRC(a6f46957) SHA1(b4c0a28e428b9fc091ac5fc041a1ce01f65ff402) ) | |
| 2197 | ||
| 2198 | ROM_REGION( 0x100000, "gfx2", 0 ) | |
| 2199 | ROM_LOAD16_BYTE( "dcrom5.bin", 0x00000, 0x80000, CRC(a55f4ed3) SHA1(9f7427357af84026c056624523fd20bc556f3c22) ) | |
| 2200 | ROM_LOAD16_BYTE( "dcrom6.bin", 0x00001, 0x80000, CRC(cf783d82) SHA1(d3f8ae5cb3a5f848e2d84721a5a4ee486a52de85) ) | |
| 2201 | ||
| 2202 | 2321 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2203 | ROM_LOAD_OPTIONAL( " | |
| 2322 | ROM_LOAD_OPTIONAL( "ab17lt_.id", 0x00, 0x20, CRC(cee2a8e9 | |
| 2204 | 2323 | ROM_END |
| 2205 | 2324 | |
| 2206 | ROM_START( | |
| 2325 | ROM_START( | |
| 2207 | 2326 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2208 | ROM_LOAD( "d | |
| 2327 | ROM_LOAD( "abd | |
| 2209 | 2328 | |
| 2210 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2211 | ROM_LOAD( "dcrom2.bin", 0x00000, 0x20000, CRC(ce099327) SHA1(b1dc43839e9e3bf788141d58c81e1380a12d582a) ) | |
| 2329 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2330 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2212 | 2331 | |
| 2213 | 2332 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2214 | ROM_LOAD16_BYTE( "dcrom3.bin", 0x00000, 0x40000, CRC(50b1c522) SHA1(620f8a1df6954c5db4a85448c810901d69859fec) ) | |
| 2215 | ROM_LOAD16_BYTE( "dcrom4.bin", 0x00001, 0x40000, CRC(a6f46957) SHA1(b4c0a28e428b9fc091ac5fc041a1ce01f65ff402) ) | |
| 2333 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 2334 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2216 | 2335 | |
| 2217 | 2336 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2218 | ROM_LOAD16_BYTE( "dcrom5.bin", 0x00000, 0x80000, CRC(a55f4ed3) SHA1(9f7427357af84026c056624523fd20bc556f3c22) ) | |
| 2219 | ROM_LOAD16_BYTE( "dcrom6.bin", 0x00001, 0x80000, CRC(cf783d82) SHA1(d3f8ae5cb3a5f848e2d84721a5a4ee486a52de85) ) | |
| 2337 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 2338 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2220 | 2339 | |
| 2221 | 2340 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2222 | ROM_LOAD_OPTIONAL( " | |
| 2341 | ROM_LOAD_OPTIONAL( "ab17r.id", 0x00, 0x20, CRC( | |
| 2223 | 2342 | ROM_END |
| 2224 | 2343 | |
| 2225 | ROM_START( | |
| 2344 | ROM_START( | |
| 2226 | 2345 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2227 | ROM_LOAD( "d | |
| 2346 | ROM_LOAD( "abd | |
| 2228 | 2347 | |
| 2229 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2230 | ROM_LOAD( "dcrom2.bin", 0x00000, 0x20000, CRC(ce099327) SHA1(b1dc43839e9e3bf788141d58c81e1380a12d582a) ) | |
| 2348 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2349 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2231 | 2350 | |
| 2232 | 2351 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2233 | ROM_LOAD16_BYTE( "dcrom3.bin", 0x00000, 0x40000, CRC(50b1c522) SHA1(620f8a1df6954c5db4a85448c810901d69859fec) ) | |
| 2234 | ROM_LOAD16_BYTE( "dcrom4.bin", 0x00001, 0x40000, CRC(a6f46957) SHA1(b4c0a28e428b9fc091ac5fc041a1ce01f65ff402) ) | |
| 2352 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 2353 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2235 | 2354 | |
| 2236 | 2355 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2237 | ROM_LOAD16_BYTE( "dcrom5.bin", 0x00000, 0x80000, CRC(a55f4ed3) SHA1(9f7427357af84026c056624523fd20bc556f3c22) ) | |
| 2238 | ROM_LOAD16_BYTE( "dcrom6.bin", 0x00001, 0x80000, CRC(cf783d82) SHA1(d3f8ae5cb3a5f848e2d84721a5a4ee486a52de85) ) | |
| 2356 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 2357 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2239 | 2358 | |
| 2240 | 2359 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2241 | ROM_LOAD_OPTIONAL( " | |
| 2360 | ROM_LOAD_OPTIONAL( "ab17lt.id", 0x00, 0x20, CRC(5e9ea8 | |
| 2242 | 2361 | ROM_END |
| 2243 | 2362 | |
| 2244 | ROM_START( | |
| 2363 | ROM_START( | |
| 2245 | 2364 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2246 | ROM_LOAD( " | |
| 2365 | ROM_LOAD( "ab | |
| 2247 | 2366 | |
| 2248 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2249 | ROM_LOAD( "dcrom2.bin", 0x00000, 0x20000, CRC(ce099327) SHA1(b1dc43839e9e3bf788141d58c81e1380a12d582a) ) | |
| 2367 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2368 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2250 | 2369 | |
| 2251 | 2370 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2252 | ROM_LOAD16_BYTE( "dcrom3.bin", 0x00000, 0x40000, CRC(50b1c522) SHA1(620f8a1df6954c5db4a85448c810901d69859fec) ) | |
| 2253 | ROM_LOAD16_BYTE( "dcrom4.bin", 0x00001, 0x40000, CRC(a6f46957) SHA1(b4c0a28e428b9fc091ac5fc041a1ce01f65ff402) ) | |
| 2371 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 2372 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2254 | 2373 | |
| 2374 | ||
| 2255 | 2375 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2256 | ROM_LOAD16_BYTE( "dcrom5.bin", 0x00000, 0x80000, CRC(a55f4ed3) SHA1(9f7427357af84026c056624523fd20bc556f3c22) ) | |
| 2257 | ROM_LOAD16_BYTE( "dcrom6.bin", 0x00001, 0x80000, CRC(cf783d82) SHA1(d3f8ae5cb3a5f848e2d84721a5a4ee486a52de85) ) | |
| 2258 | ||
| 2259 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2260 | ROM_LOAD_OPTIONAL( "dc15r.id", 0x00, 0x20, CRC(4a0f2f34) SHA1(a169f671b2e61e95ad071ca986711694ef2f7364) ) | |
| 2376 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 2377 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2261 | 2378 | ROM_END |
| 2262 | 2379 | |
| 2263 | ||
| 2264 | ROM_START( robadv2 ) | |
| 2380 | ROM_START( anibonuso ) | |
| 2265 | 2381 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2266 | ROM_LOAD( " | |
| 2382 | ROM_LOAD( " | |
| 2267 | 2383 | |
| 2268 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2269 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 2384 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2385 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2270 | 2386 | |
| 2271 | 2387 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2272 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 2273 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 2388 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 2389 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2274 | 2390 | |
| 2391 | ||
| 2275 | 2392 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2276 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 2277 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 2278 | ||
| 2279 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2280 | ROM_LOAD_OPTIONAL( "ra15r2.id", 0x00, 0x20, CRC(8d2a7cd7) SHA1(ce1a67b4848c74c50c957d2ced081298e9fde3ee) ) | |
| 2393 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 2394 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2281 | 2395 | ROM_END |
| 2282 | 2396 | |
| 2283 | ROM_START( | |
| 2397 | ROM_START( | |
| 2284 | 2398 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2285 | ROM_LOAD( " | |
| 2399 | ROM_LOAD( " | |
| 2286 | 2400 | |
| 2287 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2288 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 2401 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2402 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2289 | 2403 | |
| 2404 | ||
| 2405 | /* unsure which gfx roms */ | |
| 2290 | 2406 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2291 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 2292 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 2407 | ROM_LOAD16_BYTE( "abrom3.bin", 0x00000, 0x80000, CRC(85f19e19) SHA1(2dd259af132e0cfd34974526c96f0d96ff868516) ) | |
| 2408 | ROM_LOAD16_BYTE( "abrom4.bin", 0x00001, 0x80000, CRC(c12b954c) SHA1(83556abbad0f285360da5f5e0fb93514d46b436b) ) | |
| 2293 | 2409 | |
| 2410 | ROM_LOAD16_BYTE( "abrom3a.bin", 0x00000, 0x80000, CRC(85f19e19) SHA1(2dd259af132e0cfd34974526c96f0d96ff868516) ) | |
| 2411 | ROM_LOAD16_BYTE( "abrom4a.bin", 0x00001, 0x80000, CRC(c12b954c) SHA1(83556abbad0f285360da5f5e0fb93514d46b436b) ) | |
| 2412 | ||
| 2294 | 2413 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2295 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 2296 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 2414 | ROM_LOAD16_BYTE( "abrom5.bin", 0x00000, 0x80000, CRC(74b4fa88) SHA1(922d9c4f864be2b125269a69639e6206aec26d72) ) | |
| 2415 | ROM_LOAD16_BYTE( "abrom6.bin", 0x00001, 0x80000, CRC(e8f4b079) SHA1(2597fa17b6a13e634ba9fe846661d09c65fa8cf2) ) | |
| 2297 | 2416 | |
| 2298 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2299 | ROM_LOAD_OPTIONAL( "ra15r2.id", 0x00, 0x20, CRC(8d2a7cd7) SHA1(ce1a67b4848c74c50c957d2ced081298e9fde3ee) ) | |
| 2417 | ROM_LOAD16_BYTE( "abrom5a.bin", 0x00000, 0x80000, CRC(9810f1e2) SHA1(a10954a46d52c5a53a3b11a04e66c4ed3ce2a0f7) ) | |
| 2418 | ROM_LOAD16_BYTE( "abrom6a.bin", 0x00001, 0x80000, CRC(22d2abbe) SHA1(65d82ed0fc799c4248696f1b2ef76e7e88bf7fb7) ) | |
| 2300 | 2419 | ROM_END |
| 2301 | 2420 | |
| 2302 | ROM_START( | |
| 2421 | ROM_START( | |
| 2303 | 2422 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2304 | ROM_LOAD( " | |
| 2423 | ROM_LOAD( " | |
| 2305 | 2424 | |
| 2306 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2307 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 2425 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2426 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2308 | 2427 | |
| 2428 | /* unsure which gfx roms */ | |
| 2309 | 2429 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2310 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 2311 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 2430 | ROM_LOAD16_BYTE( "abrom3.bin", 0x00000, 0x80000, CRC(85f19e19) SHA1(2dd259af132e0cfd34974526c96f0d96ff868516) ) | |
| 2431 | ROM_LOAD16_BYTE( "abrom4.bin", 0x00001, 0x80000, CRC(c12b954c) SHA1(83556abbad0f285360da5f5e0fb93514d46b436b) ) | |
| 2312 | 2432 | |
| 2433 | ROM_LOAD16_BYTE( "abrom3a.bin", 0x00000, 0x80000, CRC(85f19e19) SHA1(2dd259af132e0cfd34974526c96f0d96ff868516) ) | |
| 2434 | ROM_LOAD16_BYTE( "abrom4a.bin", 0x00001, 0x80000, CRC(c12b954c) SHA1(83556abbad0f285360da5f5e0fb93514d46b436b) ) | |
| 2435 | ||
| 2313 | 2436 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2314 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 2315 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 2437 | ROM_LOAD16_BYTE( "abrom5.bin", 0x00000, 0x80000, CRC(74b4fa88) SHA1(922d9c4f864be2b125269a69639e6206aec26d72) ) | |
| 2438 | ROM_LOAD16_BYTE( "abrom6.bin", 0x00001, 0x80000, CRC(e8f4b079) SHA1(2597fa17b6a13e634ba9fe846661d09c65fa8cf2) ) | |
| 2316 | 2439 | |
| 2317 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2318 | ROM_LOAD_OPTIONAL( "ra17lt2.id", 0x00, 0x20, CRC(697f1668) SHA1(cbac3a24fd9f73c91a2903f5dfe2aee7944cffeb) ) | |
| 2440 | ROM_LOAD16_BYTE( "abrom5a.bin", 0x00000, 0x80000, CRC(9810f1e2) SHA1(a10954a46d52c5a53a3b11a04e66c4ed3ce2a0f7) ) | |
| 2441 | ROM_LOAD16_BYTE( "abrom6a.bin", 0x00001, 0x80000, CRC(22d2abbe) SHA1(65d82ed0fc799c4248696f1b2ef76e7e88bf7fb7) ) | |
| 2319 | 2442 | ROM_END |
| 2320 | 2443 | |
| 2321 | ROM_START( | |
| 2444 | ROM_START( | |
| 2322 | 2445 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2323 | ROM_LOAD( " | |
| 2446 | ROM_LOAD( " | |
| 2324 | 2447 | |
| 2325 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2326 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 2448 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2449 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2327 | 2450 | |
| 2451 | /* unsure which gfx roms */ | |
| 2328 | 2452 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2329 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 2330 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 2453 | ROM_LOAD16_BYTE( "abrom3.bin", 0x00000, 0x80000, CRC(85f19e19) SHA1(2dd259af132e0cfd34974526c96f0d96ff868516) ) | |
| 2454 | ROM_LOAD16_BYTE( "abrom4.bin", 0x00001, 0x80000, CRC(c12b954c) SHA1(83556abbad0f285360da5f5e0fb93514d46b436b) ) | |
| 2331 | 2455 | |
| 2456 | ROM_LOAD16_BYTE( "abrom3a.bin", 0x00000, 0x80000, CRC(85f19e19) SHA1(2dd259af132e0cfd34974526c96f0d96ff868516) ) | |
| 2457 | ROM_LOAD16_BYTE( "abrom4a.bin", 0x00001, 0x80000, CRC(c12b954c) SHA1(83556abbad0f285360da5f5e0fb93514d46b436b) ) | |
| 2458 | ||
| 2332 | 2459 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2333 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 2334 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 2460 | ROM_LOAD16_BYTE( "abrom5.bin", 0x00000, 0x80000, CRC(74b4fa88) SHA1(922d9c4f864be2b125269a69639e6206aec26d72) ) | |
| 2461 | ROM_LOAD16_BYTE( "abrom6.bin", 0x00001, 0x80000, CRC(e8f4b079) SHA1(2597fa17b6a13e634ba9fe846661d09c65fa8cf2) ) | |
| 2335 | 2462 | |
| 2336 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2337 | ROM_LOAD_OPTIONAL( "ra17r2.id", 0x00, 0x20, CRC(a4705167) SHA1(97573248b4d35c665933e34e6e2fa2ea62e0c8a5) ) | |
| 2463 | ROM_LOAD16_BYTE( "abrom5a.bin", 0x00000, 0x80000, CRC(9810f1e2) SHA1(a10954a46d52c5a53a3b11a04e66c4ed3ce2a0f7) ) | |
| 2464 | ROM_LOAD16_BYTE( "abrom6a.bin", 0x00001, 0x80000, CRC(22d2abbe) SHA1(65d82ed0fc799c4248696f1b2ef76e7e88bf7fb7) ) | |
| 2338 | 2465 | ROM_END |
| 2339 | 2466 | |
| 2340 | ROM_START( | |
| 2467 | ROM_START( | |
| 2341 | 2468 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2342 | ROM_LOAD( " | |
| 2469 | ROM_LOAD( " | |
| 2343 | 2470 | |
| 2344 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2345 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 2471 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2472 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2346 | 2473 | |
| 2474 | /* unsure which gfx roms */ | |
| 2347 | 2475 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2348 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 2349 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 2476 | ROM_LOAD16_BYTE( "abrom3.bin", 0x00000, 0x80000, CRC(85f19e19) SHA1(2dd259af132e0cfd34974526c96f0d96ff868516) ) | |
| 2477 | ROM_LOAD16_BYTE( "abrom4.bin", 0x00001, 0x80000, CRC(c12b954c) SHA1(83556abbad0f285360da5f5e0fb93514d46b436b) ) | |
| 2350 | 2478 | |
| 2479 | ROM_LOAD16_BYTE( "abrom3a.bin", 0x00000, 0x80000, CRC(85f19e19) SHA1(2dd259af132e0cfd34974526c96f0d96ff868516) ) | |
| 2480 | ROM_LOAD16_BYTE( "abrom4a.bin", 0x00001, 0x80000, CRC(c12b954c) SHA1(83556abbad0f285360da5f5e0fb93514d46b436b) ) | |
| 2481 | ||
| 2351 | 2482 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2352 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 2353 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 2483 | ROM_LOAD16_BYTE( "abrom5.bin", 0x00000, 0x80000, CRC(74b4fa88) SHA1(922d9c4f864be2b125269a69639e6206aec26d72) ) | |
| 2484 | ROM_LOAD16_BYTE( "abrom6.bin", 0x00001, 0x80000, CRC(e8f4b079) SHA1(2597fa17b6a13e634ba9fe846661d09c65fa8cf2) ) | |
| 2354 | 2485 | |
| 2355 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2356 | ROM_LOAD_OPTIONAL( "ra17r2.id", 0x00, 0x20, CRC(a4705167) SHA1(97573248b4d35c665933e34e6e2fa2ea62e0c8a5) ) | |
| 2486 | ROM_LOAD16_BYTE( "abrom5a.bin", 0x00000, 0x80000, CRC(9810f1e2) SHA1(a10954a46d52c5a53a3b11a04e66c4ed3ce2a0f7) ) | |
| 2487 | ROM_LOAD16_BYTE( "abrom6a.bin", 0x00001, 0x80000, CRC(22d2abbe) SHA1(65d82ed0fc799c4248696f1b2ef76e7e88bf7fb7) ) | |
| 2357 | 2488 | ROM_END |
| 2358 | 2489 | |
| 2359 | ROM_START( robadv2v3 ) | |
| 2490 | /* Animal Bonus Nudge */ | |
| 2491 | ROM_START( abnudge ) | |
| 2360 | 2492 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2361 | ROM_LOAD( " | |
| 2493 | ROM_LOAD( " | |
| 2362 | 2494 | |
| 2363 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2364 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 2495 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2496 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2365 | 2497 | |
| 2366 | 2498 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2367 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 2368 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 2499 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 2500 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2369 | 2501 | |
| 2370 | 2502 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2371 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 2372 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 2503 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 2504 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2373 | 2505 | |
| 2374 | 2506 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2375 | ROM_LOAD_OPTIONAL( " | |
| 2507 | ROM_LOAD_OPTIONAL( " | |
| 2376 | 2508 | ROM_END |
| 2377 | 2509 | |
| 2378 | ROM_START( | |
| 2510 | ROM_START( | |
| 2379 | 2511 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2380 | ROM_LOAD( " | |
| 2512 | ROM_LOAD( " | |
| 2381 | 2513 | |
| 2382 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2383 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 2514 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2515 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2384 | 2516 | |
| 2385 | 2517 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2386 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 2387 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 2518 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 2519 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2388 | 2520 | |
| 2389 | 2521 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2390 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 2391 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 2522 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 2523 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2392 | 2524 | |
| 2393 | 2525 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2394 | ROM_LOAD_OPTIONAL( " | |
| 2526 | ROM_LOAD_OPTIONAL( " | |
| 2395 | 2527 | ROM_END |
| 2396 | 2528 | |
| 2397 | ROM_START( | |
| 2529 | ROM_START( | |
| 2398 | 2530 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2399 | ROM_LOAD( " | |
| 2531 | ROM_LOAD( " | |
| 2400 | 2532 | |
| 2401 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2402 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 2533 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2534 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2403 | 2535 | |
| 2404 | 2536 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2405 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 2406 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 2537 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 2538 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2407 | 2539 | |
| 2408 | 2540 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2409 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 2410 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 2541 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 2542 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2411 | 2543 | |
| 2412 | 2544 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2413 | ROM_LOAD_OPTIONAL( " | |
| 2545 | ROM_LOAD_OPTIONAL( " | |
| 2414 | 2546 | ROM_END |
| 2415 | 2547 | |
| 2416 | ROM_START( | |
| 2548 | ROM_START( | |
| 2417 | 2549 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2418 | ROM_LOAD( " | |
| 2550 | ROM_LOAD( " | |
| 2419 | 2551 | |
| 2420 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2421 | ROM_LOAD( "rarom2.bin", 0x00000, 0x40000, CRC(092392cb) SHA1(fd52a0c4f46cb3242bf1b9e35ad5f41cda64010b) ) | |
| 2552 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2553 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2422 | 2554 | |
| 2423 | 2555 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2424 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 2425 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 2556 | ROM_LOAD16_BYTE( "abrom3n.bin", 0x00000, 0x80000, CRC(aab2161a) SHA1(d472746c68720935fedfc6b2d06a4fe1152cc804) ) | |
| 2557 | ROM_LOAD16_BYTE( "abrom4n.bin", 0x00001, 0x80000, CRC(d776862c) SHA1(03b3c0e9adb11b560b8773e88ea97e712323f25e) ) | |
| 2426 | 2558 | |
| 2427 | 2559 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2428 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 2429 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 2430 | ||
| 2431 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2432 | ROM_LOAD_OPTIONAL( "ra17r2.id", 0x00, 0x20, CRC(a4705167) SHA1(97573248b4d35c665933e34e6e2fa2ea62e0c8a5) ) | |
| 2560 | ROM_LOAD16_BYTE( "abrom5n.bin", 0x00000, 0x80000, CRC(d3db86eb) SHA1(e7e2cdfa6b4795d4021f589d2a292c67cc32f03a) ) | |
| 2561 | ROM_LOAD16_BYTE( "abrom6n.bin", 0x00001, 0x80000, CRC(0d8dcaa1) SHA1(a74c64bb89b4273e9d1e092786a5cf8ebd60477c) ) | |
| 2433 | 2562 | ROM_END |
| 2434 | 2563 | |
| 2435 | ROM_START( robadv2d3 ) | |
| 2564 | /* Double Challenge */ | |
| 2565 | ROM_START( dblchal ) // this would be dblchalb1 if an export version would surface | |
| 2436 | 2566 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2437 | ROM_LOAD( " | |
| 2567 | ROM_LOAD( " | |
| 2438 | 2568 | |
| 2439 | 2569 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 2440 | ROM_LOAD( "r | |
| 2570 | ROM_LOAD( "dcr | |
| 2441 | 2571 | |
| 2442 | 2572 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2443 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 2444 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 2573 | ROM_LOAD16_BYTE( "dcrom3.bin", 0x00000, 0x40000, CRC(50b1c522) SHA1(620f8a1df6954c5db4a85448c810901d69859fec) ) | |
| 2574 | ROM_LOAD16_BYTE( "dcrom4.bin", 0x00001, 0x40000, CRC(a6f46957) SHA1(b4c0a28e428b9fc091ac5fc041a1ce01f65ff402) ) | |
| 2445 | 2575 | |
| 2446 | 2576 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2447 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 2448 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 2577 | ROM_LOAD16_BYTE( "dcrom5.bin", 0x00000, 0x80000, CRC(a55f4ed3) SHA1(9f7427357af84026c056624523fd20bc556f3c22) ) | |
| 2578 | ROM_LOAD16_BYTE( "dcrom6.bin", 0x00001, 0x80000, CRC(cf783d82) SHA1(d3f8ae5cb3a5f848e2d84721a5a4ee486a52de85) ) | |
| 2449 | 2579 | |
| 2450 | 2580 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2451 | ROM_LOAD_OPTIONAL( " | |
| 2581 | ROM_LOAD_OPTIONAL( "dc15r_.id", 0x00, 0x20, CRC( | |
| 2452 | 2582 | ROM_END |
| 2453 | 2583 | |
| 2454 | ROM_START( | |
| 2584 | ROM_START( d | |
| 2455 | 2585 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2456 | ROM_LOAD( " | |
| 2586 | ROM_LOAD( "d | |
| 2457 | 2587 | |
| 2458 | 2588 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 2459 | ROM_LOAD( "r | |
| 2589 | ROM_LOAD( "dcr | |
| 2460 | 2590 | |
| 2461 | 2591 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2462 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 2463 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 2592 | ROM_LOAD16_BYTE( "dcrom3.bin", 0x00000, 0x40000, CRC(50b1c522) SHA1(620f8a1df6954c5db4a85448c810901d69859fec) ) | |
| 2593 | ROM_LOAD16_BYTE( "dcrom4.bin", 0x00001, 0x40000, CRC(a6f46957) SHA1(b4c0a28e428b9fc091ac5fc041a1ce01f65ff402) ) | |
| 2464 | 2594 | |
| 2465 | 2595 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2466 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 2467 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 2596 | ROM_LOAD16_BYTE( "dcrom5.bin", 0x00000, 0x80000, CRC(a55f4ed3) SHA1(9f7427357af84026c056624523fd20bc556f3c22) ) | |
| 2597 | ROM_LOAD16_BYTE( "dcrom6.bin", 0x00001, 0x80000, CRC(cf783d82) SHA1(d3f8ae5cb3a5f848e2d84721a5a4ee486a52de85) ) | |
| 2468 | 2598 | |
| 2469 | 2599 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2470 | ROM_LOAD_OPTIONAL( " | |
| 2600 | ROM_LOAD_OPTIONAL( "dc15r | |
| 2471 | 2601 | ROM_END |
| 2472 | 2602 | |
| 2473 | ROM_START( | |
| 2603 | ROM_START( d | |
| 2474 | 2604 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2475 | ROM_LOAD( " | |
| 2605 | ROM_LOAD( "d | |
| 2476 | 2606 | |
| 2477 | 2607 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 2478 | ROM_LOAD( "r | |
| 2608 | ROM_LOAD( "dcr | |
| 2479 | 2609 | |
| 2480 | 2610 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2481 | ROM_LOAD16_BYTE( "ra2rom3.bin", 0x00000, 0x80000, CRC(eacd0cf7) SHA1(a04ddc339d330be4b278f12a54fe65d7eb08ffd0) ) | |
| 2482 | ROM_LOAD16_BYTE( "ra2rom4.bin", 0x00001, 0x80000, CRC(adac68d2) SHA1(6287a979a57004b1c4eea7f539550e23bac22904) ) | |
| 2611 | ROM_LOAD16_BYTE( "dcrom3.bin", 0x00000, 0x40000, CRC(50b1c522) SHA1(620f8a1df6954c5db4a85448c810901d69859fec) ) | |
| 2612 | ROM_LOAD16_BYTE( "dcrom4.bin", 0x00001, 0x40000, CRC(a6f46957) SHA1(b4c0a28e428b9fc091ac5fc041a1ce01f65ff402) ) | |
| 2483 | 2613 | |
| 2484 | 2614 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2485 | ROM_LOAD16_BYTE( "ra2rom5.bin", 0x00000, 0x80000, CRC(ad9379a2) SHA1(93126969677cfce20e5b2e287662ac6b2ceee425) ) | |
| 2486 | ROM_LOAD16_BYTE( "ra2rom6.bin", 0x00001, 0x80000, CRC(12312874) SHA1(9d4d9d9fbec8536e8a003892643654d15f4535fa) ) | |
| 2615 | ROM_LOAD16_BYTE( "dcrom5.bin", 0x00000, 0x80000, CRC(a55f4ed3) SHA1(9f7427357af84026c056624523fd20bc556f3c22) ) | |
| 2616 | ROM_LOAD16_BYTE( "dcrom6.bin", 0x00001, 0x80000, CRC(cf783d82) SHA1(d3f8ae5cb3a5f848e2d84721a5a4ee486a52de85) ) | |
| 2487 | 2617 | |
| 2488 | 2618 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2489 | ROM_LOAD_OPTIONAL( " | |
| 2619 | ROM_LOAD_OPTIONAL( "dc15r | |
| 2490 | 2620 | ROM_END |
| 2491 | 2621 | |
| 2492 | ||
| 2493 | ROM_START( pirpok2 ) | |
| 2622 | ROM_START( dblchalv1 ) | |
| 2494 | 2623 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2495 | ROM_LOAD( " | |
| 2624 | ROM_LOAD( "dcv15r.bin", 0x00000, 0x40000, CRC(1e5fc8fd) SHA1( | |
| 2496 | 2625 | |
| 2497 | 2626 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 2498 | ROM_LOAD( " | |
| 2627 | ROM_LOAD( "dcrom2.bin", 0x00000, 0x20000, CRC(c | |
| 2499 | 2628 | |
| 2500 | 2629 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2501 | ROM_LOAD16_BYTE( "p3rom3.bin", 0x00000, 0x80000, CRC(34d3e6c5) SHA1(1d89677605188f135c8dbbc2ab20510cae7548fe) ) | |
| 2502 | ROM_LOAD16_BYTE( "p3rom4.bin", 0x00001, 0x80000, CRC(3861b5fb) SHA1(72f085a1fd951919f479e5c6984304f7bbddc054) ) | |
| 2630 | ROM_LOAD16_BYTE( "dcrom3.bin", 0x00000, 0x40000, CRC(50b1c522) SHA1(620f8a1df6954c5db4a85448c810901d69859fec) ) | |
| 2631 | ROM_LOAD16_BYTE( "dcrom4.bin", 0x00001, 0x40000, CRC(a6f46957) SHA1(b4c0a28e428b9fc091ac5fc041a1ce01f65ff402) ) | |
| 2503 | 2632 | |
| 2504 | 2633 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2505 | ROM_LOAD16_BYTE( "p3rom5.bin", 0x00000, 0x80000, CRC(c5eca135) SHA1(bdaccd32e1434016c77579bc8c4214ab2a3ae474) ) | |
| 2506 | ROM_LOAD16_BYTE( "p3rom6.bin", 0x00001, 0x80000, CRC(d990cbb8) SHA1(6f822e38bf401b2eb0b2e36f3b4fc6822fafd3fa) ) | |
| 2507 | ROM_END | |
| 2634 | ROM_LOAD16_BYTE( "dcrom5.bin", 0x00000, 0x80000, CRC(a55f4ed3) SHA1(9f7427357af84026c056624523fd20bc556f3c22) ) | |
| 2635 | ROM_LOAD16_BYTE( "dcrom6.bin", 0x00001, 0x80000, CRC(cf783d82) SHA1(d3f8ae5cb3a5f848e2d84721a5a4ee486a52de85) ) | |
| 2508 | 2636 | |
| 2509 | ROM_START( pirpok2b ) | |
| 2510 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ | |
| 2511 | ROM_LOAD( "p3pb22r.bin", 0x00000, 0x40000, CRC(39303a7a) SHA1(ef4f1a01812818fe0f9fa5a23396094144c3ce83) ) | |
| 2512 | ||
| 2513 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2514 | ROM_LOAD( "p3rom2.bin", 0x00000, 0x20000, CRC(db6182e4) SHA1(65f05247629d5a1f37bf179f468acf8420342d2c) ) | |
| 2515 | ||
| 2516 | ROM_REGION( 0x100000, "gfx1", 0 ) | |
| 2517 | ROM_LOAD16_BYTE( "p3rom3.bin", 0x00000, 0x80000, CRC(34d3e6c5) SHA1(1d89677605188f135c8dbbc2ab20510cae7548fe) ) | |
| 2518 | ROM_LOAD16_BYTE( "p3rom4.bin", 0x00001, 0x80000, CRC(3861b5fb) SHA1(72f085a1fd951919f479e5c6984304f7bbddc054) ) | |
| 2519 | ||
| 2520 | ROM_REGION( 0x100000, "gfx2", 0 ) | |
| 2521 | ROM_LOAD16_BYTE( "p3rom5.bin", 0x00000, 0x80000, CRC(c5eca135) SHA1(bdaccd32e1434016c77579bc8c4214ab2a3ae474) ) | |
| 2522 | ROM_LOAD16_BYTE( "p3rom6.bin", 0x00001, 0x80000, CRC(d990cbb8) SHA1(6f822e38bf401b2eb0b2e36f3b4fc6822fafd3fa) ) | |
| 2523 | ||
| 2524 | 2637 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2525 | ROM_LOAD_OPTIONAL( " | |
| 2638 | ROM_LOAD_OPTIONAL( "dc15 | |
| 2526 | 2639 | ROM_END |
| 2527 | 2640 | |
| 2528 | ROM_START( | |
| 2641 | ROM_START( | |
| 2529 | 2642 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2530 | ROM_LOAD( " | |
| 2643 | ROM_LOAD( " | |
| 2531 | 2644 | |
| 2532 | 2645 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ |
| 2533 | ROM_LOAD( " | |
| 2646 | ROM_LOAD( "dcrom2.bin", 0x00000, 0x20000, CRC(c | |
| 2534 | 2647 | |
| 2535 | 2648 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2536 | ROM_LOAD16_BYTE( "p3rom3.bin", 0x00000, 0x80000, CRC(34d3e6c5) SHA1(1d89677605188f135c8dbbc2ab20510cae7548fe) ) | |
| 2537 | ROM_LOAD16_BYTE( "p3rom4.bin", 0x00001, 0x80000, CRC(3861b5fb) SHA1(72f085a1fd951919f479e5c6984304f7bbddc054) ) | |
| 2649 | ROM_LOAD16_BYTE( "dcrom3.bin", 0x00000, 0x40000, CRC(50b1c522) SHA1(620f8a1df6954c5db4a85448c810901d69859fec) ) | |
| 2650 | ROM_LOAD16_BYTE( "dcrom4.bin", 0x00001, 0x40000, CRC(a6f46957) SHA1(b4c0a28e428b9fc091ac5fc041a1ce01f65ff402) ) | |
| 2538 | 2651 | |
| 2539 | 2652 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2540 | ROM_LOAD16_BYTE( "p3rom5.bin", 0x00000, 0x80000, CRC(c5eca135) SHA1(bdaccd32e1434016c77579bc8c4214ab2a3ae474) ) | |
| 2541 | ROM_LOAD16_BYTE( "p3rom6.bin", 0x00001, 0x80000, CRC(d990cbb8) SHA1(6f822e38bf401b2eb0b2e36f3b4fc6822fafd3fa) ) | |
| 2542 | ||
| 2543 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2544 | ROM_LOAD_OPTIONAL( "p3p22r.id", 0x00, 0x20, CRC(fc07ce9b) SHA1(50ea8edd5c2f73f7e8abaa8af0d717152648dcd0) ) | |
| 2653 | ROM_LOAD16_BYTE( "dcrom5.bin", 0x00000, 0x80000, CRC(a55f4ed3) SHA1(9f7427357af84026c056624523fd20bc556f3c22) ) | |
| 2654 | ROM_LOAD16_BYTE( "dcrom6.bin", 0x00001, 0x80000, CRC(cf783d82) SHA1(d3f8ae5cb3a5f848e2d84721a5a4ee486a52de85) ) | |
| 2545 | 2655 | ROM_END |
| 2546 | 2656 | |
| 2547 | ROM_START( pirpok2v ) | |
| 2657 | /* Animal Treasure Hunt */ | |
| 2658 | ROM_START( anithunt ) // this would be anithuntb1 if an export version would surface | |
| 2548 | 2659 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2549 | ROM_LOAD( " | |
| 2660 | ROM_LOAD( "athb19r.bin", 0x00000, 0x40000, CRC(71d0604f | |
| 2550 | 2661 | |
| 2551 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2552 | ROM_LOAD( "p3rom2.bin", 0x00000, 0x20000, CRC(db6182e4) SHA1(65f05247629d5a1f37bf179f468acf8420342d2c) ) | |
| 2662 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2663 | ROM_LOAD( "athrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2553 | 2664 | |
| 2554 | 2665 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2555 | ROM_LOAD16_BYTE( "p3rom3.bin", 0x00000, 0x80000, CRC(34d3e6c5) SHA1(1d89677605188f135c8dbbc2ab20510cae7548fe) ) | |
| 2556 | ROM_LOAD16_BYTE( "p3rom4.bin", 0x00001, 0x80000, CRC(3861b5fb) SHA1(72f085a1fd951919f479e5c6984304f7bbddc054) ) | |
| 2666 | ROM_LOAD16_BYTE( "athrom3.bin", 0x00000, 0x80000, CRC(f784ec01) SHA1(69474fc9d10882fd9ec0c02675193df7aa31f6a7) ) | |
| 2667 | ROM_LOAD16_BYTE( "athrom4.bin", 0x00001, 0x80000, CRC(49749939) SHA1(6deb10c2b51b5718f0cba31f6bda54bcc001bc71) ) | |
| 2557 | 2668 | |
| 2558 | 2669 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2559 | ROM_LOAD16_BYTE( "p3rom5.bin", 0x00000, 0x80000, CRC(c5eca135) SHA1(bdaccd32e1434016c77579bc8c4214ab2a3ae474) ) | |
| 2560 | ROM_LOAD16_BYTE( "p3rom6.bin", 0x00001, 0x80000, CRC(d990cbb8) SHA1(6f822e38bf401b2eb0b2e36f3b4fc6822fafd3fa) ) | |
| 2670 | ROM_LOAD16_BYTE( "ath-rom5.bin", 0x00000, 0x80000, CRC(536a7e23) SHA1(51dc6b2b022a672810b00e1006b0c7ee610a4e4f) ) | |
| 2671 | ROM_LOAD16_BYTE( "ath-rom6.bin", 0x00001, 0x80000, CRC(23bc5067) SHA1(1e279e58437b897c7a68c9cdd15277c6a906a142) ) | |
| 2561 | 2672 | |
| 2562 | 2673 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2563 | ROM_LOAD_OPTIONAL( " | |
| 2674 | ROM_LOAD_OPTIONAL( "ath19r_.id", 0x00, 0x20, CRC(1 | |
| 2564 | 2675 | ROM_END |
| 2565 | 2676 | |
| 2566 | ROM_START( | |
| 2677 | ROM_START( anithuntd1 ) | |
| 2567 | 2678 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2568 | ROM_LOAD( " | |
| 2679 | ROM_LOAD( "athd19r.bin", 0x00000, 0x40000, CRC(80 | |
| 2569 | 2680 | |
| 2570 | ROM_REGION( 0x040000, "oki", 0 ) /* Samples */ | |
| 2571 | ROM_LOAD( "p3rom2.bin", 0x00000, 0x20000, CRC(db6182e4) SHA1(65f05247629d5a1f37bf179f468acf8420342d2c) ) | |
| 2681 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2682 | ROM_LOAD( "athrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2572 | 2683 | |
| 2573 | 2684 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2574 | ROM_LOAD16_BYTE( "p3rom3.bin", 0x00000, 0x80000, CRC(34d3e6c5) SHA1(1d89677605188f135c8dbbc2ab20510cae7548fe) ) | |
| 2575 | ROM_LOAD16_BYTE( "p3rom4.bin", 0x00001, 0x80000, CRC(3861b5fb) SHA1(72f085a1fd951919f479e5c6984304f7bbddc054) ) | |
| 2685 | ROM_LOAD16_BYTE( "athrom3.bin", 0x00000, 0x80000, CRC(f784ec01) SHA1(69474fc9d10882fd9ec0c02675193df7aa31f6a7) ) | |
| 2686 | ROM_LOAD16_BYTE( "athrom4.bin", 0x00001, 0x80000, CRC(49749939) SHA1(6deb10c2b51b5718f0cba31f6bda54bcc001bc71) ) | |
| 2576 | 2687 | |
| 2577 | 2688 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2578 | ROM_LOAD16_BYTE( "p3rom5.bin", 0x00000, 0x80000, CRC(c5eca135) SHA1(bdaccd32e1434016c77579bc8c4214ab2a3ae474) ) | |
| 2579 | ROM_LOAD16_BYTE( "p3rom6.bin", 0x00001, 0x80000, CRC(d990cbb8) SHA1(6f822e38bf401b2eb0b2e36f3b4fc6822fafd3fa) ) | |
| 2689 | ROM_LOAD16_BYTE( "ath-rom5.bin", 0x00000, 0x80000, CRC(536a7e23) SHA1(51dc6b2b022a672810b00e1006b0c7ee610a4e4f) ) | |
| 2690 | ROM_LOAD16_BYTE( "ath-rom6.bin", 0x00001, 0x80000, CRC(23bc5067) SHA1(1e279e58437b897c7a68c9cdd15277c6a906a142) ) | |
| 2580 | 2691 | |
| 2581 | 2692 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2582 | ROM_LOAD_OPTIONAL( " | |
| 2693 | ROM_LOAD_OPTIONAL( "ath19r.id", 0x00, 0x20, CRC( | |
| 2583 | 2694 | ROM_END |
| 2584 | 2695 | |
| 2585 | ||
| 2586 | ||
| 2587 | ROM_START( fcnudge ) | |
| 2696 | ROM_START( anithuntv1 ) | |
| 2588 | 2697 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2589 | ROM_LOAD( " | |
| 2698 | ROM_LOAD( "athv19r.bin", 0x00000, 0x40000, CRC(7 | |
| 2590 | 2699 | |
| 2591 | 2700 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2592 | ROM_LOAD( "a | |
| 2701 | ROM_LOAD( "athrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2593 | 2702 | |
| 2594 | 2703 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2595 | ROM_LOAD16_BYTE( "fcrom3n.bin", 0x00000, 0x80000, CRC(3d1c3d7f) SHA1(bcb20c08a0a2a36775052ae45258862afc00d61d) ) | |
| 2596 | ROM_LOAD16_BYTE( "fcrom4n.bin", 0x00001, 0x80000, CRC(a047861e) SHA1(b5d160c25945c7c103160e80d545cb3e1091e631) ) | |
| 2704 | ROM_LOAD16_BYTE( "athrom3.bin", 0x00000, 0x80000, CRC(f784ec01) SHA1(69474fc9d10882fd9ec0c02675193df7aa31f6a7) ) | |
| 2705 | ROM_LOAD16_BYTE( "athrom4.bin", 0x00001, 0x80000, CRC(49749939) SHA1(6deb10c2b51b5718f0cba31f6bda54bcc001bc71) ) | |
| 2597 | 2706 | |
| 2598 | 2707 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2599 | ROM_LOAD16_BYTE( "fcrom5n.bin", 0x00000, 0x80000, CRC(42955842) SHA1(383be3049da5b10ea57a278bc6578ece046058fd) ) | |
| 2600 | ROM_LOAD16_BYTE( "fcrom6n.bin", 0x00001, 0x80000, CRC(eee0f84d) SHA1(4ac096ccea258710f58c8121e7f0af28593d6368) ) | |
| 2601 | ROM_END | |
| 2708 | ROM_LOAD16_BYTE( "ath-rom5.bin", 0x00000, 0x80000, CRC(536a7e23) SHA1(51dc6b2b022a672810b00e1006b0c7ee610a4e4f) ) | |
| 2709 | ROM_LOAD16_BYTE( "ath-rom6.bin", 0x00001, 0x80000, CRC(23bc5067) SHA1(1e279e58437b897c7a68c9cdd15277c6a906a142) ) | |
| 2602 | 2710 | |
| 2603 | ROM_START( fcnudge2 ) | |
| 2604 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ | |
| 2605 | ROM_LOAD( "fcv21n.bin", 0x00000, 0x40000, CRC(c1f839bd) SHA1(12da36b864adcabe0386dc2e17dd9550fb23b641) ) | |
| 2606 | ||
| 2607 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2608 | ROM_LOAD( "abrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2609 | ||
| 2610 | ROM_REGION( 0x100000, "gfx1", 0 ) | |
| 2611 | ROM_LOAD16_BYTE( "fcrom3n.bin", 0x00000, 0x80000, CRC(3d1c3d7f) SHA1(bcb20c08a0a2a36775052ae45258862afc00d61d) ) | |
| 2612 | ROM_LOAD16_BYTE( "fcrom4n.bin", 0x00001, 0x80000, CRC(a047861e) SHA1(b5d160c25945c7c103160e80d545cb3e1091e631) ) | |
| 2613 | ||
| 2614 | ROM_REGION( 0x100000, "gfx2", 0 ) | |
| 2615 | ROM_LOAD16_BYTE( "fcrom5n.bin", 0x00000, 0x80000, CRC(42955842) SHA1(383be3049da5b10ea57a278bc6578ece046058fd) ) | |
| 2616 | ROM_LOAD16_BYTE( "fcrom6n.bin", 0x00001, 0x80000, CRC(eee0f84d) SHA1(4ac096ccea258710f58c8121e7f0af28593d6368) ) | |
| 2617 | ||
| 2618 | 2711 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2619 | ROM_LOAD_OPTIONAL( " | |
| 2712 | ROM_LOAD_OPTIONAL( "ath19r.id", 0x00, 0x20, CRC(6 | |
| 2620 | 2713 | ROM_END |
| 2621 | 2714 | |
| 2622 | ROM_START( | |
| 2715 | ROM_START( a | |
| 2623 | 2716 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2624 | ROM_LOAD( " | |
| 2717 | ROM_LOAD( "ath17 | |
| 2625 | 2718 | |
| 2626 | 2719 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2627 | ROM_LOAD( "a | |
| 2720 | ROM_LOAD( "athrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2628 | 2721 | |
| 2629 | 2722 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2630 | ROM_LOAD16_BYTE( "fcrom3n.bin", 0x00000, 0x80000, CRC(3d1c3d7f) SHA1(bcb20c08a0a2a36775052ae45258862afc00d61d) ) | |
| 2631 | ROM_LOAD16_BYTE( "fcrom4n.bin", 0x00001, 0x80000, CRC(a047861e) SHA1(b5d160c25945c7c103160e80d545cb3e1091e631) ) | |
| 2723 | ROM_LOAD16_BYTE( "athrom3.bin", 0x00000, 0x80000, CRC(f784ec01) SHA1(69474fc9d10882fd9ec0c02675193df7aa31f6a7) ) | |
| 2724 | ROM_LOAD16_BYTE( "athrom4.bin", 0x00001, 0x80000, CRC(49749939) SHA1(6deb10c2b51b5718f0cba31f6bda54bcc001bc71) ) | |
| 2632 | 2725 | |
| 2633 | 2726 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2634 | ROM_LOAD16_BYTE( "fcrom5n.bin", 0x00000, 0x80000, CRC(42955842) SHA1(383be3049da5b10ea57a278bc6578ece046058fd) ) | |
| 2635 | ROM_LOAD16_BYTE( "fcrom6n.bin", 0x00001, 0x80000, CRC(eee0f84d) SHA1(4ac096ccea258710f58c8121e7f0af28593d6368) ) | |
| 2636 | ||
| 2637 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2638 | ROM_LOAD_OPTIONAL( "fc20n_.id", 0x00, 0x20, CRC(b6072181) SHA1(f666cdc7be23bb2445cae6a338a6739c7f64f907) ) | |
| 2727 | ROM_LOAD16_BYTE( "ath-rom5.bin", 0x00000, 0x80000, CRC(536a7e23) SHA1(51dc6b2b022a672810b00e1006b0c7ee610a4e4f) ) | |
| 2728 | ROM_LOAD16_BYTE( "ath-rom6.bin", 0x00001, 0x80000, CRC(23bc5067) SHA1(1e279e58437b897c7a68c9cdd15277c6a906a142) ) | |
| 2639 | 2729 | ROM_END |
| 2640 | 2730 | |
| 2641 | ROM_START( | |
| 2731 | ROM_START( a | |
| 2642 | 2732 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2643 | ROM_LOAD( " | |
| 2733 | ROM_LOAD( "ath15 | |
| 2644 | 2734 | |
| 2645 | 2735 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2646 | ROM_LOAD( "a | |
| 2736 | ROM_LOAD( "athrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) | |
| 2647 | 2737 | |
| 2648 | 2738 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2649 | ROM_LOAD16_BYTE( "fcrom3n.bin", 0x00000, 0x80000, CRC(3d1c3d7f) SHA1(bcb20c08a0a2a36775052ae45258862afc00d61d) ) | |
| 2650 | ROM_LOAD16_BYTE( "fcrom4n.bin", 0x00001, 0x80000, CRC(a047861e) SHA1(b5d160c25945c7c103160e80d545cb3e1091e631) ) | |
| 2739 | ROM_LOAD16_BYTE( "ath-rom3.bin", 0x00000, 0x80000, CRC(2ce266b2) SHA1(34dcc504d48a26976e17ad0b8399904e5ecc3379) ) | |
| 2740 | ROM_LOAD16_BYTE( "ath-rom4.bin", 0x00001, 0x80000, CRC(59d25672) SHA1(212ba0aa7794b7a37121896190e64069f005b1ea) ) | |
| 2651 | 2741 | |
| 2652 | 2742 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2653 | ROM_LOAD16_BYTE( "fcrom5n.bin", 0x00000, 0x80000, CRC(42955842) SHA1(383be3049da5b10ea57a278bc6578ece046058fd) ) | |
| 2654 | ROM_LOAD16_BYTE( "fcrom6n.bin", 0x00001, 0x80000, CRC(eee0f84d) SHA1(4ac096ccea258710f58c8121e7f0af28593d6368) ) | |
| 2655 | ||
| 2656 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2657 | ROM_LOAD_OPTIONAL( "fc20n.id", 0x00, 0x20, CRC(1d8fa4c9) SHA1(f389aab05538688e21bc41ded91f8a2ccf0a7a38) ) | |
| 2743 | ROM_LOAD16_BYTE( "ath-rom5.bin", 0x00000, 0x80000, CRC(536a7e23) SHA1(51dc6b2b022a672810b00e1006b0c7ee610a4e4f) ) | |
| 2744 | ROM_LOAD16_BYTE( "ath-rom6.bin", 0x00001, 0x80000, CRC(23bc5067) SHA1(1e279e58437b897c7a68c9cdd15277c6a906a142) ) | |
| 2658 | 2745 | ROM_END |
| 2659 | 2746 | |
| 2747 | /* Super Fruit Bonus */ | |
| 2660 | 2748 | ROM_START( sfruitb ) |
| 2661 | 2749 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2662 | ROM_LOAD( "sfb2 | |
| 2750 | ROM_LOAD( "sfbv25e.bin", 0x00000, 0x40000, CRC(a9c7edb | |
| 2663 | 2751 | |
| 2664 | 2752 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2665 | 2753 | ROM_LOAD( "sfbrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) |
| r5490 | r5491 | |
| 2671 | 2759 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2672 | 2760 | ROM_LOAD16_BYTE( "sfbrom5.bin", 0x00000, 0x80000, CRC(31588ff3) SHA1(6e2a65d50457ec0e93a647fd8ca5ebeeb16bdb1c) ) |
| 2673 | 2761 | ROM_LOAD16_BYTE( "sfbrom6.bin", 0x00001, 0x80000, CRC(232d6216) SHA1(ca7780adc85fa570698736785ad700797e6a98fb) ) |
| 2762 | ||
| 2763 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2764 | ROM_LOAD_OPTIONAL( "sfb25e.id", 0x00, 0x20, CRC(a4ae87d4) SHA1(d19b6cc31b6011f5467ba6fe70cced8ca5ddffc9) ) | |
| 2674 | 2765 | ROM_END |
| 2675 | 2766 | |
| 2676 | ROM_START( sfruitb | |
| 2767 | ROM_START( sfruitbb1 ) | |
| 2677 | 2768 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2678 | ROM_LOAD( "sfb2 | |
| 2769 | ROM_LOAD( "sfbb25r.bin", 0x00000, 0x40000, CRC( | |
| 2679 | 2770 | |
| 2680 | 2771 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2681 | 2772 | ROM_LOAD( "sfbrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) |
| r5490 | r5491 | |
| 2687 | 2778 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2688 | 2779 | ROM_LOAD16_BYTE( "sfbrom5.bin", 0x00000, 0x80000, CRC(31588ff3) SHA1(6e2a65d50457ec0e93a647fd8ca5ebeeb16bdb1c) ) |
| 2689 | 2780 | ROM_LOAD16_BYTE( "sfbrom6.bin", 0x00001, 0x80000, CRC(232d6216) SHA1(ca7780adc85fa570698736785ad700797e6a98fb) ) |
| 2781 | ||
| 2782 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2783 | ROM_LOAD_OPTIONAL( "sfb25r_.id", 0x00, 0x20, CRC(ef2307d4) SHA1(31126388ffddeb346724d03ed5d983d2952dfc07) ) | |
| 2690 | 2784 | ROM_END |
| 2691 | 2785 | |
| 2692 | ROM_START( sfruitb | |
| 2786 | ROM_START( sfruitbb2 ) | |
| 2693 | 2787 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2694 | ROM_LOAD( "sfb | |
| 2788 | ROM_LOAD( "sfbb20lt.bin", 0x00000, 0x40000, CRC(418 | |
| 2695 | 2789 | |
| 2696 | 2790 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2697 | 2791 | ROM_LOAD( "sfbrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) |
| r5490 | r5491 | |
| 2703 | 2797 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2704 | 2798 | ROM_LOAD16_BYTE( "sfbrom5.bin", 0x00000, 0x80000, CRC(31588ff3) SHA1(6e2a65d50457ec0e93a647fd8ca5ebeeb16bdb1c) ) |
| 2705 | 2799 | ROM_LOAD16_BYTE( "sfbrom6.bin", 0x00001, 0x80000, CRC(232d6216) SHA1(ca7780adc85fa570698736785ad700797e6a98fb) ) |
| 2800 | ||
| 2801 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2802 | ROM_LOAD_OPTIONAL( "sfb20lt_.id", 0x00, 0x20, CRC(a3b85e54) SHA1(b0d07780f2047beb14f624f8306ad41d88502c10) ) | |
| 2706 | 2803 | ROM_END |
| 2707 | 2804 | |
| 2708 | ROM_START( sfruitb | |
| 2805 | ROM_START( sfruitbd1 ) | |
| 2709 | 2806 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2710 | ROM_LOAD( "sfb | |
| 2807 | ROM_LOAD( "sfbd25r | |
| 2711 | 2808 | |
| 2712 | 2809 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2713 | 2810 | ROM_LOAD( "sfbrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) |
| r5490 | r5491 | |
| 2721 | 2818 | ROM_LOAD16_BYTE( "sfbrom6.bin", 0x00001, 0x80000, CRC(232d6216) SHA1(ca7780adc85fa570698736785ad700797e6a98fb) ) |
| 2722 | 2819 | |
| 2723 | 2820 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2724 | ROM_LOAD_OPTIONAL( "sfb2 | |
| 2821 | ROM_LOAD_OPTIONAL( "sfb25r | |
| 2725 | 2822 | ROM_END |
| 2726 | 2823 | |
| 2727 | ROM_START( sfruitb | |
| 2824 | ROM_START( sfruitbd2 ) | |
| 2728 | 2825 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2729 | ROM_LOAD( "sfb | |
| 2826 | ROM_LOAD( "sfbd20lt.bin", 0x00000, 0x40000, | |
| 2730 | 2827 | |
| 2731 | 2828 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2732 | 2829 | ROM_LOAD( "sfbrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) |
| r5490 | r5491 | |
| 2740 | 2837 | ROM_LOAD16_BYTE( "sfbrom6.bin", 0x00001, 0x80000, CRC(232d6216) SHA1(ca7780adc85fa570698736785ad700797e6a98fb) ) |
| 2741 | 2838 | |
| 2742 | 2839 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2743 | ROM_LOAD_OPTIONAL( "sfb2 | |
| 2840 | ROM_LOAD_OPTIONAL( "sfb20lt.id", 0x00, 0x20, CRC(eb2 | |
| 2744 | 2841 | ROM_END |
| 2745 | 2842 | |
| 2746 | ROM_START( sfruitb | |
| 2843 | ROM_START( sfruitbv1 ) | |
| 2747 | 2844 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2748 | ROM_LOAD( "sfb | |
| 2845 | ROM_LOAD( "sfbv25r.bin", 0x00000, 0x40000, CRC(beb | |
| 2749 | 2846 | |
| 2750 | 2847 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2751 | 2848 | ROM_LOAD( "sfbrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) |
| r5490 | r5491 | |
| 2759 | 2856 | ROM_LOAD16_BYTE( "sfbrom6.bin", 0x00001, 0x80000, CRC(232d6216) SHA1(ca7780adc85fa570698736785ad700797e6a98fb) ) |
| 2760 | 2857 | |
| 2761 | 2858 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2762 | ROM_LOAD_OPTIONAL( "sfb25r | |
| 2859 | ROM_LOAD_OPTIONAL( "sfb25r | |
| 2763 | 2860 | ROM_END |
| 2764 | 2861 | |
| 2765 | ROM_START( sfruitb | |
| 2862 | ROM_START( sfruitbv2 ) | |
| 2766 | 2863 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2767 | ROM_LOAD( "sfb | |
| 2864 | ROM_LOAD( "sfbv20lt.bin", 0x00000, 0x40000, CRC(63560 | |
| 2768 | 2865 | |
| 2769 | 2866 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2770 | 2867 | ROM_LOAD( "sfbrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) |
| r5490 | r5491 | |
| 2781 | 2878 | ROM_LOAD_OPTIONAL( "sfb20lt.id", 0x00, 0x20, CRC(eb233ded) SHA1(02882a386ebd3b739ab318cd97b3a371bbdba739) ) |
| 2782 | 2879 | ROM_END |
| 2783 | 2880 | |
| 2784 | ROM_START( sfruitb | |
| 2881 | ROM_START( sfruitbo | |
| 2785 | 2882 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2786 | ROM_LOAD( "sfb | |
| 2883 | ROM_LOAD( "sfb | |
| 2787 | 2884 | |
| 2788 | 2885 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2789 | 2886 | ROM_LOAD( "sfbrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) |
| r5490 | r5491 | |
| 2795 | 2892 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2796 | 2893 | ROM_LOAD16_BYTE( "sfbrom5.bin", 0x00000, 0x80000, CRC(31588ff3) SHA1(6e2a65d50457ec0e93a647fd8ca5ebeeb16bdb1c) ) |
| 2797 | 2894 | ROM_LOAD16_BYTE( "sfbrom6.bin", 0x00001, 0x80000, CRC(232d6216) SHA1(ca7780adc85fa570698736785ad700797e6a98fb) ) |
| 2798 | ||
| 2799 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2800 | ROM_LOAD_OPTIONAL( "sfb22b.id", 0x00, 0x20, CRC(6bccb043) SHA1(aed25ed09d34a98432436739a00fae4d6b3f6324) ) | |
| 2801 | 2895 | ROM_END |
| 2802 | 2896 | |
| 2803 | ROM_START( sfruitb | |
| 2897 | ROM_START( sfruitbo2 ) | |
| 2804 | 2898 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2805 | ROM_LOAD( "sfb | |
| 2899 | ROM_LOAD( "sfb18xt.bin", 0x00000, 0x40000, CRC(15a7fc47 | |
| 2806 | 2900 | |
| 2807 | 2901 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2808 | 2902 | ROM_LOAD( "sfbrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) |
| r5490 | r5491 | |
| 2814 | 2908 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2815 | 2909 | ROM_LOAD16_BYTE( "sfbrom5.bin", 0x00000, 0x80000, CRC(31588ff3) SHA1(6e2a65d50457ec0e93a647fd8ca5ebeeb16bdb1c) ) |
| 2816 | 2910 | ROM_LOAD16_BYTE( "sfbrom6.bin", 0x00001, 0x80000, CRC(232d6216) SHA1(ca7780adc85fa570698736785ad700797e6a98fb) ) |
| 2817 | ||
| 2818 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2819 | ROM_LOAD_OPTIONAL( "sfb25r.id", 0x00, 0x20, CRC(06d72594) SHA1(53b8ddd2166e0345d7ab83c8ab5fc05672201b88) ) | |
| 2820 | 2911 | ROM_END |
| 2821 | 2912 | |
| 2822 | ||
| 2823 | ROM_START( sfruitbv ) | |
| 2913 | ROM_START( sfruitbh ) | |
| 2824 | 2914 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2825 | ROM_LOAD( "sfbv2 | |
| 2915 | ROM_LOAD( "sfbv22eb.bin", 0x00000, 0x40000, CRC(64d31a3 | |
| 2826 | 2916 | |
| 2827 | 2917 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2828 | 2918 | ROM_LOAD( "sfbrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) |
| r5490 | r5491 | |
| 2836 | 2926 | ROM_LOAD16_BYTE( "sfbrom6.bin", 0x00001, 0x80000, CRC(232d6216) SHA1(ca7780adc85fa570698736785ad700797e6a98fb) ) |
| 2837 | 2927 | |
| 2838 | 2928 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2839 | ROM_LOAD_OPTIONAL( "sfb2 | |
| 2929 | ROM_LOAD_OPTIONAL( "sfb22eb.id", 0x00, 0x20, CRC(eb57209c) SHA1(1ea1acdd92bb399fe0e | |
| 2840 | 2930 | ROM_END |
| 2841 | 2931 | |
| 2842 | ROM_START( sfruitb | |
| 2932 | ROM_START( sfruitbbh ) | |
| 2843 | 2933 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2844 | ROM_LOAD( "sfb | |
| 2934 | ROM_LOAD( "sfbb22b.bin", 0x00000, 0x40000, CRC(16a | |
| 2845 | 2935 | |
| 2846 | 2936 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2847 | 2937 | ROM_LOAD( "sfbrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) |
| r5490 | r5491 | |
| 2855 | 2945 | ROM_LOAD16_BYTE( "sfbrom6.bin", 0x00001, 0x80000, CRC(232d6216) SHA1(ca7780adc85fa570698736785ad700797e6a98fb) ) |
| 2856 | 2946 | |
| 2857 | 2947 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2858 | ROM_LOAD_OPTIONAL( "sfb2 | |
| 2948 | ROM_LOAD_OPTIONAL( "sfb22b_.id", 0x00, 0x20, CRC(29523bc1) SHA1( | |
| 2859 | 2949 | ROM_END |
| 2860 | 2950 | |
| 2861 | ROM_START( sfruitb | |
| 2951 | ROM_START( sfruitbdh ) | |
| 2862 | 2952 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2863 | ROM_LOAD( "sfb | |
| 2953 | ROM_LOAD( "sfbd22 | |
| 2864 | 2954 | |
| 2865 | 2955 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2866 | 2956 | ROM_LOAD( "sfbrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) |
| r5490 | r5491 | |
| 2874 | 2964 | ROM_LOAD16_BYTE( "sfbrom6.bin", 0x00001, 0x80000, CRC(232d6216) SHA1(ca7780adc85fa570698736785ad700797e6a98fb) ) |
| 2875 | 2965 | |
| 2876 | 2966 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2877 | ROM_LOAD_OPTIONAL( "sfb22 | |
| 2967 | ROM_LOAD_OPTIONAL( "sfb22 | |
| 2878 | 2968 | ROM_END |
| 2879 | 2969 | |
| 2880 | ROM_START( sfruitbv | |
| 2970 | ROM_START( sfruitbvh ) | |
| 2881 | 2971 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2882 | 2972 | ROM_LOAD( "sfbv22b.bin", 0x00000, 0x40000, CRC(ec0e8486) SHA1(249b8ecada6b7c0b3e16baa614620af80d7d8c6e) ) |
| 2883 | 2973 | |
| r5490 | r5491 | |
| 2896 | 2986 | ROM_LOAD_OPTIONAL( "sfb22b.id", 0x00, 0x20, CRC(6bccb043) SHA1(aed25ed09d34a98432436739a00fae4d6b3f6324) ) |
| 2897 | 2987 | ROM_END |
| 2898 | 2988 | |
| 2899 | ROM_START( sfruitb | |
| 2989 | ROM_START( sfruitboh ) | |
| 2900 | 2990 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2901 | ROM_LOAD( "sfb | |
| 2991 | ROM_LOAD( "sfb | |
| 2902 | 2992 | |
| 2903 | 2993 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2904 | 2994 | ROM_LOAD( "sfbrom2.bin", 0x00000, 0x20000, CRC(3823a36e) SHA1(4136e380b63546b9490033ad26d776f326eb9290) ) |
| r5490 | r5491 | |
| 2910 | 3000 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2911 | 3001 | ROM_LOAD16_BYTE( "sfbrom5.bin", 0x00000, 0x80000, CRC(31588ff3) SHA1(6e2a65d50457ec0e93a647fd8ca5ebeeb16bdb1c) ) |
| 2912 | 3002 | ROM_LOAD16_BYTE( "sfbrom6.bin", 0x00001, 0x80000, CRC(232d6216) SHA1(ca7780adc85fa570698736785ad700797e6a98fb) ) |
| 2913 | ||
| 2914 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2915 | ROM_LOAD_OPTIONAL( "sfb20lt.id", 0x00, 0x20, CRC(eb233ded) SHA1(02882a386ebd3b739ab318cd97b3a371bbdba739) ) | |
| 2916 | 3003 | ROM_END |
| 2917 | 3004 | |
| 2918 | ||
| 3005 | /* Fruit Bonus 2nd Generation */ | |
| 2919 | 3006 | ROM_START( fb2gen ) |
| 2920 | 3007 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2921 | ROM_LOAD( "f | |
| 3008 | ROM_LOAD( "f | |
| 2922 | 3009 | |
| 2923 | 3010 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 2924 | 3011 | ROM_LOAD( "fb2grom2.bin", 0x00000, 0x40000, CRC(1cbbd43a) SHA1(6e31c3bdd677d9d3cb445294cf17a0efcb16d4ed) ) |
| 2925 | 3012 | |
| 2926 | 3013 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 2927 | ROM_LOAD16_BYTE( "fb2grom3_older.bin", 0x00000, 0x80000, CRC(a4f33c67) SHA1(ec7f539725b2684add019c1dad3f230b5c798daa) ) | |
| 2928 | ROM_LOAD16_BYTE( "fb2grom4_older.bin", 0x00001, 0x80000, CRC(c142f2af) SHA1(3323de8cd09b64c1c8ccf51acf74444e577fdfb3) ) | |
| 3014 | ROM_LOAD16_BYTE( "fb2grom3.bin", 0x00000, 0x80000, CRC(21ade753) SHA1(ca70ab941740983626f4d274aa4a9edea366f38a) ) | |
| 3015 | ROM_LOAD16_BYTE( "fb2grom4.bin", 0x00001, 0x80000, CRC(56605a08) SHA1(09022dc797dd824a973c5126cafe7b086a94184c) ) | |
| 2929 | 3016 | |
| 2930 | 3017 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 2931 | ROM_LOAD16_BYTE( "fb2grom5_older.bin", 0x00000, 0x80000, CRC(1c4172a8) SHA1(c45a57cd799681d442de02f8f07dbd9751929ca4) ) | |
| 2932 | ROM_LOAD16_BYTE( "fb2grom6_older.bin", 0x00001, 0x80000, CRC(953fdcc4) SHA1(c57e2b4a8273e789b96d39fe28d02bec5359b5f4) ) | |
| 3018 | ROM_LOAD16_BYTE( "fb2grom5.bin", 0x00000, 0x80000, CRC(6aa1e45d) SHA1(a821c98513ad851f5f9e2452620feb662c28f8bb) ) | |
| 3019 | ROM_LOAD16_BYTE( "fb2grom6.bin", 0x00001, 0x80000, CRC(1a525dcf) SHA1(20b1b2d6bdb0953300a6d9937b582fd5e20931ed) ) | |
| 2933 | 3020 | |
| 2934 | 3021 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 2935 | ROM_LOAD_OPTIONAL( "fb2g1 | |
| 3022 | ROM_LOAD_OPTIONAL( "fb2g18e.id", 0x00, 0x20, CRC(a62d1596 | |
| 2936 | 3023 | ROM_END |
| 2937 | 3024 | |
| 2938 | ROM_START( fb2gen | |
| 3025 | ROM_START( fb2genc1 ) | |
| 2939 | 3026 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2940 | ROM_LOAD( "fb2g15r.bin", 0x00000, 0x40000, CRC(a8daf67d) SHA1(6e980748ec77c4842676f14ffffe3f630879e9d9) ) | |
| 2941 | ||
| 2942 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 2943 | ROM_LOAD( "fb2grom2.bin", 0x00000, 0x40000, CRC(1cbbd43a) SHA1(6e31c3bdd677d9d3cb445294cf17a0efcb16d4ed) ) | |
| 2944 | ||
| 2945 | ROM_REGION( 0x100000, "gfx1", 0 ) | |
| 2946 | ROM_LOAD16_BYTE( "fb2grom3_older.bin", 0x00000, 0x80000, CRC(a4f33c67) SHA1(ec7f539725b2684add019c1dad3f230b5c798daa) ) | |
| 2947 | ROM_LOAD16_BYTE( "fb2grom4_older.bin", 0x00001, 0x80000, CRC(c142f2af) SHA1(3323de8cd09b64c1c8ccf51acf74444e577fdfb3) ) | |
| 2948 | ||
| 2949 | ROM_REGION( 0x100000, "gfx2", 0 ) | |
| 2950 | ROM_LOAD16_BYTE( "fb2grom5_older.bin", 0x00000, 0x80000, CRC(1c4172a8) SHA1(c45a57cd799681d442de02f8f07dbd9751929ca4) ) | |
| 2951 | ROM_LOAD16_BYTE( "fb2grom6_older.bin", 0x00001, 0x80000, CRC(953fdcc4) SHA1(c57e2b4a8273e789b96d39fe28d02bec5359b5f4) ) | |
| 2952 | ||
| 2953 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 2954 | ROM_LOAD_OPTIONAL( "fb2g15r.id", 0x00, 0x20, CRC(18e86971) SHA1(2f0c277b211c43cf43a067e6bc166fec8e55f190) ) | |
| 2955 | ROM_END | |
| 2956 | ||
| 2957 | ||
| 2958 | ROM_START( fb2genc ) | |
| 2959 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ | |
| 2960 | 3027 | ROM_LOAD( "f2gc18r.bin", 0x00000, 0x40000, CRC(f0adc7a4) SHA1(109490212d8c0bd25d6beb271939a83c06e468c6) ) |
| 2961 | 3028 | |
| 2962 | 3029 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| r5490 | r5491 | |
| 2993 | 3060 | ROM_LOAD_OPTIONAL( "fb2g18lt.id", 0x00, 0x20, CRC(8f36bc08) SHA1(53d970cb1a1055c459e64a09f4e495c52aa2ab9f) ) |
| 2994 | 3061 | ROM_END |
| 2995 | 3062 | |
| 2996 | ROM_START( fb2gen | |
| 3063 | ROM_START( fb2gend1 ) | |
| 2997 | 3064 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 2998 | ROM_LOAD( "f2g | |
| 3065 | ROM_LOAD( "f2gd18r.bin", 0x00000, 0x40000, CRC( | |
| 2999 | 3066 | |
| 3000 | 3067 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3001 | 3068 | ROM_LOAD( "fb2grom2.bin", 0x00000, 0x40000, CRC(1cbbd43a) SHA1(6e31c3bdd677d9d3cb445294cf17a0efcb16d4ed) ) |
| r5490 | r5491 | |
| 3012 | 3079 | ROM_LOAD_OPTIONAL( "fb2g18r.id", 0x00, 0x20, CRC(b8fe27b5) SHA1(fdb5fe80e553f92647c023d4718242934bab59b0) ) |
| 3013 | 3080 | ROM_END |
| 3014 | 3081 | |
| 3015 | ROM_START( fb2gen | |
| 3082 | ROM_START( fb2gend2 ) | |
| 3016 | 3083 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3017 | ROM_LOAD( "f2g | |
| 3084 | ROM_LOAD( "f2gd18lt.bin", 0x00000, 0x40000, CRC( | |
| 3018 | 3085 | |
| 3019 | 3086 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3020 | 3087 | ROM_LOAD( "fb2grom2.bin", 0x00000, 0x40000, CRC(1cbbd43a) SHA1(6e31c3bdd677d9d3cb445294cf17a0efcb16d4ed) ) |
| r5490 | r5491 | |
| 3031 | 3098 | ROM_LOAD_OPTIONAL( "fb2g18lt.id", 0x00, 0x20, CRC(8f36bc08) SHA1(53d970cb1a1055c459e64a09f4e495c52aa2ab9f) ) |
| 3032 | 3099 | ROM_END |
| 3033 | 3100 | |
| 3034 | ROM_START( fb2genv | |
| 3101 | ROM_START( fb2genv1 ) | |
| 3035 | 3102 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3036 | ROM_LOAD( "f2gv18 | |
| 3103 | ROM_LOAD( "f2gv18r.bin", 0x00000, 0x40000, CRC( | |
| 3037 | 3104 | |
| 3038 | 3105 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3039 | 3106 | ROM_LOAD( "fb2grom2.bin", 0x00000, 0x40000, CRC(1cbbd43a) SHA1(6e31c3bdd677d9d3cb445294cf17a0efcb16d4ed) ) |
| r5490 | r5491 | |
| 3047 | 3114 | ROM_LOAD16_BYTE( "fb2grom6.bin", 0x00001, 0x80000, CRC(1a525dcf) SHA1(20b1b2d6bdb0953300a6d9937b582fd5e20931ed) ) |
| 3048 | 3115 | |
| 3049 | 3116 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3050 | ROM_LOAD_OPTIONAL( "fb2g18 | |
| 3117 | ROM_LOAD_OPTIONAL( "fb2g18r.id", 0x00, 0x20, CRC(b8fe27b5 | |
| 3051 | 3118 | ROM_END |
| 3052 | 3119 | |
| 3053 | ROM_START( fb2gen | |
| 3120 | ROM_START( fb2genv2 ) | |
| 3054 | 3121 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3055 | ROM_LOAD( "f2g | |
| 3122 | ROM_LOAD( "f2gv18lt.bin", 0x00000, 0x40000, CRC(d2 | |
| 3056 | 3123 | |
| 3057 | 3124 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3058 | 3125 | ROM_LOAD( "fb2grom2.bin", 0x00000, 0x40000, CRC(1cbbd43a) SHA1(6e31c3bdd677d9d3cb445294cf17a0efcb16d4ed) ) |
| r5490 | r5491 | |
| 3066 | 3133 | ROM_LOAD16_BYTE( "fb2grom6.bin", 0x00001, 0x80000, CRC(1a525dcf) SHA1(20b1b2d6bdb0953300a6d9937b582fd5e20931ed) ) |
| 3067 | 3134 | |
| 3068 | 3135 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3069 | ROM_LOAD_OPTIONAL( "fb2g18 | |
| 3136 | ROM_LOAD_OPTIONAL( "fb2g18lt.id", 0x00, 0x20, CRC( | |
| 3070 | 3137 | ROM_END |
| 3071 | 3138 | |
| 3072 | ROM_START( fb2gen | |
| 3139 | ROM_START( fb2geno | |
| 3073 | 3140 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3074 | ROM_LOAD( "f2g | |
| 3141 | ROM_LOAD( "fb2g | |
| 3075 | 3142 | |
| 3076 | 3143 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3077 | 3144 | ROM_LOAD( "fb2grom2.bin", 0x00000, 0x40000, CRC(1cbbd43a) SHA1(6e31c3bdd677d9d3cb445294cf17a0efcb16d4ed) ) |
| 3078 | 3145 | |
| 3079 | 3146 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3080 | ROM_LOAD16_BYTE( "fb2grom3.bin", 0x00000, 0x80000, CRC(21ade753) SHA1(ca70ab941740983626f4d274aa4a9edea366f38a) ) | |
| 3081 | ROM_LOAD16_BYTE( "fb2grom4.bin", 0x00001, 0x80000, CRC(56605a08) SHA1(09022dc797dd824a973c5126cafe7b086a94184c) ) | |
| 3147 | ROM_LOAD16_BYTE( "fb2grom3_older.bin", 0x00000, 0x80000, CRC(a4f33c67) SHA1(ec7f539725b2684add019c1dad3f230b5c798daa) ) | |
| 3148 | ROM_LOAD16_BYTE( "fb2grom4_older.bin", 0x00001, 0x80000, CRC(c142f2af) SHA1(3323de8cd09b64c1c8ccf51acf74444e577fdfb3) ) | |
| 3082 | 3149 | |
| 3083 | 3150 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3084 | ROM_LOAD16_BYTE( "fb2grom5.bin", 0x00000, 0x80000, CRC(6aa1e45d) SHA1(a821c98513ad851f5f9e2452620feb662c28f8bb) ) | |
| 3085 | ROM_LOAD16_BYTE( "fb2grom6.bin", 0x00001, 0x80000, CRC(1a525dcf) SHA1(20b1b2d6bdb0953300a6d9937b582fd5e20931ed) ) | |
| 3151 | ROM_LOAD16_BYTE( "fb2grom5_older.bin", 0x00000, 0x80000, CRC(1c4172a8) SHA1(c45a57cd799681d442de02f8f07dbd9751929ca4) ) | |
| 3152 | ROM_LOAD16_BYTE( "fb2grom6_older.bin", 0x00001, 0x80000, CRC(953fdcc4) SHA1(c57e2b4a8273e789b96d39fe28d02bec5359b5f4) ) | |
| 3086 | 3153 | |
| 3087 | 3154 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3088 | ROM_LOAD_OPTIONAL( "fb2g1 | |
| 3155 | ROM_LOAD_OPTIONAL( "fb2g16 | |
| 3089 | 3156 | ROM_END |
| 3090 | 3157 | |
| 3091 | ROM_START( fb2n | |
| 3158 | ROM_START( fb2geno2 ) | |
| 3092 | 3159 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3093 | ROM_LOAD( "fb2 | |
| 3160 | ROM_LOAD( "fb2g15r.bin", 0x00000, 0x40000, CRC( | |
| 3094 | 3161 | |
| 3095 | 3162 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3096 | 3163 | ROM_LOAD( "fb2grom2.bin", 0x00000, 0x40000, CRC(1cbbd43a) SHA1(6e31c3bdd677d9d3cb445294cf17a0efcb16d4ed) ) |
| 3097 | 3164 | |
| 3098 | 3165 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3099 | ROM_LOAD16_BYTE( "fb2erom3.bin", 0x00000, 0x80000, CRC(58201f71) SHA1(1e8d44105194a619d75d106cebcef783edc810f2) ) | |
| 3100 | ROM_LOAD16_BYTE( "fb2erom4.bin", 0x00001, 0x80000, CRC(4f8cb873) SHA1(7fae47e41abb8e3fffd584f9a5507168c06b8b6b) ) | |
| 3166 | ROM_LOAD16_BYTE( "fb2grom3_older.bin", 0x00000, 0x80000, CRC(a4f33c67) SHA1(ec7f539725b2684add019c1dad3f230b5c798daa) ) | |
| 3167 | ROM_LOAD16_BYTE( "fb2grom4_older.bin", 0x00001, 0x80000, CRC(c142f2af) SHA1(3323de8cd09b64c1c8ccf51acf74444e577fdfb3) ) | |
| 3101 | 3168 | |
| 3102 | 3169 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3103 | ROM_LOAD16_BYTE( "fb2erom5.bin", 0x00000, 0x80000, CRC(1bc55876) SHA1(d04ff7bf97145d45de943129bc9f3cbe27f4588e) ) | |
| 3104 | ROM_LOAD16_BYTE( "fb2erom6.bin", 0x00001, 0x80000, CRC(71b43f19) SHA1(a0b7f2b1968e6c083f9793f1249edb339422370d) ) | |
| 3170 | ROM_LOAD16_BYTE( "fb2grom5_older.bin", 0x00000, 0x80000, CRC(1c4172a8) SHA1(c45a57cd799681d442de02f8f07dbd9751929ca4) ) | |
| 3171 | ROM_LOAD16_BYTE( "fb2grom6_older.bin", 0x00001, 0x80000, CRC(953fdcc4) SHA1(c57e2b4a8273e789b96d39fe28d02bec5359b5f4) ) | |
| 3105 | 3172 | |
| 3106 | 3173 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3107 | ROM_LOAD_OPTIONAL( "fb2 | |
| 3174 | ROM_LOAD_OPTIONAL( "fb2g15r.id", 0x00, 0x20, CRC(18e86971) SHA1(2f0c277b211c43 | |
| 3108 | 3175 | ROM_END |
| 3109 | 3176 | |
| 3110 | ||
| 3111 | ROM_START( fb2ndc ) | |
| 3177 | /* Fruit Bonus 2nd Edition */ | |
| 3178 | ROM_START( fb2nd ) | |
| 3112 | 3179 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3113 | 3180 | ROM_LOAD( "f2ec18r.bin", 0x00000, 0x40000, CRC(d993916c) SHA1(3ca93c42a6e6f7cfbd4bfbcd2375f66b66a066ca) ) |
| 3114 | 3181 | |
| r5490 | r5491 | |
| 3146 | 3213 | ROM_LOAD_OPTIONAL( "fb2e18lt.id", 0x00, 0x20, CRC(8bc36c35) SHA1(fddbc8629df06c470a9cd76e609e0f7e5ae23202) ) |
| 3147 | 3214 | ROM_END |
| 3148 | 3215 | |
| 3149 | ROM_START( fb2nd | |
| 3216 | ROM_START( fb2ndd1 ) | |
| 3150 | 3217 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3151 | ROM_LOAD( "f2e | |
| 3218 | ROM_LOAD( "f2ed18r.bin", 0x00000, 0x40000, CRC(48a4dbcd | |
| 3152 | 3219 | |
| 3153 | 3220 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3154 | 3221 | ROM_LOAD( "fb2grom2.bin", 0x00000, 0x40000, CRC(1cbbd43a) SHA1(6e31c3bdd677d9d3cb445294cf17a0efcb16d4ed) ) |
| r5490 | r5491 | |
| 3165 | 3232 | ROM_LOAD_OPTIONAL( "fb2e18r.id", 0x00, 0x20, CRC(bc0bf788) SHA1(d0bb6887e6cf8c18897ce6057743117423bd3035) ) |
| 3166 | 3233 | ROM_END |
| 3167 | 3234 | |
| 3168 | ROM_START( fb2nd | |
| 3235 | ROM_START( fb2ndd2 ) | |
| 3169 | 3236 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3170 | ROM_LOAD( "f2e | |
| 3237 | ROM_LOAD( "f2ed18lt.bin", 0x00000, 0x40000, CRC(3c | |
| 3171 | 3238 | |
| 3172 | 3239 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3173 | 3240 | ROM_LOAD( "fb2grom2.bin", 0x00000, 0x40000, CRC(1cbbd43a) SHA1(6e31c3bdd677d9d3cb445294cf17a0efcb16d4ed) ) |
| r5490 | r5491 | |
| 3184 | 3251 | ROM_LOAD_OPTIONAL( "fb2e18lt.id", 0x00, 0x20, CRC(8bc36c35) SHA1(fddbc8629df06c470a9cd76e609e0f7e5ae23202) ) |
| 3185 | 3252 | ROM_END |
| 3186 | 3253 | |
| 3187 | ROM_START( fb2nd | |
| 3254 | ROM_START( fb2ndv1 ) | |
| 3188 | 3255 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3189 | ROM_LOAD( "f2e | |
| 3256 | ROM_LOAD( "f2ev18r.bin", 0x00000, 0x40000, CRC(22a | |
| 3190 | 3257 | |
| 3191 | 3258 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3192 | 3259 | ROM_LOAD( "fb2grom2.bin", 0x00000, 0x40000, CRC(1cbbd43a) SHA1(6e31c3bdd677d9d3cb445294cf17a0efcb16d4ed) ) |
| r5490 | r5491 | |
| 3203 | 3270 | ROM_LOAD_OPTIONAL( "fb2e18r.id", 0x00, 0x20, CRC(bc0bf788) SHA1(d0bb6887e6cf8c18897ce6057743117423bd3035) ) |
| 3204 | 3271 | ROM_END |
| 3205 | 3272 | |
| 3206 | ROM_START( fb2nd | |
| 3273 | ROM_START( fb2ndv2 ) | |
| 3207 | 3274 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3208 | ROM_LOAD( "f2e | |
| 3275 | ROM_LOAD( "f2ev18lt.bin", 0x00000, 0x40000, CRC(b5 | |
| 3209 | 3276 | |
| 3210 | 3277 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3211 | 3278 | ROM_LOAD( "fb2grom2.bin", 0x00000, 0x40000, CRC(1cbbd43a) SHA1(6e31c3bdd677d9d3cb445294cf17a0efcb16d4ed) ) |
| r5490 | r5491 | |
| 3222 | 3289 | ROM_LOAD_OPTIONAL( "fb2e18lt.id", 0x00, 0x20, CRC(8bc36c35) SHA1(fddbc8629df06c470a9cd76e609e0f7e5ae23202) ) |
| 3223 | 3290 | ROM_END |
| 3224 | 3291 | |
| 3225 | ROM_START( fb | |
| 3292 | ROM_START( fb2ndo ) | |
| 3226 | 3293 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3227 | ROM_LOAD( "fb2 | |
| 3294 | ROM_LOAD( "fb2e | |
| 3228 | 3295 | |
| 3229 | 3296 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3230 | ROM_LOAD( "fb | |
| 3297 | ROM_LOAD( "fb2grom2.bin", 0x00000, 0x40000, | |
| 3231 | 3298 | |
| 3232 | 3299 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3233 | ROM_LOAD16_BYTE( "fb4rom3.bin", 0x00000, 0x80000, CRC(4176937d) SHA1(dbde944a154f648a86628a8165fa27032115c417) ) | |
| 3234 | ROM_LOAD16_BYTE( "fb4rom4.bin", 0x00001, 0x80000, CRC(f8c57041) SHA1(ca8f58e89d31563b363a78db89e2711402f3ba80) ) | |
| 3300 | ROM_LOAD16_BYTE( "fb2erom3.bin", 0x00000, 0x80000, CRC(58201f71) SHA1(1e8d44105194a619d75d106cebcef783edc810f2) ) | |
| 3301 | ROM_LOAD16_BYTE( "fb2erom4.bin", 0x00001, 0x80000, CRC(4f8cb873) SHA1(7fae47e41abb8e3fffd584f9a5507168c06b8b6b) ) | |
| 3235 | 3302 | |
| 3236 | 3303 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3237 | ROM_LOAD16_BYTE( "fb4rom5.bin", 0x00000, 0x80000, CRC(41ad506c) SHA1(19086ab859a60e5127af0e51381cbb9fda6de74a) ) | |
| 3238 | ROM_LOAD16_BYTE( "fb4rom6.bin", 0x00001, 0x80000, CRC(f6c07f3d) SHA1(709fe2a443fdd32a3f9ab9161d5321a01c0119bb) ) | |
| 3304 | ROM_LOAD16_BYTE( "fb2erom5.bin", 0x00000, 0x80000, CRC(1bc55876) SHA1(d04ff7bf97145d45de943129bc9f3cbe27f4588e) ) | |
| 3305 | ROM_LOAD16_BYTE( "fb2erom6.bin", 0x00001, 0x80000, CRC(71b43f19) SHA1(a0b7f2b1968e6c083f9793f1249edb339422370d) ) | |
| 3239 | 3306 | |
| 3240 | 3307 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3241 | ROM_LOAD_OPTIONAL( "fb | |
| 3308 | ROM_LOAD_OPTIONAL( "fb2e15r | |
| 3242 | 3309 | ROM_END |
| 3243 | 3310 | |
| 3244 | ROM_START( fb4a ) | |
| 3311 | /* Fruit Bonus 2004 */ | |
| 3312 | ROM_START( fb4 ) | |
| 3245 | 3313 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3246 | ROM_LOAD( "fb | |
| 3314 | ROM_LOAD( "fb | |
| 3247 | 3315 | |
| 3248 | 3316 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3249 | 3317 | ROM_LOAD( "fb4rom2.bin", 0x00000, 0x3ffff, BAD_DUMP CRC(bf49ba49) SHA1(eea40e34298f7fd98771f0869ef541c5e1514f2a) ) |
| 3250 | 3318 | |
| 3251 | ROM_REGION( 0x040000, "debugram", ROMREGION_ERASE00 ) | |
| 3252 | ||
| 3253 | 3319 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3254 | 3320 | ROM_LOAD16_BYTE( "fb4rom3.bin", 0x00000, 0x80000, CRC(4176937d) SHA1(dbde944a154f648a86628a8165fa27032115c417) ) |
| 3255 | 3321 | ROM_LOAD16_BYTE( "fb4rom4.bin", 0x00001, 0x80000, CRC(f8c57041) SHA1(ca8f58e89d31563b363a78db89e2711402f3ba80) ) |
| 3256 | 3322 | |
| 3323 | ||
| 3257 | 3324 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3258 | 3325 | ROM_LOAD16_BYTE( "fb4rom5.bin", 0x00000, 0x80000, CRC(41ad506c) SHA1(19086ab859a60e5127af0e51381cbb9fda6de74a) ) |
| 3259 | 3326 | ROM_LOAD16_BYTE( "fb4rom6.bin", 0x00001, 0x80000, CRC(f6c07f3d) SHA1(709fe2a443fdd32a3f9ab9161d5321a01c0119bb) ) |
| 3260 | 3327 | |
| 3261 | 3328 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3262 | ROM_LOAD_OPTIONAL( "fb41 | |
| 3329 | ROM_LOAD_OPTIONAL( "fb415r_.id", 0x00, 0x20, CRC(0 | |
| 3263 | 3330 | ROM_END |
| 3264 | 3331 | |
| 3265 | ROM_START( fb4b ) | |
| 3332 | ROM_START( fb4b2 ) | |
| 3266 | 3333 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3267 | 3334 | ROM_LOAD( "fb4b15lt.bin", 0x00000, 0x40000, CRC(480651c3) SHA1(3ac434070b00c04eda9c78209e1c6e21fd488287) ) |
| 3268 | 3335 | |
| r5490 | r5491 | |
| 3282 | 3349 | ROM_LOAD_OPTIONAL( "fb415lt_.id", 0x00, 0x20, CRC(17385187) SHA1(01e424457b37f79e02124245cf6d502fd54b2265) ) |
| 3283 | 3350 | ROM_END |
| 3284 | 3351 | |
| 3285 | ROM_START( fb4 | |
| 3352 | ROM_START( fb4c1 ) | |
| 3286 | 3353 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3287 | ROM_LOAD( "fb4 | |
| 3354 | ROM_LOAD( "fb4c15r.bin", 0x00000, 0x40000, CRC(f50 | |
| 3288 | 3355 | |
| 3289 | 3356 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3290 | 3357 | ROM_LOAD( "fb4rom2.bin", 0x00000, 0x3ffff, BAD_DUMP CRC(bf49ba49) SHA1(eea40e34298f7fd98771f0869ef541c5e1514f2a) ) |
| r5490 | r5491 | |
| 3293 | 3360 | ROM_LOAD16_BYTE( "fb4rom3.bin", 0x00000, 0x80000, CRC(4176937d) SHA1(dbde944a154f648a86628a8165fa27032115c417) ) |
| 3294 | 3361 | ROM_LOAD16_BYTE( "fb4rom4.bin", 0x00001, 0x80000, CRC(f8c57041) SHA1(ca8f58e89d31563b363a78db89e2711402f3ba80) ) |
| 3295 | 3362 | |
| 3296 | ||
| 3297 | 3363 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3298 | 3364 | ROM_LOAD16_BYTE( "fb4rom5.bin", 0x00000, 0x80000, CRC(41ad506c) SHA1(19086ab859a60e5127af0e51381cbb9fda6de74a) ) |
| 3299 | 3365 | ROM_LOAD16_BYTE( "fb4rom6.bin", 0x00001, 0x80000, CRC(f6c07f3d) SHA1(709fe2a443fdd32a3f9ab9161d5321a01c0119bb) ) |
| 3300 | 3366 | |
| 3301 | 3367 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3302 | ROM_LOAD_OPTIONAL( "fb415r | |
| 3368 | ROM_LOAD_OPTIONAL( "fb415r | |
| 3303 | 3369 | ROM_END |
| 3304 | 3370 | |
| 3305 | ROM_START( fb4 | |
| 3371 | ROM_START( fb4c2 ) | |
| 3306 | 3372 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3307 | ROM_LOAD( "fb4 | |
| 3373 | ROM_LOAD( "fb4c15lt.bin", 0x00000, 0x40000, CRC(280a0d31 | |
| 3308 | 3374 | |
| 3309 | 3375 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3310 | 3376 | ROM_LOAD( "fb4rom2.bin", 0x00000, 0x3ffff, BAD_DUMP CRC(bf49ba49) SHA1(eea40e34298f7fd98771f0869ef541c5e1514f2a) ) |
| r5490 | r5491 | |
| 3319 | 3385 | ROM_LOAD16_BYTE( "fb4rom6.bin", 0x00001, 0x80000, CRC(f6c07f3d) SHA1(709fe2a443fdd32a3f9ab9161d5321a01c0119bb) ) |
| 3320 | 3386 | |
| 3321 | 3387 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3322 | ROM_LOAD_OPTIONAL( "fb415 | |
| 3388 | ROM_LOAD_OPTIONAL( "fb415lt.id", 0x00, 0x20, CRC(f44d3e8c | |
| 3323 | 3389 | ROM_END |
| 3324 | 3390 | |
| 3325 | ROM_START( fb4 | |
| 3391 | ROM_START( fb4d1 ) | |
| 3326 | 3392 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3327 | ROM_LOAD( "fb4 | |
| 3393 | ROM_LOAD( "fb4d15r | |
| 3328 | 3394 | |
| 3329 | 3395 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3330 | 3396 | ROM_LOAD( "fb4rom2.bin", 0x00000, 0x3ffff, BAD_DUMP CRC(bf49ba49) SHA1(eea40e34298f7fd98771f0869ef541c5e1514f2a) ) |
| r5490 | r5491 | |
| 3333 | 3399 | ROM_LOAD16_BYTE( "fb4rom3.bin", 0x00000, 0x80000, CRC(4176937d) SHA1(dbde944a154f648a86628a8165fa27032115c417) ) |
| 3334 | 3400 | ROM_LOAD16_BYTE( "fb4rom4.bin", 0x00001, 0x80000, CRC(f8c57041) SHA1(ca8f58e89d31563b363a78db89e2711402f3ba80) ) |
| 3335 | 3401 | |
| 3402 | ||
| 3336 | 3403 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3337 | 3404 | ROM_LOAD16_BYTE( "fb4rom5.bin", 0x00000, 0x80000, CRC(41ad506c) SHA1(19086ab859a60e5127af0e51381cbb9fda6de74a) ) |
| 3338 | 3405 | ROM_LOAD16_BYTE( "fb4rom6.bin", 0x00001, 0x80000, CRC(f6c07f3d) SHA1(709fe2a443fdd32a3f9ab9161d5321a01c0119bb) ) |
| 3339 | 3406 | |
| 3340 | 3407 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3341 | ROM_LOAD_OPTIONAL( "fb415 | |
| 3408 | ROM_LOAD_OPTIONAL( "fb415r | |
| 3342 | 3409 | ROM_END |
| 3343 | 3410 | |
| 3344 | ROM_START( fb4 | |
| 3411 | ROM_START( fb4d2 ) | |
| 3345 | 3412 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3346 | ROM_LOAD( "fb4 | |
| 3413 | ROM_LOAD( "fb4d15lt.bin", 0x00000, 0x40000, CRC(41b0177b | |
| 3347 | 3414 | |
| 3348 | 3415 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3349 | 3416 | ROM_LOAD( "fb4rom2.bin", 0x00000, 0x3ffff, BAD_DUMP CRC(bf49ba49) SHA1(eea40e34298f7fd98771f0869ef541c5e1514f2a) ) |
| 3350 | 3417 | |
| 3351 | 3418 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3352 | ROM_LOAD16_BYTE( "fb4rom3e.bin", 0x00000, 0x80000, CRC(d47d9969) SHA1(172771896b9ac75c34ae4c9958e26ba30371bdde) ) | |
| 3353 | ROM_LOAD16_BYTE( "fb4rom4e.bin", 0x00001, 0x80000, CRC(680fc5d1) SHA1(92d46b72584d2bc906901d7e7f44c017995ef2c0) ) | |
| 3419 | ROM_LOAD16_BYTE( "fb4rom3.bin", 0x00000, 0x80000, CRC(4176937d) SHA1(dbde944a154f648a86628a8165fa27032115c417) ) | |
| 3420 | ROM_LOAD16_BYTE( "fb4rom4.bin", 0x00001, 0x80000, CRC(f8c57041) SHA1(ca8f58e89d31563b363a78db89e2711402f3ba80) ) | |
| 3354 | 3421 | |
| 3355 | 3422 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3356 | ROM_LOAD16_BYTE( "fb4rom5e.bin", 0x00000, 0x80000, CRC(ddc02e07) SHA1(b1cce95ab09822646c835b066d4510a51633d107) ) | |
| 3357 | ROM_LOAD16_BYTE( "fb4rom6e.bin", 0x00001, 0x80000, CRC(e3de53a4) SHA1(3168ec7e10eee205655ee259fb5ba7201d7eb711) ) | |
| 3423 | ROM_LOAD16_BYTE( "fb4rom5.bin", 0x00000, 0x80000, CRC(41ad506c) SHA1(19086ab859a60e5127af0e51381cbb9fda6de74a) ) | |
| 3424 | ROM_LOAD16_BYTE( "fb4rom6.bin", 0x00001, 0x80000, CRC(f6c07f3d) SHA1(709fe2a443fdd32a3f9ab9161d5321a01c0119bb) ) | |
| 3358 | 3425 | |
| 3359 | 3426 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3360 | ROM_LOAD_OPTIONAL( "fb415 | |
| 3427 | ROM_LOAD_OPTIONAL( "fb415lt.id", 0x00, 0x20, CRC(f | |
| 3361 | 3428 | ROM_END |
| 3362 | 3429 | |
| 3363 | ROM_START( fb4 | |
| 3430 | ROM_START( fb4v1 ) | |
| 3364 | 3431 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3365 | ROM_LOAD( "fb4 | |
| 3432 | ROM_LOAD( "fb4v15r.bin", 0x00000, 0x40000, CRC(89 | |
| 3366 | 3433 | |
| 3367 | 3434 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3368 | 3435 | ROM_LOAD( "fb4rom2.bin", 0x00000, 0x3ffff, BAD_DUMP CRC(bf49ba49) SHA1(eea40e34298f7fd98771f0869ef541c5e1514f2a) ) |
| r5490 | r5491 | |
| 3380 | 3447 | ROM_LOAD_OPTIONAL( "fb415r.id", 0x00, 0x20, CRC(51592891) SHA1(4e1b0e6e88d73a37d025f7a21d6e13c409aed59a) ) |
| 3381 | 3448 | ROM_END |
| 3382 | 3449 | |
| 3383 | ROM_START( fb4 | |
| 3450 | ROM_START( fb4v2 ) | |
| 3384 | 3451 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3385 | ROM_LOAD( "fb4 | |
| 3452 | ROM_LOAD( "fb4v15lt.bin", 0x00000, 0x40000, | |
| 3386 | 3453 | |
| 3387 | 3454 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3388 | 3455 | ROM_LOAD( "fb4rom2.bin", 0x00000, 0x3ffff, BAD_DUMP CRC(bf49ba49) SHA1(eea40e34298f7fd98771f0869ef541c5e1514f2a) ) |
| r5490 | r5491 | |
| 3399 | 3466 | ROM_LOAD_OPTIONAL( "fb415lt.id", 0x00, 0x20, CRC(f44d3e8c) SHA1(af462959a37c271c840324d74b2619691fadf8bd) ) |
| 3400 | 3467 | ROM_END |
| 3401 | 3468 | |
| 3402 | ROM_START( fb4 | |
| 3469 | ROM_START( fb4o ) | |
| 3403 | 3470 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3404 | ROM_LOAD( "fb4 | |
| 3471 | ROM_LOAD( "fb24k13t.bin", 0x00000, 0x40000, CRC(ef2407c | |
| 3405 | 3472 | |
| 3406 | 3473 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3407 | 3474 | ROM_LOAD( "fb4rom2.bin", 0x00000, 0x3ffff, BAD_DUMP CRC(bf49ba49) SHA1(eea40e34298f7fd98771f0869ef541c5e1514f2a) ) |
| r5490 | r5491 | |
| 3415 | 3482 | ROM_LOAD16_BYTE( "fb4rom6.bin", 0x00001, 0x80000, CRC(f6c07f3d) SHA1(709fe2a443fdd32a3f9ab9161d5321a01c0119bb) ) |
| 3416 | 3483 | |
| 3417 | 3484 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3418 | ROM_LOAD_OPTIONAL( "fb41 | |
| 3485 | ROM_LOAD_OPTIONAL( "fb413xt_.id", 0x00, 0x20, CRC(ecaf2430) SHA1( | |
| 3419 | 3486 | ROM_END |
| 3420 | 3487 | |
| 3421 | ROM_START( fb4 | |
| 3488 | ROM_START( fb4o2 ) | |
| 3422 | 3489 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3423 | ROM_LOAD( "fb4 | |
| 3490 | ROM_LOAD( "fb24k12b | |
| 3424 | 3491 | |
| 3425 | 3492 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3426 | 3493 | ROM_LOAD( "fb4rom2.bin", 0x00000, 0x3ffff, BAD_DUMP CRC(bf49ba49) SHA1(eea40e34298f7fd98771f0869ef541c5e1514f2a) ) |
| 3427 | 3494 | |
| 3495 | ROM_REGION( 0x040000, "debugram", ROMREGION_ERASE00 ) | |
| 3496 | ||
| 3428 | 3497 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3429 | 3498 | ROM_LOAD16_BYTE( "fb4rom3.bin", 0x00000, 0x80000, CRC(4176937d) SHA1(dbde944a154f648a86628a8165fa27032115c417) ) |
| 3430 | 3499 | ROM_LOAD16_BYTE( "fb4rom4.bin", 0x00001, 0x80000, CRC(f8c57041) SHA1(ca8f58e89d31563b363a78db89e2711402f3ba80) ) |
| 3431 | 3500 | |
| 3432 | ||
| 3433 | 3501 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3434 | 3502 | ROM_LOAD16_BYTE( "fb4rom5.bin", 0x00000, 0x80000, CRC(41ad506c) SHA1(19086ab859a60e5127af0e51381cbb9fda6de74a) ) |
| 3435 | 3503 | ROM_LOAD16_BYTE( "fb4rom6.bin", 0x00001, 0x80000, CRC(f6c07f3d) SHA1(709fe2a443fdd32a3f9ab9161d5321a01c0119bb) ) |
| 3436 | 3504 | |
| 3437 | 3505 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3438 | ROM_LOAD_OPTIONAL( "fb41 | |
| 3506 | ROM_LOAD_OPTIONAL( "fb412r_.id", 0x00, 0x20, CRC(cc | |
| 3439 | 3507 | ROM_END |
| 3440 | 3508 | |
| 3441 | ROM_START( | |
| 3509 | ROM_START( fb4exp ) | |
| 3442 | 3510 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3443 | ROM_LOAD( "f | |
| 3511 | ROM_LOAD( "fb4v15e | |
| 3444 | 3512 | |
| 3445 | 3513 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3446 | ROM_LOAD( "fbrom2.bin", 0x00000, 0x | |
| 3514 | ROM_LOAD( "fb4rom2.bin", 0x00000, 0x3ffff, BAD_DUMP CRC( | |
| 3447 | 3515 | |
| 3448 | 3516 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3449 | ROM_LOAD16_BYTE( "fbrom3.bin", 0x00000, 0x40000, CRC(a712b521) SHA1(355b3bd892d5fbd360961ca4b5adb20ddf2ba553) ) | |
| 3450 | ROM_LOAD16_BYTE( "fbrom4.bin", 0x00001, 0x40000, CRC(8996d2d5) SHA1(fc3830b8126ef9d15108e0873209168ad0b608c8) ) | |
| 3517 | ROM_LOAD16_BYTE( "fb4rom3e.bin", 0x00000, 0x80000, CRC(d47d9969) SHA1(172771896b9ac75c34ae4c9958e26ba30371bdde) ) | |
| 3518 | ROM_LOAD16_BYTE( "fb4rom4e.bin", 0x00001, 0x80000, CRC(680fc5d1) SHA1(92d46b72584d2bc906901d7e7f44c017995ef2c0) ) | |
| 3451 | 3519 | |
| 3452 | 3520 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3453 | ROM_LOAD16_BYTE( "fbrom5.bin", 0x00000, 0x40000, CRC(494fd1fa) SHA1(01ca60e35b68da398612fc7c8a7da6f8835eabd5) ) | |
| 3454 | ROM_LOAD16_BYTE( "fbrom6.bin", 0x00001, 0x40000, CRC(0ebe2ea5) SHA1(d83c1ba940e43ce1d392969055f36b3c49ac9727) ) | |
| 3521 | ROM_LOAD16_BYTE( "fb4rom5e.bin", 0x00000, 0x80000, CRC(ddc02e07) SHA1(b1cce95ab09822646c835b066d4510a51633d107) ) | |
| 3522 | ROM_LOAD16_BYTE( "fb4rom6e.bin", 0x00001, 0x80000, CRC(e3de53a4) SHA1(3168ec7e10eee205655ee259fb5ba7201d7eb711) ) | |
| 3523 | ||
| 3524 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 3525 | ROM_LOAD_OPTIONAL( "fb415e.id", 0x00, 0x20, CRC(f1663488) SHA1(93ba94df442d90790cb0eafb6e5db0506ffa8bc5)) | |
| 3455 | 3526 | ROM_END |
| 3456 | 3527 | |
| 3457 | ROM_START( ch2000x ) | |
| 3528 | ||
| 3529 | /* | |
| 3530 | ||
| 3531 | Action 2000 by AMCOE | |
| 3532 | ||
| 3533 | ||
| 3534 | Graphics - HM86171-80 ? 28DIP | |
| 3535 | Processor - Amcoe Saltire ? 208PQFP | |
| 3536 | ||
| 3537 | QUARTZ OSCILLATORS 12.000, 4.9152 and 27.000 | |
| 3538 | ||
| 3539 | RAM | |
| 3540 | ||
| 3541 | HM6264ALP-15 - 28DIP | |
| 3542 | UN61256FK-15 - 28DIP | |
| 3543 | ||
| 3544 | Unknown | |
| 3545 | ||
| 3546 | Chip Markings removed 44Pin PLCC | |
| 3547 | ||
| 3548 | Roms | |
| 3549 | ||
| 3550 | a2k1-1.2.u28 - F29C51001T | |
| 3551 | a2k-2.u11 - F29C51002T | |
| 3552 | a2k-3.u9 - F29C51004T | |
| 3553 | a2k-4.u8 - F29C51004T | |
| 3554 | a2k-5.u6 - F29C51004T | |
| 3555 | a2k-6.u4 - F29C51004T | |
| 3556 | ||
| 3557 | Dumped by Dang_Spot 08/12/04 | |
| 3558 | */ | |
| 3559 | ROM_START( act2000 ) | |
| 3458 | 3560 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3459 | ROM_LOAD( " | |
| 3561 | ROM_LOAD( "a | |
| 3460 | 3562 | |
| 3461 | 3563 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3462 | ROM_LOAD( " | |
| 3564 | ROM_LOAD( "a2klink2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) | |
| 3463 | 3565 | |
| 3464 | 3566 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3465 | ROM_LOAD16_BYTE( "fbrom3.bin", 0x00000, 0x40000, CRC(a712b521) SHA1(355b3bd892d5fbd360961ca4b5adb20ddf2ba553) ) | |
| 3466 | ROM_LOAD16_BYTE( "fbrom4.bin", 0x00001, 0x40000, CRC(8996d2d5) SHA1(fc3830b8126ef9d15108e0873209168ad0b608c8) ) | |
| 3567 | ROM_LOAD16_BYTE( "a2klink3.bin", 0x00000, 0x80000, CRC(10298268) SHA1(05b4c6ae90f069b67e7c17b7a74dc786888274a6) ) | |
| 3568 | ROM_LOAD16_BYTE( "a2klink4.bin", 0x00001, 0x80000, CRC(9c90cada) SHA1(10afbc7900ad876fddbe912c95bac1f575e0948e) ) | |
| 3467 | 3569 | |
| 3468 | 3570 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3469 | ROM_LOAD16_BYTE( "fbrom5.bin", 0x00000, 0x40000, CRC(494fd1fa) SHA1(01ca60e35b68da398612fc7c8a7da6f8835eabd5) ) | |
| 3470 | ROM_LOAD16_BYTE( "fbrom6.bin", 0x00001, 0x40000, CRC(0ebe2ea5) SHA1(d83c1ba940e43ce1d392969055f36b3c49ac9727) ) | |
| 3571 | ROM_LOAD16_BYTE( "a2klink5.bin", 0x00000, 0x80000, CRC(7083106a) SHA1(39e7da2ef91dda40b2a9d9b8d50c587d637fda54) ) | |
| 3572 | ROM_LOAD16_BYTE( "a2klink6.bin", 0x00001, 0x80000, CRC(ba0de415) SHA1(fb4d718b9ad95eaa0ca259605fc1f2916bd1b7b7) ) | |
| 3573 | ||
| 3574 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 3575 | ROM_LOAD_OPTIONAL( "a2k35e.id", 0x00, 0x20, CRC(c6dcc01a) SHA1(745c2450967c28cc9477be1c8563b9b1c279e239) ) | |
| 3471 | 3576 | ROM_END |
| 3472 | 3577 | |
| 3473 | ROM_START( c | |
| 3578 | ROM_START( act2000b1 ) | |
| 3474 | 3579 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3475 | ROM_LOAD( " | |
| 3580 | ROM_LOAD( "a | |
| 3476 | 3581 | |
| 3477 | 3582 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3478 | ROM_LOAD( " | |
| 3583 | ROM_LOAD( "a2klink2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) | |
| 3479 | 3584 | |
| 3480 | 3585 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3481 | ROM_LOAD16_BYTE( "fbrom3.bin", 0x00000, 0x40000, CRC(a712b521) SHA1(355b3bd892d5fbd360961ca4b5adb20ddf2ba553) ) | |
| 3482 | ROM_LOAD16_BYTE( "fbrom4.bin", 0x00001, 0x40000, CRC(8996d2d5) SHA1(fc3830b8126ef9d15108e0873209168ad0b608c8) ) | |
| 3586 | ROM_LOAD16_BYTE( "a2klink3.bin", 0x00000, 0x80000, CRC(10298268) SHA1(05b4c6ae90f069b67e7c17b7a74dc786888274a6) ) | |
| 3587 | ROM_LOAD16_BYTE( "a2klink4.bin", 0x00001, 0x80000, CRC(9c90cada) SHA1(10afbc7900ad876fddbe912c95bac1f575e0948e) ) | |
| 3483 | 3588 | |
| 3484 | 3589 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3485 | ROM_LOAD16_BYTE( "fbrom5.bin", 0x00000, 0x40000, CRC(494fd1fa) SHA1(01ca60e35b68da398612fc7c8a7da6f8835eabd5) ) | |
| 3486 | ROM_LOAD16_BYTE( "fbrom6.bin", 0x00001, 0x40000, CRC(0ebe2ea5) SHA1(d83c1ba940e43ce1d392969055f36b3c49ac9727) ) | |
| 3590 | ROM_LOAD16_BYTE( "a2klink5.bin", 0x00000, 0x80000, CRC(7083106a) SHA1(39e7da2ef91dda40b2a9d9b8d50c587d637fda54) ) | |
| 3591 | ROM_LOAD16_BYTE( "a2klink6.bin", 0x00001, 0x80000, CRC(ba0de415) SHA1(fb4d718b9ad95eaa0ca259605fc1f2916bd1b7b7) ) | |
| 3592 | ||
| 3593 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 3594 | ROM_LOAD_OPTIONAL( "a2k35r_.id", 0x00, 0x20, CRC(6b54454b) SHA1(f90f4567f63739f6449a48b4a91b3b969ad6d22f) ) | |
| 3487 | 3595 | ROM_END |
| 3488 | 3596 | |
| 3489 | ||
| 3490 | /* b type */ | |
| 3491 | ROM_START( ch2000b ) | |
| 3597 | ROM_START( act2000d1 ) | |
| 3492 | 3598 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3493 | ROM_LOAD( " | |
| 3599 | ROM_LOAD( "a | |
| 3494 | 3600 | |
| 3495 | 3601 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3496 | ROM_LOAD( " | |
| 3602 | ROM_LOAD( "a2klink2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) | |
| 3497 | 3603 | |
| 3498 | 3604 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3499 | ROM_LOAD16_BYTE( "fbrom3.bin", 0x00000, 0x40000, CRC(a712b521) SHA1(355b3bd892d5fbd360961ca4b5adb20ddf2ba553) ) | |
| 3500 | ROM_LOAD16_BYTE( "fbrom4.bin", 0x00001, 0x40000, CRC(8996d2d5) SHA1(fc3830b8126ef9d15108e0873209168ad0b608c8) ) | |
| 3605 | ROM_LOAD16_BYTE( "a2klink3.bin", 0x00000, 0x80000, CRC(10298268) SHA1(05b4c6ae90f069b67e7c17b7a74dc786888274a6) ) | |
| 3606 | ROM_LOAD16_BYTE( "a2klink4.bin", 0x00001, 0x80000, CRC(9c90cada) SHA1(10afbc7900ad876fddbe912c95bac1f575e0948e) ) | |
| 3501 | 3607 | |
| 3502 | 3608 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3503 | ROM_LOAD16_BYTE( "fbrom5.bin", 0x00000, 0x40000, CRC(494fd1fa) SHA1(01ca60e35b68da398612fc7c8a7da6f8835eabd5) ) | |
| 3504 | ROM_LOAD16_BYTE( "fbrom6.bin", 0x00001, 0x40000, CRC(0ebe2ea5) SHA1(d83c1ba940e43ce1d392969055f36b3c49ac9727) ) | |
| 3609 | ROM_LOAD16_BYTE( "a2klink5.bin", 0x00000, 0x80000, CRC(7083106a) SHA1(39e7da2ef91dda40b2a9d9b8d50c587d637fda54) ) | |
| 3610 | ROM_LOAD16_BYTE( "a2klink6.bin", 0x00001, 0x80000, CRC(ba0de415) SHA1(fb4d718b9ad95eaa0ca259605fc1f2916bd1b7b7) ) | |
| 3505 | 3611 | |
| 3506 | 3612 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3507 | ROM_LOAD_OPTIONAL( " | |
| 3613 | ROM_LOAD_OPTIONAL( "a2k35r | |
| 3508 | 3614 | ROM_END |
| 3509 | 3615 | |
| 3510 | ROM_START( c | |
| 3616 | ROM_START( act2000v1 ) | |
| 3511 | 3617 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3512 | ROM_LOAD( " | |
| 3618 | ROM_LOAD( "a | |
| 3513 | 3619 | |
| 3514 | 3620 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3515 | ROM_LOAD( " | |
| 3621 | ROM_LOAD( "a2klink2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) | |
| 3516 | 3622 | |
| 3517 | 3623 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3518 | ROM_LOAD16_BYTE( "fbrom3.bin", 0x00000, 0x40000, CRC(a712b521) SHA1(355b3bd892d5fbd360961ca4b5adb20ddf2ba553) ) | |
| 3519 | ROM_LOAD16_BYTE( "fbrom4.bin", 0x00001, 0x40000, CRC(8996d2d5) SHA1(fc3830b8126ef9d15108e0873209168ad0b608c8) ) | |
| 3624 | ROM_LOAD16_BYTE( "a2klink3.bin", 0x00000, 0x80000, CRC(10298268) SHA1(05b4c6ae90f069b67e7c17b7a74dc786888274a6) ) | |
| 3625 | ROM_LOAD16_BYTE( "a2klink4.bin", 0x00001, 0x80000, CRC(9c90cada) SHA1(10afbc7900ad876fddbe912c95bac1f575e0948e) ) | |
| 3520 | 3626 | |
| 3521 | 3627 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3522 | ROM_LOAD16_BYTE( "fbrom5.bin", 0x00000, 0x40000, CRC(494fd1fa) SHA1(01ca60e35b68da398612fc7c8a7da6f8835eabd5) ) | |
| 3523 | ROM_LOAD16_BYTE( "fbrom6.bin", 0x00001, 0x40000, CRC(0ebe2ea5) SHA1(d83c1ba940e43ce1d392969055f36b3c49ac9727) ) | |
| 3628 | ROM_LOAD16_BYTE( "a2klink5.bin", 0x00000, 0x80000, CRC(7083106a) SHA1(39e7da2ef91dda40b2a9d9b8d50c587d637fda54) ) | |
| 3629 | ROM_LOAD16_BYTE( "a2klink6.bin", 0x00001, 0x80000, CRC(ba0de415) SHA1(fb4d718b9ad95eaa0ca259605fc1f2916bd1b7b7) ) | |
| 3524 | 3630 | |
| 3525 | 3631 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3526 | ROM_LOAD_OPTIONAL( " | |
| 3632 | ROM_LOAD_OPTIONAL( "a2k35r | |
| 3527 | 3633 | ROM_END |
| 3528 | 3634 | |
| 3529 | /* v type */ | |
| 3530 | ROM_START( ch2000v ) | |
| 3635 | ROM_START( act2000bx ) | |
| 3531 | 3636 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3532 | ROM_LOAD( " | |
| 3637 | ROM_LOAD( "a | |
| 3533 | 3638 | |
| 3534 | 3639 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3535 | ROM_LOAD( " | |
| 3640 | ROM_LOAD( "a2klink2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) | |
| 3536 | 3641 | |
| 3537 | 3642 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3538 | ROM_LOAD16_BYTE( "fb2rom3.bin", 0x00000, 0x40000, CRC(e9032c12) SHA1(62d99452af8d89e46c202a87faed1c78042cc2f0) ) | |
| 3539 | ROM_LOAD16_BYTE( "fb2rom4.bin", 0x00001, 0x40000, CRC(fb019fcf) SHA1(943ca8cfeae786bf3fb52417578133fd5037f8e1) ) | |
| 3643 | ROM_LOAD16_BYTE( "a2klink3.bin", 0x00000, 0x80000, CRC(10298268) SHA1(05b4c6ae90f069b67e7c17b7a74dc786888274a6) ) | |
| 3644 | ROM_LOAD16_BYTE( "a2klink4.bin", 0x00001, 0x80000, CRC(9c90cada) SHA1(10afbc7900ad876fddbe912c95bac1f575e0948e) ) | |
| 3540 | 3645 | |
| 3541 | 3646 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3542 | ROM_LOAD16_BYTE( "fb2rom5.bin", 0x00000, 0x40000, CRC(1dbf0566) SHA1(9b643cf03b543b9d7689daa00b2b06af5bc57c90) ) | |
| 3543 | ROM_LOAD16_BYTE( "fb2rom6.bin", 0x00001, 0x40000, CRC(a0116b86) SHA1(e2a0abbfbfa531683ea9077cdbed57d965f9c5c2) ) | |
| 3647 | ROM_LOAD16_BYTE( "a2klink5.bin", 0x00000, 0x80000, CRC(7083106a) SHA1(39e7da2ef91dda40b2a9d9b8d50c587d637fda54) ) | |
| 3648 | ROM_LOAD16_BYTE( "a2klink6.bin", 0x00001, 0x80000, CRC(ba0de415) SHA1(fb4d718b9ad95eaa0ca259605fc1f2916bd1b7b7) ) | |
| 3544 | 3649 | |
| 3545 | 3650 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3546 | ROM_LOAD_OPTIONAL( " | |
| 3651 | ROM_LOAD_OPTIONAL( "a2k33t_.id", 0x00, 0x20, CRC(ecebf1ee | |
| 3547 | 3652 | ROM_END |
| 3548 | 3653 | |
| 3549 | ROM_START( c | |
| 3654 | ROM_START( act2000dx ) | |
| 3550 | 3655 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3551 | ROM_LOAD( " | |
| 3656 | ROM_LOAD( "a | |
| 3552 | 3657 | |
| 3553 | 3658 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3554 | ROM_LOAD( " | |
| 3659 | ROM_LOAD( "a2klink2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) | |
| 3555 | 3660 | |
| 3556 | 3661 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3557 | ROM_LOAD16_BYTE( "fb2rom3.bin", 0x00000, 0x40000, CRC(e9032c12) SHA1(62d99452af8d89e46c202a87faed1c78042cc2f0) ) | |
| 3558 | ROM_LOAD16_BYTE( "fb2rom4.bin", 0x00001, 0x40000, CRC(fb019fcf) SHA1(943ca8cfeae786bf3fb52417578133fd5037f8e1) ) | |
| 3662 | ROM_LOAD16_BYTE( "a2klink3.bin", 0x00000, 0x80000, CRC(10298268) SHA1(05b4c6ae90f069b67e7c17b7a74dc786888274a6) ) | |
| 3663 | ROM_LOAD16_BYTE( "a2klink4.bin", 0x00001, 0x80000, CRC(9c90cada) SHA1(10afbc7900ad876fddbe912c95bac1f575e0948e) ) | |
| 3559 | 3664 | |
| 3560 | 3665 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3561 | ROM_LOAD16_BYTE( "fb2rom5.bin", 0x00000, 0x40000, CRC(1dbf0566) SHA1(9b643cf03b543b9d7689daa00b2b06af5bc57c90) ) | |
| 3562 | ROM_LOAD16_BYTE( "fb2rom6.bin", 0x00001, 0x40000, CRC(a0116b86) SHA1(e2a0abbfbfa531683ea9077cdbed57d965f9c5c2) ) | |
| 3666 | ROM_LOAD16_BYTE( "a2klink5.bin", 0x00000, 0x80000, CRC(7083106a) SHA1(39e7da2ef91dda40b2a9d9b8d50c587d637fda54) ) | |
| 3667 | ROM_LOAD16_BYTE( "a2klink6.bin", 0x00001, 0x80000, CRC(ba0de415) SHA1(fb4d718b9ad95eaa0ca259605fc1f2916bd1b7b7) ) | |
| 3563 | 3668 | |
| 3564 | 3669 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3565 | ROM_LOAD_OPTIONAL( " | |
| 3670 | ROM_LOAD_OPTIONAL( "a2k33t.id", 0x00, 0x20, CRC( | |
| 3566 | 3671 | ROM_END |
| 3567 | 3672 | |
| 3568 | ROM_START( c | |
| 3673 | ROM_START( act2000vx ) | |
| 3569 | 3674 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3570 | ROM_LOAD( " | |
| 3675 | ROM_LOAD( "a | |
| 3571 | 3676 | |
| 3572 | 3677 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3573 | ROM_LOAD( " | |
| 3678 | ROM_LOAD( "a2klink2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) | |
| 3574 | 3679 | |
| 3575 | 3680 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3576 | ROM_LOAD16_BYTE( "fb2rom3.bin", 0x00000, 0x40000, CRC(e9032c12) SHA1(62d99452af8d89e46c202a87faed1c78042cc2f0) ) | |
| 3577 | ROM_LOAD16_BYTE( "fb2rom4.bin", 0x00001, 0x40000, CRC(fb019fcf) SHA1(943ca8cfeae786bf3fb52417578133fd5037f8e1) ) | |
| 3681 | ROM_LOAD16_BYTE( "a2klink3.bin", 0x00000, 0x80000, CRC(10298268) SHA1(05b4c6ae90f069b67e7c17b7a74dc786888274a6) ) | |
| 3682 | ROM_LOAD16_BYTE( "a2klink4.bin", 0x00001, 0x80000, CRC(9c90cada) SHA1(10afbc7900ad876fddbe912c95bac1f575e0948e) ) | |
| 3578 | 3683 | |
| 3579 | 3684 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3580 | ROM_LOAD16_BYTE( "fb2rom5.bin", 0x00000, 0x40000, CRC(1dbf0566) SHA1(9b643cf03b543b9d7689daa00b2b06af5bc57c90) ) | |
| 3581 | ROM_LOAD16_BYTE( "fb2rom6.bin", 0x00001, 0x40000, CRC(a0116b86) SHA1(e2a0abbfbfa531683ea9077cdbed57d965f9c5c2) ) | |
| 3685 | ROM_LOAD16_BYTE( "a2klink5.bin", 0x00000, 0x80000, CRC(7083106a) SHA1(39e7da2ef91dda40b2a9d9b8d50c587d637fda54) ) | |
| 3686 | ROM_LOAD16_BYTE( "a2klink6.bin", 0x00001, 0x80000, CRC(ba0de415) SHA1(fb4d718b9ad95eaa0ca259605fc1f2916bd1b7b7) ) | |
| 3582 | 3687 | |
| 3583 | 3688 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3584 | ROM_LOAD_OPTIONAL( " | |
| 3689 | ROM_LOAD_OPTIONAL( "a2k33t.id", 0x00, 0x20, CRC(c11a5ee7 | |
| 3585 | 3690 | ROM_END |
| 3586 | 3691 | |
| 3587 | ROM_START( c | |
| 3692 | ROM_START( act2000o ) | |
| 3588 | 3693 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3589 | ROM_LOAD( " | |
| 3694 | ROM_LOAD( "a | |
| 3590 | 3695 | |
| 3591 | 3696 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3592 | ROM_LOAD( " | |
| 3697 | ROM_LOAD( "a2klink2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) | |
| 3593 | 3698 | |
| 3594 | 3699 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3595 | ROM_LOAD16_BYTE( "fb2rom3.bin", 0x00000, 0x40000, CRC(e9032c12) SHA1(62d99452af8d89e46c202a87faed1c78042cc2f0) ) | |
| 3596 | ROM_LOAD16_BYTE( "fb2rom4.bin", 0x00001, 0x40000, CRC(fb019fcf) SHA1(943ca8cfeae786bf3fb52417578133fd5037f8e1) ) | |
| 3700 | ROM_LOAD16_BYTE( "a2klink3.bin", 0x00000, 0x80000, CRC(10298268) SHA1(05b4c6ae90f069b67e7c17b7a74dc786888274a6) ) | |
| 3701 | ROM_LOAD16_BYTE( "a2klink4.bin", 0x00001, 0x80000, CRC(9c90cada) SHA1(10afbc7900ad876fddbe912c95bac1f575e0948e) ) | |
| 3597 | 3702 | |
| 3598 | 3703 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3599 | ROM_LOAD16_BYTE( "fb2rom5.bin", 0x00000, 0x40000, CRC(1dbf0566) SHA1(9b643cf03b543b9d7689daa00b2b06af5bc57c90) ) | |
| 3600 | ROM_LOAD16_BYTE( "fb2rom6.bin", 0x00001, 0x40000, CRC(a0116b86) SHA1(e2a0abbfbfa531683ea9077cdbed57d965f9c5c2) ) | |
| 3601 | ||
| 3602 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 3603 | ROM_LOAD_OPTIONAL( "fb41lt.id", 0x00, 0x20, CRC(21a07bba) SHA1(6fd88c243c554684e49667a8d2dc6b16348ae8dd) ) | |
| 3704 | ROM_LOAD16_BYTE( "a2klink5.bin", 0x00000, 0x80000, CRC(7083106a) SHA1(39e7da2ef91dda40b2a9d9b8d50c587d637fda54) ) | |
| 3705 | ROM_LOAD16_BYTE( "a2klink6.bin", 0x00001, 0x80000, CRC(ba0de415) SHA1(fb4d718b9ad95eaa0ca259605fc1f2916bd1b7b7) ) | |
| 3604 | 3706 | ROM_END |
| 3605 | 3707 | |
| 3606 | ROM_START( c | |
| 3708 | ROM_START( act2000o2 ) | |
| 3607 | 3709 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3608 | ROM_LOAD( " | |
| 3710 | ROM_LOAD( "a | |
| 3609 | 3711 | |
| 3610 | 3712 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3611 | ROM_LOAD( " | |
| 3713 | ROM_LOAD( "a2klink2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) | |
| 3612 | 3714 | |
| 3613 | 3715 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3614 | ROM_LOAD16_BYTE( "fb2rom3.bin", 0x00000, 0x40000, CRC(e9032c12) SHA1(62d99452af8d89e46c202a87faed1c78042cc2f0) ) | |
| 3615 | ROM_LOAD16_BYTE( "fb2rom4.bin", 0x00001, 0x40000, CRC(fb019fcf) SHA1(943ca8cfeae786bf3fb52417578133fd5037f8e1) ) | |
| 3716 | ROM_LOAD16_BYTE( "a2klink3.bin", 0x00000, 0x80000, CRC(10298268) SHA1(05b4c6ae90f069b67e7c17b7a74dc786888274a6) ) | |
| 3717 | ROM_LOAD16_BYTE( "a2klink4.bin", 0x00001, 0x80000, CRC(9c90cada) SHA1(10afbc7900ad876fddbe912c95bac1f575e0948e) ) | |
| 3616 | 3718 | |
| 3617 | 3719 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3618 | ROM_LOAD16_BYTE( "fb2rom5.bin", 0x00000, 0x40000, CRC(1dbf0566) SHA1(9b643cf03b543b9d7689daa00b2b06af5bc57c90) ) | |
| 3619 | ROM_LOAD16_BYTE( "fb2rom6.bin", 0x00001, 0x40000, CRC(a0116b86) SHA1(e2a0abbfbfa531683ea9077cdbed57d965f9c5c2) ) | |
| 3620 | ||
| 3621 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 3622 | ROM_LOAD_OPTIONAL( "fb44r.id", 0x00, 0x20, CRC(1867578d) SHA1(47178b153fab7811d26fe49e851244a36182db15) ) | |
| 3720 | ROM_LOAD16_BYTE( "a2klink5.bin", 0x00000, 0x80000, CRC(7083106a) SHA1(39e7da2ef91dda40b2a9d9b8d50c587d637fda54) ) | |
| 3721 | ROM_LOAD16_BYTE( "a2klink6.bin", 0x00001, 0x80000, CRC(ba0de415) SHA1(fb4d718b9ad95eaa0ca259605fc1f2916bd1b7b7) ) | |
| 3623 | 3722 | ROM_END |
| 3624 | 3723 | |
| 3625 | ||
| 3626 | ROM_START( ch2000d ) | |
| 3724 | ROM_START( act2000o3 ) | |
| 3627 | 3725 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3628 | ROM_LOAD( " | |
| 3726 | ROM_LOAD( "a | |
| 3629 | 3727 | |
| 3630 | 3728 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3631 | ROM_LOAD( " | |
| 3729 | ROM_LOAD( "a | |
| 3632 | 3730 | |
| 3633 | 3731 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3634 | ROM_LOAD16_BYTE( "fb2rom3.bin", 0x00000, 0x40000, CRC(e9032c12) SHA1(62d99452af8d89e46c202a87faed1c78042cc2f0) ) | |
| 3635 | ROM_LOAD16_BYTE( "fb2rom4.bin", 0x00001, 0x40000, CRC(fb019fcf) SHA1(943ca8cfeae786bf3fb52417578133fd5037f8e1) ) | |
| 3732 | ROM_LOAD16_BYTE( "a2k-3.u9", 0x00000, 0x80000, CRC(e91c51b0) SHA1(7858f30eb698ee37d27dd61a7df092000e8f7a7c) ) | |
| 3733 | ROM_LOAD16_BYTE( "a2k-4.u8", 0x00001, 0x80000, CRC(1238f1ae) SHA1(073df71dd13a77157ae9c94204cf69fda8286e0b) ) | |
| 3636 | 3734 | |
| 3637 | 3735 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3638 | ROM_LOAD16_BYTE( "fb2rom5.bin", 0x00000, 0x40000, CRC(1dbf0566) SHA1(9b643cf03b543b9d7689daa00b2b06af5bc57c90) ) | |
| 3639 | ROM_LOAD16_BYTE( "fb2rom6.bin", 0x00001, 0x40000, CRC(a0116b86) SHA1(e2a0abbfbfa531683ea9077cdbed57d965f9c5c2) ) | |
| 3640 | ||
| 3641 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 3642 | ROM_LOAD_OPTIONAL( "fb41lt.id", 0x00, 0x20, CRC(21a07bba) SHA1(6fd88c243c554684e49667a8d2dc6b16348ae8dd) ) | |
| 3736 | ROM_LOAD16_BYTE( "a2k-5.u6", 0x00000, 0x80000, CRC(2b4f7af8) SHA1(6892de184f0824d7b71c48b75db4dce19d230923) ) | |
| 3737 | ROM_LOAD16_BYTE( "a2k-6.u4", 0x00001, 0x80000, CRC(1b812dd6) SHA1(55998bd26ff9795087e6e240cc202306121920e8) ) | |
| 3643 | 3738 | ROM_END |
| 3644 | 3739 | |
| 3645 | ROM_START( ch2000d2 ) | |
| 3740 | /* Fruit Bonus 2000 / New Cherry 2000 */ | |
| 3741 | ROM_START( ch2000 ) | |
| 3646 | 3742 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3647 | ROM_LOAD( "fc2 | |
| 3743 | ROM_LOAD( "fc2v44e.bin", 0x00000, 0x40000, CRC(a9713624) SHA1(0 | |
| 3648 | 3744 | |
| 3649 | 3745 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3650 | 3746 | ROM_LOAD( "fbrom2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) |
| r5490 | r5491 | |
| 3658 | 3754 | ROM_LOAD16_BYTE( "fb2rom6.bin", 0x00001, 0x40000, CRC(a0116b86) SHA1(e2a0abbfbfa531683ea9077cdbed57d965f9c5c2) ) |
| 3659 | 3755 | |
| 3660 | 3756 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3661 | ROM_LOAD_OPTIONAL( "fb44 | |
| 3757 | ROM_LOAD_OPTIONAL( "fb44e.id", 0x00, 0x20, CRC( | |
| 3662 | 3758 | ROM_END |
| 3663 | 3759 | |
| 3760 | ROM_START( ch2000b1 ) | |
| 3761 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ | |
| 3762 | ROM_LOAD( "fc2b44r.bin", 0x00000, 0x40000, CRC(c9f9b0c7) SHA1(97bc35dcf0608c6211f1dc9678b4b2232c70cdca) ) | |
| 3664 | 3763 | |
| 3764 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ | |
| 3765 | ROM_LOAD( "fbrom2.bin", 0x00000, 0x40000, CRC(3b0f5374) SHA1(7e7b185b62d1a321e2853b4b08e8ee2aa54933f5) ) | |
| 3665 | 3766 | |
| 3767 | ROM_REGION( 0x100000, "gfx1", 0 ) | |
| 3768 | ROM_LOAD16_BYTE( "fbrom3.bin", 0x00000, 0x40000, CRC(a712b521) SHA1(355b3bd892d5fbd360961ca4b5adb20ddf2ba553) ) | |
| 3769 | ROM_LOAD16_BYTE( "fbrom4.bin", 0x00001, 0x40000, CRC(8996d2d5) SHA1(fc3830b8126ef9d15108e0873209168ad0b608c8) ) | |
| 3666 | 3770 | |
| 3667 | /* | |
| 3771 | ROM_REGION( 0x100000, "gfx2", 0 ) | |
| 3772 | ROM_LOAD16_BYTE( "fbrom5.bin", 0x00000, 0x40000, CRC(494fd1fa) SHA1(01ca60e35b68da398612fc7c8a7da6f8835eabd5) ) | |
| 3773 | ROM_LOAD16_BYTE( "fbrom6.bin", 0x00001, 0x40000, CRC(0ebe2ea5) SHA1(d83c1ba940e43ce1d392969055f36b3c49ac9727) ) | |
| 3668 | 3774 | |
| 3669 | Action 2000 by AMCOE | |
| 3775 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 3776 | ROM_LOAD_OPTIONAL( "fb44r_.id", 0x00, 0x20, CRC(5ea37646) SHA1(1bfd7bdceb5831357c622997817e417bb028091d) ) | |
| 3777 | ROM_END | |
| 3670 | 3778 | |
| 3671 | ||
| 3672 | Graphics - HM86171-80 ? 28DIP | |
| 3673 | Processor - Amcoe Saltire ? 208PQFP | |
| 3674 | ||
| 3675 | QUARTZ OSCILLATORS 12.000, 4.9152 and 27.000 | |
| 3676 | ||
| 3677 | RAM | |
| 3678 | ||
| 3679 | HM6264ALP-15 - 28DIP | |
| 3680 | UN61256FK-15 - 28DIP | |
| 3681 | ||
| 3682 | Unknown | |
| 3683 | ||
| 3684 | Chip Markings removed 44Pin PLCC | |
| 3685 | ||
| 3686 | Roms | |
| 3687 | ||
| 3688 | a2k1-1.2.u28 - F29C51001T | |
| 3689 | a2k-2.u11 - F29C51002T | |
| 3690 | a2k-3.u9 - F29C51004T | |
| 3691 | a2k-4.u8 - F29C51004T | |
| 3692 | a2k-5.u6 - F29C51004T | |
| 3693 | a2k-6.u4 - F29C51004T | |
| 3694 | ||
| 3695 | Dumped by Dang_Spot 08/12/04 | |
| 3696 | */ | |
| 3697 | ||
| 3698 | ROM_START( act2000 ) | |
| 3779 | ROM_START( ch2000b2 ) | |
| 3699 | 3780 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3700 | ROM_LOAD( " | |
| 3781 | ROM_LOAD( "fc2b41lt.bin | |
| 3701 | 3782 | |
| 3702 | 3783 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3703 | ROM_LOAD( " | |
| 3784 | ROM_LOAD( "fbrom2 | |
| 3704 | 3785 | |
| 3705 | 3786 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3706 | ROM_LOAD16_BYTE( "a2k-3.u9", 0x00000, 0x80000, CRC(e91c51b0) SHA1(7858f30eb698ee37d27dd61a7df092000e8f7a7c) ) | |
| 3707 | ROM_LOAD16_BYTE( "a2k-4.u8", 0x00001, 0x80000, CRC(1238f1ae) SHA1(073df71dd13a77157ae9c94204cf69fda8286e0b) ) | |
| 3787 | ROM_LOAD16_BYTE( "fbrom3.bin", 0x00000, 0x40000, CRC(a712b521) SHA1(355b3bd892d5fbd360961ca4b5adb20ddf2ba553) ) | |
| 3788 | ROM_LOAD16_BYTE( "fbrom4.bin", 0x00001, 0x40000, CRC(8996d2d5) SHA1(fc3830b8126ef9d15108e0873209168ad0b608c8) ) | |
| 3708 | 3789 | |
| 3709 | 3790 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3710 | ROM_LOAD16_BYTE( "a2k-5.u6", 0x00000, 0x80000, CRC(2b4f7af8) SHA1(6892de184f0824d7b71c48b75db4dce19d230923) ) | |
| 3711 | ROM_LOAD16_BYTE( "a2k-6.u4", 0x00001, 0x80000, CRC(1b812dd6) SHA1(55998bd26ff9795087e6e240cc202306121920e8) ) | |
| 3791 | ROM_LOAD16_BYTE( "fbrom5.bin", 0x00000, 0x40000, CRC(494fd1fa) SHA1(01ca60e35b68da398612fc7c8a7da6f8835eabd5) ) | |
| 3792 | ROM_LOAD16_BYTE( "fbrom6.bin", 0x00001, 0x40000, CRC(0ebe2ea5) SHA1(d83c1ba940e43ce1d392969055f36b3c49ac9727) ) | |
| 3793 | ||
| 3794 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 3795 | ROM_LOAD_OPTIONAL( "fb41lt_.id", 0x00, 0x20, CRC(9a3c83a5) SHA1(d09931228339ca744567095006ae1c512c462fee) ) | |
| 3712 | 3796 | ROM_END |
| 3713 | 3797 | |
| 3714 | ROM_START( | |
| 3798 | ROM_START( | |
| 3715 | 3799 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3716 | ROM_LOAD( " | |
| 3800 | ROM_LOAD( "fc2v44r.bin", 0x00000, 0x40000, CRC(8d375e | |
| 3717 | 3801 | |
| 3718 | 3802 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3719 | ROM_LOAD( " | |
| 3803 | ROM_LOAD( "fbrom | |
| 3720 | 3804 | |
| 3721 | 3805 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3722 | ROM_LOAD16_BYTE( "a2klink3.bin", 0x00000, 0x80000, CRC(10298268) SHA1(05b4c6ae90f069b67e7c17b7a74dc786888274a6) ) | |
| 3723 | ROM_LOAD16_BYTE( "a2klink4.bin", 0x00001, 0x80000, CRC(9c90cada) SHA1(10afbc7900ad876fddbe912c95bac1f575e0948e) ) | |
| 3806 | ROM_LOAD16_BYTE( "fb2rom3.bin", 0x00000, 0x40000, CRC(e9032c12) SHA1(62d99452af8d89e46c202a87faed1c78042cc2f0) ) | |
| 3807 | ROM_LOAD16_BYTE( "fb2rom4.bin", 0x00001, 0x40000, CRC(fb019fcf) SHA1(943ca8cfeae786bf3fb52417578133fd5037f8e1) ) | |
| 3724 | 3808 | |
| 3725 | 3809 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3726 | ROM_LOAD16_BYTE( "a2klink5.bin", 0x00000, 0x80000, CRC(7083106a) SHA1(39e7da2ef91dda40b2a9d9b8d50c587d637fda54) ) | |
| 3727 | ROM_LOAD16_BYTE( "a2klink6.bin", 0x00001, 0x80000, CRC(ba0de415) SHA1(fb4d718b9ad95eaa0ca259605fc1f2916bd1b7b7) ) | |
| 3810 | ROM_LOAD16_BYTE( "fb2rom5.bin", 0x00000, 0x40000, CRC(1dbf0566) SHA1(9b643cf03b543b9d7689daa00b2b06af5bc57c90) ) | |
| 3811 | ROM_LOAD16_BYTE( "fb2rom6.bin", 0x00001, 0x40000, CRC(a0116b86) SHA1(e2a0abbfbfa531683ea9077cdbed57d965f9c5c2) ) | |
| 3812 | ||
| 3813 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 3814 | ROM_LOAD_OPTIONAL( "fb44r.id", 0x00, 0x20, CRC(1867578d) SHA1(47178b153fab7811d26fe49e851244a36182db15) ) | |
| 3728 | 3815 | ROM_END |
| 3729 | 3816 | |
| 3730 | ROM_START( | |
| 3817 | ROM_START( | |
| 3731 | 3818 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3732 | ROM_LOAD( " | |
| 3819 | ROM_LOAD( "fc2v41lt.bin", 0x00000, 0x40000, CRC(1 | |
| 3733 | 3820 | |
| 3734 | 3821 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3735 | ROM_LOAD( " | |
| 3822 | ROM_LOAD( "fbrom | |
| 3736 | 3823 | |
| 3737 | 3824 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3738 | ROM_LOAD16_BYTE( "a2klink3.bin", 0x00000, 0x80000, CRC(10298268) SHA1(05b4c6ae90f069b67e7c17b7a74dc786888274a6) ) | |
| 3739 | ROM_LOAD16_BYTE( "a2klink4.bin", 0x00001, 0x80000, CRC(9c90cada) SHA1(10afbc7900ad876fddbe912c95bac1f575e0948e) ) | |
| 3825 | ROM_LOAD16_BYTE( "fb2rom3.bin", 0x00000, 0x40000, CRC(e9032c12) SHA1(62d99452af8d89e46c202a87faed1c78042cc2f0) ) | |
| 3826 | ROM_LOAD16_BYTE( "fb2rom4.bin", 0x00001, 0x40000, CRC(fb019fcf) SHA1(943ca8cfeae786bf3fb52417578133fd5037f8e1) ) | |
| 3740 | 3827 | |
| 3741 | 3828 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3742 | ROM_LOAD16_BYTE( "a2klink5.bin", 0x00000, 0x80000, CRC(7083106a) SHA1(39e7da2ef91dda40b2a9d9b8d50c587d637fda54) ) | |
| 3743 | ROM_LOAD16_BYTE( "a2klink6.bin", 0x00001, 0x80000, CRC(ba0de415) SHA1(fb4d718b9ad95eaa0ca259605fc1f2916bd1b7b7) ) | |
| 3829 | ROM_LOAD16_BYTE( "fb2rom5.bin", 0x00000, 0x40000, CRC(1dbf0566) SHA1(9b643cf03b543b9d7689daa00b2b06af5bc57c90) ) | |
| 3830 | ROM_LOAD16_BYTE( "fb2rom6.bin", 0x00001, 0x40000, CRC(a0116b86) SHA1(e2a0abbfbfa531683ea9077cdbed57d965f9c5c2) ) | |
| 3831 | ||
| 3832 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 3833 | ROM_LOAD_OPTIONAL( "fb41lt.id", 0x00, 0x20, CRC(21a07bba) SHA1(6fd88c243c554684e49667a8d2dc6b16348ae8dd) ) | |
| 3744 | 3834 | ROM_END |
| 3745 | 3835 | |
| 3746 | ROM_START( | |
| 3836 | ROM_START( | |
| 3747 | 3837 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3748 | ROM_LOAD( " | |
| 3838 | ROM_LOAD( "fc2c44r.bin", 0x00000, 0x40000, CRC(d898 | |
| 3749 | 3839 | |
| 3750 | 3840 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3751 | ROM_LOAD( " | |
| 3841 | ROM_LOAD( "fbrom | |
| 3752 | 3842 | |
| 3753 | 3843 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3754 | ROM_LOAD16_BYTE( "a2klink3.bin", 0x00000, 0x80000, CRC(10298268) SHA1(05b4c6ae90f069b67e7c17b7a74dc786888274a6) ) | |
| 3755 | ROM_LOAD16_BYTE( "a2klink4.bin", 0x00001, 0x80000, CRC(9c90cada) SHA1(10afbc7900ad876fddbe912c95bac1f575e0948e) ) | |
| 3844 | ROM_LOAD16_BYTE( "fb2rom3.bin", 0x00000, 0x40000, CRC(e9032c12) SHA1(62d99452af8d89e46c202a87faed1c78042cc2f0) ) | |
| 3845 | ROM_LOAD16_BYTE( "fb2rom4.bin", 0x00001, 0x40000, CRC(fb019fcf) SHA1(943ca8cfeae786bf3fb52417578133fd5037f8e1) ) | |
| 3756 | 3846 | |
| 3757 | 3847 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3758 | ROM_LOAD16_BYTE( "a2klink5.bin", 0x00000, 0x80000, CRC(7083106a) SHA1(39e7da2ef91dda40b2a9d9b8d50c587d637fda54) ) | |
| 3759 | ROM_LOAD16_BYTE( "a2klink6.bin", 0x00001, 0x80000, CRC(ba0de415) SHA1(fb4d718b9ad95eaa0ca259605fc1f2916bd1b7b7) ) | |
| 3848 | ROM_LOAD16_BYTE( "fb2rom5.bin", 0x00000, 0x40000, CRC(1dbf0566) SHA1(9b643cf03b543b9d7689daa00b2b06af5bc57c90) ) | |
| 3849 | ROM_LOAD16_BYTE( "fb2rom6.bin", 0x00001, 0x40000, CRC(a0116b86) SHA1(e2a0abbfbfa531683ea9077cdbed57d965f9c5c2) ) | |
| 3760 | 3850 | |
| 3761 | 3851 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3762 | ROM_LOAD_OPTIONAL( " | |
| 3852 | ROM_LOAD_OPTIONAL( "fb44 | |
| 3763 | 3853 | ROM_END |
| 3764 | 3854 | |
| 3765 | ROM_START( | |
| 3855 | ROM_START( | |
| 3766 | 3856 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3767 | ROM_LOAD( " | |
| 3857 | ROM_LOAD( "fc2c41lt.bin", 0x00000, 0x40000, CRC(bb6dd | |
| 3768 | 3858 | |
| 3769 | 3859 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3770 | ROM_LOAD( " | |
| 3860 | ROM_LOAD( "fbrom | |
| 3771 | 3861 | |
| 3772 | 3862 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3773 | ROM_LOAD16_BYTE( "a2klink3.bin", 0x00000, 0x80000, CRC(10298268) SHA1(05b4c6ae90f069b67e7c17b7a74dc786888274a6) ) | |
| 3774 | ROM_LOAD16_BYTE( "a2klink4.bin", 0x00001, 0x80000, CRC(9c90cada) SHA1(10afbc7900ad876fddbe912c95bac1f575e0948e) ) | |
| 3863 | ROM_LOAD16_BYTE( "fb2rom3.bin", 0x00000, 0x40000, CRC(e9032c12) SHA1(62d99452af8d89e46c202a87faed1c78042cc2f0) ) | |
| 3864 | ROM_LOAD16_BYTE( "fb2rom4.bin", 0x00001, 0x40000, CRC(fb019fcf) SHA1(943ca8cfeae786bf3fb52417578133fd5037f8e1) ) | |
| 3775 | 3865 | |
| 3776 | 3866 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3777 | ROM_LOAD16_BYTE( "a2klink5.bin", 0x00000, 0x80000, CRC(7083106a) SHA1(39e7da2ef91dda40b2a9d9b8d50c587d637fda54) ) | |
| 3778 | ROM_LOAD16_BYTE( "a2klink6.bin", 0x00001, 0x80000, CRC(ba0de415) SHA1(fb4d718b9ad95eaa0ca259605fc1f2916bd1b7b7) ) | |
| 3867 | ROM_LOAD16_BYTE( "fb2rom5.bin", 0x00000, 0x40000, CRC(1dbf0566) SHA1(9b643cf03b543b9d7689daa00b2b06af5bc57c90) ) | |
| 3868 | ROM_LOAD16_BYTE( "fb2rom6.bin", 0x00001, 0x40000, CRC(a0116b86) SHA1(e2a0abbfbfa531683ea9077cdbed57d965f9c5c2) ) | |
| 3779 | 3869 | |
| 3780 | 3870 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3781 | ROM_LOAD_OPTIONAL( " | |
| 3871 | ROM_LOAD_OPTIONAL( "fb41lt.id", 0x00, 0x20, CRC(2 | |
| 3782 | 3872 | ROM_END |
| 3783 | 3873 | |
| 3784 | ROM_START( | |
| 3874 | ROM_START( | |
| 3785 | 3875 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3786 | ROM_LOAD( " | |
| 3876 | ROM_LOAD( "fc2d44r | |
| 3787 | 3877 | |
| 3788 | 3878 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3789 | ROM_LOAD( " | |
| 3879 | ROM_LOAD( "fbrom | |
| 3790 | 3880 | |
| 3791 | 3881 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3792 | ROM_LOAD16_BYTE( "a2klink3.bin", 0x00000, 0x80000, CRC(10298268) SHA1(05b4c6ae90f069b67e7c17b7a74dc786888274a6) ) | |
| 3793 | ROM_LOAD16_BYTE( "a2klink4.bin", 0x00001, 0x80000, CRC(9c90cada) SHA1(10afbc7900ad876fddbe912c95bac1f575e0948e) ) | |
| 3882 | ROM_LOAD16_BYTE( "fb2rom3.bin", 0x00000, 0x40000, CRC(e9032c12) SHA1(62d99452af8d89e46c202a87faed1c78042cc2f0) ) | |
| 3883 | ROM_LOAD16_BYTE( "fb2rom4.bin", 0x00001, 0x40000, CRC(fb019fcf) SHA1(943ca8cfeae786bf3fb52417578133fd5037f8e1) ) | |
| 3794 | 3884 | |
| 3795 | 3885 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3796 | ROM_LOAD16_BYTE( "a2klink5.bin", 0x00000, 0x80000, CRC(7083106a) SHA1(39e7da2ef91dda40b2a9d9b8d50c587d637fda54) ) | |
| 3797 | ROM_LOAD16_BYTE( "a2klink6.bin", 0x00001, 0x80000, CRC(ba0de415) SHA1(fb4d718b9ad95eaa0ca259605fc1f2916bd1b7b7) ) | |
| 3886 | ROM_LOAD16_BYTE( "fb2rom5.bin", 0x00000, 0x40000, CRC(1dbf0566) SHA1(9b643cf03b543b9d7689daa00b2b06af5bc57c90) ) | |
| 3887 | ROM_LOAD16_BYTE( "fb2rom6.bin", 0x00001, 0x40000, CRC(a0116b86) SHA1(e2a0abbfbfa531683ea9077cdbed57d965f9c5c2) ) | |
| 3798 | 3888 | |
| 3799 | 3889 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3800 | ROM_LOAD_OPTIONAL( " | |
| 3890 | ROM_LOAD_OPTIONAL( "fb44r | |
| 3801 | 3891 | ROM_END |
| 3802 | 3892 | |
| 3803 | ROM_START( | |
| 3893 | ROM_START( | |
| 3804 | 3894 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3805 | ROM_LOAD( " | |
| 3895 | ROM_LOAD( "fc2d41lt.bin", 0x00000, 0x40000, CRC(d4 | |
| 3806 | 3896 | |
| 3807 | 3897 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3808 | ROM_LOAD( " | |
| 3898 | ROM_LOAD( "fbrom | |
| 3809 | 3899 | |
| 3810 | 3900 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3811 | ROM_LOAD16_BYTE( "a2klink3.bin", 0x00000, 0x80000, CRC(10298268) SHA1(05b4c6ae90f069b67e7c17b7a74dc786888274a6) ) | |
| 3812 | ROM_LOAD16_BYTE( "a2klink4.bin", 0x00001, 0x80000, CRC(9c90cada) SHA1(10afbc7900ad876fddbe912c95bac1f575e0948e) ) | |
| 3901 | ROM_LOAD16_BYTE( "fb2rom3.bin", 0x00000, 0x40000, CRC(e9032c12) SHA1(62d99452af8d89e46c202a87faed1c78042cc2f0) ) | |
| 3902 | ROM_LOAD16_BYTE( "fb2rom4.bin", 0x00001, 0x40000, CRC(fb019fcf) SHA1(943ca8cfeae786bf3fb52417578133fd5037f8e1) ) | |
| 3813 | 3903 | |
| 3814 | 3904 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3815 | ROM_LOAD16_BYTE( "a2klink5.bin", 0x00000, 0x80000, CRC(7083106a) SHA1(39e7da2ef91dda40b2a9d9b8d50c587d637fda54) ) | |
| 3816 | ROM_LOAD16_BYTE( "a2klink6.bin", 0x00001, 0x80000, CRC(ba0de415) SHA1(fb4d718b9ad95eaa0ca259605fc1f2916bd1b7b7) ) | |
| 3905 | ROM_LOAD16_BYTE( "fb2rom5.bin", 0x00000, 0x40000, CRC(1dbf0566) SHA1(9b643cf03b543b9d7689daa00b2b06af5bc57c90) ) | |
| 3906 | ROM_LOAD16_BYTE( "fb2rom6.bin", 0x00001, 0x40000, CRC(a0116b86) SHA1(e2a0abbfbfa531683ea9077cdbed57d965f9c5c2) ) | |
| 3817 | 3907 | |
| 3818 | 3908 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3819 | ROM_LOAD_OPTIONAL( " | |
| 3909 | ROM_LOAD_OPTIONAL( "fb41lt.id", 0x00, 0x20, CRC(21a | |
| 3820 | 3910 | ROM_END |
| 3821 | 3911 | |
| 3822 | ROM_START( | |
| 3912 | ROM_START( | |
| 3823 | 3913 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3824 | ROM_LOAD( " | |
| 3914 | ROM_LOAD( "fc2k39xt.bin", 0x00000, 0x40000, CRC(f | |
| 3825 | 3915 | |
| 3826 | 3916 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3827 | ROM_LOAD( " | |
| 3917 | ROM_LOAD( "fbrom | |
| 3828 | 3918 | |
| 3829 | 3919 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3830 | ROM_LOAD16_BYTE( "a2klink3.bin", 0x00000, 0x80000, CRC(10298268) SHA1(05b4c6ae90f069b67e7c17b7a74dc786888274a6) ) | |
| 3831 | ROM_LOAD16_BYTE( "a2klink4.bin", 0x00001, 0x80000, CRC(9c90cada) SHA1(10afbc7900ad876fddbe912c95bac1f575e0948e) ) | |
| 3920 | ROM_LOAD16_BYTE( "fbrom3.bin", 0x00000, 0x40000, CRC(a712b521) SHA1(355b3bd892d5fbd360961ca4b5adb20ddf2ba553) ) | |
| 3921 | ROM_LOAD16_BYTE( "fbrom4.bin", 0x00001, 0x40000, CRC(8996d2d5) SHA1(fc3830b8126ef9d15108e0873209168ad0b608c8) ) | |
| 3832 | 3922 | |
| 3833 | 3923 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3834 | ROM_LOAD16_BYTE( "a2klink5.bin", 0x00000, 0x80000, CRC(7083106a) SHA1(39e7da2ef91dda40b2a9d9b8d50c587d637fda54) ) | |
| 3835 | ROM_LOAD16_BYTE( "a2klink6.bin", 0x00001, 0x80000, CRC(ba0de415) SHA1(fb4d718b9ad95eaa0ca259605fc1f2916bd1b7b7) ) | |
| 3836 | ||
| 3837 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 3838 | ROM_LOAD_OPTIONAL( "a2k33t.id", 0x00, 0x20, CRC(c11a5ee7) SHA1(36615ed41d2537493d18ff8e2b2e801aa71efd23) ) | |
| 3924 | ROM_LOAD16_BYTE( "fbrom5.bin", 0x00000, 0x40000, CRC(494fd1fa) SHA1(01ca60e35b68da398612fc7c8a7da6f8835eabd5) ) | |
| 3925 | ROM_LOAD16_BYTE( "fbrom6.bin", 0x00001, 0x40000, CRC(0ebe2ea5) SHA1(d83c1ba940e43ce1d392969055f36b3c49ac9727) ) | |
| 3839 | 3926 | ROM_END |
| 3840 | 3927 | |
| 3841 | ROM_START( | |
| 3928 | ROM_START( | |
| 3842 | 3929 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3843 | ROM_LOAD( " | |
| 3930 | ROM_LOAD( "fc2k39d.bin", 0x00000, 0x40000, CRC(38fa136c | |
| 3844 | 3931 | |
| 3845 | 3932 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3846 | ROM_LOAD( " | |
| 3933 | ROM_LOAD( "fbrom | |
| 3847 | 3934 | |
| 3848 | 3935 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3849 | ROM_LOAD16_BYTE( "a2klink3.bin", 0x00000, 0x80000, CRC(10298268) SHA1(05b4c6ae90f069b67e7c17b7a74dc786888274a6) ) | |
| 3850 | ROM_LOAD16_BYTE( "a2klink4.bin", 0x00001, 0x80000, CRC(9c90cada) SHA1(10afbc7900ad876fddbe912c95bac1f575e0948e) ) | |
| 3936 | ROM_LOAD16_BYTE( "fbrom3.bin", 0x00000, 0x40000, CRC(a712b521) SHA1(355b3bd892d5fbd360961ca4b5adb20ddf2ba553) ) | |
| 3937 | ROM_LOAD16_BYTE( "fbrom4.bin", 0x00001, 0x40000, CRC(8996d2d5) SHA1(fc3830b8126ef9d15108e0873209168ad0b608c8) ) | |
| 3851 | 3938 | |
| 3852 | 3939 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3853 | ROM_LOAD16_BYTE( "a2klink5.bin", 0x00000, 0x80000, CRC(7083106a) SHA1(39e7da2ef91dda40b2a9d9b8d50c587d637fda54) ) | |
| 3854 | ROM_LOAD16_BYTE( "a2klink6.bin", 0x00001, 0x80000, CRC(ba0de415) SHA1(fb4d718b9ad95eaa0ca259605fc1f2916bd1b7b7) ) | |
| 3855 | ||
| 3856 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 3857 | ROM_LOAD_OPTIONAL( "a2k35r_.id", 0x00, 0x20, CRC(6b54454b) SHA1(f90f4567f63739f6449a48b4a91b3b969ad6d22f) ) | |
| 3940 | ROM_LOAD16_BYTE( "fbrom5.bin", 0x00000, 0x40000, CRC(494fd1fa) SHA1(01ca60e35b68da398612fc7c8a7da6f8835eabd5) ) | |
| 3941 | ROM_LOAD16_BYTE( "fbrom6.bin", 0x00001, 0x40000, CRC(0ebe2ea5) SHA1(d83c1ba940e43ce1d392969055f36b3c49ac9727) ) | |
| 3858 | 3942 | ROM_END |
| 3859 | 3943 | |
| 3860 | ROM_START( | |
| 3944 | ROM_START( | |
| 3861 | 3945 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3862 | ROM_LOAD( " | |
| 3946 | ROM_LOAD( "fc2k39 | |
| 3863 | 3947 | |
| 3864 | 3948 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3865 | ROM_LOAD( " | |
| 3949 | ROM_LOAD( "fbrom | |
| 3866 | 3950 | |
| 3867 | 3951 | ROM_REGION( 0x100000, "gfx1", 0 ) |
| 3868 | ROM_LOAD16_BYTE( "a2klink3.bin", 0x00000, 0x80000, CRC(10298268) SHA1(05b4c6ae90f069b67e7c17b7a74dc786888274a6) ) | |
| 3869 | ROM_LOAD16_BYTE( "a2klink4.bin", 0x00001, 0x80000, CRC(9c90cada) SHA1(10afbc7900ad876fddbe912c95bac1f575e0948e) ) | |
| 3952 | ROM_LOAD16_BYTE( "fbrom3.bin", 0x00000, 0x40000, CRC(a712b521) SHA1(355b3bd892d5fbd360961ca4b5adb20ddf2ba553) ) | |
| 3953 | ROM_LOAD16_BYTE( "fbrom4.bin", 0x00001, 0x40000, CRC(8996d2d5) SHA1(fc3830b8126ef9d15108e0873209168ad0b608c8) ) | |
| 3870 | 3954 | |
| 3871 | 3955 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3872 | ROM_LOAD16_BYTE( "a2klink5.bin", 0x00000, 0x80000, CRC(7083106a) SHA1(39e7da2ef91dda40b2a9d9b8d50c587d637fda54) ) | |
| 3873 | ROM_LOAD16_BYTE( "a2klink6.bin", 0x00001, 0x80000, CRC(ba0de415) SHA1(fb4d718b9ad95eaa0ca259605fc1f2916bd1b7b7) ) | |
| 3874 | ||
| 3875 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 3876 | ROM_LOAD_OPTIONAL( "a2k33t_.id", 0x00, 0x20, CRC(ecebf1ee) SHA1(8e2aea99bea43467fafb2629dc7551230ec4a6bb) ) | |
| 3956 | ROM_LOAD16_BYTE( "fbrom5.bin", 0x00000, 0x40000, CRC(494fd1fa) SHA1(01ca60e35b68da398612fc7c8a7da6f8835eabd5) ) | |
| 3957 | ROM_LOAD16_BYTE( "fbrom6.bin", 0x00001, 0x40000, CRC(0ebe2ea5) SHA1(d83c1ba940e43ce1d392969055f36b3c49ac9727) ) | |
| 3877 | 3958 | ROM_END |
| 3878 | 3959 | |
| 3960 | /* Pirate 2001 */ | |
| 3879 | 3961 | ROM_START( pir2001 ) |
| 3880 | 3962 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3881 | ROM_LOAD( "pi | |
| 3963 | ROM_LOAD( "pi1v | |
| 3882 | 3964 | |
| 3883 | 3965 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3884 | 3966 | ROM_LOAD( "piratrom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 3890 | 3972 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3891 | 3973 | ROM_LOAD16_BYTE( "piratrom5.bin", 0x00000, 0x80000, CRC(6d7e502a) SHA1(4910a0bb1e779e04e87eb6cba092f976f85c0f96) ) |
| 3892 | 3974 | ROM_LOAD16_BYTE( "piratrom6.bin", 0x00001, 0x80000, CRC(470ff052) SHA1(b63293e2f244d992e64df085d6565931b982dcd3) ) |
| 3975 | ||
| 3976 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 3977 | ROM_LOAD_OPTIONAL( "pi125e.id", 0x00, 0x20, CRC(339852cb) SHA1(02977f8cbca378f22ff43c299a61b1f1da3c5d50) ) | |
| 3893 | 3978 | ROM_END |
| 3894 | 3979 | |
| 3895 | ROM_START( pir2001 | |
| 3980 | ROM_START( pir2001b1 ) | |
| 3896 | 3981 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3897 | ROM_LOAD( "pi | |
| 3982 | ROM_LOAD( "pi1b | |
| 3898 | 3983 | |
| 3899 | 3984 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3900 | 3985 | ROM_LOAD( "piratrom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 3906 | 3991 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3907 | 3992 | ROM_LOAD16_BYTE( "piratrom5.bin", 0x00000, 0x80000, CRC(6d7e502a) SHA1(4910a0bb1e779e04e87eb6cba092f976f85c0f96) ) |
| 3908 | 3993 | ROM_LOAD16_BYTE( "piratrom6.bin", 0x00001, 0x80000, CRC(470ff052) SHA1(b63293e2f244d992e64df085d6565931b982dcd3) ) |
| 3994 | ||
| 3995 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 3996 | ROM_LOAD_OPTIONAL( "pi125r_.id", 0x00, 0x20, CRC(ec11baad) SHA1(4159a99fd732d3a42a1fb14f8cf2e4a7b5836436) ) | |
| 3909 | 3997 | ROM_END |
| 3910 | 3998 | |
| 3911 | ROM_START( pir2001 | |
| 3999 | ROM_START( pir2001d1 ) | |
| 3912 | 4000 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3913 | ROM_LOAD( "pi | |
| 4001 | ROM_LOAD( "pi1d25r | |
| 3914 | 4002 | |
| 3915 | 4003 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3916 | 4004 | ROM_LOAD( "piratrom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 3922 | 4010 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 3923 | 4011 | ROM_LOAD16_BYTE( "piratrom5.bin", 0x00000, 0x80000, CRC(6d7e502a) SHA1(4910a0bb1e779e04e87eb6cba092f976f85c0f96) ) |
| 3924 | 4012 | ROM_LOAD16_BYTE( "piratrom6.bin", 0x00001, 0x80000, CRC(470ff052) SHA1(b63293e2f244d992e64df085d6565931b982dcd3) ) |
| 4013 | ||
| 4014 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 4015 | ROM_LOAD_OPTIONAL( "pi125r.id", 0x00, 0x20, CRC(2f0ddeb1) SHA1(0fb0871ee0b059eeedd782ac32d10ab268b00b52) ) | |
| 3925 | 4016 | ROM_END |
| 3926 | 4017 | |
| 3927 | ROM_START( pir2001 | |
| 4018 | ROM_START( pir2001v1 ) | |
| 3928 | 4019 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3929 | ROM_LOAD( "pi1 | |
| 4020 | ROM_LOAD( "pi1v25r | |
| 3930 | 4021 | |
| 3931 | 4022 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3932 | 4023 | ROM_LOAD( "piratrom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 3940 | 4031 | ROM_LOAD16_BYTE( "piratrom6.bin", 0x00001, 0x80000, CRC(470ff052) SHA1(b63293e2f244d992e64df085d6565931b982dcd3) ) |
| 3941 | 4032 | |
| 3942 | 4033 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3943 | ROM_LOAD_OPTIONAL( "pi12 | |
| 4034 | ROM_LOAD_OPTIONAL( "pi125r | |
| 3944 | 4035 | ROM_END |
| 3945 | 4036 | |
| 3946 | ROM_START( pir2001b | |
| 4037 | ROM_START( pir2001bx ) | |
| 3947 | 4038 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3948 | ROM_LOAD( "pi1b2 | |
| 4039 | ROM_LOAD( "pi1b24xt.bin", 0x00000, 0x40000, CRC(6 | |
| 3949 | 4040 | |
| 3950 | 4041 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3951 | 4042 | ROM_LOAD( "piratrom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 3959 | 4050 | ROM_LOAD16_BYTE( "piratrom6.bin", 0x00001, 0x80000, CRC(470ff052) SHA1(b63293e2f244d992e64df085d6565931b982dcd3) ) |
| 3960 | 4051 | |
| 3961 | 4052 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3962 | ROM_LOAD_OPTIONAL( "pi12 | |
| 4053 | ROM_LOAD_OPTIONAL( "pi124xt_.id", 0x00, 0x20, CRC( | |
| 3963 | 4054 | ROM_END |
| 3964 | 4055 | |
| 3965 | ROM_START( pir2001 | |
| 4056 | ROM_START( pir2001dx ) | |
| 3966 | 4057 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3967 | ROM_LOAD( "pi1 | |
| 4058 | ROM_LOAD( "pi1d24xt.bin", 0x00000, 0x40000, | |
| 3968 | 4059 | |
| 3969 | 4060 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3970 | 4061 | ROM_LOAD( "piratrom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 3978 | 4069 | ROM_LOAD16_BYTE( "piratrom6.bin", 0x00001, 0x80000, CRC(470ff052) SHA1(b63293e2f244d992e64df085d6565931b982dcd3) ) |
| 3979 | 4070 | |
| 3980 | 4071 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 3981 | ROM_LOAD_OPTIONAL( "pi12 | |
| 4072 | ROM_LOAD_OPTIONAL( "pi124xt.id", 0x00, 0x20, CRC(26f50 | |
| 3982 | 4073 | ROM_END |
| 3983 | 4074 | |
| 3984 | ROM_START( pir2001v | |
| 4075 | ROM_START( pir2001vx ) | |
| 3985 | 4076 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 3986 | ROM_LOAD( "pi1v2 | |
| 4077 | ROM_LOAD( "pi1v24xt.bin", 0x00000, 0x40000, CRC(bc69b7e2) SHA1(bb4f | |
| 3987 | 4078 | |
| 3988 | 4079 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 3989 | 4080 | ROM_LOAD( "piratrom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 3997 | 4088 | ROM_LOAD16_BYTE( "piratrom6.bin", 0x00001, 0x80000, CRC(470ff052) SHA1(b63293e2f244d992e64df085d6565931b982dcd3) ) |
| 3998 | 4089 | |
| 3999 | 4090 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4000 | ROM_LOAD_OPTIONAL( "pi12 | |
| 4091 | ROM_LOAD_OPTIONAL( "pi124xt.id", 0x00, 0x20, CRC(26f50e3 | |
| 4001 | 4092 | ROM_END |
| 4002 | 4093 | |
| 4003 | ROM_START( pir2001 | |
| 4094 | ROM_START( pir2001o | |
| 4004 | 4095 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4005 | ROM_LOAD( "pi | |
| 4096 | ROM_LOAD( "pira | |
| 4006 | 4097 | |
| 4007 | 4098 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4008 | 4099 | ROM_LOAD( "piratrom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 4014 | 4105 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 4015 | 4106 | ROM_LOAD16_BYTE( "piratrom5.bin", 0x00000, 0x80000, CRC(6d7e502a) SHA1(4910a0bb1e779e04e87eb6cba092f976f85c0f96) ) |
| 4016 | 4107 | ROM_LOAD16_BYTE( "piratrom6.bin", 0x00001, 0x80000, CRC(470ff052) SHA1(b63293e2f244d992e64df085d6565931b982dcd3) ) |
| 4017 | ||
| 4018 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 4019 | ROM_LOAD_OPTIONAL( "pi124xt.id", 0x00, 0x20, CRC(26f50e35) SHA1(53de077007ae042cf2c1eb2fa7cca06247768dd3) ) | |
| 4020 | 4108 | ROM_END |
| 4021 | 4109 | |
| 4022 | ROM_START( pir2001 | |
| 4110 | ROM_START( pir2001o2 ) | |
| 4023 | 4111 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4024 | ROM_LOAD( "pi | |
| 4112 | ROM_LOAD( "pi | |
| 4025 | 4113 | |
| 4026 | 4114 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4027 | 4115 | ROM_LOAD( "piratrom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 4033 | 4121 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 4034 | 4122 | ROM_LOAD16_BYTE( "piratrom5.bin", 0x00000, 0x80000, CRC(6d7e502a) SHA1(4910a0bb1e779e04e87eb6cba092f976f85c0f96) ) |
| 4035 | 4123 | ROM_LOAD16_BYTE( "piratrom6.bin", 0x00001, 0x80000, CRC(470ff052) SHA1(b63293e2f244d992e64df085d6565931b982dcd3) ) |
| 4036 | ||
| 4037 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 4038 | ROM_LOAD_OPTIONAL( "pi125r.id", 0x00, 0x20, CRC(2f0ddeb1) SHA1(0fb0871ee0b059eeedd782ac32d10ab268b00b52) ) | |
| 4039 | 4124 | ROM_END |
| 4040 | 4125 | |
| 4041 | ROM_START( pir2001 | |
| 4126 | ROM_START( pir2001o3 ) | |
| 4042 | 4127 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4043 | ROM_LOAD( "pi | |
| 4128 | ROM_LOAD( "pira22xt.bin", 0x00000, 0x40000, CRC(0412c601 | |
| 4044 | 4129 | |
| 4045 | 4130 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4046 | 4131 | ROM_LOAD( "piratrom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 4052 | 4137 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 4053 | 4138 | ROM_LOAD16_BYTE( "piratrom5.bin", 0x00000, 0x80000, CRC(6d7e502a) SHA1(4910a0bb1e779e04e87eb6cba092f976f85c0f96) ) |
| 4054 | 4139 | ROM_LOAD16_BYTE( "piratrom6.bin", 0x00001, 0x80000, CRC(470ff052) SHA1(b63293e2f244d992e64df085d6565931b982dcd3) ) |
| 4055 | ||
| 4056 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 4057 | ROM_LOAD_OPTIONAL( "pi124xt.id", 0x00, 0x20, CRC(26f50e35) SHA1(53de077007ae042cf2c1eb2fa7cca06247768dd3) ) | |
| 4058 | 4140 | ROM_END |
| 4059 | 4141 | |
| 4142 | /* Pirate 2002 */ | |
| 4060 | 4143 | ROM_START( pir2002 ) |
| 4061 | 4144 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4062 | ROM_LOAD( "pi2 | |
| 4145 | ROM_LOAD( "pi2v20e.bin", 0x00000, 0x40000, CRC(208 | |
| 4063 | 4146 | |
| 4064 | 4147 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4065 | 4148 | ROM_LOAD( "pirom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 4071 | 4154 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 4072 | 4155 | ROM_LOAD16_BYTE( "pirom5.bin", 0x00000, 0x80000, CRC(c3ccb77b) SHA1(39ab58e2e55a7fabed0a0c8e5777b9be10ae67ae) ) |
| 4073 | 4156 | ROM_LOAD16_BYTE( "pirom6.bin", 0x00001, 0x80000, CRC(c64bc2e5) SHA1(cfb231aa47d6e57481c24a4ba9d8623ed0fca58e) ) |
| 4157 | ||
| 4158 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 4159 | ROM_LOAD_OPTIONAL( "pi220e.id", 0x00, 0x20, CRC(f8421b6d) SHA1(73ff95f558b93a661f2d6f15e0258a3698dc668e) ) | |
| 4074 | 4160 | ROM_END |
| 4075 | 4161 | |
| 4076 | ROM_START( pir2002 | |
| 4162 | ROM_START( pir2002b1 ) | |
| 4077 | 4163 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4078 | ROM_LOAD( "pi2 | |
| 4164 | ROM_LOAD( "pi2b20r.bin", 0x00000, 0x40000, CRC( | |
| 4079 | 4165 | |
| 4080 | 4166 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4081 | 4167 | ROM_LOAD( "pirom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 4087 | 4173 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 4088 | 4174 | ROM_LOAD16_BYTE( "pirom5.bin", 0x00000, 0x80000, CRC(c3ccb77b) SHA1(39ab58e2e55a7fabed0a0c8e5777b9be10ae67ae) ) |
| 4089 | 4175 | ROM_LOAD16_BYTE( "pirom6.bin", 0x00001, 0x80000, CRC(c64bc2e5) SHA1(cfb231aa47d6e57481c24a4ba9d8623ed0fca58e) ) |
| 4176 | ||
| 4177 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 4178 | ROM_LOAD_OPTIONAL( "pi220r_.id", 0x00, 0x20, CRC(57eb901d) SHA1(a4815a043f7ce3c8bfd3c3a572ca3e561d69ab91) ) | |
| 4090 | 4179 | ROM_END |
| 4091 | 4180 | |
| 4092 | ROM_START( pir2002 | |
| 4181 | ROM_START( pir2002d1 ) | |
| 4093 | 4182 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4094 | ROM_LOAD( "pi2 | |
| 4183 | ROM_LOAD( "pi2d20r.bin", 0x00000, 0x40000, CRC(8 | |
| 4095 | 4184 | |
| 4096 | 4185 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4097 | 4186 | ROM_LOAD( "pirom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 4103 | 4192 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 4104 | 4193 | ROM_LOAD16_BYTE( "pirom5.bin", 0x00000, 0x80000, CRC(c3ccb77b) SHA1(39ab58e2e55a7fabed0a0c8e5777b9be10ae67ae) ) |
| 4105 | 4194 | ROM_LOAD16_BYTE( "pirom6.bin", 0x00001, 0x80000, CRC(c64bc2e5) SHA1(cfb231aa47d6e57481c24a4ba9d8623ed0fca58e) ) |
| 4106 | ROM_END | |
| 4107 | 4195 | |
| 4108 | /* these had the pir2001 sound rom in, mistake? */ | |
| 4109 | ROM_START( pir2002b2 ) | |
| 4196 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 4197 | ROM_LOAD_OPTIONAL( "pi220r.id", 0x00, 0x20, CRC(e4d79717) SHA1(fdcdd28a71293739a02dd958648300656a743567) ) | |
| 4198 | ROM_END | |
| 4199 | ||
| 4200 | ROM_START( pir2002v1 ) | |
| 4110 | 4201 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4111 | ROM_LOAD( "pi2 | |
| 4202 | ROM_LOAD( "pi2v20r | |
| 4112 | 4203 | |
| 4113 | 4204 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4114 | 4205 | ROM_LOAD( "pirom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 4122 | 4213 | ROM_LOAD16_BYTE( "pirom6.bin", 0x00001, 0x80000, CRC(c64bc2e5) SHA1(cfb231aa47d6e57481c24a4ba9d8623ed0fca58e) ) |
| 4123 | 4214 | |
| 4124 | 4215 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4125 | ROM_LOAD_OPTIONAL( "pi2 | |
| 4216 | ROM_LOAD_OPTIONAL( "pi220r | |
| 4126 | 4217 | ROM_END |
| 4127 | 4218 | |
| 4128 | ROM_START( pir2002b3 ) | |
| 4219 | /* these had the pir2001 sound rom in, mistake? */ | |
| 4220 | ROM_START( pir2002bx ) | |
| 4129 | 4221 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4130 | ROM_LOAD( "pi2b | |
| 4222 | ROM_LOAD( "pi2b19xt.bin", 0x00000, 0x40000, | |
| 4131 | 4223 | |
| 4132 | 4224 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4133 | 4225 | ROM_LOAD( "pirom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 4141 | 4233 | ROM_LOAD16_BYTE( "pirom6.bin", 0x00001, 0x80000, CRC(c64bc2e5) SHA1(cfb231aa47d6e57481c24a4ba9d8623ed0fca58e) ) |
| 4142 | 4234 | |
| 4143 | 4235 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4144 | ROM_LOAD_OPTIONAL( "pi2 | |
| 4236 | ROM_LOAD_OPTIONAL( "pi219xt_.id", 0x00, 0x20, CRC( | |
| 4145 | 4237 | ROM_END |
| 4146 | 4238 | |
| 4147 | ROM_START( pir2002 | |
| 4239 | ROM_START( pir2002dx ) | |
| 4148 | 4240 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4149 | ROM_LOAD( "pi2 | |
| 4241 | ROM_LOAD( "pi2d19xt.bin", 0x00000, 0x40000, | |
| 4150 | 4242 | |
| 4151 | 4243 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4152 | 4244 | ROM_LOAD( "pirom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 4160 | 4252 | ROM_LOAD16_BYTE( "pirom6.bin", 0x00001, 0x80000, CRC(c64bc2e5) SHA1(cfb231aa47d6e57481c24a4ba9d8623ed0fca58e) ) |
| 4161 | 4253 | |
| 4162 | 4254 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4163 | ROM_LOAD_OPTIONAL( "pi2 | |
| 4255 | ROM_LOAD_OPTIONAL( "pi219xt.id", 0x00, 0x20, CRC(e74d3531 | |
| 4164 | 4256 | ROM_END |
| 4165 | 4257 | |
| 4166 | ROM_START( pir2002v | |
| 4258 | ROM_START( pir2002vx ) | |
| 4167 | 4259 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4168 | ROM_LOAD( "pi2v | |
| 4260 | ROM_LOAD( "pi2v19xt.bin", 0x00000, 0x40000, | |
| 4169 | 4261 | |
| 4170 | 4262 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4171 | 4263 | ROM_LOAD( "pirom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 4179 | 4271 | ROM_LOAD16_BYTE( "pirom6.bin", 0x00001, 0x80000, CRC(c64bc2e5) SHA1(cfb231aa47d6e57481c24a4ba9d8623ed0fca58e) ) |
| 4180 | 4272 | |
| 4181 | 4273 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4182 | ROM_LOAD_OPTIONAL( "pi2 | |
| 4274 | ROM_LOAD_OPTIONAL( "pi219xt.id", 0x00, 0x20, CRC(e74 | |
| 4183 | 4275 | ROM_END |
| 4184 | 4276 | |
| 4185 | ROM_START( pir2002 | |
| 4277 | ROM_START( pir2002o | |
| 4186 | 4278 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4187 | ROM_LOAD( "pi2 | |
| 4279 | ROM_LOAD( "pi2 | |
| 4188 | 4280 | |
| 4189 | 4281 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4190 | 4282 | ROM_LOAD( "pirom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 4196 | 4288 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 4197 | 4289 | ROM_LOAD16_BYTE( "pirom5.bin", 0x00000, 0x80000, CRC(c3ccb77b) SHA1(39ab58e2e55a7fabed0a0c8e5777b9be10ae67ae) ) |
| 4198 | 4290 | ROM_LOAD16_BYTE( "pirom6.bin", 0x00001, 0x80000, CRC(c64bc2e5) SHA1(cfb231aa47d6e57481c24a4ba9d8623ed0fca58e) ) |
| 4199 | ||
| 4200 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 4201 | ROM_LOAD_OPTIONAL( "pi219xt.id", 0x00, 0x20, CRC(e74d3531) SHA1(2a5df88c502ad85451796cdb3255e037e76470bd) ) | |
| 4202 | 4291 | ROM_END |
| 4203 | 4292 | |
| 4204 | ROM_START( pir2002 | |
| 4293 | ROM_START( pir2002o2 ) | |
| 4205 | 4294 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4206 | ROM_LOAD( "pi2 | |
| 4295 | ROM_LOAD( "pi218 | |
| 4207 | 4296 | |
| 4208 | 4297 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4209 | 4298 | ROM_LOAD( "pirom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 4215 | 4304 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 4216 | 4305 | ROM_LOAD16_BYTE( "pirom5.bin", 0x00000, 0x80000, CRC(c3ccb77b) SHA1(39ab58e2e55a7fabed0a0c8e5777b9be10ae67ae) ) |
| 4217 | 4306 | ROM_LOAD16_BYTE( "pirom6.bin", 0x00001, 0x80000, CRC(c64bc2e5) SHA1(cfb231aa47d6e57481c24a4ba9d8623ed0fca58e) ) |
| 4218 | ||
| 4219 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 4220 | ROM_LOAD_OPTIONAL( "pi220r.id", 0x00, 0x20, CRC(e4d79717) SHA1(fdcdd28a71293739a02dd958648300656a743567) ) | |
| 4221 | 4307 | ROM_END |
| 4222 | 4308 | |
| 4223 | ROM_START( pir2002 | |
| 4309 | ROM_START( pir2002o3 ) | |
| 4224 | 4310 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4225 | ROM_LOAD( "pi2 | |
| 4311 | ROM_LOAD( "pi2 | |
| 4226 | 4312 | |
| 4227 | 4313 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4228 | 4314 | ROM_LOAD( "pirom2.bin", 0x00000, 0x20000, CRC(eeb92009) SHA1(e6c69437a7fd0f9fae375bf0b6dcfd6226823cf2) ) |
| r5490 | r5491 | |
| 4234 | 4320 | ROM_REGION( 0x100000, "gfx2", 0 ) |
| 4235 | 4321 | ROM_LOAD16_BYTE( "pirom5.bin", 0x00000, 0x80000, CRC(c3ccb77b) SHA1(39ab58e2e55a7fabed0a0c8e5777b9be10ae67ae) ) |
| 4236 | 4322 | ROM_LOAD16_BYTE( "pirom6.bin", 0x00001, 0x80000, CRC(c64bc2e5) SHA1(cfb231aa47d6e57481c24a4ba9d8623ed0fca58e) ) |
| 4237 | ||
| 4238 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ | |
| 4239 | ROM_LOAD_OPTIONAL( "pi219xt.id", 0x00, 0x20, CRC(e74d3531) SHA1(2a5df88c502ad85451796cdb3255e037e76470bd) ) | |
| 4240 | 4323 | ROM_END |
| 4241 | 4324 | |
| 4325 | /* Classic Edition */ | |
| 4242 | 4326 | ROM_START( classice ) |
| 4243 | 4327 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4244 | ROM_LOAD( "fcs16 | |
| 4328 | ROM_LOAD( "fcsd16e | |
| 4245 | 4329 | |
| 4246 | 4330 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4247 | 4331 | ROM_LOAD( "fcsrom2.bin", 0x00000, 0x3ffff, BAD_DUMP CRC(4a96ab78) SHA1(b8f98cd9789ba5cc13eacf34db765ca8d5635903) ) |
| r5490 | r5491 | |
| 4255 | 4339 | ROM_LOAD16_BYTE( "fcsrom6.bin", 0x00001, 0x40000, CRC(9ec17dcd) SHA1(c1aefb7711feac1e9642eecbd41a1782d30bf7fa) ) |
| 4256 | 4340 | |
| 4257 | 4341 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4258 | ROM_LOAD_OPTIONAL( "fcs16 | |
| 4342 | ROM_LOAD_OPTIONAL( "fcs16e | |
| 4259 | 4343 | ROM_END |
| 4260 | 4344 | |
| 4261 | ROM_START( classice | |
| 4345 | ROM_START( classice1 ) | |
| 4262 | 4346 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4263 | 4347 | ROM_LOAD( "fcs16r.bin", 0x00000, 0x40000, CRC(0813e904) SHA1(87b6bb3c1ac17eb663673c948e6c33d1058c22e2) ) |
| 4264 | 4348 | |
| r5490 | r5491 | |
| 4277 | 4361 | ROM_LOAD_OPTIONAL( "fcs16r.id", 0x00, 0x20, CRC(3d9ce0a6) SHA1(c1a9a0c26ab3b7faaf7734db6ffe5754f9d8eac1) ) |
| 4278 | 4362 | ROM_END |
| 4279 | 4363 | |
| 4280 | ROM_START( classice | |
| 4364 | ROM_START( classice2 ) | |
| 4281 | 4365 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4282 | ROM_LOAD( "fcs | |
| 4366 | ROM_LOAD( "fcs | |
| 4283 | 4367 | |
| 4284 | 4368 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4285 | 4369 | ROM_LOAD( "fcsrom2.bin", 0x00000, 0x3ffff, BAD_DUMP CRC(4a96ab78) SHA1(b8f98cd9789ba5cc13eacf34db765ca8d5635903) ) |
| r5490 | r5491 | |
| 4293 | 4377 | ROM_LOAD16_BYTE( "fcsrom6.bin", 0x00001, 0x40000, CRC(9ec17dcd) SHA1(c1aefb7711feac1e9642eecbd41a1782d30bf7fa) ) |
| 4294 | 4378 | |
| 4295 | 4379 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4296 | ROM_LOAD_OPTIONAL( "fcs16 | |
| 4380 | ROM_LOAD_OPTIONAL( "fcs16lt.id", 0x00, 0x20, CRC( | |
| 4297 | 4381 | ROM_END |
| 4298 | 4382 | |
| 4299 | ROM_START( classiced | |
| 4383 | ROM_START( classiced1 ) | |
| 4300 | 4384 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4301 | ROM_LOAD( "fcsd16 | |
| 4385 | ROM_LOAD( "fcsd16r | |
| 4302 | 4386 | |
| 4303 | 4387 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4304 | 4388 | ROM_LOAD( "fcsrom2.bin", 0x00000, 0x3ffff, BAD_DUMP CRC(4a96ab78) SHA1(b8f98cd9789ba5cc13eacf34db765ca8d5635903) ) |
| r5490 | r5491 | |
| 4312 | 4396 | ROM_LOAD16_BYTE( "fcsrom6.bin", 0x00001, 0x40000, CRC(9ec17dcd) SHA1(c1aefb7711feac1e9642eecbd41a1782d30bf7fa) ) |
| 4313 | 4397 | |
| 4314 | 4398 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4315 | ROM_LOAD_OPTIONAL( "fcs16 | |
| 4399 | ROM_LOAD_OPTIONAL( "fcs16r | |
| 4316 | 4400 | ROM_END |
| 4317 | 4401 | |
| 4318 | ROM_START( classiced | |
| 4402 | ROM_START( classiced2 ) | |
| 4319 | 4403 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4320 | ROM_LOAD( "fcsd16 | |
| 4404 | ROM_LOAD( "fcsd16lt.bin", 0x00000, 0x40000, CRC(62 | |
| 4321 | 4405 | |
| 4322 | 4406 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4323 | 4407 | ROM_LOAD( "fcsrom2.bin", 0x00000, 0x3ffff, BAD_DUMP CRC(4a96ab78) SHA1(b8f98cd9789ba5cc13eacf34db765ca8d5635903) ) |
| r5490 | r5491 | |
| 4331 | 4415 | ROM_LOAD16_BYTE( "fcsrom6.bin", 0x00001, 0x40000, CRC(9ec17dcd) SHA1(c1aefb7711feac1e9642eecbd41a1782d30bf7fa) ) |
| 4332 | 4416 | |
| 4333 | 4417 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4334 | ROM_LOAD_OPTIONAL( "fcs16 | |
| 4418 | ROM_LOAD_OPTIONAL( "fcs16lt.id", 0x00, 0x20, CRC(9888f6bb) SHA1( | |
| 4335 | 4419 | ROM_END |
| 4336 | 4420 | |
| 4337 | 4421 | ROM_START( classicev ) |
| 4338 | 4422 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4339 | ROM_LOAD( "fcsv16 | |
| 4423 | ROM_LOAD( "fcsv16e.bin", 0x00000, 0x40000, CRC(fe | |
| 4340 | 4424 | |
| 4341 | 4425 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4342 | 4426 | ROM_LOAD( "fcsrom2.bin", 0x00000, 0x3ffff, BAD_DUMP CRC(4a96ab78) SHA1(b8f98cd9789ba5cc13eacf34db765ca8d5635903) ) |
| r5490 | r5491 | |
| 4350 | 4434 | ROM_LOAD16_BYTE( "fcsrom6.bin", 0x00001, 0x40000, CRC(9ec17dcd) SHA1(c1aefb7711feac1e9642eecbd41a1782d30bf7fa) ) |
| 4351 | 4435 | |
| 4352 | 4436 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4353 | ROM_LOAD_OPTIONAL( "fcs16 | |
| 4437 | ROM_LOAD_OPTIONAL( "fcs16e.id", 0x00, 0x20, CRC( | |
| 4354 | 4438 | ROM_END |
| 4355 | 4439 | |
| 4356 | ROM_START( classicev | |
| 4440 | ROM_START( classicev1 ) | |
| 4357 | 4441 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4358 | ROM_LOAD( "fcsv16 | |
| 4442 | ROM_LOAD( "fcsv16r | |
| 4359 | 4443 | |
| 4360 | 4444 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4361 | 4445 | ROM_LOAD( "fcsrom2.bin", 0x00000, 0x3ffff, BAD_DUMP CRC(4a96ab78) SHA1(b8f98cd9789ba5cc13eacf34db765ca8d5635903) ) |
| r5490 | r5491 | |
| 4369 | 4453 | ROM_LOAD16_BYTE( "fcsrom6.bin", 0x00001, 0x40000, CRC(9ec17dcd) SHA1(c1aefb7711feac1e9642eecbd41a1782d30bf7fa) ) |
| 4370 | 4454 | |
| 4371 | 4455 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4372 | ROM_LOAD_OPTIONAL( "fcs16 | |
| 4456 | ROM_LOAD_OPTIONAL( "fcs16r | |
| 4373 | 4457 | ROM_END |
| 4374 | 4458 | |
| 4375 | ROM_START( classicev | |
| 4459 | ROM_START( classicev2 ) | |
| 4376 | 4460 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4377 | ROM_LOAD( "fcsv16 | |
| 4461 | ROM_LOAD( "fcsv16lt.bin", 0x00000, 0x40000, CRC( | |
| 4378 | 4462 | |
| 4379 | 4463 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4380 | 4464 | ROM_LOAD( "fcsrom2.bin", 0x00000, 0x3ffff, BAD_DUMP CRC(4a96ab78) SHA1(b8f98cd9789ba5cc13eacf34db765ca8d5635903) ) |
| r5490 | r5491 | |
| 4388 | 4472 | ROM_LOAD16_BYTE( "fcsrom6.bin", 0x00001, 0x40000, CRC(9ec17dcd) SHA1(c1aefb7711feac1e9642eecbd41a1782d30bf7fa) ) |
| 4389 | 4473 | |
| 4390 | 4474 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4391 | ROM_LOAD_OPTIONAL( "fcs16 | |
| 4475 | ROM_LOAD_OPTIONAL( "fcs16lt.id", 0x00, 0x20, CRC(9888f6bb) SHA1( | |
| 4392 | 4476 | ROM_END |
| 4393 | 4477 | |
| 4478 | /* Sea World */ | |
| 4394 | 4479 | ROM_START( seawld ) |
| 4395 | 4480 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4396 | ROM_LOAD( "sw | |
| 4481 | ROM_LOAD( "swv16e.bin", 0x00000, 0x80000, CRC(3f53a6b0 | |
| 4397 | 4482 | |
| 4398 | 4483 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4399 | 4484 | ROM_LOAD( "swrom2.bin", 0x00000, 0x40000, CRC(e1afe0ad) SHA1(097233255b486944b79a8504b4312173ab1aad06) ) |
| r5490 | r5491 | |
| 4407 | 4492 | ROM_LOAD16_BYTE( "swrom6.bin", 0x00001, 0x80000, CRC(5c9a4847) SHA1(f19aca69f42282e3e88e50e2b4fe05cde990a3e6) ) |
| 4408 | 4493 | |
| 4409 | 4494 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4410 | ROM_LOAD_OPTIONAL( "sw16 | |
| 4495 | ROM_LOAD_OPTIONAL( "sw16ex.id", 0x00, 0x20, CRC(4 | |
| 4411 | 4496 | ROM_END |
| 4412 | 4497 | |
| 4413 | ROM_START( seawld | |
| 4498 | ROM_START( seawldd1 ) | |
| 4414 | 4499 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4415 | ROM_LOAD( "sw | |
| 4500 | ROM_LOAD( "swd16r.bin", 0x00000, 0x80000, CRC( | |
| 4416 | 4501 | |
| 4417 | 4502 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4418 | 4503 | ROM_LOAD( "swrom2.bin", 0x00000, 0x40000, CRC(e1afe0ad) SHA1(097233255b486944b79a8504b4312173ab1aad06) ) |
| r5490 | r5491 | |
| 4426 | 4511 | ROM_LOAD16_BYTE( "swrom6.bin", 0x00001, 0x80000, CRC(5c9a4847) SHA1(f19aca69f42282e3e88e50e2b4fe05cde990a3e6) ) |
| 4427 | 4512 | |
| 4428 | 4513 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4429 | ROM_LOAD_OPTIONAL( "sw16 | |
| 4514 | ROM_LOAD_OPTIONAL( "sw16r | |
| 4430 | 4515 | ROM_END |
| 4431 | 4516 | |
| 4432 | ||
| 4517 | /* Money Machine */ | |
| 4433 | 4518 | ROM_START( moneymac ) |
| 4434 | 4519 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4435 | ROM_LOAD( "mmv17 | |
| 4520 | ROM_LOAD( "mmv17e.bin", 0x00000, 0x40000, CRC(53e43e39 | |
| 4436 | 4521 | |
| 4437 | 4522 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4438 | 4523 | ROM_LOAD( "mmrom2.bin", 0x00000, 0x40000, CRC(fc3195e6) SHA1(a13c22c0cd5cdbc833e0f7e229ce4afe2cf2b466) ) |
| r5490 | r5491 | |
| 4446 | 4531 | ROM_LOAD16_BYTE( "mmrom6.bin", 0x00001, 0x80000, CRC(828dde28) SHA1(3024d5d449acce1f78254053866f3aa8d36aff53) ) |
| 4447 | 4532 | |
| 4448 | 4533 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4449 | ROM_LOAD_OPTIONAL( "mm17 | |
| 4534 | ROM_LOAD_OPTIONAL( "mm17ex.id", 0x00, 0x20, CRC( | |
| 4450 | 4535 | ROM_END |
| 4451 | 4536 | |
| 4452 | ROM_START( moneymac | |
| 4537 | ROM_START( moneymacd1 ) | |
| 4453 | 4538 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4454 | ROM_LOAD( "mm | |
| 4539 | ROM_LOAD( "mmd17r.bin", 0x00000, 0x40000, CRC(66dbacdd) SHA1(9d | |
| 4455 | 4540 | |
| 4456 | 4541 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4457 | 4542 | ROM_LOAD( "mmrom2.bin", 0x00000, 0x40000, CRC(fc3195e6) SHA1(a13c22c0cd5cdbc833e0f7e229ce4afe2cf2b466) ) |
| r5490 | r5491 | |
| 4465 | 4550 | ROM_LOAD16_BYTE( "mmrom6.bin", 0x00001, 0x80000, CRC(828dde28) SHA1(3024d5d449acce1f78254053866f3aa8d36aff53) ) |
| 4466 | 4551 | |
| 4467 | 4552 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4468 | ROM_LOAD_OPTIONAL( "mm17 | |
| 4553 | ROM_LOAD_OPTIONAL( "mm17rx.id", 0x00, 0x20, CRC(1a677994 | |
| 4469 | 4554 | ROM_END |
| 4470 | 4555 | |
| 4471 | ROM_START( moneymac | |
| 4556 | ROM_START( moneymacd2 ) | |
| 4472 | 4557 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4473 | ROM_LOAD( "mm | |
| 4558 | ROM_LOAD( "mmd17lt.bin", 0x00000, 0x40000, CRC(85a7238 | |
| 4474 | 4559 | |
| 4475 | 4560 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4476 | 4561 | ROM_LOAD( "mmrom2.bin", 0x00000, 0x40000, CRC(fc3195e6) SHA1(a13c22c0cd5cdbc833e0f7e229ce4afe2cf2b466) ) |
| r5490 | r5491 | |
| 4487 | 4572 | ROM_LOAD_OPTIONAL( "mm17lt.id", 0x00, 0x20, CRC(b6b08ea0) SHA1(a56c7648424ca4dd0d405059f07af6f7cee0111a) ) |
| 4488 | 4573 | ROM_END |
| 4489 | 4574 | |
| 4490 | ROM_START( moneymac | |
| 4575 | ROM_START( moneymacv1 ) | |
| 4491 | 4576 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4492 | ROM_LOAD( "mm | |
| 4577 | ROM_LOAD( "mmv17r.bin", 0x00000, 0x40000, CRC(2c92617 | |
| 4493 | 4578 | |
| 4494 | 4579 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4495 | 4580 | ROM_LOAD( "mmrom2.bin", 0x00000, 0x40000, CRC(fc3195e6) SHA1(a13c22c0cd5cdbc833e0f7e229ce4afe2cf2b466) ) |
| r5490 | r5491 | |
| 4506 | 4591 | ROM_LOAD_OPTIONAL( "mm17rx.id", 0x00, 0x20, CRC(1a677994) SHA1(b351ce6a1cae30000d0c3c8bf5eade8ba560524d) ) |
| 4507 | 4592 | ROM_END |
| 4508 | 4593 | |
| 4509 | ROM_START( moneymac | |
| 4594 | ROM_START( moneymacv2 ) | |
| 4510 | 4595 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4511 | ROM_LOAD( "mm | |
| 4596 | ROM_LOAD( "mmv17lt.bin", 0x00000, 0x40000, CRC( | |
| 4512 | 4597 | |
| 4513 | 4598 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4514 | 4599 | ROM_LOAD( "mmrom2.bin", 0x00000, 0x40000, CRC(fc3195e6) SHA1(a13c22c0cd5cdbc833e0f7e229ce4afe2cf2b466) ) |
| r5490 | r5491 | |
| 4525 | 4610 | ROM_LOAD_OPTIONAL( "mm17lt.id", 0x00, 0x20, CRC(b6b08ea0) SHA1(a56c7648424ca4dd0d405059f07af6f7cee0111a) ) |
| 4526 | 4611 | ROM_END |
| 4527 | 4612 | |
| 4528 | ||
| 4613 | /* Around The World */ | |
| 4529 | 4614 | ROM_START( atworld ) |
| 4530 | 4615 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4531 | ROM_LOAD( "awd13 | |
| 4616 | ROM_LOAD( "awd13e.bin", 0x00000, 0x80000, CRC(ec46b4 | |
| 4532 | 4617 | |
| 4533 | 4618 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4534 | 4619 | ROM_LOAD( "aw_rom2.bin", 0x00000, 0x40000, CRC(aff26a52) SHA1(176fb42d735a85cdc3b74d6dde76fea9115bf36d) ) |
| r5490 | r5491 | |
| 4542 | 4627 | ROM_LOAD16_BYTE( "aw_rom6.bin", 0x00001, 0x80000, CRC(686c9f2d) SHA1(94da22c775292020aa00c8f12f833a7f5c70ec36) ) |
| 4543 | 4628 | |
| 4544 | 4629 | ROM_REGION( 0x1000, "defaults", 0 ) /* default settings */ |
| 4545 | ROM_LOAD_OPTIONAL( "aw13 | |
| 4630 | ROM_LOAD_OPTIONAL( "aw13 | |
| 4546 | 4631 | ROM_END |
| 4547 | 4632 | |
| 4548 | ROM_START( atworld | |
| 4633 | ROM_START( atworldd1 ) | |
| 4549 | 4634 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4550 | ROM_LOAD( "awd13 | |
| 4635 | ROM_LOAD( "awd13r.bin", 0x00000, 0x80000, CRC(78 | |
| 4551 | 4636 | |
| 4552 | 4637 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4553 | 4638 | ROM_LOAD( "aw_rom2.bin", 0x00000, 0x40000, CRC(aff26a52) SHA1(176fb42d735a85cdc3b74d6dde76fea9115bf36d) ) |
| r5490 | r5491 | |
| 4561 | 4646 | ROM_LOAD16_BYTE( "aw_rom6.bin", 0x00001, 0x80000, CRC(686c9f2d) SHA1(94da22c775292020aa00c8f12f833a7f5c70ec36) ) |
| 4562 | 4647 | |
| 4563 | 4648 | ROM_REGION( 0x1000, "defaults", 0 ) /* default settings */ |
| 4564 | ROM_LOAD_OPTIONAL( "aw13e | |
| 4649 | ROM_LOAD_OPTIONAL( "aw13re | |
| 4565 | 4650 | ROM_END |
| 4566 | 4651 | |
| 4567 | #if 1 // incomplete / mixed sets etc. sort these first before doing anything else with them | |
| 4652 | // incomplete / mixed sets etc. sort these first before doing anything else with them | |
| 4653 | /* Fruit Bonus 2005 */ | |
| 4568 | 4654 | ROM_START( fb5 ) |
| 4569 | 4655 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4570 | 4656 | ROM_LOAD( "fb5b15h.bin", 0x00000, 0x40000, CRC(faba08b8) SHA1(4763f691b563ba23cc3edf86c18cdcda8c415003) ) |
| r5490 | r5491 | |
| 4641 | 4727 | ROM_LOAD_OPTIONAL( "fb515sh.id", 0x00, 0x20, CRC(d20771d2) SHA1(6a61d89d1c583c587106003849091a6c4f8b0faf) ) |
| 4642 | 4728 | ROM_END |
| 4643 | 4729 | |
| 4644 | ||
| 4730 | /* Fruit Bonus '06 - 10th anniversary */ | |
| 4645 | 4731 | ROM_START( fb6 ) |
| 4646 | 4732 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4647 | 4733 | ROM_LOAD( "f06d17e.bin", 0x00000, 0x40000, CRC(3c13d847) SHA1(c3ec365a507b960d8e97c19e1334da8fb3c9f4cf) ) |
| r5490 | r5491 | |
| 4661 | 4747 | ROM_LOAD_OPTIONAL( "fb617ex.id", 0x00, 0x20, CRC(0c5e0598) SHA1(978eb1924b6fd68798eb48f0a78eeb56ecd476f3) ) |
| 4662 | 4748 | ROM_END |
| 4663 | 4749 | |
| 4664 | ROM_START( fb6d ) | |
| 4750 | ROM_START( fb6d1 ) | |
| 4665 | 4751 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4666 | ROM_LOAD( "f06d17 | |
| 4752 | ROM_LOAD( "f06d17r | |
| 4667 | 4753 | |
| 4668 | 4754 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4669 | 4755 | ROM_LOAD( "fb06rom2.bin", 0x00000, 0x40000, CRC(f1adbcd5) SHA1(90a8830d000eb634c2db8a09431daba6cdcb2d34) ) |
| r5490 | r5491 | |
| 4677 | 4763 | ROM_LOAD16_BYTE( "fb06rom6.bin", 0x00001, 0x80000, CRC(94f66c23) SHA1(c08ff1ffaf75621ab28cd7b7f43d3744614cd5c3) ) |
| 4678 | 4764 | |
| 4679 | 4765 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4680 | ROM_LOAD_OPTIONAL( "fb617 | |
| 4766 | ROM_LOAD_OPTIONAL( "fb617re.id", 0x00, 0x20, CRC(1329 | |
| 4681 | 4767 | ROM_END |
| 4682 | 4768 | |
| 4683 | 4769 | ROM_START( fb6d2 ) |
| 4684 | 4770 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4685 | ROM_LOAD( "f06d17 | |
| 4771 | ROM_LOAD( "f06d17lt.bin", 0x00000, 0x40000, CRC(e222e19 | |
| 4686 | 4772 | |
| 4687 | 4773 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4688 | 4774 | ROM_LOAD( "fb06rom2.bin", 0x00000, 0x40000, CRC(f1adbcd5) SHA1(90a8830d000eb634c2db8a09431daba6cdcb2d34) ) |
| r5490 | r5491 | |
| 4696 | 4782 | ROM_LOAD16_BYTE( "fb06rom6.bin", 0x00001, 0x80000, CRC(94f66c23) SHA1(c08ff1ffaf75621ab28cd7b7f43d3744614cd5c3) ) |
| 4697 | 4783 | |
| 4698 | 4784 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4699 | ROM_LOAD_OPTIONAL( "fb617 | |
| 4785 | ROM_LOAD_OPTIONAL( "fb617lt.id", 0x00, 0x20, CRC( | |
| 4700 | 4786 | ROM_END |
| 4701 | 4787 | |
| 4702 | ||
| 4703 | 4788 | ROM_START( fb6v ) |
| 4704 | 4789 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4705 | ROM_LOAD( "f06v17 | |
| 4790 | ROM_LOAD( "f06v17e.bin", 0x00000, 0x40000, CRC(fa42f143) SHA1(e410cc7ae1c86b540c5f | |
| 4706 | 4791 | |
| 4707 | 4792 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4708 | 4793 | ROM_LOAD( "fb06rom2.bin", 0x00000, 0x40000, CRC(f1adbcd5) SHA1(90a8830d000eb634c2db8a09431daba6cdcb2d34) ) |
| r5490 | r5491 | |
| 4716 | 4801 | ROM_LOAD16_BYTE( "fb06rom6.bin", 0x00001, 0x80000, CRC(94f66c23) SHA1(c08ff1ffaf75621ab28cd7b7f43d3744614cd5c3) ) |
| 4717 | 4802 | |
| 4718 | 4803 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4719 | ROM_LOAD_OPTIONAL( "fb617 | |
| 4804 | ROM_LOAD_OPTIONAL( "fb617 | |
| 4720 | 4805 | ROM_END |
| 4721 | 4806 | |
| 4722 | ROM_START( fb6v | |
| 4807 | ROM_START( fb6v1 ) | |
| 4723 | 4808 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4724 | ROM_LOAD( "f06v17 | |
| 4809 | ROM_LOAD( "f06v17r | |
| 4725 | 4810 | |
| 4726 | 4811 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4727 | 4812 | ROM_LOAD( "fb06rom2.bin", 0x00000, 0x40000, CRC(f1adbcd5) SHA1(90a8830d000eb634c2db8a09431daba6cdcb2d34) ) |
| r5490 | r5491 | |
| 4735 | 4820 | ROM_LOAD16_BYTE( "fb06rom6.bin", 0x00001, 0x80000, CRC(94f66c23) SHA1(c08ff1ffaf75621ab28cd7b7f43d3744614cd5c3) ) |
| 4736 | 4821 | |
| 4737 | 4822 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4738 | ROM_LOAD_OPTIONAL( "fb617 | |
| 4823 | ROM_LOAD_OPTIONAL( "fb617re.id", 0x00, 0x20, CRC(1329 | |
| 4739 | 4824 | ROM_END |
| 4740 | 4825 | |
| 4741 | ROM_START( fb6v | |
| 4826 | ROM_START( fb6v2 ) | |
| 4742 | 4827 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4743 | ROM_LOAD( "f06v17 | |
| 4828 | ROM_LOAD( "f06v17lt.bin", 0x00000, 0x40000, CRC( | |
| 4744 | 4829 | |
| 4745 | 4830 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4746 | 4831 | ROM_LOAD( "fb06rom2.bin", 0x00000, 0x40000, CRC(f1adbcd5) SHA1(90a8830d000eb634c2db8a09431daba6cdcb2d34) ) |
| r5490 | r5491 | |
| 4754 | 4839 | ROM_LOAD16_BYTE( "fb06rom6.bin", 0x00001, 0x80000, CRC(94f66c23) SHA1(c08ff1ffaf75621ab28cd7b7f43d3744614cd5c3) ) |
| 4755 | 4840 | |
| 4756 | 4841 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4757 | ROM_LOAD_OPTIONAL( "fb617 | |
| 4842 | ROM_LOAD_OPTIONAL( "fb617lt.id", 0x00, 0x20, CRC(9903b | |
| 4758 | 4843 | ROM_END |
| 4759 | 4844 | |
| 4760 | ROM_START( fb6s ) | |
| 4845 | ROM_START( fb6s1 ) | |
| 4761 | 4846 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4762 | 4847 | ROM_LOAD( "f06s17r.bin", 0x00000, 0x40000, CRC(679747d1) SHA1(ca702324c436d54f4c23350b1af4f0250915883c) ) |
| 4763 | 4848 | |
| r5490 | r5491 | |
| 4801 | 4886 | ROM_LOAD_OPTIONAL( "fb617lt.id", 0x00, 0x20, CRC(9903b0a6) SHA1(840873524b1cc33539926655ef94d23f6b219f76) ) |
| 4802 | 4887 | ROM_END |
| 4803 | 4888 | |
| 4804 | /* Special Edition */ | |
| 4805 | ||
| 4889 | /* Fruit Bonus 2006 Special Edition */ | |
| 4806 | 4890 | ROM_START( fb6se ) |
| 4807 | 4891 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4808 | ROM_LOAD( "se6d14 | |
| 4892 | ROM_LOAD( "se6d14e.bin", 0x00000, 0x40000, CRC(e | |
| 4809 | 4893 | |
| 4810 | 4894 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4811 | 4895 | ROM_LOAD( "se06rom2.bin", 0x00000, 0x40000, CRC(f1adbcd5) SHA1(90a8830d000eb634c2db8a09431daba6cdcb2d34) ) |
| r5490 | r5491 | |
| 4819 | 4903 | ROM_LOAD16_BYTE( "se06rom6.bin", 0x00001, 0x80000, CRC(19f5873f) SHA1(c74a8b19faa754c77a50545a543e2b3069372046) ) |
| 4820 | 4904 | |
| 4821 | 4905 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4822 | ROM_LOAD_OPTIONAL( "fb6se14 | |
| 4906 | ROM_LOAD_OPTIONAL( "fb6se14 | |
| 4823 | 4907 | ROM_END |
| 4824 | 4908 | |
| 4825 | ROM_START( fb6sed ) | |
| 4909 | ROM_START( fb6sed1 ) | |
| 4826 | 4910 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4827 | ROM_LOAD( "se6d14 | |
| 4911 | ROM_LOAD( "se6d14r | |
| 4828 | 4912 | |
| 4829 | 4913 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4830 | 4914 | ROM_LOAD( "se06rom2.bin", 0x00000, 0x40000, CRC(f1adbcd5) SHA1(90a8830d000eb634c2db8a09431daba6cdcb2d34) ) |
| r5490 | r5491 | |
| 4838 | 4922 | ROM_LOAD16_BYTE( "se06rom6.bin", 0x00001, 0x80000, CRC(19f5873f) SHA1(c74a8b19faa754c77a50545a543e2b3069372046) ) |
| 4839 | 4923 | |
| 4840 | 4924 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4841 | ROM_LOAD_OPTIONAL( "fb6se14 | |
| 4925 | ROM_LOAD_OPTIONAL( "fb6se14re.id", 0x00, 0x20, CRC( | |
| 4842 | 4926 | ROM_END |
| 4843 | 4927 | |
| 4844 | 4928 | ROM_START( fb6sed2 ) |
| 4845 | 4929 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4846 | ROM_LOAD( "se6d14 | |
| 4930 | ROM_LOAD( "se6d14lt.bin", 0x00000, 0x40000, CRC(97 | |
| 4847 | 4931 | |
| 4848 | 4932 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4849 | 4933 | ROM_LOAD( "se06rom2.bin", 0x00000, 0x40000, CRC(f1adbcd5) SHA1(90a8830d000eb634c2db8a09431daba6cdcb2d34) ) |
| r5490 | r5491 | |
| 4857 | 4941 | ROM_LOAD16_BYTE( "se06rom6.bin", 0x00001, 0x80000, CRC(19f5873f) SHA1(c74a8b19faa754c77a50545a543e2b3069372046) ) |
| 4858 | 4942 | |
| 4859 | 4943 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4860 | ROM_LOAD_OPTIONAL( "fb6se14 | |
| 4944 | ROM_LOAD_OPTIONAL( "fb6se14lt.id", 0x00, 0x20, CRC( | |
| 4861 | 4945 | ROM_END |
| 4862 | 4946 | |
| 4863 | 4947 | ROM_START( fb6sev ) |
| 4864 | 4948 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4865 | ROM_LOAD( "se6v14 | |
| 4949 | ROM_LOAD( "se6v14e.bin", 0x00000, 0x40000, | |
| 4866 | 4950 | |
| 4867 | 4951 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4868 | 4952 | ROM_LOAD( "se06rom2.bin", 0x00000, 0x40000, CRC(f1adbcd5) SHA1(90a8830d000eb634c2db8a09431daba6cdcb2d34) ) |
| r5490 | r5491 | |
| 4876 | 4960 | ROM_LOAD16_BYTE( "se06rom6.bin", 0x00001, 0x80000, CRC(19f5873f) SHA1(c74a8b19faa754c77a50545a543e2b3069372046) ) |
| 4877 | 4961 | |
| 4878 | 4962 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4879 | ROM_LOAD_OPTIONAL( "fb6se14 | |
| 4963 | ROM_LOAD_OPTIONAL( "fb6se14 | |
| 4880 | 4964 | ROM_END |
| 4881 | 4965 | |
| 4882 | ROM_START( fb6sev | |
| 4966 | ROM_START( fb6sev1 ) | |
| 4883 | 4967 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4884 | ROM_LOAD( "se6v14 | |
| 4968 | ROM_LOAD( "se6v14r | |
| 4885 | 4969 | |
| 4886 | 4970 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4887 | 4971 | ROM_LOAD( "se06rom2.bin", 0x00000, 0x40000, CRC(f1adbcd5) SHA1(90a8830d000eb634c2db8a09431daba6cdcb2d34) ) |
| r5490 | r5491 | |
| 4895 | 4979 | ROM_LOAD16_BYTE( "se06rom6.bin", 0x00001, 0x80000, CRC(19f5873f) SHA1(c74a8b19faa754c77a50545a543e2b3069372046) ) |
| 4896 | 4980 | |
| 4897 | 4981 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4898 | ROM_LOAD_OPTIONAL( "fb6se14 | |
| 4982 | ROM_LOAD_OPTIONAL( "fb6se14re.id", 0x00, 0x20, CRC( | |
| 4899 | 4983 | ROM_END |
| 4900 | 4984 | |
| 4901 | ROM_START( fb6sev | |
| 4985 | ROM_START( fb6sev2 ) | |
| 4902 | 4986 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4903 | ROM_LOAD( "se6v14 | |
| 4987 | ROM_LOAD( "se6v14lt.bin", 0x00000, 0x40000, CRC(f5b | |
| 4904 | 4988 | |
| 4905 | 4989 | ROM_REGION( 0x040000, "oki", ROMREGION_ERASE00 ) /* Samples */ |
| 4906 | 4990 | ROM_LOAD( "se06rom2.bin", 0x00000, 0x40000, CRC(f1adbcd5) SHA1(90a8830d000eb634c2db8a09431daba6cdcb2d34) ) |
| r5490 | r5491 | |
| 4914 | 4998 | ROM_LOAD16_BYTE( "se06rom6.bin", 0x00001, 0x80000, CRC(19f5873f) SHA1(c74a8b19faa754c77a50545a543e2b3069372046) ) |
| 4915 | 4999 | |
| 4916 | 5000 | ROM_REGION( 0x20, "defaults", 0 ) /* default settings */ |
| 4917 | ROM_LOAD_OPTIONAL( "fb6se14 | |
| 5001 | ROM_LOAD_OPTIONAL( "fb6se14lt.id", 0x00, 0x20, CRC( | |
| 4918 | 5002 | ROM_END |
| 4919 | 5003 | |
| 5004 | /* Not working sets (due to incomplete dumps) */ | |
| 4920 | 5005 | ROM_START( version4 ) |
| 4921 | 5006 | ROM_REGION( 0x80000, "maincpu", 0 ) /* Z80 Code */ |
| 4922 | 5007 | ROM_LOAD( "96d42r.bin", 0x00000, 0x40000, CRC(dab5706c) SHA1(9fc37b66942a5e7535b4590f132727d793f9d705) ) |
| r5490 | r5491 | |
| 5080 | 5165 | |
| 5081 | 5166 | ROM_REGION( 0x100000, "gfx2", ROMREGION_ERASE00 ) |
| 5082 | 5167 | ROM_END |
| 5083 | ||
| 5168 | ||
| 5084 | 5169 | //ROM_REGION( 0x80000, "user1", 0 ) /* Z80 Code */ |
| 5085 | 5170 | //ROM_LOAD( "dummy.rom", 0x00000, 0x40000, CRC(1) SHA1(1) ) |
| 5086 | 5171 | |
| 5087 | 5172 | static DRIVER_INIT( sfbonus_common) |
| 5088 | 5173 | { |
| 5089 | 5174 | sfbonus_tilemap_ram = auto_alloc_array(machine, UINT8, 0x4000); |
| 5090 | memset(sfbonus_tilemap_ram,0xff,0x4000); | |
| 5175 | memset(sfbonus_tilemap_ram, 0xff, 0x4000); | |
| 5091 | 5176 | state_save_register_global_pointer(machine, sfbonus_tilemap_ram , 0x4000); |
| 5092 | 5177 | |
| 5093 | 5178 | sfbonus_reel_ram = auto_alloc_array(machine, UINT8, 0x0800); |
| 5094 | memset(sfbonus_reel_ram,0xff,0x0800); | |
| 5179 | memset(sfbonus_reel_ram, 0xff ,0x0800); | |
| 5095 | 5180 | state_save_register_global_pointer(machine, sfbonus_reel_ram , 0x0800); |
| 5096 | 5181 | |
| 5097 | 5182 | sfbonus_reel2_ram = auto_alloc_array(machine, UINT8, 0x0800); |
| 5098 | memset(sfbonus_reel2_ram,0xff,0x0800); | |
| 5183 | memset(sfbonus_reel2_ram, 0xff, 0x0800); | |
| 5099 | 5184 | state_save_register_global_pointer(machine, sfbonus_reel2_ram , 0x0800); |
| 5100 | 5185 | |
| 5101 | 5186 | sfbonus_reel3_ram = auto_alloc_array(machine, UINT8, 0x0800); |
| 5102 | memset(sfbonus_reel3_ram,0xff,0x0800); | |
| 5187 | memset(sfbonus_reel3_ram, 0xff, 0x0800); | |
| 5103 | 5188 | state_save_register_global_pointer(machine, sfbonus_reel3_ram , 0x0800); |
| 5104 | 5189 | |
| 5105 | 5190 | sfbonus_reel4_ram = auto_alloc_array(machine, UINT8, 0x0800); |
| 5106 | memset(sfbonus_reel4_ram,0xff,0x0800); | |
| 5191 | memset(sfbonus_reel4_ram, 0xff, 0x0800); | |
| 5107 | 5192 | state_save_register_global_pointer(machine, sfbonus_reel4_ram , 0x0800); |
| 5108 | 5193 | |
| 5109 | 5194 | // hack, because the debugger is broken |
| 5110 | sfbonus_videoram = memory_region(machine,"debugram"); | |
| 5111 | if (!sfbonus_videoram) sfbonus_videoram = auto_alloc_array(machine, UINT8, 0x10000); | |
| 5195 | sfbonus_videoram = memory_region(machine, "debugram"); | |
| 5196 | if (!sfbonus_videoram) | |
| 5197 | sfbonus_videoram = auto_alloc_array(machine, UINT8, 0x10000); | |
| 5112 | 5198 | |
| 5113 | memset(sfbonus_videoram,0xff,0x10000); | |
| 5199 | memset(sfbonus_videoram, 0xff, 0x10000); | |
| 5114 | 5200 | |
| 5115 | 5201 | state_save_register_global_pointer(machine, sfbonus_videoram, 0x10000); |
| 5116 | 5202 | |
| r5490 | r5491 | |
| 5118 | 5204 | { |
| 5119 | 5205 | UINT8 *ROM = memory_region(machine, "maincpu"); |
| 5120 | 5206 | int length = memory_region_length(machine, "maincpu"); |
| 5121 | UINT8* ROM2 = memory_region(machine,"user1"); | |
| 5207 | UINT8* ROM2 = memory_region(machine, "user1"); | |
| 5122 | 5208 | |
| 5123 | 5209 | if (ROM2) |
| 5124 | 5210 | { |
| r5490 | r5491 | |
| 5128 | 5214 | |
| 5129 | 5215 | int x; |
| 5130 | 5216 | int y; |
| 5131 | for (y=0;y<0x8;y++) | |
| 5217 | for (y = 0; y < 0x8; y++) | |
| 5132 | 5218 | { |
| 5133 | 5219 | printf("@Echo Off\n"); |
| 5134 | 5220 | printf("a.exe "); |
| 5135 | for (x=0;x<0x20*0x8;x+=0x8) | |
| 5221 | for (x = 0; x < 0x20 * 0x8; x += 0x8) | |
| 5136 | 5222 | { |
| 5137 | printf("%02x %02x ", ROM[x+y], ROM2[x+y]); | |
| 5223 | printf("%02x %02x ", ROM[x + y], ROM2[x + y]); | |
| 5138 | 5224 | } |
| 5139 | 5225 | printf("\n"); |
| 5140 | 5226 | } |
| r5490 | r5491 | |
| 5145 | 5231 | FILE *fp; |
| 5146 | 5232 | char filename[256]; |
| 5147 | 5233 | sprintf(filename,"decr_%s", machine->gamedrv->name); |
| 5148 | fp=fopen(filename, "w+b"); | |
| 5234 | fp = fopen(filename, "w+b"); | |
| 5149 | 5235 | if (fp) |
| 5150 | 5236 | { |
| 5151 | 5237 | fwrite(ROM, length, 1, fp); |
| r5490 | r5491 | |
| 5170 | 5256 | int i; |
| 5171 | 5257 | UINT8 *ROM = memory_region(machine, "maincpu"); |
| 5172 | 5258 | |
| 5173 | for(i=0;i<memory_region_length(machine, "maincpu");i++) | |
| 5259 | for(i = 0; i < memory_region_length(machine, "maincpu"); i++) | |
| 5174 | 5260 | { |
| 5175 | 5261 | UINT8 x = ROM[i]; |
| 5176 | 5262 | |
| r5490 | r5491 | |
| 5193 | 5279 | |
| 5194 | 5280 | |
| 5195 | 5281 | |
| 5196 | static DRIVER_INIT(sfbonus) { sfbonus_bitswap(machine, 0x2a, 1,3,7,6,5,2,0,4, 0xe4, 3,7,6,5,2,0,4,1, 0x2d, 4,1,3,7,6,5,2,0, 0xba, 4,3,0,2,1,7,6,5, 0x30, 2,1,7,6,5,0,3,4, 0xf1, 2,7,6,5,1,3,4,0, 0x3d, 2,1,4,7,6,5,3,0, 0xba, 4,3,0,1,2,7,6,5); } | |
| 5282 | static DRIVER_INIT(abnudge) { sfbonus_bitswap(machine, 0x33, 0,3,7,6,5,2,1,4, 0xff, 3,7,6,5,1,0,4,2, 0x36, 4,2,3,7,6,5,1,0, 0xa8, 3,2,4,0,1,7,6,5, 0x2c, 0,1,7,6,5,2,4,3, 0xff, 3,7,6,5,1,0,4,2, 0x26, 2,4,3,7,6,5,1,0, 0xbe, 4,1,3,0,2,7,6,5); } | |
| 5283 | static DRIVER_INIT(abnudged) { sfbonus_bitswap(machine, 0x3b, 0,1,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x21, 0,2,1,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x3d, 2,1,7,6,5,4,3,0, 0xed, 2,7,6,5,4,3,1,0, 0x21, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5); } | |
| 5284 | static DRIVER_INIT(abnudgev) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x21, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 0,1,7,6,5,4,3,2, 0xee, 1,7,6,5,4,3,0,2, 0x25, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5197 | 5285 | static DRIVER_INIT(act2000) { sfbonus_bitswap(machine, 0x25, 1,2,7,6,5,4,3,0, 0xE6, 1,7,6,5,4,3,0,2, 0x20, 2,4,1,7,6,5,0,3, 0xBF, 0,3,1,2,4,7,6,5, 0x2E, 1,3,7,6,5,2,0,4, 0xE0, 3,7,6,5,2,0,4,1, 0x2D, 4,1,2,7,6,5,0,3, 0xB2, 2,0,4,1,3,7,6,5); } |
| 5198 | static DRIVER_INIT(dblchal) { sfbonus_bitswap(machine, 0x3D, 0,3,7,6,5,2,1,4, 0xF3, 3,7,6,5,1,0,4,2, 0x3D, 2,0,1,7,6,5,3,4, 0xA8, 3,4,2,0,1,7,6,5, 0x3D, 2,3,7,6,5,1,0,4, 0xEF, 2,7,6,5,1,0,3,4, 0x3A, 4,2,3,7,6,5,1,0, 0xBA, 2,4,1,0,3,7,6,5); } | |
| 5199 | static DRIVER_INIT(hldspin1) { sfbonus_bitswap(machine, 0x21, 0,2,7,6,5,4,3,1, 0xe1, 1,7,6,5,4,3,2,0, 0x31, 1,4,3,7,6,5,2,0, 0xbc, 0,3,4,2,1,7,6,5, 0x24, 4,3,7,6,5,2,0,1, 0xf8, 3,7,6,5,2,0,1,4, 0x39, 1,4,2,7,6,5,0,3, 0xaf, 0,3,2,1,4,7,6,5); } | |
| 5200 | static DRIVER_INIT(hldspin2) { sfbonus_bitswap(machine, 0x21, 1,3,7,6,5,0,4,2, 0xfe, 2,7,6,5,1,0,4,3, 0x33, 1,0,3,7,6,5,2,4, 0xa6, 1,0,4,3,2,7,6,5, 0x37, 0,1,7,6,5,3,2,4, 0xfe, 2,7,6,5,1,0,4,3, 0x36, 1,0,4,7,6,5,3,2, 0xa2, 1,0,2,4,3,7,6,5); } | |
| 5201 | static DRIVER_INIT(pickwin) { sfbonus_bitswap(machine, 0x20, 1,3,7,6,5,2,4,0, 0xfa, 2,7,6,5,4,0,1,3, 0x37, 1,0,3,7,6,5,2,4, 0xb0, 4,0,1,3,2,7,6,5, 0x34, 0,1,7,6,5,3,2,4, 0xef, 3,7,6,5,2,0,1,4, 0x27, 1,0,4,7,6,5,3,2, 0xb0, 4,0,1,3,2,7,6,5); } | |
| 5202 | static DRIVER_INIT(robadv) { sfbonus_bitswap(machine, 0x31, 0,3,7,6,5,2,1,4, 0xe0, 1,7,6,5,3,2,4,0, 0x2f, 4,0,2,7,6,5,3,1, 0xa7, 1,0,3,4,2,7,6,5, 0x33, 1,3,7,6,5,2,0,4, 0xed, 2,7,6,5,1,4,3,0, 0x34, 4,1,3,7,6,5,2,0, 0xaf, 2,0,4,1,3,7,6,5); } | |
| 5286 | static DRIVER_INIT(act2000d) { sfbonus_bitswap(machine, 0x3d, 0,2,7,6,5,4,3,1, 0xef, 1,7,6,5,4,3,2,0, 0x27, 0,2,1,7,6,5,4,3, 0xad, 4,3,0,1,2,7,6,5, 0x3b, 2,1,7,6,5,4,3,0, 0xed, 0,7,6,5,4,3,2,1, 0x27, 0,2,1,7,6,5,4,3, 0xaa, 4,3,1,2,0,7,6,5); } | |
| 5287 | static DRIVER_INIT(act2000v) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x23, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xe9, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5288 | static DRIVER_INIT(act2000v2) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x21, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3a, 0,1,7,6,5,4,3,2, 0xe9, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5289 | static DRIVER_INIT(act2000v3) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x23, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xe9, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5203 | 5290 | static DRIVER_INIT(anibonus) { sfbonus_bitswap(machine, 0x33, 0,3,7,6,5,2,1,4, 0xe7, 2,7,6,5,3,4,1,0, 0x3a, 4,2,3,7,6,5,1,0, 0xa8, 3,4,2,0,1,7,6,5, 0x3d, 2,3,7,6,5,1,0,4, 0xff, 3,7,6,5,1,0,2,4, 0x3a, 4,2,3,7,6,5,1,0, 0xbe, 3,4,1,0,2,7,6,5); } |
| 5204 | static DRIVER_INIT(pirpok2) { sfbonus_bitswap(machine, 0x26, 1,2,7,6,5,4,3,0, 0xf6, 1,7,6,5,4,3,0,2, 0x29, 4,0,1,7,6,5,2,3, 0xad, 0,3,1,2,4,7,6,5, 0x2e, 1,3,7,6,5,2,0,4, 0xe0, 3,7,6,5,2,0,4,1, 0x39, 4,1,2,7,6,5,0,3, 0xb2, 2,0,4,1,3,7,6,5); } | |
| 5205 | static DRIVER_INIT(tighook) { sfbonus_bitswap(machine, 0x33, 0,1,7,6,5,2,3,4, 0xf3, 3,7,6,5,1,0,4,2, 0x2e, 4,0,2,7,6,5,3,1, 0xa7, 1,0,4,2,3,7,6,5, 0x2d, 1,2,7,6,5,3,4,0, 0xff, 2,7,6,5,1,0,3,4, 0x27, 1,0,2,7,6,5,3,4, 0xa7, 1,0,4,2,3,7,6,5); } | |
| 5206 | static DRIVER_INIT(sfruitb) { sfbonus_bitswap(machine, 0x3e, 2,1,7,6,5,4,3,0, 0xfd, 1,7,6,5,0,3,2,4, 0x37, 4,1,3,7,6,5,2,0, 0xac, 2,0,4,1,3,7,6,5, 0x35, 2,3,7,6,5,1,0,4, 0xf6, 3,7,6,5,2,0,1,4, 0x37, 4,1,3,7,6,5,2,0, 0xb9, 0,3,4,1,2,7,6,5); } | |
| 5207 | static DRIVER_INIT(fb2gen) { sfbonus_bitswap(machine, 0x35, 0,3,7,6,5,2,1,4, 0xe8, 2,7,6,5,4,3,1,0, 0x23, 4,3,2,7,6,5,1,0, 0xb8, 2,1,4,0,3,7,6,5, 0x2d, 0,1,7,6,5,4,2,3, 0xf8, 2,7,6,5,1,4,3,0, 0x23, 4,0,3,7,6,5,2,1, 0xb8, 2,1,4,0,3,7,6,5); } | |
| 5208 | static DRIVER_INIT(fb2nd) { sfbonus_bitswap(machine, 0x2f, 0,2,7,6,5,3,4,1, 0xff, 2,7,6,5,3,0,4,1, 0x3e, 4,0,1,7,6,5,2,3, 0xad, 3,0,4,1,2,7,6,5, 0x35, 4,3,7,6,5,1,0,2, 0xfd, 4,7,6,5,3,1,2,0, 0x3a, 4,1,2,7,6,5,3,0, 0xbd, 3,4,2,0,1,7,6,5); } | |
| 5209 | static DRIVER_INIT(fb4) { sfbonus_bitswap(machine, 0x37, 1,2,7,6,5,4,3,0, 0xeb, 1,7,6,5,4,0,2,3, 0x2d, 4,0,2,7,6,5,3,1, 0xbd, 2,0,4,1,3,7,6,5, 0x29, 4,1,7,6,5,2,3,0, 0xff, 1,7,6,5,2,3,0,4, 0x3f, 1,0,4,7,6,5,3,2, 0xae, 2,3,0,4,1,7,6,5); } | |
| 5291 | static DRIVER_INIT(anibonus3) { sfbonus_bitswap(machine, 0x33, 0,3,7,6,5,2,1,4, 0xff, 3,7,6,5,1,0,4,2, 0x36, 4,2,3,7,6,5,1,0, 0xa8, 3,2,4,0,1,7,6,5, 0x2c, 0,1,7,6,5,2,4,3, 0xff, 3,7,6,5,1,0,4,2, 0x26, 2,4,3,7,6,5,1,0, 0xbe, 4,1,3,0,2,7,6,5); } | |
| 5292 | static DRIVER_INIT(anibonusd) { sfbonus_bitswap(machine, 0x3b, 0,1,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x21, 0,2,1,7,6,5,4,3, 0xa8, 4,3,0,1,2,7,6,5, 0x3d, 2,1,7,6,5,4,3,0, 0xed, 2,7,6,5,4,3,1,0, 0x21, 0,2,1,7,6,5,4,3, 0xaa, 4,3,1,2,0,7,6,5); } | |
| 5293 | static DRIVER_INIT(anibonusv) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x21, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 0,1,7,6,5,4,3,2, 0xec, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5294 | static DRIVER_INIT(anibonusv3) { sfbonus_bitswap(machine, 0x3c, 1,2,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,0,1, 0x21, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 0,1,7,6,5,4,3,2, 0xee, 1,7,6,5,4,3,0,2, 0x23, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } | |
| 5295 | static DRIVER_INIT(anithunt) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xe7, 4,7,6,5,0,3,1,2, 0x33, 0,2,1,7,6,5,4,3, 0xb3, 0,3,4,2,1,7,6,5, 0x2a, 1,3,7,6,5,2,0,4, 0xe4, 3,7,6,5,2,0,4,1, 0x2d, 4,1,3,7,6,5,2,0, 0xb6, 0,3,2,1,4,7,6,5); } | |
| 5296 | static DRIVER_INIT(anithuntd) { sfbonus_bitswap(machine, 0x3c, 0,1,7,6,5,4,3,2, 0xee, 0,7,6,5,4,3,2,1, 0x21, 0,2,1,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x3d, 2,1,7,6,5,4,3,0, 0xed, 2,7,6,5,4,3,1,0, 0x21, 0,2,1,7,6,5,4,3, 0xae, 4,3,1,2,0,7,6,5); } | |
| 5297 | static DRIVER_INIT(anithuntv) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x23, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 1,0,7,6,5,4,3,2, 0xe9, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5298 | static DRIVER_INIT(atworld) { sfbonus_bitswap(machine, 0x3c, 1,0,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x26, 1,0,2,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xec, 1,7,6,5,4,3,0,2, 0x22, 0,1,2,7,6,5,4,3, 0xa9, 4,3,2,1,0,7,6,5); } | |
| 5299 | static DRIVER_INIT(atworldd) { sfbonus_bitswap(machine, 0x3c, 1,0,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x26, 1,0,2,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3a, 0,1,7,6,5,4,3,2, 0xe8, 1,7,6,5,4,3,0,2, 0x22, 0,1,2,7,6,5,4,3, 0xa9, 4,3,2,1,0,7,6,5); } | |
| 5210 | 5300 | static DRIVER_INIT(ch2000) { sfbonus_bitswap(machine, 0x29, 2,3,7,6,5,0,4,1, 0xfe, 2,7,6,5,1,0,3,4, 0x33, 0,1,3,7,6,5,2,4, 0xa6, 1,0,3,4,2,7,6,5, 0x25, 4,1,7,6,5,3,2,0, 0xfe, 2,7,6,5,1,0,3,4, 0x35, 0,1,4,7,6,5,3,2, 0xbe, 1,0,4,2,3,7,6,5); } |
| 5211 | static DRIVER_INIT(anithunt) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xe7, 4,7,6,5,0,3,1,2, 0x33, 0,2,1,7,6,5,4,3, 0xb3, 0,3,4,2,1,7,6,5, 0x2a, 1,3,7,6,5,2,0,4, 0xe4, 3,7,6,5,2,0,4,1, 0x2d, 4,1,3,7,6,5,2,0, 0xb6, 0,3,2,1,4,7,6,5); } | |
| 5212 | static DRIVER_INIT(abnudge) { sfbonus_bitswap(machine, 0x33, 0,3,7,6,5,2,1,4, 0xff, 3,7,6,5,1,0,4,2, 0x36, 4,2,3,7,6,5,1,0, 0xa8, 3,2,4,0,1,7,6,5, 0x2c, 0,1,7,6,5,2,4,3, 0xff, 3,7,6,5,1,0,4,2, 0x26, 2,4,3,7,6,5,1,0, 0xbe, 4,1,3,0,2,7,6,5); } | |
| 5213 | static DRIVER_INIT(pir2001) { sfbonus_bitswap(machine, 0x3a, 1,2,7,6,5,4,3,0, 0xfa, 3,7,6,5,2,0,4,1, 0x33, 4,1,3,7,6,5,2,0, 0xa8, 2,0,4,1,3,7,6,5, 0x2a, 2,4,7,6,5,0,3,1, 0xf7, 1,7,6,5,4,3,0,2, 0x27, 4,1,2,7,6,5,0,3, 0xaf, 0,3,2,4,1,7,6,5); } | |
| 5214 | static DRIVER_INIT(pir2002) { sfbonus_bitswap(machine, 0x30, 3,2,7,6,5,4,0,1, 0xec, 2,7,6,5,4,0,1,3, 0x2d, 1,4,3,7,6,5,2,0, 0xa6, 4,0,1,3,2,7,6,5, 0x20, 4,1,7,6,5,2,3,0, 0xf9, 2,7,6,5,4,3,0,1, 0x3a, 4,1,2,7,6,5,0,3, 0xb7, 1,0,3,2,4,7,6,5); } | |
| 5215 | static DRIVER_INIT(classice) { sfbonus_bitswap(machine, 0x3f, 2,0,7,6,5,4,3,1, 0xe9, 2,7,6,5,4,3,1,0, 0x22, 2,1,0,7,6,5,4,3, 0xab, 4,3,2,0,1,7,6,5, 0x3e, 2,1,7,6,5,4,3,0, 0xeb, 2,7,6,5,4,3,0,1, 0x22, 0,2,1,7,6,5,4,3, 0xad, 4,3,0,2,1,7,6,5); } | |
| 5216 | static DRIVER_INIT(seawld) { sfbonus_bitswap(machine, 0x3c, 1,2,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,0,1, 0x24, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 1,0,7,6,5,4,3,2, 0xec, 1,7,6,5,4,3,2,0, 0x23, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } | |
| 5217 | static DRIVER_INIT(moneymac) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x23, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xeb, 0,7,6,5,4,3,2,1, 0x25, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5218 | static DRIVER_INIT(atworld) { sfbonus_bitswap(machine, 0x3c, 1,0,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x26, 1,0,2,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3a, 0,1,7,6,5,4,3,2, 0xe8, 1,7,6,5,4,3,0,2, 0x22, 0,1,2,7,6,5,4,3, 0xa9, 4,3,2,1,0,7,6,5); } | |
| 5219 | static DRIVER_INIT(fruitcar) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x21, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 0,1,7,6,5,4,3,2, 0xee, 1,7,6,5,4,3,0,2, 0x25, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5220 | static DRIVER_INIT(act2000v) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x23, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xe9, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5301 | static DRIVER_INIT(ch2000c) { sfbonus_bitswap(machine, 0x29, 2,3,7,6,5,0,4,1, 0xfe, 2,7,6,5,1,0,3,4, 0x33, 0,1,3,7,6,5,2,4, 0xa6, 1,0,3,4,2,7,6,5, 0x25, 4,1,7,6,5,3,2,0, 0xfe, 2,7,6,5,1,0,3,4, 0x35, 0,1,4,7,6,5,3,2, 0xbe, 1,0,4,2,3,7,6,5); } | |
| 5302 | static DRIVER_INIT(ch2000d) { sfbonus_bitswap(machine, 0x38, 0,2,7,6,5,4,3,1, 0xed, 0,7,6,5,4,3,2,1, 0x25, 2,0,1,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x3c, 0,1,7,6,5,4,3,2, 0xed, 1,7,6,5,4,3,0,2, 0x25, 2,0,1,7,6,5,4,3, 0xae, 4,3,1,2,0,7,6,5); } | |
| 5221 | 5303 | static DRIVER_INIT(ch2000v) { sfbonus_bitswap(machine, 0x3c, 1,2,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,0,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 1,0,7,6,5,4,3,2, 0xee, 1,7,6,5,4,3,0,2, 0x23, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } |
| 5222 | 5304 | static DRIVER_INIT(ch2000v2) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x23, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3e, 2,1,7,6,5,4,3,0, 0xec, 0,7,6,5,4,3,2,1, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } |
| 5223 | static DRIVER_INIT(ch2000d) { sfbonus_bitswap(machine, 0x38, 0,2,7,6,5,4,3,1, 0xed, 0,7,6,5,4,3,2,1, 0x25, 2,0,1,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x3c, 0,1,7,6,5,4,3,2, 0xed, 1,7,6,5,4,3,0,2, 0x25, 2,0,1,7,6,5,4,3, 0xae, 4,3,1,2,0,7,6,5); } | |
| 5224 | 5305 | static DRIVER_INIT(ch2000v3) { sfbonus_bitswap(machine, 0x3c, 1,2,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,0,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 1,0,7,6,5,4,3,2, 0xee, 1,7,6,5,4,3,0,2, 0x23, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } |
| 5225 | static DRIVER_INIT(c | |
| 5306 | static DRIVER_INIT(classice) { sfbonus_bitswap(machine, | |
| 5226 | 5307 | static DRIVER_INIT(classiced) { sfbonus_bitswap(machine, 0x38, 0,2,7,6,5,4,3,1, 0xea, 2,7,6,5,4,3,0,1, 0x24, 2,1,0,7,6,5,4,3, 0xaa, 4,3,2,0,1,7,6,5, 0x3e, 1,0,7,6,5,4,3,2, 0xe8, 0,7,6,5,4,3,1,2, 0x24, 2,1,0,7,6,5,4,3, 0xa8, 4,3,0,2,1,7,6,5); } |
| 5227 | 5308 | static DRIVER_INIT(classiced3) { sfbonus_bitswap(machine, 0x3b, 2,1,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,0,1, 0x24, 2,1,0,7,6,5,4,3, 0xaa, 4,3,2,0,1,7,6,5, 0x3e, 1,0,7,6,5,4,3,2, 0xe8, 0,7,6,5,4,3,1,2, 0x24, 2,1,0,7,6,5,4,3, 0xae, 4,3,1,0,2,7,6,5); } |
| 5228 | 5309 | static DRIVER_INIT(classicev) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3a, 2,1,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,1,0, 0x22, 2,1,0,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } |
| 5229 | 5310 | static DRIVER_INIT(classicev3) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 2,1,7,6,5,4,3,0, 0xe9, 2,7,6,5,4,3,1,0, 0x22, 2,1,0,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } |
| 5230 | static DRIVER_INIT(seawlda) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x22, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3a, 0,1,7,6,5,4,3,2, 0xea, 2,7,6,5,4,3,1,0, 0x22, 2,1,0,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5231 | static DRIVER_INIT(atworlda) { sfbonus_bitswap(machine, 0x3c, 1,0,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x26, 1,0,2,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xec, 1,7,6,5,4,3,0,2, 0x22, 0,1,2,7,6,5,4,3, 0xa9, 4,3,2,1,0,7,6,5); } | |
| 5232 | static DRIVER_INIT(act2000v2) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x21, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3a, 0,1,7,6,5,4,3,2, 0xe9, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5233 | static DRIVER_INIT(act2000v3) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x23, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xe9, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5234 | static DRIVER_INIT(act2000d) { sfbonus_bitswap(machine, 0x3d, 0,2,7,6,5,4,3,1, 0xef, 1,7,6,5,4,3,2,0, 0x27, 0,2,1,7,6,5,4,3, 0xad, 4,3,0,1,2,7,6,5, 0x3b, 2,1,7,6,5,4,3,0, 0xed, 0,7,6,5,4,3,2,1, 0x27, 0,2,1,7,6,5,4,3, 0xaa, 4,3,1,2,0,7,6,5); } | |
| 5235 | static DRIVER_INIT(anibonus3) { sfbonus_bitswap(machine, 0x33, 0,3,7,6,5,2,1,4, 0xff, 3,7,6,5,1,0,4,2, 0x36, 4,2,3,7,6,5,1,0, 0xa8, 3,2,4,0,1,7,6,5, 0x2c, 0,1,7,6,5,2,4,3, 0xff, 3,7,6,5,1,0,4,2, 0x26, 2,4,3,7,6,5,1,0, 0xbe, 4,1,3,0,2,7,6,5); } | |
| 5236 | static DRIVER_INIT(fruitcar2) { sfbonus_bitswap(machine, 0x33, 0,3,7,6,5,2,1,4, 0xff, 3,7,6,5,1,0,4,2, 0x36, 4,2,3,7,6,5,1,0, 0xa8, 3,2,4,0,1,7,6,5, 0x2c, 0,1,7,6,5,2,4,3, 0xff, 3,7,6,5,1,0,4,2, 0x26, 2,4,3,7,6,5,1,0, 0xbe, 4,1,3,0,2,7,6,5); } | |
| 5237 | static DRIVER_INIT(fruitcar3) { sfbonus_bitswap(machine, 0x3b, 0,1,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x21, 0,2,1,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x3d, 2,1,7,6,5,4,3,0, 0xed, 2,7,6,5,4,3,1,0, 0x21, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5); } | |
| 5238 | static DRIVER_INIT(moneymacv) { sfbonus_bitswap(machine, 0x3c, 1,2,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,0,1, 0x23, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xeb, 0,7,6,5,4,3,2,1, 0x23, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } | |
| 5239 | static DRIVER_INIT(moneymacd) { sfbonus_bitswap(machine, 0x3a, 1,0,7,6,5,4,3,2, 0xe9, 0,7,6,5,4,3,1,2, 0x26, 0,2,1,7,6,5,4,3, 0xaf, 4,3,1,2,0,7,6,5, 0x3d, 0,2,7,6,5,4,3,1, 0xe9, 0,7,6,5,4,3,1,2, 0x23, 0,1,2,7,6,5,4,3, 0xae, 4,3,2,0,1,7,6,5); } | |
| 5240 | static DRIVER_INIT(pirpok2d) { sfbonus_bitswap(machine, 0x3c, 0,1,7,6,5,4,3,2, 0xed, 0,7,6,5,4,3,2,1, 0x21, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x38, 0,2,7,6,5,4,3,1, 0xed, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xae, 4,3,1,2,0,7,6,5); } | |
| 5241 | static DRIVER_INIT(pirpok2v) { sfbonus_bitswap(machine, 0x3c, 1,0,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x23, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3e, 2,1,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,1,0, 0x22, 0,1,2,7,6,5,4,3, 0xa9, 4,3,2,1,0,7,6,5); } | |
| 5242 | static DRIVER_INIT(pirpok2v2) { sfbonus_bitswap(machine, 0x3c, 1,0,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3a, 2,1,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,1,0, 0x22, 0,1,2,7,6,5,4,3, 0xa9, 4,3,2,1,0,7,6,5); } | |
| 5311 | static DRIVER_INIT(dblchal) { sfbonus_bitswap(machine, 0x3D, 0,3,7,6,5,2,1,4, 0xF3, 3,7,6,5,1,0,4,2, 0x3D, 2,0,1,7,6,5,3,4, 0xA8, 3,4,2,0,1,7,6,5, 0x3D, 2,3,7,6,5,1,0,4, 0xEF, 2,7,6,5,1,0,3,4, 0x3A, 4,2,3,7,6,5,1,0, 0xBA, 2,4,1,0,3,7,6,5); } | |
| 5243 | 5312 | static DRIVER_INIT(dblchald) { sfbonus_bitswap(machine, 0x3c, 0,1,7,6,5,4,3,2, 0xed, 0,7,6,5,4,3,2,1, 0x27, 0,2,1,7,6,5,4,3, 0xae, 4,3,1,0,2,7,6,5, 0x3b, 2,1,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,0,1, 0x27, 0,2,1,7,6,5,4,3, 0xae, 4,3,1,2,0,7,6,5); } |
| 5244 | 5313 | static DRIVER_INIT(dblchalv) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 1,0,7,6,5,4,3,2, 0xec, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } |
| 5245 | static DRIVER_INIT(abnudged) { sfbonus_bitswap(machine, 0x3b, 0,1,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x21, 0,2,1,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x3d, 2,1,7,6,5,4,3,0, 0xed, 2,7,6,5,4,3,1,0, 0x21, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5); } | |
| 5246 | static DRIVER_INIT(abnudgev) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x21, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 0,1,7,6,5,4,3,2, 0xee, 1,7,6,5,4,3,0,2, 0x25, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5247 | static DRIVER_INIT(pickwind) { sfbonus_bitswap(machine, 0x3c, 0,1,7,6,5,4,3,2, 0xed, 0,7,6,5,4,3,2,1, 0x27, 0,2,1,7,6,5,4,3, 0xae, 4,3,1,0,2,7,6,5, 0x3b, 2,1,7,6,5,4,3,0, 0xe8, 0,7,6,5,4,3,1,2, 0x27, 0,2,1,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } | |
| 5248 | static DRIVER_INIT(pickwinv) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x26, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 1,0,7,6,5,4,3,2, 0xee, 1,7,6,5,4,3,0,2, 0x25, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5249 | static DRIVER_INIT(pickwinv2) { sfbonus_bitswap(machine, 0x3c, 1,2,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,0,1, 0x26, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 1,0,7,6,5,4,3,2, 0xee, 1,7,6,5,4,3,0,2, 0x23, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } | |
| 5250 | static DRIVER_INIT(anithuntd) { sfbonus_bitswap(machine, 0x3c, 0,1,7,6,5,4,3,2, 0xee, 0,7,6,5,4,3,2,1, 0x21, 0,2,1,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x3d, 2,1,7,6,5,4,3,0, 0xed, 2,7,6,5,4,3,1,0, 0x21, 0,2,1,7,6,5,4,3, 0xae, 4,3,1,2,0,7,6,5); } | |
| 5251 | static DRIVER_INIT(anithuntv) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x23, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 1,0,7,6,5,4,3,2, 0xe9, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5252 | static DRIVER_INIT(anibonusd) { sfbonus_bitswap(machine, 0x3b, 0,1,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x21, 0,2,1,7,6,5,4,3, 0xa8, 4,3,0,1,2,7,6,5, 0x3d, 2,1,7,6,5,4,3,0, 0xed, 2,7,6,5,4,3,1,0, 0x21, 0,2,1,7,6,5,4,3, 0xaa, 4,3,1,2,0,7,6,5); } | |
| 5253 | static DRIVER_INIT(anibonusv) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x21, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 0,1,7,6,5,4,3,2, 0xec, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5254 | static DRIVER_INIT(anibonusv3) { sfbonus_bitswap(machine, 0x3c, 1,2,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,0,1, 0x21, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 0,1,7,6,5,4,3,2, 0xee, 1,7,6,5,4,3,0,2, 0x23, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } | |
| 5255 | static DRIVER_INIT(hldspin1d) { sfbonus_bitswap(machine, 0x38, 0,1,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x27, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x3e, 0,2,7,6,5,4,3,1, 0xeb, 1,7,6,5,4,3,0,2, 0x27, 1,0,2,7,6,5,4,3, 0xae, 4,3,1,2,0,7,6,5); } | |
| 5256 | static DRIVER_INIT(hldspin1v) { sfbonus_bitswap(machine, 0x3c, 1,2,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,0,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 2,1,7,6,5,4,3,0, 0xed, 2,7,6,5,4,3,1,0, 0x26, 2,1,0,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } | |
| 5257 | static DRIVER_INIT(parrot3d) { sfbonus_bitswap(machine, 0x3b, 0,1,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x27, 0,2,1,7,6,5,4,3, 0xad, 4,3,0,1,2,7,6,5, 0x3b, 2,1,7,6,5,4,3,0, 0xee, 2,7,6,5,4,3,1,0, 0x27, 0,2,1,7,6,5,4,3, 0xaa, 4,3,1,2,0,7,6,5); } | |
| 5258 | static DRIVER_INIT(parrot3v) { sfbonus_bitswap(machine, 0x3c, 1,0,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 2,1,7,6,5,4,3,0, 0xed, 2,7,6,5,4,3,1,0, 0x26, 0,1,2,7,6,5,4,3, 0xa9, 4,3,2,1,0,7,6,5); } | |
| 5259 | static DRIVER_INIT(parrot3v2) { sfbonus_bitswap(machine, 0x3c, 1,0,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 2,1,7,6,5,4,3,0, 0xe9, 2,7,6,5,4,3,1,0, 0x22, 0,1,2,7,6,5,4,3, 0xa9, 4,3,2,1,0,7,6,5); } | |
| 5260 | static DRIVER_INIT(sfruitbd) { sfbonus_bitswap(machine, 0x3e, 1,0,7,6,5,4,3,2, 0xed, 1,7,6,5,4,3,0,2, 0x25, 2,0,1,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x3c, 0,1,7,6,5,4,3,2, 0xed, 2,7,6,5,4,3,1,0, 0x25, 2,0,1,7,6,5,4,3, 0xae, 4,3,1,2,0,7,6,5); } | |
| 5261 | static DRIVER_INIT(sfruitbv) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x25, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xec, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5262 | static DRIVER_INIT(sfruitbv2) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x25, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xee, 1,7,6,5,4,3,0,2, 0x25, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5263 | static DRIVER_INIT(sfbonusd) { sfbonus_bitswap(machine, 0x3b, 0,1,7,6,5,4,3,2, 0xef, 1,7,6,5,4,3,0,2, 0x24, 2,1,0,7,6,5,4,3, 0xad, 4,3,0,1,2,7,6,5, 0x3e, 1,0,7,6,5,4,3,2, 0xeb, 2,7,6,5,4,3,1,0, 0x24, 2,1,0,7,6,5,4,3, 0xaa, 4,3,1,2,0,7,6,5); } | |
| 5264 | static DRIVER_INIT(sfbonusv) { sfbonus_bitswap(machine, 0x3c, 1,2,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,0,1, 0x25, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xee, 1,7,6,5,4,3,0,2, 0x23, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } | |
| 5314 | static DRIVER_INIT(fb2gen) { sfbonus_bitswap(machine, 0x35, 0,3,7,6,5,2,1,4, 0xe8, 2,7,6,5,4,3,1,0, 0x23, 4,3,2,7,6,5,1,0, 0xb8, 2,1,4,0,3,7,6,5, 0x2d, 0,1,7,6,5,4,2,3, 0xf8, 2,7,6,5,1,4,3,0, 0x23, 4,0,3,7,6,5,2,1, 0xb8, 2,1,4,0,3,7,6,5); } | |
| 5315 | static DRIVER_INIT(fb2gend) { sfbonus_bitswap(machine, 0x3d, 2,0,7,6,5,4,3,1, 0xeb, 1,7,6,5,4,3,0,2, 0x25, 2,0,1,7,6,5,4,3, 0xad, 4,3,0,1,2,7,6,5, 0x3c, 0,1,7,6,5,4,3,2, 0xeb, 2,7,6,5,4,3,1,0, 0x25, 2,0,1,7,6,5,4,3, 0xac, 4,3,2,1,0,7,6,5); } | |
| 5316 | static DRIVER_INIT(fb2genv) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 2,1,7,6,5,4,3,0, 0xea, 0,7,6,5,4,3,2,1, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5317 | static DRIVER_INIT(fb2genv3) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 2,1,7,6,5,4,3,0, 0xeb, 0,7,6,5,4,3,2,1, 0x25, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5318 | static DRIVER_INIT(fb2nd) { sfbonus_bitswap(machine, 0x2f, 0,2,7,6,5,3,4,1, 0xff, 2,7,6,5,3,0,4,1, 0x3e, 4,0,1,7,6,5,2,3, 0xad, 3,0,4,1,2,7,6,5, 0x35, 4,3,7,6,5,1,0,2, 0xfd, 4,7,6,5,3,1,2,0, 0x3a, 4,1,2,7,6,5,3,0, 0xbd, 3,4,2,0,1,7,6,5); } | |
| 5265 | 5319 | static DRIVER_INIT(fb2ndv) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3a, 2,1,7,6,5,4,3,0, 0xec, 0,7,6,5,4,3,2,1, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } |
| 5266 | 5320 | static DRIVER_INIT(fb2ndd) { sfbonus_bitswap(machine, 0x3b, 1,0,7,6,5,4,3,2, 0xeb, 1,7,6,5,4,3,0,2, 0x25, 2,0,1,7,6,5,4,3, 0xad, 4,3,0,1,2,7,6,5, 0x3c, 0,1,7,6,5,4,3,2, 0xeb, 2,7,6,5,4,3,1,0, 0x25, 2,0,1,7,6,5,4,3, 0xaa, 4,3,1,2,0,7,6,5); } |
| 5267 | static DRIVER_INIT(robadv2v1) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x21, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3a, 0,1,7,6,5,4,3,2, 0xe9, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5268 | static DRIVER_INIT(robadv2v4) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x23, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xe9, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5269 | static DRIVER_INIT(robadv2d) { sfbonus_bitswap(machine, 0x3c, 0,1,7,6,5,4,3,2, 0xe8, 0,7,6,5,4,3,1,2, 0x24, 2,1,0,7,6,5,4,3, 0xae, 4,3,1,0,2,7,6,5, 0x3e, 1,0,7,6,5,4,3,2, 0xed, 1,7,6,5,4,3,0,2, 0x24, 2,1,0,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } | |
| 5270 | static DRIVER_INIT(hldspin2d) { sfbonus_bitswap(machine, 0x3b, 0,1,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x27, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x3e, 0,2,7,6,5,4,3,1, 0xeb, 1,7,6,5,4,3,0,2, 0x27, 1,0,2,7,6,5,4,3, 0xab, 4,3,1,2,0,7,6,5); } | |
| 5271 | static DRIVER_INIT(hldspin2v) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 2,1,7,6,5,4,3,0, 0xed, 2,7,6,5,4,3,1,0, 0x23, 2,1,0,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5272 | static DRIVER_INIT(tighookv) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x26, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xec, 0,7,6,5,4,3,2,1, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5273 | static DRIVER_INIT(tighookv2) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x23, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xea, 0,7,6,5,4,3,2,1, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5274 | static DRIVER_INIT(tighookd) { sfbonus_bitswap(machine, 0x3d, 0,1,7,6,5,4,3,2, 0xed, 1,7,6,5,4,3,0,2, 0x26, 2,1,0,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x3c, 1,0,7,6,5,4,3,2, 0xed, 2,7,6,5,4,3,1,0, 0x26, 2,1,0,7,6,5,4,3, 0xae, 4,3,1,2,0,7,6,5); } | |
| 5275 | static DRIVER_INIT(pir2001v) { sfbonus_bitswap(machine, 0x39, 1,0,7,6,5,4,3,2, 0xea, 0,7,6,5,4,3,2,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 2,1,7,6,5,4,3,0, 0xed, 2,7,6,5,4,3,1,0, 0x23, 0,1,2,7,6,5,4,3, 0xac, 4,3,2,1,0,7,6,5); } | |
| 5276 | static DRIVER_INIT(pir2001v2) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x39, 1,0,7,6,5,4,3,2, 0xe9, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5277 | static DRIVER_INIT(pir2001d) { sfbonus_bitswap(machine, 0x3c, 0,1,7,6,5,4,3,2, 0xeb, 0,7,6,5,4,3,2,1, 0x27, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x3e, 0,2,7,6,5,4,3,1, 0xeb, 1,7,6,5,4,3,0,2, 0x27, 1,0,2,7,6,5,4,3, 0xae, 4,3,1,2,0,7,6,5); } | |
| 5278 | static DRIVER_INIT(pir2002d) { sfbonus_bitswap(machine, 0x3d, 2,0,7,6,5,4,3,1, 0xef, 1,7,6,5,4,3,2,0, 0x27, 0,2,1,7,6,5,4,3, 0xae, 4,3,1,0,2,7,6,5, 0x3b, 2,1,7,6,5,4,3,0, 0xed, 0,7,6,5,4,3,2,1, 0x27, 0,2,1,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } | |
| 5279 | static DRIVER_INIT(pir2002v) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x23, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 1,0,7,6,5,4,3,2, 0xe9, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5280 | static DRIVER_INIT(pir2002v2) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x26, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 1,0,7,6,5,4,3,2, 0xec, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5281 | static DRIVER_INIT(fb2genv) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 2,1,7,6,5,4,3,0, 0xea, 0,7,6,5,4,3,2,1, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5282 | static DRIVER_INIT(fb2genv3) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 2,1,7,6,5,4,3,0, 0xeb, 0,7,6,5,4,3,2,1, 0x25, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5283 | static DRIVER_INIT(fb2gend) { sfbonus_bitswap(machine, 0x3d, 2,0,7,6,5,4,3,1, 0xeb, 1,7,6,5,4,3,0,2, 0x25, 2,0,1,7,6,5,4,3, 0xad, 4,3,0,1,2,7,6,5, 0x3c, 0,1,7,6,5,4,3,2, 0xeb, 2,7,6,5,4,3,1,0, 0x25, 2,0,1,7,6,5,4,3, 0xac, 4,3,2,1,0,7,6,5); } | |
| 5321 | static DRIVER_INIT(fb4) { sfbonus_bitswap(machine, 0x37, 1,2,7,6,5,4,3,0, 0xeb, 1,7,6,5,4,0,2,3, 0x2d, 4,0,2,7,6,5,3,1, 0xbd, 2,0,4,1,3,7,6,5, 0x29, 4,1,7,6,5,2,3,0, 0xff, 1,7,6,5,2,3,0,4, 0x3f, 1,0,4,7,6,5,3,2, 0xae, 2,3,0,4,1,7,6,5); } | |
| 5284 | 5322 | static DRIVER_INIT(fb4d) { sfbonus_bitswap(machine, 0x3d, 2,0,7,6,5,4,3,1, 0xeb, 1,7,6,5,4,3,0,2, 0x25, 2,0,1,7,6,5,4,3, 0xad, 4,3,2,1,0,7,6,5, 0x3c, 0,1,7,6,5,4,3,2, 0xeb, 2,7,6,5,4,3,1,0, 0x25, 2,0,1,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } |
| 5285 | 5323 | static DRIVER_INIT(fb4v) { sfbonus_bitswap(machine, 0x3c, 1,2,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,0,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 2,1,7,6,5,4,3,0, 0xeb, 0,7,6,5,4,3,2,1, 0x23, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } |
| 5286 | 5324 | static DRIVER_INIT(fb4v3) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x23, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3e, 2,1,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,1,0, 0x22, 2,1,0,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } |
| r5490 | r5491 | |
| 5289 | 5327 | static DRIVER_INIT(fb5v) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 1,0,7,6,5,4,3,2, 0xee, 1,7,6,5,4,3,0,2, 0x25, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } |
| 5290 | 5328 | static DRIVER_INIT(fb6) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x23, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xe9, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } |
| 5291 | 5329 | static DRIVER_INIT(fb6d) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x22, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xe9, 1,7,6,5,4,3,0,2, 0x25, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } |
| 5330 | static DRIVER_INIT(fb6s) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x24, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xec, 0,7,6,5,4,3,2,1, 0x25, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5292 | 5331 | static DRIVER_INIT(fb6v) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x23, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xed, 2,7,6,5,4,3,1,0, 0x23, 2,1,0,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } |
| 5293 | 5332 | static DRIVER_INIT(fb6v3) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x26, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xea, 2,7,6,5,4,3,1,0, 0x22, 2,1,0,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } |
| 5294 | static DRIVER_INIT(fb6s) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x24, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xec, 0,7,6,5,4,3,2,1, 0x25, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5333 | static DRIVER_INIT(fruitcar) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x21, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 0,1,7,6,5,4,3,2, 0xee, 1,7,6,5,4,3,0,2, 0x25, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5334 | static DRIVER_INIT(fruitcar2) { sfbonus_bitswap(machine, 0x33, 0,3,7,6,5,2,1,4, 0xff, 3,7,6,5,1,0,4,2, 0x36, 4,2,3,7,6,5,1,0, 0xa8, 3,2,4,0,1,7,6,5, 0x2c, 0,1,7,6,5,2,4,3, 0xff, 3,7,6,5,1,0,4,2, 0x26, 2,4,3,7,6,5,1,0, 0xbe, 4,1,3,0,2,7,6,5); } | |
| 5335 | static DRIVER_INIT(fruitcar3) { sfbonus_bitswap(machine, 0x3b, 0,1,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x21, 0,2,1,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x3d, 2,1,7,6,5,4,3,0, 0xed, 2,7,6,5,4,3,1,0, 0x21, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5); } | |
| 5336 | static DRIVER_INIT(hldspin1) { sfbonus_bitswap(machine, 0x21, 0,2,7,6,5,4,3,1, 0xe1, 1,7,6,5,4,3,2,0, 0x31, 1,4,3,7,6,5,2,0, 0xbc, 0,3,4,2,1,7,6,5, 0x24, 4,3,7,6,5,2,0,1, 0xf8, 3,7,6,5,2,0,1,4, 0x39, 1,4,2,7,6,5,0,3, 0xaf, 0,3,2,1,4,7,6,5); } | |
| 5337 | static DRIVER_INIT(hldspin1d) { sfbonus_bitswap(machine, 0x38, 0,1,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x27, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x3e, 0,2,7,6,5,4,3,1, 0xeb, 1,7,6,5,4,3,0,2, 0x27, 1,0,2,7,6,5,4,3, 0xae, 4,3,1,2,0,7,6,5); } | |
| 5338 | static DRIVER_INIT(hldspin1v) { sfbonus_bitswap(machine, 0x3c, 1,2,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,0,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 2,1,7,6,5,4,3,0, 0xed, 2,7,6,5,4,3,1,0, 0x26, 2,1,0,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } | |
| 5339 | static DRIVER_INIT(hldspin2) { sfbonus_bitswap(machine, 0x21, 1,3,7,6,5,0,4,2, 0xfe, 2,7,6,5,1,0,4,3, 0x33, 1,0,3,7,6,5,2,4, 0xa6, 1,0,4,3,2,7,6,5, 0x37, 0,1,7,6,5,3,2,4, 0xfe, 2,7,6,5,1,0,4,3, 0x36, 1,0,4,7,6,5,3,2, 0xa2, 1,0,2,4,3,7,6,5); } | |
| 5340 | static DRIVER_INIT(hldspin2d) { sfbonus_bitswap(machine, 0x3b, 0,1,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x27, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x3e, 0,2,7,6,5,4,3,1, 0xeb, 1,7,6,5,4,3,0,2, 0x27, 1,0,2,7,6,5,4,3, 0xab, 4,3,1,2,0,7,6,5); } | |
| 5341 | static DRIVER_INIT(hldspin2v) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 2,1,7,6,5,4,3,0, 0xed, 2,7,6,5,4,3,1,0, 0x23, 2,1,0,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5342 | static DRIVER_INIT(moneymac) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x23, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xeb, 0,7,6,5,4,3,2,1, 0x25, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5343 | static DRIVER_INIT(moneymacv) { sfbonus_bitswap(machine, 0x3c, 1,2,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,0,1, 0x23, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xeb, 0,7,6,5,4,3,2,1, 0x23, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } | |
| 5344 | static DRIVER_INIT(moneymacd) { sfbonus_bitswap(machine, 0x3a, 1,0,7,6,5,4,3,2, 0xe9, 0,7,6,5,4,3,1,2, 0x26, 0,2,1,7,6,5,4,3, 0xaf, 4,3,1,2,0,7,6,5, 0x3d, 0,2,7,6,5,4,3,1, 0xe9, 0,7,6,5,4,3,1,2, 0x23, 0,1,2,7,6,5,4,3, 0xae, 4,3,2,0,1,7,6,5); } | |
| 5345 | static DRIVER_INIT(parrot3d) { sfbonus_bitswap(machine, 0x3b, 0,1,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x27, 0,2,1,7,6,5,4,3, 0xad, 4,3,0,1,2,7,6,5, 0x3b, 2,1,7,6,5,4,3,0, 0xee, 2,7,6,5,4,3,1,0, 0x27, 0,2,1,7,6,5,4,3, 0xaa, 4,3,1,2,0,7,6,5); } | |
| 5346 | static DRIVER_INIT(parrot3v) { sfbonus_bitswap(machine, 0x3c, 1,0,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 2,1,7,6,5,4,3,0, 0xed, 2,7,6,5,4,3,1,0, 0x26, 0,1,2,7,6,5,4,3, 0xa9, 4,3,2,1,0,7,6,5); } | |
| 5347 | static DRIVER_INIT(parrot3v2) { sfbonus_bitswap(machine, 0x3c, 1,0,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 2,1,7,6,5,4,3,0, 0xe9, 2,7,6,5,4,3,1,0, 0x22, 0,1,2,7,6,5,4,3, 0xa9, 4,3,2,1,0,7,6,5); } | |
| 5348 | static DRIVER_INIT(pickwin) { sfbonus_bitswap(machine, 0x20, 1,3,7,6,5,2,4,0, 0xfa, 2,7,6,5,4,0,1,3, 0x37, 1,0,3,7,6,5,2,4, 0xb0, 4,0,1,3,2,7,6,5, 0x34, 0,1,7,6,5,3,2,4, 0xef, 3,7,6,5,2,0,1,4, 0x27, 1,0,4,7,6,5,3,2, 0xb0, 4,0,1,3,2,7,6,5); } | |
| 5349 | static DRIVER_INIT(pickwind) { sfbonus_bitswap(machine, 0x3c, 0,1,7,6,5,4,3,2, 0xed, 0,7,6,5,4,3,2,1, 0x27, 0,2,1,7,6,5,4,3, 0xae, 4,3,1,0,2,7,6,5, 0x3b, 2,1,7,6,5,4,3,0, 0xe8, 0,7,6,5,4,3,1,2, 0x27, 0,2,1,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } | |
| 5350 | static DRIVER_INIT(pickwinv) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x26, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 1,0,7,6,5,4,3,2, 0xee, 1,7,6,5,4,3,0,2, 0x25, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5351 | static DRIVER_INIT(pickwinv2) { sfbonus_bitswap(machine, 0x3c, 1,2,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,0,1, 0x26, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 1,0,7,6,5,4,3,2, 0xee, 1,7,6,5,4,3,0,2, 0x23, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } | |
| 5352 | static DRIVER_INIT(pir2001) { sfbonus_bitswap(machine, 0x3a, 1,2,7,6,5,4,3,0, 0xfa, 3,7,6,5,2,0,4,1, 0x33, 4,1,3,7,6,5,2,0, 0xa8, 2,0,4,1,3,7,6,5, 0x2a, 2,4,7,6,5,0,3,1, 0xf7, 1,7,6,5,4,3,0,2, 0x27, 4,1,2,7,6,5,0,3, 0xaf, 0,3,2,4,1,7,6,5); } | |
| 5353 | static DRIVER_INIT(pir2001v) { sfbonus_bitswap(machine, 0x39, 1,0,7,6,5,4,3,2, 0xea, 0,7,6,5,4,3,2,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3f, 2,1,7,6,5,4,3,0, 0xed, 2,7,6,5,4,3,1,0, 0x23, 0,1,2,7,6,5,4,3, 0xac, 4,3,2,1,0,7,6,5); } | |
| 5354 | static DRIVER_INIT(pir2001v2) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x39, 1,0,7,6,5,4,3,2, 0xe9, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5355 | static DRIVER_INIT(pir2001d) { sfbonus_bitswap(machine, 0x3c, 0,1,7,6,5,4,3,2, 0xeb, 0,7,6,5,4,3,2,1, 0x27, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x3e, 0,2,7,6,5,4,3,1, 0xeb, 1,7,6,5,4,3,0,2, 0x27, 1,0,2,7,6,5,4,3, 0xae, 4,3,1,2,0,7,6,5); } | |
| 5356 | static DRIVER_INIT(pir2002) { sfbonus_bitswap(machine, 0x30, 3,2,7,6,5,4,0,1, 0xec, 2,7,6,5,4,0,1,3, 0x2d, 1,4,3,7,6,5,2,0, 0xa6, 4,0,1,3,2,7,6,5, 0x20, 4,1,7,6,5,2,3,0, 0xf9, 2,7,6,5,4,3,0,1, 0x3a, 4,1,2,7,6,5,0,3, 0xb7, 1,0,3,2,4,7,6,5); } | |
| 5357 | static DRIVER_INIT(pir2002d) { sfbonus_bitswap(machine, 0x3d, 2,0,7,6,5,4,3,1, 0xef, 1,7,6,5,4,3,2,0, 0x27, 0,2,1,7,6,5,4,3, 0xae, 4,3,1,0,2,7,6,5, 0x3b, 2,1,7,6,5,4,3,0, 0xed, 0,7,6,5,4,3,2,1, 0x27, 0,2,1,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } | |
| 5358 | static DRIVER_INIT(pir2002v) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x23, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 1,0,7,6,5,4,3,2, 0xe9, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5359 | static DRIVER_INIT(pir2002v2) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x26, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 1,0,7,6,5,4,3,2, 0xec, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5360 | static DRIVER_INIT(pirpok2) { sfbonus_bitswap(machine, 0x26, 1,2,7,6,5,4,3,0, 0xf6, 1,7,6,5,4,3,0,2, 0x29, 4,0,1,7,6,5,2,3, 0xad, 0,3,1,2,4,7,6,5, 0x2e, 1,3,7,6,5,2,0,4, 0xe0, 3,7,6,5,2,0,4,1, 0x39, 4,1,2,7,6,5,0,3, 0xb2, 2,0,4,1,3,7,6,5); } | |
| 5361 | static DRIVER_INIT(pirpok2d) { sfbonus_bitswap(machine, 0x3c, 0,1,7,6,5,4,3,2, 0xed, 0,7,6,5,4,3,2,1, 0x21, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x38, 0,2,7,6,5,4,3,1, 0xed, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xae, 4,3,1,2,0,7,6,5); } | |
| 5362 | static DRIVER_INIT(pirpok2v) { sfbonus_bitswap(machine, 0x3c, 1,0,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x23, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3e, 2,1,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,1,0, 0x22, 0,1,2,7,6,5,4,3, 0xa9, 4,3,2,1,0,7,6,5); } | |
| 5363 | static DRIVER_INIT(pirpok2v2) { sfbonus_bitswap(machine, 0x3c, 1,0,7,6,5,4,3,2, 0xef, 0,7,6,5,4,3,2,1, 0x22, 2,0,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3a, 2,1,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,1,0, 0x22, 0,1,2,7,6,5,4,3, 0xa9, 4,3,2,1,0,7,6,5); } | |
| 5364 | static DRIVER_INIT(robadv) { sfbonus_bitswap(machine, 0x31, 0,3,7,6,5,2,1,4, 0xe0, 1,7,6,5,3,2,4,0, 0x2f, 4,0,2,7,6,5,3,1, 0xa7, 1,0,3,4,2,7,6,5, 0x33, 1,3,7,6,5,2,0,4, 0xed, 2,7,6,5,1,4,3,0, 0x34, 4,1,3,7,6,5,2,0, 0xaf, 2,0,4,1,3,7,6,5); } | |
| 5365 | static DRIVER_INIT(robadv2d) { sfbonus_bitswap(machine, 0x3c, 0,1,7,6,5,4,3,2, 0xe8, 0,7,6,5,4,3,1,2, 0x24, 2,1,0,7,6,5,4,3, 0xae, 4,3,1,0,2,7,6,5, 0x3e, 1,0,7,6,5,4,3,2, 0xed, 1,7,6,5,4,3,0,2, 0x24, 2,1,0,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } | |
| 5366 | static DRIVER_INIT(robadv2v1) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x21, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3a, 0,1,7,6,5,4,3,2, 0xe9, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5367 | static DRIVER_INIT(robadv2v4) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x23, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xe9, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5368 | static DRIVER_INIT(seawld) { sfbonus_bitswap(machine, 0x3c, 1,2,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,0,1, 0x24, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 1,0,7,6,5,4,3,2, 0xec, 1,7,6,5,4,3,2,0, 0x23, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } | |
| 5369 | static DRIVER_INIT(seawldv) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x22, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3a, 0,1,7,6,5,4,3,2, 0xea, 2,7,6,5,4,3,1,0, 0x22, 2,1,0,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5370 | static DRIVER_INIT(sfbonus) { sfbonus_bitswap(machine, 0x2a, 1,3,7,6,5,2,0,4, 0xe4, 3,7,6,5,2,0,4,1, 0x2d, 4,1,3,7,6,5,2,0, 0xba, 4,3,0,2,1,7,6,5, 0x30, 2,1,7,6,5,0,3,4, 0xf1, 2,7,6,5,1,3,4,0, 0x3d, 2,1,4,7,6,5,3,0, 0xba, 4,3,0,1,2,7,6,5); } | |
| 5371 | static DRIVER_INIT(sfbonusd) { sfbonus_bitswap(machine, 0x3b, 0,1,7,6,5,4,3,2, 0xef, 1,7,6,5,4,3,0,2, 0x24, 2,1,0,7,6,5,4,3, 0xad, 4,3,0,1,2,7,6,5, 0x3e, 1,0,7,6,5,4,3,2, 0xeb, 2,7,6,5,4,3,1,0, 0x24, 2,1,0,7,6,5,4,3, 0xaa, 4,3,1,2,0,7,6,5); } | |
| 5372 | static DRIVER_INIT(sfbonusv) { sfbonus_bitswap(machine, 0x3c, 1,2,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,0,1, 0x25, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xee, 1,7,6,5,4,3,0,2, 0x23, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } | |
| 5373 | static DRIVER_INIT(sfruitb) { sfbonus_bitswap(machine, 0x3e, 2,1,7,6,5,4,3,0, 0xfd, 1,7,6,5,0,3,2,4, 0x37, 4,1,3,7,6,5,2,0, 0xac, 2,0,4,1,3,7,6,5, 0x35, 2,3,7,6,5,1,0,4, 0xf6, 3,7,6,5,2,0,1,4, 0x37, 4,1,3,7,6,5,2,0, 0xb9, 0,3,4,1,2,7,6,5); } | |
| 5374 | static DRIVER_INIT(sfruitbd) { sfbonus_bitswap(machine, 0x3e, 1,0,7,6,5,4,3,2, 0xed, 1,7,6,5,4,3,0,2, 0x25, 2,0,1,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x3c, 0,1,7,6,5,4,3,2, 0xed, 2,7,6,5,4,3,1,0, 0x25, 2,0,1,7,6,5,4,3, 0xae, 4,3,1,2,0,7,6,5); } | |
| 5375 | static DRIVER_INIT(sfruitbv) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x25, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xec, 1,7,6,5,4,3,0,2, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5376 | static DRIVER_INIT(sfruitbv2) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x25, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xee, 1,7,6,5,4,3,0,2, 0x25, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5377 | static DRIVER_INIT(tighook) { sfbonus_bitswap(machine, 0x33, 0,1,7,6,5,2,3,4, 0xf3, 3,7,6,5,1,0,4,2, 0x2e, 4,0,2,7,6,5,3,1, 0xa7, 1,0,4,2,3,7,6,5, 0x2d, 1,2,7,6,5,3,4,0, 0xff, 2,7,6,5,1,0,3,4, 0x27, 1,0,2,7,6,5,3,4, 0xa7, 1,0,4,2,3,7,6,5); } | |
| 5378 | static DRIVER_INIT(tighookd) { sfbonus_bitswap(machine, 0x3d, 0,1,7,6,5,4,3,2, 0xed, 1,7,6,5,4,3,0,2, 0x26, 2,1,0,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5, 0x3c, 1,0,7,6,5,4,3,2, 0xed, 2,7,6,5,4,3,1,0, 0x26, 2,1,0,7,6,5,4,3, 0xae, 4,3,1,2,0,7,6,5); } | |
| 5379 | static DRIVER_INIT(tighookv) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x26, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xec, 0,7,6,5,4,3,2,1, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5380 | static DRIVER_INIT(tighookv2) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x23, 0,2,1,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xea, 0,7,6,5,4,3,2,1, 0x21, 1,0,2,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } | |
| 5381 | ||
| 5295 | 5382 | static DRIVER_INIT(version4) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x26, 1,0,2,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xec, 1,7,6,5,4,3,0,2, 0x22, 2,1,0,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } |
| 5296 | 5383 | static DRIVER_INIT(bugfever) { sfbonus_bitswap(machine, 0x3c, 1,2,7,6,5,4,3,0, 0xea, 2,7,6,5,4,3,0,1, 0x22, 2,1,0,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3b, 0,1,7,6,5,4,3,2, 0xe9, 1,7,6,5,4,3,0,2, 0x23, 1,0,2,7,6,5,4,3, 0xa9, 4,3,0,1,2,7,6,5); } |
| 5297 | 5384 | static DRIVER_INIT(bugfeverd) { sfbonus_bitswap(machine, 0x39, 1,2,7,6,5,4,3,0, 0xef, 2,7,6,5,4,3,0,1, 0x26, 1,0,2,7,6,5,4,3, 0xa8, 4,3,1,2,0,7,6,5, 0x3a, 0,1,7,6,5,4,3,2, 0xe8, 1,7,6,5,4,3,0,2, 0x22, 2,1,0,7,6,5,4,3, 0xac, 4,3,0,1,2,7,6,5); } |
| r5490 | r5491 | |
| 5315 | 5402 | |
| 5316 | 5403 | */ |
| 5317 | 5404 | |
| 5318 | GAME( 2003, sfbonus, 0, sfbonus, amcoetype2, sfbonus, ROT0, "Amcoe", "Skill Fruit Bonus (Version 1.6)", 0) | |
| 5319 | 5405 | |
| 5320 | GAME( 2003, sfbonusa, sfbonus, sfbonus, amcoetype2, sfbonus, ROT0, "Amcoe", "Skill Fruit Bonus (Version 1.7)", 0) | |
| 5406 | GAME( 2003, sfbonus, 0, sfbonus, amcoe2_reels3, sfbonus, ROT0, "Amcoe", "Skill Fruit Bonus (Version 1.9R, set 1)", 0) | |
| 5407 | GAME( 2003, sfbonusd1, sfbonus, sfbonus, amcoe1_reels3, sfbonusd, ROT0, "Amcoe", "Skill Fruit Bonus (Version 1.9R, set 2)", 0) | |
| 5408 | GAME( 2003, sfbonusv1, sfbonus, sfbonus, amcoe1_reels3, sfbonusv, ROT0, "Amcoe", "Skill Fruit Bonus (Version 1.9R Dual)", 0) | |
| 5409 | GAME( 2003, sfbonuso, sfbonus, sfbonus, amcoe2_reels3, sfbonus, ROT0, "Amcoe", "Skill Fruit Bonus (Version 1.7)", 0) | |
| 5410 | GAME( 2003, sfbonuso2, sfbonus, sfbonus, amcoe2_reels3, sfbonus, ROT0, "Amcoe", "Skill Fruit Bonus (Version 1.6)", 0) | |
| 5321 | 5411 | |
| 5322 | GAME( 2003, sfbonusb, sfbonus, sfbonus, amcoetype2, sfbonus, ROT0, "Amcoe", "Skill Fruit Bonus (Version 1.9R, set 1)", 0) | |
| 5323 | GAME( 2003, sfbonusd, sfbonus, sfbonus, amcoetype1, sfbonusd,ROT0, "Amcoe", "Skill Fruit Bonus (Version 1.9R, set 2)", 0) | |
| 5324 | GAME( 2003, sfbonusv, sfbonus, sfbonus, amcoetype1, sfbonusv,ROT0, "Amcoe", "Skill Fruit Bonus (Version 1.9R Dual)", 0) | |
| 5412 | GAMEL( 2004, parrot3, 0, sfbonus, amcoe1_poker, parrot3v, ROT0, "Amcoe", "Parrot Poker III (Version 2.6E Dual)", 0, layout_pirpok2) | |
| 5413 | GAMEL( 2004, parrot3b1, parrot3, sfbonus, amcoe2_poker, pirpok2, ROT0, "Amcoe", "Parrot Poker III (Version 2.6R, set 1)", 0, layout_pirpok2) | |
| 5414 | GAMEL( 2004, parrot3d1, parrot3, sfbonus, amcoe1_poker, parrot3d, ROT0, "Amcoe", "Parrot Poker III (Version 2.6R, set 2)", 0, layout_pirpok2) | |
| 5415 | GAMEL( 2004, parrot3v1, parrot3, sfbonus, amcoe1_poker, parrot3v2, ROT0, "Amcoe", "Parrot Poker III (Version 2.6R Dual)", 0, layout_pirpok2) | |
| 5416 | GAMEL( 2003, parrot3o, parrot3, sfbonus, amcoe2_poker, pirpok2, ROT0, "Amcoe", "Parrot Poker III (Version 2.4)", 0, layout_pirpok2) | |
| 5325 | 5417 | |
| 5326 | GAMEL( 2003, parrot3, 0, sfbonus, amcoetype2, pirpok2, ROT0, "Amcoe", "Parrot Poker III (Version 2.4)", 0, layout_pirpok2) | |
| 5418 | GAME( 2000, hldspin1, 0, sfbonus, amcoe2_reels3, hldspin1, ROT0, "Amcoe", "Hold & Spin I (Version 2.7T, set 1)", 0) | |
| 5419 | GAME( 2000, hldspin1dt, hldspin1, sfbonus, amcoe1_reels3, hldspin1d, ROT0, "Amcoe", "Hold & Spin I (Version 2.7T, set 2)", 0) | |
| 5420 | GAME( 2000, hldspin1vt, hldspin1, sfbonus, amcoe1_reels3, hldspin1v, ROT0, "Amcoe", "Hold & Spin I (Version 2.7T Dual)", 0) | |
| 5421 | GAME( 2000, hldspin1o, hldspin1, sfbonus, amcoe2_reels3, hldspin1, ROT0, "Amcoe", "Hold & Spin I (Version 2.5T)", 0) | |
| 5327 | 5422 | |
| 5328 | GAMEL( 2004, parrot3b, parrot3, sfbonus, amcoetype2, pirpok2, ROT0, "Amcoe", "Parrot Poker III (Version 2.6R, set 1)", 0, layout_pirpok2) | |
| 5329 | GAMEL( 2004, parrot3d, parrot3, sfbonus, amcoetype1, parrot3d, ROT0, "Amcoe", "Parrot Poker III (Version 2.6R, set 2)", 0, layout_pirpok2) | |
| 5330 | GAMEL( 2004, parrot3v2, parrot3, sfbonus, amcoetype1, parrot3v2,ROT0, "Amcoe", "Parrot Poker III (Version 2.6R Dual)", 0, layout_pirpok2) | |
| 5423 | GAME( 2000, hldspin2, 0, sfbonus, amcoe2_reels3, hldspin2, ROT0, "Amcoe", "Hold & Spin II (Version 2.8R, set 1)", 0) | |
| 5424 | GAME( 2000, hldspin2d1, hldspin2, sfbonus, amcoe1_reels3, hldspin2d, ROT0, "Amcoe", "Hold & Spin II (Version 2.8R, set 2)", 0) // some text corruption on first reset (MIN PLAY etc. real game bug?) | |
| 5425 | GAME( 2000, hldspin2v1, hldspin2, sfbonus, amcoe1_reels3, hldspin2v, ROT0, "Amcoe", "Hold & Spin II (Version 2.8R Dual)", 0) // some text corruption on first reset (MIN PLAY etc. real game bug?) | |
| 5426 | GAME( 2000, hldspin2o, hldspin2, sfbonus, amcoe2_reels3, hldspin2, ROT0, "Amcoe", "Hold & Spin II (Version 2.6)", 0) | |
| 5331 | 5427 | |
| 5332 | GAMEL( 2004, parrot3v, parrot3, sfbonus, amcoetype1, parrot3v, ROT0, "Amcoe", "Parrot Poker III (Version 2.6E Dual)", 0, layout_pirpok2) | |
| 5428 | GAME( 2003, fcnudge, 0, sfbonus, amcoe1_reels3, fruitcar, ROT0, "Amcoe", "Fruit Carnival Nudge (Version 2.1 Dual)", 0) | |
| 5429 | GAME( 2003, fcnudgeo, fcnudge, sfbonus, amcoe2_reels3, fruitcar2, ROT0, "Amcoe", "Fruit Carnival Nudge (Version 2.0, set 1)", 0) | |
| 5430 | GAME( 2003, fcnudgeo2, fcnudge, sfbonus, amcoe1_reels3, fruitcar3, ROT0, "Amcoe", "Fruit Carnival Nudge (Version 2.0, set 2)", 0) | |
| 5431 | GAME( 2003, fcnudgeo3, fcnudge, sfbonus, amcoe2_reels3, abnudge, ROT0, "Amcoe", "Fruit Carnival Nudge (Version 1.7)", 0) | |
| 5333 | 5432 | |
| 5334 | GAME( 2000, hldspin1, 0, sfbonus, amcoetype2, hldspin1, ROT0, "Amcoe", "Hold & Spin I (Version 2.5T)", 0) | |
| 5433 | GAME( 2001, pickwin, 0, sfbonus, amcoe1_reels4, pickwinv2, ROT0, "Amcoe", "Pick 'n Win (Version 2.9E Dual)", 0) | |
| 5434 | GAME( 2001, pickwinb1, pickwin, sfbonus, amcoe2_reels4, pickwin, ROT0, "Amcoe", "Pick 'n Win (Version 2.9R, set 1)", 0) | |
| 5435 | GAME( 2001, pickwind1, pickwin, sfbonus, amcoe1_reels4, pickwind, ROT0, "Amcoe", "Pick 'n Win (Version 2.9R, set 2)", 0) | |
| 5436 | GAME( 2001, pickwinv1, pickwin, sfbonus, amcoe1_reels4, pickwinv, ROT0, "Amcoe", "Pick 'n Win (Version 2.9R Dual)", 0) | |
| 5437 | GAME( 2001, pickwinbt, pickwin, sfbonus, amcoe2_reels4, pickwin, ROT0, "Amcoe", "Pick 'n Win (Version 2.8T, set 1)", 0) | |
| 5438 | GAME( 2001, pickwindt, pickwin, sfbonus, amcoe1_reels4, pickwind, ROT0, "Amcoe", "Pick 'n Win (Version 2.8T, set 2)", 0) | |
| 5439 | GAME( 2001, pickwinvt, pickwin, sfbonus, amcoe1_reels4, pickwinv, ROT0, "Amcoe", "Pick 'n Win (Version 2.8T, Dual)", 0) | |
| 5440 | GAME( 2001, pickwino, pickwin, sfbonus, amcoe2_reels4, pickwin, ROT0, "Amcoe", "Pick 'n Win (Version 2.6)", 0) | |
| 5441 | GAME( 2001, pickwino2, pickwin, sfbonus, amcoe2_reels4, pickwin, ROT0, "Amcoe", "Pick 'n Win (Version 2.5T)", 0) | |
| 5335 | 5442 | |
| 5336 | GAME( 2000, hldspin1b, hldspin1, sfbonus, amcoetype2, hldspin1, ROT0, "Amcoe", "Hold & Spin I (Version 2.7T, set 1)", 0) | |
| 5337 | GAME( 2000, hldspin1d, hldspin1, sfbonus, amcoetype1, hldspin1d, ROT0, "Amcoe", "Hold & Spin I (Version 2.7T, set 2)", 0) | |
| 5338 | GAME( 2000, hldspin1v, hldspin1, sfbonus, amcoetype1, hldspin1v, ROT0, "Amcoe", "Hold & Spin I (Version 2.7T Dual)", 0) | |
| 5443 | GAME( 2004, tighook, 0, sfbonus, amcoe1_reels3, tighookv2, ROT0, "Amcoe", "Tiger Hook (Version 2.1E Dual)", 0) | |
| 5444 | GAME( 2004, tighookc1, tighook, sfbonus, amcoe1_reels3, tighook, ROT0, "Amcoe", "Tiger Hook (Version 2.1R, set 1)", 0) | |
| 5445 | GAME( 2004, tighookd1, tighook, sfbonus, amcoe1_reels3, tighookd, ROT0, "Amcoe", "Tiger Hook (Version 2.1R, set 2)", 0) | |
| 5446 | GAME( 2004, tighookv1, tighook, sfbonus, amcoe1_reels3, tighookv, ROT0, "Amcoe", "Tiger Hook (Version 2.1R Dual)", 0) | |
| 5447 | GAME( 2004, tighookc2, tighook, sfbonus, amcoe1_reels3, tighook, ROT0, "Amcoe", "Tiger Hook (Version 2.0LT, set 1)", 0) | |
| 5448 | GAME( 2004, tighookd2, tighook, sfbonus, amcoe1_reels3, tighookd, ROT0, "Amcoe", "Tiger Hook (Version 2.0LT, set 2)", 0) | |
| 5449 | GAME( 2004, tighookv2, tighook, sfbonus, amcoe1_reels3, tighookv, ROT0, "Amcoe", "Tiger Hook (Version 2.0LT Dual)", 0) | |
| 5450 | GAME( 2004, tighooko, tighook, sfbonus, amcoe1_reels3, tighook, ROT0, "Amcoe", "Tiger Hook (Version 1.7XT)", 0) | |
| 5451 | GAME( 2004, tighooko2, tighook, sfbonus, amcoe1_reels3, tighook, ROT0, "Amcoe", "Tiger Hook (Version 1.7)", 0) | |
| 5339 | 5452 | |
| 5340 | GAME( 2000, hldspin2, 0, sfbonus, amcoetype2, hldspin2, ROT0, "Amcoe", "Hold & Spin II (Version 2.6)", 0) | |
| 5453 | GAME( 2004, robadv, 0, sfbonus, amcoe1_reels3, robadv2v4, ROT0, "Amcoe", "Robin's Adventure (Version 1.7E Dual)", 0) | |
| 5454 | GAME( 2004, robadvc1, robadv, sfbonus, amcoe1_reels3, robadv, ROT0, "Amcoe", "Robin's Adventure (Version 1.7R, set 1)", 0) | |
| 5455 | GAME( 2004, robadvd1, robadv, sfbonus, amcoe1_reels3, robadv2d, ROT0, "Amcoe", "Robin's Adventure (Version 1.7R, set 2)", 0) | |
| 5456 | GAME( 2004, robadvv1, robadv, sfbonus, amcoe1_reels3, robadv2v1, ROT0, "Amcoe", "Robin's Adventure (Version 1.7R Dual)", 0) | |
| 5457 | GAME( 2004, robadvo, robadv, sfbonus, amcoe1_reels3, robadv, ROT0, "Amcoe", "Robin's Adventure (Version 1.5)", 0) | |
| 5341 | 5458 | |
| 5342 | GAME( 2000, hldspin2b, hldspin2, sfbonus, amcoetype2, hldspin2, ROT0, "Amcoe", "Hold & Spin II (Version 2.8R, set 1)", 0) | |
| 5343 | GAME( 2000, hldspin2d, hldspin2, sfbonus, amcoetype1, hldspin2d, ROT0, "Amcoe", "Hold & Spin II (Version 2.8R, set 2)", 0) // some text corruption on first reset (MIN PLAY etc. real game bug?) | |
| 5344 | GAME( 2000, hldspin2v, hldspin2, sfbonus, amcoetype1, hldspin2v, ROT0, "Amcoe", "Hold & Spin II (Version 2.8R Dual)", 0) // some text corruption on first reset (MIN PLAY etc. real game bug?) | |
| 5459 | GAME( 2004, robadv2, 0, sfbonus, amcoe1_reels3, robadv2v4, ROT0, "Amcoe", "Robin's Adventure 2 (Version 1.7E Dual)", 0) | |
| 5460 | GAME( 2004, robadv2c1, robadv2, sfbonus, amcoe1_reels3, robadv, ROT0, "Amcoe", "Robin's Adventure 2 (Version 1.7R, set 1)", 0) | |
| 5461 | GAME( 2004, robadv2d1, robadv2, sfbonus, amcoe1_reels3, robadv2d, ROT0, "Amcoe", "Robin's Adventure 2 (Version 1.7R, set 2)", 0) | |
| 5462 | GAME( 2004, robadv2v1, robadv2, sfbonus, amcoe1_reels3, robadv2v1, ROT0, "Amcoe", "Robin's Adventure 2 (Version 1.7R Dual)", 0) | |
| 5463 | GAME( 2004, robadv2c2, robadv2, sfbonus, amcoe1_reels3, robadv, ROT0, "Amcoe", "Robin's Adventure 2 (Version 1.7LT, set 1)", 0) | |
| 5464 | GAME( 2004, robadv2d2, robadv2, sfbonus, amcoe1_reels3, robadv2d, ROT0, "Amcoe", "Robin's Adventure 2 (Version 1.7LT, set 2)", 0) | |
| 5465 | GAME( 2004, robadv2v2, robadv2, sfbonus, amcoe1_reels3, robadv2v1, ROT0, "Amcoe", "Robin's Adventure 2 (Version 1.7LT Dual)", 0) | |
| 5466 | GAME( 2004, robadv2c3, robadv2, sfbonus, amcoe1_reels3, robadv, ROT0, "Amcoe", "Robin's Adventure 2 (Version 1.7SH, set 1)", 0) | |
| 5467 | GAME( 2004, robadv2d3, robadv2, sfbonus, amcoe1_reels3, robadv2d, ROT0, "Amcoe", "Robin's Adventure 2 (Version 1.7SH, set 2)", 0) | |
| 5468 | GAME( 2004, robadv2v3, robadv2, sfbonus, amcoe1_reels3, robadv2v1, ROT0, "Amcoe", "Robin's Adventure 2 (Version 1.7SH Dual)", 0) | |
| 5469 | GAME( 2004, robadv2o, robadv2, sfbonus, amcoe1_reels3, robadv, ROT0, "Amcoe", "Robin's Adventure 2 (Version 1.5SH)", 0) | |
| 5470 | GAME( 2004, robadv2o2, robadv2, sfbonus, amcoe1_reels3, robadv, ROT0, "Amcoe", "Robin's Adventure 2 (Version 1.5)", 0) | |
| 5345 | 5471 | |
| 5346 | GAME( 2003, fcnudge, 0, sfbonus, amcoetype2, abnudge, ROT0, "Amcoe", "Fruit Carnival Nudge (Version 1.7)", 0) | |
| 5347 | GAME( 2003, fcnudge2, fcnudge, sfbonus, amcoetype1, fruitcar, ROT0, "Amcoe", "Fruit Carnival Nudge (Version 2.1 Dual)", 0) | |
| 5348 | GAME( 2003, fcnudge3, fcnudge, sfbonus, amcoetype2, fruitcar2,ROT0, "Amcoe", "Fruit Carnival Nudge (Version 2.0, set 1)", 0) | |
| 5349 | GAME( 2003, fcnudge4, fcnudge, sfbonus, amcoetype1, fruitcar3,ROT0, "Amcoe", "Fruit Carnival Nudge (Version 2.0, set 2)", 0) | |
| 5472 | GAMEL( 2003, pirpok2, 0, sfbonus, amcoe1_poker, pirpok2v2, ROT0, "Amcoe", "Pirate Poker II (Version 2.4E Dual)", 0, layout_pirpok2) | |
| 5473 | GAMEL( 2003, pirpok2b1, pirpok2, sfbonus, amcoe2_poker, pirpok2, ROT0, "Amcoe", "Pirate Poker II (Version 2.2R, set 1)", 0, layout_pirpok2) | |
| 5474 | GAMEL( 2003, pirpok2d1, pirpok2, sfbonus, amcoe1_poker, pirpok2d, ROT0, "Amcoe", "Pirate Poker II (Version 2.2R, set 2)", 0, layout_pirpok2) | |
| 5475 | GAMEL( 2003, pirpok2v1, pirpok2, sfbonus, amcoe1_poker, pirpok2v, ROT0, "Amcoe", "Pirate Poker II (Version 2.2R Dual)", 0, layout_pirpok2) | |
| 5476 | GAMEL( 2003, pirpok2o, pirpok2, sfbonus, amcoe2_poker, pirpok2, ROT0, "Amcoe", "Pirate Poker II (Version 2.0)", 0, layout_pirpok2) | |
| 5350 | 5477 | |
| 5351 | GAME( 2001, pickwin, 0, sfbonus, amcoetype2, pickwin, ROT0, "Amcoe", "Pick & Win (Version 2.5T)", 0) | |
| 5352 | GAME( 2001, pickwina, pickwin, sfbonus, amcoetype2, pickwin, ROT0, "Amcoe", "Pick & Win (Version 2.6)", 0) | |
| 5478 | GAME( 2003, anibonus, 0, sfbonus, amcoe1_reels3, anibonusv3, ROT0, "Amcoe", "Animal Bonus (Version 1.8E Dual)", 0) | |
| 5479 | GAME( 2003, anibonusv1, anibonus, sfbonus, amcoe1_reels3, anibonusv, ROT0, "Amcoe", "Animal Bonus (Version 1.8R Dual)", 0) | |
| 5480 | GAME( 2003, anibonusv2, anibonus, sfbonus, amcoe1_reels3, anibonusv, ROT0, "Amcoe", "Animal Bonus (Version 1.8LT Dual)", 0) | |
| 5481 | GAME( 2003, anibonusb1, anibonus, sfbonus, amcoe2_reels3, anibonus, ROT0, "Amcoe", "Animal Bonus (Version 1.7R, set 1)", 0) | |
| 5482 | GAME( 2003, anibonusd1, anibonus, sfbonus, amcoe1_reels3, anibonusd, ROT0, "Amcoe", "Animal Bonus (Version 1.7R, set 2)", 0) | |
| 5483 | GAME( 2003, anibonusb2, anibonus, sfbonus, amcoe2_reels3, anibonus, ROT0, "Amcoe", "Animal Bonus (Version 1.7LT, set 1)", 0) | |
| 5484 | GAME( 2003, anibonusd2, anibonus, sfbonus, amcoe1_reels3, anibonusd, ROT0, "Amcoe", "Animal Bonus (Version 1.7LT, set 2)", 0) | |
| 5485 | GAME( 2003, anibonuso, anibonus, sfbonus, amcoe2_reels3, anibonus, ROT0, "Amcoe", "Animal Bonus (Version 1.5)", 0) | |
| 5486 | GAME( 2003, anibonuso2, anibonus, sfbonus, amcoe2_reels3, anibonus3, ROT0, "Amcoe", "Animal Bonus (Version 1.4, set 1)", 0) | |
| 5487 | GAME( 2003, anibonuso3, anibonus, sfbonus, amcoe2_reels3, anibonus, ROT0, "Amcoe", "Animal Bonus (Version 1.4, set 2)", 0) | |
| 5488 | GAME( 2003, anibonusxo, anibonus, sfbonus, amcoe2_reels3, anibonus, ROT0, "Amcoe", "Animal Bonus (Version 1.50XT)", 0) | |
| 5489 | GAME( 2003, anibonusxo2, anibonus, sfbonus, amcoe2_reels3, anibonus3, ROT0, "Amcoe", "Animal Bonus (Version 1.40XT, set 1)", 0) | |
| 5490 | GAME( 2003, anibonusxo3, anibonus, sfbonus, amcoe2_reels3, anibonus, ROT0, "Amcoe", "Animal Bonus (Version 1.40XT, set 2)", 0) | |
| 5353 | 5491 | |
| 5354 | GAME( 2001, pickwinb2, pickwin, sfbonus, amcoetype2, pickwin, ROT0, "Amcoe", "Pick & Win (Version 2.9R, set 1)", 0) | |
| 5355 | GAME( 2001, pickwind2, pickwin, sfbonus, amcoetype1, pickwind, ROT0, "Amcoe", "Pick & Win (Version 2.9R, set 2)", 0) | |
| 5356 | GAME( 2001, pickwinv3, pickwin, sfbonus, amcoetype1, pickwinv, ROT0, "Amcoe", "Pick & Win (Version 2.9R Dual)", 0) | |
| 5492 | GAME( 2003, abnudge, 0, sfbonus, amcoe1_reels3, abnudgev, ROT0, "Amcoe", "Animal Bonus Nudge (Version 2.1 Dual)", 0) | |
| 5493 | GAME( 2003, abnudgeb, abnudge, sfbonus, amcoe2_reels3, abnudge, ROT0, "Amcoe", "Animal Bonus Nudge (Version 2.0, set 1)", 0) | |
| 5494 | GAME( 2003, abnudged, abnudge, sfbonus, amcoe1_reels3, abnudged, ROT0, "Amcoe", "Animal Bonus Nudge (Version 2.0, set 2)", 0) | |
| 5495 | GAME( 2003, abnudgeo, abnudge, sfbonus, amcoe2_reels3, abnudge, ROT0, "Amcoe", "Animal Bonus Nudge (Version 1.7)", 0) | |
| 5357 | 5496 | |
| 5358 | GAME( 2001, pickwinb, pickwin, sfbonus, amcoetype2, pickwin, ROT0, "Amcoe", "Pick & Win (Version 2.8T, set 1)", 0) | |
| 5359 | GAME( 2001, pickwind, pickwin, sfbonus, amcoetype1, pickwind, ROT0, "Amcoe", "Pick & Win (Version 2.8T, set 2)", 0) | |
| 5360 | GAME( 2001, pickwinv, pickwin, sfbonus, amcoetype1, pickwinv, ROT0, "Amcoe", "Pick & Win (Version 2.8T, Dual)", 0) | |
| 5497 | GAME( 2003, dblchal, 0, sfbonus, amcoe2_reels3, dblchal, ROT0, "Amcoe", "Double Challenge (Version 1.5R, set 1)", 0) | |
| 5498 | GAME( 2003, dblchalc1, dblchal, sfbonus, amcoe1_reels3, dblchal, ROT0, "Amcoe", "Double Challenge (Version 1.5R, set 2)", 0) | |
| 5499 | GAME( 2003, dblchald1, dblchal, sfbonus, amcoe1_reels3, dblchald, ROT0, "Amcoe", "Double Challenge (Version 1.5R, set 3)", 0) | |
| 5500 | GAME( 2003, dblchalv1, dblchal, sfbonus, amcoe1_reels3, dblchalv, ROT0, "Amcoe", "Double Challenge (Version 1.5R Dual)", 0) | |
| 5501 | GAME( 2003, dblchalo, dblchal, sfbonus, amcoe2_reels3, dblchal, ROT0, "Amcoe", "Double Challenge (Version 1.1)", 0) | |
| 5361 | 5502 | |
| 5362 | GAME( 2001, pickwinv2, pickwin, sfbonus, amcoetype1, pickwinv2,ROT0, "Amcoe", "Pick & Win (Version 2.9E Dual)", 0) | |
| 5503 | GAME( 2003, anithunt, 0, sfbonus, amcoe2_reels3, anithunt, ROT0, "Amcoe", "Animal Treasure Hunt (Version 1.9R, set 1)", 0) | |
| 5504 | GAME( 2003, anithuntd1, anithunt, sfbonus, amcoe1_reels3, anithuntd, ROT0, "Amcoe", "Animal Treasure Hunt (Version 1.9R, set 2)", 0) | |
| 5505 | GAME( 2003, anithuntv1, anithunt, sfbonus, amcoe1_reels3, anithuntv, ROT0, "Amcoe", "Animal Treasure Hunt (Version 1.9R Dual)", 0) | |
| 5506 | GAME( 2003, anithunto, anithunt, sfbonus, amcoe2_reels3, anithunt, ROT0, "Amcoe", "Animal Treasure Hunt (Version 1.7)", 0) | |
| 5507 | GAME( 2003, anithunto2, anithunt, sfbonus, amcoe2_reels3, anithunt, ROT0, "Amcoe", "Animal Treasure Hunt (Version 1.5)", 0) | |
| 5363 | 5508 | |
| 5509 | GAME( 2002, sfruitb, 0, sfbonus, amcoe1_reels3, sfruitbv2, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.5E Dual)", 0) | |
| 5510 | GAME( 2002, sfruitbb1, sfruitb, sfbonus, amcoe2_reels3, sfruitb, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.5R, set 1)", 0) | |
| 5511 | GAME( 2002, sfruitbd1, sfruitb, sfbonus, amcoe1_reels3, sfruitbd, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.5R, set 2)", 0) | |
| 5512 | GAME( 2002, sfruitbv1, sfruitb, sfbonus, amcoe1_reels3, sfruitbv, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.5R Dual)", 0) | |
| 5513 | GAME( 2002, sfruitbb2, sfruitb, sfbonus, amcoe2_reels3, sfruitb, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.0LT, set 1)", 0) | |
| 5514 | GAME( 2002, sfruitbd2, sfruitb, sfbonus, amcoe1_reels3, sfruitbd, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.0LT, set 2)", 0) | |
| 5515 | GAME( 2002, sfruitbv2, sfruitb, sfbonus, amcoe1_reels3, sfruitbv, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.0LT Dual)", 0) | |
| 5516 | GAME( 2002, sfruitbo, sfruitb, sfbonus, amcoe2_reels3, sfruitb, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.0)", 0) | |
| 5517 | GAME( 2002, sfruitbo2, sfruitb, sfbonus, amcoe2_reels3, sfruitb, ROT0, "Amcoe", "Super Fruit Bonus (Version 1.80XT)", 0) | |
| 5364 | 5518 | |
| 5365 | GAME( 2004, tighook, 0, sfbonus, amcoetype1, tighook, ROT0, "Amcoe", "Tiger Hook (Version 1.7XT)", 0) | |
| 5366 | GAME( 2004, tighooka, tighook, sfbonus, amcoetype1, tighook, ROT0, "Amcoe", "Tiger Hook (Version 1.7)", 0) | |
| 5519 | GAME( 2002, sfruitbh, sfruitb, sfbonus, amcoe1_reels3, sfruitbv2, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.2EB Dual)", 0) | |
| 5520 | GAME( 2002, sfruitbbh, sfruitb, sfbonus, amcoe2_reels3, sfruitb, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.2B, set 1)", 0) | |
| 5521 | GAME( 2002, sfruitbdh, sfruitb, sfbonus, amcoe1_reels3, sfruitbd, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.2B, set 2)", 0) | |
| 5522 | GAME( 2002, sfruitbvh, sfruitb, sfbonus, amcoe1_reels3, sfruitbv, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.2B Dual)", 0) | |
| 5523 | GAME( 2002, sfruitboh, sfruitb, sfbonus, amcoe2_reels3, sfruitb, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.0B)", 0) | |
| 5367 | 5524 | |
| 5368 | GAME( 2004, tighookc, tighook, sfbonus, amcoetype1, tighook, ROT0, "Amcoe", "Tiger Hook (Version 2.1R, set 1)", 0) | |
| 5369 | GAME( 2004, tighookd, tighook, sfbonus, amcoetype1, tighookd, ROT0, "Amcoe", "Tiger Hook (Version 2.1R, set 2)", 0) | |
| 5370 | GAME( 2004, tighookv, tighook, sfbonus, amcoetype1, tighookv, ROT0, "Amcoe", "Tiger Hook (Version 2.1R Dual)", 0) | |
| 5525 | GAME( 2004, fb2gen, 0, sfbonus, amcoe1_reels3, fb2genv3, ROT0, "Amcoe", "Fruit Bonus 2nd Generation (Version 1.8E Dual)", 0) | |
| 5526 | GAME( 2004, fb2genc1, fb2gen, sfbonus, amcoe1_reels3, fb2gen, ROT0, "Amcoe", "Fruit Bonus 2nd Generation (Version 1.8R, set 1)", 0) | |
| 5527 | GAME( 2004, fb2gend1, fb2gen, sfbonus, amcoe1_reels3, fb2gend, ROT0, "Amcoe", "Fruit Bonus 2nd Generation (Version 1.8R, set 2)", 0) | |
| 5528 | GAME( 2004, fb2genv1, fb2gen, sfbonus, amcoe1_reels3, fb2genv, ROT0, "Amcoe", "Fruit Bonus 2nd Generation (Version 1.8R Dual)", 0) | |
| 5529 | GAME( 2004, fb2genc2, fb2gen, sfbonus, amcoe1_reels3, fb2gen, ROT0, "Amcoe", "Fruit Bonus 2nd Generation (Version 1.8LT, set 1)", 0) | |
| 5530 | GAME( 2004, fb2gend2, fb2gen, sfbonus, amcoe1_reels3, fb2gend, ROT0, "Amcoe", "Fruit Bonus 2nd Generation (Version 1.8LT, set 2)", 0) | |
| 5531 | GAME( 2004, fb2genv2, fb2gen, sfbonus, amcoe1_reels3, fb2genv, ROT0, "Amcoe", "Fruit Bonus 2nd Generation (Version 1.8LT Dual)", 0) | |
| 5532 | GAME( 2004, fb2geno, fb2gen, sfbonus, amcoe1_reels3, fb2gen, ROT0, "Amcoe", "Fruit Bonus 2nd Generation (Version 1.6XT)", 0) | |
| 5533 | GAME( 2004, fb2geno2, fb2gen, sfbonus, amcoe1_reels3, fb2gen, ROT0, "Amcoe", "Fruit Bonus 2nd Generation (Version 1.5)", 0) | |
| 5371 | 5534 | |
| 5372 | GAME( 2004, tighookc2, tighook, sfbonus, amcoetype1, tighook, ROT0, "Amcoe", "Tiger Hook (Version 2.0LT, set 1)", 0) | |
| 5373 | GAME( 2004, tighookd2, tighook, sfbonus, amcoetype1, tighookd, ROT0, "Amcoe", "Tiger Hook (Version 2.0LT, set 2)", 0) | |
| 5374 | GAME( 2004, tighookv3, tighook, sfbonus, amcoetype1, tighookv, ROT0, "Amcoe", "Tiger Hook (Version 2.0LT Dual)", 0) | |
| 5535 | GAME( 2004, fb2nd, 0, sfbonus, amcoe1_reels3, fb2nd, ROT0, "Amcoe", "Fruit Bonus 2nd Edition (Version 1.8R, set 1)", 0) | |
| 5536 | GAME( 2004, fb2ndd1, fb2nd, sfbonus, amcoe1_reels3, fb2ndd, ROT0, "Amcoe", "Fruit Bonus 2nd Edition (Version 1.8R, set 2)", 0) | |
| 5537 | GAME( 2004, fb2ndv1, fb2nd, sfbonus, amcoe1_reels3, fb2ndv, ROT0, "Amcoe", "Fruit Bonus 2nd Edition (Version 1.8R Dual)", 0) | |
| 5538 | GAME( 2004, fb2ndc2, fb2nd, sfbonus, amcoe1_reels3, fb2nd, ROT0, "Amcoe", "Fruit Bonus 2nd Edition (Version 1.8LT, set 1)", 0) | |
| 5539 | GAME( 2004, fb2ndd2, fb2nd, sfbonus, amcoe1_reels3, fb2ndd, ROT0, "Amcoe", "Fruit Bonus 2nd Edition (Version 1.8LT, set 2)", 0) | |
| 5540 | GAME( 2004, fb2ndv2, fb2nd, sfbonus, amcoe1_reels3, fb2ndv, ROT0, "Amcoe", "Fruit Bonus 2nd Edition (Version 1.8LT Dual)", 0) | |
| 5541 | GAME( 2004, fb2ndo, fb2nd, sfbonus, amcoe1_reels3, fb2nd, ROT0, "Amcoe", "Fruit Bonus 2nd Edition (Version 1.5)", 0) | |
| 5375 | 5542 | |
| 5376 | GAME( 2004, tighookv2, tighook, sfbonus, amcoetype1, tighookv2,ROT0, "Amcoe", "Tiger Hook (Version 2.1E Dual)", 0) | |
| 5543 | GAME( 2004, fb4, 0, sfbonus, amcoe2_reels3, fb4, ROT0, "Amcoe", "Fruit Bonus 2004 (Version 1.5R, set 1)", 0) | |
| 5544 | GAME( 2004, fb4c1, fb4, sfbonus, amcoe1_reels3, fb4, ROT0, "Amcoe", "Fruit Bonus 2004 (Version 1.5R, set 2)", 0) | |
| 5545 | GAME( 2004, fb4d1, fb4, sfbonus, amcoe1_reels3, fb4d, ROT0, "Amcoe", "Fruit Bonus 2004 (Version 1.5R, set 3)", 0) | |
| 5546 | GAME( 2004, fb4v1, fb4, sfbonus, amcoe1_reels3, fb4v, ROT0, "Amcoe", "Fruit Bonus 2004 (Version 1.5R Dual)", 0) | |
| 5547 | GAME( 2004, fb4exp, fb4, sfbonus, amcoe1_reels3, fb4v3, ROT0, "Amcoe", "Fruit Bonus 2005 (2004 Export - Version 1.5E Dual)", 0) // the export version has '2005' title, but is considered the same game as fb4 and labeled as such | |
| 5548 | GAME( 2004, fb4b2, fb4, sfbonus, amcoe2_reels3, fb4, ROT0, "Amcoe", "Fruit Bonus 2004 (Version 1.5LT, set 1)", 0) | |
| 5549 | GAME( 2004, fb4c2, fb4, sfbonus, amcoe1_reels3, fb4, ROT0, "Amcoe", "Fruit Bonus 2004 (Version 1.5LT, set 2)", 0) | |
| 5550 | GAME( 2004, fb4d2, fb4, sfbonus, amcoe1_reels3, fb4d, ROT0, "Amcoe", "Fruit Bonus 2004 (Version 1.5LT, set 3)", 0) | |
| 5551 | GAME( 2004, fb4v2, fb4, sfbonus, amcoe1_reels3, fb4v, ROT0, "Amcoe", "Fruit Bonus 2004 (Version 1.5LT Dual)", 0) | |
| 5552 | GAME( 2004, fb4o, fb4, sfbonus, amcoe2_reels3, fb4, ROT0, "Amcoe", "Fruit Bonus 2004 (Version 1.3XT)", 0) | |
| 5553 | GAME( 2004, fb4o2, fb4, sfbonus, amcoe2_reels3, fb4, ROT0, "Amcoe", "Fruit Bonus 2004 (Version 1.2)", 0) | |
| 5377 | 5554 | |
| 5378 | GAME( 2003, robadv, 0, sfbonus, amcoetype1, robadv, ROT0, "Amcoe", "Robin Adventure (Version 1.5)", 0) | |
| 5555 | GAME( 1999, act2000, 0, sfbonus, amcoe1_reels3, act2000v2, ROT0, "Amcoe", "Action 2000 (Version 3.5E Dual)", 0) | |
| 5556 | GAME( 1999, act2000v1, act2000, sfbonus, amcoe1_reels3, act2000v, ROT0, "Amcoe", "Action 2000 (Version 3.5R Dual)", 0) | |
| 5557 | GAME( 1999, act2000d1, act2000, sfbonus, amcoe1_reels3, act2000d, ROT0, "Amcoe", "Action 2000 (Version 3.5R, set 1)", 0) | |
| 5558 | GAME( 1999, act2000b1, act2000, sfbonus, amcoe2_reels3, act2000, ROT0, "Amcoe", "Action 2000 (Version 3.5R, set 2)", 0) | |
| 5559 | GAME( 1999, act2000vx, act2000, sfbonus, amcoe1_reels3, act2000v3, ROT0, "Amcoe", "Action 2000 (Version 3.30XT Dual)", 0) | |
| 5560 | GAME( 1999, act2000dx, act2000, sfbonus, amcoe1_reels3, act2000d, ROT0, "Amcoe", "Action 2000 (Version 3.30XT, set 1)", 0) | |
| 5561 | GAME( 1999, act2000bx, act2000, sfbonus, amcoe2_reels3, act2000, ROT0, "Amcoe", "Action 2000 (Version 3.30XT, set 2)", 0) | |
| 5562 | GAME( 1999, act2000o, act2000, sfbonus, amcoe2_reels3, act2000, ROT0, "Amcoe", "Action 2000 (Version 3.3)", 0) | |
| 5563 | GAME( 1999, act2000o2, act2000, sfbonus, amcoe2_reels3, act2000, ROT0, "Amcoe", "Action 2000 (Version 3.10XT)", 0) | |
| 5564 | GAME( 1999, act2000o3, act2000, sfbonus, amcoe2_reels3, act2000, ROT0, "Amcoe", "Action 2000 (Version 1.2)", 0) | |
| 5379 | 5565 | |
| 5380 | GAME( 2003, robadvc, robadv, sfbonus, amcoetype1, robadv, ROT0, "Amcoe", "Robin Adventure (Version 1.7R, set 1)", 0) | |
| 5381 | GAME( 2003, robadvd, robadv, sfbonus, amcoetype1, robadv2d, ROT0, "Amcoe", "Robin Adventure (Version 1.7R, set 2)", 0) | |
| 5382 | GAME( 2003, robadvv2, robadv, sfbonus, amcoetype1, robadv2v1,ROT0, "Amcoe", "Robin Adventure (Version 1.7R Dual)", 0) | |
| 5566 | GAME( 2000, ch2000, 0, sfbonus, amcoe1_reels3, ch2000v2, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 4.4E Dual)", 0) | |
| 5567 | GAME( 2000, ch2000b1, ch2000, sfbonus, amcoe2_reels3, ch2000, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 4.4R, set 1)", 0) | |
| 5568 | GAME( 2000, ch2000c1, ch2000, sfbonus, amcoe1_reels3, ch2000c, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 4.4R, set 2)", 0) | |
| 5569 | GAME( 2000, ch2000d1, ch2000, sfbonus, amcoe1_reels3, ch2000d, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 4.4R, set 3)", 0) | |
| 5570 | GAME( 2000, ch2000v1, ch2000, sfbonus, amcoe1_reels3, ch2000v, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 4.4R Dual)", 0) | |
| 5571 | GAME( 2000, ch2000b2, ch2000, sfbonus, amcoe2_reels3, ch2000, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 4.1LT, set 1)", 0) | |
| 5572 | GAME( 2000, ch2000c2, ch2000, sfbonus, amcoe1_reels3, ch2000c, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 4.1LT, set 2)", 0) | |
| 5573 | GAME( 2000, ch2000d2, ch2000, sfbonus, amcoe1_reels3, ch2000d, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 4.1LT, set 3)", 0) | |
| 5574 | GAME( 2000, ch2000v2, ch2000, sfbonus, amcoe1_reels3, ch2000v3, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 4.1LT Dual)", 0) | |
| 5575 | GAME( 2000, ch2000o, ch2000, sfbonus, amcoe2_reels3, ch2000, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 3.9XT)", 0) | |
| 5576 | GAME( 2000, ch2000o2, ch2000, sfbonus, amcoe2_reels3, ch2000, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 3.9D)", 0) | |
| 5577 | GAME( 2000, ch2000o3, ch2000, sfbonus, amcoe2_reels3, ch2000, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 3.9)", 0) | |
| 5383 | 5578 | |
| 5384 | GAME( 2003, robadvv1, robadv, sfbonus, amcoetype1, robadv2v4,ROT0, "Amcoe", "Robin Adventure (Version 1.7E Dual)", 0) | |
| 5579 | GAME( 2001, pir2001, 0, sfbonus, amcoe1_reels3, pir2001v2, ROT0, "Amcoe", "Pirate 2001 (Version 2.5E Dual)", 0) | |
| 5580 | GAME( 2001, pir2001b1, pir2001, sfbonus, amcoe2_reels3, pir2001, ROT0, "Amcoe", "Pirate 2001 (Version 2.5R, set 1)", 0) | |
| 5581 | GAME( 2001, pir2001d1, pir2001, sfbonus, amcoe1_reels3, pir2001d, ROT0, "Amcoe", "Pirate 2001 (Version 2.5R, set 2)", 0) | |
| 5582 | GAME( 2001, pir2001v1, pir2001, sfbonus, amcoe1_reels3, pir2001v, ROT0, "Amcoe", "Pirate 2001 (Version 2.5R Dual)", 0) | |
| 5583 | GAME( 2001, pir2001bx, pir2001, sfbonus, amcoe2_reels3, pir2001, ROT0, "Amcoe", "Pirate 2001 (Version 2.40XT, set 1)", 0) | |
| 5584 | GAME( 2001, pir2001dx, pir2001, sfbonus, amcoe1_reels3, pir2001d, ROT0, "Amcoe", "Pirate 2001 (Version 2.40XT, set 2)", 0) | |
| 5585 | GAME( 2001, pir2001vx, pir2001, sfbonus, amcoe1_reels3, pir2001v, ROT0, "Amcoe", "Pirate 2001 (Version 2.40XT Dual)", 0) | |
| 5586 | GAME( 2001, pir2001o, pir2001, sfbonus, amcoe2_reels3, pir2001, ROT0, "Amcoe", "Pirate 2001 (Version 2.3N)", 0) | |
| 5587 | GAME( 2001, pir2001o2, pir2001, sfbonus, amcoe2_reels3, pir2001, ROT0, "Amcoe", "Pirate 2001 (Version 2.3)", 0) | |
| 5588 | GAME( 2001, pir2001o3, pir2001, sfbonus, amcoe2_reels3, pir2001, ROT0, "Amcoe", "Pirate 2001 (Version 2.20XT)", 0) | |
| 5385 | 5589 | |
| 5386 | GAME( 2004, robadv2, 0, sfbonus, amcoetype1, robadv, ROT0, "Amcoe", "Robin Adventure 2 (Version 1.5SH)", 0) | |
| 5590 | GAME( 2001, pir2002, 0, sfbonus, amcoe1_reels3, pir2002v2, ROT0, "Amcoe", "Pirate 2002 (Version 2.0E Dual)", 0) | |
| 5591 | GAME( 2001, pir2002b1, pir2002, sfbonus, amcoe2_reels3, pir2002, ROT0, "Amcoe", "Pirate 2002 (Version 2.0R, set 1)", 0) | |
| 5592 | GAME( 2001, pir2002d1, pir2002, sfbonus, amcoe1_reels3, pir2002d, ROT0, "Amcoe", "Pirate 2002 (Version 2.0R, set 2)", 0) | |
| 5593 | GAME( 2001, pir2002v1, pir2002, sfbonus, amcoe1_reels3, pir2002v, ROT0, "Amcoe", "Pirate 2002 (Version 2.0R Dual)", 0) | |
| 5594 | GAME( 2001, pir2002bx, pir2002, sfbonus, amcoe2_reels3, pir2002, ROT0, "Amcoe", "Pirate 2002 (Version 1.90XT, set 1)", 0) | |
| 5595 | GAME( 2001, pir2002dx, pir2002, sfbonus, amcoe1_reels3, pir2002d, ROT0, "Amcoe", "Pirate 2002 (Version 1.90XT, set 2)", 0) | |
| 5596 | GAME( 2001, pir2002vx, pir2002, sfbonus, amcoe1_reels3, pir2002v, ROT0, "Amcoe", "Pirate 2002 (Version 1.90XT Dual)", 0) | |
| 5597 | GAME( 2001, pir2002o, pir2002, sfbonus, amcoe2_reels3, pir2002, ROT0, "Amcoe", "Pirate 2002 (Version 1.8N)", 0) | |
| 5598 | GAME( 2001, pir2002o2, pir2002, sfbonus, amcoe2_reels3, pir2002, ROT0, "Amcoe", "Pirate 2002 (Version 1.8)", 0) | |
| 5599 | GAME( 2001, pir2002o3, pir2002, sfbonus, amcoe2_reels3, pir2002, ROT0, "Amcoe", "Pirate 2002 (Version 1.70XT)", 0) | |
| 5387 | 5600 | |
| 5388 | GAME( 2004, robadv2a, robadv2, sfbonus, amcoetype1, robadv, ROT0, "Amcoe", "Robin Adventure 2 (Version 1.5)", 0) | |
| 5601 | GAME( 2004, classice, 0, sfbonus, amcoe1_reels3, classiced3, ROT0, "Amcoe", "Classic Edition (Version 1.6E)", 0) | |
| 5602 | GAME( 2004, classicev, classice, sfbonus, amcoe1_reels3, classicev3, ROT0, "Amcoe", "Classic Edition (Version 1.6E Dual)", 0) | |
| 5603 | GAME( 2004, classice1, classice, sfbonus, amcoe1_reels3, classice, ROT0, "Amcoe", "Classic Edition (Version 1.6R, set 1)", 0) | |
| 5604 | GAME( 2004, classiced1, classice, sfbonus, amcoe1_reels3, classiced, ROT0, "Amcoe", "Classic Edition (Version 1.6R, set 2)", 0) | |
| 5605 | GAME( 2004, classicev1, classice, sfbonus, amcoe1_reels3, classicev, ROT0, "Amcoe", "Classic Edition (Version 1.6R Dual)", 0) | |
| 5606 | GAME( 2004, classice2, classice, sfbonus, amcoe1_reels3, classice, ROT0, "Amcoe", "Classic Edition (Version 1.6LT, set 1)", 0) | |
| 5607 | GAME( 2004, classiced2, classice, sfbonus, amcoe1_reels3, classiced, ROT0, "Amcoe", "Classic Edition (Version 1.6LT, set 2)", 0) | |
| 5608 | GAME( 2004, classicev2, classice, sfbonus, amcoe1_reels3, classicev, ROT0, "Amcoe", "Classic Edition (Version 1.6LT Dual)", 0) | |
| 5389 | 5609 | |
| 5390 | GAME( 2004, robadv2c, robadv2, sfbonus, amcoetype1, robadv, ROT0, "Amcoe", "Robin Adventure 2 (Version 1.7LT, set 1)", 0) | |
| 5391 | GAME( 2004, robadv2d, robadv2, sfbonus, amcoetype1, robadv2d, ROT0, "Amcoe", "Robin Adventure 2 (Version 1.7LT, set 2)", 0) | |
| 5392 | GAME( 2004, robadv2v3, robadv2, sfbonus, amcoetype1, robadv2v1,ROT0, "Amcoe", "Robin Adventure 2 (Version 1.7LT Dual)", 0) | |
| 5610 | GAME( 2007, atworld, 0, sfbonus, amcoe1_reels3, atworld, ROT0, "Amcoe", "Around The World (Version 1.3E CGA)", 0) /* Year according to Amcoe web site - too new */ | |
| 5611 | GAME( 2007, atworldd1, atworld, sfbonus, amcoe1_reels3, atworldd, ROT0, "Amcoe", "Around The World (Version 1.3R CGA)", 0) /* Year according to Amcoe web site - too new */ | |
| 5393 | 5612 | |
| 5394 | GAME( 2004, robadv2d2, robadv2, sfbonus, amcoetype1, robadv2d, ROT0, "Amcoe", "Robin Adventure 2 (Version 1.7R, set 1)", 0) | |
| 5395 | GAME( 2004, robadv2c2, robadv2, sfbonus, amcoetype1, robadv, ROT0, "Amcoe", "Robin Adventure 2 (Version 1.7R, set 2)", 0) | |
| 5396 | GAME( 2004, robadv2v2, robadv2, sfbonus, amcoetype1, robadv2v1,ROT0, "Amcoe", "Robin Adventure 2 (Version 1.7R Dual)", 0) | |
| 5613 | GAME( 200?, seawld, 0, sfbonus, amcoe1_reels3, seawldv, ROT0, "Amcoe", "Sea World (Version 1.6E Dual)", 0) | |
| 5614 | GAME( 200?, seawldd1, seawld, sfbonus, amcoe1_reels3, seawld, ROT0, "Amcoe", "Sea World (Version 1.6R CGA)", 0) | |
| 5397 | 5615 | |
| 5398 | GAME( 2004, robadv2d3, robadv2, sfbonus, amcoetype1, robadv2d, ROT0, "Amcoe", "Robin Adventure 2 (Version 1.7SH, set 1)", 0) | |
| 5399 | GAME( 2004, robadv2c3, robadv2, sfbonus, amcoetype1, robadv, ROT0, "Amcoe", "Robin Adventure 2 (Version 1.7SH, set 2)", 0) | |
| 5400 | GAME( 2004, robadv2v1, robadv2, sfbonus, amcoetype1, robadv2v1,ROT0, "Amcoe", "Robin Adventure 2 (Version 1.7SH Dual)", 0) | |
| 5616 | GAME( 200?, moneymac, 0, sfbonus, amcoe1_reels3, moneymacv, ROT0, "Amcoe", "Money Machine (Version 1.7E Dual)", 0) | |
| 5617 | GAME( 200?, moneymacd1, moneymac, sfbonus, amcoe1_reels3, moneymacd, ROT0, "Amcoe", "Money Machine (Version 1.7R)", 0) | |
| 5618 | GAME( 200?, moneymacv1, moneymac, sfbonus, amcoe1_reels3, moneymac, ROT0, "Amcoe", "Money Machine (Version 1.7R Dual)", 0) | |
| 5619 | GAME( 200?, moneymacd2, moneymac, sfbonus, amcoe1_reels3, moneymacd, ROT0, "Amcoe", "Money Machine (Version 1.7LT)", 0) | |
| 5620 | GAME( 200?, moneymacv2, moneymac, sfbonus, amcoe1_reels3, moneymac, ROT0, "Amcoe", "Money Machine (Version 1.7LT Dual)", 0) | |
| 5401 | 5621 | |
| 5402 | GAME( 2004, robadv2v4, robadv2, sfbonus, amcoetype1, robadv2v4,ROT0, "Amcoe", "Robin Adventure 2 (Version 1.7E Dual)", 0) | |
| 5622 | GAME( 2005, fb5, 0, sfbonus, amcoe2_reels3, fb5, ROT0, "Amcoe", "Fruit Bonus 2005 (Version 1.5SH, set 1)", 0) | |
| 5623 | GAME( 2005, fb5c, fb5, sfbonus, amcoe1_reels3, fb5, ROT0, "Amcoe", "Fruit Bonus 2005 (Version 1.5SH, set 2)", 0) | |
| 5624 | GAME( 2005, fb5d, fb5, sfbonus, amcoe1_reels3, fb5d, ROT0, "Amcoe", "Fruit Bonus 2005 (Version 1.5SH, set 3)", 0) | |
| 5625 | GAME( 2005, fb5v, fb5, sfbonus, amcoe1_reels3, fb5v, ROT0, "Amcoe", "Fruit Bonus 2005 (Version 1.5SH Dual)", 0) | |
| 5403 | 5626 | |
| 5404 | GAMEL( 2003, pirpok2, 0, sfbonus, amcoetype2, pirpok2, ROT0, "Amcoe", "Pirate Poker II (Version 2.0)", 0, layout_pirpok2) | |
| 5627 | GAME( 200?, fb6, 0, sfbonus, amcoe1_reels3, fb6, ROT0, "Amcoe", "Fruit Bonus '06 - 10th anniversary (Version 1.7E CGA)", 0) | |
| 5628 | GAME( 200?, fb6v, fb6, sfbonus, amcoe1_reels3, fb6v3, ROT0, "Amcoe", "Fruit Bonus '06 - 10th anniversary (Version 1.7E Dual)", 0) | |
| 5629 | GAME( 200?, fb6d1, fb6, sfbonus, amcoe1_reels3, fb6d, ROT0, "Amcoe", "Fruit Bonus '06 - 10th anniversary (Version 1.7R CGA, set 1)", 0) | |
| 5630 | GAME( 200?, fb6s1, fb6, sfbonus, amcoe1_reels3, fb6s, ROT0, "Amcoe", "Fruit Bonus '06 - 10th anniversary (Version 1.7R CGA, set 2)", GAME_NOT_WORKING) // no reel gfx | |
| 5631 | GAME( 200?, fb6v1, fb6, sfbonus, amcoe1_reels3, fb6v, ROT0, "Amcoe", "Fruit Bonus '06 - 10th anniversary (Version 1.7R Dual)", 0) | |
| 5632 | GAME( 200?, fb6d2, fb6, sfbonus, amcoe1_reels3, fb6d, ROT0, "Amcoe", "Fruit Bonus '06 - 10th anniversary (Version 1.7LT CGA, set 1)", 0) | |
| 5633 | GAME( 200?, fb6s2, fb6, sfbonus, amcoe1_reels3, fb6s, ROT0, "Amcoe", "Fruit Bonus '06 - 10th anniversary (Version 1.7LT CGA, set 2)", GAME_NOT_WORKING) // no reel gfx | |
| 5634 | GAME( 200?, fb6v2, fb6, sfbonus, amcoe1_reels3, fb6v, ROT0, "Amcoe", "Fruit Bonus '06 - 10th anniversary (Version 1.7LT Dual)", 0) | |
| 5405 | 5635 | |
| 5406 | GAMEL( 2003, pirpok2b, pirpok2, sfbonus, amcoetype2, pirpok2, ROT0, "Amcoe", "Pirate Poker II (Version 2.2R, set 1)", 0, layout_pirpok2) | |
| 5407 | GAMEL( 2003, pirpok2d, pirpok2, sfbonus, amcoetype1, pirpok2d,ROT0, "Amcoe", "Pirate Poker II (Version 2.2R, set 2)", 0, layout_pirpok2) | |
| 5408 | GAMEL( 2003, pirpok2v, pirpok2, sfbonus, amcoetype1, pirpok2v,ROT0, "Amcoe", "Pirate Poker II (Version 2.2R Dual)", 0, layout_pirpok2) | |
| 5636 | GAME( 2006, fb6se, 0, sfbonus, amcoe1_reels3, fb6, ROT0, "Amcoe", "Fruit Bonus 2006 Special Edition (Version 1.4E CGA)", 0) /* Released August 2006 according to Amcoe web site */ | |
| 5637 | GAME( 2006, fb6sev, fb6se, sfbonus, amcoe1_reels3, fb6v3, ROT0, "Amcoe", "Fruit Bonus 2006 Special Edition (Version 1.4E Dual)", 0) | |
| 5638 | GAME( 2006, fb6sed1, fb6se, sfbonus, amcoe1_reels3, fb6d, ROT0, "Amcoe", "Fruit Bonus 2006 Special Edition (Version 1.4R CGA)", 0) | |
| 5639 | GAME( 2006, fb6sev1, fb6se, sfbonus, amcoe1_reels3, fb6v, ROT0, "Amcoe", "Fruit Bonus 2006 Special Edition (Version 1.4R Dual)", 0) | |
| 5640 | GAME( 2006, fb6sed2, fb6se, sfbonus, amcoe1_reels3, fb6d, ROT0, "Amcoe", "Fruit Bonus 2006 Special Edition (Version 1.4LT CGA)", 0) | |
| 5641 | GAME( 2006, fb6sev2, fb6se, sfbonus, amcoe1_reels3, fb6v, ROT0, "Amcoe", "Fruit Bonus 2006 Special Edition (Version 1.4LT Dual)", 0) | |
| 5409 | 5642 | |
| 5410 | GAMEL( 2003, pirpok2v2, pirpok2, sfbonus, amcoetype1, pirpok2v2,ROT0, "Amcoe", "Pirate Poker II (Version 2.4E Dual)", 0, layout_pirpok2) | |
| 5411 | ||
| 5412 | GAME( 2003, anibonus, 0, sfbonus, amcoetype2, anibonus, ROT0, "Amcoe", "Animal Bonus (Version 1.50XT)", 0) | |
| 5413 | ||
| 5414 | GAME( 2003, anibonus2, anibonus, sfbonus, amcoetype2, anibonus, ROT0, "Amcoe", "Animal Bonus (Version 1.5)", 0) | |
| 5415 | ||
| 5416 | GAME( 2003, anibonus3, anibonus, sfbonus, amcoetype2, anibonus3,ROT0, "Amcoe", "Animal Bonus (Version 1.40XT, set 1)", 0) | |
| 5417 | GAME( 2003, anibonus4, anibonus, sfbonus, amcoetype2, anibonus, ROT0, "Amcoe", "Animal Bonus (Version 1.40XT, set 2)", 0) | |
| 5418 | ||
| 5419 | GAME( 2003, anibonus5, anibonus, sfbonus, amcoetype2, anibonus3,ROT0, "Amcoe", "Animal Bonus (Version 1.4, set 1)", 0) | |
| 5420 | GAME( 2003, anibonus6, anibonus, sfbonus, amcoetype2, anibonus, ROT0, "Amcoe", "Animal Bonus (Version 1.4, set 2)", 0) | |
| 5421 | ||
| 5422 | GAME( 2003, anibonusb, anibonus, sfbonus, amcoetype2, anibonus, ROT0, "Amcoe", "Animal Bonus (Version 1.7R, set 1)", 0) | |
| 5423 | GAME( 2003, anibonusd, anibonus, sfbonus, amcoetype1, anibonusd,ROT0, "Amcoe", "Animal Bonus (Version 1.7R, set 2)", 0) | |
| 5424 | GAME( 2003, anibonusv, anibonus, sfbonus, amcoetype1, anibonusv,ROT0, "Amcoe", "Animal Bonus (Version 1.8R Dual)", 0) | |
| 5425 | ||
| 5426 | GAME( 2003, anibonusb2, anibonus, sfbonus, amcoetype2, anibonus, ROT0, "Amcoe", "Animal Bonus (Version 1.7LT, set 1)", 0) | |
| 5427 | GAME( 2003, anibonusd2, anibonus, sfbonus, amcoetype1, anibonusd,ROT0, "Amcoe", "Animal Bonus (Version 1.7LT, set 2)", 0) | |
| 5428 | GAME( 2003, anibonusv2, anibonus, sfbonus, amcoetype1, anibonusv,ROT0, "Amcoe", "Animal Bonus (Version 1.8LT Dual)", 0) | |
| 5429 | ||
| 5430 | GAME( 2003, anibonusv3, anibonus, sfbonus, amcoetype1, anibonusv3,ROT0, "Amcoe", "Animal Bonus (Version 1.8E Dual)", 0) | |
| 5431 | ||
| 5432 | GAME( 2000, abnudge, 0, sfbonus, amcoetype2, abnudge, ROT0, "Amcoe", "Animal Bonus Nudge (Version 1.7)", 0) | |
| 5433 | GAME( 2000, abnudgeb, abnudge, sfbonus, amcoetype2, abnudge, ROT0, "Amcoe", "Animal Bonus Nudge (Version 2.0, set 1)", 0) | |
| 5434 | GAME( 2000, abnudged, abnudge, sfbonus, amcoetype1, abnudged,ROT0, "Amcoe", "Animal Bonus Nudge (Version 2.0, set 2)", 0) | |
| 5435 | GAME( 2000, abnudgev, abnudge, sfbonus, amcoetype1, abnudgev,ROT0, "Amcoe", "Animal Bonus Nudge (Version 2.1 Dual)", 0) | |
| 5436 | ||
| 5437 | GAME( 2003, dblchal, 0, sfbonus, amcoetype2, dblchal, ROT0, "Amcoe", "Double Challenge (Version 1.1)", 0) | |
| 5438 | ||
| 5439 | GAME( 2003, dblchalb, dblchal, sfbonus, amcoetype2, dblchal, ROT0, "Amcoe", "Double Challenge (Version 1.5R, set 1)", 0) | |
| 5440 | GAME( 2003, dblchalc, dblchal, sfbonus, amcoetype1, dblchal, ROT0, "Amcoe", "Double Challenge (Version 1.5R, set 2)", 0) | |
| 5441 | GAME( 2003, dblchald, dblchal, sfbonus, amcoetype1, dblchald,ROT0, "Amcoe", "Double Challenge (Version 1.5R, set 3)", 0) | |
| 5442 | GAME( 2003, dblchalv, dblchal, sfbonus, amcoetype1, dblchalv,ROT0, "Amcoe", "Double Challenge (Version 1.5R Dual)", 0) | |
| 5443 | ||
| 5444 | GAME( 2003, anithunt, 0, sfbonus, amcoetype2, anithunt, ROT0, "Amcoe", "Animal Treasure Hunt (Version 1.7)", 0) | |
| 5445 | ||
| 5446 | GAME( 2003, anithunt2, anithunt, sfbonus, amcoetype2, anithunt, ROT0, "Amcoe", "Animal Treasure Hunt (Version 1.5)", 0) | |
| 5447 | ||
| 5448 | GAME( 2003, anithuntb, anithunt, sfbonus, amcoetype2, anithunt, ROT0, "Amcoe", "Animal Treasure Hunt (Version 1.9R, set 1)", 0) | |
| 5449 | GAME( 2003, anithuntd, anithunt, sfbonus, amcoetype1, anithuntd,ROT0, "Amcoe", "Animal Treasure Hunt (Version 1.9R, set 2)", 0) | |
| 5450 | GAME( 2003, anithuntv, anithunt, sfbonus, amcoetype1, anithuntv,ROT0, "Amcoe", "Animal Treasure Hunt (Version 1.9R Dual)", 0) | |
| 5451 | ||
| 5452 | GAME( 2002, sfruitb2, sfruitb, sfbonus, amcoetype2, sfruitb, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.0)", 0) | |
| 5453 | GAME( 2002, sfruitb, 0, sfbonus, amcoetype2, sfruitb, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.0B)", 0) // 'high bonus version' | |
| 5454 | ||
| 5455 | GAME( 2002, sfruitbb, sfruitb, sfbonus, amcoetype2, sfruitb, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.0LT, set 1)", 0) | |
| 5456 | GAME( 2002, sfruitbd, sfruitb, sfbonus, amcoetype1, sfruitbd,ROT0, "Amcoe", "Super Fruit Bonus (Version 2.0LT, set 2)", 0) | |
| 5457 | GAME( 2002, sfruitbv5, sfruitb, sfbonus, amcoetype1, sfruitbv,ROT0, "Amcoe", "Super Fruit Bonus (Version 2.0LT Dual)", 0) | |
| 5458 | ||
| 5459 | GAME( 2002, sfruitbb2, sfruitb, sfbonus, amcoetype2, sfruitb, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.2B, set 1)", 0) // 'high bonus version' | |
| 5460 | GAME( 2002, sfruitbd2, sfruitb, sfbonus, amcoetype1, sfruitbd,ROT0, "Amcoe", "Super Fruit Bonus (Version 2.2B, set 2)", 0) // 'high bonus version' | |
| 5461 | GAME( 2002, sfruitbv4, sfruitb, sfbonus, amcoetype1, sfruitbv,ROT0, "Amcoe", "Super Fruit Bonus (Version 2.2B Dual)", 0) // 'high bonus version' | |
| 5462 | ||
| 5463 | GAME( 2002, sfruitbb3, sfruitb, sfbonus, amcoetype2, sfruitb, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.5R, set 1)", 0) | |
| 5464 | GAME( 2002, sfruitbd3, sfruitb, sfbonus, amcoetype1, sfruitbd,ROT0, "Amcoe", "Super Fruit Bonus (Version 2.5R, set 2)", 0) | |
| 5465 | GAME( 2002, sfruitbv, sfruitb, sfbonus, amcoetype1, sfruitbv,ROT0, "Amcoe", "Super Fruit Bonus (Version 2.5R Dual)", 0) | |
| 5466 | ||
| 5467 | GAME( 2002, sfruitbv2, sfruitb, sfbonus, amcoetype1, sfruitbv2, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.5E Dual)", 0) | |
| 5468 | GAME( 2002, sfruitbv3, sfruitb, sfbonus, amcoetype1, sfruitbv2, ROT0, "Amcoe", "Super Fruit Bonus (Version 2.2EB Dual)", 0) // 'high bonus version' | |
| 5469 | ||
| 5470 | GAME( 2002, sfruitb3, sfruitb, sfbonus, amcoetype2, sfruitb, ROT0, "Amcoe", "Super Fruit Bonus (Version 1.80XT)", 0) | |
| 5471 | ||
| 5472 | GAME( 2004, fb2gen, 0, sfbonus, amcoetype1, fb2gen, ROT0, "Amcoe", "Fruit Bonus 2nd Generation (Version 1.6XT)", 0) | |
| 5473 | ||
| 5474 | GAME( 2004, fb2gena, fb2gen, sfbonus, amcoetype1, fb2gen, ROT0, "Amcoe", "Fruit Bonus 2nd Generation (Version 1.5)", 0) | |
| 5475 | ||
| 5476 | GAME( 2004, fb2genc, fb2gen, sfbonus, amcoetype1, fb2gen, ROT0, "Amcoe", "Fruit Bonus 2nd Generation (Version 1.8R, set 1)", 0) | |
| 5477 | GAME( 2004, fb2gend, fb2gen, sfbonus, amcoetype1, fb2gend,ROT0, "Amcoe", "Fruit Bonus 2nd Generation (Version 1.8R, set 2)", 0) | |
| 5478 | GAME( 2004, fb2genv, fb2gen, sfbonus, amcoetype1, fb2genv,ROT0, "Amcoe", "Fruit Bonus 2nd Generation (Version 1.8R Dual)", 0) | |
| 5479 | ||
| 5480 | GAME( 2004, fb2genc2, fb2gen, sfbonus, amcoetype1, fb2gen, ROT0, "Amcoe", "Fruit Bonus 2nd Generation (Version 1.8LT, set 1)", 0) | |
| 5481 | GAME( 2004, fb2gend2, fb2gen, sfbonus, amcoetype1, fb2gend,ROT0, "Amcoe", "Fruit Bonus 2nd Generation (Version 1.8LT, set 2)", 0) | |
| 5482 | GAME( 2004, fb2genv2, fb2gen, sfbonus, amcoetype1, fb2genv,ROT0, "Amcoe", "Fruit Bonus 2nd Generation (Version 1.8LT Dual)", 0) | |
| 5483 | ||
| 5484 | GAME( 2004, fb2genv3, fb2gen, sfbonus, amcoetype1, fb2genv3,ROT0, "Amcoe", "Fruit Bonus 2nd Generation (Version 1.8E Dual)", 0) | |
| 5485 | ||
| 5486 | ||
| 5487 | GAME( 2004, fb2nd, 0, sfbonus, amcoetype1, fb2nd, ROT0, "Amcoe", "Fruit Bonus 2nd Edition (Version 1.5)", 0) | |
| 5488 | ||
| 5489 | GAME( 2004, fb2ndc, fb2nd, sfbonus, amcoetype1, fb2nd, ROT0, "Amcoe", "Fruit Bonus 2nd Edition (Version 1.8R, set 1)", 0) | |
| 5490 | GAME( 2004, fb2ndd, fb2nd, sfbonus, amcoetype1, fb2ndd,ROT0, "Amcoe", "Fruit Bonus 2nd Edition (Version 1.8R, set 2)", 0) | |
| 5491 | GAME( 2004, fb2ndv, fb2nd, sfbonus, amcoetype1, fb2ndv,ROT0, "Amcoe", "Fruit Bonus 2nd Edition (Version 1.8R Dual)", 0) | |
| 5492 | ||
| 5493 | GAME( 2004, fb2ndc2, fb2nd, sfbonus, amcoetype1, fb2nd, ROT0, "Amcoe", "Fruit Bonus 2nd Edition (Version 1.8LT, set 1)", 0) | |
| 5494 | GAME( 2004, fb2ndd2, fb2nd, sfbonus, amcoetype1, fb2ndd,ROT0, "Amcoe", "Fruit Bonus 2nd Edition (Version 1.8LT, set 2)", 0) | |
| 5495 | GAME( 2004, fb2ndv2, fb2nd, sfbonus, amcoetype1, fb2ndv,ROT0, "Amcoe", "Fruit Bonus 2nd Edition (Version 1.8LT Dual)", 0) | |
| 5496 | ||
| 5497 | ||
| 5498 | ||
| 5499 | GAME( 2000, fb4, 0, sfbonus, amcoetype2, fb4, ROT0, "Amcoe", "Fruit Bonus 4 (Version 1.3XT)", 0) | |
| 5500 | GAME( 2000, fb4a, fb4, sfbonus, amcoetype2, fb4, ROT0, "Amcoe", "Fruit Bonus 4 (Version 1.2)", 0) | |
| 5501 | ||
| 5502 | GAME( 2000, fb4b, fb4, sfbonus, amcoetype2, fb4, ROT0, "Amcoe", "Fruit Bonus 4 (Version 1.5LT, set 1", 0) | |
| 5503 | GAME( 2000, fb4c2, fb4, sfbonus, amcoetype1, fb4, ROT0, "Amcoe", "Fruit Bonus 4 (Version 1.5LT, set 2)", 0) | |
| 5504 | GAME( 2000, fb4d2, fb4, sfbonus, amcoetype1, fb4d,ROT0, "Amcoe", "Fruit Bonus 4 (Version 1.5LT, set 3)", 0) | |
| 5505 | GAME( 2000, fb4v2, fb4, sfbonus, amcoetype1, fb4v,ROT0, "Amcoe", "Fruit Bonus 4 (Version 1.5LT Dual)", 0) | |
| 5506 | ||
| 5507 | GAME( 2000, fb4b2, fb4, sfbonus, amcoetype2, fb4, ROT0, "Amcoe", "Fruit Bonus 4 (Version 1.5R, set 1)", 0) | |
| 5508 | GAME( 2000, fb4c, fb4, sfbonus, amcoetype1, fb4, ROT0, "Amcoe", "Fruit Bonus 4 (Version 1.5R, set 2)", 0) | |
| 5509 | GAME( 2000, fb4d, fb4, sfbonus, amcoetype1, fb4d,ROT0, "Amcoe", "Fruit Bonus 4 (Version 1.5R, set 3)", 0) | |
| 5510 | GAME( 2000, fb4v, fb4, sfbonus, amcoetype1, fb4v,ROT0, "Amcoe", "Fruit Bonus 4 (Version 1.5R Dual)", 0) | |
| 5511 | ||
| 5512 | GAME( 2000, fb4v3, fb4, sfbonus, amcoetype1, fb4v3, ROT0, "Amcoe", "Fruit Bonus 4 (Version 1.5E Dual) (with 2005 title)", 0) // the export version has '2005' title, but is considered the same game as fb4 and labeled as such | |
| 5513 | ||
| 5514 | ||
| 5515 | GAME( 1999, act2000, 0, sfbonus, amcoetype2, act2000, ROT0, "Amcoe", "Action 2000 (Version 1.2)", 0) | |
| 5516 | GAME( 1999, act2000a, act2000, sfbonus, amcoetype2, act2000, ROT0, "Amcoe", "Action 2000 (Version 3.3)", 0) | |
| 5517 | GAME( 1999, act2000a2, act2000, sfbonus, amcoetype2, act2000, ROT0, "Amcoe", "Action 2000 (Version 3.10XT)", 0) | |
| 5518 | GAME( 1999, act2000v, act2000, sfbonus, amcoetype1, act2000v, ROT0, "Amcoe", "Action 2000 (Version 3.5R Dual)", 0) | |
| 5519 | GAME( 1999, act2000v2, act2000, sfbonus, amcoetype1, act2000v2, ROT0, "Amcoe", "Action 2000 (Version 3.5E Dual)", 0) | |
| 5520 | GAME( 1999, act2000v3, act2000, sfbonus, amcoetype1, act2000v3, ROT0, "Amcoe", "Action 2000 (Version 3.30XT Dual)", 0) | |
| 5521 | GAME( 1999, act2000d, act2000, sfbonus, amcoetype1, act2000d, ROT0, "Amcoe", "Action 2000 (Version 3.5R, set 1)", 0) | |
| 5522 | GAME( 1999, act2000d2, act2000, sfbonus, amcoetype1, act2000d, ROT0, "Amcoe", "Action 2000 (Version 3.30XT, set 1)", 0) | |
| 5523 | GAME( 1999, act2000b, act2000, sfbonus, amcoetype2, act2000, ROT0, "Amcoe", "Action 2000 (Version 3.5R, set 2)", 0) | |
| 5524 | GAME( 1999, act2000b2, act2000, sfbonus, amcoetype2, act2000, ROT0, "Amcoe", "Action 2000 (Version 3.30XT, set 2)", 0) | |
| 5525 | ||
| 5526 | GAME( 2000, ch2000, 0, sfbonus, amcoetype2, ch2000, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 3.9XT)", 0) | |
| 5527 | GAME( 2000, ch2000x, ch2000, sfbonus, amcoetype2, ch2000, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 3.9D)", 0) | |
| 5528 | GAME( 2000, ch2000y, ch2000, sfbonus, amcoetype2, ch2000, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 3.9)", 0) | |
| 5529 | ||
| 5530 | GAME( 2000, ch2000b2, ch2000, sfbonus, amcoetype2, ch2000, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 4.1LT, set 1)", 0) | |
| 5531 | GAME( 2000, ch2000c, ch2000, sfbonus, amcoetype1, ch2000c, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 4.1LT, set 2)", 0) | |
| 5532 | GAME( 2000, ch2000d, ch2000, sfbonus, amcoetype1, ch2000d, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 4.1LT, set 3)", 0) | |
| 5533 | GAME( 2000, ch2000v3, ch2000, sfbonus, amcoetype1, ch2000v3,ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 4.1LT Dual)", 0) | |
| 5534 | ||
| 5535 | GAME( 2000, ch2000b, ch2000, sfbonus, amcoetype2, ch2000, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 4.4R, set 1)", 0) | |
| 5536 | GAME( 2000, ch2000c2, ch2000, sfbonus, amcoetype1, ch2000c,ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 4.4R, set 2)", 0) | |
| 5537 | GAME( 2000, ch2000d2, ch2000, sfbonus, amcoetype1, ch2000d, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 4.4R, set 3)", 0) | |
| 5538 | GAME( 2000, ch2000v, ch2000, sfbonus, amcoetype1, ch2000v, ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 4.4R Dual)", 0) | |
| 5539 | GAME( 2000, ch2000v2, ch2000, sfbonus, amcoetype1, ch2000v2,ROT0, "Amcoe", "Fruit Bonus 2000 / New Cherry 2000 (Version 4.4E Dual)", 0) | |
| 5540 | ||
| 5541 | GAME( 2001, pir2001, 0, sfbonus, amcoetype2, pir2001, ROT0, "Amcoe", "Pirate 2001 (Version 2.3N)", 0) | |
| 5542 | GAME( 2001, pir2001a, pir2001, sfbonus, amcoetype2, pir2001, ROT0, "Amcoe", "Pirate 2001 (Version 2.3)", 0) | |
| 5543 | GAME( 2001, pir2001b, pir2001, sfbonus, amcoetype2, pir2001, ROT0, "Amcoe", "Pirate 2001 (Version 2.20XT)", 0) | |
| 5544 | ||
| 5545 | GAME( 2001, pir2001b2, pir2001, sfbonus, amcoetype2, pir2001, ROT0, "Amcoe", "Pirate 2001 (Version 2.40XT, set 1)", 0) | |
| 5546 | GAME( 2001, pir2001d2, pir2001, sfbonus, amcoetype1, pir2001d,ROT0, "Amcoe", "Pirate 2001 (Version 2.40XT, set 2)", 0) | |
| 5547 | GAME( 2001, pir2001v3, pir2001, sfbonus, amcoetype1, pir2001v,ROT0, "Amcoe", "Pirate 2001 (Version 2.40XT Dual)", 0) | |
| 5548 | ||
| 5549 | GAME( 2001, pir2001b3, pir2001, sfbonus, amcoetype2, pir2001, ROT0, "Amcoe", "Pirate 2001 (Version 2.5R, set 1)", 0) | |
| 5550 | GAME( 2001, pir2001d, pir2001, sfbonus, amcoetype1, pir2001d,ROT0, "Amcoe", "Pirate 2001 (Version 2.5R, set 2)", 0) | |
| 5551 | GAME( 2001, pir2001v, pir2001, sfbonus, amcoetype1, pir2001v,ROT0, "Amcoe", "Pirate 2001 (Version 2.5R Dual)", 0) | |
| 5552 | ||
| 5553 | GAME( 2001, pir2001v2, pir2001, sfbonus, amcoetype1, pir2001v2,ROT0, "Amcoe", "Pirate 2001 (Version 2.5E Dual)", 0) | |
| 5554 | ||
| 5555 | GAME( 2002, pir2002, 0, sfbonus, amcoetype2, pir2002, ROT0, "Amcoe", "Pirate 2002 (Version 1.8N)", 0) | |
| 5556 | GAME( 2002, pir2002a, pir2002, sfbonus, amcoetype2, pir2002, ROT0, "Amcoe", "Pirate 2002 (Version 1.8)", 0) | |
| 5557 | GAME( 2002, pir2002b, pir2002, sfbonus, amcoetype2, pir2002, ROT0, "Amcoe", "Pirate 2002 (Version 1.70XT)", 0) | |
| 5558 | ||
| 5559 | GAME( 2002, pir2002b2, pir2002, sfbonus, amcoetype2, pir2002, ROT0, "Amcoe", "Pirate 2002 (Version 1.90XT, set 1)", 0) | |
| 5560 | GAME( 2002, pir2002d2, pir2002, sfbonus, amcoetype1, pir2002d,ROT0, "Amcoe", "Pirate 2002 (Version 1.90XT, set 2)", 0) | |
| 5561 | GAME( 2002, pir2002v3, pir2002, sfbonus, amcoetype1, pir2002v, ROT0, "Amcoe", "Pirate 2002 (Version 1.90XT Dual)", 0) | |
| 5562 | ||
| 5563 | GAME( 2002, pir2002b3, pir2002, sfbonus, amcoetype2, pir2002, ROT0, "Amcoe", "Pirate 2002 (Version 2.0R, set 1)", 0) | |
| 5564 | GAME( 2002, pir2002d, pir2002, sfbonus, amcoetype1, pir2002d, ROT0, "Amcoe", "Pirate 2002 (Version 2.0R, set 2)", 0) | |
| 5565 | GAME( 2002, pir2002v, pir2002, sfbonus, amcoetype1, pir2002v,ROT0, "Amcoe", "Pirate 2002 (Version 2.0R Dual)", 0) | |
| 5566 | ||
| 5567 | GAME( 2002, pir2002v2, pir2002, sfbonus, amcoetype1, pir2002v2,ROT0, "Amcoe", "Pirate 2002 (Version 2.0E Dual)", 0) | |
| 5568 | ||
| 5569 | GAME( 200?, classice, 0, sfbonus, amcoetype1, classice, ROT0, "Amcoe", "Classic Edition (Version 1.6LT, set 1)", 0) | |
| 5570 | GAME( 200?, classiced2, classice, sfbonus, amcoetype1, classiced,ROT0, "Amcoe", "Classic Edition (Version 1.6LT, set 2)", 0) | |
| 5571 | GAME( 200?, classicev2, classice, sfbonus, amcoetype1, classicev,ROT0, "Amcoe", "Classic Edition (Version 1.6LT Dual)", 0) | |
| 5572 | ||
| 5573 | GAME( 200?, classicea, classice, sfbonus, amcoetype1, classice, ROT0, "Amcoe", "Classic Edition (Version 1.6R, set 1)", 0) | |
| 5574 | GAME( 200?, classiced, classice, sfbonus, amcoetype1, classiced,ROT0, "Amcoe", "Classic Edition (Version 1.6R, set 2)", 0) | |
| 5575 | GAME( 200?, classicev, classice, sfbonus, amcoetype1, classicev,ROT0, "Amcoe", "Classic Edition (Version 1.6R Dual)", 0) | |
| 5576 | ||
| 5577 | GAME( 200?, classiced3, classice, sfbonus, amcoetype1, classiced3,ROT0, "Amcoe", "Classic Edition (Version 1.6E)", 0) | |
| 5578 | GAME( 200?, classicev3, classice, sfbonus, amcoetype1, classicev3,ROT0, "Amcoe", "Classic Edition (Version 1.6E Dual)", 0) | |
| 5579 | ||
| 5580 | GAME( 200?, seawld, 0, sfbonus, amcoetype1, seawld, ROT0, "Amcoe", "Sea World (Version 1.6R CGA)", 0) | |
| 5581 | GAME( 200?, seawlda, seawld, sfbonus, amcoetype1, seawlda, ROT0, "Amcoe", "Sea World (Version 1.6E Dual)", 0) | |
| 5582 | ||
| 5583 | GAME( 200?, moneymacd, moneymac, sfbonus, amcoetype1, moneymacd,ROT0, "Amcoe", "Money Machine (Version 1.7R)", 0) | |
| 5584 | GAME( 200?, moneymac, 0, sfbonus, amcoetype1, moneymac, ROT0, "Amcoe", "Money Machine (Version 1.7R Dual)", 0) | |
| 5585 | ||
| 5586 | GAME( 200?, moneymacd2, moneymac, sfbonus, amcoetype1, moneymacd, ROT0, "Amcoe", "Money Machine (Version 1.7LT)", 0) | |
| 5587 | GAME( 200?, moneymacv2, moneymac, sfbonus, amcoetype1, moneymac, ROT0, "Amcoe", "Money Machine (Version 1.7LT Dual", 0) | |
| 5588 | ||
| 5589 | GAME( 200?, moneymacv, moneymac, sfbonus, amcoetype1, moneymacv, ROT0, "Amcoe", "Money Machine (Version 1.7E Dual)", 0) | |
| 5590 | ||
| 5591 | GAME( 200?, atworld, 0, sfbonus, amcoetype1, atworld, ROT0, "Amcoe", "Around The World (Version 1.3R CGA)", 0) | |
| 5592 | GAME( 200?, atworlda, atworld, sfbonus, amcoetype1, atworlda, ROT0, "Amcoe", "Around The World (Version 1.3E CGA)", 0) | |
| 5593 | ||
| 5594 | GAME( 2000, fb5, 0, sfbonus, amcoetype2, fb5, ROT0, "Amcoe", "Fruit Bonus 5 (Version 1.5SH, set 1)", 0) | |
| 5595 | GAME( 2000, fb5c, fb5, sfbonus, amcoetype1, fb5, ROT0, "Amcoe", "Fruit Bonus 5 (Version 1.5SH, set 2)", 0) | |
| 5596 | GAME( 2000, fb5d, fb5, sfbonus, amcoetype1, fb5d, ROT0, "Amcoe", "Fruit Bonus 5 (Version 1.5SH, set 3)", 0) | |
| 5597 | GAME( 2000, fb5v, fb5, sfbonus, amcoetype1, fb5v, ROT0, "Amcoe", "Fruit Bonus 5 (Version 1.5SH Dual)", 0) | |
| 5598 | ||
| 5599 | GAME( 2000, fb6, 0, sfbonus, amcoetype1, fb6, ROT0, "Amcoe", "Fruit Bonus 6 (Version 1.7E CGA)", 0) | |
| 5600 | ||
| 5601 | GAME( 2000, fb6v3, fb6, sfbonus, amcoetype1, fb6v3, ROT0, "Amcoe", "Fruit Bonus 6 (Version 1.7E Dual)", 0) | |
| 5602 | ||
| 5603 | GAME( 2000, fb6d2, fb6, sfbonus, amcoetype1, fb6d, ROT0, "Amcoe", "Fruit Bonus 6 (Version 1.7R CGA, set 1)", 0) | |
| 5604 | GAME( 2000, fb6s, fb6, sfbonus, amcoetype1, fb6s, ROT0, "Amcoe", "Fruit Bonus 6 (Version 1.7R CGA, set 2)", GAME_NOT_WORKING) // no reel gfx | |
| 5605 | GAME( 2000, fb6v, fb6, sfbonus, amcoetype1, fb6v, ROT0, "Amcoe", "Fruit Bonus 6 (Version 1.7R Dual)", 0) | |
| 5606 | ||
| 5607 | GAME( 2000, fb6d, fb6, sfbonus, amcoetype1, fb6d, ROT0, "Amcoe", "Fruit Bonus 6 (Version 1.7LT CGA, set 1)", 0) | |
| 5608 | GAME( 2000, fb6s2, fb6, sfbonus, amcoetype1, fb6s, ROT0, "Amcoe", "Fruit Bonus 6 (Version 1.7LT CGA, set 2)", GAME_NOT_WORKING) // no reel gfx | |
| 5609 | GAME( 2000, fb6v2, fb6, sfbonus, amcoetype1, fb6v, ROT0, "Amcoe", "Fruit Bonus 6 (Version 1.7LT Dual)", 0) | |
| 5610 | ||
| 5611 | GAME( 2000, fb6se, 0, sfbonus, amcoetype1, fb6d, ROT0, "Amcoe", "Fruit Bonus 6 Special Edition (Version 1.4R CGA)", 0) | |
| 5612 | GAME( 2000, fb6sev, fb6se, sfbonus, amcoetype1, fb6v, ROT0, "Amcoe", "Fruit Bonus 6 Special Edition (Version 1.4R Dual)", 0) | |
| 5613 | ||
| 5614 | GAME( 2000, fb6sed, fb6se, sfbonus, amcoetype1, fb6d, ROT0, "Amcoe", "Fruit Bonus 6 Special Edition (Version 1.4LT CGA)", 0) | |
| 5615 | GAME( 2000, fb6sev2, fb6se, sfbonus, amcoetype1, fb6v, ROT0, "Amcoe", "Fruit Bonus 6 Special Edition (Version 1.4LT Dual)", 0) | |
| 5616 | ||
| 5617 | GAME( 2000, fb6sed2, fb6se, sfbonus, amcoetype1, fb6, ROT0, "Amcoe", "Fruit Bonus 6 Special Edition (Version 1.4E CGA)", 0) | |
| 5618 | GAME( 2000, fb6sev3, fb6se, sfbonus, amcoetype1, fb6v3, ROT0, "Amcoe", "Fruit Bonus 6 Special Edition (Version 1.4E Dual)", 0) | |
| 5619 | ||
| 5620 | 5643 | // no gfx / sound roms |
| 5621 | GAME( 200 | |
| 5644 | GAME( 200?, version4, 0, sfbonus, amcoe | |
| 5622 | 5645 | // no gfx / sound roms |
| 5623 | GAME( 2000, bugfever, 0, sfbonus, amcoetype1, bugfever, ROT0, "Amcoe", "Bug Fever (set 1)", GAME_NOT_WORKING) | |
| 5624 | GAME( 2000, bugfeverd, bugfever, sfbonus, amcoetype1, bugfeverd, ROT0, "Amcoe", "Bug Fever (set 2)", GAME_NOT_WORKING) | |
| 5625 | GAME( 2000, bugfeverv, bugfever, sfbonus, amcoetype1, bugfeverv, ROT0, "Amcoe", "Bug Fever (set 3)", GAME_NOT_WORKING) | |
| 5626 | GAME( 2000, bugfeverv2, bugfever, sfbonus, amcoetype1, bugfeverv2, ROT0, "Amcoe", "Bug Fever (set 4)", GAME_NOT_WORKING) | |
| 5646 | GAME( 2006, bugfever, 0, sfbonus, amcoe1_reels3, bugfever, ROT0, "Amcoe", "Bug Fever (set 1)", GAME_NOT_WORKING) /* Released August 2006 according to Amcoe web site */ | |
| 5647 | GAME( 2006, bugfeverd, bugfever, sfbonus, amcoe1_reels3, bugfeverd, ROT0, "Amcoe", "Bug Fever (set 2)", GAME_NOT_WORKING) | |
| 5648 | GAME( 2006, bugfeverv, bugfever, sfbonus, amcoe1_reels3, bugfeverv, ROT0, "Amcoe", "Bug Fever (set 3)", GAME_NOT_WORKING) | |
| 5649 | GAME( 2006, bugfeverv2, bugfever, sfbonus, amcoe1_reels3, bugfeverv2, ROT0, "Amcoe", "Bug Fever (set 4)", GAME_NOT_WORKING) | |
| 5627 | 5650 | // no gfx / sound roms |
| 5628 | GAME( 200 | |
| 5651 | GAME( 200?, dvisland, 0, sfbonus, amcoe | |
| 5629 | 5652 | // no gfx / sound roms |
| 5630 | GAME( 2000, funriver, 0, sfbonus, amcoetype1, funriver, ROT0, "Amcoe", "Fun River (set 1)", GAME_NOT_WORKING) | |
| 5631 | GAME( 2000, funriverv, funriver, sfbonus, amcoetype1, funriverv, ROT0, "Amcoe", "Fun River (set 2)", GAME_NOT_WORKING) | |
| 5653 | GAME( 200?, funriver, 0, sfbonus, amcoe1_reels3, funriver, ROT0, "Amcoe", "Fun River (set 1)", GAME_NOT_WORKING) | |
| 5654 | GAME( 200?, funriverv, funriver, sfbonus, amcoe1_reels3, funriverv, ROT0, "Amcoe", "Fun River (set 2)", GAME_NOT_WORKING) | |
| 5632 | 5655 | // ?? what is this |
| 5633 | GAME( 200 | |
| 5656 | GAME( 200?, amclink, 0, sfbonus, amcoe |
| r5490 | r5491 | |
|---|---|---|
| 188 | 188 | #include "machine/atari_vg.h" |
| 189 | 189 | #include "video/avgdvg.h" |
| 190 | 190 | #include "video/vector.h" |
| 191 | #include "sound/5220 | |
| 191 | #include "sound/tms5220 | |
| 192 | 192 | #include "sound/pokey.h" |
| 193 | 193 | #include "mhavoc.h" |
| 194 | 194 |
| r5490 | r5491 | |
|---|---|---|
| 8 | 8 | z80 CPU is complete with indexed registers |
| 9 | 9 | video - VGA |
| 10 | 10 | |
| 11 | | |
| 11 | To Init the games | |
| 12 | 12 | |
| 13 | Turn Service Mode ON (press 'F2') | |
| 14 | Reset the game (press 'F3') | |
| 15 | Use 'C' to move pointer to INIT | |
| 16 | Press '1' (Start) to enter INIT menu | |
| 17 | Hold 'Z' (Bet/Double) for 5 seconds while counter counts down | |
| 18 | Turn Service Mode OFF (press 'F2') | |
| 19 | Reset the game (press 'F3') | |
| 20 | ||
| 21 | ||
| 22 | Todo: | |
| 23 | ------------------------------------------------------------------------- | |
| 13 | 24 | Payout doesn't currently work and causes 'Call Attendant' to be displayed |
| 14 | Lamps not hooked up | |
| 25 | Hook up Lamps | |
| 26 | Emulate the RTC (real time clock) | |
| 15 | 27 | |
| 16 | To Init the games | |
| 17 | 28 | |
| 18 | Press 'F2' (Turn Service Mode ON) | |
| 19 | Press 'F3' (Reset) | |
| 20 | Use 'C' (3 Lines) to move pointer to INIT | |
| 21 | press '1' (Start) to enter INIT menu | |
| 22 | hold 'Z' (Bet/Double) for 5 seconds while counter counts down | |
| 23 | press 'F2' (Turn Service Mode OFF) | |
| 24 | Press 'F3' (Reset) | |
| 29 | NOTE: | |
| 30 | Revision information comes from dat files, not all of them can be tested | |
| 31 | becuase some program rom revisions don't seem to be dumped. | |
| 25 | 32 | |
| 26 | RTC not emulated? | |
| 27 | Lights not emulated? | |
| 28 | Payout not emulated | |
| 33 | For sets where the program rom hasn't been verified, the MD5 hash is given | |
| 34 | but not the CRC32 hash. These sets are excluded using the 'ALL_REVISIONS' | |
| 35 | "#if" statements but listed in the driver below. | |
| 29 | 36 | |
| 30 | ||
| 31 | 37 | */ |
| 32 | 38 | |
| 33 | // revision information comes from dat files, not all of them can be tested | |
| 34 | // for some only MD5 and CRC information is present | |
| 35 | 39 | #define ALL_REVISIONS 0 |
| 36 | 40 | |
| 37 | 41 | #include "driver.h" |
| r5490 | r5491 | |
| 372 | 376 | |
| 373 | 377 | AM_RANGE(0xe1, 0xe1) AM_WRITE(multfish_bank_w) |
| 374 | 378 | AM_RANGE(0xe5, 0xe5) AM_WRITE(multfish_bank_w) |
| 379 | AM_RANGE(0xe8, 0xe8) AM_WRITE(multfish_bank_w) // mirror banking for some games | |
| 375 | 380 | |
| 376 | 381 | AM_RANGE(0xf1, 0xf1) AM_WRITE(multfish_rambank_w) |
| 377 | 382 | AM_RANGE(0xf3, 0xf3) AM_WRITE(multfish_f3_w) // from 00->01 at startup, irq enable maybe? |
| r5490 | r5491 | |
| 461 | 466 | **********************************************************/ |
| 462 | 467 | |
| 463 | 468 | #if ALL_REVISIONS |
| 464 | ROM_START( mfish | |
| 469 | ROM_START( mfish | |
| 465 | 470 | ROM_REGION( 0x40000, "maincpu", 0 ) |
| 466 | ROM_LOAD( "mf0 | |
| 471 | ROM_LOAD( "mf02 | |
| 467 | 472 | |
| 468 | 473 | ROM_REGION( 0x400000, "gfx", 0 ) |
| 469 | 474 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(2f2a7367) SHA1(ce7ee9ca4f374ec61edc3b89d4752f0edb64a910) ) |
| r5490 | r5491 | |
| 475 | 480 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(9afdc2d3) SHA1(b112fd2005354c9f97d77030bdb6f99d7b5c8050) ) |
| 476 | 481 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(29f1a326) SHA1(5e268411cab888c0727aaf8ae7d0b435d2efd189) ) |
| 477 | 482 | ROM_END |
| 478 | #endif | |
| 479 | 483 | |
| 480 | ROM_START( mfish_ | |
| 484 | ROM_START( mfish_ | |
| 481 | 485 | ROM_REGION( 0x40000, "maincpu", 0 ) |
| 482 | ROM_LOAD( "mf0 | |
| 486 | ROM_LOAD( "mf021121.rom", 0x00000, 0x40000, MD5(727dc01459f6745caa2b1 | |
| 483 | 487 | |
| 484 | 488 | ROM_REGION( 0x400000, "gfx", 0 ) |
| 485 | 489 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(2f2a7367) SHA1(ce7ee9ca4f374ec61edc3b89d4752f0edb64a910) ) |
| r5490 | r5491 | |
| 491 | 495 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(9afdc2d3) SHA1(b112fd2005354c9f97d77030bdb6f99d7b5c8050) ) |
| 492 | 496 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(29f1a326) SHA1(5e268411cab888c0727aaf8ae7d0b435d2efd189) ) |
| 493 | 497 | ROM_END |
| 498 | #endif | |
| 494 | 499 | |
| 495 | ROM_START( mfish_ | |
| 500 | ROM_START( mfish_3 | |
| 496 | 501 | ROM_REGION( 0x40000, "maincpu", 0 ) |
| 497 | ROM_LOAD( "mf04 | |
| 502 | ROM_LOAD( "mf021124 | |
| 498 | 503 | |
| 499 | 504 | ROM_REGION( 0x400000, "gfx", 0 ) |
| 500 | 505 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(2f2a7367) SHA1(ce7ee9ca4f374ec61edc3b89d4752f0edb64a910) ) |
| r5490 | r5491 | |
| 507 | 512 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(29f1a326) SHA1(5e268411cab888c0727aaf8ae7d0b435d2efd189) ) |
| 508 | 513 | ROM_END |
| 509 | 514 | |
| 510 | #if ALL_REVISIONS | |
| 511 | ROM_START( mfish_11 ) // 031124 | |
| 515 | ROM_START( mfish_3a ) // 021124 | |
| 512 | 516 | ROM_REGION( 0x40000, "maincpu", 0 ) |
| 513 | ROM_LOAD( "mf0 | |
| 517 | ROM_LOAD( "mf021124a.rom", 0x00000, 0x40000, CRC( | |
| 514 | 518 | |
| 515 | 519 | ROM_REGION( 0x400000, "gfx", 0 ) |
| 516 | 520 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(2f2a7367) SHA1(ce7ee9ca4f374ec61edc3b89d4752f0edb64a910) ) |
| r5490 | r5491 | |
| 523 | 527 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(29f1a326) SHA1(5e268411cab888c0727aaf8ae7d0b435d2efd189) ) |
| 524 | 528 | ROM_END |
| 525 | 529 | |
| 526 | ROM_START( mfish_10 ) // 031117 | |
| 530 | #if ALL_REVISIONS | |
| 531 | ROM_START( mfish_4 ) // 021219 | |
| 527 | 532 | ROM_REGION( 0x40000, "maincpu", 0 ) |
| 528 | ROM_LOAD( "mf0 | |
| 533 | ROM_LOAD( "mf021219 | |
| 529 | 534 | |
| 530 | 535 | ROM_REGION( 0x400000, "gfx", 0 ) |
| 531 | 536 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(2f2a7367) SHA1(ce7ee9ca4f374ec61edc3b89d4752f0edb64a910) ) |
| r5490 | r5491 | |
| 538 | 543 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(29f1a326) SHA1(5e268411cab888c0727aaf8ae7d0b435d2efd189) ) |
| 539 | 544 | ROM_END |
| 540 | 545 | |
| 541 | ROM_START( mfish_ | |
| 546 | ROM_START( mfish_5 ) // 021 | |
| 542 | 547 | ROM_REGION( 0x40000, "maincpu", 0 ) |
| 543 | ROM_LOAD( "mf0 | |
| 548 | ROM_LOAD( "mf021 | |
| 544 | 549 | |
| 545 | 550 | ROM_REGION( 0x400000, "gfx", 0 ) |
| 546 | 551 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(2f2a7367) SHA1(ce7ee9ca4f374ec61edc3b89d4752f0edb64a910) ) |
| r5490 | r5491 | |
| 553 | 558 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(29f1a326) SHA1(5e268411cab888c0727aaf8ae7d0b435d2efd189) ) |
| 554 | 559 | ROM_END |
| 555 | 560 | |
| 556 | ROM_START( mfish_ | |
| 561 | ROM_START( mfish_6 ) // 030124 | |
| 557 | 562 | ROM_REGION( 0x40000, "maincpu", 0 ) |
| 558 | ROM_LOAD( "mf030 | |
| 563 | ROM_LOAD( "mf030124.rom", 0x00000, 0x40000, MD5(4772bec | |
| 559 | 564 | |
| 560 | 565 | ROM_REGION( 0x400000, "gfx", 0 ) |
| 561 | 566 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(2f2a7367) SHA1(ce7ee9ca4f374ec61edc3b89d4752f0edb64a910) ) |
| r5490 | r5491 | |
| 583 | 588 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(29f1a326) SHA1(5e268411cab888c0727aaf8ae7d0b435d2efd189) ) |
| 584 | 589 | ROM_END |
| 585 | 590 | |
| 586 | ROM_START( mfish_ | |
| 591 | ROM_START( mfish_8 ) // 030522 | |
| 587 | 592 | ROM_REGION( 0x40000, "maincpu", 0 ) |
| 588 | ROM_LOAD( "mf030 | |
| 593 | ROM_LOAD( "mf030522.rom", 0x00000, 0x40000, MD5(17d | |
| 589 | 594 | |
| 590 | 595 | ROM_REGION( 0x400000, "gfx", 0 ) |
| 591 | 596 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(2f2a7367) SHA1(ce7ee9ca4f374ec61edc3b89d4752f0edb64a910) ) |
| r5490 | r5491 | |
| 598 | 603 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(29f1a326) SHA1(5e268411cab888c0727aaf8ae7d0b435d2efd189) ) |
| 599 | 604 | ROM_END |
| 600 | 605 | |
| 601 | ROM_START( mfish_ | |
| 606 | ROM_START( mfish_9 ) // 031026 | |
| 602 | 607 | ROM_REGION( 0x40000, "maincpu", 0 ) |
| 603 | ROM_LOAD( "mf0 | |
| 608 | ROM_LOAD( "mf031026 | |
| 604 | 609 | |
| 605 | 610 | ROM_REGION( 0x400000, "gfx", 0 ) |
| 606 | 611 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(2f2a7367) SHA1(ce7ee9ca4f374ec61edc3b89d4752f0edb64a910) ) |
| r5490 | r5491 | |
| 613 | 618 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(29f1a326) SHA1(5e268411cab888c0727aaf8ae7d0b435d2efd189) ) |
| 614 | 619 | ROM_END |
| 615 | 620 | |
| 616 | ROM_START( mfish_ | |
| 621 | ROM_START( mfish_10 ) // 031 | |
| 617 | 622 | ROM_REGION( 0x40000, "maincpu", 0 ) |
| 618 | ROM_LOAD( "mf0 | |
| 623 | ROM_LOAD( "mf031 | |
| 619 | 624 | |
| 620 | 625 | ROM_REGION( 0x400000, "gfx", 0 ) |
| 621 | 626 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(2f2a7367) SHA1(ce7ee9ca4f374ec61edc3b89d4752f0edb64a910) ) |
| r5490 | r5491 | |
| 628 | 633 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(29f1a326) SHA1(5e268411cab888c0727aaf8ae7d0b435d2efd189) ) |
| 629 | 634 | ROM_END |
| 630 | 635 | |
| 631 | ROM_START( mfish_ | |
| 636 | ROM_START( mfish_11 ) // 031124 | |
| 632 | 637 | ROM_REGION( 0x40000, "maincpu", 0 ) |
| 633 | ROM_LOAD( "mf0 | |
| 638 | ROM_LOAD( "mf031124.rom", 0x00000, 0x40000, MD5(9 | |
| 634 | 639 | |
| 635 | 640 | ROM_REGION( 0x400000, "gfx", 0 ) |
| 636 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(2f2a7367) SHA1(ce7ee9ca4f374ec61edc3b89d4752f0edb64a910) ) | |
| 637 | 641 | ROM_LOAD( "2", 0x100000, 0x80000, CRC(606acd73) SHA1(ce5f7b1366dbb16d57fe4b7f395f08725e3cf756) ) |
| 638 | 642 | ROM_LOAD( "3", 0x200000, 0x80000, CRC(33759c2a) SHA1(6afcee2e00a27542fc9751702abcc84cd7d3a2a8) ) |
| 639 | 643 | ROM_LOAD( "4", 0x300000, 0x80000, CRC(d0053546) SHA1(01c69be0c594947d57648f491904a3b6938a5570) ) |
| r5490 | r5491 | |
| 642 | 646 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(9afdc2d3) SHA1(b112fd2005354c9f97d77030bdb6f99d7b5c8050) ) |
| 643 | 647 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(29f1a326) SHA1(5e268411cab888c0727aaf8ae7d0b435d2efd189) ) |
| 644 | 648 | ROM_END |
| 649 | #endif | |
| 645 | 650 | |
| 646 | ROM_START( mfish_2 ) // 0 | |
| 651 | ROM_START( mfish_12 ) // 040308 | |
| 647 | 652 | ROM_REGION( 0x40000, "maincpu", 0 ) |
| 648 | ROM_LOAD( "mf0 | |
| 653 | ROM_LOAD( "mf040308.rom", 0x00000, 0x40000, CRC(a | |
| 649 | 654 | |
| 650 | 655 | ROM_REGION( 0x400000, "gfx", 0 ) |
| 651 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(2f2a7367) SHA1(ce7ee9ca4f374ec61edc3b89d4752f0edb64a910) ) | |
| 652 | 656 | ROM_LOAD( "2", 0x100000, 0x80000, CRC(606acd73) SHA1(ce5f7b1366dbb16d57fe4b7f395f08725e3cf756) ) |
| 653 | 657 | ROM_LOAD( "3", 0x200000, 0x80000, CRC(33759c2a) SHA1(6afcee2e00a27542fc9751702abcc84cd7d3a2a8) ) |
| 654 | 658 | ROM_LOAD( "4", 0x300000, 0x80000, CRC(d0053546) SHA1(01c69be0c594947d57648f491904a3b6938a5570) ) |
| r5490 | r5491 | |
| 658 | 662 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(29f1a326) SHA1(5e268411cab888c0727aaf8ae7d0b435d2efd189) ) |
| 659 | 663 | ROM_END |
| 660 | 664 | |
| 661 | ROM_START( mfish ) // 0 | |
| 665 | ROM_START( mfish_12a ) // 04 | |
| 662 | 666 | ROM_REGION( 0x40000, "maincpu", 0 ) |
| 663 | ROM_LOAD( "mf0 | |
| 667 | ROM_LOAD( "mf04 | |
| 664 | 668 | |
| 665 | 669 | ROM_REGION( 0x400000, "gfx", 0 ) |
| 666 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(2f2a7367) SHA1(ce7ee9ca4f374ec61edc3b89d4752f0edb64a910) ) | |
| 667 | 670 | ROM_LOAD( "2", 0x100000, 0x80000, CRC(606acd73) SHA1(ce5f7b1366dbb16d57fe4b7f395f08725e3cf756) ) |
| 668 | 671 | ROM_LOAD( "3", 0x200000, 0x80000, CRC(33759c2a) SHA1(6afcee2e00a27542fc9751702abcc84cd7d3a2a8) ) |
| 669 | 672 | ROM_LOAD( "4", 0x300000, 0x80000, CRC(d0053546) SHA1(01c69be0c594947d57648f491904a3b6938a5570) ) |
| r5490 | r5491 | |
| 672 | 675 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(9afdc2d3) SHA1(b112fd2005354c9f97d77030bdb6f99d7b5c8050) ) |
| 673 | 676 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(29f1a326) SHA1(5e268411cab888c0727aaf8ae7d0b435d2efd189) ) |
| 674 | 677 | ROM_END |
| 678 | ||
| 679 | #if ALL_REVISIONS | |
| 680 | ROM_START( mfish_13 ) // 040316 | |
| 681 | ROM_REGION( 0x40000, "maincpu", 0 ) | |
| 682 | ROM_LOAD( "mf040316.rom", 0x00000, 0x40000, MD5(66019927201954518261652147b05e43) SHA1(c1f4d1c51632a45b533d19c8b6f63d337d84d9cd) ) | |
| 683 | ||
| 684 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 685 | ROM_LOAD( "2", 0x100000, 0x80000, CRC(606acd73) SHA1(ce5f7b1366dbb16d57fe4b7f395f08725e3cf756) ) | |
| 686 | ROM_LOAD( "3", 0x200000, 0x80000, CRC(33759c2a) SHA1(6afcee2e00a27542fc9751702abcc84cd7d3a2a8) ) | |
| 687 | ROM_LOAD( "4", 0x300000, 0x80000, CRC(d0053546) SHA1(01c69be0c594947d57648f491904a3b6938a5570) ) | |
| 688 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(6f632872) SHA1(949661cb234855a9c86403e9893c5d9f465ddd79) ) | |
| 689 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(023c1193) SHA1(98cf2732f9542b0bb3bee324611f6d3143ef1dc4) ) | |
| 690 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(9afdc2d3) SHA1(b112fd2005354c9f97d77030bdb6f99d7b5c8050) ) | |
| 691 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(29f1a326) SHA1(5e268411cab888c0727aaf8ae7d0b435d2efd189) ) | |
| 692 | ROM_END | |
| 675 | 693 | #endif |
| 676 | 694 | |
| 677 | 695 | /********************************************************* |
| 678 | 696 | Crazy Monkey |
| 697 | ||
| 698 | Roms 1-4 were changed after the 070315 update. | |
| 699 | The official list of hashes shows the 070315 updated roms. | |
| 700 | ||
| 679 | 701 | **********************************************************/ |
| 680 | 702 | |
| 703 | #if ALL_REVISIONS | |
| 681 | 704 | ROM_START( crzmon ) // 030217 |
| 682 | 705 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 683 | 706 | ROM_LOAD( "cm030217.rom", 0x00000, 0x40000, MD5(5e2e4eec4cb20437a3e389003f8e2bb7) SHA1(75787f32aa4c8e8ff7bc11c57a37ad5a65f71c52) ) |
| r5490 | r5491 | |
| 687 | 710 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(e21ce6a4) SHA1(942ffe323ddbcaaad887cb5bc9f356550926083b) ) |
| 688 | 711 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(c3d0e3d5) SHA1(5b0cb436c6b0bac1213c1df56702fa7f16856106) ) |
| 689 | 712 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(f79df52c) SHA1(b99fa9f61849b62668bf9edff1c80212a9108b15) ) |
| 690 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(9d4d2a94) SHA1(c714e110de628b343dfc7fff23befaa1276056a9) ) | |
| 691 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(a15f0fee) SHA1(3f06d5a1a41e1335bcc7586a5ea95b9b734155c0) ) | |
| 692 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(715a2528) SHA1(6c4c72592568ecbaa9518fb7271d2714dd22dbbb) ) | |
| 693 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(6fdb6fd5) SHA1(f40916112365de258956ec033aff79aae1f58690) ) | |
| 713 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(9d4d2a94) SHA1(c714e110de628b343dfc7fff23befaa1276056a9) ) | |
| 714 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(a15f0fee) SHA1(3f06d5a1a41e1335bcc7586a5ea95b9b734155c0) ) | |
| 715 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(715a2528) SHA1(6c4c72592568ecbaa9518fb7271d2714dd22dbbb) ) | |
| 716 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(6fdb6fd5) SHA1(f40916112365de258956ec033aff79aae1f58690) ) | |
| 694 | 717 | ROM_END |
| 695 | 718 | |
| 696 | ||
| 697 | 719 | ROM_START( crzmon_2 ) // 030225 |
| 698 | 720 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 699 | 721 | ROM_LOAD( "cm030225.rom", 0x00000, 0x40000, MD5(8f8d0ca97b5a2ad255d36094a6b30e0e) SHA1(3627a3d6a4a50ed8544456d53ab5a489af389a19) ) |
| r5490 | r5491 | |
| 703 | 725 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(e21ce6a4) SHA1(942ffe323ddbcaaad887cb5bc9f356550926083b) ) |
| 704 | 726 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(c3d0e3d5) SHA1(5b0cb436c6b0bac1213c1df56702fa7f16856106) ) |
| 705 | 727 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(f79df52c) SHA1(b99fa9f61849b62668bf9edff1c80212a9108b15) ) |
| 706 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(9d4d2a94) SHA1(c714e110de628b343dfc7fff23befaa1276056a9) ) | |
| 707 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(a15f0fee) SHA1(3f06d5a1a41e1335bcc7586a5ea95b9b734155c0) ) | |
| 708 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(715a2528) SHA1(6c4c72592568ecbaa9518fb7271d2714dd22dbbb) ) | |
| 709 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(6fdb6fd5) SHA1(f40916112365de258956ec033aff79aae1f58690) ) | |
| 728 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(9d4d2a94) SHA1(c714e110de628b343dfc7fff23befaa1276056a9) ) | |
| 729 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(a15f0fee) SHA1(3f06d5a1a41e1335bcc7586a5ea95b9b734155c0) ) | |
| 730 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(715a2528) SHA1(6c4c72592568ecbaa9518fb7271d2714dd22dbbb) ) | |
| 731 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(6fdb6fd5) SHA1(f40916112365de258956ec033aff79aae1f58690) ) | |
| 710 | 732 | ROM_END |
| 711 | 733 | |
| 712 | ||
| 713 | 734 | ROM_START( crzmon_3 ) // 030227 |
| 714 | 735 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 715 | 736 | ROM_LOAD( "cm030227.rom", 0x00000, 0x40000, MD5(e2704337640db28a92b9946209eec2b1) SHA1(4f8cd68dd2b6abeaabc9b45da18469cc6e7ac74d) ) |
| r5490 | r5491 | |
| 719 | 740 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(e21ce6a4) SHA1(942ffe323ddbcaaad887cb5bc9f356550926083b) ) |
| 720 | 741 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(c3d0e3d5) SHA1(5b0cb436c6b0bac1213c1df56702fa7f16856106) ) |
| 721 | 742 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(f79df52c) SHA1(b99fa9f61849b62668bf9edff1c80212a9108b15) ) |
| 722 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(9d4d2a94) SHA1(c714e110de628b343dfc7fff23befaa1276056a9) ) | |
| 723 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(a15f0fee) SHA1(3f06d5a1a41e1335bcc7586a5ea95b9b734155c0) ) | |
| 724 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(715a2528) SHA1(6c4c72592568ecbaa9518fb7271d2714dd22dbbb) ) | |
| 725 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(6fdb6fd5) SHA1(f40916112365de258956ec033aff79aae1f58690) ) | |
| 743 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(9d4d2a94) SHA1(c714e110de628b343dfc7fff23befaa1276056a9) ) | |
| 744 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(a15f0fee) SHA1(3f06d5a1a41e1335bcc7586a5ea95b9b734155c0) ) | |
| 745 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(715a2528) SHA1(6c4c72592568ecbaa9518fb7271d2714dd22dbbb) ) | |
| 746 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(6fdb6fd5) SHA1(f40916112365de258956ec033aff79aae1f58690) ) | |
| 726 | 747 | ROM_END |
| 727 | 748 | |
| 728 | 749 | ROM_START( crzmon_4 ) // 030404 |
| r5490 | r5491 | |
| 734 | 755 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(e21ce6a4) SHA1(942ffe323ddbcaaad887cb5bc9f356550926083b) ) |
| 735 | 756 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(c3d0e3d5) SHA1(5b0cb436c6b0bac1213c1df56702fa7f16856106) ) |
| 736 | 757 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(f79df52c) SHA1(b99fa9f61849b62668bf9edff1c80212a9108b15) ) |
| 737 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(9d4d2a94) SHA1(c714e110de628b343dfc7fff23befaa1276056a9) ) | |
| 738 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(a15f0fee) SHA1(3f06d5a1a41e1335bcc7586a5ea95b9b734155c0) ) | |
| 739 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(715a2528) SHA1(6c4c72592568ecbaa9518fb7271d2714dd22dbbb) ) | |
| 740 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(6fdb6fd5) SHA1(f40916112365de258956ec033aff79aae1f58690) ) | |
| 758 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(9d4d2a94) SHA1(c714e110de628b343dfc7fff23befaa1276056a9) ) | |
| 759 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(a15f0fee) SHA1(3f06d5a1a41e1335bcc7586a5ea95b9b734155c0) ) | |
| 760 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(715a2528) SHA1(6c4c72592568ecbaa9518fb7271d2714dd22dbbb) ) | |
| 761 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(6fdb6fd5) SHA1(f40916112365de258956ec033aff79aae1f58690) ) | |
| 741 | 762 | ROM_END |
| 742 | 763 | |
| 743 | ||
| 744 | 764 | ROM_START( crzmon_5 ) // 030421 |
| 745 | 765 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 746 | 766 | ROM_LOAD( "cm030421.rom", 0x00000, 0x40000, MD5(2b30aabb2c1becc3209018580ebe0086) SHA1(6559e45e3ec39c1d201ed54a10fdb5c6aeff6582) ) |
| r5490 | r5491 | |
| 750 | 770 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(e21ce6a4) SHA1(942ffe323ddbcaaad887cb5bc9f356550926083b) ) |
| 751 | 771 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(c3d0e3d5) SHA1(5b0cb436c6b0bac1213c1df56702fa7f16856106) ) |
| 752 | 772 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(f79df52c) SHA1(b99fa9f61849b62668bf9edff1c80212a9108b15) ) |
| 753 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(9d4d2a94) SHA1(c714e110de628b343dfc7fff23befaa1276056a9) ) | |
| 754 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(a15f0fee) SHA1(3f06d5a1a41e1335bcc7586a5ea95b9b734155c0) ) | |
| 755 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(715a2528) SHA1(6c4c72592568ecbaa9518fb7271d2714dd22dbbb) ) | |
| 756 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(6fdb6fd5) SHA1(f40916112365de258956ec033aff79aae1f58690) ) | |
| 773 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(9d4d2a94) SHA1(c714e110de628b343dfc7fff23befaa1276056a9) ) | |
| 774 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(a15f0fee) SHA1(3f06d5a1a41e1335bcc7586a5ea95b9b734155c0) ) | |
| 775 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(715a2528) SHA1(6c4c72592568ecbaa9518fb7271d2714dd22dbbb) ) | |
| 776 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(6fdb6fd5) SHA1(f40916112365de258956ec033aff79aae1f58690) ) | |
| 757 | 777 | ROM_END |
| 758 | 778 | |
| 759 | 779 | ROM_START( crzmon_6 ) // 031016 |
| r5490 | r5491 | |
| 765 | 785 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(e21ce6a4) SHA1(942ffe323ddbcaaad887cb5bc9f356550926083b) ) |
| 766 | 786 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(c3d0e3d5) SHA1(5b0cb436c6b0bac1213c1df56702fa7f16856106) ) |
| 767 | 787 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(f79df52c) SHA1(b99fa9f61849b62668bf9edff1c80212a9108b15) ) |
| 768 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(9d4d2a94) SHA1(c714e110de628b343dfc7fff23befaa1276056a9) ) | |
| 769 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(a15f0fee) SHA1(3f06d5a1a41e1335bcc7586a5ea95b9b734155c0) ) | |
| 770 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(715a2528) SHA1(6c4c72592568ecbaa9518fb7271d2714dd22dbbb) ) | |
| 771 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(6fdb6fd5) SHA1(f40916112365de258956ec033aff79aae1f58690) ) | |
| 788 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(9d4d2a94) SHA1(c714e110de628b343dfc7fff23befaa1276056a9) ) | |
| 789 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(a15f0fee) SHA1(3f06d5a1a41e1335bcc7586a5ea95b9b734155c0) ) | |
| 790 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(715a2528) SHA1(6c4c72592568ecbaa9518fb7271d2714dd22dbbb) ) | |
| 791 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(6fdb6fd5) SHA1(f40916112365de258956ec033aff79aae1f58690) ) | |
| 772 | 792 | ROM_END |
| 793 | #endif | |
| 773 | 794 | |
| 774 | ||
| 775 | 795 | ROM_START( crzmon_7 ) // 031110 |
| 776 | 796 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 777 | 797 | ROM_LOAD( "cm031110.rom", 0x00000, 0x40000, CRC(d3e67980) SHA1(f0daa91abdde211a2ff61414d84386b763c30949) ) |
| r5490 | r5491 | |
| 781 | 801 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(e21ce6a4) SHA1(942ffe323ddbcaaad887cb5bc9f356550926083b) ) |
| 782 | 802 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(c3d0e3d5) SHA1(5b0cb436c6b0bac1213c1df56702fa7f16856106) ) |
| 783 | 803 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(f79df52c) SHA1(b99fa9f61849b62668bf9edff1c80212a9108b15) ) |
| 784 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(9d4d2a94) SHA1(c714e110de628b343dfc7fff23befaa1276056a9) ) | |
| 785 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(a15f0fee) SHA1(3f06d5a1a41e1335bcc7586a5ea95b9b734155c0) ) | |
| 786 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(715a2528) SHA1(6c4c72592568ecbaa9518fb7271d2714dd22dbbb) ) | |
| 787 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(6fdb6fd5) SHA1(f40916112365de258956ec033aff79aae1f58690) ) | |
| 804 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(9d4d2a94) SHA1(c714e110de628b343dfc7fff23befaa1276056a9) ) | |
| 805 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(a15f0fee) SHA1(3f06d5a1a41e1335bcc7586a5ea95b9b734155c0) ) | |
| 806 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(715a2528) SHA1(6c4c72592568ecbaa9518fb7271d2714dd22dbbb) ) | |
| 807 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(6fdb6fd5) SHA1(f40916112365de258956ec033aff79aae1f58690) ) | |
| 788 | 808 | ROM_END |
| 789 | 809 | |
| 810 | ROM_START( crzmon_7a ) // 031110 | |
| 811 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 812 | ROM_LOAD( "cm031110a.rom", 0x00000, 0x40000, CRC(80666246) SHA1(e15a210b11ba769ca4fd637c962932417555dc0e) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 790 | 813 | |
| 814 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 815 | ROM_LOAD( "1a", 0x000000, 0x80000, CRC(683f2be3) SHA1(6fdba4ec07752bf049787a11638895352e9d5f10) ) | |
| 816 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(e21ce6a4) SHA1(942ffe323ddbcaaad887cb5bc9f356550926083b) ) | |
| 817 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(c3d0e3d5) SHA1(5b0cb436c6b0bac1213c1df56702fa7f16856106) ) | |
| 818 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(f79df52c) SHA1(b99fa9f61849b62668bf9edff1c80212a9108b15) ) | |
| 819 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(9d4d2a94) SHA1(c714e110de628b343dfc7fff23befaa1276056a9) ) | |
| 820 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(a15f0fee) SHA1(3f06d5a1a41e1335bcc7586a5ea95b9b734155c0) ) | |
| 821 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(715a2528) SHA1(6c4c72592568ecbaa9518fb7271d2714dd22dbbb) ) | |
| 822 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(6fdb6fd5) SHA1(f40916112365de258956ec033aff79aae1f58690) ) | |
| 823 | ROM_END | |
| 791 | 824 | |
| 825 | ROM_START( crzmon_7b ) // 031110 | |
| 826 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 827 | ROM_LOAD( "cm031110b.rom", 0x00000, 0x40000, CRC(bb6f4f85) SHA1(a2f44632f857392eb422412b55a19decae4c8620) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 792 | 828 | |
| 829 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 830 | ROM_LOAD( "1a", 0x000000, 0x80000, CRC(683f2be3) SHA1(6fdba4ec07752bf049787a11638895352e9d5f10) ) | |
| 831 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(e21ce6a4) SHA1(942ffe323ddbcaaad887cb5bc9f356550926083b) ) | |
| 832 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(c3d0e3d5) SHA1(5b0cb436c6b0bac1213c1df56702fa7f16856106) ) | |
| 833 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(f79df52c) SHA1(b99fa9f61849b62668bf9edff1c80212a9108b15) ) | |
| 834 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(9d4d2a94) SHA1(c714e110de628b343dfc7fff23befaa1276056a9) ) | |
| 835 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(a15f0fee) SHA1(3f06d5a1a41e1335bcc7586a5ea95b9b734155c0) ) | |
| 836 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(715a2528) SHA1(6c4c72592568ecbaa9518fb7271d2714dd22dbbb) ) | |
| 837 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(6fdb6fd5) SHA1(f40916112365de258956ec033aff79aae1f58690) ) | |
| 838 | ROM_END | |
| 839 | ||
| 840 | ROM_START( crzmon_8 ) // 050120 | |
| 841 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 842 | ROM_LOAD( "cm050120.rom", 0x00000, 0x40000, CRC(9af1e03f) SHA1(caadf48a36da48f4e126b286f6f5498005d8182a) ) | |
| 843 | ||
| 844 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 845 | ROM_LOAD( "1a", 0x000000, 0x80000, CRC(683f2be3) SHA1(6fdba4ec07752bf049787a11638895352e9d5f10) ) | |
| 846 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(e21ce6a4) SHA1(942ffe323ddbcaaad887cb5bc9f356550926083b) ) | |
| 847 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(c3d0e3d5) SHA1(5b0cb436c6b0bac1213c1df56702fa7f16856106) ) | |
| 848 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(f79df52c) SHA1(b99fa9f61849b62668bf9edff1c80212a9108b15) ) | |
| 849 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(9d4d2a94) SHA1(c714e110de628b343dfc7fff23befaa1276056a9) ) | |
| 850 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(a15f0fee) SHA1(3f06d5a1a41e1335bcc7586a5ea95b9b734155c0) ) | |
| 851 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(715a2528) SHA1(6c4c72592568ecbaa9518fb7271d2714dd22dbbb) ) | |
| 852 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(6fdb6fd5) SHA1(f40916112365de258956ec033aff79aae1f58690) ) | |
| 853 | ROM_END | |
| 854 | ||
| 855 | ROM_START( crzmon_8a ) // 050120 | |
| 856 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 857 | ROM_LOAD( "cm050120a.rom", 0x00000, 0x40000, CRC(e20a6997) SHA1(50e0f0f354dd6db2be64d42e36b4043915c4276b) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 858 | ||
| 859 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 860 | ROM_LOAD( "1a", 0x000000, 0x80000, CRC(683f2be3) SHA1(6fdba4ec07752bf049787a11638895352e9d5f10) ) | |
| 861 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(e21ce6a4) SHA1(942ffe323ddbcaaad887cb5bc9f356550926083b) ) | |
| 862 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(c3d0e3d5) SHA1(5b0cb436c6b0bac1213c1df56702fa7f16856106) ) | |
| 863 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(f79df52c) SHA1(b99fa9f61849b62668bf9edff1c80212a9108b15) ) | |
| 864 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(9d4d2a94) SHA1(c714e110de628b343dfc7fff23befaa1276056a9) ) | |
| 865 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(a15f0fee) SHA1(3f06d5a1a41e1335bcc7586a5ea95b9b734155c0) ) | |
| 866 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(715a2528) SHA1(6c4c72592568ecbaa9518fb7271d2714dd22dbbb) ) | |
| 867 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(6fdb6fd5) SHA1(f40916112365de258956ec033aff79aae1f58690) ) | |
| 868 | ROM_END | |
| 869 | ||
| 793 | 870 | /********************************************************* |
| 794 | 871 | Fruit Cocktail |
| 872 | ||
| 873 | All the roms were changed after the 070305 update. | |
| 874 | The official list of hashes shows the 070305 updated roms. | |
| 875 | ||
| 795 | 876 | **********************************************************/ |
| 796 | 877 | |
| 797 | ROM_START( fcock ) // 030505 | |
| 878 | #if ALL_REVISIONS | |
| 879 | ROM_START( fcockt ) // 030505 | |
| 798 | 880 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 799 | 881 | ROM_LOAD( "fc030505.rom", 0x00000, 0x40000, MD5(5ee5ad269498787e5eb69194874b6544) SHA1(cc65334e8dfae5ffef1d73bd5085e3555905e259) ) |
| 800 | 882 | |
| r5490 | r5491 | |
| 809 | 891 | ROM_LOAD( "8b", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) |
| 810 | 892 | ROM_END |
| 811 | 893 | |
| 812 | ||
| 813 | ROM_START( fcock_2 ) // 030512 | |
| 894 | ROM_START( fcockt_2 ) // 030512 | |
| 814 | 895 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 815 | 896 | ROM_LOAD( "fc030512.rom", 0x00000, 0x40000, MD5(e94917c5935641601f17a3fe56dedb17) SHA1(c23ebcf64609a56a029f05101185f3adf73cdadd) ) |
| 816 | 897 | |
| r5490 | r5491 | |
| 825 | 906 | ROM_LOAD( "8b", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) |
| 826 | 907 | ROM_END |
| 827 | 908 | |
| 828 | ROM_START( fcock_3 ) // 030623 | |
| 909 | ROM_START( fcockt_3 ) // 030623 | |
| 829 | 910 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 830 | 911 | ROM_LOAD( "fc030623.rom", 0x00000, 0x40000, MD5(f787356afecbe02dcfcd89060cc30daf) SHA1(b95c5e06cf41762802199e1b55a5eda2243c9af7) ) |
| 831 | 912 | |
| r5490 | r5491 | |
| 840 | 921 | ROM_LOAD( "8b", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) |
| 841 | 922 | ROM_END |
| 842 | 923 | |
| 843 | ROM_START( fcock_4 ) // 031028 | |
| 924 | ROM_START( fcockt_4 ) // 031028 | |
| 844 | 925 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 845 | 926 | ROM_LOAD( "fc031028.rom", 0x00000, 0x40000, MD5(ffab543f86538d4717da7cf20d97e3d1) SHA1(18a0ac6e3c6f1d6ae7aeae5322e6b6617923cfdf) ) |
| 846 | 927 | |
| r5490 | r5491 | |
| 855 | 936 | ROM_LOAD( "8b", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) |
| 856 | 937 | ROM_END |
| 857 | 938 | |
| 858 | ||
| 859 | ROM_START( fcock_5 ) // 031111 | |
| 939 | ROM_START( fcockt_5 ) // 031111 | |
| 860 | 940 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 861 | 941 | ROM_LOAD( "fc031111.rom", 0x00000, 0x40000, MD5(6df6a06bf0c4df16b6f4d76493d31a39) SHA1(7cc9aeb88a2923f6c5c176abcd6c6b241b353eab) ) |
| 862 | 942 | |
| r5490 | r5491 | |
| 870 | 950 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) // the same as newer sets? |
| 871 | 951 | ROM_LOAD( "8b", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) |
| 872 | 952 | ROM_END |
| 953 | #endif | |
| 873 | 954 | |
| 874 | ||
| 875 | ROM_START( fcock_6 ) // 040216 | |
| 955 | ROM_START( fcockt_6 ) // 040216 | |
| 876 | 956 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 877 | 957 | ROM_LOAD( "fc040216.rom", 0x00000, 0x40000, CRC(d12b0201) SHA1(09f4b0b5239609ebf13e643782d1881920a1203d) ) |
| 878 | 958 | |
| r5490 | r5491 | |
| 887 | 967 | ROM_LOAD( "8b", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) |
| 888 | 968 | ROM_END |
| 889 | 969 | |
| 970 | ROM_START( fcockt_6a ) // 040216 | |
| 971 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 972 | ROM_LOAD( "fc040216a.rom", 0x00000, 0x40000, CRC(58e7a0c6) SHA1(8022f92af05e9ff6999ff936bad6048d6c264086) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 890 | 973 | |
| 974 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 975 | ROM_LOAD( "1b", 0x000000, 0x80000, CRC(da72c0bb) SHA1(41c9eebccce82520dfe41d6a3a574b2890945ffa) ) | |
| 976 | ROM_LOAD( "2b", 0x100000, 0x80000, CRC(6239ba9d) SHA1(22486ad30c28341784e7e490255247b82782b72e) ) | |
| 977 | ROM_LOAD( "3b", 0x200000, 0x80000, CRC(2c14a464) SHA1(5fce2f4ef95c5054b055db94399946257bc7321f) ) | |
| 978 | ROM_LOAD( "4b", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) | |
| 979 | ROM_LOAD( "5b", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) | |
| 980 | ROM_LOAD( "6b", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) | |
| 981 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) // the same as newer sets? | |
| 982 | ROM_LOAD( "8b", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) | |
| 983 | ROM_END | |
| 984 | ||
| 985 | ROM_START( fcockt_6b ) // 040216 | |
| 986 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 987 | ROM_LOAD( "fc040216b.rom", 0x00000, 0x40000, CRC(0f6bcf03) SHA1(6c8765f836f1d899aec3be9c842d5064fd70a435) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 988 | ||
| 989 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 990 | ROM_LOAD( "1b", 0x000000, 0x80000, CRC(da72c0bb) SHA1(41c9eebccce82520dfe41d6a3a574b2890945ffa) ) | |
| 991 | ROM_LOAD( "2b", 0x100000, 0x80000, CRC(6239ba9d) SHA1(22486ad30c28341784e7e490255247b82782b72e) ) | |
| 992 | ROM_LOAD( "3b", 0x200000, 0x80000, CRC(2c14a464) SHA1(5fce2f4ef95c5054b055db94399946257bc7321f) ) | |
| 993 | ROM_LOAD( "4b", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) | |
| 994 | ROM_LOAD( "5b", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) | |
| 995 | ROM_LOAD( "6b", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) | |
| 996 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) // the same as newer sets? | |
| 997 | ROM_LOAD( "8b", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) | |
| 998 | ROM_END | |
| 999 | ||
| 1000 | ROM_START( fcockt_7 ) // 050118 | |
| 1001 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1002 | ROM_LOAD( "fc050118.rom", 0x00000, 0x40000, CRC(356b140a) SHA1(d6e671b5c7fa6592f80b90b289cce0afe1a9cea3) ) | |
| 1003 | ||
| 1004 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1005 | ROM_LOAD( "1b", 0x000000, 0x80000, CRC(da72c0bb) SHA1(41c9eebccce82520dfe41d6a3a574b2890945ffa) ) | |
| 1006 | ROM_LOAD( "2b", 0x100000, 0x80000, CRC(6239ba9d) SHA1(22486ad30c28341784e7e490255247b82782b72e) ) | |
| 1007 | ROM_LOAD( "3b", 0x200000, 0x80000, CRC(2c14a464) SHA1(5fce2f4ef95c5054b055db94399946257bc7321f) ) | |
| 1008 | ROM_LOAD( "4b", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) | |
| 1009 | ROM_LOAD( "5b", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) | |
| 1010 | ROM_LOAD( "6b", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) | |
| 1011 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) // the same as newer sets? | |
| 1012 | ROM_LOAD( "8b", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) | |
| 1013 | ROM_END | |
| 1014 | ||
| 1015 | ROM_START( fcockt_7a ) // 050118 | |
| 1016 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1017 | ROM_LOAD( "fc050118a.rom", 0x00000, 0x40000, CRC(eb2bd908) SHA1(b8e9ef469767fb9e95ff181876ffeaee4b7b9361) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 1018 | ||
| 1019 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1020 | ROM_LOAD( "1b", 0x000000, 0x80000, CRC(da72c0bb) SHA1(41c9eebccce82520dfe41d6a3a574b2890945ffa) ) | |
| 1021 | ROM_LOAD( "2b", 0x100000, 0x80000, CRC(6239ba9d) SHA1(22486ad30c28341784e7e490255247b82782b72e) ) | |
| 1022 | ROM_LOAD( "3b", 0x200000, 0x80000, CRC(2c14a464) SHA1(5fce2f4ef95c5054b055db94399946257bc7321f) ) | |
| 1023 | ROM_LOAD( "4b", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) | |
| 1024 | ROM_LOAD( "5b", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) | |
| 1025 | ROM_LOAD( "6b", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) | |
| 1026 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) // the same as newer sets? | |
| 1027 | ROM_LOAD( "8b", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) | |
| 1028 | ROM_END | |
| 1029 | ||
| 1030 | ROM_START( fcockt_8 ) // 060111 | |
| 1031 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1032 | ROM_LOAD( "fc060111.rom", 0x00000, 0x40000, CRC(a4af79e3) SHA1(28f40573d6c61e1937b8d05da94e197da5236f57) ) | |
| 1033 | ||
| 1034 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1035 | ROM_LOAD( "1b", 0x000000, 0x80000, CRC(da72c0bb) SHA1(41c9eebccce82520dfe41d6a3a574b2890945ffa) ) | |
| 1036 | ROM_LOAD( "2b", 0x100000, 0x80000, CRC(6239ba9d) SHA1(22486ad30c28341784e7e490255247b82782b72e) ) | |
| 1037 | ROM_LOAD( "3b", 0x200000, 0x80000, CRC(2c14a464) SHA1(5fce2f4ef95c5054b055db94399946257bc7321f) ) | |
| 1038 | ROM_LOAD( "4b", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) | |
| 1039 | ROM_LOAD( "5b", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) | |
| 1040 | ROM_LOAD( "6b", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) | |
| 1041 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) // the same as newer sets? | |
| 1042 | ROM_LOAD( "8b", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) | |
| 1043 | ROM_END | |
| 1044 | ||
| 891 | 1045 | /********************************************************* |
| 892 | 1046 | Lucky Haunter |
| 1047 | ||
| 1048 | Roms 1-4 were changed after the 070402 update. | |
| 1049 | The official list of hashes shows the 070402 updated roms. | |
| 1050 | ||
| 893 | 1051 | **********************************************************/ |
| 894 | 1052 | |
| 1053 | #if ALL_REVISIONS | |
| 895 | 1054 | ROM_START( lhaunt ) // 030707 |
| 896 | 1055 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 897 | 1056 | ROM_LOAD( "lh030707.rom", 0x00000, 0x40000, MD5(f2e42fb479888c21351e3029025e6700) SHA1(c7b8e1b98cd0aa665d62c1652716993539c9f3ef) ) |
| r5490 | r5491 | |
| 901 | 1060 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(b18abebc) SHA1(66c28fd3f338360b9236dcf414548bfb53655951) ) |
| 902 | 1061 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(2e67a1d9) SHA1(a3eff78f25e4e4878706d7c9e4ca71f6914006c6) ) |
| 903 | 1062 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(90c963f6) SHA1(2a9c689315cdfb67425f0710511dc0e0241741a7) ) |
| 904 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(b50c90a3) SHA1(74749f4ffb5b0630631b511fc3230c6e7b50dc3b) ) | |
| 905 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(4eaaab64) SHA1(9fed16f8e0308200fd16c4b1e511e1bf6c22ae66) ) | |
| 906 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(64d16ba9) SHA1(3b897183d6e0f1256be7657441f234fc72077682) ) | |
| 907 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(1bdf6252) SHA1(7b5ae82a95a744b236e109024d47b526dccf9c14) ) | |
| 1063 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(b50c90a3) SHA1(74749f4ffb5b0630631b511fc3230c6e7b50dc3b) ) | |
| 1064 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(4eaaab64) SHA1(9fed16f8e0308200fd16c4b1e511e1bf6c22ae66) ) | |
| 1065 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(64d16ba9) SHA1(3b897183d6e0f1256be7657441f234fc72077682) ) | |
| 1066 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(1bdf6252) SHA1(7b5ae82a95a744b236e109024d47b526dccf9c14) ) | |
| 908 | 1067 | ROM_END |
| 909 | 1068 | |
| 910 | ||
| 911 | 1069 | ROM_START( lhaunt_2 ) // 030804 |
| 912 | 1070 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 913 | 1071 | ROM_LOAD( "lh030804.rom", 0x00000, 0x40000, MD5(01352f3dd0e7d301f8edfb170600e2a1) SHA1(b75702a678d716cd0ccb1f2d1e58c1d3e9f7ca98) ) |
| r5490 | r5491 | |
| 917 | 1075 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(b18abebc) SHA1(66c28fd3f338360b9236dcf414548bfb53655951) ) |
| 918 | 1076 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(2e67a1d9) SHA1(a3eff78f25e4e4878706d7c9e4ca71f6914006c6) ) |
| 919 | 1077 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(90c963f6) SHA1(2a9c689315cdfb67425f0710511dc0e0241741a7) ) |
| 920 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(b50c90a3) SHA1(74749f4ffb5b0630631b511fc3230c6e7b50dc3b) ) | |
| 921 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(4eaaab64) SHA1(9fed16f8e0308200fd16c4b1e511e1bf6c22ae66) ) | |
| 922 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(64d16ba9) SHA1(3b897183d6e0f1256be7657441f234fc72077682) ) | |
| 923 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(1bdf6252) SHA1(7b5ae82a95a744b236e109024d47b526dccf9c14) ) | |
| 1078 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(b50c90a3) SHA1(74749f4ffb5b0630631b511fc3230c6e7b50dc3b) ) | |
| 1079 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(4eaaab64) SHA1(9fed16f8e0308200fd16c4b1e511e1bf6c22ae66) ) | |
| 1080 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(64d16ba9) SHA1(3b897183d6e0f1256be7657441f234fc72077682) ) | |
| 1081 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(1bdf6252) SHA1(7b5ae82a95a744b236e109024d47b526dccf9c14) ) | |
| 924 | 1082 | ROM_END |
| 925 | 1083 | |
| 926 | ||
| 927 | 1084 | ROM_START( lhaunt_3 ) // 031027 |
| 928 | 1085 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 929 | 1086 | ROM_LOAD( "lh031027.rom", 0x00000, 0x40000, MD5(49b1cf6f89d03b36c5f80d0ccfc23aa2) SHA1(caec736dde2878588ab197ba37801cf7a9ed975b) ) |
| r5490 | r5491 | |
| 933 | 1090 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(b18abebc) SHA1(66c28fd3f338360b9236dcf414548bfb53655951) ) |
| 934 | 1091 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(2e67a1d9) SHA1(a3eff78f25e4e4878706d7c9e4ca71f6914006c6) ) |
| 935 | 1092 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(90c963f6) SHA1(2a9c689315cdfb67425f0710511dc0e0241741a7) ) |
| 936 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(b50c90a3) SHA1(74749f4ffb5b0630631b511fc3230c6e7b50dc3b) ) | |
| 937 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(4eaaab64) SHA1(9fed16f8e0308200fd16c4b1e511e1bf6c22ae66) ) | |
| 938 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(64d16ba9) SHA1(3b897183d6e0f1256be7657441f234fc72077682) ) | |
| 939 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(1bdf6252) SHA1(7b5ae82a95a744b236e109024d47b526dccf9c14) ) | |
| 1093 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(b50c90a3) SHA1(74749f4ffb5b0630631b511fc3230c6e7b50dc3b) ) | |
| 1094 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(4eaaab64) SHA1(9fed16f8e0308200fd16c4b1e511e1bf6c22ae66) ) | |
| 1095 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(64d16ba9) SHA1(3b897183d6e0f1256be7657441f234fc72077682) ) | |
| 1096 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(1bdf6252) SHA1(7b5ae82a95a744b236e109024d47b526dccf9c14) ) | |
| 940 | 1097 | ROM_END |
| 1098 | #endif | |
| 941 | 1099 | |
| 942 | ||
| 943 | 1100 | ROM_START( lhaunt_4 ) // 031111 |
| 944 | 1101 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 945 | 1102 | ROM_LOAD( "lh031111.rom", 0x00000, 0x40000, CRC(fc357b75) SHA1(512e4f57612851284bb93ba97c276cbc7cb758d9) ) |
| r5490 | r5491 | |
| 949 | 1106 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(b18abebc) SHA1(66c28fd3f338360b9236dcf414548bfb53655951) ) |
| 950 | 1107 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(2e67a1d9) SHA1(a3eff78f25e4e4878706d7c9e4ca71f6914006c6) ) |
| 951 | 1108 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(90c963f6) SHA1(2a9c689315cdfb67425f0710511dc0e0241741a7) ) |
| 952 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(b50c90a3) SHA1(74749f4ffb5b0630631b511fc3230c6e7b50dc3b) ) | |
| 953 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(4eaaab64) SHA1(9fed16f8e0308200fd16c4b1e511e1bf6c22ae66) ) | |
| 954 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(64d16ba9) SHA1(3b897183d6e0f1256be7657441f234fc72077682) ) | |
| 955 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(1bdf6252) SHA1(7b5ae82a95a744b236e109024d47b526dccf9c14) ) | |
| 1109 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(b50c90a3) SHA1(74749f4ffb5b0630631b511fc3230c6e7b50dc3b) ) | |
| 1110 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(4eaaab64) SHA1(9fed16f8e0308200fd16c4b1e511e1bf6c22ae66) ) | |
| 1111 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(64d16ba9) SHA1(3b897183d6e0f1256be7657441f234fc72077682) ) | |
| 1112 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(1bdf6252) SHA1(7b5ae82a95a744b236e109024d47b526dccf9c14) ) | |
| 956 | 1113 | ROM_END |
| 957 | 1114 | |
| 1115 | ROM_START( lhaunt_4a ) // 031111 | |
| 1116 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1117 | ROM_LOAD( "lh031111a.rom", 0x00000, 0x40000, CRC(83d487c9) SHA1(5b88745d06acba542e2d0660298c9058f2bdfa3f) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 1118 | ||
| 1119 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1120 | ROM_LOAD( "1a", 0x000000, 0x80000, CRC(5f1000c6) SHA1(05154d786caf7f5fb9ed90c7d3391cec42e871f8) ) | |
| 1121 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(b18abebc) SHA1(66c28fd3f338360b9236dcf414548bfb53655951) ) | |
| 1122 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(2e67a1d9) SHA1(a3eff78f25e4e4878706d7c9e4ca71f6914006c6) ) | |
| 1123 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(90c963f6) SHA1(2a9c689315cdfb67425f0710511dc0e0241741a7) ) | |
| 1124 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(b50c90a3) SHA1(74749f4ffb5b0630631b511fc3230c6e7b50dc3b) ) | |
| 1125 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(4eaaab64) SHA1(9fed16f8e0308200fd16c4b1e511e1bf6c22ae66) ) | |
| 1126 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(64d16ba9) SHA1(3b897183d6e0f1256be7657441f234fc72077682) ) | |
| 1127 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(1bdf6252) SHA1(7b5ae82a95a744b236e109024d47b526dccf9c14) ) | |
| 1128 | ROM_END | |
| 1129 | ||
| 958 | 1130 | ROM_START( lhaunt_5 ) // 040216 |
| 959 | 1131 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 960 | 1132 | ROM_LOAD( "lh040216.rom", 0x00000, 0x40000, CRC(558d8345) SHA1(30a87902b291413b1e6eaad6bf4964c54e391e23) ) |
| r5490 | r5491 | |
| 964 | 1136 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(b18abebc) SHA1(66c28fd3f338360b9236dcf414548bfb53655951) ) |
| 965 | 1137 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(2e67a1d9) SHA1(a3eff78f25e4e4878706d7c9e4ca71f6914006c6) ) |
| 966 | 1138 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(90c963f6) SHA1(2a9c689315cdfb67425f0710511dc0e0241741a7) ) |
| 967 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(b50c90a3) SHA1(74749f4ffb5b0630631b511fc3230c6e7b50dc3b) ) | |
| 968 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(4eaaab64) SHA1(9fed16f8e0308200fd16c4b1e511e1bf6c22ae66) ) | |
| 969 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(64d16ba9) SHA1(3b897183d6e0f1256be7657441f234fc72077682) ) | |
| 970 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(1bdf6252) SHA1(7b5ae82a95a744b236e109024d47b526dccf9c14) ) | |
| 1139 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(b50c90a3) SHA1(74749f4ffb5b0630631b511fc3230c6e7b50dc3b) ) | |
| 1140 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(4eaaab64) SHA1(9fed16f8e0308200fd16c4b1e511e1bf6c22ae66) ) | |
| 1141 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(64d16ba9) SHA1(3b897183d6e0f1256be7657441f234fc72077682) ) | |
| 1142 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(1bdf6252) SHA1(7b5ae82a95a744b236e109024d47b526dccf9c14) ) | |
| 971 | 1143 | ROM_END |
| 972 | 1144 | |
| 1145 | ROM_START( lhaunt_5a ) // 040216 | |
| 1146 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1147 | ROM_LOAD( "lh040216a.rom", 0x00000, 0x40000, CRC(2a6c7ff9) SHA1(4a0137c7df5003e8fd843d5489d416d15f001f46) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 1148 | ||
| 1149 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1150 | ROM_LOAD( "1a", 0x000000, 0x80000, CRC(5f1000c6) SHA1(05154d786caf7f5fb9ed90c7d3391cec42e871f8) ) | |
| 1151 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(b18abebc) SHA1(66c28fd3f338360b9236dcf414548bfb53655951) ) | |
| 1152 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(2e67a1d9) SHA1(a3eff78f25e4e4878706d7c9e4ca71f6914006c6) ) | |
| 1153 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(90c963f6) SHA1(2a9c689315cdfb67425f0710511dc0e0241741a7) ) | |
| 1154 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(b50c90a3) SHA1(74749f4ffb5b0630631b511fc3230c6e7b50dc3b) ) | |
| 1155 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(4eaaab64) SHA1(9fed16f8e0308200fd16c4b1e511e1bf6c22ae66) ) | |
| 1156 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(64d16ba9) SHA1(3b897183d6e0f1256be7657441f234fc72077682) ) | |
| 1157 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(1bdf6252) SHA1(7b5ae82a95a744b236e109024d47b526dccf9c14) ) | |
| 1158 | ROM_END | |
| 1159 | ||
| 973 | 1160 | ROM_START( lhaunt_6 ) // 040825 |
| 974 | 1161 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 975 | 1162 | ROM_LOAD( "lh040825.rom", 0x00000, 0x40000, CRC(f9924fa1) SHA1(57a1730fef4963d30f3991f27021647a8c681952) ) |
| r5490 | r5491 | |
| 979 | 1166 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(b18abebc) SHA1(66c28fd3f338360b9236dcf414548bfb53655951) ) |
| 980 | 1167 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(2e67a1d9) SHA1(a3eff78f25e4e4878706d7c9e4ca71f6914006c6) ) |
| 981 | 1168 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(90c963f6) SHA1(2a9c689315cdfb67425f0710511dc0e0241741a7) ) |
| 982 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(b50c90a3) SHA1(74749f4ffb5b0630631b511fc3230c6e7b50dc3b) ) | |
| 983 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(4eaaab64) SHA1(9fed16f8e0308200fd16c4b1e511e1bf6c22ae66) ) | |
| 984 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(64d16ba9) SHA1(3b897183d6e0f1256be7657441f234fc72077682) ) | |
| 985 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(1bdf6252) SHA1(7b5ae82a95a744b236e109024d47b526dccf9c14) ) | |
| 1169 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(b50c90a3) SHA1(74749f4ffb5b0630631b511fc3230c6e7b50dc3b) ) | |
| 1170 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(4eaaab64) SHA1(9fed16f8e0308200fd16c4b1e511e1bf6c22ae66) ) | |
| 1171 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(64d16ba9) SHA1(3b897183d6e0f1256be7657441f234fc72077682) ) | |
| 1172 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(1bdf6252) SHA1(7b5ae82a95a744b236e109024d47b526dccf9c14) ) | |
| 986 | 1173 | ROM_END |
| 987 | 1174 | |
| 1175 | ROM_START( lhaunt_6a ) // 040825 | |
| 1176 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1177 | ROM_LOAD( "lh040825a.rom", 0x00000, 0x40000, CRC(18ba5704) SHA1(3c77ed129db0e5181217167b76292f8e4ee78728) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 1178 | ||
| 1179 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1180 | ROM_LOAD( "1a", 0x000000, 0x80000, CRC(5f1000c6) SHA1(05154d786caf7f5fb9ed90c7d3391cec42e871f8) ) | |
| 1181 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(b18abebc) SHA1(66c28fd3f338360b9236dcf414548bfb53655951) ) | |
| 1182 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(2e67a1d9) SHA1(a3eff78f25e4e4878706d7c9e4ca71f6914006c6) ) | |
| 1183 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(90c963f6) SHA1(2a9c689315cdfb67425f0710511dc0e0241741a7) ) | |
| 1184 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(b50c90a3) SHA1(74749f4ffb5b0630631b511fc3230c6e7b50dc3b) ) | |
| 1185 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(4eaaab64) SHA1(9fed16f8e0308200fd16c4b1e511e1bf6c22ae66) ) | |
| 1186 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(64d16ba9) SHA1(3b897183d6e0f1256be7657441f234fc72077682) ) | |
| 1187 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(1bdf6252) SHA1(7b5ae82a95a744b236e109024d47b526dccf9c14) ) | |
| 1188 | ROM_END | |
| 1189 | ||
| 988 | 1190 | /********************************************************* |
| 989 | 1191 | Garage |
| 1192 | ||
| 1193 | Roms 1-4 were changed after the 070213 update. | |
| 1194 | The official list of hashes shows the 070213 updated roms. | |
| 1195 | ||
| 990 | 1196 | **********************************************************/ |
| 991 | 1197 | |
| 1198 | #if ALL_REVISIONS | |
| 992 | 1199 | ROM_START( garage ) // 040122. |
| 993 | 1200 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 994 | 1201 | ROM_LOAD( "gg040122.rom", 0x00000, 0x40000, MD5(b1fca0a1293d6891171b168ade2112c0) SHA1(327e55d1f4bdc0ad0556faa2fbdaa05b9a5f1c16) ) |
| r5490 | r5491 | |
| 998 | 1205 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(6d591fa3) SHA1(ddbdf87e0e88dc848b963fbfcb6e14d7b3b9efdc) ) |
| 999 | 1206 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(6a15eeda) SHA1(ac35a20893b0518a159207401f6b7f58e3de45fa) ) |
| 1000 | 1207 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(38f2cd3c) SHA1(5a4463ac352e4e340c6aaa61102841541e9f4c48) ) |
| 1001 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(5bf85bc5) SHA1(ff9d2b9cbcd2af6f5fda972e387820d830c196a9) ) | |
| 1002 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(e5082b26) SHA1(6547409d39dd51498ce8e3f82ff813a8ac3c6522) ) | |
| 1003 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(dfa2ceb1) SHA1(ec7de8a8f6e7785a563df973841cc1f1603f79fc) ) | |
| 1004 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(90c5416b) SHA1(583bfb517bc2e30d7b7903aa19fc3b4b5188d7d2) ) | |
| 1208 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(5bf85bc5) SHA1(ff9d2b9cbcd2af6f5fda972e387820d830c196a9) ) | |
| 1209 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(e5082b26) SHA1(6547409d39dd51498ce8e3f82ff813a8ac3c6522) ) | |
| 1210 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(dfa2ceb1) SHA1(ec7de8a8f6e7785a563df973841cc1f1603f79fc) ) | |
| 1211 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(90c5416b) SHA1(583bfb517bc2e30d7b7903aa19fc3b4b5188d7d2) ) | |
| 1005 | 1212 | ROM_END |
| 1006 | 1213 | |
| 1007 | ||
| 1008 | 1214 | ROM_START( garage_2 ) // 040123. |
| 1009 | 1215 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 1010 | 1216 | ROM_LOAD( "gg040123.rom", 0x00000, 0x40000, MD5(7b66e7c7b9ddf74bd344a626c64fce5e) SHA1(3051c99d22cfe46b532fcc59a0b98eec186f4a76) ) |
| r5490 | r5491 | |
| 1014 | 1220 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(6d591fa3) SHA1(ddbdf87e0e88dc848b963fbfcb6e14d7b3b9efdc) ) |
| 1015 | 1221 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(6a15eeda) SHA1(ac35a20893b0518a159207401f6b7f58e3de45fa) ) |
| 1016 | 1222 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(38f2cd3c) SHA1(5a4463ac352e4e340c6aaa61102841541e9f4c48) ) |
| 1017 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(5bf85bc5) SHA1(ff9d2b9cbcd2af6f5fda972e387820d830c196a9) ) | |
| 1018 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(e5082b26) SHA1(6547409d39dd51498ce8e3f82ff813a8ac3c6522) ) | |
| 1019 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(dfa2ceb1) SHA1(ec7de8a8f6e7785a563df973841cc1f1603f79fc) ) | |
| 1020 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(90c5416b) SHA1(583bfb517bc2e30d7b7903aa19fc3b4b5188d7d2) ) | |
| 1223 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(5bf85bc5) SHA1(ff9d2b9cbcd2af6f5fda972e387820d830c196a9) ) | |
| 1224 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(e5082b26) SHA1(6547409d39dd51498ce8e3f82ff813a8ac3c6522) ) | |
| 1225 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(dfa2ceb1) SHA1(ec7de8a8f6e7785a563df973841cc1f1603f79fc) ) | |
| 1226 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(90c5416b) SHA1(583bfb517bc2e30d7b7903aa19fc3b4b5188d7d2) ) | |
| 1021 | 1227 | ROM_END |
| 1022 | 1228 | |
| 1023 | 1229 | ROM_START( garage_3 ) // 040216. |
| r5490 | r5491 | |
| 1029 | 1235 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(6d591fa3) SHA1(ddbdf87e0e88dc848b963fbfcb6e14d7b3b9efdc) ) |
| 1030 | 1236 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(6a15eeda) SHA1(ac35a20893b0518a159207401f6b7f58e3de45fa) ) |
| 1031 | 1237 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(38f2cd3c) SHA1(5a4463ac352e4e340c6aaa61102841541e9f4c48) ) |
| 1032 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(5bf85bc5) SHA1(ff9d2b9cbcd2af6f5fda972e387820d830c196a9) ) | |
| 1033 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(e5082b26) SHA1(6547409d39dd51498ce8e3f82ff813a8ac3c6522) ) | |
| 1034 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(dfa2ceb1) SHA1(ec7de8a8f6e7785a563df973841cc1f1603f79fc) ) | |
| 1035 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(90c5416b) SHA1(583bfb517bc2e30d7b7903aa19fc3b4b5188d7d2) ) | |
| 1238 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(5bf85bc5) SHA1(ff9d2b9cbcd2af6f5fda972e387820d830c196a9) ) | |
| 1239 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(e5082b26) SHA1(6547409d39dd51498ce8e3f82ff813a8ac3c6522) ) | |
| 1240 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(dfa2ceb1) SHA1(ec7de8a8f6e7785a563df973841cc1f1603f79fc) ) | |
| 1241 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(90c5416b) SHA1(583bfb517bc2e30d7b7903aa19fc3b4b5188d7d2) ) | |
| 1036 | 1242 | ROM_END |
| 1243 | #endif | |
| 1037 | 1244 | |
| 1038 | 1245 | ROM_START( garage_4 ) // 040219. |
| 1039 | 1246 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| r5490 | r5491 | |
| 1044 | 1251 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(6d591fa3) SHA1(ddbdf87e0e88dc848b963fbfcb6e14d7b3b9efdc) ) |
| 1045 | 1252 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(6a15eeda) SHA1(ac35a20893b0518a159207401f6b7f58e3de45fa) ) |
| 1046 | 1253 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(38f2cd3c) SHA1(5a4463ac352e4e340c6aaa61102841541e9f4c48) ) |
| 1047 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(5bf85bc5) SHA1(ff9d2b9cbcd2af6f5fda972e387820d830c196a9) ) | |
| 1048 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(e5082b26) SHA1(6547409d39dd51498ce8e3f82ff813a8ac3c6522) ) | |
| 1049 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(dfa2ceb1) SHA1(ec7de8a8f6e7785a563df973841cc1f1603f79fc) ) | |
| 1050 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(90c5416b) SHA1(583bfb517bc2e30d7b7903aa19fc3b4b5188d7d2) ) | |
| 1254 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(5bf85bc5) SHA1(ff9d2b9cbcd2af6f5fda972e387820d830c196a9) ) | |
| 1255 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(e5082b26) SHA1(6547409d39dd51498ce8e3f82ff813a8ac3c6522) ) | |
| 1256 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(dfa2ceb1) SHA1(ec7de8a8f6e7785a563df973841cc1f1603f79fc) ) | |
| 1257 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(90c5416b) SHA1(583bfb517bc2e30d7b7903aa19fc3b4b5188d7d2) ) | |
| 1051 | 1258 | ROM_END |
| 1052 | 1259 | |
| 1260 | ROM_START( garage_4a ) // 040219. | |
| 1261 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1262 | ROM_LOAD( "gg040219a.rom", 0x00000, 0x40000, CRC(e16b213a) SHA1(af0d78116d985efe5f09eb86eb67df2535765527) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 1263 | ||
| 1264 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1265 | ROM_LOAD( "1a", 0x000000, 0x80000, CRC(57acd4bc) SHA1(8796f463787c359cce6ac09c1b6895f871bbb7c9) ) | |
| 1266 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(6d591fa3) SHA1(ddbdf87e0e88dc848b963fbfcb6e14d7b3b9efdc) ) | |
| 1267 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(6a15eeda) SHA1(ac35a20893b0518a159207401f6b7f58e3de45fa) ) | |
| 1268 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(38f2cd3c) SHA1(5a4463ac352e4e340c6aaa61102841541e9f4c48) ) | |
| 1269 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(5bf85bc5) SHA1(ff9d2b9cbcd2af6f5fda972e387820d830c196a9) ) | |
| 1270 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(e5082b26) SHA1(6547409d39dd51498ce8e3f82ff813a8ac3c6522) ) | |
| 1271 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(dfa2ceb1) SHA1(ec7de8a8f6e7785a563df973841cc1f1603f79fc) ) | |
| 1272 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(90c5416b) SHA1(583bfb517bc2e30d7b7903aa19fc3b4b5188d7d2) ) | |
| 1273 | ROM_END | |
| 1274 | ||
| 1275 | ROM_START( garage_5 ) // 050311. | |
| 1276 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1277 | ROM_LOAD( "gg050311.rom", 0x00000, 0x40000, CRC(405aee88) SHA1(356a8c309434ae4ad6b6fab97aeaece8aa60a730) ) | |
| 1278 | ||
| 1279 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1280 | ROM_LOAD( "1a", 0x000000, 0x80000, CRC(57acd4bc) SHA1(8796f463787c359cce6ac09c1b6895f871bbb7c9) ) | |
| 1281 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(6d591fa3) SHA1(ddbdf87e0e88dc848b963fbfcb6e14d7b3b9efdc) ) | |
| 1282 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(6a15eeda) SHA1(ac35a20893b0518a159207401f6b7f58e3de45fa) ) | |
| 1283 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(38f2cd3c) SHA1(5a4463ac352e4e340c6aaa61102841541e9f4c48) ) | |
| 1284 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(5bf85bc5) SHA1(ff9d2b9cbcd2af6f5fda972e387820d830c196a9) ) | |
| 1285 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(e5082b26) SHA1(6547409d39dd51498ce8e3f82ff813a8ac3c6522) ) | |
| 1286 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(dfa2ceb1) SHA1(ec7de8a8f6e7785a563df973841cc1f1603f79fc) ) | |
| 1287 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(90c5416b) SHA1(583bfb517bc2e30d7b7903aa19fc3b4b5188d7d2) ) | |
| 1288 | ROM_END | |
| 1289 | ||
| 1290 | ROM_START( garage_5a ) // 050311. | |
| 1291 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1292 | ROM_LOAD( "gg050311a.rom", 0x00000, 0x40000, CRC(874a2c27) SHA1(9bf586314f375c2c6f7d79557cc777ac3559cb64) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 1293 | ||
| 1294 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1295 | ROM_LOAD( "1a", 0x000000, 0x80000, CRC(57acd4bc) SHA1(8796f463787c359cce6ac09c1b6895f871bbb7c9) ) | |
| 1296 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(6d591fa3) SHA1(ddbdf87e0e88dc848b963fbfcb6e14d7b3b9efdc) ) | |
| 1297 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(6a15eeda) SHA1(ac35a20893b0518a159207401f6b7f58e3de45fa) ) | |
| 1298 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(38f2cd3c) SHA1(5a4463ac352e4e340c6aaa61102841541e9f4c48) ) | |
| 1299 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(5bf85bc5) SHA1(ff9d2b9cbcd2af6f5fda972e387820d830c196a9) ) | |
| 1300 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(e5082b26) SHA1(6547409d39dd51498ce8e3f82ff813a8ac3c6522) ) | |
| 1301 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(dfa2ceb1) SHA1(ec7de8a8f6e7785a563df973841cc1f1603f79fc) ) | |
| 1302 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(90c5416b) SHA1(583bfb517bc2e30d7b7903aa19fc3b4b5188d7d2) ) | |
| 1303 | ROM_END | |
| 1304 | ||
| 1053 | 1305 | /********************************************************* |
| 1054 | 1306 | Rock Clibmer |
| 1307 | ||
| 1308 | Roms 1-4 were changed after the 070322 update. | |
| 1309 | The official list of hashes shows the 070322 updated roms. | |
| 1310 | ||
| 1055 | 1311 | **********************************************************/ |
| 1056 | 1312 | |
| 1313 | #if ALL_REVISIONS | |
| 1057 | 1314 | ROM_START( rclimb ) // 040815 |
| 1058 | 1315 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 1059 | 1316 | ROM_LOAD( "rc040815.rom", 0x00000, 0x40000, MD5(82c3ee54f8112c0d0f8007c7e87bb8a2) SHA1(593e64bfe57ba271c04bdd2a35c9484c4efaaa00)) |
| r5490 | r5491 | |
| 1063 | 1320 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(7364bd2b) SHA1(c0edfd3b8de813c95fe5d6072662fa0e39fec89e) ) |
| 1064 | 1321 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(e7befb17) SHA1(8a214680142cd657784a667ab3f6422165fea224) ) |
| 1065 | 1322 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(dc6d43a0) SHA1(62fc47136775f3fa9369857ec91fe897a1f1ebd6) ) |
| 1066 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(ea127c3d) SHA1(a6391eed69a4723b68d727f59b6baebe51633e66) ) | |
| 1067 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(277fa273) SHA1(6320e6c5b5e48dc451cc48189054c42d85e8ccc1) ) | |
| 1068 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(3ca7f69a) SHA1(878cca181d915dc3548d5285a4bbb51aef31a64e) ) | |
| 1069 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(8cf6b4c2) SHA1(4c36c217b83c82acfdd615f5547bf597af7b8833) ) | |
| 1323 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(ea127c3d) SHA1(a6391eed69a4723b68d727f59b6baebe51633e66) ) | |
| 1324 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(277fa273) SHA1(6320e6c5b5e48dc451cc48189054c42d85e8ccc1) ) | |
| 1325 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(3ca7f69a) SHA1(878cca181d915dc3548d5285a4bbb51aef31a64e) ) | |
| 1326 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(8cf6b4c2) SHA1(4c36c217b83c82acfdd615f5547bf597af7b8833) ) | |
| 1070 | 1327 | ROM_END |
| 1071 | 1328 | |
| 1072 | 1329 | ROM_START( rclimb_2 ) // 040823 |
| r5490 | r5491 | |
| 1078 | 1335 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(7364bd2b) SHA1(c0edfd3b8de813c95fe5d6072662fa0e39fec89e) ) |
| 1079 | 1336 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(e7befb17) SHA1(8a214680142cd657784a667ab3f6422165fea224) ) |
| 1080 | 1337 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(dc6d43a0) SHA1(62fc47136775f3fa9369857ec91fe897a1f1ebd6) ) |
| 1081 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(ea127c3d) SHA1(a6391eed69a4723b68d727f59b6baebe51633e66) ) | |
| 1082 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(277fa273) SHA1(6320e6c5b5e48dc451cc48189054c42d85e8ccc1) ) | |
| 1083 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(3ca7f69a) SHA1(878cca181d915dc3548d5285a4bbb51aef31a64e) ) | |
| 1084 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(8cf6b4c2) SHA1(4c36c217b83c82acfdd615f5547bf597af7b8833) ) | |
| 1338 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(ea127c3d) SHA1(a6391eed69a4723b68d727f59b6baebe51633e66) ) | |
| 1339 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(277fa273) SHA1(6320e6c5b5e48dc451cc48189054c42d85e8ccc1) ) | |
| 1340 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(3ca7f69a) SHA1(878cca181d915dc3548d5285a4bbb51aef31a64e) ) | |
| 1341 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(8cf6b4c2) SHA1(4c36c217b83c82acfdd615f5547bf597af7b8833) ) | |
| 1085 | 1342 | ROM_END |
| 1343 | #endif | |
| 1086 | 1344 | |
| 1087 | 1345 | ROM_START( rclimb_3 ) // 040827 |
| 1088 | 1346 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| r5490 | r5491 | |
| 1093 | 1351 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(7364bd2b) SHA1(c0edfd3b8de813c95fe5d6072662fa0e39fec89e) ) |
| 1094 | 1352 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(e7befb17) SHA1(8a214680142cd657784a667ab3f6422165fea224) ) |
| 1095 | 1353 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(dc6d43a0) SHA1(62fc47136775f3fa9369857ec91fe897a1f1ebd6) ) |
| 1096 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(ea127c3d) SHA1(a6391eed69a4723b68d727f59b6baebe51633e66) ) | |
| 1097 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(277fa273) SHA1(6320e6c5b5e48dc451cc48189054c42d85e8ccc1) ) | |
| 1098 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(3ca7f69a) SHA1(878cca181d915dc3548d5285a4bbb51aef31a64e) ) | |
| 1099 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(8cf6b4c2) SHA1(4c36c217b83c82acfdd615f5547bf597af7b8833) ) | |
| 1354 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(ea127c3d) SHA1(a6391eed69a4723b68d727f59b6baebe51633e66) ) | |
| 1355 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(277fa273) SHA1(6320e6c5b5e48dc451cc48189054c42d85e8ccc1) ) | |
| 1356 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(3ca7f69a) SHA1(878cca181d915dc3548d5285a4bbb51aef31a64e) ) | |
| 1357 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(8cf6b4c2) SHA1(4c36c217b83c82acfdd615f5547bf597af7b8833) ) | |
| 1100 | 1358 | ROM_END |
| 1101 | 1359 | |
| 1360 | ROM_START( rclimb_3a ) // 040827 | |
| 1361 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1362 | ROM_LOAD( "rc040827a.rom", 0x00000, 0x40000, CRC(6420f8b4) SHA1(64e4018dbea245ddc06a65fb2f8cf38e77f60999) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 1363 | ||
| 1364 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1365 | ROM_LOAD( "1a", 0x000000, 0x80000, CRC(934f18c7) SHA1(da3a7cddc68e104d415d947e89c0e7f0d067c056) ) | |
| 1366 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(7364bd2b) SHA1(c0edfd3b8de813c95fe5d6072662fa0e39fec89e) ) | |
| 1367 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(e7befb17) SHA1(8a214680142cd657784a667ab3f6422165fea224) ) | |
| 1368 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(dc6d43a0) SHA1(62fc47136775f3fa9369857ec91fe897a1f1ebd6) ) | |
| 1369 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(ea127c3d) SHA1(a6391eed69a4723b68d727f59b6baebe51633e66) ) | |
| 1370 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(277fa273) SHA1(6320e6c5b5e48dc451cc48189054c42d85e8ccc1) ) | |
| 1371 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(3ca7f69a) SHA1(878cca181d915dc3548d5285a4bbb51aef31a64e) ) | |
| 1372 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(8cf6b4c2) SHA1(4c36c217b83c82acfdd615f5547bf597af7b8833) ) | |
| 1373 | ROM_END | |
| 1374 | ||
| 1375 | ROM_START( rclimb_3b ) // 040827 - new service menu | |
| 1376 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1377 | ROM_LOAD( "rc040827.rom", 0x00000, 0x40000, CRC(3ba55647) SHA1(56e96be0d9782da4b3d5d911ea67962257626ae0) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 1378 | ||
| 1379 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1380 | ROM_LOAD( "rc1_.bin", 0x000000, 0x80000, CRC(4bc00c66) SHA1(e4d89c2b188f253b642ae341a1a4c04af33024c8) ) /* is this set a total hack??? */ | |
| 1381 | ROM_LOAD( "rc2_.bin", 0x100000, 0x80000, CRC(89237f10) SHA1(a493a03f79656332089f2794872be44e62d7e306) ) | |
| 1382 | ROM_LOAD( "rc3_.bin", 0x200000, 0x80000, CRC(c4147d05) SHA1(8497fca6e64896cf8f03877c3455ee7bf9965b60) ) | |
| 1383 | ROM_LOAD( "rc4_.bin", 0x300000, 0x80000, CRC(06176cb1) SHA1(0644861042ca4be2d459b31870369a2e46d80aa4) ) | |
| 1384 | ROM_LOAD( "rc5_.bin", 0x080000, 0x80000, CRC(fb5f2036) SHA1(5f8885332a2d9249d34a0a50ac464a5637b9bc95) ) | |
| 1385 | ROM_LOAD( "rc6_.bin", 0x180000, 0x80000, CRC(36a8148f) SHA1(57d84e44c77f2bb1e97ec8a1acd3ef71246e3274) ) | |
| 1386 | ROM_LOAD( "rc7_.bin", 0x280000, 0x80000, CRC(26c620e3) SHA1(b14f2cfc0e5b740360e6ecca97f6bf941136141f) ) | |
| 1387 | ROM_LOAD( "rc8_.bin", 0x380000, 0x80000, CRC(8cf6b4c2) SHA1(4c36c217b83c82acfdd615f5547bf597af7b8833) ) | |
| 1388 | ROM_END | |
| 1389 | ||
| 1102 | 1390 | /********************************************************* |
| 1103 | 1391 | Sweet Life |
| 1104 | 1392 | **********************************************************/ |
| r5490 | r5491 | |
| 1118 | 1406 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(75954355) SHA1(e6ef2b70d859b61e8e3d1751de8558b8778e502d) ) |
| 1119 | 1407 | ROM_END |
| 1120 | 1408 | |
| 1409 | ROM_START( sweetla ) // 041220 | |
| 1410 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1411 | ROM_LOAD( "sl041220a.rom", 0x00000, 0x40000, CRC(920fd9fe) SHA1(0b5ad099ae4c8e3ba0f99baf8fc9322cae24e9d2) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 1412 | ||
| 1413 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1414 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(a096c786) SHA1(81f6b083cb089e9412a8506889196354c670d945) ) | |
| 1415 | ROM_LOAD( "2", 0x100000, 0x80000, CRC(c5e1e22c) SHA1(973ad27681a0f3beee7084b1b85fc9deb79d638e) ) | |
| 1416 | ROM_LOAD( "3", 0x200000, 0x80000, CRC(af335323) SHA1(b8afdce231a8ec0f313cc47e00a27f05461bbbc4) ) | |
| 1417 | ROM_LOAD( "4", 0x300000, 0x80000, CRC(a35c7503) SHA1(78f7a868660bbaa066e8e9e341db52018aaf3af1) ) | |
| 1418 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(e2d6b632) SHA1(65d05e55671b8c335cae2dfbf6a6f5bd8cc90e2c) ) | |
| 1419 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(d34e0905) SHA1(cc4afe64fb9052a31f759be41ff07a727e0a9093) ) | |
| 1420 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(978b67bb) SHA1(87357d5832588f00272bd76df736c06c599f3853) ) | |
| 1421 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(75954355) SHA1(e6ef2b70d859b61e8e3d1751de8558b8778e502d) ) | |
| 1422 | ROM_END | |
| 1423 | ||
| 1121 | 1424 | /********************************************************* |
| 1122 | 1425 | Resident |
| 1426 | ||
| 1427 | Roms 1-4 were changed after the 070222 update. | |
| 1428 | The official list of hashes shows the 070222 updated roms. | |
| 1429 | ||
| 1123 | 1430 | **********************************************************/ |
| 1124 | 1431 | |
| 1432 | #if ALL_REVISIONS | |
| 1125 | 1433 | ROM_START( resdnt ) // 040415 |
| 1126 | 1434 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 1127 | 1435 | ROM_LOAD( "rs040415.rom", 0x00000, 0x40000, MD5(a46e993839a7ce5c4a3d90ba0e961e69) SHA1(b9f07bc2765d4f366e548007e51b9f605c884ba1) ) |
| r5490 | r5491 | |
| 1131 | 1439 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(dd8de247) SHA1(498c5b931ce65e289f52d8864b603166f81e3dc4) ) |
| 1132 | 1440 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(0d346ec2) SHA1(e2456b28825c54c5e16829525627c40611c0083d) ) |
| 1133 | 1441 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(1f95aad9) SHA1(51d003288d5ff23b3c981fbaa99d29b66dd2c101) ) |
| 1134 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(0cfe7d44) SHA1(9f0e4925e815ff9f79188f18e78c0a7b377daa3f) ) | |
| 1135 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(7437904f) SHA1(630c79cd6a990ce7658a1ffabba5a27efba985a1) ) | |
| 1136 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(6e94728a) SHA1(ab414879cb957d9bc8d653b5e3bb2bbf91139ec0) ) | |
| 1137 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(a9f55043) SHA1(4771df3d45bdc0a21b1c479f45e09ac5bab6c94f) ) | |
| 1442 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(0cfe7d44) SHA1(9f0e4925e815ff9f79188f18e78c0a7b377daa3f) ) | |
| 1443 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(7437904f) SHA1(630c79cd6a990ce7658a1ffabba5a27efba985a1) ) | |
| 1444 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(6e94728a) SHA1(ab414879cb957d9bc8d653b5e3bb2bbf91139ec0) ) | |
| 1445 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(a9f55043) SHA1(4771df3d45bdc0a21b1c479f45e09ac5bab6c94f) ) | |
| 1138 | 1446 | ROM_END |
| 1447 | #endif | |
| 1139 | 1448 | |
| 1140 | 1449 | ROM_START( resdnt_2 ) // 040513 |
| 1141 | 1450 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| r5490 | r5491 | |
| 1146 | 1455 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(dd8de247) SHA1(498c5b931ce65e289f52d8864b603166f81e3dc4) ) |
| 1147 | 1456 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(0d346ec2) SHA1(e2456b28825c54c5e16829525627c40611c0083d) ) |
| 1148 | 1457 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(1f95aad9) SHA1(51d003288d5ff23b3c981fbaa99d29b66dd2c101) ) |
| 1149 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(0cfe7d44) SHA1(9f0e4925e815ff9f79188f18e78c0a7b377daa3f) ) | |
| 1150 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(7437904f) SHA1(630c79cd6a990ce7658a1ffabba5a27efba985a1) ) | |
| 1151 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(6e94728a) SHA1(ab414879cb957d9bc8d653b5e3bb2bbf91139ec0) ) | |
| 1152 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(a9f55043) SHA1(4771df3d45bdc0a21b1c479f45e09ac5bab6c94f) ) | |
| 1458 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(0cfe7d44) SHA1(9f0e4925e815ff9f79188f18e78c0a7b377daa3f) ) | |
| 1459 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(7437904f) SHA1(630c79cd6a990ce7658a1ffabba5a27efba985a1) ) | |
| 1460 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(6e94728a) SHA1(ab414879cb957d9bc8d653b5e3bb2bbf91139ec0) ) | |
| 1461 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(a9f55043) SHA1(4771df3d45bdc0a21b1c479f45e09ac5bab6c94f) ) | |
| 1153 | 1462 | ROM_END |
| 1154 | 1463 | |
| 1464 | ROM_START( resdnt_2a ) // 040513 | |
| 1465 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1466 | ROM_LOAD( "rs040513a.rom", 0x00000, 0x40000, CRC(5b6480d7) SHA1(e54ddc822819136687d613ce4f38dd98f3e01bb5) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 1467 | ||
| 1468 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1469 | ROM_LOAD( "1a", 0x000000, 0x80000, CRC(e0645da6) SHA1(dd72f4830d8011f603aa6d430f34ac2598005281) ) | |
| 1470 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(dd8de247) SHA1(498c5b931ce65e289f52d8864b603166f81e3dc4) ) | |
| 1471 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(0d346ec2) SHA1(e2456b28825c54c5e16829525627c40611c0083d) ) | |
| 1472 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(1f95aad9) SHA1(51d003288d5ff23b3c981fbaa99d29b66dd2c101) ) | |
| 1473 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(0cfe7d44) SHA1(9f0e4925e815ff9f79188f18e78c0a7b377daa3f) ) | |
| 1474 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(7437904f) SHA1(630c79cd6a990ce7658a1ffabba5a27efba985a1) ) | |
| 1475 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(6e94728a) SHA1(ab414879cb957d9bc8d653b5e3bb2bbf91139ec0) ) | |
| 1476 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(a9f55043) SHA1(4771df3d45bdc0a21b1c479f45e09ac5bab6c94f) ) | |
| 1477 | ROM_END | |
| 1478 | ||
| 1155 | 1479 | /********************************************************* |
| 1156 | 1480 | Roll Fruit |
| 1481 | ||
| 1482 | Roms 4-8 were changed after the 080327 update. | |
| 1483 | The official list of hashes shows both set of roms. | |
| 1484 | ||
| 1157 | 1485 | **********************************************************/ |
| 1158 | 1486 | |
| 1487 | #if ALL_REVISIONS | |
| 1159 | 1488 | ROM_START( rollfr ) // 030821 |
| 1160 | 1489 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 1161 | ROM_LOAD( "rf030821.rom", 0x00000, 0x40000, MD5(ef4e9d1845676fe655d2f415ca7bd953) SHA1(5e9c2235ea4207086db23870993d8e28356c9eb8) ) | |
| 1490 | ROM_LOAD( "rf5-030821.rom", 0x00000, 0x40000, MD5(ef4e9d1845676fe655d2f415ca7bd953) SHA1(5e9c2235ea4207086db23870993d8e28356c9eb8) ) | |
| 1162 | 1491 | |
| 1163 | 1492 | ROM_REGION( 0x400000, "gfx", 0 ) // no gfx roms listed in dat.. |
| 1164 | ROM_LOAD( "1", 0x000000, 0x80000, MD5(0454d9eb65543d84d24f408727cb9ac1) SHA1(14b9f99f892849faecb3327e572dc134e1065463) ) | |
| 1165 | ROM_LOAD( "2", 0x100000, 0x80000, MD5(ce5c575474407ecde9c43e01418f8f4a) SHA1(a247bbbd1c4ca99978dcc705bd62590815a891f2) ) | |
| 1166 | ROM_LOAD( "3", 0x200000, 0x80000, MD5(eac0f328e620fca521f5efa778393df0) SHA1(c2553136252aebe3b3ce0b5c33e740d0e27fb7b2) ) | |
| 1167 | ROM_LOAD( "4", 0x300000, 0x80000, MD5(76c7538d4b422a7f6a31acd46771ff09) SHA1(4c50ce17bd5714149eae91279a0133059397b776) ) | |
| 1168 | ROM_LOAD( "5", 0x080000, 0x80000, MD5(4a1fb67e2bd1bb46588c1525403c2739) SHA1(684b7b370fcad07bf74bddffaf432bd52e5d29e2) ) | |
| 1169 | ROM_LOAD( "6", 0x180000, 0x80000, MD5(9b0c24815eb969eeb91ab8c43e4776b3) SHA1(73700e88358ed9bccbb63643b7daaff416737e43) ) | |
| 1170 | ROM_LOAD( "7", 0x280000, 0x80000, MD5(088c3eee9f8db9112740be800a809a4d) SHA1(c0f006cf2a4747359cb79f14976ac3411951af1c) ) | |
| 1171 | ROM_LOAD( "8", 0x380000, 0x80000, MD5(532c2ac982cebd221430cd62f84a9534) SHA1(8ec808069053f0c07d81c45090b2ba22ef8e9c32) ) | |
| 1493 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(caeb1fc3) SHA1(14b9f99f892849faecb3327e572dc134e1065463) ) | |
| 1494 | ROM_LOAD( "2", 0x100000, 0x80000, CRC(f017c200) SHA1(a247bbbd1c4ca99978dcc705bd62590815a891f2) ) | |
| 1495 | ROM_LOAD( "3", 0x200000, 0x80000, CRC(a2d6df11) SHA1(c2553136252aebe3b3ce0b5c33e740d0e27fb7b2) ) | |
| 1496 | ROM_LOAD( "4", 0x300000, 0x80000, CRC(cd3c928a) SHA1(4c50ce17bd5714149eae91279a0133059397b776) ) | |
| 1497 | ROM_LOAD( "5a", 0x080000, 0x80000, CRC(24c7362a) SHA1(684b7b370fcad07bf74bddffaf432bd52e5d29e2) ) | |
| 1498 | ROM_LOAD( "6a", 0x180000, 0x80000, CRC(d6a61904) SHA1(73700e88358ed9bccbb63643b7daaff416737e43) ) | |
| 1499 | ROM_LOAD( "7a", 0x280000, 0x80000, CRC(81e3480b) SHA1(c0f006cf2a4747359cb79f14976ac3411951af1c) ) | |
| 1500 | ROM_LOAD( "8a", 0x380000, 0x80000, CRC(ed3558b8) SHA1(8ec808069053f0c07d81c45090b2ba22ef8e9c32) ) | |
| 1172 | 1501 | ROM_END |
| 1502 | #endif | |
| 1173 | 1503 | |
| 1174 | 1504 | ROM_START( rollfr_2 ) // 040318 |
| 1175 | 1505 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked |
| 1176 | ROM_LOAD( "rf040318.rom", 0x00000, 0x40000, | |
| 1506 | ROM_LOAD( "rf5-040318.rom", 0x00000, 0x40000, CRC(d | |
| 1177 | 1507 | |
| 1178 | ROM_REGION( 0x400000, "gfx", 0 ) // no gfx roms listed in dat.. | |
| 1179 | ROM_LOAD( "1", 0x000000, 0x80000, MD5(0454d9eb65543d84d24f408727cb9ac1) SHA1(14b9f99f892849faecb3327e572dc134e1065463) ) | |
| 1180 | ROM_LOAD( "2", 0x100000, 0x80000, MD5(ce5c575474407ecde9c43e01418f8f4a) SHA1(a247bbbd1c4ca99978dcc705bd62590815a891f2) ) | |
| 1181 | ROM_LOAD( "3", 0x200000, 0x80000, MD5(eac0f328e620fca521f5efa778393df0) SHA1(c2553136252aebe3b3ce0b5c33e740d0e27fb7b2) ) | |
| 1182 | ROM_LOAD( "4", 0x300000, 0x80000, MD5(76c7538d4b422a7f6a31acd46771ff09) SHA1(4c50ce17bd5714149eae91279a0133059397b776) ) | |
| 1183 | ROM_LOAD( "5", 0x080000, 0x80000, MD5(4a1fb67e2bd1bb46588c1525403c2739) SHA1(684b7b370fcad07bf74bddffaf432bd52e5d29e2) ) | |
| 1184 | ROM_LOAD( "6", 0x180000, 0x80000, MD5(9b0c24815eb969eeb91ab8c43e4776b3) SHA1(73700e88358ed9bccbb63643b7daaff416737e43) ) | |
| 1185 | ROM_LOAD( "7", 0x280000, 0x80000, MD5(088c3eee9f8db9112740be800a809a4d) SHA1(c0f006cf2a4747359cb79f14976ac3411951af1c) ) | |
| 1186 | ROM_LOAD( "8", 0x380000, 0x80000, MD5(532c2ac982cebd221430cd62f84a9534) SHA1(8ec808069053f0c07d81c45090b2ba22ef8e9c32) ) | |
| 1508 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1509 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(caeb1fc3) SHA1(14b9f99f892849faecb3327e572dc134e1065463) ) | |
| 1510 | ROM_LOAD( "2", 0x100000, 0x80000, CRC(f017c200) SHA1(a247bbbd1c4ca99978dcc705bd62590815a891f2) ) | |
| 1511 | ROM_LOAD( "3", 0x200000, 0x80000, CRC(a2d6df11) SHA1(c2553136252aebe3b3ce0b5c33e740d0e27fb7b2) ) | |
| 1512 | ROM_LOAD( "4", 0x300000, 0x80000, CRC(cd3c928a) SHA1(4c50ce17bd5714149eae91279a0133059397b776) ) | |
| 1513 | ROM_LOAD( "5a", 0x080000, 0x80000, CRC(24c7362a) SHA1(684b7b370fcad07bf74bddffaf432bd52e5d29e2) ) | |
| 1514 | ROM_LOAD( "6a", 0x180000, 0x80000, CRC(d6a61904) SHA1(73700e88358ed9bccbb63643b7daaff416737e43) ) | |
| 1515 | ROM_LOAD( "7a", 0x280000, 0x80000, CRC(81e3480b) SHA1(c0f006cf2a4747359cb79f14976ac3411951af1c) ) | |
| 1516 | ROM_LOAD( "8a", 0x380000, 0x80000, CRC(ed3558b8) SHA1(8ec808069053f0c07d81c45090b2ba22ef8e9c32) ) | |
| 1187 | 1517 | ROM_END |
| 1188 | 1518 | |
| 1189 | 1519 | /********************************************************* |
| r5490 | r5491 | |
| 1195 | 1525 | ROM_LOAD( "is050713.rom", 0x00000, 0x40000, CRC(26c7013e) SHA1(5d604f5b4859e9e82830424a1e21f32a9e49bf34) ) |
| 1196 | 1526 | |
| 1197 | 1527 | ROM_REGION( 0x400000, "gfx", 0 ) |
| 1198 | ROM_LOAD( "1a", 0x000000, 0x80000, CRC(dbe8cdda) SHA1(4747cf0d85afdef22d3ba9fa5e75b39548725745) ) | |
| 1199 | ROM_LOAD( "2a", 0x100000, 0x80000, CRC(64064745) SHA1(91a7bc7204a8f7a7512eeaf4906da20a9f587565) ) | |
| 1200 | ROM_LOAD( "3a", 0x200000, 0x80000, CRC(1d993f68) SHA1(b0459d3941d50668f7533909e3f3da91453d3efd) ) | |
| 1201 | ROM_LOAD( "4a", 0x300000, 0x80000, CRC(a4739404) SHA1(8f7ffcc13dcb35adfa8060ab1930d07195b6110c) ) | |
| 1202 | ROM_LOAD( "5a", 0x080000, 0x80000, CRC(d016eb31) SHA1(a84f18af470f72730b241b9031cd6131c8a03db2) ) | |
| 1203 | ROM_LOAD( "6a", 0x180000, 0x80000, CRC(0faaa968) SHA1(0f05546e6e0559e24c6afdde65b3feeb66b6adff) ) | |
| 1204 | ROM_LOAD( "7a", 0x280000, 0x80000, CRC(d7277a6c) SHA1(d96a0befc965ad22087381982305d68208978a7e) ) | |
| 1205 | ROM_LOAD( "8a", 0x380000, 0x80000, CRC(ac6fba48) SHA1(64dd03d624f16da52bc7fa0702246e91ae39a806) ) | |
| 1528 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(dbe8cdda) SHA1(4747cf0d85afdef22d3ba9fa5e75b39548725745) ) | |
| 1529 | ROM_LOAD( "2", 0x100000, 0x80000, CRC(64064745) SHA1(91a7bc7204a8f7a7512eeaf4906da20a9f587565) ) | |
| 1530 | ROM_LOAD( "3", 0x200000, 0x80000, CRC(1d993f68) SHA1(b0459d3941d50668f7533909e3f3da91453d3efd) ) | |
| 1531 | ROM_LOAD( "4", 0x300000, 0x80000, CRC(a4739404) SHA1(8f7ffcc13dcb35adfa8060ab1930d07195b6110c) ) | |
| 1532 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(d016eb31) SHA1(a84f18af470f72730b241b9031cd6131c8a03db2) ) | |
| 1533 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(0faaa968) SHA1(0f05546e6e0559e24c6afdde65b3feeb66b6adff) ) | |
| 1534 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(d7277a6c) SHA1(d96a0befc965ad22087381982305d68208978a7e) ) | |
| 1535 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(ac6fba48) SHA1(64dd03d624f16da52bc7fa0702246e91ae39a806) ) | |
| 1206 | 1536 | ROM_END |
| 1207 | 1537 | |
| 1538 | ROM_START( islanda ) // 050713 | |
| 1539 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1540 | ROM_LOAD( "is050713a.rom", 0x00000, 0x40000, CRC(d3d62cb3) SHA1(2ceb83ac9d59a570435220f06e8317057bb46608) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 1208 | 1541 | |
| 1209 | #if ALL_REVISIONS /* Multifish sets verified against dat */ | |
| 1210 | GAME( 2002, mfish, 0, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (021120)", 0 ) | |
| 1211 | GAME( 2002, mfish_2, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (021121)", 0 ) | |
| 1212 | GAME( 2002, mfish_3, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (021124)", 0 ) | |
| 1213 | GAME( 2002, mfish_4, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (021219)", 0 ) | |
| 1214 | GAME( 2002, mfish_5, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (021227)", 0 ) | |
| 1215 | GAME( 2002, mfish_6, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (030124)", 0 ) | |
| 1216 | GAME( 2002, mfish_7, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (030511)", 0 ) | |
| 1217 | GAME( 2002, mfish_8, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (030522)", 0 ) | |
| 1218 | GAME( 2002, mfish_9, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (031026)", 0 ) | |
| 1219 | GAME( 2002, mfish_10, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (031117)", 0 ) | |
| 1220 | GAME( 2002, mfish_11, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (031124)", 0 ) | |
| 1221 | GAME( 2002, mfish_12, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (040308, set 1)", 0 ) | |
| 1222 | GAME( 2002, mfish_12a,mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (040308, set 2, hack?)", 0 ) | |
| 1223 | GAME( 2002, mfish_13, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (040316)", 0 ) | |
| 1542 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1543 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(dbe8cdda) SHA1(4747cf0d85afdef22d3ba9fa5e75b39548725745) ) | |
| 1544 | ROM_LOAD( "2", 0x100000, 0x80000, CRC(64064745) SHA1(91a7bc7204a8f7a7512eeaf4906da20a9f587565) ) | |
| 1545 | ROM_LOAD( "3", 0x200000, 0x80000, CRC(1d993f68) SHA1(b0459d3941d50668f7533909e3f3da91453d3efd) ) | |
| 1546 | ROM_LOAD( "4", 0x300000, 0x80000, CRC(a4739404) SHA1(8f7ffcc13dcb35adfa8060ab1930d07195b6110c) ) | |
| 1547 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(d016eb31) SHA1(a84f18af470f72730b241b9031cd6131c8a03db2) ) | |
| 1548 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(0faaa968) SHA1(0f05546e6e0559e24c6afdde65b3feeb66b6adff) ) | |
| 1549 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(d7277a6c) SHA1(d96a0befc965ad22087381982305d68208978a7e) ) | |
| 1550 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(ac6fba48) SHA1(64dd03d624f16da52bc7fa0702246e91ae39a806) ) | |
| 1551 | ROM_END | |
| 1224 | 1552 | |
| 1225 | #else /* Multifish sets for which SHA1 information is available */ | |
| 1226 | GAME( 2004, mfish_12, 0, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (040308, set 1)", 0 ) | |
| 1227 | GAME( 2004, mfish_12a, mfish_12, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (040308, set 2, hack?)", 0 ) | |
| 1553 | /********************************************************* | |
| 1554 | Island 2 | |
| 1555 | **********************************************************/ | |
| 1556 | ||
| 1557 | ROM_START( island2 ) // 060529 | |
| 1558 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1559 | ROM_LOAD( "is2_060529.rom", 0x00000, 0x40000, CRC(4ccddabd) SHA1(ae5902734488b7ddfa0f7bbf9b800d25b2b657b5) ) | |
| 1560 | ||
| 1561 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1562 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(f8dd9fe9) SHA1(0cf67fbca107b255011fded6390507d12cbac514) ) | |
| 1563 | ROM_LOAD( "2", 0x100000, 0x80000, CRC(4f9607c0) SHA1(cd3e7b4a88f46231a115c9d18a26b5e30fea74e4) ) | |
| 1564 | ROM_LOAD( "3", 0x200000, 0x80000, CRC(bceccdba) SHA1(5cf3b51ccfe317ca57d770bff0204b0ee83d1173) ) | |
| 1565 | ROM_LOAD( "4", 0x300000, 0x80000, CRC(15fdecc7) SHA1(6882ea10f117c85544df51d9abd67ef52db91d95) ) | |
| 1566 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(2d4905aa) SHA1(c4a1e4db61e8af6cf0fb70aabe5e3896ab5227ca) ) | |
| 1567 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(55e285d9) SHA1(ba58963441c65220700cd8057e6afe3f5f8faa4f) ) | |
| 1568 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(edd72be6) SHA1(fb1e63f59e8565c23ae43630fa572fbc022c878f) ) | |
| 1569 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(c336d608) SHA1(55391183c6d95ecea81354efa70641350860d1f5) ) | |
| 1570 | ROM_END | |
| 1571 | ||
| 1572 | ROM_START( island2a ) // 060529 | |
| 1573 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1574 | ROM_LOAD( "is2_060529a.rom", 0x00000, 0x40000, CRC(4341d65c) SHA1(e7120c805d7dbf0fee5d18243ddf2cfa19a0d88c) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 1575 | ||
| 1576 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1577 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(f8dd9fe9) SHA1(0cf67fbca107b255011fded6390507d12cbac514) ) | |
| 1578 | ROM_LOAD( "2", 0x100000, 0x80000, CRC(4f9607c0) SHA1(cd3e7b4a88f46231a115c9d18a26b5e30fea74e4) ) | |
| 1579 | ROM_LOAD( "3", 0x200000, 0x80000, CRC(bceccdba) SHA1(5cf3b51ccfe317ca57d770bff0204b0ee83d1173) ) | |
| 1580 | ROM_LOAD( "4", 0x300000, 0x80000, CRC(15fdecc7) SHA1(6882ea10f117c85544df51d9abd67ef52db91d95) ) | |
| 1581 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(2d4905aa) SHA1(c4a1e4db61e8af6cf0fb70aabe5e3896ab5227ca) ) | |
| 1582 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(55e285d9) SHA1(ba58963441c65220700cd8057e6afe3f5f8faa4f) ) | |
| 1583 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(edd72be6) SHA1(fb1e63f59e8565c23ae43630fa572fbc022c878f) ) | |
| 1584 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(c336d608) SHA1(55391183c6d95ecea81354efa70641350860d1f5) ) | |
| 1585 | ROM_END | |
| 1586 | ||
| 1587 | /********************************************************* | |
| 1588 | Pirate | |
| 1589 | **********************************************************/ | |
| 1590 | ||
| 1591 | #if ALL_REVISIONS | |
| 1592 | ROM_START( pirate ) // 051229 | |
| 1593 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1594 | ROM_LOAD( "pr051229.rom", 0x00000, 0x40000, MD5(d813af59a7a356800470b109a41b978f) SHA1(d1286cba474ccbbff8358ba2fd6917d43d101674) ) | |
| 1595 | ||
| 1596 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1597 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(d2199619) SHA1(8c67ef7d0e305ae0783302ba9a1cb56cdcf4bc09) ) | |
| 1598 | ROM_LOAD( "2", 0x100000, 0x80000, CRC(ce5c6548) SHA1(ef1cd6ae36cc1abcf010762dc89a255cd817d016) ) | |
| 1599 | ROM_LOAD( "3", 0x200000, 0x80000, CRC(d6a8338d) SHA1(6a0e41309dc909decf8bd49cf13cbeca95f0314a) ) | |
| 1600 | ROM_LOAD( "4", 0x300000, 0x80000, CRC(590b8cf6) SHA1(b2778f6e1b7bcf7f33ced43f999eff983e5a6af4) ) | |
| 1601 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(bf9f1267) SHA1(b0947bd7d31301ffbe80cbaf1e96c3476f6f9ca3) ) | |
| 1602 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(b0cdf7eb) SHA1(cf6bd20fb40cf0d87eeb6f1502fb73d9760c9140) ) | |
| 1603 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(6c4a9510) SHA1(e10bf8475ff7c73ba90b904b9214b285a5b2669f) ) | |
| 1604 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(cc2edac2) SHA1(24bacd9e092a83945a8def3a254ec66758d71ff5) ) | |
| 1605 | ROM_END | |
| 1228 | 1606 | #endif |
| 1229 | 1607 | |
| 1230 | #if ALL_REVISIONS /* Crazy Monkey sets checked against dat */ | |
| 1231 | GAME( 2003, crzmon, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Crazy Monkey (030217)", 0 ) | |
| 1232 | GAME( 2003, crzmon_2, crzmon, multfish, multfish, 0, ROT0, "Igrosoft", "Crazy Monkey (030225)", 0 ) | |
| 1233 | GAME( 2003, crzmon_3, crzmon, multfish, multfish, 0, ROT0, "Igrosoft", "Crazy Monkey (030227)", 0 ) | |
| 1234 | GAME( 2003, crzmon_4, crzmon, multfish, multfish, 0, ROT0, "Igrosoft", "Crazy Monkey (030404)", 0 ) | |
| 1235 | GAME( 2003, crzmon_5, crzmon, multfish, multfish, 0, ROT0, "Igrosoft", "Crazy Monkey (030421)", 0 ) | |
| 1236 | GAME( 2003, crzmon_6, crzmon, multfish, multfish, 0, ROT0, "Igrosoft", "Crazy Monkey (031016)", 0 ) | |
| 1237 | GAME( 2003, crzmon_7, crzmon, multfish, multfish, 0, ROT0, "Igrosoft", "Crazy Monkey (031110)", 0 ) | |
| 1238 | #else | |
| 1239 | GAME( 2003, crzmon_7, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Crazy Monkey (031110)", 0 ) | |
| 1608 | ROM_START( pirate_1 ) // 060210 | |
| 1609 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1610 | ROM_LOAD( "pr060210.rom", 0x00000, 0x40000, CRC(5684d67d) SHA1(4cbd103bcd071df26830d56760ef477b9a652857) ) | |
| 1611 | ||
| 1612 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1613 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(d2199619) SHA1(8c67ef7d0e305ae0783302ba9a1cb56cdcf4bc09) ) | |
| 1614 | ROM_LOAD( "2", 0x100000, 0x80000, CRC(ce5c6548) SHA1(ef1cd6ae36cc1abcf010762dc89a255cd817d016) ) | |
| 1615 | ROM_LOAD( "3", 0x200000, 0x80000, CRC(d6a8338d) SHA1(6a0e41309dc909decf8bd49cf13cbeca95f0314a) ) | |
| 1616 | ROM_LOAD( "4", 0x300000, 0x80000, CRC(590b8cf6) SHA1(b2778f6e1b7bcf7f33ced43f999eff983e5a6af4) ) | |
| 1617 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(bf9f1267) SHA1(b0947bd7d31301ffbe80cbaf1e96c3476f6f9ca3) ) | |
| 1618 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(b0cdf7eb) SHA1(cf6bd20fb40cf0d87eeb6f1502fb73d9760c9140) ) | |
| 1619 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(6c4a9510) SHA1(e10bf8475ff7c73ba90b904b9214b285a5b2669f) ) | |
| 1620 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(cc2edac2) SHA1(24bacd9e092a83945a8def3a254ec66758d71ff5) ) | |
| 1621 | ROM_END | |
| 1622 | ||
| 1623 | /********************************************************* | |
| 1624 | Keks | |
| 1625 | ||
| 1626 | Roms 1-4 were changed after the 070119 update. | |
| 1627 | The official list of hashes shows the 070119 updated roms. | |
| 1628 | ||
| 1629 | **********************************************************/ | |
| 1630 | ||
| 1631 | ROM_START( keks ) // 060328 | |
| 1632 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1633 | ROM_LOAD( "ks060328.rom", 0x00000, 0x40000, CRC(bcf77f77) SHA1(26b09994907c41be957a0b7442cfb1807b27d7be) ) | |
| 1634 | ||
| 1635 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1636 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(f4c20f66) SHA1(bed42ef01dfaa9d5d6ebb703e44ce7c11b8a373c) ) | |
| 1637 | ROM_LOAD( "2", 0x100000, 0x80000, CRC(b7ec3fac) SHA1(c3c62690487a6056415c46888bde8254efca836f) ) | |
| 1638 | ROM_LOAD( "3", 0x200000, 0x80000, CRC(5b6e8568) SHA1(003297e9cd080d91fe6751286eabd3a2f37ceb76) ) | |
| 1639 | ROM_LOAD( "4", 0x300000, 0x80000, CRC(9dc32736) SHA1(7b2091ae802431d1c959b859a58e0076d32abef0) ) | |
| 1640 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(c5b09267) SHA1(7fd0988e63752fdbb31fde60b4726cfd63149622) ) | |
| 1641 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(583da5fd) SHA1(645228db20cdaacb53bfc68731fd1a66a6a8cf56) ) | |
| 1642 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(311c166a) SHA1(5f0ad8d755a6141964d818b98b3f156cbda8fb0d) ) | |
| 1643 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(f69b0831) SHA1(75392349ef02a39cf883206938e2c615445065fc) ) | |
| 1644 | ROM_END | |
| 1645 | ||
| 1646 | ROM_START( keksa ) // 060328 | |
| 1647 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1648 | ROM_LOAD( "ks060328a.rom", 0x00000, 0x40000, CRC(7b387386) SHA1(d6bfc3b0d1f74723902d96dbcb69865cb5274cd0) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 1649 | ||
| 1650 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1651 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(f4c20f66) SHA1(bed42ef01dfaa9d5d6ebb703e44ce7c11b8a373c) ) | |
| 1652 | ROM_LOAD( "2", 0x100000, 0x80000, CRC(b7ec3fac) SHA1(c3c62690487a6056415c46888bde8254efca836f) ) | |
| 1653 | ROM_LOAD( "3", 0x200000, 0x80000, CRC(5b6e8568) SHA1(003297e9cd080d91fe6751286eabd3a2f37ceb76) ) | |
| 1654 | ROM_LOAD( "4", 0x300000, 0x80000, CRC(9dc32736) SHA1(7b2091ae802431d1c959b859a58e0076d32abef0) ) | |
| 1655 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(c5b09267) SHA1(7fd0988e63752fdbb31fde60b4726cfd63149622) ) | |
| 1656 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(583da5fd) SHA1(645228db20cdaacb53bfc68731fd1a66a6a8cf56) ) | |
| 1657 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(311c166a) SHA1(5f0ad8d755a6141964d818b98b3f156cbda8fb0d) ) | |
| 1658 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(f69b0831) SHA1(75392349ef02a39cf883206938e2c615445065fc) ) | |
| 1659 | ROM_END | |
| 1660 | ||
| 1661 | ROM_START( keksb ) // 060328 | |
| 1662 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1663 | ROM_LOAD( "ks060328b.rom", 0x00000, 0x40000, CRC(661c7ee9) SHA1(f07902c4a3ba5fce5bc7fe666d90deb852e40b4c) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 1664 | ||
| 1665 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1666 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(f4c20f66) SHA1(bed42ef01dfaa9d5d6ebb703e44ce7c11b8a373c) ) | |
| 1667 | ROM_LOAD( "2", 0x100000, 0x80000, CRC(b7ec3fac) SHA1(c3c62690487a6056415c46888bde8254efca836f) ) | |
| 1668 | ROM_LOAD( "3", 0x200000, 0x80000, CRC(5b6e8568) SHA1(003297e9cd080d91fe6751286eabd3a2f37ceb76) ) | |
| 1669 | ROM_LOAD( "4", 0x300000, 0x80000, CRC(9dc32736) SHA1(7b2091ae802431d1c959b859a58e0076d32abef0) ) | |
| 1670 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(c5b09267) SHA1(7fd0988e63752fdbb31fde60b4726cfd63149622) ) | |
| 1671 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(583da5fd) SHA1(645228db20cdaacb53bfc68731fd1a66a6a8cf56) ) | |
| 1672 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(311c166a) SHA1(5f0ad8d755a6141964d818b98b3f156cbda8fb0d) ) | |
| 1673 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(f69b0831) SHA1(75392349ef02a39cf883206938e2c615445065fc) ) | |
| 1674 | ROM_END | |
| 1675 | ||
| 1676 | ROM_START( keks_2 ) // 060403 | |
| 1677 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1678 | ROM_LOAD( "ks060403.rom", 0x00000, 0x40000, CRC(7abb9392) SHA1(f7a0ba5bcc7566f706e911486fa9cf3e62b86b8b) ) | |
| 1679 | ||
| 1680 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1681 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(f4c20f66) SHA1(bed42ef01dfaa9d5d6ebb703e44ce7c11b8a373c) ) | |
| 1682 | ROM_LOAD( "2", 0x100000, 0x80000, CRC(b7ec3fac) SHA1(c3c62690487a6056415c46888bde8254efca836f) ) | |
| 1683 | ROM_LOAD( "3", 0x200000, 0x80000, CRC(5b6e8568) SHA1(003297e9cd080d91fe6751286eabd3a2f37ceb76) ) | |
| 1684 | ROM_LOAD( "4", 0x300000, 0x80000, CRC(9dc32736) SHA1(7b2091ae802431d1c959b859a58e0076d32abef0) ) | |
| 1685 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(c5b09267) SHA1(7fd0988e63752fdbb31fde60b4726cfd63149622) ) | |
| 1686 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(583da5fd) SHA1(645228db20cdaacb53bfc68731fd1a66a6a8cf56) ) | |
| 1687 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(311c166a) SHA1(5f0ad8d755a6141964d818b98b3f156cbda8fb0d) ) | |
| 1688 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(f69b0831) SHA1(75392349ef02a39cf883206938e2c615445065fc) ) | |
| 1689 | ROM_END | |
| 1690 | ||
| 1691 | ROM_START( keks_2a ) // 060403 | |
| 1692 | ROM_REGION( 0x40000, "maincpu", 0 ) // z80 code, banked | |
| 1693 | ROM_LOAD( "ks060403a.rom", 0x00000, 0x40000, CRC(bd749f63) SHA1(dc3ba624b186370896d3ecf5968a82a17aa019d0) ) /* Not officially listed on Igrosoft's web site hash page */ | |
| 1694 | ||
| 1695 | ROM_REGION( 0x400000, "gfx", 0 ) | |
| 1696 | ROM_LOAD( "1", 0x000000, 0x80000, CRC(f4c20f66) SHA1(bed42ef01dfaa9d5d6ebb703e44ce7c11b8a373c) ) | |
| 1697 | ROM_LOAD( "2", 0x100000, 0x80000, CRC(b7ec3fac) SHA1(c3c62690487a6056415c46888bde8254efca836f) ) | |
| 1698 | ROM_LOAD( "3", 0x200000, 0x80000, CRC(5b6e8568) SHA1(003297e9cd080d91fe6751286eabd3a2f37ceb76) ) | |
| 1699 | ROM_LOAD( "4", 0x300000, 0x80000, CRC(9dc32736) SHA1(7b2091ae802431d1c959b859a58e0076d32abef0) ) | |
| 1700 | ROM_LOAD( "5", 0x080000, 0x80000, CRC(c5b09267) SHA1(7fd0988e63752fdbb31fde60b4726cfd63149622) ) | |
| 1701 | ROM_LOAD( "6", 0x180000, 0x80000, CRC(583da5fd) SHA1(645228db20cdaacb53bfc68731fd1a66a6a8cf56) ) | |
| 1702 | ROM_LOAD( "7", 0x280000, 0x80000, CRC(311c166a) SHA1(5f0ad8d755a6141964d818b98b3f156cbda8fb0d) ) | |
| 1703 | ROM_LOAD( "8", 0x380000, 0x80000, CRC(f69b0831) SHA1(75392349ef02a39cf883206938e2c615445065fc) ) | |
| 1704 | ROM_END | |
| 1705 | ||
| 1706 | /* | |
| 1707 | ||
| 1708 | Note: | |
| 1709 | ||
| 1710 | Only the first set of a given revision is listed in Irgosoft's official hashes list. | |
| 1711 | ||
| 1712 | It is not known if the alternate sets are hacks or were intended for different regions. | |
| 1713 | It looks like the difference are in the payout percentage / odds | |
| 1714 | ||
| 1715 | */ | |
| 1716 | ||
| 1717 | GAME( 2002, mfish_3, 0, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (021124, set 1)", 0 ) | |
| 1718 | GAME( 2002, mfish_3a, mfish_3, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (021124, set 2)", 0 ) | |
| 1719 | GAME( 2002, mfish_12, mfish_3, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (040308, set 1)", 0 ) | |
| 1720 | GAME( 2002, mfish_12a, mfish_3, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (040308, set 2)", 0 ) | |
| 1721 | #if ALL_REVISIONS | |
| 1722 | GAME( 2002, mfish, 0, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (021120)", 0 ) | |
| 1723 | GAME( 2002, mfish_2, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (021121)", 0 ) | |
| 1724 | GAME( 2002, mfish_4, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (021219)", 0 ) | |
| 1725 | GAME( 2002, mfish_5, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (021227)", 0 ) | |
| 1726 | GAME( 2002, mfish_6, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (030124)", 0 ) | |
| 1727 | GAME( 2002, mfish_7, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (030511)", 0 ) | |
| 1728 | GAME( 2002, mfish_8, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (030522)", 0 ) | |
| 1729 | GAME( 2002, mfish_9, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (031026)", 0 ) | |
| 1730 | GAME( 2002, mfish_10, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (031117)", 0 ) | |
| 1731 | GAME( 2002, mfish_11, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (031124)", 0 ) | |
| 1732 | GAME( 2002, mfish_13, mfish, multfish, multfish, 0, ROT0, "Igro", "Multi Fish (040316)", 0 ) | |
| 1240 | 1733 | #endif |
| 1241 | 1734 | |
| 1242 | #if ALL_REVISIONS /* Fruit Cocktail sets checked against dat */ | |
| 1243 | GAME( 2003, fcock, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Fruit Cocktail (030505)", 0 ) | |
| 1244 | GAME( 2003, fcock_2, fcock, multfish, multfish, 0, ROT0, "Igrosoft", "Fruit Cocktail (030512)", 0 ) | |
| 1245 | GAME( 2003, fcock_3, fcock, multfish, multfish, 0, ROT0, "Igrosoft", "Fruit Cocktail (030623)", 0 ) | |
| 1246 | GAME( 2003, fcock_4, fcock, multfish, multfish, 0, ROT0, "Igrosoft", "Fruit Cocktail (031028)", 0 ) | |
| 1247 | GAME( 2003, fcock_5, fcock, multfish, multfish, 0, ROT0, "Igrosoft", "Fruit Cocktail (031111)", 0 ) | |
| 1248 | GAME( 2003, fcock_6, fcock, multfish, multfish, 0, ROT0, "Igrosoft", "Fruit Cocktail (040216)", 0 ) | |
| 1249 | #else | |
| 1250 | GAME( 2003, fcock_6, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Fruit Cocktail (040216)", 0 ) | |
| 1735 | GAME( 2003, crzmon_7, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Crazy Monkey (031110, set 1)", 0 ) | |
| 1736 | GAME( 2003, crzmon_7a, crzmon_7, multfish, multfish, 0, ROT0, "Igrosoft", "Crazy Monkey (031110, set 2)", 0 ) | |
| 1737 | GAME( 2003, crzmon_7b, crzmon_7, multfish, multfish, 0, ROT0, "Igrosoft", "Crazy Monkey (031110, set 3)", 0 ) | |
| 1738 | GAME( 2003, crzmon_8, crzmon_7, multfish, multfish, 0, ROT0, "Igrosoft", "Crazy Monkey (050120, set 1)", 0 ) | |
| 1739 | GAME( 2003, crzmon_8a, crzmon_7, multfish, multfish, 0, ROT0, "Igrosoft", "Crazy Monkey (050120, set 2)", 0 ) | |
| 1740 | #if ALL_REVISIONS | |
| 1741 | GAME( 2003, crzmon, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Crazy Monkey (030217)", 0 ) | |
| 1742 | GAME( 2003, crzmon_2, crzmon, multfish, multfish, 0, ROT0, "Igrosoft", "Crazy Monkey (030225)", 0 ) | |
| 1743 | GAME( 2003, crzmon_3, crzmon, multfish, multfish, 0, ROT0, "Igrosoft", "Crazy Monkey (030227)", 0 ) | |
| 1744 | GAME( 2003, crzmon_4, crzmon, multfish, multfish, 0, ROT0, "Igrosoft", "Crazy Monkey (030404)", 0 ) | |
| 1745 | GAME( 2003, crzmon_5, crzmon, multfish, multfish, 0, ROT0, "Igrosoft", "Crazy Monkey (030421)", 0 ) | |
| 1746 | GAME( 2003, crzmon_6, crzmon, multfish, multfish, 0, ROT0, "Igrosoft", "Crazy Monkey (031016)", 0 ) | |
| 1251 | 1747 | #endif |
| 1252 | 1748 | |
| 1253 | #if ALL_REVISIONS /* Lucky Hanter sets checked against dat */ | |
| 1254 | GAME( 2003, lhaunt, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Lucky Haunter (030707)", 0 ) | |
| 1255 | GAME( 2003, lhaunt_2, lhaunt, multfish, multfish, 0, ROT0, "Igrosoft", "Lucky Haunter (030804)", 0 ) | |
| 1256 | GAME( 2003, lhaunt_3, lhaunt, multfish, multfish, 0, ROT0, "Igrosoft", "Lucky Haunter (031027)", 0 ) | |
| 1257 | GAME( 2003, lhaunt_4, lhaunt, multfish, multfish, 0, ROT0, "Igrosoft", "Lucky Haunter (031111)", 0 ) | |
| 1258 | GAME( 2003, lhaunt_5, lhaunt, multfish, multfish, 0, ROT0, "Igrosoft", "Lucky Haunter (040216)", 0 ) | |
| 1259 | GAME( 2003, lhaunt_6, lhaunt, multfish, multfish, 0, ROT0, "Igrosoft", "Lucky Haunter (040825)", 0 ) | |
| 1260 | #else | |
| 1261 | GAME( 2003, lhaunt_4, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Lucky Haunter (031111)", 0 ) | |
| 1262 | GAME( 2003, lhaunt_5, lhaunt_4, multfish, multfish, 0, ROT0, "Igrosoft", "Lucky Haunter (040216)", 0 ) | |
| 1263 | GAME( 2003, lhaunt_6, lhaunt_4, multfish, multfish, 0, ROT0, "Igrosoft", "Lucky Haunter (040825)", 0 ) | |
| 1749 | GAME( 2003, fcockt_6, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Fruit Cocktail (040216, set 1)", 0 ) | |
| 1750 | GAME( 2003, fcockt_6a, fcockt_6, multfish, multfish, 0, ROT0, "Igrosoft", "Fruit Cocktail (040216, set 2)", 0 ) | |
| 1751 | GAME( 2003, fcockt_6b, fcockt_6, multfish, multfish, 0, ROT0, "Igrosoft", "Fruit Cocktail (040216, set 3)", 0 ) | |
| 1752 | GAME( 2003, fcockt_7, fcockt_6, multfish, multfish, 0, ROT0, "Igrosoft", "Fruit Cocktail (050118, set 1)", 0 ) | |
| 1753 | GAME( 2003, fcockt_7a, fcockt_6, multfish, multfish, 0, ROT0, "Igrosoft", "Fruit Cocktail (050118, set 2)", 0 ) | |
| 1754 | GAME( 2003, fcockt_8, fcockt_6, multfish, multfish, 0, ROT0, "Igrosoft", "Fruit Cocktail (060111)", 0 ) | |
| 1755 | #if ALL_REVISIONS | |
| 1756 | GAME( 2003, fcockt, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Fruit Cocktail (030505)", 0 ) | |
| 1757 | GAME( 2003, fcockt_2, fcockt, multfish, multfish, 0, ROT0, "Igrosoft", "Fruit Cocktail (030512)", 0 ) | |
| 1758 | GAME( 2003, fcockt_3, fcockt, multfish, multfish, 0, ROT0, "Igrosoft", "Fruit Cocktail (030623)", 0 ) | |
| 1759 | GAME( 2003, fcockt_4, fcockt, multfish, multfish, 0, ROT0, "Igrosoft", "Fruit Cocktail (031028)", 0 ) | |
| 1760 | GAME( 2003, fcockt_5, fcockt, multfish, multfish, 0, ROT0, "Igrosoft", "Fruit Cocktail (031111)", 0 ) | |
| 1264 | 1761 | #endif |
| 1265 | 1762 | |
| 1763 | GAME( 2003, lhaunt_4, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Lucky Haunter (031111, set 1)", 0 ) | |
| 1764 | GAME( 2003, lhaunt_4a, lhaunt_4, multfish, multfish, 0, ROT0, "Igrosoft", "Lucky Haunter (031111, set 2)", 0 ) | |
| 1765 | GAME( 2003, lhaunt_5, lhaunt_4, multfish, multfish, 0, ROT0, "Igrosoft", "Lucky Haunter (040216. set 1)", 0 ) | |
| 1766 | GAME( 2003, lhaunt_5a, lhaunt_4, multfish, multfish, 0, ROT0, "Igrosoft", "Lucky Haunter (040216, set 2)", 0 ) | |
| 1767 | GAME( 2003, lhaunt_6, lhaunt_4, multfish, multfish, 0, ROT0, "Igrosoft", "Lucky Haunter (040825, set 1)", 0 ) | |
| 1768 | GAME( 2003, lhaunt_6a, lhaunt_4, multfish, multfish, 0, ROT0, "Igrosoft", "Lucky Haunter (040825, set 2)", 0 ) | |
| 1769 | #if ALL_REVISIONS | |
| 1770 | GAME( 2003, lhaunt, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Lucky Haunter (030707)", 0 ) | |
| 1771 | GAME( 2003, lhaunt_2, lhaunt, multfish, multfish, 0, ROT0, "Igrosoft", "Lucky Haunter (030804)", 0 ) | |
| 1772 | GAME( 2003, lhaunt_3, lhaunt, multfish, multfish, 0, ROT0, "Igrosoft", "Lucky Haunter (031027)", 0 ) | |
| 1773 | #endif | |
| 1266 | 1774 | |
| 1267 | #if ALL_REVISIONS /* Garage sets verified against dat */ | |
| 1268 | GAME( 2004, garage, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Garage (040122)", 0 ) | |
| 1269 | GAME( 2004, garage_2, garage, multfish, multfish, 0, ROT0, "Igrosoft", "Garage (040123)", 0 ) | |
| 1270 | GAME( 2004, garage_3, garage, multfish, multfish, 0, ROT0, "Igrosoft", "Garage (040216)", 0 ) | |
| 1271 | GAME( 2004, garage_4, garage, multfish, multfish, 0, ROT0, "Igrosoft", "Garage (040219)", 0 ) | |
| 1272 | #else | |
| 1273 | GAME( 2004, garage_4, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Garage (040219)", 0 ) | |
| 1775 | #if ALL_REVISIONS | |
| 1776 | GAME( 2003, rollfr, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Roll Fruit (030821)", 0 ) | |
| 1274 | 1777 | #endif |
| 1778 | GAME( 2003, rollfr_2, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Roll Fruit (040318)", 0 ) | |
| 1275 | 1779 | |
| 1780 | GAME( 2004, garage_4, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Garage (040219, set 1)", 0 ) | |
| 1781 | GAME( 2004, garage_4a, garage_4, multfish, multfish, 0, ROT0, "Igrosoft", "Garage (040219, set 2)", 0 ) | |
| 1782 | GAME( 2004, garage_5, garage_4, multfish, multfish, 0, ROT0, "Igrosoft", "Garage (050311, set 1)", 0 ) | |
| 1783 | GAME( 2004, garage_5a, garage_4, multfish, multfish, 0, ROT0, "Igrosoft", "Garage (050311, set 2)", 0 ) | |
| 1784 | #if ALL_REVISIONS | |
| 1785 | GAME( 2004, garage, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Garage (040122)", 0 ) | |
| 1786 | GAME( 2004, garage_2, garage, multfish, multfish, 0, ROT0, "Igrosoft", "Garage (040123)", 0 ) | |
| 1787 | GAME( 2004, garage_3, garage, multfish, multfish, 0, ROT0, "Igrosoft", "Garage (040216)", 0 ) | |
| 1788 | #endif | |
| 1276 | 1789 | |
| 1277 | #if ALL_REVISIONS /* Rock Climber sets checked against dat */ | |
| 1278 | GAME( 2004, rclimb, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Rock Climber (040815)", 0 ) | |
| 1279 | GAME( 2004, rclimb_2, rclimb, multfish, multfish, 0, ROT0, "Igrosoft", "Rock Climber (040823)", 0 ) | |
| 1280 | GAME( 2004, rclimb_3, rclimb, multfish, multfish, 0, ROT0, "Igrosoft", "Rock Climber (040827)", 0 ) | |
| 1281 | #else | |
| 1282 | GAME( 2004, rclimb_3, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Rock Climber (040827)", 0 ) | |
| 1790 | GAME( 2004, rclimb_3, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Rock Climber (040827, set 1)", 0 ) | |
| 1791 | GAME( 2004, rclimb_3a, rclimb_3, multfish, multfish, 0, ROT0, "Igrosoft", "Rock Climber (040827, set 2)", 0 ) | |
| 1792 | GAME( 2004, rclimb_3b, rclimb_3, multfish, multfish, 0, ROT0, "Igrosoft", "Rock Climber (040827, set 3)", 0 ) // new service menu | |
| 1793 | #if ALL_REVISIONS | |
| 1794 | GAME( 2004, rclimb, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Rock Climber (040815)", 0 ) | |
| 1795 | GAME( 2004, rclimb_2, rclimb, multfish, multfish, 0, ROT0, "Igrosoft", "Rock Climber (040823)", 0 ) | |
| 1283 | 1796 | #endif |
| 1284 | 1797 | |
| 1285 | /* Sweet Life sets checked against dat */ | |
| 1286 | GAME( 2004, sweetl, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Sweet Life (041220)", 0 ) | |
| 1798 | GAME( 2004, sweetl, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Sweet Life (041220, set 1)", 0 ) | |
| 1799 | GAME( 2004, sweetla, sweetl, multfish, multfish, 0, ROT0, "Igrosoft", "Sweet Life (041220, set 2)", 0 ) | |
| 1287 | 1800 | |
| 1288 | #if ALL_REVISIONS /* Resident sets verified against dat */ | |
| 1289 | GAME( 2004, resdnt, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Resident (040415)", 0 ) | |
| 1290 | GAME( 2004, resdnt_2, resdnt, multfish, multfish, 0, ROT0, "Igrosoft", "Resident (040513)", 0 ) | |
| 1291 | #else | |
| 1292 | GAME( 2004, resdnt_2, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Resident (040513)", 0 ) | |
| 1801 | #if ALL_REVISIONS | |
| 1802 | GAME( 2004, resdnt, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Resident (040415)", 0 ) | |
| 1293 | 1803 | #endif |
| 1804 | GAME( 2004, resdnt_2, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Resident (040513, set 1)", 0 ) | |
| 1805 | GAME( 2004, resdnt_2a, resdnt_2, multfish, multfish, 0, ROT0, "Igrosoft", "Resident (040513, set 2)", 0 ) | |
| 1294 | 1806 | |
| 1807 | GAME( 2005, island, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Island (050713, set 1)", 0 ) | |
| 1808 | GAME( 2005, islanda, island, multfish, multfish, 0, ROT0, "Igrosoft", "Island (050713, set 2)", 0 ) | |
| 1809 | ||
| 1810 | GAME( 2005, pirate_1, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Pirate (060210)", 0 ) | |
| 1295 | 1811 | #if ALL_REVISIONS |
| 1296 | /* Roll Fruit sets verified against dat */ | |
| 1297 | GAME( 2003, rollfr, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Roll Fruit (030821)", 0 ) | |
| 1298 | GAME( 2003, rollfr_2, rollfr, multfish, multfish, 0, ROT0, "Igrosoft", "Roll Fruit (040318)", 0 ) | |
| 1299 | #else | |
| 1300 | // ... none | |
| 1812 | GAME( 2005, pirate, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Pirate (051229)", 0 ) | |
| 1813 | GAME( 2005, pirate_2, pirate, multfish, multfish, 0, ROT0, "Igrosoft", "Pirate (060803)", 0 ) | |
| 1301 | 1814 | #endif |
| 1302 | 1815 | |
| 1303 | GAME( 2005, island, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Island (050713)", 0 ) | |
| 1816 | GAME( 2006, island2, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Island 2 (060529, set 1)", 0 ) | |
| 1817 | GAME( 2006, island2a, island2, multfish, multfish, 0, ROT0, "Igrosoft", "Island 2 (060529, set 2)", 0 ) | |
| 1304 | 1818 | |
| 1819 | GAME( 2006, keks, 0, multfish, multfish, 0, ROT0, "Igrosoft", "Keks (060328, set 1)", 0 ) | |
| 1820 | GAME( 2006, keksa, keks, multfish, multfish, 0, ROT0, "Igrosoft", "Keks (060328, set 2)", 0 ) | |
| 1821 | GAME( 2006, keksb, keks, multfish, multfish, 0, ROT0, "Igrosoft", "Keks (060328, set 3)", 0 ) | |
| 1822 | GAME( 2006, keks_2, keks, multfish, multfish, 0, ROT0, "Igrosoft", "Keks (060403. set 1)", 0 ) | |
| 1823 | GAME( 2006, keks_2a, keks, multfish, multfish, 0, ROT0, "Igrosoft", "Keks (060403, set 3)", 0 ) |
| r5490 | r5491 | |
|---|---|---|
| 924 | 924 | ROM_LOAD( "u53", 0x80000, 0x80000, CRC(d401805d) SHA1(f4bcb2bdc45c3bc5ca423e518cdea8b3a7e8d60e) ) |
| 925 | 925 | ROM_END |
| 926 | 926 | |
| 927 | /* If you use the roms from the other set this will boot as 9 Ball Shootout Championship, it looks however like the TMS32026 data | |
| 928 | should differ at least (the correct data in the bad dump is very different to the other dumps) */ | |
| 927 | ||
| 928 | // all checksums correctly match sum16 printed on rom labels | |
| 929 | 929 | ROM_START( 9ballshtc ) |
| 930 | 930 | ROM_REGION16_LE( 0x80000, "user1", 0 ) /* 34010 code */ |
| 931 | ROM_LOAD16_BYTE( "escape.112", 0x00000, 0x40000, CRC(7ba2749a) SHA1(e2ddc2600234dbebbb423f201cc4061fd0b9911a) ) | |
| 932 | ROM_LOAD16_BYTE( "escape.113", 0x00001, 0x40000, CRC(1e0f3c62) SHA1(3c24a38dcb553fd84b0b44a5a8d93a14435e22b0) ) | |
| 931 | ROM_LOAD16_BYTE( "e-scape (c)1994 3990.u112", 0x00000, 0x40000, CRC(7ba2749a) SHA1(e2ddc2600234dbebbb423f201cc4061fd0b9911a) ) | |
| 932 | ROM_LOAD16_BYTE( "e-scape (c)1994 b72f.u113", 0x00001, 0x40000, CRC(1e0f3c62) SHA1(3c24a38dcb553fd84b0b44a5a8d93a14435e22b0) ) | |
| 933 | 933 | |
| 934 | 934 | ROM_REGION16_LE( 0x100000, "gfx1", 0 ) /* gfx data read by main CPU */ |
| 935 | ROM_LOAD16_BYTE( "escape.110", 0x00000, 0x80000, BAD_DUMP CRC(1da8da18) SHA1(63455a7cccb21dc5afeb860e17527cd443f542eb) ) // xx1xxxxxxxxxxxxxxxx = 0x00 | |
| 936 | ROM_LOAD16_BYTE( "escape.111", 0x00001, 0x80000, BAD_DUMP CRC(65dea5e8) SHA1(291232dd19240b150e54a4ed300bcfd40bf5d1f2) ) // xx1xxxxxxxxxxxxxxxx = 0x00 | |
| 935 | ROM_LOAD16_BYTE( "e-scape (c)1994 c316.u110", 0x00000, 0x80000, CRC(890ed5c0) SHA1(eaf06ee5b6c5ed0103b535396b4517012818a416) ) | |
| 936 | ROM_LOAD16_BYTE( "e-scape (c)1994 13f2.u111", 0x00001, 0x80000, CRC(1a9f1145) SHA1(ba52a6d1aca26484c320518f69c66ce3ceb4adcf) ) | |
| 937 | 937 | |
| 938 | 938 | ROM_REGION( 0x40000, "dsp", 0 ) /* TMS320C26 */ |
| 939 | ROM_LOAD16_BYTE( "u34", 0x00000, 0x08000, CRC(dc1df70b) SHA1(e42fa7e34e50e0bd2aaeea5c55d750ed3286610d) ) | |
| 940 | ROM_LOAD16_BYTE( "u35", 0x00001, 0x08000, CRC(ac999431) SHA1(7e4c2dcaedcb7e7c67072a179e4b8488d2bbdac7) ) | |
| 939 | ROM_LOAD16_BYTE( "e-scape (c)1994 89bc.u34", 0x00000, 0x08000, CRC(dc1df70b) SHA1(e42fa7e34e50e0bd2aaeea5c55d750ed3286610d) ) | |
| 940 | ROM_LOAD16_BYTE( "e-scape (c)1994 af4a.u35", 0x00001, 0x08000, CRC(ac999431) SHA1(7e4c2dcaedcb7e7c67072a179e4b8488d2bbdac7) ) | |
| 941 | 941 | |
| 942 | 942 | ROM_REGION( 0x100000, "user2", 0 ) /* TMS32026 data */ |
| 943 | ROM_LOAD( "escape.54", 0x00000, 0x80000, BAD_DUMP CRC(28b4dec6) SHA1(10e47105abb48b572da38709128cba961299d88e) ) // xx1xxxxxxxxxxxxxxxx = 0x00 | |
| 944 | ROM_LOAD( "escape.53", 0x80000, 0x80000, CRC(28f4dd51) SHA1(67ea5bf3dacc17ef4fcc999e4ae0857759fac838) ) | |
| 943 | ROM_LOAD( "e-scape (c)1994 0000.u54", 0x00000, 0x80000, CRC(04b509a0) SHA1(093343741a3d8d0786fd443e68dd85b414c6cf9e) ) | |
| 944 | ROM_LOAD( "e-scape (c)1994 2df8.u53", 0x80000, 0x80000, CRC(c8a7b576) SHA1(7eb71dd791fdcbfe71764a454f0a1d3130d8a57e) ) | |
| 945 | 945 | ROM_END |
| 946 | 946 | |
| 947 | 947 | |
| r5490 | r5491 | |
| 1014 | 1014 | GAME( 1993, 9ballsht, 0, 9ballsht, 9ballsht, 9ballsht, ROT0, "E-Scape EnterMedia (Bundra license)", "9-Ball Shootout (set 1)", 0 ) |
| 1015 | 1015 | GAME( 1993, 9ballsht2,9ballsht, 9ballsht, 9ballsht, 9ballsht, ROT0, "E-Scape EnterMedia (Bundra license)", "9-Ball Shootout (set 2)", 0 ) |
| 1016 | 1016 | GAME( 1993, 9ballsht3,9ballsht, 9ballsht, 9ballsht, 9ballsht, ROT0, "E-Scape EnterMedia (Bundra license)", "9-Ball Shootout (set 3)", 0 ) |
| 1017 | GAME( 1993, 9ballshtc,9ballsht, 9ballsht, 9ballsht, 9ballsht, ROT0, "E-Scape EnterMedia (Bundra license)", "9-Ball Shootout Championship", | |
| 1017 | GAME( 1993, 9ballshtc,9ballsht, 9ballsht, 9ballsht, 9ballsht, ROT0, "E-Scape EnterMedia (Bundra license)", "9-Ball Shootout Championship", 0 |
| r5490 | r5491 | |
|---|---|---|
| 1606 | 1606 | static INPUT_PORTS_START( HANAFUDA_KEYS ) |
| 1607 | 1607 | /* Keyboard 1 */ |
| 1608 | 1608 | PORT_START("KEY0") |
| 1609 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("1") PORT_CODE(KEYCODE_1_PAD) | |
| 1610 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("5") PORT_CODE(KEYCODE_5_PAD) | |
| 1611 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1612 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME(DEF_STR( Yes )) PORT_CODE(KEYCODE_M) | |
| 1613 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1614 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 ) | |
| 1609 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) PORT_PLAYER(1) | |
| 1610 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) PORT_PLAYER(1) | |
| 1611 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1612 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_YES ) PORT_PLAYER(1) | |
| 1613 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1614 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 ) | |
| 1615 | 1615 | |
| 1616 | 1616 | PORT_START("KEY1") |
| 1617 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("2") PORT_CODE(KEYCODE_2_PAD) | |
| 1618 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("6") PORT_CODE(KEYCODE_6_PAD) | |
| 1619 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1620 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME(DEF_STR( No )) PORT_CODE(KEYCODE_N) | |
| 1621 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1622 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1617 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) PORT_PLAYER(1) | |
| 1618 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) PORT_PLAYER(1) | |
| 1619 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1620 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_NO ) PORT_PLAYER(1) | |
| 1621 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1622 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1623 | 1623 | |
| 1624 | 1624 | PORT_START("KEY2") |
| 1625 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("3") PORT_CODE(KEYCODE_3_PAD) | |
| 1626 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("7") PORT_CODE(KEYCODE_7_PAD) | |
| 1627 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1628 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1629 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1630 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1625 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_C ) PORT_PLAYER(1) | |
| 1626 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_G ) PORT_PLAYER(1) | |
| 1627 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1628 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1629 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1630 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1631 | 1631 | |
| 1632 | 1632 | PORT_START("KEY3") |
| 1633 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("4") PORT_CODE(KEYCODE_4_PAD) | |
| 1634 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("8") PORT_CODE(KEYCODE_8_PAD) | |
| 1635 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1636 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1637 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1638 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1633 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) PORT_PLAYER(1) | |
| 1634 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_H ) PORT_PLAYER(1) | |
| 1635 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1636 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1637 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1638 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1639 | 1639 | |
| 1640 | 1640 | PORT_START("KEY4") |
| 1641 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_LAST_CHANCE | |
| 1641 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_LAST_CHANCE ) PORT_PLAYER(1) // "l" | |
| 1642 | 1642 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1643 | 1643 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1644 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_FLIP_FLOP | |
| 1644 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_FLIP_FLOP ) PORT_PLAYER(1) // "f" | |
| 1645 | 1645 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1646 | 1646 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1647 | 1647 | |
| 1648 | 1648 | /* Keyboard 2 */ |
| 1649 | 1649 | PORT_START("KEY5") |
| 1650 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_A ) PORT_PLAYER(2) | |
| 1651 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_E ) PORT_PLAYER(2) | |
| 1652 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_I ) PORT_PLAYER(2) | |
| 1653 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_M ) PORT_PLAYER(2) | |
| 1654 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_KAN ) PORT_PLAYER(2) | |
| 1655 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 ) | |
| 1650 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) PORT_PLAYER(2) | |
| 1651 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) PORT_PLAYER(2) | |
| 1652 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1653 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_YES ) PORT_PLAYER(2) | |
| 1654 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1655 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 ) | |
| 1656 | 1656 | |
| 1657 | 1657 | PORT_START("KEY6") |
| 1658 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_B ) PORT_PLAYER(2) | |
| 1659 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_F ) PORT_PLAYER(2) | |
| 1660 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_J ) PORT_PLAYER(2) | |
| 1661 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_N ) PORT_PLAYER(2) | |
| 1662 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_REACH ) PORT_PLAYER(2) | |
| 1663 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1658 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) PORT_PLAYER(2) | |
| 1659 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) PORT_PLAYER(2) | |
| 1660 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1661 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_NO ) PORT_PLAYER(2) | |
| 1662 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1663 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1664 | 1664 | |
| 1665 | 1665 | PORT_START("KEY7") |
| 1666 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_C ) PORT_PLAYER(2) | |
| 1667 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_G ) PORT_PLAYER(2) | |
| 1668 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_K ) PORT_PLAYER(2) | |
| 1669 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_CHI ) PORT_PLAYER(2) | |
| 1670 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_RON ) PORT_PLAYER(2) | |
| 1671 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1666 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_C ) PORT_PLAYER(2) | |
| 1667 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_G ) PORT_PLAYER(2) | |
| 1668 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1669 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1670 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1671 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1672 | 1672 | |
| 1673 | 1673 | PORT_START("KEY8") |
| 1674 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_D ) PORT_PLAYER(2) | |
| 1675 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_H ) PORT_PLAYER(2) | |
| 1676 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_L ) PORT_PLAYER(2) | |
| 1677 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_PON ) PORT_PLAYER(2) | |
| 1678 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1679 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1674 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) PORT_PLAYER(2) | |
| 1675 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_H ) PORT_PLAYER(2) | |
| 1676 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1677 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1678 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1679 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1680 | 1680 | |
| 1681 | 1681 | PORT_START("KEY9") |
| 1682 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_LAST_CHANCE ) PORT_PLAYER(2) // "l" | |
| 1683 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1684 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1685 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_FLIP_FLOP ) PORT_PLAYER(2) // "f" | |
| 1686 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1687 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1682 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_LAST_CHANCE ) PORT_PLAYER(2) // "l" | |
| 1683 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1684 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1685 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_FLIP_FLOP ) PORT_PLAYER(2) // "f" | |
| 1686 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1687 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1688 | 1688 | INPUT_PORTS_END |
| 1689 | 1689 | |
| 1690 | 1690 | static INPUT_PORTS_START( HANAFUDA_KEYS_BET ) |
| 1691 | 1691 | /* Keyboard 1 */ |
| 1692 | 1692 | PORT_START("KEY0") |
| 1693 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("1") PORT_CODE(KEYCODE_1_PAD) | |
| 1694 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("5") PORT_CODE(KEYCODE_5_PAD) | |
| 1695 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1696 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME(DEF_STR( Yes )) PORT_CODE(KEYCODE_M) | |
| 1697 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1698 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 ) | |
| 1693 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) PORT_PLAYER(1) | |
| 1694 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) PORT_PLAYER(1) | |
| 1695 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1696 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_YES ) PORT_PLAYER(1) | |
| 1697 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1698 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 ) | |
| 1699 | 1699 | |
| 1700 | 1700 | PORT_START("KEY1") |
| 1701 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("2") PORT_CODE(KEYCODE_2_PAD) | |
| 1702 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("6") PORT_CODE(KEYCODE_6_PAD) | |
| 1703 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1704 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME(DEF_STR( No )) PORT_CODE(KEYCODE_N) | |
| 1705 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1706 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_MAHJONG_BET ) | |
| 1701 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) PORT_PLAYER(1) | |
| 1702 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) PORT_PLAYER(1) | |
| 1703 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1704 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_NO ) PORT_PLAYER(1) | |
| 1705 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1706 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_MAHJONG_BET ) PORT_PLAYER(1) | |
| 1707 | 1707 | |
| 1708 | 1708 | PORT_START("KEY2") |
| 1709 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("3") PORT_CODE(KEYCODE_3_PAD) | |
| 1710 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("7") PORT_CODE(KEYCODE_7_PAD) | |
| 1711 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1712 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1713 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1714 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1709 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_C ) PORT_PLAYER(1) | |
| 1710 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_G ) PORT_PLAYER(1) | |
| 1711 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1712 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1713 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1714 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1715 | 1715 | |
| 1716 | 1716 | PORT_START("KEY3") |
| 1717 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("4") PORT_CODE(KEYCODE_4_PAD) | |
| 1718 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("8") PORT_CODE(KEYCODE_8_PAD) | |
| 1719 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1720 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1721 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1722 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1717 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) PORT_PLAYER(1) | |
| 1718 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_H ) PORT_PLAYER(1) | |
| 1719 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1720 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1721 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1722 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1723 | 1723 | |
| 1724 | 1724 | PORT_START("KEY4") |
| 1725 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_LAST_CHANCE ) PORT_PLAYER(1) // "l" | |
| 1726 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_SCORE ) PORT_PLAYER(1) // "t" | |
| 1727 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_DOUBLE_UP ) PORT_PLAYER(1) // "w" | |
| 1728 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_FLIP_FLOP ) PORT_PLAYER(1) // "f" | |
| 1729 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_BIG ) PORT_PLAYER(1) // "b" | |
| 1730 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_MAHJONG_SMALL ) PORT_PLAYER(1) // "s" | |
| 1725 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_LAST_CHANCE ) // "l" | |
| 1726 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_SCORE ) // "t" | |
| 1727 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_DOUBLE_UP ) // "w" | |
| 1728 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_FLIP_FLOP ) // "f" | |
| 1729 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_BIG ) // "b" | |
| 1730 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_MAHJONG_SMALL ) // "s" | |
| 1731 | 1731 | |
| 1732 | 1732 | /* Keyboard 2 */ |
| 1733 | 1733 | PORT_START("KEY5") |
| 1734 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_A ) PORT_PLAYER(2) | |
| 1735 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_E ) PORT_PLAYER(2) | |
| 1736 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_I ) PORT_PLAYER(2) | |
| 1737 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_M ) PORT_PLAYER(2) | |
| 1738 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_KAN ) PORT_PLAYER(2) | |
| 1739 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 ) | |
| 1734 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) PORT_PLAYER(2) | |
| 1735 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) PORT_PLAYER(2) | |
| 1736 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1737 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_YES ) PORT_PLAYER(2) | |
| 1738 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1739 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 ) | |
| 1740 | 1740 | |
| 1741 | 1741 | PORT_START("KEY6") |
| 1742 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_B ) PORT_PLAYER(2) | |
| 1743 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_F ) PORT_PLAYER(2) | |
| 1744 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_J ) PORT_PLAYER(2) | |
| 1745 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_N ) PORT_PLAYER(2) | |
| 1746 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_REACH ) PORT_PLAYER(2) | |
| 1747 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_MAHJONG_BET ) PORT_PLAYER(2) | |
| 1742 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) PORT_PLAYER(2) | |
| 1743 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) PORT_PLAYER(2) | |
| 1744 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1745 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_NO ) PORT_PLAYER(2) | |
| 1746 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1747 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_MAHJONG_BET ) PORT_PLAYER(2) | |
| 1748 | 1748 | |
| 1749 | 1749 | PORT_START("KEY7") |
| 1750 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_C ) PORT_PLAYER(2) | |
| 1751 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_G ) PORT_PLAYER(2) | |
| 1752 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_K ) PORT_PLAYER(2) | |
| 1753 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_CHI ) PORT_PLAYER(2) | |
| 1754 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_RON ) PORT_PLAYER(2) | |
| 1755 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1750 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_C ) PORT_PLAYER(2) | |
| 1751 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_G ) PORT_PLAYER(2) | |
| 1752 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1753 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1754 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1755 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1756 | 1756 | |
| 1757 | 1757 | PORT_START("KEY8") |
| 1758 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_D ) PORT_PLAYER(2) | |
| 1759 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_H ) PORT_PLAYER(2) | |
| 1760 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_L ) PORT_PLAYER(2) | |
| 1761 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_PON ) PORT_PLAYER(2) | |
| 1762 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1763 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1758 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) PORT_PLAYER(2) | |
| 1759 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_H ) PORT_PLAYER(2) | |
| 1760 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1761 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1762 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1763 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) | |
| 1764 | 1764 | |
| 1765 | 1765 | PORT_START("KEY9") |
| 1766 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_LAST_CHANCE ) PORT_PLAYER(2) // "l" | |
| 1767 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_SCORE ) PORT_PLAYER(2) // "t" | |
| 1768 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_DOUBLE_UP ) PORT_PLAYER(2) // "w" | |
| 1769 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_FLIP_FLOP ) PORT_PLAYER(2) // "f" | |
| 1770 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_BIG ) PORT_PLAYER(2) // "b" | |
| 1771 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_MAHJONG_SMALL ) PORT_PLAYER(2) // "s" | |
| 1766 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_LAST_CHANCE ) PORT_PLAYER(2) // "l" | |
| 1767 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_SCORE ) PORT_PLAYER(2) // "t" | |
| 1768 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_DOUBLE_UP ) PORT_PLAYER(2) // "w" | |
| 1769 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_FLIP_FLOP ) PORT_PLAYER(2) // "f" | |
| 1770 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_BIG ) PORT_PLAYER(2) // "b" | |
| 1771 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_MAHJONG_SMALL ) PORT_PLAYER(2) // "s" | |
| 1772 | 1772 | INPUT_PORTS_END |
| 1773 | 1773 | |
| 1774 | 1774 |
| r5490 | r5491 | |
|---|---|---|
| 1231 | 1231 | * |
| 1232 | 1232 | *************************************/ |
| 1233 | 1233 | |
| 1234 | GAME( 1979, astrof, 0, astrof, astrof, 0, ROT90, "Data East", "Astro Fighter (set 1)", GAME_SUPPORTS_SAVE ) | |
| 1235 | GAME( 1979, astrof2, astrof, astrof, astrof, 0, ROT90, "Data East", "Astro Fighter (set 2)", GAME_SUPPORTS_SAVE ) | |
| 1236 | GAME( 1979, astrof3, astrof, astrof, astrof, 0, ROT90, "Data East", "Astro Fighter (set 3)", GAME_SUPPORTS_SAVE ) | |
| 1237 | GAME( 1979, abattle, astrof, abattle, abattle, abattle, ROT90, "Sidam", "Astro Battle (set 1)", GAME_SUPPORTS_SAVE ) | |
| 1238 | GAME( 1979, abattle2, astrof, abattle, abattle, abattle, ROT90, "Sidam", "Astro Battle (set 2)", GAME_SUPPORTS_SAVE ) | |
| 1239 | GAME( 1979, afire, astrof, abattle, abattle, afire, ROT90, "Rene Pierre", "Astro Fire", GAME_SUPPORTS_SAVE ) | |
| 1240 | GAME( 1979, acombat, astrof, abattle, abattle, afire, ROT90, "bootleg", "Astro Combat (newer, CB)", GAME_SUPPORTS_SAVE ) | |
| 1241 | GAME( 1979, acombato, astrof, abattle, abattle, afire, ROT90, "bootleg", "Astro Combat (older, PZ)", GAME_SUPPORTS_SAVE ) | |
| 1242 | GAME( 1979, sstarbtl, astrof, abattle, abattle, sstarbtl,ROT90, "bootleg", "Super Star Battle", GAME_SUPPORTS_SAVE ) | |
| 1234 | GAME( 1979, astrof, 0, astrof, astrof, 0, ROT90, "Data East", "Astro Fighter (set 1)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1235 | GAME( 1979, astrof2, astrof, astrof, astrof, 0, ROT90, "Data East", "Astro Fighter (set 2)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1236 | GAME( 1979, astrof3, astrof, astrof, astrof, 0, ROT90, "Data East", "Astro Fighter (set 3)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1237 | GAME( 1979, abattle, astrof, abattle, abattle, abattle, ROT90, "Sidam", "Astro Battle (set 1)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1238 | GAME( 1979, abattle2, astrof, abattle, abattle, abattle, ROT90, "Sidam", "Astro Battle (set 2)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1239 | GAME( 1979, afire, astrof, abattle, abattle, afire, ROT90, "Rene Pierre", "Astro Fire", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1240 | GAME( 1979, acombat, astrof, abattle, abattle, afire, ROT90, "bootleg", "Astro Combat (newer, CB)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1241 | GAME( 1979, acombato, astrof, abattle, abattle, afire, ROT90, "bootleg", "Astro Combat (older, PZ)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1242 | GAME( 1979, sstarbtl, astrof, abattle, abattle, sstarbtl,ROT90, "bootleg", "Super Star Battle", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1243 | 1243 | GAME( 1979, spfghmk2, 0, spfghmk2, spfghmk2, 0, ROT90, "Data East", "Space Fighter Mark II (set 1)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE ) |
| 1244 | 1244 | GAME( 1979, spfghmk22,spfghmk2, spfghmk2, spfgmk22, 0, ROT90, "Data East", "Space Fighter Mark II (set 2)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE ) |
| 1245 | 1245 | GAME( 1980, tomahawk, 0, tomahawk, tomahawk, 0, ROT90, "Data East", "Tomahawk 777 (rev 5)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) |
| r5490 | r5491 | |
|---|---|---|
| 1088 | 1088 | tecmo_video_type = 2; |
| 1089 | 1089 | |
| 1090 | 1090 | /* no MSM */ |
| 1091 | memory_install_write8_handler(cputag_get_address_space(machine, "soundcpu", ADDRESS_SPACE_PROGRAM), 0xc000, 0xc000, 0, 0, SMH_NOP); | |
| 1092 | memory_install_write8_handler(cputag_get_address_space(machine, "soundcpu", ADDRESS_SPACE_PROGRAM), 0xd000, 0xd000, 0, 0, SMH_NOP); | |
| 1093 | memory_install_write8_handler(cputag_get_address_space(machine, "soundcpu", ADDRESS_SPACE_PROGRAM), 0xe000, 0xe000, 0, 0, SMH_NOP); | |
| 1091 | memory_install_write8_handler(cputag_get_address_space(machine, "soundcpu", ADDRESS_SPACE_PROGRAM), 0xc000, 0xc000, 0, 0, (write8_space_func)SMH_NOP); | |
| 1092 | memory_install_write8_handler(cputag_get_address_space(machine, "soundcpu", ADDRESS_SPACE_PROGRAM), 0xd000, 0xd000, 0, 0, (write8_space_func)SMH_NOP); | |
| 1093 | memory_install_write8_handler(cputag_get_address_space(machine, "soundcpu", ADDRESS_SPACE_PROGRAM), 0xe000, 0xe000, 0, 0, (write8_space_func)SMH_NOP); | |
| 1094 | 1094 | |
| 1095 | 1095 | |
| 1096 | 1096 | } |
| r5490 | r5491 | |
|---|---|---|
| 1204 | 1204 | ROM_LOAD( "music1.1a", 0xc0000, 0x80000, CRC(864167c2) SHA1(c454b26b6dea993e6bd64546f92beef05e46d7d7) ) |
| 1205 | 1205 | ROM_END |
| 1206 | 1206 | |
| 1207 | ROM_START( wownfant) | |
| 1208 | ROM_REGION( 0x500000, "maincpu", 0 ) /* 68000 code */ | |
| 1209 | ROM_LOAD16_BYTE( "ep-4001 42750001 u81.bin", 0x000000, 0x80000, CRC(9942d200) SHA1(d2f69c0949881ef4aef202b564eac069c030a497) ) | |
| 1210 | ROM_LOAD16_BYTE( "ep-4001 42750001 u80.bin", 0x000001, 0x80000, CRC(17359eeb) SHA1(90bb9da6bdf56fa9eb0ad03691750518a2a3f879) ) | |
| 1211 | ROM_LOAD16_WORD_SWAP( "ep-061 43750002 - 1.bin", 0x100000, 0x200000, CRC(c318e841) SHA1(ba7af736d3b0accca474b0de1c8299eb3c449ef9) ) | |
| 1212 | ROM_LOAD16_WORD_SWAP( "ep-061 43750002 - 2.bin", 0x300000, 0x200000, CRC(8871dc3a) SHA1(8e028f1430474df19bb9a912ee9e407fe4582558) ) | |
| 1213 | ||
| 1214 | ROM_REGION( 0x100000, "gfx1", 0 ) /* sprites */ | |
| 1215 | ROM_LOAD( "ep-4001 42750001 u113.bin", 0x00000, 0x80000, CRC(3e77ca1f) SHA1(f946e65a29bc02b89c02b2a869578d38cfe7e2d0) ) | |
| 1216 | ROM_LOAD( "ep-4001 42750001 u112.bin", 0x80000, 0x80000, CRC(51f4b604) SHA1(52e8ce0a2c1b9b00f04e0c775789bc550bad8ae0) ) | |
| 1217 | ||
| 1218 | ROM_REGION( 0x140000, "oki", 0 ) /* OKIM6295 samples */ | |
| 1219 | /* 00000-2ffff is fixed, 30000-3ffff is bank switched from all the ROMs */ | |
| 1220 | ROM_LOAD( "ep-4001 42750001 u4.bin", 0x00000, 0x80000, CRC(06dc889e) SHA1(726561ff01bbde43669293a6ff7ee22b048b4118) ) // almost the same as fantasia2, just some changes to the sample references in the header | |
| 1221 | ROM_RELOAD( 0x40000, 0x80000 ) | |
| 1222 | ROM_LOAD( "ep-4001 42750001 u1.bin", 0xc0000, 0x80000, CRC(864167c2) SHA1(c454b26b6dea993e6bd64546f92beef05e46d7d7) ) | |
| 1223 | ROM_END | |
| 1224 | ||
| 1207 | 1225 | ROM_START( galhustl ) |
| 1208 | 1226 | ROM_REGION( 0x100000, "maincpu", 0 ) /* 68000 Code */ |
| 1209 | 1227 | ROM_LOAD16_BYTE( "ue17.3", 0x00000, 0x80000, CRC(b2583dbb) SHA1(536f4aa2246ec816c4f270f9d42acc090718ee8b) ) |
| r5490 | r5491 | |
| 1294 | 1312 | GAME( 1996, missmw96, missw96, comad, missw96, 0, ROT0, "Comad", "Miss Mister World '96 (Nude)", GAME_NO_COCKTAIL ) |
| 1295 | 1313 | GAME( 1997, fantsia2, 0, fantsia2, missw96, 0, ROT0, "Comad", "Fantasia II (Explicit)", GAME_NO_COCKTAIL ) |
| 1296 | 1314 | GAME( 1997, fantsia2a,fantsia2, fantsia2, missw96, 0, ROT0, "Comad", "Fantasia II (Less Explicit)", GAME_NO_COCKTAIL ) |
| 1315 | GAME( 2002, wownfant, 0, fantsia2, missw96, 0, ROT0, "Comad", "WOW New Fantasia", GAME_NO_COCKTAIL ) | |
| 1297 | 1316 | GAME( 1997, galhustl, 0, galhustl, galhustl, 0, ROT0, "ACE International", "Gals Hustler", 0 ) |
| 1298 | 1317 | GAME( 1995, zipzap, 0, zipzap, zipzap, 0, ROT90, "Barko Corp", "Zip & Zap", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND ) |
| r5490 | r5491 | |
|---|---|---|
| 7 | 7 | David Haywood |
| 8 | 8 | |
| 9 | 9 | TODO: |
| 10 | - map inputs (temp mapped to | |
| 10 | - map missing inputs (temp mapped to | |
| 11 | 11 | - is there (still..) some kind of protection ? timers looks weird (2nd player timer is frozen) |
| 12 | 12 | - colors (afaik color(?) prom outputs are connected to one of pals), might help to have a screenshot of the original thing. |
| 13 | 13 | |
| r5490 | r5491 | |
| 135 | 135 | ADDRESS_MAP_END |
| 136 | 136 | |
| 137 | 137 | static INPUT_PORTS_START( koikoi ) |
| 138 | PORT_START("DSW") | |
| 138 | PORT_START("DSW") | |
| 139 | 139 | PORT_DIPNAME( 0x03, 0x01, "Timer C" ) |
| 140 | 140 | PORT_DIPSETTING( 0x00, "50" ) |
| 141 | 141 | PORT_DIPSETTING( 0x01, "70" ) |
| 142 | 142 | PORT_DIPSETTING( 0x02, "90" ) |
| 143 | 143 | PORT_DIPSETTING( 0x03, "110" ) |
| 144 | ||
| 145 | 144 | PORT_DIPNAME( 0x0c, 0x04, "Timer M" ) |
| 146 | 145 | PORT_DIPSETTING( 0x00, "120" ) |
| 147 | 146 | PORT_DIPSETTING( 0x04, "150" ) |
| 148 | 147 | PORT_DIPSETTING( 0x08, "180" ) |
| 149 | 148 | PORT_DIPSETTING( 0x0c, "210" ) |
| 150 | ||
| 151 | 149 | PORT_DIPNAME( 0x10, 0x00, DEF_STR( Coin_A ) ) |
| 152 | 150 | PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) |
| 153 | 151 | PORT_DIPSETTING( 0x10, DEF_STR( 1C_2C ) ) |
| 154 | ||
| 155 | 152 | PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) ) |
| 156 | 153 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 157 | 154 | PORT_DIPSETTING( 0x20, DEF_STR( On ) ) |
| 158 | ||
| 159 | 155 | PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) ) |
| 160 | 156 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 161 | 157 | PORT_DIPSETTING( 0x40, DEF_STR( On ) ) |
| 162 | ||
| 163 | 158 | PORT_DIPNAME( 0x80, 0x00, "Test Mode" ) |
| 164 | 159 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 165 | 160 | PORT_DIPSETTING( 0x80, DEF_STR( On ) ) |
| 166 | 161 | |
| 167 | PORT_START("IN0") | |
| 162 | PORT_START("IN0") | |
| 168 | 163 | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_COIN1 ) |
| 169 | PORT_BIT( 0xbf, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 164 | PORT_BIT( 0xbf, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 170 | 165 | |
| 171 | PORT_START("IN1") /* IN1 */ | |
| 172 | PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("P1 Button 1") PORT_CODE(KEYCODE_A) //1 | |
| 173 | PORT_BIT( 0x0004, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("P1 Button 2") PORT_CODE(KEYCODE_S) //2 | |
| 174 | PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("P1 Button 3") PORT_CODE(KEYCODE_D) //3 | |
| 175 | PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("P1 Button 4") PORT_CODE(KEYCODE_F) //4 | |
| 176 | PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_NAME("P1 Button 5") PORT_CODE(KEYCODE_G) //5 | |
| 177 | PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_NAME("P1 Button 6") PORT_CODE(KEYCODE_H) //6 | |
| 178 | PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_BUTTON7 ) PORT_NAME("P1 Button 7") PORT_CODE(KEYCODE_J) //7 | |
| 179 | PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_BUTTON8 ) PORT_NAME("P1 Button 8") PORT_CODE(KEYCODE_K) //8 | |
| 166 | PORT_START("IN1") | |
| 167 | PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_HANAFUDA_A ) | |
| 168 | PORT_BIT( 0x0004, IP_ACTIVE_HIGH, IPT_HANAFUDA_B ) | |
| 169 | PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_HANAFUDA_C ) | |
| 170 | PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_HANAFUDA_D ) | |
| 171 | PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_HANAFUDA_E ) | |
| 172 | PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_HANAFUDA_F ) | |
| 173 | PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_HANAFUDA_G ) | |
| 174 | PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_HANAFUDA_H ) | |
| 180 | 175 | |
| 181 | 176 | PORT_BIT( 0x0800, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_CODE(KEYCODE_Z) |
| 182 | 177 | PORT_BIT( 0x1000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_CODE(KEYCODE_X) |
| 183 | PORT_BIT( 0x2000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_CODE(KEYCODE_ | |
| 178 | PORT_BIT( 0x2000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_CODE(KEYCODE_LSHIFT) | |
| 184 | 179 | |
| 185 | 180 | PORT_BIT( 0x0200, IP_ACTIVE_HIGH, IPT_START1 ) |
| 186 | 181 | PORT_BIT( 0x0400, IP_ACTIVE_HIGH, IPT_START2 ) |
| 187 | ||
| 188 | 182 | INPUT_PORTS_END |
| 189 | 183 | |
| 190 | 184 | static PALETTE_INIT( koikoi ) //wrong |
| r5490 | r5491 | |
|---|---|---|
| 347 | 347 | } |
| 348 | 348 | |
| 349 | 349 | |
| 350 | static CUSTOM_INPUT( shifted_port_r ) { return input_port_read(field->port->machine, param) >> 4; } | |
| 350 | static CUSTOM_INPUT( shifted_port_r ) { return input_port_read(field->port->machine, (const char *)param) >> 4; } | |
| 351 | 351 | static CUSTOM_INPUT( auto_start_r ) { return auto_start_mask; } |
| 352 | 352 | |
| 353 | 353 | static WRITE8_DEVICE_HANDLER( out_0 ) |
| r5490 | r5491 | |
|---|---|---|
| 2758 | 2758 | static MACHINE_DRIVER_START( cps1_10MHz ) |
| 2759 | 2759 | |
| 2760 | 2760 | /* basic machine hardware */ |
| 2761 | MDRV_CPU_ADD("maincpu", M68000, 10 | |
| 2761 | MDRV_CPU_ADD("maincpu", M68000, XTAL_10MHz | |
| 2762 | 2762 | MDRV_CPU_PROGRAM_MAP(main_map) |
| 2763 | 2763 | MDRV_CPU_VBLANK_INT("screen", cps1_interrupt) |
| 2764 | 2764 | |
| 2765 | MDRV_CPU_ADD("audiocpu", Z80, 3579545) | |
| 2765 | MDRV_CPU_ADD("audiocpu", Z80, XTAL_3_579545MHz) /* verified on pcb */ | |
| 2766 | 2766 | MDRV_CPU_PROGRAM_MAP(sub_map) |
| 2767 | 2767 | |
| 2768 | 2768 | /* video hardware */ |
| r5490 | r5491 | |
| 2783 | 2783 | /* sound hardware */ |
| 2784 | 2784 | MDRV_SPEAKER_STANDARD_MONO("mono") |
| 2785 | 2785 | |
| 2786 | MDRV_SOUND_ADD("2151", YM2151, 3579545) | |
| 2786 | MDRV_SOUND_ADD("2151", YM2151, XTAL_3_579545MHz) /* verified on pcb */ | |
| 2787 | 2787 | MDRV_SOUND_CONFIG(ym2151_config) |
| 2788 | 2788 | MDRV_SOUND_ROUTE(0, "mono", 0.35) |
| 2789 | 2789 | MDRV_SOUND_ROUTE(1, "mono", 0.35) |
| 2790 | 2790 | |
| 2791 | MDRV_SOUND_ADD("oki", OKIM6295, 1000000) | |
| 2791 | /* CPS PPU is fed by a 16mhz clock,pin 117 outputs a 4mhz clock which is divided by 4 using 2 74ls74 */ | |
| 2792 | MDRV_SOUND_ADD("oki", OKIM6295, XTAL_16MHz/4/4) | |
| 2792 | 2793 | MDRV_SOUND_CONFIG(okim6295_interface_pin7high) // pin 7 can be changed by the game code, see f006 on z80 |
| 2793 | 2794 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30) |
| 2794 | 2795 | MACHINE_DRIVER_END |
| r5490 | r5491 | |
| 2799 | 2800 | /* basic machine hardware */ |
| 2800 | 2801 | MDRV_IMPORT_FROM(cps1_10MHz) |
| 2801 | 2802 | |
| 2802 | MDRV_CPU_REPLACE("maincpu", M68000, 12 | |
| 2803 | MDRV_CPU_REPLACE("maincpu", M68000, XTAL_12MHz | |
| 2803 | 2804 | MACHINE_DRIVER_END |
| 2804 | 2805 | |
| 2805 | 2806 | static MACHINE_DRIVER_START( pang3 ) |
| r5490 | r5491 | |
| 2815 | 2816 | /* basic machine hardware */ |
| 2816 | 2817 | MDRV_IMPORT_FROM(cps1_12MHz) |
| 2817 | 2818 | |
| 2818 | MDRV_CPU_REPLACE("maincpu", M68000, 12 | |
| 2819 | MDRV_CPU_REPLACE("maincpu", M68000, XTAL_12 | |
| 2819 | 2820 | MDRV_CPU_PROGRAM_MAP(qsound_main_map) |
| 2820 | 2821 | MDRV_CPU_VBLANK_INT("screen", cps1_qsound_interrupt) /* ??? interrupts per frame */ |
| 2821 | 2822 | |
| 2822 | MDRV_CPU_REPLACE("audiocpu", Z80, 8 | |
| 2823 | MDRV_CPU_REPLACE("audiocpu", Z80, XTAL_8MHz | |
| 2823 | 2824 | MDRV_CPU_PROGRAM_MAP(qsound_sub_map) |
| 2824 | 2825 | MDRV_CPU_PERIODIC_INT(irq0_line_hold, 250) /* ?? */ |
| 2825 | 2826 |
| r5490 | r5491 | |
|---|---|---|
| 214 | 214 | ROM_END |
| 215 | 215 | |
| 216 | 216 | |
| 217 | GAME( 1977, starcrus, 0, starcrus, starcrus, 0, ROT0, "RamTek", "Star Cruiser", | |
| 217 | GAME( 1977, starcrus, 0, starcrus, starcrus, 0, ROT0, "RamTek", "Star Cruiser", GAME_IMPERFECT_SOUND ) | |
| 218 | 218 |
| r5490 | r5491 | |
|---|---|---|
| 1167 | 1167 | */ |
| 1168 | 1168 | |
| 1169 | 1169 | /* map derived from schematics */ |
| 1170 | static ADDRESS_MAP_START( galaxian_map, ADDRESS_SPACE_PROGRAM, 8 ) | |
| 1170 | ||
| 1171 | static ADDRESS_MAP_START( galaxian_map_discrete, ADDRESS_SPACE_PROGRAM, 8 ) | |
| 1172 | AM_RANGE(0x6004, 0x6007) AM_MIRROR(0x07f8) AM_DEVWRITE(GAL_AUDIO, galaxian_lfo_freq_w) | |
| 1173 | AM_RANGE(0x6800, 0x6807) AM_MIRROR(0x07f8) AM_DEVWRITE(GAL_AUDIO, galaxian_sound_w) | |
| 1174 | AM_RANGE(0x7800, 0x7800) AM_MIRROR(0x07ff) AM_DEVWRITE(GAL_AUDIO, galaxian_pitch_w) | |
| 1175 | ADDRESS_MAP_END | |
| 1176 | ||
| 1177 | static ADDRESS_MAP_START( galaxian_map_base, ADDRESS_SPACE_PROGRAM, 8 ) | |
| 1171 | 1178 | ADDRESS_MAP_UNMAP_HIGH |
| 1172 | 1179 | AM_RANGE(0x0000, 0x3fff) AM_ROM |
| 1173 | 1180 | AM_RANGE(0x4000, 0x43ff) AM_MIRROR(0x0400) AM_RAM |
| r5490 | r5491 | |
| 1177 | 1184 | AM_RANGE(0x6000, 0x6001) AM_MIRROR(0x07f8) AM_WRITE(start_lamp_w) |
| 1178 | 1185 | AM_RANGE(0x6002, 0x6002) AM_MIRROR(0x07f8) AM_WRITE(coin_lock_w) |
| 1179 | 1186 | AM_RANGE(0x6003, 0x6003) AM_MIRROR(0x07f8) AM_WRITE(coin_count_0_w) |
| 1180 | AM_RANGE(0x6004, 0x6007) AM_MIRROR(0x07f8) AM_WRITE(galaxian_lfo_freq_w) | |
| 1187 | //AM_RANGE(0x6004, 0x6007) AM_MIRROR(0x07f8) AM_DEVWRITE(GAL_AUDIO, galaxian_lfo_freq_w) | |
| 1181 | 1188 | AM_RANGE(0x6800, 0x6800) AM_MIRROR(0x07ff) AM_READ_PORT("IN1") |
| 1182 | AM_RANGE(0x6800, 0x6807) AM_MIRROR(0x07f8) AM_WRITE(galaxian_sound_w) | |
| 1189 | //AM_RANGE(0x6800, 0x6807) AM_MIRROR(0x07f8) AM_DEVWRITE(GAL_AUDIO, galaxian_sound_w) | |
| 1183 | 1190 | AM_RANGE(0x7000, 0x7000) AM_MIRROR(0x07ff) AM_READ_PORT("IN2") |
| 1184 | 1191 | AM_RANGE(0x7001, 0x7001) AM_MIRROR(0x07f8) AM_WRITE(irq_enable_w) |
| 1185 | 1192 | AM_RANGE(0x7004, 0x7004) AM_MIRROR(0x07f8) AM_WRITE(galaxian_stars_enable_w) |
| 1186 | 1193 | AM_RANGE(0x7006, 0x7006) AM_MIRROR(0x07f8) AM_WRITE(galaxian_flip_screen_x_w) |
| 1187 | 1194 | AM_RANGE(0x7007, 0x7007) AM_MIRROR(0x07f8) AM_WRITE(galaxian_flip_screen_y_w) |
| 1188 | AM_RANGE(0x7800, 0x7800) AM_MIRROR(0x07ff) AM_WRITE(galaxian_pitch_w) | |
| 1195 | //AM_RANGE(0x7800, 0x7800) AM_MIRROR(0x07ff) AM_DEVWRITE(GAL_AUDIO, galaxian_pitch_w) | |
| 1189 | 1196 | AM_RANGE(0x7800, 0x7800) AM_MIRROR(0x07ff) AM_READ(watchdog_reset_r) |
| 1190 | 1197 | ADDRESS_MAP_END |
| 1191 | 1198 | |
| 1199 | static ADDRESS_MAP_START( galaxian_map, ADDRESS_SPACE_PROGRAM, 8 ) | |
| 1200 | AM_IMPORT_FROM(galaxian_map_base) | |
| 1201 | AM_IMPORT_FROM(galaxian_map_discrete) | |
| 1202 | ADDRESS_MAP_END | |
| 1192 | 1203 | |
| 1193 | 1204 | /* map derived from schematics */ |
| 1194 | static ADDRESS_MAP_START( mooncrst_map, ADDRESS_SPACE_PROGRAM, 8 ) | |
| 1205 | ||
| 1206 | static ADDRESS_MAP_START( mooncrst_map_discrete, ADDRESS_SPACE_PROGRAM, 8 ) | |
| 1207 | AM_RANGE(0xa004, 0xa007) AM_MIRROR(0x07f8) AM_DEVWRITE(GAL_AUDIO, galaxian_lfo_freq_w) | |
| 1208 | AM_RANGE(0xa800, 0xa807) AM_MIRROR(0x07f8) AM_DEVWRITE(GAL_AUDIO, galaxian_sound_w) | |
| 1209 | AM_RANGE(0xb800, 0xb800) AM_MIRROR(0x07ff) AM_DEVWRITE(GAL_AUDIO, galaxian_pitch_w) | |
| 1210 | ADDRESS_MAP_END | |
| 1211 | ||
| 1212 | static ADDRESS_MAP_START( mooncrst_map_base, ADDRESS_SPACE_PROGRAM, 8 ) | |
| 1195 | 1213 | ADDRESS_MAP_UNMAP_HIGH |
| 1196 | 1214 | AM_RANGE(0x0000, 0x3fff) AM_ROM |
| 1197 | 1215 | AM_RANGE(0x8000, 0x83ff) AM_MIRROR(0x0400) AM_RAM |
| r5490 | r5491 | |
| 1200 | 1218 | AM_RANGE(0xa000, 0xa000) AM_MIRROR(0x07ff) AM_READ_PORT("IN0") |
| 1201 | 1219 | AM_RANGE(0xa000, 0xa002) AM_MIRROR(0x07f8) AM_WRITE(galaxian_gfxbank_w) |
| 1202 | 1220 | AM_RANGE(0xa003, 0xa003) AM_MIRROR(0x07f8) AM_WRITE(coin_count_0_w) |
| 1203 | ||
| 1221 | // AM_RANGE(0xa004, 0xa007) AM_MIRROR(0x07f8) AM_DEVWRITE(GAL_AUDIO, galaxian_lfo_freq_w) | |
| 1204 | 1222 | AM_RANGE(0xa800, 0xa800) AM_MIRROR(0x07ff) AM_READ_PORT("IN1") |
| 1205 | ||
| 1223 | // AM_RANGE(0xa800, 0xa807) AM_MIRROR(0x07f8) AM_DEVWRITE(GAL_AUDIO, galaxian_sound_w) | |
| 1206 | 1224 | AM_RANGE(0xb000, 0xb000) AM_MIRROR(0x07ff) AM_READ_PORT("IN2") |
| 1207 | 1225 | AM_RANGE(0xb000, 0xb000) AM_MIRROR(0x07f8) AM_WRITE(irq_enable_w) |
| 1208 | 1226 | AM_RANGE(0xb004, 0xb004) AM_MIRROR(0x07f8) AM_WRITE(galaxian_stars_enable_w) |
| 1209 | 1227 | AM_RANGE(0xb006, 0xb006) AM_MIRROR(0x07f8) AM_WRITE(galaxian_flip_screen_x_w) |
| 1210 | 1228 | AM_RANGE(0xb007, 0xb007) AM_MIRROR(0x07f8) AM_WRITE(galaxian_flip_screen_y_w) |
| 1211 | ||
| 1229 | // AM_RANGE(0xb800, 0xb800) AM_MIRROR(0x07ff) AM_DEVWRITE(GAL_AUDIO, galaxian_pitch_w) | |
| 1212 | 1230 | AM_RANGE(0xb800, 0xb800) AM_MIRROR(0x07ff) AM_READ(watchdog_reset_r) |
| 1213 | 1231 | ADDRESS_MAP_END |
| 1214 | 1232 | |
| 1233 | static ADDRESS_MAP_START( mooncrst_map, ADDRESS_SPACE_PROGRAM, 8 ) | |
| 1234 | AM_IMPORT_FROM(mooncrst_map_base) | |
| 1235 | AM_IMPORT_FROM(mooncrst_map_discrete) | |
| 1236 | ADDRESS_MAP_END | |
| 1215 | 1237 | |
| 1238 | ||
| 1239 | ||
| 1216 | 1240 | /* map derived from schematics */ |
| 1217 | 1241 | #if 0 |
| 1218 | 1242 | static ADDRESS_MAP_START( dambustr_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| r5490 | r5491 | |
| 1726 | 1750 | MACHINE_DRIVER_END |
| 1727 | 1751 | |
| 1728 | 1752 | |
| 1729 | static MACHINE_DRIVER_START( galaxian_sound ) | |
| 1730 | 1753 | |
| 1731 | /* sound hardware */ | |
| 1732 | MDRV_SOUND_ADD("samples", SAMPLES, 0) | |
| 1733 | MDRV_SOUND_CONFIG(galaxian_custom_interface) | |
| 1734 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) | |
| 1735 | MACHINE_DRIVER_END | |
| 1736 | ||
| 1737 | ||
| 1738 | 1754 | static MACHINE_DRIVER_START( konami_base ) |
| 1739 | 1755 | MDRV_IMPORT_FROM( galaxian_base ) |
| 1740 | 1756 | |
| r5490 | r5491 | |
| 1798 | 1814 | |
| 1799 | 1815 | static MACHINE_DRIVER_START( galaxian ) |
| 1800 | 1816 | MDRV_IMPORT_FROM(galaxian_base) |
| 1801 | MDRV_IMPORT_FROM(galaxian_ | |
| 1817 | MDRV_IMPORT_FROM(galaxian_a | |
| 1802 | 1818 | MACHINE_DRIVER_END |
| 1803 | 1819 | |
| 1804 | 1820 | |
| r5490 | r5491 | |
| 1816 | 1832 | /* separate tile/sprite ROMs */ |
| 1817 | 1833 | MDRV_GFXDECODE(pacmanbl) |
| 1818 | 1834 | |
| 1835 | /* basic machine hardware */ | |
| 1836 | MDRV_CPU_MODIFY("maincpu") | |
| 1837 | MDRV_CPU_PROGRAM_MAP(galaxian_map_base) /* no discrete sound */ | |
| 1838 | ||
| 1819 | 1839 | /* sound hardware */ |
| 1820 | 1840 | MDRV_SOUND_ADD("ay", AY8910, 1789750) |
| 1841 | ||
| 1821 | 1842 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) |
| 1822 | 1843 | MACHINE_DRIVER_END |
| 1823 | 1844 | |
| r5490 | r5491 | |
| 1832 | 1853 | |
| 1833 | 1854 | |
| 1834 | 1855 | static MACHINE_DRIVER_START( mooncrst ) |
| 1835 | MDRV_IMPORT_FROM(galaxian) | |
| 1836 | 1856 | |
| 1857 | MDRV_IMPORT_FROM(galaxian_base) | |
| 1858 | ||
| 1837 | 1859 | /* alternate memory map */ |
| 1838 | 1860 | MDRV_CPU_MODIFY("maincpu") |
| 1839 | 1861 | MDRV_CPU_PROGRAM_MAP(mooncrst_map) |
| 1862 | ||
| 1863 | MDRV_IMPORT_FROM(mooncrst_audio) | |
| 1840 | 1864 | MACHINE_DRIVER_END |
| 1841 | 1865 | |
| 1842 | 1866 | |
| r5490 | r5491 | |
| 1935 | 1959 | |
| 1936 | 1960 | /* alternate memory map */ |
| 1937 | 1961 | MDRV_CPU_MODIFY("maincpu") |
| 1938 | MDRV_CPU_PROGRAM_MAP(mooncrst_map) | |
| 1962 | MDRV_CPU_PROGRAM_MAP(mooncrst_map_base) /* no discrete sound ! */ | |
| 1939 | 1963 | MACHINE_DRIVER_END |
| 1940 | 1964 | |
| 1941 | 1965 |
| r5490 | r5491 | |
|---|---|---|
| 1538 | 1538 | *************************************/ |
| 1539 | 1539 | |
| 1540 | 1540 | /* basic G-80 system with: CPU board, PROM board, Video I board, custom sound boards */ |
| 1541 | GAME( 1981, astrob, 0, astrob, astrob, astrob, ROT270, "Sega", "Astro Blaster (version 3)", 0 ) | |
| 1542 | GAME( 1981, astrob2, astrob, astrob, astrob2, astrob, ROT270, "Sega", "Astro Blaster (version 2)", 0 ) | |
| 1543 | GAME( 1981, astrob2a, astrob, astrob, astrob2, astrob, ROT270, "Sega", "Astro Blaster (version 2a)", 0 ) | |
| 1544 | GAME( 1981, astrob1, astrob, astrob, astrob, astrob, ROT270, "Sega", "Astro Blaster (version 1)", GAME_NOT_WORKING ) | |
| 1541 | GAME( 1981, astrob, 0, astrob, astrob, astrob, ROT270, "Sega", "Astro Blaster (version 3)", GAME_IMPERFECT_SOUND ) | |
| 1542 | GAME( 1981, astrob2, astrob, astrob, astrob2, astrob, ROT270, "Sega", "Astro Blaster (version 2)", GAME_IMPERFECT_SOUND ) | |
| 1543 | GAME( 1981, astrob2a, astrob, astrob, astrob2, astrob, ROT270, "Sega", "Astro Blaster (version 2a)", GAME_IMPERFECT_SOUND ) | |
| 1544 | GAME( 1981, astrob1, astrob, astrob, astrob, astrob, ROT270, "Sega", "Astro Blaster (version 1)", GAME_IMPERFECT_SOUND | GAME_NOT_WORKING ) | |
| 1545 | 1545 | GAME( 1981, 005, 0, 005, 005, 005, ROT270, "Sega", "005", GAME_IMPERFECT_SOUND ) |
| 1546 | 1546 | |
| 1547 | 1547 | /* basic G-80 system with individual background boards */ |
| 1548 | GAME( 1981, spaceod, 0, spaceod, spaceod, spaceod, ROT270, "Sega", "Space Odyssey (version 2)", 0 ) | |
| 1549 | GAME( 1981, spaceod2, spaceod, spaceod, spaceod, spaceod, ROT270, "Sega", "Space Odyssey (version 1)", 0 ) | |
| 1550 | GAME( 1982, monsterb, 0, monsterb, monsterb, monsterb, ROT270, "Sega", "Monster Bash", 0 ) | |
| 1548 | GAME( 1981, spaceod, 0, spaceod, spaceod, spaceod, ROT270, "Sega", "Space Odyssey (version 2)", GAME_IMPERFECT_SOUND ) | |
| 1549 | GAME( 1981, spaceod2, spaceod, spaceod, spaceod, spaceod, ROT270, "Sega", "Space Odyssey (version 1)", GAME_IMPERFECT_SOUND ) | |
| 1550 | GAME( 1982, monsterb, 0, monsterb, monsterb, monsterb, ROT270, "Sega", "Monster Bash", GAME_IMPERFECT_SOUND ) | |
| 1551 | 1551 | |
| 1552 | 1552 | /* 2-board G-80 system */ |
| 1553 | GAME( 1982, monsterb2,monsterb,monsterb, monsterb, monster2, ROT270, "Sega", "Monster Bash (2 board version)", | |
| 1553 | GAME( 1982, monsterb2,monsterb,monsterb, monsterb, monster2, ROT270, "Sega", "Monster Bash (2 board version)", GAME_IMPERFECT_SOUND ) | |
| 1554 | 1554 | GAME( 1983, pignewt, 0, pignewt, pignewt, pignewt, ROT270, "Sega", "Pig Newton (version C)", GAME_IMPERFECT_SOUND ) |
| 1555 | 1555 | GAME( 1983, pignewta, pignewt, pignewt, pignewta, pignewt, ROT270, "Sega", "Pig Newton (version A)", GAME_IMPERFECT_SOUND ) |
| 1556 | 1556 | GAME( 1983, sindbadm, 0, sindbadm, sindbadm, sindbadm, ROT270, "Sega", "Sindbad Mystery", 0 ) |
| r5490 | r5491 | |
|---|---|---|
| 1564 | 1564 | } |
| 1565 | 1565 | else |
| 1566 | 1566 | { |
| 1567 | logerror("Unknown 0x18/8 write % | |
| 1567 | logerror("Unknown 0x18/8 write %" I64FMT "x mask %" I64FMT"x\n", data, mem_mask); | |
| 1568 | 1568 | } |
| 1569 | 1569 | break; |
| 1570 | 1570 | case 0x08/8: |
| r5490 | r5491 | |
|---|---|---|
| 156 | 156 | * Aqua Jet (C) Namco, 1996 |
| 157 | 157 | * *Armidillo Racing(C) Namco, 1997 |
| 158 | 158 | * Cyber Cycles (C) Namco, 1995 |
| 159 | * | |
| 159 | * | |
| 160 | 160 | * Prop Cycle (C) Namco, 1996 |
| 161 | 161 | * Time Crisis (C) Namco, 1995 |
| 162 | 162 | * Tokyo Wars (C) Namco, 1996 |
| 163 | 163 | * |
| 164 | * ! - denotes secured but not dumped yet. | |
| 165 | * * - denotes not available. If you can help with the remaining undumped SS22 games, | |
| 166 | * please contact http://guru.mameworld.info/ | |
| 164 | * * - denotes not available. If you can help with the remaining undumped SS22 game other other revisions of the | |
| 165 | * dumped games, please contact http://guru.mameworld.info/ | |
| 167 | 166 | * |
| 168 | 167 | * The Namco Super System 22 System comprises 4 PCB's plugged into a motherboard. The motherboard contains only |
| 169 | 168 | * some slots and connectors. The 4 PCB's are housed in a metal box with a large fan on the side. The fan mostly cools |
| r5490 | r5491 | |
| 289 | 288 | * Aqua Jet = C429 |
| 290 | 289 | * Armidillo Racing = C433 |
| 291 | 290 | * Cyber Cycles = C389 |
| 292 | * Dirt Dash = | |
| 291 | * Dirt Dash = C418 | |
| 293 | 292 | * Prop Cycle = C428 |
| 294 | 293 | * Time Crisis = C419 |
| 295 | 294 | * Tokyo Wars = C424 |
| r5490 | r5491 | |
| 307 | 306 | * Aqua Jet 'AJ1 DATA' |
| 308 | 307 | * Armidillo Racing 'AR DATA' |
| 309 | 308 | * Cyber Cycles 'CB1 DATA B' |
| 310 | * Dirt Dash | |
| 309 | * Dirt Dash 'DT1 DATA A' | |
| 311 | 310 | * Prop Cycle 'PR1 DATA' |
| 312 | 311 | * Time Crisis 'TS1 DATA' |
| 313 | 312 | * Tokyo Wars 'TW1 DATA' |
| r5490 | r5491 | |
| 323 | 322 | * Aqua Jet 'AJ1 WAVEA' , 'AJ1 WAVEB' , both DIP42 32M MASKROMs |
| 324 | 323 | * Armidillo Racing 'AR WAVEA' , 'AR WAVEB' , both TSOP56, mounted on a DIP48 adapter board |
| 325 | 324 | * Cyber Cycles 'CB1 WAVEA' , 'CB1 WAVEB' , WAVE A DIP42 32M MASKROM, WAVE B DIP42 16M MASKROM |
| 326 | * Dirt Dash | |
| 325 | * Dirt Dash 'DT1 WAVEA' , 'DT1 WAVEB' , both DIP42 32M MASKROMs | |
| 327 | 326 | * Prop Cycle 'PR1 WAVE A', 'PR1 WAVE B' , both DIP42 32M MASKROM |
| 328 | 327 | * Time Crisis 'TS1 WAVE A', 'TS1 WAVE B' , WAVE A DIP42 32M MASKROM, WAVE B DIP42 16M MASKROM |
| 329 | 328 | * Tokyo Wars 'TW1 WAVE A', , DIP42 32M MASKROM |
| r5490 | r5491 | |
| 357 | 356 | * Air Combat 22 'ACS1 Ver.B' |
| 358 | 357 | * Alpine Racer 'AR2 Ver.C' |
| 359 | 358 | * Alpine Racer 'AR2 Ver.D' |
| 359 | * Aqua Jet 'AJ2 Ver.B' | |
| 360 | 360 | * Armidillo Racing 'AR' Ver.? |
| 361 | 361 | * Cyber Cycles 'CB2 Ver.C' |
| 362 | 362 | * Prop Cycle 'PR2 Ver.A' |
| r5490 | r5491 | |
| 382 | 382 | * Game Software revision |
| 383 | 383 | * ------------------------------- |
| 384 | 384 | * Time Crisis 'TS2 Ver.A' |
| 385 | * Dirt Dash 'DT2 Ver.A' | |
| 385 | 386 | * |
| 386 | 387 | * Type 3 |
| 387 | 388 | * SYSTEM SUPER22 MPM(F16X4) PCB 8646962901 (8646972901) |
| r5490 | r5491 | |
| 408 | 409 | * |
| 409 | 410 | * Type 4 |
| 410 | 411 | * SYSTEM SUPER22 MPM(F16X4F) PCB 8646963500 (8646973500) |
| 412 | * SYSTEM SUPER22 MPM(F16X4F) PCB 8646963501 (8646973501) <-- very minor? | |
| 411 | 413 | * |-------------------------| |
| 412 | 414 | * |SS22P1B | |
| 413 | 415 | * | | |
| r5490 | r5491 | |
| 432 | 434 | * IC C383 pins 53 (A INPUT) & 52 (B INPUT) |
| 433 | 435 | * |
| 434 | 436 | * This PCB is used on: |
| 435 | * Game Software revision | |
| 436 | * ------------------------------- | |
| 437 | * Alpine Surfer 'AF2 Ver.A' | |
| 437 | * Game Software revision | |
| 438 | * -------------------------------- | |
| 439 | * Alpine Surfer 'AF2 Ver.A' note: with PAL modification and using 8646963500 PCB | |
| 440 | * Alpine Racer 2 'ARS2 Ver.A' note: without PAL modification and using 8646963501 PCB | |
| 438 | 441 | * |
| 439 | 442 | * |
| 440 | 443 | * Auxillary PCB (connector JC410 on the CPU PCB is used only for Time Crisis) |
| r5490 | r5491 | |
| 713 | 716 | * CB1PTRL2.15K " |
| 714 | 717 | * CB1PTRL3.14K " |
| 715 | 718 | * |
| 716 | * Dirt Dash N/A | |
| 719 | * Dirt Dash DT1CCRH.5B, DT1CCRH.1D 4M SOP32 | |
| 720 | * DT1CCRL.7B, DT1CCRL.3D 16M SOP44 | |
| 721 | * DT1CG0.12B, DT1CG0.8D " | |
| 722 | * DT1CG1.13B, DT1CG1.10D " | |
| 723 | * DT1CG2.14B, DT1CG2.12D " | |
| 724 | * DT1CG3.16B, DT1CG3.13D " | |
| 725 | * DT1CG4.18B, DT1CG4.14D " | |
| 726 | * DT1CG5.19B, DT1CG5.16D " | |
| 727 | * DT1CG6.18A, DT1CG6.18D " | |
| 728 | * DT1CG7.15A, DT1CG7.19D " | |
| 729 | * DT1SCG0.12F,DT1SCG0.12L " | |
| 730 | * DT1SCG1.10F,DT1SCG1.10L " | |
| 731 | * DT1PTRU0.18F 4M SOP32 | |
| 732 | * DT1PTRU1.16F " | |
| 733 | * DT1PTRU2.15F " | |
| 734 | * DT1PTRU3.14F " | |
| 735 | * DT1PTRM0.18J " | |
| 736 | * DT1PTRM1.16J " | |
| 737 | * DT1PTRM2.15J " | |
| 738 | * DT1PTRM3.14J " | |
| 739 | * DT1PTRL0.18K " | |
| 740 | * DT1PTRL1.16K " | |
| 741 | * DT1PTRL2.15K " | |
| 742 | * DT1PTRL3.14K " | |
| 717 | 743 | * |
| 718 | 744 | * Prop Cycle PR1CCRH.5B, PR1CCRH.1D 4M SOP32 |
| 719 | 745 | * PR1CCRL.7B, PR1CCRL.3D 16M SOP44 |
| r5490 | r5491 | |
| 2238 | 2264 | case NAMCOS22_CYBER_CYCLES: |
| 2239 | 2265 | return 0x0387; |
| 2240 | 2266 | |
| 2267 | case NAMCOS22_DIRT_DASH: | |
| 2268 | return 0x1a2<<16; | |
| 2269 | ||
| 2241 | 2270 | case NAMCOS22_TOKYO_WARS: |
| 2242 | 2271 | return 0x01a8<<16; |
| 2243 | 2272 | |
| r5490 | r5491 | |
| 4394 | 4423 | ROM_REGION( 0x2000, "user2", ROMREGION_ERASE00 ) |
| 4395 | 4424 | ROM_END |
| 4396 | 4425 | |
| 4426 | ROM_START( ridgerac3 ) | |
| 4427 | ROM_REGION( 0x200000, "maincpu", 0 ) /* main program */ | |
| 4428 | ROM_LOAD32_BYTE( "rr3prgll-3s.4d", 0x000003, 0x080000, CRC(2c3d8cb7) SHA1(46a7b62938fe3edde5c52ce3fdfe447000cd6af0) ) | |
| 4429 | ROM_LOAD32_BYTE( "rr3prglm-3s.2d", 0x000002, 0x080000, CRC(b15343f2) SHA1(3056eb5a3036a74b2ac641a4c3221986c0be1e27) ) | |
| 4430 | ROM_LOAD32_BYTE( "rr3prgum-3s.8d", 0x000001, 0x080000, CRC(8fda06ac) SHA1(7e9adba198eb0941100cda64ecedac504f6ac696) ) | |
| 4431 | ROM_LOAD32_BYTE( "rr3prguu-3s.6d", 0x000000, 0x080000, CRC(868398df) SHA1(422e0f9884904b0df93fcacd1468b8da0458eb8e) ) | |
| 4432 | ||
| 4433 | ROM_REGION( 0x10000*2, "master", 0 ) /* Master DSP */ | |
| 4434 | ROM_LOAD16_WORD( "c71.bin", 0,0x1000*2, CRC(47c623ab) SHA1(e363ac50f5556f83308d4cc191b455e9b62bcfc8) ) | |
| 4435 | ||
| 4436 | ROM_REGION( 0x10000*2, "slave", 0 ) /* Slave DSP */ | |
| 4437 | ROM_LOAD16_WORD( "c71.bin", 0,0x1000*2, CRC(47c623ab) SHA1(e363ac50f5556f83308d4cc191b455e9b62bcfc8) ) | |
| 4438 | ||
| 4439 | ROM_REGION( 0x080000, "mcu", 0 ) /* BIOS */ | |
| 4440 | ROM_LOAD( "c74.bin", 0x0000, 0x4000, CRC(a3dce360) SHA1(8f3248b1890abb2e649927240ae46f73bb171e3b) ) | |
| 4441 | ||
| 4442 | ROM_REGION( 0x100000, "user4", 0 ) /* sound data */ | |
| 4443 | ROM_LOAD( "rr1data.6r", 0, 0x080000, CRC(18f5f748) SHA1(e0d149a66de36156edd9b55f604c9a9801aaefa8) ) | |
| 4444 | ||
| 4445 | ROM_REGION( 0x200000*8, "textile", 0) /* 16x16x8bpp texture tiles */ | |
| 4446 | ROM_LOAD( "rr1cg0.bin", 0x200000*0x4, 0x200000, CRC(b557a795) SHA1(f345486ffbe797246ad80a55d3c4a332ed6e2888) )//,CRC(d1b0eec6) SHA1(f66922c324dfc3ff408db7556c587ef90ca64c3b) ) | |
| 4447 | ROM_LOAD( "rr1cg1.bin", 0x200000*0x5, 0x200000, CRC(0fa212d9) SHA1(a1311de0a504e2d399044fa8ac32ec6c56ec965f) )//,CRC(bb695d89) SHA1(557bac9d2718519c1f69e374d0ef9a86a43fe86c) ) | |
| 4448 | ROM_LOAD( "rr1cg2.bin", 0x200000*0x6, 0x200000, CRC(18e2d2bd) SHA1(69c2ea62eeb255f27d3c69373f6716b0a34683cc) )//,CRC(8f374c0a) SHA1(94ff8581de11a03ef86525155f8433bf5858b980) ) | |
| 4449 | ROM_LOAD( "rr1cg3.bin", 0x200000*0x7, 0x200000, CRC(9564488b) SHA1(6b27d1aea75d6be747c62e165cfa49ecc5d9e767) )//,CRC(072a5c47) SHA1(86b8e973ae6b78197d685fe6d14722d8e2d0dfec) ) | |
| 4450 | ||
| 4451 | ROM_REGION16_LE( 0x280000, "textilemap", 0 ) /* texture tilemap */ | |
| 4452 | ROM_LOAD( "rr1ccrl.bin",0x000000, 0x200000, CRC(6092d181) SHA1(52c0e3ac20aa23059a87d1a985d24ae641577310) )//,CRC(c15cb257) SHA1(0cb8f231c62ea37955be5d452a436a6e815af8e8) ) | |
| 4453 | ROM_LOAD( "rr1ccrh.bin",0x200000, 0x080000, CRC(dd332fd5) SHA1(a7d9c1d6b5a8e3a937b525c1363880e404dcd147) )//,CRC(dd332fd5) SHA1(a7d9c1d6b5a8e3a937b525c1363880e404dcd147) ) | |
| 4454 | ||
| 4455 | ROM_REGION( 0x80000*6, "pointrom", 0 ) /* 3d model data */ | |
| 4456 | ROM_LOAD( "rr1potl0.5b", 0x80000*0, 0x80000,CRC(3ac193e3) SHA1(ff213766f15e34dc1b25187b57d94e17930090a3) ) | |
| 4457 | ROM_LOAD( "rr1potl1.4b", 0x80000*1, 0x80000,CRC(ac3ffba5) SHA1(4eb4dda5faeff237e0d35725b56d309948fba900) ) | |
| 4458 | ROM_LOAD( "rr1potm0.5c", 0x80000*2, 0x80000,CRC(42a3fa08) SHA1(15db0ae7ccf7f5a77b9dd9a9d82a488b67f8aaff) ) | |
| 4459 | ROM_LOAD( "rr1potm1.4c", 0x80000*3, 0x80000,CRC(1bc1ea7b) SHA1(52c21eef4989c45acc5fa4deda2d0b63214731c8) ) | |
| 4460 | ROM_LOAD( "rr1potu0.5d", 0x80000*4, 0x80000,CRC(5e367f72) SHA1(5887f011379dce865fef238b402678a3d2033de9) ) | |
| 4461 | ROM_LOAD( "rr1potu1.4d", 0x80000*5, 0x80000,CRC(31d92475) SHA1(51d3c0baa223e1bc16ea2950f2e085597528f870) ) | |
| 4462 | ||
| 4463 | ROM_REGION( 0x800000, "c352", 0 ) /* sound samples */ | |
| 4464 | ROM_LOAD( "rr1wav0.10r", 0x100000*0, 0x100000,CRC(a8e85bde) SHA1(b56677e9f6c98f7b600043f5dcfef3a482ca7455) ) | |
| 4465 | ROM_LOAD( "rr1wav1.10p", 0x100000*2, 0x100000,CRC(35f47c8e) SHA1(7c3f9e942f532af8008fbead2a96fee6084bcde6) ) | |
| 4466 | ROM_LOAD( "rr1wav2.10n", 0x100000*1, 0x100000,CRC(3244cb59) SHA1(b3283b30cfafbfdcbc6d482ecc4ed6a47a527ca4) ) | |
| 4467 | ROM_LOAD( "rr1wav3.10l", 0x100000*3, 0x100000,CRC(c4cda1a7) SHA1(60bc96880ec79efdff3cc70c09e848692a40bea4) ) | |
| 4468 | ||
| 4469 | ROM_REGION( 0x300, "user1", 0 ) | |
| 4470 | ROM_LOAD( "rr1gam.2d", 0x0000, 0x0100, CRC(b2161bce) SHA1(d2681cc0cf8e68df0d942d392b4eb4458c4bb356) ) | |
| 4471 | ROM_LOAD( "rr1gam.3d", 0x0100, 0x0100, CRC(b2161bce) SHA1(d2681cc0cf8e68df0d942d392b4eb4458c4bb356) ) | |
| 4472 | ROM_LOAD( "rr1gam.4d", 0x0200, 0x0100, CRC(b2161bce) SHA1(d2681cc0cf8e68df0d942d392b4eb4458c4bb356) ) | |
| 4473 | ||
| 4474 | ROM_REGION( 0x2000, "user2", ROMREGION_ERASE00 ) | |
| 4475 | ROM_END | |
| 4476 | ||
| 4397 | 4477 | ROM_START( timecris ) |
| 4398 | 4478 | ROM_REGION( 0x400000, "maincpu", 0 ) /* main program */ |
| 4399 | 4479 | ROM_LOAD32_BYTE( "ts2ver-b.1", 0x00003, 0x100000, CRC(29b377f7) SHA1(21864ba964602115c1268fd5edd8006a13a86cfc) ) |
| r5490 | r5491 | |
| 4558 | 4638 | ROM_LOAD( "tw1wavea.2l", 0x000000, 0x400000, CRC(ebce6366) SHA1(44ebe90ff3c7af5bebbf1baba3b7a2b1863daebb) ) |
| 4559 | 4639 | ROM_END |
| 4560 | 4640 | |
| 4641 | ROM_START( dirtdash ) | |
| 4642 | ROM_REGION( 0x400000, "maincpu", 0 ) /* main program */ | |
| 4643 | ROM_LOAD32_WORD_SWAP( "dt2vera.1", 0x000002, 0x200000, CRC(402a3d73) SHA1(009b57ed0ea228ccedb139d945b9eaf2a36e2502) ) | |
| 4644 | ROM_LOAD32_WORD_SWAP( "dt2vera.2", 0x000000, 0x200000, CRC(66ed140d) SHA1(a472fdc7b6aaeb4b3643ecdafd32fa665e7c7aa2) ) | |
| 4645 | ||
| 4646 | ROM_REGION( 0x10000*2, "master", 0 ) /* Master DSP */ | |
| 4647 | ROM_LOAD16_WORD( "c71.bin", 0,0x1000*2, CRC(47c623ab) SHA1(e363ac50f5556f83308d4cc191b455e9b62bcfc8) ) | |
| 4648 | ||
| 4649 | ROM_REGION( 0x10000*2, "slave", 0 ) /* Slave DSP */ | |
| 4650 | ROM_LOAD16_WORD( "c71.bin", 0,0x1000*2, CRC(47c623ab) SHA1(e363ac50f5556f83308d4cc191b455e9b62bcfc8) ) | |
| 4651 | ||
| 4652 | ROM_REGION( 0x80000, "mcu", ROMREGION_ERASE00 ) /* BIOS */ | |
| 4653 | ||
| 4654 | ROM_REGION16_LE( 0x080000, "user4", 0 ) /* MCU BIOS */ | |
| 4655 | ROM_LOAD( "dt1dataa.8k", 0x000000, 0x080000, CRC(9bcdea21) SHA1(26ae025cf746d3a703a82495eb2bb515b828a650) ) | |
| 4656 | ||
| 4657 | ROM_REGION( 0x800000, "sprite", 0 ) /* 32x32x8bpp sprite tiles */ | |
| 4658 | ROM_LOAD( "dt1scg0.12f", 0x000000, 0x200000, CRC(a09b5760) SHA1(3dd54ebebf9da1de76874a1adf491ed15849e1b1) ) | |
| 4659 | ROM_LOAD( "dt1scg1.10f", 0x200000, 0x200000, CRC(f9ac8111) SHA1(814074ae8cc81c6c1201d764a84dd95fe914f19c) ) | |
| 4660 | ||
| 4661 | ROM_REGION( 0x200000*8, "textile", 0) /* 16x16x8bpp texture tiles */ | |
| 4662 | ROM_LOAD( "dt1cg0.8d", 0x000000, 0x200000, CRC(10ab95e0) SHA1(ffde1f00ac3e82a36fbcfa060c6b97c92dfcfc8b) ) | |
| 4663 | ROM_LOAD( "dt1cg1.10d", 0x200000, 0x200000, CRC(d9f1ba53) SHA1(5a1095b726c55001cc1d4c695adc38097e6a0201) ) | |
| 4664 | ROM_LOAD( "dt1cg2.12d", 0x400000, 0x200000, CRC(bd8b1e0b) SHA1(fcd94e33a0cbd17c9308cb8952e3c618ab56f9fc) ) | |
| 4665 | ROM_LOAD( "dt1cg3.13d", 0x600000, 0x200000, CRC(ba960663) SHA1(e98149bc4652ea7933ac47d760a6f7e6489f15e2) ) | |
| 4666 | ROM_LOAD( "dt1cg4.14d", 0x800000, 0x200000, CRC(424b9652) SHA1(fa8865110db03559740c4e633e123d1a009782c4) ) | |
| 4667 | ROM_LOAD( "dt1cg5.16d", 0xa00000, 0x200000, CRC(29516626) SHA1(1f12c5dc3975b88dc60d87d0409bf311837e9fa4) ) | |
| 4668 | ROM_LOAD( "dt1cg6.18d", 0xc00000, 0x200000, CRC(e6fa7180) SHA1(85316cde282cff1f913cf9f155cfa36adcc1108e) ) | |
| 4669 | ROM_LOAD( "dt1cg7.19d", 0xe00000, 0x200000, CRC(2ca19153) SHA1(c82403c8b40bf85daedf610b1bc7bfea9dfc6206) ) | |
| 4670 | ||
| 4671 | ROM_REGION16_LE( 0x280000, "textilemap", 0 ) /* texture tilemap */ | |
| 4672 | ROM_LOAD( "dt1ccrl.3d", 0x000000, 0x200000, CRC(e536b313) SHA1(7357da993d2bb3fcc8c1c2feb53689ad368cd80a) ) | |
| 4673 | ROM_LOAD( "dt1ccrh.1d", 0x200000, 0x080000, CRC(af257064) SHA1(0da561d9f8824618c00209ccef6146e9f3ad72bb) ) | |
| 4674 | ||
| 4675 | ROM_REGION( 0x600000, "pointrom", 0 ) /* 3d model data */ | |
| 4676 | ROM_LOAD( "dt1ptrl0.18k", 0x000000, 0x080000, CRC(4e0cac3a) SHA1(c2778e9e93be2de729c6f118caf62ac9f48efbb0) ) | |
| 4677 | ROM_LOAD( "dt1ptrl1.16k", 0x080000, 0x080000, CRC(59ba9dba) SHA1(a2e9488cf0ff255284c06a1ef653ae86c0d98adc) ) | |
| 4678 | ROM_LOAD( "dt1ptrl2.15k", 0x100000, 0x080000, CRC(cfe80c67) SHA1(ba3bc48aa39712e63c915070a76974fbd560dee6) ) | |
| 4679 | ROM_LOAD( "dt1ptrm0.18j", 0x180000, 0x080000, CRC(41f34337) SHA1(7e624e7b6fdefe156168b1c9cc5e919db3b2fbaa) ) | |
| 4680 | ROM_LOAD( "dt1ptrm1.16j", 0x200000, 0x080000, CRC(d68541fc) SHA1(6b00079bd8f2db26e71968de289cea93458aebe9) ) | |
| 4681 | ROM_LOAD( "dt1ptrm2.15j", 0x280000, 0x080000, CRC(71e6714d) SHA1(6aad6db3be5020213d7add61c7d927ae9c4fea4e) ) | |
| 4682 | ROM_LOAD( "dt1ptru0.18f", 0x300000, 0x080000, CRC(4909bd7d) SHA1(0e4ef3987c43ef0438331b82b50dcc97363a45d0) ) | |
| 4683 | ROM_LOAD( "dt1ptru1.16f", 0x380000, 0x080000, CRC(4a5097df) SHA1(a9c814b0ed4bd92accd0e57be8e3d887114b06a5) ) | |
| 4684 | ROM_LOAD( "dt1ptru2.15f", 0x400000, 0x080000, CRC(1171eaf5) SHA1(168365ea619386f218585c49025cdd7fd1224082) ) | |
| 4685 | ||
| 4686 | ROM_REGION( 0x1000000, "c352", 0 ) /* sound samples */ | |
| 4687 | ROM_LOAD( "dt1wavea.2l", 0x000000, 0x400000, CRC(14352455) SHA1(1965ea6e5ce1b2187ecb64bd40ff044f4b2ba5f6) ) | |
| 4688 | ROM_LOAD( "dt1waveb.1l", 0x400000, 0x400000, CRC(16a4dd8a) SHA1(4883b7ba3ee08a2893d4b2918640ba44e7147164) ) | |
| 4689 | ROM_END | |
| 4690 | ||
| 4561 | 4691 | ROM_START( aquajet ) |
| 4562 | 4692 | ROM_REGION( 0x400000, "maincpu", 0 ) /* main program */ |
| 4563 | ROM_LOAD32_BYTE( "aj2ver-b.1", 0x000003, 0x100000, CRC(3a67b9f4) SHA1(8cd51f319e082297fdb99634486fe297a0ace654) ) | |
| 4564 | ROM_LOAD32_BYTE( "aj2ver-b.2", 0x000002, 0x100000, CRC(f5e8fc96) SHA1(e23fcf6f84724d1de15870ff578ff8a6b26e8f31) ) | |
| 4565 | ROM_LOAD32_BYTE( "aj2ver-b.3", 0x000001, 0x100000, CRC(ef6ebcf7) SHA1(358973b678b9a3065e945fb589af16e8102d437b) ) | |
| 4566 | ROM_LOAD32_BYTE( "aj2ver-b.4", 0x000000, 0x100000, CRC(7799b909) SHA1(e40005f96f51742b2778605926b8184c9b2c1ad2) ) | |
| 4693 | ROM_LOAD32_BYTE( "aj2ver-b.1", 0x000003, 0x100000, CRC(3a67b9f4) SHA1(8cd51f319e082297fdb99634486fe297a0ace654) ) | |
| 4694 | ROM_LOAD32_BYTE( "aj2ver-b.2", 0x000002, 0x100000, CRC(f5e8fc96) SHA1(e23fcf6f84724d1de15870ff578ff8a6b26e8f31) ) | |
| 4695 | ROM_LOAD32_BYTE( "aj2ver-b.3", 0x000001, 0x100000, CRC(ef6ebcf7) SHA1(358973b678b9a3065e945fb589af16e8102d437b) ) | |
| 4696 | ROM_LOAD32_BYTE( "aj2ver-b.4", 0x000000, 0x100000, CRC(7799b909) SHA1(e40005f96f51742b2778605926b8184c9b2c1ad2) ) | |
| 4567 | 4697 | |
| 4568 | 4698 | ROM_REGION( 0x10000*2, "master", 0 ) /* Master DSP */ |
| 4569 | 4699 | ROM_LOAD16_WORD( "c71.bin", 0,0x1000*2, CRC(47c623ab) SHA1(e363ac50f5556f83308d4cc191b455e9b62bcfc8) ) |
| r5490 | r5491 | |
| 5617 | 5747 | memory_install_read8_handler(cputag_get_address_space(machine, "mcu", ADDRESS_SPACE_IO), M37710_ADC0_L, M37710_ADC7_H, 0, 0, aquajet_mcu_adc_r); |
| 5618 | 5748 | } |
| 5619 | 5749 | |
| 5750 | static DRIVER_INIT( dirtdash ) | |
| 5751 | { | |
| 5752 | namcos22s_init(machine, NAMCOS22_DIRT_DASH); | |
| 5753 | ||
| 5754 | memory_install_read8_handler(cputag_get_address_space(machine, "mcu", ADDRESS_SPACE_IO), M37710_ADC0_L, M37710_ADC7_H, 0, 0, aquajet_mcu_adc_r); | |
| 5755 | } | |
| 5756 | ||
| 5620 | 5757 | /************************************************************************************/ |
| 5621 | 5758 | |
| 5622 | 5759 | /* YEAR, NAME, PARENT, MACHINE, INPUT, INIT, MNTR, COMPANY, FULLNAME, FLAGS */ |
| r5490 | r5491 | |
| 5625 | 5762 | GAME( 1995, raveracw, 0, namcos22, raveracw, raveracw, ROT0, "Namco", "Rave Racer (Rev. RV2, World)" , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) |
| 5626 | 5763 | GAME( 1995, raveracj, raveracw, namcos22, raveracw, raveracw, ROT0, "Namco", "Rave Racer (Rev. RV1 Ver.B, Japan)" , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) |
| 5627 | 5764 | GAME( 1995, raveracja, raveracw, namcos22, raveracw, raveracw, ROT0, "Namco", "Rave Racer (Rev. RV1, Japan)" , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) |
| 5628 | GAME( 1993, ridgerac, 0, namcos22, ridgera, ridgeraj, ROT0, "Namco", "Ridge Racer (Rev. RR3, World)" , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) /* 199 | |
| 5765 | GAME( 1993, ridgerac, 0, namcos22, ridgera, ridgeraj, ROT0, "Namco", "Ridge Racer (Rev. RR3, World)" , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) /* 1994- | |
| 5629 | 5766 | GAME( 1993, ridgeracb, ridgerac, namcos22, ridgera, ridgeraj, ROT0, "Namco", "Ridge Racer (Rev. RR2, World)" , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) /* 1993-10-07 */ |
| 5630 | 5767 | GAME( 1993, ridgeracj, ridgerac, namcos22, ridgera, ridgeraj, ROT0, "Namco", "Ridge Racer (Rev. RR1, Japan)" , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) /* 1993-10-07 */ |
| 5768 | GAME( 1993, ridgerac3, ridgerac, namcos22, ridgera, ridgeraj, ROT0, "Namco", "Ridge Racer (3 Screen? Rev. RR2, World)" , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) /* 1993-10-28 */ | |
| 5631 | 5769 | GAME( 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 */ |
| 5632 | 5770 | GAME( 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 ) |
| 5633 | 5771 | GAME( 1994, ridgera2ja,ridgera2, namcos22, ridgera, ridger2j, ROT0, "Namco", "Ridge Racer 2 (Rev. RRS1, Japan)" , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS|GAME_NOT_WORKING ) |
| r5490 | r5491 | |
| 5639 | 5777 | GAME( 1995, alpinerd, 0, namcos22s, alpiner, alpiner, ROT0, "Namco", "Alpine Racer (Rev. AR2 Ver.D)" , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) |
| 5640 | 5778 | GAME( 1995, alpinerc, alpinerd, namcos22s, alpiner, alpiner, ROT0, "Namco", "Alpine Racer (Rev. AR2 Ver.C)" , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) |
| 5641 | 5779 | GAME( 1995, cybrcycc, 0, namcos22s, cybrcycc, cybrcyc, ROT0, "Namco", "Cyber Cycles (Rev. CB2 Ver.C)" , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) |
| 5642 | ||
| 5780 | ||
| 5643 | 5781 | GAME( 1995, timecris, 0, namcos22s, timecris, timecris, ROT0, "Namco", "Time Crisis (Rev. TS2 Ver.B)" , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) |
| 5644 | 5782 | GAME( 1995, timecrisa,timecris, namcos22s, timecris, timecris, ROT0, "Namco", "Time Crisis (Rev. TS2 Ver.A)" , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) |
| 5645 | 5783 | GAME( 1996, alpinr2b, 0, namcos22s, alpiner, alpiner2, ROT0, "Namco", "Alpine Racer 2 (Rev. ARS2 Ver.B)" , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) |
| r5490 | r5491 | |
| 5648 | 5786 | GAME( 1996, propcycl, 0, namcos22s, propcycl, propcycl, ROT0, "Namco", "Prop Cycle (Rev. PR2 Ver.A)" , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) |
| 5649 | 5787 | GAME( 1996, tokyowar, 0, namcos22s, tokyowar, tokyowar, ROT0, "Namco", "Tokyo Wars (Rev. TW2 Ver.A)" , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS|GAME_NOT_WORKING ) /* missing sprite clear DMA? or protection? */ |
| 5650 | 5788 | GAME( 1996, aquajet, 0, namcos22s, aquajet, aquajet, ROT0, "Namco", "Aqua Jet (Rev. AJ2 Ver.B)" , GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS ) |
| 5651 | //GAME( 1997, armdilox, "Arm | |
| 5789 | //GAME( 1997, armdilox, "Armadillo Racing") |
| r5490 | r5491 | |
|---|---|---|
| 393 | 393 | return 0; |
| 394 | 394 | } |
| 395 | 395 | |
| 396 | ||
| 397 | 396 | static ADDRESS_MAP_START( galaxold_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| 398 | 397 | AM_RANGE(0x0000, 0x3fff) AM_ROM |
| 399 | 398 | AM_RANGE(0x4000, 0x47ff) AM_RAM |
| r5490 | r5491 | |
| 407 | 406 | AM_RANGE(0x6000, 0x6001) AM_WRITE(galaxold_leds_w) |
| 408 | 407 | AM_RANGE(0x6002, 0x6002) AM_WRITE(galaxold_coin_lockout_w) |
| 409 | 408 | AM_RANGE(0x6003, 0x6003) AM_WRITE(galaxold_coin_counter_w) |
| 410 | AM_RANGE(0x6004, 0x6007) AM_WRITE(galaxian_lfo_freq_w) | |
| 409 | AM_RANGE(0x6004, 0x6007) AM_DEVWRITE(GAL_AUDIO, galaxian_lfo_freq_w) | |
| 411 | 410 | AM_RANGE(0x6800, 0x6800) AM_READ_PORT("IN1") |
| 412 | AM_RANGE(0x6800, 0x6802) AM_WRITE(galaxian_background_enable_w) | |
| 413 | AM_RANGE(0x6803, 0x6803) AM_WRITE(galaxian_noise_enable_w) | |
| 414 | AM_RANGE(0x6805, 0x6805) AM_WRITE(galaxian_shoot_enable_w) | |
| 415 | AM_RANGE(0x6806, 0x6807) AM_WRITE(galaxian_vol_w) | |
| 411 | AM_RANGE(0x6800, 0x6802) AM_DEVWRITE(GAL_AUDIO, galaxian_background_enable_w) | |
| 412 | AM_RANGE(0x6803, 0x6803) AM_DEVWRITE(GAL_AUDIO, galaxian_noise_enable_w) | |
| 413 | AM_RANGE(0x6805, 0x6805) AM_DEVWRITE(GAL_AUDIO, galaxian_shoot_enable_w) | |
| 414 | AM_RANGE(0x6806, 0x6807) AM_DEVWRITE(GAL_AUDIO, galaxian_vol_w) | |
| 416 | 415 | AM_RANGE(0x7000, 0x7000) AM_READ_PORT("IN2") |
| 417 | 416 | AM_RANGE(0x7001, 0x7001) AM_WRITE(galaxold_nmi_enable_w) |
| 418 | 417 | AM_RANGE(0x7004, 0x7004) AM_WRITE(galaxold_stars_enable_w) |
| 419 | 418 | AM_RANGE(0x7006, 0x7006) AM_WRITE(galaxold_flip_screen_x_w) |
| 420 | 419 | AM_RANGE(0x7007, 0x7007) AM_WRITE(galaxold_flip_screen_y_w) |
| 421 | 420 | AM_RANGE(0x7800, 0x7fff) AM_READ(watchdog_reset_r) |
| 422 | AM_RANGE(0x7800, 0x7800) AM_WRITE(galaxian_pitch_w) | |
| 421 | AM_RANGE(0x7800, 0x7800) AM_DEVWRITE(GAL_AUDIO, galaxian_pitch_w) | |
| 423 | 422 | AM_RANGE(0xfffc, 0xffff) AM_RAM |
| 424 | 423 | ADDRESS_MAP_END |
| 425 | 424 | |
| r5490 | r5491 | |
| 435 | 434 | AM_RANGE(0x9880, 0x98ff) AM_RAM |
| 436 | 435 | AM_RANGE(0xa000, 0xa000) AM_READ_PORT("IN0") |
| 437 | 436 | AM_RANGE(0xa003, 0xa003) AM_WRITE(galaxold_coin_counter_w) |
| 438 | AM_RANGE(0xa004, 0xa007) AM_WRITE(galaxian_lfo_freq_w) | |
| 437 | AM_RANGE(0xa004, 0xa007) AM_DEVWRITE(GAL_AUDIO, galaxian_lfo_freq_w) | |
| 439 | 438 | AM_RANGE(0xa800, 0xa800) AM_READ_PORT("IN1") |
| 440 | AM_RANGE(0xa800, 0xa802) AM_WRITE(galaxian_background_enable_w) | |
| 441 | AM_RANGE(0xa803, 0xa803) AM_WRITE(galaxian_noise_enable_w) | |
| 442 | AM_RANGE(0xa805, 0xa805) AM_WRITE(galaxian_shoot_enable_w) | |
| 443 | AM_RANGE(0xa806, 0xa807) AM_WRITE(galaxian_vol_w) | |
| 439 | AM_RANGE(0xa800, 0xa802) AM_DEVWRITE(GAL_AUDIO, galaxian_background_enable_w) | |
| 440 | AM_RANGE(0xa803, 0xa803) AM_DEVWRITE(GAL_AUDIO, galaxian_noise_enable_w) | |
| 441 | AM_RANGE(0xa805, 0xa805) AM_DEVWRITE(GAL_AUDIO, galaxian_shoot_enable_w) | |
| 442 | AM_RANGE(0xa806, 0xa807) AM_DEVWRITE(GAL_AUDIO, galaxian_vol_w) | |
| 444 | 443 | AM_RANGE(0xb000, 0xb000) AM_READ_PORT("DSW0") AM_WRITE(galaxold_nmi_enable_w) |
| 445 | 444 | AM_RANGE(0xb004, 0xb004) AM_WRITE(galaxold_stars_enable_w) |
| 446 | 445 | AM_RANGE(0xb006, 0xb006) AM_WRITE(galaxold_flip_screen_x_w) |
| 447 | 446 | AM_RANGE(0xb007, 0xb007) AM_WRITE(galaxold_flip_screen_y_w) |
| 448 | AM_RANGE(0xb800, 0xb800) AM_READWRITE(watchdog_reset_r, galaxian_pitch_w) | |
| 447 | AM_RANGE(0xb800, 0xb800) AM_READ(watchdog_reset_r) | |
| 448 | AM_RANGE(0xb800, 0xb800) AM_DEVWRITE(GAL_AUDIO, galaxian_pitch_w) | |
| 449 | 449 | ADDRESS_MAP_END |
| 450 | 450 | |
| 451 | 451 | static ADDRESS_MAP_START( rockclim_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| r5490 | r5491 | |
| 465 | 465 | AM_RANGE(0xa000, 0xa000) AM_READ_PORT("IN0") |
| 466 | 466 | AM_RANGE(0xa000, 0xa002) AM_WRITE(galaxold_gfxbank_w)// a002 - sprite bank |
| 467 | 467 | AM_RANGE(0xa003, 0xa003) AM_WRITE(galaxold_coin_counter_w) |
| 468 | AM_RANGE(0xa004, 0xa007) AM_WRITE(galaxian_lfo_freq_w) | |
| 468 | AM_RANGE(0xa004, 0xa007) AM_DEVWRITE(GAL_AUDIO, galaxian_lfo_freq_w) | |
| 469 | 469 | AM_RANGE(0xa800, 0xa800) AM_READ_PORT("IN1") |
| 470 | AM_RANGE(0xa800, 0xa802) AM_WRITE(galaxian_background_enable_w) | |
| 471 | AM_RANGE(0xa803, 0xa803) AM_WRITE(galaxian_noise_enable_w) | |
| 472 | AM_RANGE(0xa805, 0xa805) AM_WRITE(galaxian_shoot_enable_w) | |
| 473 | AM_RANGE(0xa806, 0xa807) AM_WRITE(galaxian_vol_w) | |
| 470 | AM_RANGE(0xa800, 0xa802) AM_DEVWRITE(GAL_AUDIO, galaxian_background_enable_w) | |
| 471 | AM_RANGE(0xa803, 0xa803) AM_DEVWRITE(GAL_AUDIO, galaxian_noise_enable_w) | |
| 472 | AM_RANGE(0xa805, 0xa805) AM_DEVWRITE(GAL_AUDIO, galaxian_shoot_enable_w) | |
| 473 | AM_RANGE(0xa806, 0xa807) AM_DEVWRITE(GAL_AUDIO, galaxian_vol_w) | |
| 474 | 474 | AM_RANGE(0xb000, 0xb000) AM_READ_PORT("DSW0") AM_WRITE(galaxold_nmi_enable_w) |
| 475 | 475 | AM_RANGE(0xb006, 0xb006) AM_WRITE(galaxold_flip_screen_x_w) |
| 476 | 476 | AM_RANGE(0xb007, 0xb007) AM_WRITE(galaxold_flip_screen_y_w) |
| 477 | AM_RANGE(0xb800, 0xb800) AM_READWRITE(watchdog_reset_r, galaxian_pitch_w) | |
| 477 | AM_RANGE(0xb800, 0xb800) AM_READ(watchdog_reset_r) | |
| 478 | AM_RANGE(0xb800, 0xb800) AM_DEVWRITE(GAL_AUDIO, galaxian_pitch_w) | |
| 478 | 479 | ADDRESS_MAP_END |
| 479 | 480 | |
| 480 | 481 | static ADDRESS_MAP_START( scramblb_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| r5490 | r5491 | |
| 488 | 489 | AM_RANGE(0x6000, 0x6000) AM_READ_PORT("IN0") |
| 489 | 490 | AM_RANGE(0x6000, 0x6001) AM_WRITENOP /* sound triggers */ |
| 490 | 491 | AM_RANGE(0x6003, 0x6003) AM_WRITE(galaxold_coin_counter_w) |
| 491 | AM_RANGE(0x6004, 0x6007) AM_WRITE(galaxian_lfo_freq_w) | |
| 492 | AM_RANGE(0x6004, 0x6007) AM_DEVWRITE(GAL_AUDIO, galaxian_lfo_freq_w) | |
| 492 | 493 | AM_RANGE(0x6800, 0x6800) AM_READ_PORT("IN1") |
| 493 | AM_RANGE(0x6800, 0x6802) AM_WRITE(galaxian_background_enable_w) | |
| 494 | AM_RANGE(0x6803, 0x6803) AM_WRITE(galaxian_noise_enable_w) | |
| 495 | AM_RANGE(0x6805, 0x6805) AM_WRITE(galaxian_shoot_enable_w) | |
| 496 | AM_RANGE(0x6806, 0x6807) AM_WRITE(galaxian_vol_w) | |
| 494 | AM_RANGE(0x6800, 0x6802) AM_DEVWRITE(GAL_AUDIO, galaxian_background_enable_w) | |
| 495 | AM_RANGE(0x6803, 0x6803) AM_DEVWRITE(GAL_AUDIO, galaxian_noise_enable_w) | |
| 496 | AM_RANGE(0x6805, 0x6805) AM_DEVWRITE(GAL_AUDIO, galaxian_shoot_enable_w) | |
| 497 | AM_RANGE(0x6806, 0x6807) AM_DEVWRITE(GAL_AUDIO, galaxian_vol_w) | |
| 497 | 498 | AM_RANGE(0x7000, 0x7000) AM_READ_PORT("IN2") |
| 498 | 499 | AM_RANGE(0x7001, 0x7001) AM_WRITE(galaxold_nmi_enable_w) |
| 499 | 500 | AM_RANGE(0x7002, 0x7002) AM_WRITE(galaxold_coin_counter_w) |
| r5490 | r5491 | |
| 501 | 502 | AM_RANGE(0x7004, 0x7004) AM_WRITE(galaxold_stars_enable_w) |
| 502 | 503 | AM_RANGE(0x7006, 0x7006) AM_WRITE(galaxold_flip_screen_x_w) |
| 503 | 504 | AM_RANGE(0x7007, 0x7007) AM_WRITE(galaxold_flip_screen_y_w) |
| 504 | AM_RANGE(0x7800, 0x7800) AM_READWRITE(watchdog_reset_r, galaxian_pitch_w) | |
| 505 | AM_RANGE(0x7800, 0x7800) AM_READ(watchdog_reset_r) | |
| 506 | AM_RANGE(0x7800, 0x7800) AM_DEVWRITE(GAL_AUDIO, galaxian_pitch_w) | |
| 505 | 507 | AM_RANGE(0x8102, 0x8102) AM_READ(scramblb_protection_1_r) |
| 506 | 508 | AM_RANGE(0x8202, 0x8202) AM_READ(scramblb_protection_2_r) |
| 507 | 509 | ADDRESS_MAP_END |
| 508 | 510 | |
| 509 | 511 | |
| 510 | ||
| 511 | 512 | static READ8_HANDLER( scramb2_protection_r ) { return 0x25; } |
| 512 | 513 | static READ8_HANDLER( scramb2_port0_r ) { return (input_port_read(space->machine, "IN0") >> offset) & 0x1; } |
| 513 | 514 | static READ8_HANDLER( scramb2_port1_r ) { return (input_port_read(space->machine, "IN1") >> offset) & 0x1; } |
| r5490 | r5491 | |
| 534 | 535 | AM_RANGE(0x7006, 0x7006) AM_WRITENOP |
| 535 | 536 | AM_RANGE(0x7007, 0x7007) AM_WRITENOP |
| 536 | 537 | AM_RANGE(0x7800, 0x7807) AM_READ(scramb2_port2_r) // reads from 8 addresses, 1 bit per address |
| 537 | AM_RANGE(0x7800, 0x7800) AM_WRITE(galaxian_pitch_w) | |
| 538 | AM_RANGE(0x7800, 0x7800) AM_DEVWRITE(GAL_AUDIO, galaxian_pitch_w) | |
| 538 | 539 | ADDRESS_MAP_END |
| 539 | 540 | |
| 540 | 541 | |
| r5490 | r5491 | |
| 552 | 553 | AM_RANGE(0x6000, 0x6001) AM_WRITE(galaxold_leds_w) |
| 553 | 554 | // AM_RANGE(0x6002, 0x6002) AM_WRITE(galaxold_coin_lockout_w) |
| 554 | 555 | AM_RANGE(0x6003, 0x6003) AM_WRITE(galaxold_coin_counter_w) |
| 555 | AM_RANGE(0x6004, 0x6007) AM_WRITE(galaxian_lfo_freq_w) | |
| 556 | AM_RANGE(0x6004, 0x6007) AM_DEVWRITE(GAL_AUDIO, galaxian_lfo_freq_w) | |
| 556 | 557 | AM_RANGE(0x6800, 0x6800) AM_READ_PORT("IN1") |
| 557 | AM_RANGE(0x6800, 0x6802) AM_WRITE(galaxian_background_enable_w) | |
| 558 | AM_RANGE(0x6800, 0x6802) AM_DEVWRITE(GAL_AUDIO, galaxian_background_enable_w) | |
| 558 | 559 | // AM_RANGE(0x6803, 0x6803) AM_WRITE(galaxian_noise_enable_w) /* not hooked up? */ |
| 559 | AM_RANGE(0x6805, 0x6805) AM_WRITE(galaxian_shoot_enable_w) | |
| 560 | AM_RANGE(0x6806, 0x6807) AM_WRITE(galaxian_vol_w) | |
| 560 | AM_RANGE(0x6805, 0x6805) AM_DEVWRITE(GAL_AUDIO, galaxian_shoot_enable_w) | |
| 561 | AM_RANGE(0x6806, 0x6807) AM_DEVWRITE(GAL_AUDIO, galaxian_vol_w) | |
| 561 | 562 | AM_RANGE(0x7000, 0x7000) AM_READ_PORT("DSW0") |
| 562 | 563 | AM_RANGE(0x7001, 0x7001) AM_WRITE(galaxold_nmi_enable_w) |
| 563 | 564 | AM_RANGE(0x7004, 0x7004) AM_WRITE(galaxold_stars_enable_w) |
| 564 | 565 | AM_RANGE(0x7006, 0x7006) AM_WRITE(galaxold_flip_screen_x_w) |
| 565 | 566 | AM_RANGE(0x7007, 0x7007) AM_WRITE(galaxold_flip_screen_y_w) |
| 566 | AM_RANGE(0x7800, 0x78ff) AM_READWRITE(watchdog_reset_r, galaxian_pitch_w) | |
| 567 | AM_RANGE(0x7800, 0x78ff) AM_READ(watchdog_reset_r) | |
| 568 | AM_RANGE(0x7800, 0x78ff) AM_DEVWRITE(GAL_AUDIO, galaxian_pitch_w) | |
| 567 | 569 | AM_RANGE(0x8000, 0x8000) AM_WRITE(_4in1_bank_w) |
| 568 | 570 | AM_RANGE(0xc000, 0xdfff) AM_ROM /* fixed menu code */ |
| 569 | 571 | ADDRESS_MAP_END |
| 570 | 572 | |
| 571 | ||
| 572 | 573 | static ADDRESS_MAP_START( bagmanmc_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| 573 | 574 | AM_RANGE(0x0000, 0x5fff) AM_ROM |
| 574 | 575 | AM_RANGE(0x6000, 0x67ff) AM_RAM |
| r5490 | r5491 | |
| 581 | 582 | AM_RANGE(0xa000, 0xa000) AM_READ_PORT("IN0") |
| 582 | 583 | AM_RANGE(0xa003, 0xa003) AM_WRITE(galaxold_coin_counter_w) |
| 583 | 584 | AM_RANGE(0xa800, 0xa800) AM_READ_PORT("IN1") |
| 584 | AM_RANGE(0xa803, 0xa803) AM_WRITE(galaxian_noise_enable_w) | |
| 585 | AM_RANGE(0xa803, 0xa803) AM_DEVWRITE(GAL_AUDIO, galaxian_noise_enable_w) | |
| 585 | 586 | AM_RANGE(0xb000, 0xb000) AM_READ_PORT("DSW") |
| 586 | 587 | AM_RANGE(0xb001, 0xb001) AM_WRITE(galaxold_nmi_enable_w) |
| 587 | 588 | AM_RANGE(0xb006, 0xb006) AM_WRITE(galaxold_flip_screen_x_w) |
| 588 | 589 | AM_RANGE(0xb007, 0xb007) AM_WRITE(galaxold_flip_screen_y_w) |
| 589 | AM_RANGE(0xb800, 0xb800) AM_READ | |
| 590 | AM_RANGE(0xb800, 0xb800) AM_READ | |
| 590 | 591 | ADDRESS_MAP_END |
| 591 | 592 | |
| 592 | 593 | static ADDRESS_MAP_START( dkongjrm_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| r5490 | r5491 | |
| 601 | 602 | AM_RANGE(0xa003, 0xa003) AM_WRITE(galaxold_coin_counter_w) |
| 602 | 603 | //AM_RANGE(0xa004, 0xa007) AM_WRITE(galaxian_lfo_freq_w) |
| 603 | 604 | AM_RANGE(0xa800, 0xa8ff) AM_READ_PORT("IN1") |
| 604 | AM_RANGE(0xa800, 0xa802) AM_WRITE(galaxian_background_enable_w) | |
| 605 | AM_RANGE(0xa803, 0xa803) AM_WRITE(galaxian_noise_enable_w) | |
| 605 | AM_RANGE(0xa800, 0xa802) AM_DEVWRITE(GAL_AUDIO, galaxian_background_enable_w) | |
| 606 | AM_RANGE(0xa803, 0xa803) AM_DEVWRITE(GAL_AUDIO, galaxian_noise_enable_w) | |
| 606 | 607 | //AM_RANGE(0xa805, 0xa805) AM_WRITE(galaxian) |
| 607 | AM_RANGE(0xa806, 0xa807) AM_WRITE(galaxian_vol_w) | |
| 608 | AM_RANGE(0xa806, 0xa807) AM_DEVWRITE(GAL_AUDIO, galaxian_vol_w) | |
| 608 | 609 | AM_RANGE(0xb000, 0xb0ff) AM_READ_PORT("IN2") |
| 609 | 610 | AM_RANGE(0xb000, 0xb000) AM_WRITE(galaxold_gfxbank_w) |
| 610 | 611 | AM_RANGE(0xb001, 0xb001) AM_WRITE(galaxold_nmi_enable_w) |
| 611 | 612 | //AM_RANGE(0xb004, 0xb004) AM_WRITE(galaxold_stars_enable_w) |
| 612 | 613 | AM_RANGE(0xb006, 0xb006) AM_WRITE(galaxold_flip_screen_x_w) |
| 613 | 614 | AM_RANGE(0xb007, 0xb007) AM_WRITE(galaxold_flip_screen_y_w) |
| 614 | AM_RANGE(0xb800, 0xb800) AM_READ | |
| 615 | AM_RANGE(0xb800, 0xb800) AM_READ | |
| 615 | 616 | ADDRESS_MAP_END |
| 616 | 617 | |
| 617 | ||
| 618 | 618 | static ADDRESS_MAP_START( ozon1_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| 619 | 619 | AM_RANGE(0x0000, 0x2fff) AM_ROM |
| 620 | 620 | AM_RANGE(0x4000, 0x4200) AM_RAM |
| r5490 | r5491 | |
| 645 | 645 | AM_RANGE(0x1500, 0x1500) AM_MIRROR(0x6000) AM_READ_PORT("IN0") |
| 646 | 646 | AM_RANGE(0x1503, 0x1503) AM_MIRROR(0x6000) AM_WRITE(galaxold_coin_counter_w) |
| 647 | 647 | AM_RANGE(0x1580, 0x1580) AM_MIRROR(0x6000) AM_READ_PORT("IN1") |
| 648 | AM_RANGE(0x1580, 0x1582) AM_MIRROR(0x6000) AM_WRITE(galaxian_background_enable_w) | |
| 648 | AM_RANGE(0x1580, 0x1582) AM_MIRROR(0x6000) AM_DEVWRITE(GAL_AUDIO, galaxian_background_enable_w) | |
| 649 | 649 | AM_RANGE(0x1583, 0x1583) AM_MIRROR(0x6000) AM_WRITENOP |
| 650 | 650 | AM_RANGE(0x1585, 0x1585) AM_MIRROR(0x6000) AM_WRITENOP |
| 651 | AM_RANGE(0x1586, 0x1587) AM_MIRROR(0x6000) AM_WRITE(galaxian_lfo_freq_w) | |
| 652 | AM_RANGE(0x1600, 0x1600) AM_MIRROR(0x6000) AM_READ_PORT("DSW0") AM_WRITE(galaxian_pitch_w) | |
| 651 | AM_RANGE(0x1586, 0x1587) AM_MIRROR(0x6000) AM_DEVWRITE(GAL_AUDIO, galaxian_lfo_freq_w) | |
| 652 | AM_RANGE(0x1600, 0x1600) AM_MIRROR(0x6000) AM_READ_PORT("DSW0") AM_DEVWRITE(GAL_AUDIO, galaxian_pitch_w) | |
| 653 | 653 | AM_RANGE(0x1700, 0x1700) AM_MIRROR(0x6000) AM_READ_PORT("DSW1") AM_WRITENOP |
| 654 | 654 | AM_RANGE(0x1701, 0x1701) AM_MIRROR(0x6000) AM_WRITENOP |
| 655 | AM_RANGE(0x1704, 0x1707) AM_MIRROR(0x6000) AM_WRITE(galaxian_vol_w) | |
| 655 | AM_RANGE(0x1704, 0x1707) AM_MIRROR(0x6000) AM_DEVWRITE(GAL_AUDIO, galaxian_vol_w) | |
| 656 | 656 | AM_RANGE(0x1800, 0x1bff) AM_MIRROR(0x6000) AM_WRITE(galaxold_videoram_w) AM_BASE(&galaxold_videoram) |
| 657 | 657 | AM_RANGE(0x1c00, 0x1fff) AM_MIRROR(0x6000) AM_RAM |
| 658 | 658 | AM_RANGE(0x2000, 0x2fff) AM_ROM |
| r5490 | r5491 | |
| 698 | 698 | AM_RANGE(0x1500, 0x1500) AM_MIRROR(0x6000) AM_READ_PORT("IN0") |
| 699 | 699 | AM_RANGE(0x1503, 0x1503) AM_MIRROR(0x6000) AM_WRITE(galaxold_coin_counter_w) |
| 700 | 700 | AM_RANGE(0x1580, 0x1580) AM_MIRROR(0x6000) AM_READ_PORT("IN1") |
| 701 | AM_RANGE(0x1580, 0x1582) AM_MIRROR(0x6000) AM_WRITE(galaxian_background_enable_w) | |
| 701 | AM_RANGE(0x1580, 0x1582) AM_MIRROR(0x6000) AM_DEVWRITE(GAL_AUDIO, galaxian_background_enable_w) | |
| 702 | 702 | AM_RANGE(0x1583, 0x1583) AM_MIRROR(0x6000) AM_WRITENOP |
| 703 | AM_RANGE(0x1584, 0x1587) AM_MIRROR(0x6000) AM_WRITE(galaxian_lfo_freq_w) | |
| 703 | AM_RANGE(0x1584, 0x1587) AM_MIRROR(0x6000) AM_DEVWRITE(GAL_AUDIO, galaxian_lfo_freq_w) | |
| 704 | 704 | AM_RANGE(0x1600, 0x1600) AM_MIRROR(0x6000) AM_READ_PORT("DSW0") |
| 705 | 705 | AM_RANGE(0x1600, 0x1601) AM_MIRROR(0x6000) AM_WRITENOP |
| 706 | 706 | AM_RANGE(0x1604, 0x1604) AM_MIRROR(0x6000) AM_WRITENOP |
| 707 | 707 | AM_RANGE(0x1606, 0x1606) AM_MIRROR(0x6000) AM_WRITE(galaxold_flip_screen_x_w) |
| 708 | 708 | AM_RANGE(0x1607, 0x1607) AM_MIRROR(0x6000) AM_WRITE(galaxold_flip_screen_y_w) |
| 709 | AM_RANGE(0x1680, 0x1680) AM_MIRROR(0x6000) AM_READ | |
| 709 | AM_RANGE(0x1680, 0x1680) AM_MIRROR(0x6000) AM_READ | |
| 710 | 710 | AM_RANGE(0x1800, 0x1bff) AM_MIRROR(0x6000) AM_WRITE(galaxold_videoram_w) AM_BASE(&galaxold_videoram) |
| 711 | 711 | AM_RANGE(0x1c00, 0x1fff) AM_MIRROR(0x6000) AM_RAM |
| 712 | 712 | AM_RANGE(0x2000, 0x2fff) AM_ROM |
| r5490 | r5491 | |
| 714 | 714 | AM_RANGE(0x6000, 0x6fff) AM_ROM |
| 715 | 715 | ADDRESS_MAP_END |
| 716 | 716 | |
| 717 | ||
| 717 | 718 | static ADDRESS_MAP_START( hunchbkg_io, ADDRESS_SPACE_IO, 8 ) |
| 718 | 719 | AM_RANGE(S2650_DATA_PORT, S2650_DATA_PORT) AM_READNOP // not used |
| 719 | 720 | AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ_PORT("SENSE") |
| r5490 | r5491 | |
| 764 | 765 | AM_RANGE(0x9800, 0x9800) AM_READ(watchdog_reset_r) |
| 765 | 766 | AM_RANGE(0xa000, 0xa000) AM_READ_PORT("IN0") |
| 766 | 767 | AM_RANGE(0xa7ff, 0xa7ff) AM_READ_PORT("IN0") /* mirror */ |
| 767 | AM_RANGE(0xa800, 0xa800) AM_READ_PORT("IN1") AM_WRITE(galaxian_background_enable_w) | |
| 768 | AM_RANGE(0xa800, 0xa800) AM_READ_PORT("IN1") AM_DEVWRITE(GAL_AUDIO, galaxian_background_enable_w) | |
| 768 | 769 | AM_RANGE(0xa803, 0xa803) AM_WRITE(galaxold_coin_counter_w) |
| 769 | AM_RANGE(0xa805, 0xa805) AM_WRITE(galaxian_shoot_enable_w) | |
| 770 | AM_RANGE(0xa806, 0xa807) AM_WRITE(galaxian_vol_w) | |
| 770 | AM_RANGE(0xa805, 0xa805) AM_DEVWRITE(GAL_AUDIO, galaxian_shoot_enable_w) | |
| 771 | AM_RANGE(0xa806, 0xa807) AM_DEVWRITE(GAL_AUDIO, galaxian_vol_w) | |
| 771 | 772 | AM_RANGE(0xb000, 0xb000) AM_READ_PORT("DSW0") |
| 772 | 773 | AM_RANGE(0xb001, 0xb001) AM_WRITE(galaxold_nmi_enable_w) |
| 773 | 774 | AM_RANGE(0xb004, 0xb004) AM_WRITE(galaxold_stars_enable_w) |
| 774 | 775 | AM_RANGE(0xb006, 0xb006) AM_WRITE(galaxold_flip_screen_x_w) |
| 775 | 776 | AM_RANGE(0xb007, 0xb007) AM_WRITE(galaxold_flip_screen_y_w) |
| 776 | AM_RANGE(0xb800, 0xb800) AM_READ(watchdog_reset_r) AM_WRITE(galaxian_pitch_w) | |
| 777 | AM_RANGE(0xb800, 0xb800) AM_READ(watchdog_reset_r) AM_DEVWRITE(GAL_AUDIO, galaxian_pitch_w) | |
| 777 | 778 | ADDRESS_MAP_END |
| 778 | 779 | |
| 779 | 780 | static ADDRESS_MAP_START( racknrol, ADDRESS_SPACE_PROGRAM, 8 ) |
| r5490 | r5491 | |
| 817 | 818 | AM_RANGE(0xc000, 0xc001) AM_WRITE(galaxold_leds_w) |
| 818 | 819 | AM_RANGE(0xc002, 0xc002) AM_WRITE(galaxold_coin_lockout_w) |
| 819 | 820 | AM_RANGE(0xc003, 0xc003) AM_WRITE(galaxold_coin_counter_w) |
| 820 | AM_RANGE(0xc004, 0xc007) AM_WRITE(galaxian_lfo_freq_w) | |
| 821 | AM_RANGE(0xc004, 0xc007) AM_DEVWRITE(GAL_AUDIO, galaxian_lfo_freq_w) | |
| 821 | 822 | AM_RANGE(0xc400, 0xc400) AM_READ_PORT("IN1") |
| 822 | AM_RANGE(0xc400, 0xc402) AM_WRITE(galaxian_background_enable_w) | |
| 823 | AM_RANGE(0xc403, 0xc403) AM_WRITE(galaxian_noise_enable_w) | |
| 824 | AM_RANGE(0xc405, 0xc405) AM_WRITE(galaxian_shoot_enable_w) | |
| 825 | AM_RANGE(0xc406, 0xc407) AM_WRITE(galaxian_vol_w) | |
| 823 | AM_RANGE(0xc400, 0xc402) AM_DEVWRITE(GAL_AUDIO, galaxian_background_enable_w) | |
| 824 | AM_RANGE(0xc403, 0xc403) AM_DEVWRITE(GAL_AUDIO, galaxian_noise_enable_w) | |
| 825 | AM_RANGE(0xc405, 0xc405) AM_DEVWRITE(GAL_AUDIO, galaxian_shoot_enable_w) | |
| 826 | AM_RANGE(0xc406, 0xc407) AM_DEVWRITE(GAL_AUDIO, galaxian_vol_w) | |
| 826 | 827 | AM_RANGE(0xc800, 0xc800) AM_READ_PORT("DSW0") |
| 827 | 828 | AM_RANGE(0xc801, 0xc801) AM_WRITE(galaxold_nmi_enable_w) |
| 828 | 829 | AM_RANGE(0xc804, 0xc804) AM_WRITENOP // link cut |
| 829 | 830 | AM_RANGE(0xc806, 0xc806) AM_WRITE(galaxold_flip_screen_x_w) |
| 830 | 831 | AM_RANGE(0xc807, 0xc807) AM_WRITE(galaxold_flip_screen_y_w) |
| 831 | AM_RANGE(0xcc00, 0xcc00) AM_READ | |
| 832 | AM_RANGE(0xcc00, 0xcc00) AM_READ | |
| 832 | 833 | ADDRESS_MAP_END |
| 833 | 834 | |
| 834 | 835 | static ADDRESS_MAP_START( kkgalax_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| r5490 | r5491 | |
| 2130 | 2131 | MDRV_IMPORT_FROM(galaxold_base) |
| 2131 | 2132 | |
| 2132 | 2133 | /* sound hardware */ |
| 2133 | MDRV_SOUND_ADD("samples", SAMPLES, 0) | |
| 2134 | MDRV_SOUND_CONFIG(galaxian_samples_interface) | |
| 2135 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) | |
| 2134 | MDRV_IMPORT_FROM(galaxian_audio) | |
| 2136 | 2135 | MACHINE_DRIVER_END |
| 2137 | 2136 | |
| 2138 | 2137 | |
| r5490 | r5491 | |
| 2289 | 2288 | |
| 2290 | 2289 | /* sound hardware */ |
| 2291 | 2290 | MDRV_SPEAKER_STANDARD_MONO("mono") |
| 2292 | MDRV_SOUND_ADD("samples", SAMPLES, 0) | |
| 2293 | MDRV_SOUND_CONFIG(galaxian_samples_interface) | |
| 2294 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) | |
| 2291 | ||
| 2292 | MDRV_IMPORT_FROM(galaxian_audio) | |
| 2295 | 2293 | MACHINE_DRIVER_END |
| 2296 | 2294 | |
| 2297 | 2295 | static MACHINE_DRIVER_START( bongo ) |
| r5490 | r5491 | |
| 2331 | 2329 | |
| 2332 | 2330 | /* sound hardware */ |
| 2333 | 2331 | MDRV_SPEAKER_STANDARD_MONO("mono") |
| 2334 | MDRV_SOUND_ADD("samples", SAMPLES, 0) | |
| 2335 | MDRV_SOUND_CONFIG(galaxian_samples_interface) | |
| 2336 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) | |
| 2332 | ||
| 2333 | MDRV_IMPORT_FROM(galaxian_audio) | |
| 2337 | 2334 | MACHINE_DRIVER_END |
| 2338 | 2335 | |
| 2339 | 2336 | static MACHINE_DRIVER_START( harem ) |
| r5490 | r5491 | |
|---|---|---|
| 174 | 174 | #include "machine/atarigen.h" |
| 175 | 175 | #include "machine/6522via.h" |
| 176 | 176 | #include "atarisy1.h" |
| 177 | #include "sound/5220 | |
| 177 | #include "sound/tms5220 | |
| 178 | 178 | #include "sound/2151intf.h" |
| 179 | 179 | #include "sound/pokey.h" |
| 180 | 180 |
| r5490 | r5491 | |
|---|---|---|
| 97 | 97 | ADDRESS_MAP_END |
| 98 | 98 | |
| 99 | 99 | static INPUT_PORTS_START( hanaawas ) |
| 100 | PORT_START("IN0") | |
| 100 | PORT_START("IN0") | |
| 101 | 101 | PORT_BIT( 0x0f, IP_ACTIVE_HIGH, IPT_SPECIAL ) |
| 102 | 102 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |
| 103 | 103 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |
| 104 | 104 | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |
| 105 | 105 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(1) |
| 106 | 106 | |
| 107 | PORT_START("DSW") | |
| 107 | PORT_START("DSW") | |
| 108 | 108 | PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) ) |
| 109 | 109 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 110 | 110 | PORT_DIPSETTING( 0x01, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 129 | 129 | PORT_DIPSETTING( 0x80, DEF_STR( 1C_2C ) ) |
| 130 | 130 | |
| 131 | 131 | /* fake port. The button depressed gets converted to an integer in the 1-10 range */ |
| 132 | PORT_START("P1") /* IN2 */ | |
| 133 | PORT_BIT( 0x001, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Card 1") PORT_CODE(KEYCODE_1_PAD) | |
| 134 | PORT_BIT( 0x002, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Card 2") PORT_CODE(KEYCODE_2_PAD) | |
| 135 | PORT_BIT( 0x004, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Card 3") PORT_CODE(KEYCODE_3_PAD) | |
| 136 | PORT_BIT( 0x008, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Card 4") PORT_CODE(KEYCODE_4_PAD) | |
| 137 | PORT_BIT( 0x010, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Card 5") PORT_CODE(KEYCODE_5_PAD) | |
| 138 | PORT_BIT( 0x020, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Card 6") PORT_CODE(KEYCODE_6_PAD) | |
| 139 | PORT_BIT( 0x040, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Card 7") PORT_CODE(KEYCODE_7_PAD) | |
| 140 | PORT_BIT( 0x080, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Card 8") PORT_CODE(KEYCODE_8_PAD) | |
| 141 | PORT_BIT( 0x100, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME(DEF_STR( Yes )) PORT_CODE(KEYCODE_Y) | |
| 142 | PORT_BIT( 0x200, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME(DEF_STR( No )) PORT_CODE(KEYCODE_N) | |
| 132 | PORT_START("P1") | |
| 133 | PORT_BIT( 0x001, IP_ACTIVE_HIGH, IPT_HANAFUDA_A ) | |
| 134 | PORT_BIT( 0x002, IP_ACTIVE_HIGH, IPT_HANAFUDA_B ) | |
| 135 | PORT_BIT( 0x004, IP_ACTIVE_HIGH, IPT_HANAFUDA_C ) | |
| 136 | PORT_BIT( 0x008, IP_ACTIVE_HIGH, IPT_HANAFUDA_D ) | |
| 137 | PORT_BIT( 0x010, IP_ACTIVE_HIGH, IPT_HANAFUDA_E ) | |
| 138 | PORT_BIT( 0x020, IP_ACTIVE_HIGH, IPT_HANAFUDA_F ) | |
| 139 | PORT_BIT( 0x040, IP_ACTIVE_HIGH, IPT_HANAFUDA_G ) | |
| 140 | PORT_BIT( 0x080, IP_ACTIVE_HIGH, IPT_HANAFUDA_H ) | |
| 141 | PORT_BIT( 0x100, IP_ACTIVE_HIGH, IPT_HANAFUDA_YES ) | |
| 142 | PORT_BIT( 0x200, IP_ACTIVE_HIGH, IPT_HANAFUDA_NO ) | |
| 143 | 143 | |
| 144 | 144 | /* fake port. The button depressed gets converted to an integer in the 1-10 range */ |
| 145 | PORT_START("P2") /* IN3 */ | |
| 146 | PORT_BIT( 0x001, IP_ACTIVE_HIGH, IPT_MAHJONG_A ) PORT_NAME("Card 1") | |
| 147 | PORT_BIT( 0x002, IP_ACTIVE_HIGH, IPT_MAHJONG_B ) PORT_NAME("Card 2") | |
| 148 | PORT_BIT( 0x004, IP_ACTIVE_HIGH, IPT_MAHJONG_C ) PORT_NAME("Card 3") | |
| 149 | PORT_BIT( 0x008, IP_ACTIVE_HIGH, IPT_MAHJONG_D ) PORT_NAME("Card 4") | |
| 150 | PORT_BIT( 0x010, IP_ACTIVE_HIGH, IPT_MAHJONG_E ) PORT_NAME("Card 5") | |
| 151 | PORT_BIT( 0x020, IP_ACTIVE_HIGH, IPT_MAHJONG_F ) PORT_NAME("Card 6") | |
| 152 | PORT_BIT( 0x040, IP_ACTIVE_HIGH, IPT_MAHJONG_G ) PORT_NAME("Card 7") | |
| 153 | PORT_BIT( 0x080, IP_ACTIVE_HIGH, IPT_MAHJONG_H ) PORT_NAME("Card 8") | |
| 154 | PORT_BIT( 0x100, IP_ACTIVE_HIGH, IPT_MAHJONG_I ) PORT_NAME(DEF_STR( Yes )) PORT_CODE(KEYCODE_Y) | |
| 155 | PORT_BIT( 0x200, IP_ACTIVE_HIGH, IPT_MAHJONG_J ) PORT_NAME(DEF_STR( No )) PORT_CODE(KEYCODE_N) | |
| 156 | PORT_START("START") /* IN4 */ | |
| 145 | PORT_START("P2") | |
| 146 | PORT_BIT( 0x001, IP_ACTIVE_HIGH, IPT_HANAFUDA_A ) PORT_PLAYER(2) | |
| 147 | PORT_BIT( 0x002, IP_ACTIVE_HIGH, IPT_HANAFUDA_B ) PORT_PLAYER(2) | |
| 148 | PORT_BIT( 0x004, IP_ACTIVE_HIGH, IPT_HANAFUDA_C ) PORT_PLAYER(2) | |
| 149 | PORT_BIT( 0x008, IP_ACTIVE_HIGH, IPT_HANAFUDA_D ) PORT_PLAYER(2) | |
| 150 | PORT_BIT( 0x010, IP_ACTIVE_HIGH, IPT_HANAFUDA_E ) PORT_PLAYER(2) | |
| 151 | PORT_BIT( 0x020, IP_ACTIVE_HIGH, IPT_HANAFUDA_F ) PORT_PLAYER(2) | |
| 152 | PORT_BIT( 0x040, IP_ACTIVE_HIGH, IPT_HANAFUDA_G ) PORT_PLAYER(2) | |
| 153 | PORT_BIT( 0x080, IP_ACTIVE_HIGH, IPT_HANAFUDA_H ) PORT_PLAYER(2) | |
| 154 | PORT_BIT( 0x100, IP_ACTIVE_HIGH, IPT_HANAFUDA_YES ) PORT_PLAYER(2) | |
| 155 | PORT_BIT( 0x200, IP_ACTIVE_HIGH, IPT_HANAFUDA_NO ) PORT_PLAYER(2) | |
| 156 | ||
| 157 | PORT_START("START") | |
| 157 | 158 | PORT_BIT( 0x001, IP_ACTIVE_HIGH, IPT_START1 ) |
| 158 | 159 | PORT_BIT( 0x002, IP_ACTIVE_HIGH, IPT_START2 ) |
| 159 | 160 | INPUT_PORTS_END |
| r5490 | r5491 | |
| 249 | 250 | ROM_END |
| 250 | 251 | |
| 251 | 252 | |
| 252 | ||
| 253 | 253 | GAME( 1982, hanaawas, 0, hanaawas, hanaawas, 0, ROT0, "Setakikaku, Ltd.", "Hana Awase", 0 ) |
| 254 |
| r5490 | r5491 | |
|---|---|---|
| 2 | 2 | |
| 3 | 3 | /* |
| 4 | 4 | |
| 5 | Sega Hikaru Hardware Overview (last updated | |
| 5 | Sega Hikaru Hardware Overview (last updated 5th August 2009 at 3:45pm) | |
| 6 | 6 | ----------------------------- |
| 7 | 7 | |
| 8 | Note! This document will be updated from time to time when more dumps are available | |
| 8 | Note! This document will be updated from time to time when more dumps are available. | |
| 9 | 9 | |
| 10 | This document covers all the known Sega Hikaru games, including.... | |
| 11 | !Air Trix (C) Sega, 2001 | |
| 12 | *Brave Fire Fighters (C) Sega, 1999 | |
| 10 | This document covers all the known Sega Hikaru games. The graphics are quite breath-taking | |
| 11 | and this system is said to be one of the most expensive arcade boards developed by Sega. | |
| 12 | The games on this system include.... | |
| 13 | Air Trix (C) Sega, 2001 | |
| 14 | !Brave Fire Fighters (C) Sega, 1999 | |
| 13 | 15 | *Cyber Troopers Virtual On 4 (C) Sega, 2001 |
| 14 | ||
| 16 | !Nascar Racing (C) Sega, 2000 | |
| 15 | 17 | !Planet Harriers (C) Sega, 2001 |
| 16 | 18 | !Star Wars Racer Arcade (C) Sega, 2000 |
| 17 | 19 | |
| 18 | 20 | ! - denotes secured but not fully dumped yet |
| 19 | 21 | * - denotes not dumped yet. If you can help with the remaining undumped games, |
| 20 | please contact http:// | |
| 22 | please contact http://guru.mameworld.info/ or http://mamedev.org/ | |
| 21 | 23 | |
| 22 | 24 | The Sega Hikaru system comprises the following PCBs..... |
| 23 | Mainboard - 2 known versions exists. They're mostly the same. It contains many thin BGAs, | |
| 24 | lots of RAM, 2x SH4 CPUs and 1x 16MBit boot EPROM | |
| 25 | Main board - 2 known versions exists. They're mostly the same. It contains many thin BGAs, | |
| 26 | lots of RAM, 2x SH4 CPUs and 1x 16MBit boot EPROM. Because of the use of many thin BGA | |
| 27 | ICs, the main board is VERY fragile and is mounted inside a metal box. | |
| 25 | 28 | ROM PCB - 2 known versions exist. They contain EPROMs, up to 16x TSOP48 flashROMs or SOP44 |
| 26 | 29 | maskROMs, a small amount of SRAM and some security ICs that are also used on |
| 27 | 30 | NAOMI ROM carts (315-5881 - with a unique 317-xxxx number per game, a couple |
| 28 | 31 | of PLCC FPGAs and a X76F100 secured EEPROM). Plugs into mainboard into CONN3 and CONN4 |
| 29 | 32 | Network PCB - Contains a 68000, some SRAM, a few Sega ICs and a CPLD. Plugs into the top of the ROM board |
| 30 | Protection PCB - Contains one RAM and one QFP100 IC. Plugs into the mainboard into CONN5 | |
| 31 | Filter PCB - Contains external connectors for power, controls, network, USB etc. Plugs into mainboard | |
| 32 | into CONN1 and CONN2 | |
| 33 | AICA PCB - Contains one RAM and one QFP100 IC. Plugs into the mainboard into CONN5 | |
| 33 | 34 | I/O PCB - Uses a standard Sega JVS I/O board. Contains USB connectors type A & B, a |
| 34 | 35 | couple of long IDC cable connectors for controls and a Toshiba TMP90PH44 MCU |
| 36 | Filter PCB - Contains external connectors for power, network, USB, audio and video. This board is mounted | |
| 37 | to the metal box and plugs into the main board into CONN1 and CONN2 | |
| 35 | 38 | |
| 36 | 39 | |
| 37 | 40 | Main Board |
| r5490 | r5491 | |
| 39 | 42 | Version 1 - 837-13402 171-7639E SEGA 1998 |
| 40 | 43 | Version 2 - 837-14097 171-7639F SEGA 1998 |
| 41 | 44 | |------------------------------------------------------------------------------------| |
| 42 | | MC33470 DSW(4) CONN4 | | |
| 43 | | 93C46 | | |
| 44 | | SH-4 62256 62256 93C46 |-| | |
| 45 | | SH-4 PAL1 | | | |
| 46 | | 5264165FTTA60 (GAL16V8) 3771 | | | |
| 47 | | 5264165FTTA60 315-6146 | | | |
| 48 | | 5264165FTTA60 5264165FTTA60 14.7456MHz | | | |
| 49 | | 5264165FTTA60 5264165FTTA60 32MHz | |CONN1 | |
| 50 | | 5264165FTTA60 | | | |
| 51 | | 5264165FTTA60 3771 3771 | | | |
| 52 | | 315-6415 | | | |
| 53 | | 315-6415 PC910 | | | |
| 54 | | 33.3333MHz CY37128 | | | |
| 55 | | CY2308SC CY2292SL (315-6202) |-| | |
| 56 | |HY57V161610 62256 ADM485 | | |
| 57 | | PAL2 CONN3 62256 | | |
| 58 | | (GAL16V8) | | |
| 59 | | | | |
| 60 | |HY57V161610 315-6087 HY57V161610 |-| | |
| 61 | | 315-6083A HY57V161610 EPR-23400(A) | | | |
| 62 | |HY57V161610 D432232 24.576MHz | | | |
| 63 | |(PAL on V2 MB) HY57V161610 ADV7120 BATTERY | |CONN2 | |
| 64 | |LED1 HY57V161610 ADV7120 | | | |
| 45 | | MC33470.103 DSW(4) CONN4 | | |
| 46 | | 93C46.115 | | |
| 47 | | SH-4.13 62256.72 93C46.78 |-| | |
| 48 | | SH-4.21 PAL1 62256.73 | | | |
| 49 | | 5264165FTTA60.15 (GAL16V8) 3771 | | | |
| 50 | | 5264165FTTA60.16 315-6146.74 | | | |
| 51 | | 5264165FTTA60.22 5264165FTTA60.17S 14.7456MHz | | | |
| 52 | | 5264165FTTA60.23 5264165FTTA60.18S 32MHz | |CONN1 | |
| 53 | | 5264165FTTA60.24S | | | |
| 54 | | 5264165FTTA60.25S 3771 3771 | | | |
| 55 | | 315-6154.19 | | | |
| 56 | | 315-6154.26 PC910.102| | | |
| 57 | | 33.3333MHz CY37128.95 | | | |
| 58 | | CY2308SC.4 CY2292SL.1 (=315-6202) |-| | |
| 59 | |HY57V161610.28 ADM485.80 | | |
| 60 | | PAL2 CONN3 62256.91S | | |
| 61 | | (GAL16V8) 62256.92S | | |
| 62 | |HY57V161610.35 | | |
| 63 | |HY57V161610.36S 315-6087.43 HY57V161610.44 |-| | |
| 64 | |HY57V161610.33 315-6083A.31 HY57V161610.45S EPR-23400(A).94| | | |
| 65 | |HY57V161610.34S D432232.32 24.576MHz | | | |
| 66 | |(PAL on V2 MB) HY57V161610.46 ADV7120 BATTERY | |CONN2 | |
| 67 | |LED1 HY57V161610.47S ADV7120 | | | |
| 65 | 68 | |LED2 | | |
| 66 | 69 | |LED3 |-| |
| 67 | |LED4 315-6197 315-6084 CONN5 | | |
| 68 | |SW1 315-6085 K4S641632 | | |
| 70 | |LED4 315-6197.38 315-6084.41 CONN5 | | |
| 71 | |SW1 315-6085.40 K4S641632.98 | | |
| 69 | 72 | |SW2 | |
| 70 | |SW3 315-6086 315-6232 | | |
| 71 | | 315-6084 | | |
| 72 | | 315-6197 CY2308SC 33.8688MHz | | |
| 73 | |SW3 315-6086.37 315-6232.96 | | |
| 74 | | 315-6084.42 | | |
| 75 | | 315-6197.39 CY2308SC.2 33.8688MHz | | |
| 73 | 76 | |(LED 1-4 moved here) 41.6666MHz 25MHz | |
| 74 | 77 | |(on V2 MB) | |
| 75 | 78 | |------------------------------------------------------------------------------------| |
| 79 | Notes: | |
| 80 | In test mode, the ROM test will show only 'GOOD' for all ROMs. On test completion | |
| 81 | the screen will show 'PRESS TEST BUTTON TO EXIT' | |
| 82 | However if the SERVICE button is pressed, the screen will show the byte | |
| 83 | checksums of all ROMs. | |
| 76 | 84 | |
| 77 | 85 | |
| 78 | 86 | ROM PCB |
| r5490 | r5491 | |
| 97 | 105 | | 315-5881 PLSI2032| |
| 98 | 106 | | (315-6050)| |
| 99 | 107 | |------------------------------------------------------------------------------------| |
| 100 | ROM usage - | |
| 101 | Game Sega Part No. ROM Type | |
| 102 | ------------------------------------------------ | |
| 108 | ROM usage - CRC (from ROM test) | |
| 109 | Game Sega Part No. ROM Type Byte Word | |
| 110 | -------------------------------------------------------------- | |
| 103 | 111 | Air Trix - |
| 104 | MPR-23573.IC37 128M TSOP48 MASKROM | |
| 105 | MPR-23577.IC38 " | |
| 106 | MPR-23574.IC41 " | |
| 107 | MPR-23578.IC42 " | |
| 108 | MPR-23575.IC45 " | |
| 109 | MPR-23579.IC46 " | |
| 110 | MPR-23576.IC49 " | |
| 111 | MPR-23580.IC50 " | |
| 112 | MPR-23573.IC37 128M TSOP48 MASKROM B9A5 9E67 | |
| 113 | MPR-23577.IC38 " A52A BCE0 | |
| 114 | MPR-23574.IC41 " DABB B621 | |
| 115 | MPR-23578.IC42 " 4BD4 5E6B | |
| 116 | MPR-23575.IC45 " 0D06 AD63 | |
| 117 | MPR-23579.IC46 " 790F A27E | |
| 118 | MPR-23576.IC49 " BDBB 4F01 | |
| 119 | MPR-23580.IC50 " 14A7 6A4E | |
| 112 | 120 | IC53, IC54, IC57, \ |
| 113 | 121 | IC58, IC61, IC62, Not Used |
| 114 | 122 | IC65, IC66 / |
| 115 | 123 | |
| 116 | EPR-23601A.IC29 27C322 EPROM | |
| 117 | EPR-23602A.IC30 " | |
| 124 | EPR-23601A.IC29 27C322 EPROM FEE8 C889 | |
| 125 | EPR-23602A.IC30 " 97C2 620C | |
| 118 | 126 | other EPROM sockets not used |
| 119 | 127 | |
| 120 | 128 | 315-5881 stamped 317-0294-COM |
| 121 | 129 | |
| 122 | 130 | |
| 123 | Game Sega Part No. ROM Type | |
| 124 | ------------------------------------------------ | |
| 131 | CRC (from ROM test) | |
| 132 | Game Sega Part No. ROM Type Byte Word | |
| 133 | -------------------------------------------------------------- | |
| 125 | 134 | Planet Harriers - |
| 126 | MPR-23549.IC37 128M TSOP48 MASKROM | |
| 127 | MPR-23553.IC38 " | |
| 128 | MPR-23550.IC41 " | |
| 129 | MPR-23554.IC42 " | |
| 130 | MPR-23551.IC45 " | |
| 131 | MPR-23555.IC46 " | |
| 132 | MPR-23552.IC49 " | |
| 133 | MPR-23556.IC50 " | |
| 134 | MPR-23557.IC53 " | |
| 135 | MPR-23558.IC57 " | |
| 136 | MPR-23559.IC61 " | |
| 137 | MPR-23560.IC65 " | |
| 138 | MPR-23564.IC66 " | |
| 139 | MPR-23563.IC62 " | |
| 140 | MPR-23562.IC58 " | |
| 141 | MPR-23561.IC54 " | |
| 135 | MPR-23549.IC37 128M TSOP48 MASKROM 7F16 2C37 | |
| 136 | MPR-23553.IC38 " 1F9F AAE5 | |
| 137 | MPR-23550.IC41 " 986C 8D7A | |
| 138 | MPR-23554.IC42 " BD1D 5304 | |
| 139 | MPR-23551.IC45 " 9784 B33D | |
| 140 | MPR-23555.IC46 " CB75 B08B | |
| 141 | MPR-23552.IC49 " 5056 B3A9 | |
| 142 | MPR-23556.IC50 " CBDE BE85 | |
| 143 | MPR-23557.IC53 " 3D36 05BF | |
| 144 | MPR-23561.IC54 " D629 8ED6 | |
| 145 | MPR-23558.IC57 " B9F5 0082 | |
| 146 | MPR-23562.IC58 " 5875 8163 | |
| 147 | MPR-23559.IC61 " B19D E7CC | |
| 148 | MPR-23563.IC62 " 158C D180 | |
| 149 | MPR-23560.IC65 " 34BC 677B | |
| 150 | MPR-23564.IC66 " 5524 349E | |
| 142 | 151 | |
| 143 | EPR-23565A.IC29 27C322 EPROM | |
| 144 | EPR-23566A.IC30 " | |
| 145 | EPR-23567A.IC31 " | |
| 146 | EPR-23568A.IC32 " | |
| 147 | EPR-23569A.IC33 " | |
| 148 | EPR-23570A.IC34 " | |
| 149 | EPR-23571A.IC35 " | |
| 150 | EPR-23572A.IC36 " | |
| 152 | EPR-23565A.IC29 27C322 EPROM 8AC6 | |
| 153 | EPR-23566A.IC30 " 1CC3 | |
| 154 | EPR-23567A.IC31 " 388C 13B5 | |
| 155 | EPR-23568A.IC32 " D289 5910 | |
| 156 | EPR-23569A.IC33 " 09A8 578F | |
| 157 | EPR-23570A.IC34 " 73E5 94F7 | |
| 158 | EPR-23571A.IC35 " B1DE 6DAD | |
| 159 | EPR-23572A.IC36 " 9019 6DD5 | |
| 151 | 160 | all EPROM sockets populated |
| 152 | 161 | |
| 153 | 162 | 315-5881 stamped 317-0297-COM |
| r5490 | r5491 | |
| 172 | 181 | | IC54 IC56 IC58 IC60 IC62 IC64 IC66 IC68 <-- these on other side of PCB | |
| 173 | 182 | | | |
| 174 | 183 | |------------------------------------------------------------------------------------| |
| 175 | ROM usage - | |
| 176 | Game Sega Part No. ROM Type | |
| 177 | ------------------------------------------------ | |
| 184 | ROM usage - CRC (from ROM test) | |
| 185 | Game Sega Part No. ROM Type Byte Word | |
| 186 | -------------------------------------------------------------- | |
| 178 | 187 | Star Wars Racer Arcade |
| 179 | MPR-23086.IC37 64M SOP44 MASKROM | |
| 180 | MPR-23087.IC38 " | |
| 181 | MPR-23088.IC39 " | |
| 182 | MPR-23089.IC40 " | |
| 183 | MPR-23090.IC41 " | |
| 184 | MPR-23091.IC42 " | |
| 185 | MPR-23092.IC43 " | |
| 186 | MPR-23093.IC44 " | |
| 187 | MPR-23094.IC45 " | |
| 188 | MPR-23095.IC46 " | |
| 189 | MPR-23096.IC47 " | |
| 190 | MPR-23097.IC48 " | |
| 191 | MPR-23098.IC49 " | |
| 192 | MPR-23099.IC50 " | |
| 193 | MPR-23100.IC51 " | |
| 194 | MPR-23101.IC52 " | |
| 195 | MPR-23102.IC53 " | |
| 196 | MPR-23103.IC54 " | |
| 197 | MPR-23104.IC55 " | |
| 198 | MPR-23105.IC56 " | |
| 199 | MPR-23106.IC57 " | |
| 200 | MPR-23107.IC58 " | |
| 201 | MPR-23108.IC59 " | |
| 202 | MPR-23109.IC60 " | |
| 203 | MPR-23110.IC61 " | |
| 204 | MPR-23111.IC62 " | |
| 205 | MPR-23112.IC63 " | |
| 206 | MPR-23113.IC64 " | |
| 207 | MPR-23114.IC65 " | |
| 208 | MPR-23115.IC66 " | |
| 209 | MPR-23116.IC67 " | |
| 210 | MPR-23117.IC68 " | |
| 188 | MPR-23086.IC37 64M SOP44 MASKROM 7993 8E18 | |
| 189 | MPR-23087.IC38 " 4D44 D239 | |
| 190 | MPR-23088.IC39 " 4135 BEAB | |
| 191 | MPR-23089.IC40 " F0C8 04E2 | |
| 192 | MPR-23090.IC41 " 9532 4C1C | |
| 193 | MPR-23091.IC42 " 925D 02FB | |
| 194 | MPR-23092.IC43 " 0809 7050 | |
| 195 | MPR-23093.IC44 " 72BC 9311 | |
| 196 | MPR-23094.IC45 " DE84 9D8A | |
| 197 | MPR-23095.IC46 " 7A5C E7FC | |
| 198 | MPR-23096.IC47 " 6806 1392 | |
| 199 | MPR-23097.IC48 " EDF1 7BD1 | |
| 200 | MPR-23098.IC49 " B82D E114 | |
| 201 | MPR-23099.IC50 " 5792 E5E5 | |
| 202 | MPR-23100.IC51 " 3AF3 A97C | |
| 203 | MPR-23101.IC52 " A8CC 721D | |
| 204 | MPR-23102.IC53 " CED7 D3CF | |
| 205 | MPR-23103.IC54 " 6B67 FC76 | |
| 206 | MPR-23104.IC55 " 586C 6954 | |
| 207 | MPR-23105.IC56 " 13A0 DB38 | |
| 208 | MPR-23106.IC57 " 4F03 42BF | |
| 209 | MPR-23107.IC58 " 8EA6 ADB6 | |
| 210 | MPR-23108.IC59 " 8645 FC30 | |
| 211 | MPR-23109.IC60 " 3847 CA6B | |
| 212 | MPR-23110.IC61 " 4140 01C4 | |
| 213 | MPR-23111.IC62 " EBE6 8085 | |
| 214 | MPR-23112.IC63 " B68B 7467 | |
| 215 | MPR-23113.IC64 " 4715 4787 | |
| 216 | MPR-23114.IC65 " 3CD6 144A | |
| 217 | MPR-23115.IC66 " E5D3 BA35 | |
| 218 | MPR-23116.IC67 " E668 08ED | |
| 219 | MPR-23117.IC68 " 1FE8 C4A1 | |
| 211 | 220 | |
| 212 | EPR-23174.IC29 27C322 EPROM | |
| 213 | EPR-23175.IC30 " | |
| 214 | EPR-23176.IC31 " | |
| 215 | EPR-23177.IC32 " | |
| 221 | EPR-23174.IC29 27C322 EPROM 3B2E | |
| 222 | EPR-23175.IC30 " F377 | |
| 223 | EPR-23176.IC31 " 5F01 4174 | |
| 224 | EPR-23177.IC32 " 3594 38B3 | |
| 216 | 225 | other EPROM sockets not used |
| 217 | 226 | |
| 218 | 227 | 315-5881 stamped 317-0277-COM |
| 219 | 228 | |
| 220 | 229 | |
| 221 | ||
| 230 | AICA | |
| 222 | 231 | -------------- |
| 223 | 232 | |
| 224 | 233 | 837-13629 171-7911B SEGA 1998 |
| r5490 | r5491 | |
| 231 | 240 | | | |
| 232 | 241 | | | |
| 233 | 242 | |------------------| |
| 243 | Notes: | |
| 244 | K4S641632 - Samsung K4S641632 64Mbit SDRAM (1M x 16Bit x 4 Banks Synchronous DRAM) | |
| 234 | 245 | |
| 235 | 246 | |
| 236 | 247 | Network PCB |
| r5490 | r5491 | |
| 250 | 261 | | 62256 | |
| 251 | 262 | | 62256 PAL | |
| 252 | 263 | |-----------------------------------| |
| 264 | Notes: | |
| 265 | 62256 - 32k x8 SRAM | |
| 253 | 266 | |
| 267 | ||
| 268 | I/O PCB | |
| 269 | ------- | |
| 270 | ||
| 271 | 837-13551 171-7780D | |
| 272 | |----------------------------| | |
| 273 | |CN4 CN5 CN6 CN7 CN8| | |
| 274 | | LED2 ADM485 | | |
| 275 | | TMP90PH44 | | |
| 276 | | 14.745MHz LED1 | | |
| 277 | |CN1 CN2 CN3 | | |
| 278 | |----------------------------| | |
| 279 | Notes: | |
| 280 | TMP90PH44 - Toshiba TMP90PH44 TLCS-90 series microcontroller with | |
| 281 | 16k internal OTP PROM and 512 bytes internal RAM | |
| 282 | CN1 - 5 pin connector for +12v | |
| 283 | CN2 - 5 pin connector for +12v | |
| 284 | CN3 - 60 pin flat cable connector for digital controls & buttons | |
| 285 | CN4 - USB connector | |
| 286 | CN5 - USB connector | |
| 287 | CN6 - 26 pin flat cable connector for analog controls | |
| 288 | CN7 - 4 pin connector for +5v | |
| 289 | CN8 - 4 pin connector for +5v | |
| 290 | ||
| 291 | ||
| 292 | Filter PCB | |
| 293 | ---------- | |
| 294 | ||
| 295 | 839-1079 171-7789B SEGA 1998 | |
| 296 | |----------------------------------------------------| | |
| 297 | | CN6 CN11 CN9 | | |
| 298 | | CN12 CN10 | | |
| 299 | | CN5 CN4 CN3 CN2 CN1 | | |
| 300 | | | | |
| 301 | | | | |
| 302 | | CNTX CNRX CN7 DN2 DN1 | | |
| 303 | |----------------------------------------------------| | |
| 304 | Notes: | |
| 305 | CN1 - 8 pin JVS power connector | |
| 306 | CN2 - 6 pin JVS power connector | |
| 307 | CN3 - 15 pin VGA connector 24k/31k | |
| 308 | CN4 - 15 pin VGA connector 24k/31k. Not populated | |
| 309 | CN5 - red/white RCA audio connectors | |
| 310 | CN6 - red/white RCA audio connectors | |
| 311 | CN7 - USB connector. Plugs into JVS I/O PCB using common A-B USB cable | |
| 312 | CN8 - Optical network connector, re-labelled CNTX. Sometimes not populated | |
| 313 | CN9 - Optical network connector, re-labelled CNTR. Sometimes not populated | |
| 314 | CN10 - Unknown. Not populated | |
| 315 | CN11 - RS422 connector. Not populated | |
| 316 | CN12 - Midi connector. Not populated | |
| 317 | DN1/DN2 - Connectors joining to main board. These connectors | |
| 318 | are on the other side of the PCB | |
| 319 | ||
| 254 | 320 | */ |
| 255 | 321 | |
| 256 | 322 | #include "driver.h" |
| r5490 | r5491 | |
| 483 | 549 | ROM_LOAD("mpr-23117.ic68" , 0xf800000, 0x0800000, NO_DUMP ) |
| 484 | 550 | ROM_END |
| 485 | 551 | |
| 486 | ||
| 487 | ||
| 488 | 552 | GAME( 2000, hikaru, 0, hikaru, hikaru, 0, ROT0, "Sega", "Hikaru Bios", GAME_NO_SOUND|GAME_NOT_WORKING|GAME_IS_BIOS_ROOT ) |
| 489 | 553 | GAME( 2000, airtrix, hikaru, hikaru, hikaru, 0, ROT0, "Sega", "Air Trix", GAME_NO_SOUND|GAME_NOT_WORKING ) |
| 490 | 554 | GAME( 2001, pharrier, hikaru, hikaru, hikaru, 0, ROT0, "Sega", "Planet Harriers", GAME_NO_SOUND|GAME_NOT_WORKING ) |
| r5490 | r5491 | |
|---|---|---|
| 63 | 63 | #include "driver.h" |
| 64 | 64 | #include "cpu/z80/z80.h" |
| 65 | 65 | #include "sound/ay8910.h" |
| 66 | #include "sound/5110intf.h" | |
| 67 | 66 | #include "sound/tms5110.h" |
| 68 | 67 | #include "includes/bagman.h" |
| 69 | 68 |
| r5490 | r5491 | |
|---|---|---|
| 629 | 629 | |
| 630 | 630 | ROM_START( spacefev ) |
| 631 | 631 | ROM_REGION( 0x8000, "maincpu", 0 ) |
| 632 | ROM_LOAD( "sf.f1", 0x0000, 0x0400, CRC(35f295bd) SHA1(34d1df25fcdea598ca1191cecc2125e6f63dbce3) ) | |
| 633 | ROM_LOAD( "sf.f2", 0x0400, 0x0400, CRC(0c633f4c) SHA1(a551ddbf21670fb1f000404b92da87a97f7ba157) ) | |
| 634 | ROM_LOAD( "sf.g1", 0x0800, 0x0400, CRC(f3d851cb) SHA1(535c52a56e54a064aa3d1c48a129f714234a1007) ) | |
| 635 | ROM_LOAD( "sf.g2", 0x0c00, 0x0400, CRC(1faef63a) SHA1(68e1bfc45587bfb1ee2eb477b60efd4f69dffd2c) ) | |
| 636 | ROM_LOAD( "sf.h1", 0x1000, 0x0400, CRC(b365389d) SHA1(e681f2c5e37cc07912915ef74184ff9336309de3) ) | |
| 637 | ROM_LOAD( "sf.h2", 0x1400, 0x0400, CRC(a163e800) SHA1(e8817f3e17f099a0dc66213d2d3d3fdeb117b10e) ) | |
| 638 | ROM_LOAD( "sf.i1", 0x1800, 0x0400, CRC(00027be2) SHA1(551a779a2e5a6455b7a348d246731c094e0ec709) ) | |
| 632 | ROM_LOAD( "f1-ro-.bin", 0x0000, 0x0400, CRC(35f295bd) SHA1(34d1df25fcdea598ca1191cecc2125e6f63dbce3) ) // "F1??" | |
| 633 | ROM_LOAD( "f2-ro-.bin", 0x0400, 0x0400, CRC(0c633f4c) SHA1(a551ddbf21670fb1f000404b92da87a97f7ba157) ) // "F2??" | |
| 634 | ROM_LOAD( "g1-ro-.bin", 0x0800, 0x0400, CRC(f3d851cb) SHA1(535c52a56e54a064aa3d1c48a129f714234a1007) ) // "G1??" | |
| 635 | ROM_LOAD( "g2-ro-.bin", 0x0c00, 0x0400, CRC(1faef63a) SHA1(68e1bfc45587bfb1ee2eb477b60efd4f69dffd2c) ) // "G2??" | |
| 636 | ROM_LOAD( "h1-ro-.bin", 0x1000, 0x0400, CRC(b365389d) SHA1(e681f2c5e37cc07912915ef74184ff9336309de3) ) // "H1??" | |
| 637 | ROM_LOAD( "h2-ro-.bin", 0x1400, 0x0400, CRC(a163e800) SHA1(e8817f3e17f099a0dc66213d2d3d3fdeb117b10e) ) // "H2??" | |
| 638 | ROM_LOAD( "i1-ro-p.bin", 0x1800, 0x0400, CRC(756b5582) SHA1(b7f3d218b7f4267ce6128624306396bcacb9b44e) ) // "I1??P" | |
| 639 | 639 | |
| 640 | 640 | ROM_REGION( 0x0400, "audiocpu", 0 ) |
| 641 | ROM_LOAD( "s | |
| 641 | ROM_LOAD( "s | |
| 642 | 642 | |
| 643 | 643 | ROM_REGION( 0x0020, "proms", 0 ) |
| 644 | ROM_LOAD( "sf.prm", 0x0000, 0x0020, CRC(c5914ec1) SHA1(198875fcab36d09c8726bb21e2fdff9882f6721a) ) | |
| 645 | ROM_END | |
| 644 | ROM_LOAD( "f5-i-.bin", 0x0000, 0x0020, CRC(c5914ec1) SHA1(198875fcab36d09c8726bb21e2fdff9882f6721a) ) // "F5?C" | |
| 645 | ROM_END | |
| 646 | 646 | |
| 647 | ROM_START( spacefev | |
| 647 | ROM_START( spacefevo ) | |
| 648 | 648 | ROM_REGION( 0x8000, "maincpu", 0 ) |
| 649 | ROM_LOAD( "sf-a.f1", 0x0000, 0x0400, CRC(7fa305e8) SHA1(cda9fc9c76f57800de25ddf65f69fef19fd28481) ) | |
| 650 | ROM_LOAD( "sf-a.f2", 0x0400, 0x0400, CRC(7c1429aa) SHA1(8d8e0a4fc09fb1ecbfb86c67c20000ef30ab3fac) ) | |
| 651 | ROM_LOAD( "sf-a.g1", 0x0800, 0x0400, CRC(75f6efc1) SHA1(286bc75e35e8ad6277e9db7377e90731b9c2ec97) ) | |
| 652 | ROM_LOAD( "sf-a.g2", 0x0c00, 0x0400, CRC(fb6bcf4a) SHA1(3edea04d67c2f3b1a6a73adadea83ddda0be3842) ) | |
| 653 | ROM_LOAD( "sf-a.h1", 0x1000, 0x0400, CRC(3beef037) SHA1(4bcc157e7d721b3a9e16e7a2efa807303d4be8ac) ) | |
| 654 | ROM_LOAD( "sf-a.h2", 0x1400, 0x0400, CRC(bddbc94f) SHA1(f90cbc3cd0f695cbb9ae03b608f4bf5a4a000c64) ) | |
| 655 | ROM_LOAD( "sf-a.i1", 0x1800, 0x0400, CRC(437786c5) SHA1(2ccdb0d48dbbfe47ae82e970ca37970602405cf6) ) | |
| 649 | ROM_LOAD( "f1-ro-.bin", 0x0000, 0x0400, CRC(35f295bd) SHA1(34d1df25fcdea598ca1191cecc2125e6f63dbce3) ) // "F1??" | |
| 650 | ROM_LOAD( "f2-ro-.bin", 0x0400, 0x0400, CRC(0c633f4c) SHA1(a551ddbf21670fb1f000404b92da87a97f7ba157) ) // "F2??" | |
| 651 | ROM_LOAD( "g1-ro-.bin", 0x0800, 0x0400, CRC(f3d851cb) SHA1(535c52a56e54a064aa3d1c48a129f714234a1007) ) // "G1??" | |
| 652 | ROM_LOAD( "g2-ro-.bin", 0x0c00, 0x0400, CRC(1faef63a) SHA1(68e1bfc45587bfb1ee2eb477b60efd4f69dffd2c) ) // "G2??" | |
| 653 | ROM_LOAD( "h1-ro-.bin", 0x1000, 0x0400, CRC(b365389d) SHA1(e681f2c5e37cc07912915ef74184ff9336309de3) ) // "H1??" | |
| 654 | ROM_LOAD( "h2-ro-.bin", 0x1400, 0x0400, CRC(a163e800) SHA1(e8817f3e17f099a0dc66213d2d3d3fdeb117b10e) ) // "H2??" | |
| 655 | ROM_LOAD( "i1-ro-.bin", 0x1800, 0x0400, CRC(00027be2) SHA1(551a779a2e5a6455b7a348d246731c094e0ec709) ) // "I1??" | |
| 656 | 656 | |
| 657 | 657 | ROM_REGION( 0x0400, "audiocpu", 0 ) |
| 658 | ROM_LOAD( "s | |
| 658 | ROM_LOAD( "s | |
| 659 | 659 | |
| 660 | 660 | ROM_REGION( 0x0020, "proms", 0 ) |
| 661 | ROM_LOAD( "sf.prm", 0x0000, 0x0020, CRC(c5914ec1) SHA1(198875fcab36d09c8726bb21e2fdff9882f6721a) ) | |
| 661 | ROM_LOAD( "f5-i-.bin", 0x0000, 0x0020, CRC(c5914ec1) SHA1(198875fcab36d09c8726bb21e2fdff9882f6721a) ) // "F5?C" | |
| 662 | ROM_END | |
| 663 | ||
| 664 | ROM_START( spacefevo2 ) | |
| 665 | ROM_REGION( 0x8000, "maincpu", 0 ) | |
| 666 | ROM_LOAD( "f1-i-.bin", 0x0000, 0x0400, CRC(7fa305e8) SHA1(cda9fc9c76f57800de25ddf65f69fef19fd28481) ) // "F1?C" | |
| 667 | ROM_LOAD( "f2-i-.bin", 0x0400, 0x0400, CRC(7c1429aa) SHA1(8d8e0a4fc09fb1ecbfb86c67c20000ef30ab3fac) ) // "F2?C" | |
| 668 | ROM_LOAD( "g1-i-.bin", 0x0800, 0x0400, CRC(75f6efc1) SHA1(286bc75e35e8ad6277e9db7377e90731b9c2ec97) ) // "G1?C" | |
| 669 | ROM_LOAD( "g2-i-.bin", 0x0c00, 0x0400, CRC(fb6bcf4a) SHA1(3edea04d67c2f3b1a6a73adadea83ddda0be3842) ) // "G2?C" | |
| 670 | ROM_LOAD( "h1-i-.bin", 0x1000, 0x0400, CRC(3beef037) SHA1(4bcc157e7d721b3a9e16e7a2efa807303d4be8ac) ) // "H1?C" | |
| 671 | ROM_LOAD( "h2-i-.bin", 0x1400, 0x0400, CRC(bddbc94f) SHA1(f90cbc3cd0f695cbb9ae03b608f4bf5a4a000c64) ) // "H2?C" | |
| 672 | ROM_LOAD( "i1-i-.bin", 0x1800, 0x0400, CRC(437786c5) SHA1(2ccdb0d48dbbfe47ae82e970ca37970602405cf6) ) // "I1?C" | |
| 673 | ||
| 674 | ROM_REGION( 0x0400, "audiocpu", 0 ) | |
| 675 | ROM_LOAD( "ss3.ic2", 0x0000, 0x0400, CRC(95c2c1ee) SHA1(42a3a382fc7d2782052372d71f6d0e8a153e74d0) ) | |
| 676 | ||
| 677 | ROM_REGION( 0x0020, "proms", 0 ) | |
| 678 | ROM_LOAD( "f5-i-.bin", 0x0000, 0x0020, CRC(c5914ec1) SHA1(198875fcab36d09c8726bb21e2fdff9882f6721a) ) // "F5?C" | |
| 662 | 679 | ROM_END |
| 663 | 680 | |
| 664 | 681 | ROM_START( highsplt ) |
| 665 | 682 | ROM_REGION( 0x8000, "maincpu", 0 ) |
| 666 | ROM_LOAD( "hs.f1", 0x0000, 0x0400, CRC(b8887351) SHA1(ccd49937f1cbd7a157b3715474ccc3e8fdcea2b2) ) | |
| 667 | ROM_LOAD( "hs.f2", 0x0400, 0x0400, CRC(cda933a7) SHA1(a0447c8c98e24674081c9bf4b1ef07dc186c6e2b) ) | |
| 668 | ROM_LOAD( "hs.g1", 0x0800, 0x0400, CRC(de17578a) SHA1(d9d5dbf38331f212d2a566c60756a788e169104d) ) | |
| 669 | ROM_LOAD( "hs.g2", 0x0c00, 0x0400, CRC(f1a90948) SHA1(850f27b42ca12bcba4aa95a1ad3e66206fa63554) ) | |
| 670 | ROM_LOAD( "hs.h1", 0x1000, 0x0400, CRC(eefb4273) SHA1(853a62976a406516f10ac68dc2859399b8b7aae8) ) | |
| 671 | ROM_LOAD( "hs.h2", 0x1400, 0x0400, CRC(e91703e8) SHA1(f58606b0c7d945e94c3fccc7ebe17ca25675e6a0) ) | |
| 672 | ROM_LOAD( "hs.i1", 0x1800, 0x0400, CRC(41e18df9) SHA1(2212c836313775e7c507a875672c0b3635825e02) ) | |
| 673 | ROM_LOAD( "hs.i2", 0x1c00, 0x0400, CRC(eff9f82d) SHA1(5004e52dfa652ceefca9ed4210c0fa8f0591dc08) ) | |
| 683 | ROM_LOAD( "f1-ha-.bin", 0x0000, 0x0400, CRC(b8887351) SHA1(ccd49937f1cbd7a157b3715474ccc3e8fdcea2b2) ) // "F1?n" | |
| 684 | ROM_LOAD( "f2-ha-.bin", 0x0400, 0x0400, CRC(cda933a7) SHA1(a0447c8c98e24674081c9bf4b1ef07dc186c6e2b) ) // "F2?n" | |
| 685 | ROM_LOAD( "g1-ha-.bin", 0x0800, 0x0400, CRC(de17578a) SHA1(d9d5dbf38331f212d2a566c60756a788e169104d) ) // "G1?n" | |
| 686 | ROM_LOAD( "g2-ha-.bin", 0x0c00, 0x0400, CRC(f1a90948) SHA1(850f27b42ca12bcba4aa95a1ad3e66206fa63554) ) // "G2?n" | |
| 687 | ROM_LOAD( "hs.h1", 0x1000, 0x0400, CRC(eefb4273) SHA1(853a62976a406516f10ac68dc2859399b8b7aae8) ) | |
| 688 | ROM_LOAD( "h2-ha-.bin", 0x1400, 0x0400, CRC(e91703e8) SHA1(f58606b0c7d945e94c3fccc7ebe17ca25675e6a0) ) // "H2?n" | |
| 689 | ROM_LOAD( "hs.i1", 0x1800, 0x0400, CRC(41e18df9) SHA1(2212c836313775e7c507a875672c0b3635825e02) ) | |
| 690 | ROM_LOAD( "i2-ha-.bin", 0x1c00, 0x0400, CRC(eff9f82d) SHA1(5004e52dfa652ceefca9ed4210c0fa8f0591dc08) ) // "I2?n" | |
| 674 | 691 | |
| 675 | 692 | ROM_REGION( 0x0400, "audiocpu", 0 ) |
| 676 | ROM_LOAD( " | |
| 693 | ROM_LOAD( " | |
| 677 | 694 | |
| 678 | 695 | ROM_REGION( 0x0020, "proms", 0 ) |
| 679 | ROM_LOAD( " | |
| 696 | ROM_LOAD( " | |
| 680 | 697 | ROM_END |
| 681 | 698 | |
| 682 | 699 | ROM_START( highsplta ) |
| 683 | 700 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 684 | ROM_LOAD( "hs.f1", 0x0000, 0x0400, CRC(b8887351) SHA1(ccd49937f1cbd7a157b3715474ccc3e8fdcea2b2) ) | |
| 685 | ROM_LOAD( "hs.f2", 0x0400, 0x0400, CRC(cda933a7) SHA1(a0447c8c98e24674081c9bf4b1ef07dc186c6e2b) ) | |
| 686 | ROM_LOAD( "hs.g1", 0x0800, 0x0400, CRC(de17578a) SHA1(d9d5dbf38331f212d2a566c60756a788e169104d) ) | |
| 687 | ROM_LOAD( "hs.g2", 0x0c00, 0x0400, CRC(f1a90948) SHA1(850f27b42ca12bcba4aa95a1ad3e66206fa63554) ) | |
| 688 | ROM_LOAD( "hs-a.h1", 0x1000, 0x0400, CRC(b0505da3) SHA1(f7b1f3a6dd06ff0cdeb6b13c948b7a262592514a) ) | |
| 689 | ROM_LOAD( "hs.h2", 0x1400, 0x0400, CRC(e91703e8) SHA1(f58606b0c7d945e94c3fccc7ebe17ca25675e6a0) ) | |
| 690 | ROM_LOAD( "hs-a.i1", 0x1800, 0x0400, CRC(aa36b25d) SHA1(28f555aab27b206a8c6f550b6caa938cece6e204) ) | |
| 691 | ROM_LOAD( "hs.i2", 0x1c00, 0x0400, CRC(eff9f82d) SHA1(5004e52dfa652ceefca9ed4210c0fa8f0591dc08) ) | |
| 701 | ROM_LOAD( "f1-ha-.bin", 0x0000, 0x0400, CRC(b8887351) SHA1(ccd49937f1cbd7a157b3715474ccc3e8fdcea2b2) ) // "F1?n" | |
| 702 | ROM_LOAD( "f2-ha-.bin", 0x0400, 0x0400, CRC(cda933a7) SHA1(a0447c8c98e24674081c9bf4b1ef07dc186c6e2b) ) // "F2?n" | |
| 703 | ROM_LOAD( "g1-ha-.bin", 0x0800, 0x0400, CRC(de17578a) SHA1(d9d5dbf38331f212d2a566c60756a788e169104d) ) // "G1?n" | |
| 704 | ROM_LOAD( "g2-ha-.bin", 0x0c00, 0x0400, CRC(f1a90948) SHA1(850f27b42ca12bcba4aa95a1ad3e66206fa63554) ) // "G2?n" | |
| 705 | ROM_LOAD( "h1-ha-.bin", 0x1000, 0x0400, CRC(b0505da3) SHA1(f7b1f3a6dd06ff0cdeb6b13c948b7a262592514a) ) // "H1?n" | |
| 706 | ROM_LOAD( "h2-ha-.bin", 0x1400, 0x0400, CRC(e91703e8) SHA1(f58606b0c7d945e94c3fccc7ebe17ca25675e6a0) ) // "H2?n" | |
| 707 | ROM_LOAD( "i1-ha-.bin", 0x1800, 0x0400, CRC(aa36b25d) SHA1(28f555aab27b206a8c6f550b6caa938cece6e204) ) // "I1?n" | |
| 708 | ROM_LOAD( "i2-ha-.bin", 0x1c00, 0x0400, CRC(eff9f82d) SHA1(5004e52dfa652ceefca9ed4210c0fa8f0591dc08) ) // "I2?n" | |
| 692 | 709 | |
| 693 | 710 | ROM_REGION( 0x0400, "audiocpu", 0 ) |
| 694 | ROM_LOAD( " | |
| 711 | ROM_LOAD( " | |
| 695 | 712 | |
| 696 | 713 | ROM_REGION( 0x0020, "proms", 0 ) |
| 697 | ROM_LOAD( " | |
| 714 | ROM_LOAD( " | |
| 698 | 715 | ROM_END |
| 699 | 716 | |
| 717 | ROM_START( highspltb ) | |
| 718 | ROM_REGION( 0x10000, "maincpu", 0 ) | |
| 719 | ROM_LOAD( "f1-ha-.bin", 0x0000, 0x0400, CRC(b8887351) SHA1(ccd49937f1cbd7a157b3715474ccc3e8fdcea2b2) ) // "F1?n" | |
| 720 | ROM_LOAD( "f2-ha-.bin", 0x0400, 0x0400, CRC(cda933a7) SHA1(a0447c8c98e24674081c9bf4b1ef07dc186c6e2b) ) // "F2?n" | |
| 721 | ROM_LOAD( "g1-ha-.bin", 0x0800, 0x0400, CRC(de17578a) SHA1(d9d5dbf38331f212d2a566c60756a788e169104d) ) // "G1?n" | |
| 722 | ROM_LOAD( "g2-ha-.bin", 0x0c00, 0x0400, CRC(f1a90948) SHA1(850f27b42ca12bcba4aa95a1ad3e66206fa63554) ) // "G2?n" | |
| 723 | ROM_LOAD( "h1-ha-.bin", 0x1000, 0x0400, CRC(b0505da3) SHA1(f7b1f3a6dd06ff0cdeb6b13c948b7a262592514a) ) // "H1?n" | |
| 724 | ROM_LOAD( "h2-ha-.bin", 0x1400, 0x0400, CRC(e91703e8) SHA1(f58606b0c7d945e94c3fccc7ebe17ca25675e6a0) ) // "H2?n" | |
| 725 | ROM_LOAD( "i1-ha-.bin", 0x1800, 0x0400, CRC(aa36b25d) SHA1(28f555aab27b206a8c6f550b6caa938cece6e204) ) // "I1?n" | |
| 726 | ROM_LOAD( "i2-ha-.bin", 0x1c00, 0x0400, CRC(eff9f82d) SHA1(5004e52dfa652ceefca9ed4210c0fa8f0591dc08) ) // "I2?n" | |
| 727 | ||
| 728 | ROM_REGION( 0x0400, "audiocpu", 0 ) | |
| 729 | ROM_LOAD( "ss4.ic2", 0x0000, 0x0400, CRC(ce95dc5f) SHA1(20f7b8c565c408439dcfae240b7d1aa42c29651b) ) | |
| 730 | ||
| 731 | ROM_REGION( 0x0020, "proms", 0 ) | |
| 732 | ROM_LOAD( "f5-i-.bin", 0x0000, 0x0020, CRC(c5914ec1) SHA1(198875fcab36d09c8726bb21e2fdff9882f6721a) ) // "F5?C" | |
| 733 | ROM_END | |
| 734 | ||
| 700 | 735 | ROM_START( spacelnc ) |
| 701 | 736 | ROM_REGION( 0x8000, "maincpu", 0 ) |
| 702 | 737 | ROM_LOAD( "sl.f1", 0x0000, 0x0400, CRC(6ad59e40) SHA1(d416f7e6f5f55178df5c390548cd299650853022) ) |
| r5490 | r5491 | |
| 789 | 824 | ROM_END |
| 790 | 825 | |
| 791 | 826 | |
| 792 | GAME( 1979, spacefev, 0, spacefev, spacefev, 0, ROT270, "Nintendo", "Space Fever (set 1)", 0 ) | |
| 793 | GAME( 1979, spacefeva,spacefev, spacefev, spacefev, 0, ROT270, "Nintendo", "Space Fever (set 2)", 0 ) | |
| 794 | GAME( 1979, highsplt, 0, spacefev, highsplt, 0, ROT270, "Nintendo", "Space Fever High Splitter (set 1)", 0 ) | |
| 795 | GAME( 1979, highsplta,highsplt, spacefev, highsplt, 0, ROT270, "Nintendo", "Space Fever High Splitter (set 2)", 0 ) | |
| 796 | GAME( 1979, spacelnc, 0, spacefev, spacelnc, 0, ROT270, "Nintendo", "Space Launcher", GAME_NOT_WORKING ) | |
| 797 | GAME( 1979, sheriff, 0, sheriff, sheriff, 0, ROT270, "Nintendo", "Sheriff", 0 ) | |
| 798 | GAME( 1980, bandido, sheriff, sheriff, bandido, 0, ROT270, "Exidy", "Bandido", 0 ) | |
| 799 | GAME( 1980, helifire, 0, helifire, helifire, 0, ROT270, "Nintendo", "HeliFire (set 1)", GAME_NOT_WORKING | GAME_NO_COCKTAIL ) | |
| 800 | GAME( 1980, helifirea,helifire, helifire, helifire, 0, ROT270, "Nintendo", "HeliFire (set 2)", GAME_NOT_WORKING | GAME_NO_COCKTAIL ) | |
| 827 | GAME( 1979, spacefev, 0, spacefev, spacefev, 0, ROT270, "Nintendo", "Space Fever (New Ver.)", 0 ) | |
| 828 | GAME( 1979, spacefevo, spacefev, spacefev, spacefev, 0, ROT270, "Nintendo", "Space Fever (Old Ver.)", 0 ) | |
| 829 | GAME( 1979, spacefevo2, spacefev, spacefev, spacefev, 0, ROT270, "Nintendo", "Space Fever (Older Ver.)", 0 ) | |
| 830 | GAME( 1979, highsplt, 0, spacefev, highsplt, 0, ROT270, "Nintendo", "Space Fever High Splitter (set 1)", 0 ) | |
| 831 | GAME( 1979, highsplta, highsplt, spacefev, highsplt, 0, ROT270, "Nintendo", "Space Fever High Splitter (set 2)", 0 ) | |
| 832 | GAME( 1979, highspltb, highsplt, spacefev, highsplt, 0, ROT270, "Nintendo", "Space Fever High Splitter (alt Sound)", 0 ) | |
| 833 | GAME( 1979, spacelnc, 0, spacefev, spacelnc, 0, ROT270, "Nintendo", "Space Launcher", GAME_NOT_WORKING ) | |
| 834 | GAME( 1979, sheriff, 0, sheriff, sheriff, 0, ROT270, "Nintendo", "Sheriff", 0 ) | |
| 835 | GAME( 1980, bandido, sheriff, sheriff, bandido, 0, ROT270, "Exidy", "Bandido", 0 ) | |
| 836 | GAME( 1980, helifire, 0, helifire, helifire, 0, ROT270, "Nintendo", "HeliFire (set 1)", GAME_NOT_WORKING | GAME_NO_COCKTAIL ) | |
| 837 | GAME( 1980, helifirea, helifire, helifire, helifire, 0, ROT270, "Nintendo", "HeliFire (set 2)", GAME_NOT_WORKING | GAME_NO_COCKTAIL ) |
| r5490 | r5491 | |
|---|---|---|
| 85 | 85 | #include "driver.h" |
| 86 | 86 | #include "cpu/s2650/s2650.h" |
| 87 | 87 | #include "sound/dac.h" |
| 88 | #include "sound/5110intf.h" | |
| 89 | 88 | #include "sound/tms5110.h" |
| 90 | 89 | #include "video/s2636.h" |
| 91 | 90 | #include "cvs.h" |
| r5490 | r5491 | |
|---|---|---|
| 1768 | 1768 | * |
| 1769 | 1769 | *************************************/ |
| 1770 | 1770 | |
| 1771 | GAMEL( 1981, turbo, 0, turbo, turbo, 0, ROT270, "Sega", "Turbo", 0, layout_turbo ) | |
| 1772 | GAMEL( 1981, turboa, turbo, turbo, turbo, turbo_enc, ROT270, "Sega", "Turbo (encrypted set 1)", 0, layout_turbo ) | |
| 1773 | GAMEL( 1981, turbob, turbo, turbo, turbo, turbo_enc, ROT270, "Sega", "Turbo (encrypted set 2)", 0, layout_turbo ) | |
| 1774 | GAMEL( 1982, subroc3d, 0, subroc3d, subroc3d, 0, ORIENTATION_FLIP_X, "Sega", "Subroc-3D", 0, layout_subroc3d ) | |
| 1775 | GAMEL( 1982, buckrog, 0, buckrog, buckrog, buckrog_enc, ROT0, "Sega", "Buck Rogers: Planet of Zoom", 0, layout_buckrog ) | |
| 1776 | GAMEL( 1982, zoom909, buckrog, buckrog, buckrog, buckrog_enc, ROT0, "Sega", "Zoom 909", GAME_IMPERFECT_COLORS, layout_buckrog ) // bad PROM | |
| 1777 | GAMEL( 1982, buckrogn, buckrog, buckrog, buckrog, 0, ROT0, "Sega", "Buck Rogers: Planet of Zoom (not encrypted)", 0, layout_buckrog ) | |
| 1771 | GAMEL( 1981, turbo, 0, turbo, turbo, 0, ROT270, "Sega", "Turbo", GAME_IMPERFECT_SOUND , layout_turbo ) | |
| 1772 | GAMEL( 1981, turboa, turbo, turbo, turbo, turbo_enc, ROT270, "Sega", "Turbo (encrypted set 1)", GAME_IMPERFECT_SOUND , layout_turbo ) | |
| 1773 | GAMEL( 1981, turbob, turbo, turbo, turbo, turbo_enc, ROT270, "Sega", "Turbo (encrypted set 2)", GAME_IMPERFECT_SOUND , layout_turbo ) | |
| 1774 | GAMEL( 1982, subroc3d, 0, subroc3d, subroc3d, 0, ORIENTATION_FLIP_X, "Sega", "Subroc-3D", GAME_IMPERFECT_SOUND , layout_subroc3d ) | |
| 1775 | GAMEL( 1982, buckrog, 0, buckrog, buckrog, buckrog_enc, ROT0, "Sega", "Buck Rogers: Planet of Zoom", GAME_IMPERFECT_SOUND , layout_buckrog ) | |
| 1776 | GAMEL( 1982, zoom909, buckrog, buckrog, buckrog, buckrog_enc, ROT0, "Sega", "Zoom 909", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_COLORS, layout_buckrog ) // bad PROM | |
| 1777 | GAMEL( 1982, buckrogn, buckrog, buckrog, buckrog, 0, ROT0, "Sega", "Buck Rogers: Planet of Zoom (not encrypted)", GAME_IMPERFECT_SOUND , layout_buckrog ) |
| r5490 | r5491 | |
|---|---|---|
| 1703 | 1703 | |
| 1704 | 1704 | /* video hardware */ |
| 1705 | 1705 | MDRV_SCREEN_ADD("screen", RASTER) |
| 1706 | MDRV_SCREEN_REFRESH_RATE( | |
| 1706 | MDRV_SCREEN_REFRESH_RATE(59.15) /* it should be the same as the newer pcb vsync */ | |
| 1707 | 1707 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */) |
| 1708 | 1708 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 1709 | 1709 | MDRV_SCREEN_SIZE(32*8, 32*8) |
| r5490 | r5491 | |
| 1828 | 1828 | |
| 1829 | 1829 | /* video hardware */ |
| 1830 | 1830 | MDRV_SCREEN_ADD("screen", RASTER) |
| 1831 | MDRV_SCREEN_REFRESH_RATE( | |
| 1831 | MDRV_SCREEN_REFRESH_RATE(59.15) /* verified on pcb */ | |
| 1832 | 1832 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) |
| 1833 | 1833 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 1834 | 1834 | MDRV_SCREEN_SIZE(32*8, 32*8) |
| r5490 | r5491 | |
|---|---|---|
| 2 | 2 | |
| 3 | 3 | 18 Holes Pro Golf (c) 1981 Data East |
| 4 | 4 | |
| 5 | driver by Angelo Salese, based on early work by Pierpaolo Prazzoli and David Haywood | |
| 5 | driver by Angelo Salese and Roberto Zandona', | |
| 6 | based on early work by Pierpaolo Prazzoli and David Haywood | |
| 6 | 7 | |
| 7 | 8 | TODO: |
| 8 | - We need to patch a rom to get the games to do more, there's also a "rom test error 6" | |
| 9 | in service mode (that is the g2-m.6a rom), so a rom might be bad or the decryption | |
| 10 | isn't complete. | |
| 11 | - Hazards doesn't have any effect, might be the same issue as above; | |
| 12 | - There's no "rough" display on the sides on the screen, might be the same issue as above; | |
| 13 | - Map displays are currently wrong, they are drawn with the framebuffer; | |
| 9 | - Map display is (almost) correct but color pens aren't; | |
| 14 | 10 | - Flip screen support; |
| 15 | - progolfa: decryption isn't yet correct; | |
| 16 | 11 | |
| 17 | 12 | ========================================================================================= |
| 18 | 13 | |
| r5490 | r5491 | |
| 65 | 60 | static UINT8 *progolf_fbram; |
| 66 | 61 | static UINT8 scrollx_hi; |
| 67 | 62 | static UINT8 scrollx_lo; |
| 63 | static UINT8 progolf_gfx_switch; | |
| 68 | 64 | |
| 69 | 65 | static UINT8 sound_cmd; |
| 70 | 66 | |
| 71 | 67 | static VIDEO_START( progolf ) |
| 72 | 68 | { |
| 73 | scrollx_hi = 0; | |
| 74 | scrollx_lo = 0; | |
| 69 | scrollx_hi = 0; | |
| 70 | scrollx_lo = 0; | |
| 75 | 71 | |
| 76 | 72 | progolf_fg_fb = auto_alloc_array(machine, UINT8, 0x2000*8); |
| 73 | videoram = auto_alloc_array(machine, UINT8, 0x1000); | |
| 77 | 74 | } |
| 78 | 75 | |
| 79 | 76 | |
| r5490 | r5491 | |
| 153 | 150 | static WRITE8_HANDLER( progolf_char_vregs_w ) |
| 154 | 151 | { |
| 155 | 152 | char_pen = data & 0x07; |
| 156 | if(data & 0xf0) | |
| 157 | char_pen_vreg = data & 0xf0; | |
| 153 | progolf_gfx_switch = data & 0xf0; | |
| 154 | char_pen_vreg = data & 0x30; | |
| 158 | 155 | } |
| 159 | 156 | |
| 160 | 157 | static WRITE8_HANDLER( progolf_scrollx_lo_w ) |
| r5490 | r5491 | |
| 186 | 183 | return sound_cmd; |
| 187 | 184 | } |
| 188 | 185 | |
| 186 | static READ8_HANDLER( progolf_videoram_r ) | |
| 187 | { | |
| 188 | UINT8 *gfx_rom = memory_region(space->machine, "gfx1"); | |
| 189 | ||
| 190 | if (offset >= 0x0800) | |
| 191 | { | |
| 192 | if (progolf_gfx_switch == 0x50) | |
| 193 | return gfx_rom[offset]; | |
| 194 | else if (progolf_gfx_switch == 0x60) | |
| 195 | return gfx_rom[offset + 0x1000]; | |
| 196 | else if (progolf_gfx_switch == 0x70) | |
| 197 | return gfx_rom[offset + 0x2000]; | |
| 198 | else | |
| 199 | return videoram[offset]; | |
| 200 | } else { | |
| 201 | if (progolf_gfx_switch == 0x10) | |
| 202 | return gfx_rom[offset]; | |
| 203 | else if (progolf_gfx_switch == 0x20) | |
| 204 | return gfx_rom[offset + 0x1000]; | |
| 205 | else if (progolf_gfx_switch == 0x30) | |
| 206 | return gfx_rom[offset + 0x2000]; | |
| 207 | else | |
| 208 | return videoram[offset]; | |
| 209 | } | |
| 210 | } | |
| 211 | ||
| 212 | static WRITE8_HANDLER( progolf_videoram_w ) | |
| 213 | { | |
| 214 | //if(progolf_gfx_switch & 0x40) | |
| 215 | videoram[offset] = data; | |
| 216 | } | |
| 217 | ||
| 189 | 218 | static ADDRESS_MAP_START( main_cpu, ADDRESS_SPACE_PROGRAM, 8 ) |
| 190 | 219 | AM_RANGE(0x0000, 0x5fff) AM_RAM |
| 191 | 220 | AM_RANGE(0x6000, 0x7fff) AM_RAM_WRITE(progolf_charram_w) AM_BASE(&progolf_fbram) |
| 192 | AM_RANGE(0x8000, 0x8fff) AM_RA | |
| 221 | AM_RANGE(0x8000, 0x8fff) AM_READWRIT | |
| 193 | 222 | AM_RANGE(0x9000, 0x9000) AM_READ_PORT("IN2") AM_WRITE(progolf_char_vregs_w) |
| 194 | 223 | AM_RANGE(0x9200, 0x9200) AM_READ_PORT("P1") AM_WRITE(progolf_scrollx_hi_w) //p1 inputs |
| 195 | 224 | AM_RANGE(0x9400, 0x9400) AM_READ_PORT("P2") AM_WRITE(progolf_scrollx_lo_w) //p2 inputs |
| r5490 | r5491 | |
| 438 | 467 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 439 | 468 | ROM_LOAD( "g4-m.2a", 0xb000, 0x1000, CRC(8f06ebc0) SHA1(c012dcaf06cbd9e49f3ae819d9cbed4df8751cec) ) |
| 440 | 469 | ROM_LOAD( "g3-m.4a", 0xc000, 0x1000, CRC(8101b231) SHA1(d933992c93b3cd9a052ac40ec1fa92a181b28691) ) |
| 441 | ROM_LOAD( "g2-m.6a", 0xd000, 0x1000, | |
| 470 | ROM_LOAD( "g2-m.6a", 0xd000, 0x1000, | |
| 442 | 471 | ROM_LOAD( "g1-m.8a", 0xe000, 0x1000, CRC(749032eb) SHA1(daa356b2c70bcd8cdd0c4df4268b6158bc8aae8e) ) |
| 443 | 472 | ROM_LOAD( "g0-m.9a", 0xf000, 0x1000, CRC(8f8b1e8e) SHA1(fc877a8f2b26ea48c5ba2324678d6077f3432a79) ) |
| 444 | 473 | |
| r5490 | r5491 | |
| 489 | 518 | memory_set_decrypted_region(space,0x0000,0xffff, decrypted); |
| 490 | 519 | |
| 491 | 520 | /* Swap bits 5 & 6 for opcodes */ |
| 492 | for (A = 0xb000;A < 0x10000;A++) | |
| 521 | for (A = 0xb000 ; A < 0x10000 ; A++) | |
| 493 | 522 | decrypted[A] = BITSWAP8(rom[A],7,5,6,4,3,2,1,0); |
| 494 | ||
| 495 | /* | |
| 496 | CE12: B1 66 lda ($66),y | |
| 497 | CE14: 20 39 A7 jsr $C759 | |
| 498 | C759: E6 66 inc $66 | |
| 499 | C75B: D0 02 bne $C75F | |
| 500 | C75D: E6 67 inc $67 | |
| 501 | C75F: 60 rts | |
| 502 | CE17: C9 FD cmp #$FD | |
| 503 | CE19: F0 44 beq $CE3F | |
| 504 | CE1B: C9 FE cmp #$FE | |
| 505 | CE1D: F0 13 beq $CE32 | |
| 506 | CE1F: C9 FF cmp #$FF | |
| 507 | CE21: F0 4C beq $CE4F <- might go out there, this is the only branch in the entire rom that points to the rts | |
| 508 | ... | |
| 509 | CE48: 90 A3 bcc $CE0D | |
| 510 | CE4A: E6 69 inc $69 | |
| 511 | CE4C: 4C 0D AE jmp $CE0D | |
| 512 | CE4F: 60 rts | |
| 513 | */ | |
| 514 | ||
| 515 | decrypted[0xce21] = 0xd0; | |
| 516 | 523 | } |
| 517 | 524 | |
| 518 | 525 | static DRIVER_INIT( progolfa ) |
| r5490 | r5491 | |
| 526 | 533 | |
| 527 | 534 | /* data is likely to not be encrypted, just the opcodes are. */ |
| 528 | 535 | for (A = 0x0000 ; A < 0x10000 ; A++) |
| 536 | { | |
| 529 | 537 | if (A & 1) |
| 530 | 538 | decrypted[A] = BITSWAP8(rom[A],6,4,7,5,3,2,1,0); |
| 531 | 539 | else |
| 532 | 540 | decrypted[A] = rom[A]; |
| 541 | } | |
| 533 | 542 | } |
| 534 | 543 | |
| 535 | 544 | /* Maybe progolf is a bootleg? progolfa uses DECO CPU-6 as custom module CPU (the same as Zoar) */ |
| 536 | GAME( 1981, progolf, 0, progolf, progolf, progolf, ROT270, "Data East Corporation", "18 Holes Pro Golf (set 1)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_COCKTAIL ) | |
| 537 | GAME( 1981, progolfa, progolf, progolf, progolf, progolfa, ROT270, "Data East Corporation", "18 Holes Pro Golf (set 2)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_COCKTAIL ) // doesn't display anything | |
| 545 | GAME( 1981, progolf, 0, progolf, progolf, progolf, ROT270, "Data East Corporation", "18 Holes Pro Golf (set 1)", GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS ) | |
| 546 | GAME( 1981, progolfa, progolf, progolf, progolf, progolfa, ROT270, "Data East Corporation", "18 Holes Pro Golf (set 2)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_COCKTAIL ) |
| r5490 | r5491 | |
|---|---|---|
| 28 | 28 | - Protection emulation instead of patching the roms |
| 29 | 29 | - A few graphical bugs |
| 30 | 30 | - vbowl, vbowlj: trackball support, sound is slow and low volume |
| 31 | ||
| 31 | 32 | - lhb: in the copyright screen the '5' in '1995' is drawn by the cpu on layer 5, |
| 32 | 33 | but with wrong colors (since the top nibble of the affected pixels is left to 0xf) |
| 34 | (drgnwrld is like this too, maybe hacked, or a cheap year replacement by IGS) | |
| 35 | ||
| 33 | 36 | - dbc: in the title screen the '5' in '1995' is drawn by the cpu with wrong colors. |
| 37 | (see above comment) | |
| 34 | 38 | Also the background palette is wrong since the fade routine is called with wrong |
| 35 | 39 | parameters, but in this case the PCB does the same. |
| 36 | 40 | |
| r5490 | r5491 | |
| 440 | 444 | } |
| 441 | 445 | |
| 442 | 446 | |
| 443 | static void | |
| 447 | static void | |
| 444 | 448 | { |
| 445 | 449 | int i; |
| 446 | 450 | UINT16 *src = (UINT16 *) (memory_region(machine, "maincpu")); |
| r5490 | r5491 | |
| 468 | 472 | } |
| 469 | 473 | } |
| 470 | 474 | |
| 475 | static void drgnwrld_type2_decrypt(running_machine *machine) | |
| 476 | { | |
| 477 | int i; | |
| 478 | UINT16 *src = (UINT16 *) (memory_region(machine, "maincpu")); | |
| 471 | 479 | |
| 472 | static void drgnwrld_decrypt(running_machine *machine) | |
| 480 | int rom_size = 0x80000; | |
| 481 | ||
| 482 | for (i=0; i<rom_size/2; i++) | |
| 483 | { | |
| 484 | UINT16 x = src[i]; | |
| 485 | ||
| 486 | if(((i & 0x000090) == 0x000000) || ((i & 0x002004) != 0x002004)) | |
| 487 | x ^= 0x0004; | |
| 488 | ||
| 489 | if((((i & 0x000050) == 0x000000) || ((i & 0x000142) != 0x000000)) && ((i & 0x000150) != 0x000000)) | |
| 490 | x ^= 0x0020; | |
| 491 | ||
| 492 | if(((i & 0x004280) == 0x004000) || ((i & 0x004080) == 0x000000)) | |
| 493 | x ^= 0x0200; | |
| 494 | ||
| 495 | if((i & 0x0011a0) != 0x001000) | |
| 496 | x ^= 0x0200; | |
| 497 | ||
| 498 | if((i & 0x000180) == 0x000100) | |
| 499 | x ^= 0x0200; | |
| 500 | ||
| 501 | if((x & 0x0024) == 0x0020 || (x & 0x0024) == 0x0004) | |
| 502 | x ^= 0x0024; | |
| 503 | ||
| 504 | src[i] = x; | |
| 505 | } | |
| 506 | } | |
| 507 | ||
| 508 | static void drgnwrld_type1_decrypt(running_machine *machine) | |
| 473 | 509 | { |
| 474 | 510 | int i; |
| 475 | 511 | UINT16 *src = (UINT16 *) (memory_region(machine, "maincpu")); |
| r5490 | r5491 | |
| 635 | 671 | free(result_data); |
| 636 | 672 | } |
| 637 | 673 | |
| 638 | static void | |
| 674 | static void | |
| 639 | 675 | { |
| 640 | 676 | int i; |
| 641 | 677 | unsigned rom_size = 0x400000; |
| r5490 | r5491 | |
| 752 | 788 | |
| 753 | 789 | |
| 754 | 790 | |
| 755 | static WRITE16_HANDLER( | |
| 791 | static WRITE16_HANDLER( | |
| 756 | 792 | { |
| 757 | 793 | COMBINE_DATA(&igs_magic[offset]); |
| 758 | 794 | |
| r5490 | r5491 | |
| 777 | 813 | } |
| 778 | 814 | } |
| 779 | 815 | |
| 780 | static READ16_HANDLER( | |
| 816 | static READ16_HANDLER( | |
| 781 | 817 | { |
| 782 | 818 | switch(igs_magic[0]) |
| 783 | 819 | { |
| r5490 | r5491 | |
| 1078 | 1114 | |
| 1079 | 1115 | ***************************************************************************/ |
| 1080 | 1116 | |
| 1081 | static ADDRESS_MAP_START( | |
| 1117 | static ADDRESS_MAP_START( | |
| 1082 | 1118 | AM_RANGE( 0x000000, 0x07ffff ) AM_ROM |
| 1083 | 1119 | AM_RANGE( 0x100000, 0x103fff ) AM_RAM AM_BASE( &generic_nvram16 ) AM_SIZE( &generic_nvram_size ) |
| 1084 | 1120 | AM_RANGE( 0x200000, 0x200fff ) AM_RAM AM_BASE( &igs_priority_ram ) |
| r5490 | r5491 | |
| 1086 | 1122 | AM_RANGE( 0x500000, 0x500001 ) AM_READ_PORT( "COIN" ) |
| 1087 | 1123 | AM_RANGE( 0x600000, 0x600001 ) AM_DEVREADWRITE8( "oki", okim6295_r, okim6295_w, 0x00ff ) |
| 1088 | 1124 | AM_RANGE( 0x700000, 0x700003 ) AM_DEVWRITE8( "ym", ym3812_w, 0x00ff ) |
| 1089 | AM_RANGE( 0x800000, 0x800003 ) AM_WRITE( chindrag_magic_w ) | |
| 1090 | AM_RANGE( 0x800002, 0x800003 ) AM_READ ( chindrag_magic_r ) | |
| 1125 | AM_RANGE( 0x800000, 0x800003 ) AM_WRITE( drgnwrld_magic_w ) | |
| 1126 | AM_RANGE( 0x800002, 0x800003 ) AM_READ ( drgnwrld_magic_r ) | |
| 1091 | 1127 | AM_RANGE( 0xa20000, 0xa20001 ) AM_WRITE( igs_priority_w ) |
| 1092 | 1128 | AM_RANGE( 0xa40000, 0xa40001 ) AM_WRITE( igs_dips_w ) |
| 1093 | 1129 | AM_RANGE( 0xa58000, 0xa58001 ) AM_WRITE( igs_blit_x_w ) |
| r5490 | r5491 | |
| 1314 | 1350 | |
| 1315 | 1351 | ***************************************************************************/ |
| 1316 | 1352 | |
| 1317 | static INPUT_PORTS_START( | |
| 1353 | static INPUT_PORTS_START( | |
| 1318 | 1354 | PORT_START("DSW1") |
| 1319 | 1355 | PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coinage ) ) |
| 1320 | 1356 | PORT_DIPSETTING( 0x00, DEF_STR( 5C_1C ) ) |
| r5490 | r5491 | |
| 1410 | 1446 | INPUT_PORTS_END |
| 1411 | 1447 | |
| 1412 | 1448 | |
| 1413 | static INPUT_PORTS_START( | |
| 1449 | static INPUT_PORTS_START( | |
| 1414 | 1450 | PORT_START("DSW1") |
| 1415 | 1451 | PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coinage ) ) |
| 1416 | 1452 | PORT_DIPSETTING( 0x00, DEF_STR( 5C_1C ) ) |
| r5490 | r5491 | |
| 1631 | 1667 | INPUT_PORTS_END |
| 1632 | 1668 | |
| 1633 | 1669 | |
| 1634 | static INPUT_PORTS_START( drgnwrld ) | |
| 1670 | static INPUT_PORTS_START( drgnwrldj ) | |
| 1635 | 1671 | PORT_START("DSW1") |
| 1636 | 1672 | PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coinage ) ) |
| 1637 | 1673 | PORT_DIPSETTING( 0x00, DEF_STR( 5C_1C ) ) |
| r5490 | r5491 | |
| 2440 | 2476 | MACHINE_DRIVER_END |
| 2441 | 2477 | |
| 2442 | 2478 | |
| 2443 | static MACHINE_DRIVER_START( | |
| 2479 | static MACHINE_DRIVER_START( | |
| 2444 | 2480 | MDRV_IMPORT_FROM(igs_base) |
| 2445 | 2481 | MDRV_CPU_MODIFY("maincpu") |
| 2446 | MDRV_CPU_PROGRAM_MAP( | |
| 2482 | MDRV_CPU_PROGRAM_MAP( | |
| 2447 | 2483 | MDRV_CPU_VBLANK_INT_HACK(chmplst2_interrupt,1+4) // lev5 frequency drives the music tempo |
| 2448 | 2484 | |
| 2449 | 2485 | MDRV_SOUND_ADD("ym", YM3812, 3579545) |
| r5490 | r5491 | |
| 2566 | 2602 | { |
| 2567 | 2603 | UINT16 *rom = (UINT16 *) memory_region(machine, "maincpu"); |
| 2568 | 2604 | |
| 2569 | drgnwrld_decrypt(machine); | |
| 2570 | chindrag_gfx_decrypt(machine); | |
| 2605 | drgnwrld_type1_decrypt(machine); | |
| 2606 | drgnwrld_gfx_decrypt(machine); | |
| 2571 | 2607 | |
| 2572 | 2608 | // PROTECTION CHECKS |
| 2573 | 2609 | rom[0x032ee/2] = 0x606c; // 0032EE: 676C beq 335c (ASIC11 CHECK PORT ERROR 3) |
| r5490 | r5491 | |
| 2585 | 2621 | rom[0x2a16c/2] = 0x606c; // 02A16C: 676C beq 2a1da (ASIC11 CHECK PORT ERROR 2) |
| 2586 | 2622 | } |
| 2587 | 2623 | |
| 2588 | static DRIVER_INIT( drgwrld3 ) | |
| 2624 | static DRIVER_INIT( drgnwrldv30 ) | |
| 2589 | 2625 | { |
| 2590 | 2626 | UINT16 *rom = (UINT16 *) memory_region(machine, "maincpu"); |
| 2591 | 2627 | |
| 2592 | drgnwrld_decrypt(machine); | |
| 2593 | chindrag_gfx_decrypt(machine); | |
| 2628 | drgnwrld_type1_decrypt(machine); | |
| 2629 | drgnwrld_gfx_decrypt(machine); | |
| 2594 | 2630 | |
| 2595 | 2631 | // PROTECTION CHECKS |
| 2596 | 2632 | rom[0x032ee/2] = 0x606c; // 0032EE: 676C beq 335c (ASIC11 CHECK PORT ERROR 3) |
| r5490 | r5491 | |
| 2609 | 2645 | rom[0x2a162/2] = 0x606c; // 02A162: 676C beq 2a1d0 (ASIC11 CHECK PORT ERROR 2) |
| 2610 | 2646 | } |
| 2611 | 2647 | |
| 2612 | static DRIVER_INIT( | |
| 2648 | static DRIVER_INIT( | |
| 2613 | 2649 | { |
| 2614 | 2650 | UINT16 *rom = (UINT16 *) memory_region(machine, "maincpu"); |
| 2615 | 2651 | |
| 2616 | drgnwrld_decrypt(machine); | |
| 2617 | chindrag_gfx_decrypt(machine); | |
| 2652 | drgnwrld_type2_decrypt(machine); | |
| 2653 | drgnwrld_gfx_decrypt(machine); | |
| 2618 | 2654 | |
| 2619 | 2655 | // PROTECTION CHECKS |
| 2656 | rom[0x032ee/2] = 0x606c; // 0032EE: 676C beq 335c (ASIC11 CHECK PORT ERROR 3) | |
| 2657 | rom[0x11ca8/2] = 0x606c; // ?? | |
| 2658 | rom[0x23d5e/2] = 0x606c; // 023D5E: 676C beq 23dcc (CHECK PORT ERROR 1) | |
| 2659 | rom[0x23fd0/2] = 0x606c; // 023FD0: 676C beq 2403e (CHECK PORT ERROR 2) | |
| 2660 | rom[0x24170/2] = 0x606c; // 024170: 676C beq 241de (CHECK PORT ERROR 3) | |
| 2661 | rom[0x24348/2] = 0x606c; // 024348: 676C beq 243b6 (ASIC11 CHECK PORT ERROR 4) | |
| 2662 | rom[0x2454e/2] = 0x606c; // 02454E: 676C beq 245bc (ASIC11 CHECK PORT ERROR 3) | |
| 2663 | rom[0x246cc/2] = 0x606c; // 0246CC: 676C beq 2473a (ASIC11 CHECK PORT ERROR 2) | |
| 2664 | rom[0x24922/2] = 0x606c; // 024922: 676C beq 24990 (ASIC11 CHECK PORT ERROR 1) | |
| 2665 | rom[0x24b66/2] = 0x606c; // 024B66: 676C beq 24bd4 (ASIC12 CHECK PORT ERROR 4) | |
| 2666 | rom[0x24de2/2] = 0x606c; // 024DE2: 676C beq 24e50 (ASIC12 CHECK PORT ERROR 3) | |
| 2667 | rom[0x2502a/2] = 0x606c; // 02502A: 676C beq 25098 (ASIC12 CHECK PORT ERROR 2) | |
| 2668 | rom[0x25556/2] = 0x6000; // 025556: 6700 E584 beq 23adc (ASIC12 CHECK PORT ERROR 1) | |
| 2669 | rom[0x269de/2] = 0x606c; // ?? | |
| 2670 | rom[0x2766a/2] = 0x606c; // ?? | |
| 2671 | rom[0x2a830/2] = 0x606c; // ?? | |
| 2672 | } | |
| 2673 | ||
| 2674 | ||
| 2675 | static DRIVER_INIT( drgnwrldv10c ) | |
| 2676 | { | |
| 2677 | UINT16 *rom = (UINT16 *) memory_region(machine, "maincpu"); | |
| 2678 | ||
| 2679 | drgnwrld_type1_decrypt(machine); | |
| 2680 | drgnwrld_gfx_decrypt(machine); | |
| 2681 | ||
| 2682 | // PROTECTION CHECKS | |
| 2620 | 2683 | rom[0x033d2/2] = 0x606c; // 0033D2: 676C beq 3440 (ASIC11 CHECK PORT ERROR 3) |
| 2621 | 2684 | rom[0x23d0e/2] = 0x606c; // 023D0E: 676C beq 23d7c (CHECK PORT ERROR 1) |
| 2622 | 2685 | rom[0x23f58/2] = 0x606c; // 023F58: 676C beq 23fc6 (CHECK PORT ERROR 2) |
| r5490 | r5491 | |
| 2630 | 2693 | rom[0x24f8a/2] = 0x606c; // 024F8A: 676C beq 24ff8 (ASIC12 CHECK PORT ERROR 2) |
| 2631 | 2694 | rom[0x254b6/2] = 0x6000; // 0254B6: 6700 E5FC beq 23ab4 (ASIC12 CHECK PORT ERROR 1) |
| 2632 | 2695 | rom[0x2a23a/2] = 0x606c; // 02A23A: 676C beq 2a2a8 (ASIC11 CHECK PORT ERROR 2) |
| 2696 | ||
| 2633 | 2697 | } |
| 2634 | 2698 | |
| 2635 | static DRIVER_INIT( | |
| 2699 | static DRIVER_INIT( | |
| 2636 | 2700 | { |
| 2637 | drgnwrld_decrypt(machine); | |
| 2638 | chindrag_gfx_decrypt(machine); | |
| 2701 | drgnwrld_type1_decrypt(machine); | |
| 2702 | drgnwrld_gfx_decrypt(machine); | |
| 2639 | 2703 | |
| 2640 | 2704 | // PROTECTION CHECKS |
| 2641 | 2705 | // the protection checks are already pathed out like we do! |
| 2642 | 2706 | } |
| 2643 | 2707 | |
| 2644 | static DRIVER_INIT( | |
| 2708 | static DRIVER_INIT( | |
| 2645 | 2709 | { |
| 2646 | 2710 | UINT16 *rom = (UINT16 *) memory_region(machine, "maincpu"); |
| 2647 | 2711 | |
| 2648 | chindrag_decrypt(machine); | |
| 2649 | chindrag_gfx_decrypt(machine); | |
| 2712 | drgnwrld_type3_decrypt(machine); | |
| 2713 | drgnwrld_gfx_decrypt(machine); | |
| 2650 | 2714 | |
| 2651 | 2715 | // PROTECTION CHECKS |
| 2652 | 2716 | rom[0x033d2/2] = 0x606c; // 0033D2: 676C beq 3440 (ASIC11 CHECK PORT ERROR 3) |
| r5490 | r5491 | |
| 2667 | 2731 | rom[0x2a870/2] = 0x606c; // 02A870: 676C beq 2a8de (ASIC11 CHECK PORT ERROR 2) |
| 2668 | 2732 | } |
| 2669 | 2733 | |
| 2670 | static DRIVER_INIT( | |
| 2734 | static DRIVER_INIT( dr | |
| 2671 | 2735 | { |
| 2672 | 2736 | UINT16 *rom = (UINT16 *) memory_region(machine, "maincpu"); |
| 2673 | 2737 | |
| 2674 | chindrag_decrypt(machine); | |
| 2675 | chindrag_gfx_decrypt(machine); | |
| 2738 | drgnwrld_type3_decrypt(machine); | |
| 2739 | drgnwrld_gfx_decrypt(machine); | |
| 2676 | 2740 | |
| 2677 | 2741 | // PROTECTION CHECKS |
| 2678 | 2742 | rom[0x033d2/2] = 0x606c; // 0033D2: 676C beq 3440 (ASIC11 CHECK PORT ERROR 3) |
| r5490 | r5491 | |
| 2689 | 2753 | rom[0x24f8e/2] = 0x606c; // 024F8E: 676C beq 24ffc |
| 2690 | 2754 | rom[0x254ba/2] = 0x6000; // 0254BA: 6700 E620 beq 23adc (ASIC12 CHECK PORT ERROR 1) |
| 2691 | 2755 | rom[0x26a52/2] = 0x606c; // 026A52: 676C beq 26ac0 (ASIC12 CHECK PORT ERROR 1) |
| 2692 | // different from | |
| 2756 | // different from | |
| 2693 | 2757 | rom[0x276a0/2] = 0x606c; // 0276A0: 676C beq 2770e (CHECK PORT ERROR 3) |
| 2694 | 2758 | rom[0x2a86e/2] = 0x606c; // 02A86E: 676C beq 2a8dc (ASIC11 CHECK PORT ERROR 2) |
| 2695 | 2759 | } |
| r5490 | r5491 | |
| 2949 | 3013 | |
| 2950 | 3014 | ***************************************************************************/ |
| 2951 | 3015 | |
| 2952 | ROM_START( drgwrld3 ) | |
| 3016 | ROM_START( drgnwrldv30 ) | |
| 2953 | 3017 | ROM_REGION( 0x80000, "maincpu", 0 ) |
| 2954 | 3018 | ROM_LOAD16_WORD_SWAP( "chinadr-v0300.u3", 0x00000, 0x80000, CRC(5ac243e5) SHA1(50cccff0307239187ac2b65331ad2bcc666f8033) ) |
| 2955 | 3019 | |
| r5490 | r5491 | |
| 2960 | 3024 | ROM_LOAD( "igs-s0302.u43", 0x00000, 0x40000, CRC(fde63ce1) SHA1(cc32d2cace319fe4d5d0aa96d7addb2d1def62f2) ) |
| 2961 | 3025 | ROM_END |
| 2962 | 3026 | |
| 3027 | ROM_START( drgnwrldv21 ) | |
| 3028 | ROM_REGION( 0x80000, "maincpu", 0 ) | |
| 3029 | ROM_LOAD16_WORD_SWAP( "china-dr-v-0210.u3", 0x00000, 0x80000, CRC(60c2b018) SHA1(58563e3ccb51bd9d8362aa17c23743bb5a593c3b) ) | |
| 3030 | ||
| 3031 | ROM_REGION( 0x400000, "gfx1", 0 ) | |
| 3032 | ROM_LOAD( "igs-d0301.u39", 0x000000, 0x400000, CRC(78ab45d9) SHA1(c326ee9f150d766edd6886075c94dea3691b606d) ) | |
| 3033 | ||
| 3034 | ROM_REGION( 0x40000, "oki", 0 ) | |
| 3035 | ROM_LOAD( "china-dr-sp.u43", 0x00000, 0x40000, CRC(fde63ce1) SHA1(cc32d2cace319fe4d5d0aa96d7addb2d1def62f2) ) | |
| 3036 | ROM_END | |
| 3037 | ||
| 3038 | ||
| 2963 | 3039 | /*************************************************************************** |
| 2964 | 3040 | |
| 2965 | 3041 | Zhong Guo Long (China, V0303) |
| r5490 | r5491 | |
| 2996 | 3072 | |
| 2997 | 3073 | ***************************************************************************/ |
| 2998 | 3074 | |
| 2999 | ROM_START( | |
| 3075 | ROM_START( | |
| 3000 | 3076 | ROM_REGION( 0x80000, "maincpu", 0 ) |
| 3001 | 3077 | ROM_LOAD16_WORD_SWAP( "igs-d0303.u3", 0x00000, 0x80000, CRC(3b3c29bb) SHA1(77b7e58104314303985c283cce3aec40bd7b9334) ) |
| 3002 | 3078 | |
| r5490 | r5491 | |
| 3035 | 3111 | |
| 3036 | 3112 | ***************************************************************************/ |
| 3037 | 3113 | |
| 3038 | ROM_START( | |
| 3114 | ROM_START( dr | |
| 3039 | 3115 | ROM_REGION( 0x80000, "maincpu", 0 ) |
| 3040 | 3116 | ROM_LOAD16_WORD_SWAP( "china_jp.v20", 0x00000, 0x80000, CRC(9e018d1a) SHA1(fe14e6344434cabf43685e50fd49c90f05f565be) ) |
| 3041 | 3117 | |
| r5490 | r5491 | |
| 3048 | 3124 | ROM_LOAD( "igs-s0302.u43", 0x00000, 0x40000, CRC(fde63ce1) SHA1(cc32d2cace319fe4d5d0aa96d7addb2d1def62f2) ) // original label: "sp" |
| 3049 | 3125 | ROM_END |
| 3050 | 3126 | |
| 3051 | ROM_START( | |
| 3127 | ROM_START( | |
| 3052 | 3128 | ROM_REGION( 0x80000, "maincpu", 0 ) |
| 3053 | 3129 | ROM_LOAD16_WORD_SWAP( "v-021j", 0x00000, 0x80000, CRC(2f87f6e4) SHA1(d43065b078fdd9605c121988ad3092dce6cf0bf1) ) |
| 3054 | 3130 | |
| r5490 | r5491 | |
| 3066 | 3142 | |
| 3067 | 3143 | ***************************************************************************/ |
| 3068 | 3144 | |
| 3069 | ROM_START( | |
| 3145 | ROM_START( | |
| 3070 | 3146 | ROM_REGION( 0x80000, "maincpu", 0 ) |
| 3071 | 3147 | ROM_LOAD16_WORD_SWAP( "c_drgn_hk.u3", 0x00000, 0x80000, CRC(182037ce) SHA1(141b698777533e57493e588d2526523d4bd3e17d) ) |
| 3072 | 3148 | |
| r5490 | r5491 | |
| 3360 | 3436 | GAME( 1996, grtwall, xymg, grtwall, grtwall, grtwall, ROT0, "IGS", "Wan Li Chang Cheng (V638C)", 0 ) |
| 3361 | 3437 | GAME( 1996, vbowl, 0, vbowl, vbowl, vbowl, ROT0, "IGS", "Virtua Bowling (World, V101XCM)", GAME_IMPERFECT_SOUND ) |
| 3362 | 3438 | GAME( 1996, vbowlj, vbowl, vbowl, vbowlj, vbowlj, ROT0, "IGS / Alta", "Virtua Bowling (Japan, V100JCM)", GAME_IMPERFECT_SOUND ) |
| 3363 | GAME( 1997, drgnwrld, 0, chindrag, drgnwrld, drgnwrld, ROT0, "IGS", "Dragon World (World, V0400)", 0 ) | |
| 3364 | GAME( 1995, drgwrld3, drgnwrld, chindrag, drgnwrld, drgwrld3, ROT0, "IGS", "Dragon World (World, V0300)", 0 ) | |
| 3365 | GAME( 1995, chindrag, drgnwrld, chindrag, chindrag, chindrag, ROT0, "IGS / Alta", "Zhong Guo Long (Japan, V021J)", 0 ) | |
| 3366 | GAME( 1995, chugokur, drgnwrld, chindrag, chindrag, chugokur, ROT0, "IGS / Alta", "Zhong Guo Long (Japan, V020J)", 0 ) | |
| 3367 | GAME( 1995, chindrac, drgnwrld, chindrag, chindrac, chindrac, ROT0, "IGS", "Zhong Guo Long (China, V010C)", 0 ) | |
| 3368 | GAME( 1995, chindrah, drgnwrld, chindrag, chindrac, chindrah, ROT0, "IGS", "Dong Fang Zhi Zhu (Hong Kong, V011H)", 0 ) | |
| 3439 | ||
| 3440 | GAME( 1997, drgnwrld, 0, drgnwrld, drgnwrld, drgnwrld, ROT0, "IGS", "Dragon World (World, V040O)", 0 ) | |
| 3441 | GAME( 1995, drgnwrldv30, drgnwrld, drgnwrld, drgnwrld, drgnwrldv30, ROT0, "IGS", "Dragon World (World, V030O)", 0 ) | |
| 3442 | GAME( 1995, drgnwrldv21, drgnwrld, drgnwrld, drgnwrld, drgnwrldv21, ROT0, "IGS", "Dragon World (World, V021O)", 0 ) | |
| 3443 | GAME( 1995, drgnwrldv21j, drgnwrld, drgnwrld, drgnwrldj, drgnwrldv21j, ROT0, "IGS / Alta", "Zhong Guo Long (Japan, V021J)", 0 ) | |
| 3444 | GAME( 1995, drgnwrldv20j, drgnwrld, drgnwrld, drgnwrldj, drgnwrldv20j, ROT0, "IGS / Alta", "Zhong Guo Long (Japan, V020J)", 0 ) | |
| 3445 | GAME( 1995, drgnwrldv10c, drgnwrld, drgnwrld, drgnwrldc, drgnwrldv10c, ROT0, "IGS", "Zhong Guo Long (China, V010C)", 0 ) | |
| 3446 | GAME( 1995, drgnwrldv11h, drgnwrld, drgnwrld, drgnwrldc, drgnwrldv11h, ROT0, "IGS", "Dong Fang Zhi Zhu (Hong Kong, V011H)", 0 ) |
| r5490 | r5491 | |
|---|---|---|
| 1434 | 1434 | * |
| 1435 | 1435 | *************************************/ |
| 1436 | 1436 | |
| 1437 | GAME( 1981, elim2, 0, elim2, elim2, elim2, ORIENTATION_FLIP_Y, "Gremlin", "Eliminator (2 Players, set 1)", 0 ) | |
| 1438 | GAME( 1981, elim2a, elim2, elim2, elim2, elim2, ORIENTATION_FLIP_Y, "Gremlin", "Eliminator (2 Players, set 2)", 0 ) | |
| 1439 | GAME( 1981, elim2c, elim2, elim2, elim2c, elim2, ORIENTATION_FLIP_Y, "Gremlin", "Eliminator (2 Players, cocktail)", 0 ) | |
| 1440 | GAME( 1981, elim4, elim2, elim2, elim4, elim4, ORIENTATION_FLIP_Y, "Gremlin", "Eliminator (4 Players)", 0 ) | |
| 1441 | GAME( 1981, elim4p, elim2, elim2, elim4, elim4, ORIENTATION_FLIP_Y, "Gremlin", "Eliminator (4 Players, prototype)", 0 ) | |
| 1442 | GAME( 1981, spacfury, 0, spacfury, spacfury, spacfury, ORIENTATION_FLIP_Y, "Sega", "Space Fury (revision C)", 0 ) | |
| 1443 | GAME( 1981, spacfurya,spacfury, spacfury, spacfury, spacfury, ORIENTATION_FLIP_Y, "Sega", "Space Fury (revision A)", 0 ) | |
| 1444 | GAME( 1981, spacfuryb,spacfury, spacfury, spacfury, spacfury, ORIENTATION_FLIP_Y, "Sega", "Space Fury (revision B)", 0 ) | |
| 1445 | GAME( 1982, zektor, 0, zektor, zektor, zektor, ORIENTATION_FLIP_Y, "Sega", "Zektor (revision B)", 0 ) | |
| 1437 | GAME( 1981, elim2, 0, elim2, elim2, elim2, ORIENTATION_FLIP_Y, "Gremlin", "Eliminator (2 Players, set 1)", GAME_IMPERFECT_SOUND ) | |
| 1438 | GAME( 1981, elim2a, elim2, elim2, elim2, elim2, ORIENTATION_FLIP_Y, "Gremlin", "Eliminator (2 Players, set 2)", GAME_IMPERFECT_SOUND ) | |
| 1439 | GAME( 1981, elim2c, elim2, elim2, elim2c, elim2, ORIENTATION_FLIP_Y, "Gremlin", "Eliminator (2 Players, cocktail)", GAME_IMPERFECT_SOUND ) | |
| 1440 | GAME( 1981, elim4, elim2, elim2, elim4, elim4, ORIENTATION_FLIP_Y, "Gremlin", "Eliminator (4 Players)", GAME_IMPERFECT_SOUND ) | |
| 1441 | GAME( 1981, elim4p, elim2, elim2, elim4, elim4, ORIENTATION_FLIP_Y, "Gremlin", "Eliminator (4 Players, prototype)", GAME_IMPERFECT_SOUND ) | |
| 1442 | GAME( 1981, spacfury, 0, spacfury, spacfury, spacfury, ORIENTATION_FLIP_Y, "Sega", "Space Fury (revision C)", GAME_IMPERFECT_SOUND ) | |
| 1443 | GAME( 1981, spacfurya,spacfury, spacfury, spacfury, spacfury, ORIENTATION_FLIP_Y, "Sega", "Space Fury (revision A)", GAME_IMPERFECT_SOUND ) | |
| 1444 | GAME( 1981, spacfuryb,spacfury, spacfury, spacfury, spacfury, ORIENTATION_FLIP_Y, "Sega", "Space Fury (revision B)", GAME_IMPERFECT_SOUND ) | |
| 1445 | GAME( 1982, zektor, 0, zektor, zektor, zektor, ORIENTATION_FLIP_Y, "Sega", "Zektor (revision B)", GAME_IMPERFECT_SOUND ) | |
| 1446 | 1446 | GAME( 1982, tacscan, 0, tacscan, tacscan, tacscan, ORIENTATION_FLIP_X ^ ROT270, "Sega", "Tac/Scan", GAME_IMPERFECT_SOUND ) |
| 1447 | 1447 | GAME( 1982, startrek, 0, startrek, startrek, startrek, ORIENTATION_FLIP_Y, "Sega", "Star Trek", GAME_IMPERFECT_SOUND ) |
| r5490 | r5491 | |
|---|---|---|
| 1780 | 1780 | *************************************/ |
| 1781 | 1781 | |
| 1782 | 1782 | /* 90002 CPU board + 90700 game board + 91312 "characterization card" */ |
| 1783 | GAME( 1978, seawolf2, 0, seawolf2, seawolf2, seawolf2, ROT0, "Midway", "Seawolf II", GAME_SUPPORTS_SAVE ) | |
| 1783 | GAME( 1978, seawolf2, 0, seawolf2, seawolf2, seawolf2, ROT0, "Midway", "Seawolf II", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1784 | 1784 | |
| 1785 | 1785 | /* 91354 CPU board + 90700 game board + 91356 RAM board */ |
| 1786 | 1786 | GAME( 1980, ebases, 0, ebases, ebases, ebases, ROT0, "Midway", "Extra Bases", GAME_SUPPORTS_SAVE ) |
| r5490 | r5491 | |
| 1789 | 1789 | GAME( 1980, spacezap, 0, spacezap, spacezap, spacezap, ROT0, "Midway", "Space Zap", GAME_SUPPORTS_SAVE ) |
| 1790 | 1790 | |
| 1791 | 1791 | /* 91354 CPU board + 90708 game board + 91356 RAM board + 91355 pattern board + 91397 memory board */ |
| 1792 | GAME( 1980, wow, 0, wow, wow, wow, ROT0, "Midway", "Wizard of Wor", GAME_SUPPORTS_SAVE ) | |
| 1792 | GAME( 1980, wow, 0, wow, wow, wow, ROT0, "Midway", "Wizard of Wor", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1793 | 1793 | |
| 1794 | 1794 | /* 91354 CPU board + 90708 game board + 91356 RAM board + 91355 pattern board + 91364 ROM/RAM board */ |
| 1795 | GAMEL(1981, gorf, 0, gorf, gorf, gorf, ROT270, "Midway", "Gorf", GAME_SUPPORTS_SAVE, layout_gorf ) | |
| 1796 | GAMEL(1981, gorfpgm1, gorf, gorf, gorf, gorf, ROT270, "Midway", "Gorf (program 1)", GAME_SUPPORTS_SAVE, layout_gorf ) | |
| 1795 | GAMEL(1981, gorf, 0, gorf, gorf, gorf, ROT270, "Midway", "Gorf", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_gorf ) | |
| 1796 | GAMEL(1981, gorfpgm1, gorf, gorf, gorf, gorf, ROT270, "Midway", "Gorf (program 1)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_gorf ) | |
| 1797 | 1797 | |
| 1798 | 1798 | /* 91354 CPU board + 90708 game board + 91356 RAM board + 91355 pattern board + 91423 memory board */ |
| 1799 | 1799 | GAME( 1981, robby, 0, robby, robby, robby, ROT0, "Bally Midway", "Robby Roto", GAME_SUPPORTS_SAVE ) |
| r5490 | r5491 | |
|---|---|---|
| 782 | 782 | } |
| 783 | 783 | } |
| 784 | 784 | |
| 785 | static CUSTOM_INPUT( shifted_port_r ) { return input_port_read(field->port->machine, param) >> 4; } | |
| 785 | static CUSTOM_INPUT( shifted_port_r ) { return input_port_read(field->port->machine, (const char *)param) >> 4; } | |
| 786 | 786 | |
| 787 | 787 | static WRITE8_DEVICE_HANDLER( out_0 ) |
| 788 | 788 | { |
| r5490 | r5491 | |
| 1890 | 1890 | |
| 1891 | 1891 | ROM_START( bosco ) |
| 1892 | 1892 | ROM_REGION( 0x10000, "maincpu", 0 ) /* 64k for code for the first CPU */ |
| 1893 | ROM_LOAD( "bos3_1.bin", 0x0000, 0x1000, CRC(96021267) SHA1(bd49b0caabcccf9df45a272d767456a4fc8a7c07) ) | |
| 1894 | ROM_LOAD( "bos1_2.bin", 0x1000, 0x1000, CRC(2d8f3ebe) SHA1(75de1cba7531ae4bf7fbbef7b8e37b9fec4ed0d0) ) | |
| 1895 | ROM_LOAD( "bos1_3.bin", 0x2000, 0x1000, CRC(c80ccfa5) SHA1(f2bbec2ea9846d4601f06c0b4242744447a88fda) ) | |
| 1896 | ROM_LOAD( "bos1_4b.bin", 0x3000, 0x1000, CRC(a3f7f4ab) SHA1(eb26184311bae0767c7a5593926e6eadcbcb680e) ) | |
| 1893 | ROM_LOAD( "bos3_1.3n", 0x0000, 0x1000, CRC(96021267) SHA1(bd49b0caabcccf9df45a272d767456a4fc8a7c07) ) | |
| 1894 | ROM_LOAD( "bos1_2.3m", 0x1000, 0x1000, CRC(2d8f3ebe) SHA1(75de1cba7531ae4bf7fbbef7b8e37b9fec4ed0d0) ) | |
| 1895 | ROM_LOAD( "bos1_3.3l", 0x2000, 0x1000, CRC(c80ccfa5) SHA1(f2bbec2ea9846d4601f06c0b4242744447a88fda) ) | |
| 1896 | ROM_LOAD( "bos1_4b.3k", 0x3000, 0x1000, CRC(a3f7f4ab) SHA1(eb26184311bae0767c7a5593926e6eadcbcb680e) ) | |
| 1897 | 1897 | |
| 1898 | 1898 | ROM_REGION( 0x10000, "sub", 0 ) /* 64k for the second CPU */ |
| 1899 | ROM_LOAD( "bos1_5c.bin", 0x0000, 0x1000, CRC(a7c8e432) SHA1(3607be75daa10f1f98dbfd9e600c5ba513130d44) ) | |
| 1900 | ROM_LOAD( "bos3_6.bin", 0x1000, 0x1000, CRC(4543cf82) SHA1(50ad7d1ab6694eb8fab88d0fa79ee04f6984f3ca) ) | |
| 1899 | ROM_LOAD( "bos1_5c.3j", 0x0000, 0x1000, CRC(a7c8e432) SHA1(3607be75daa10f1f98dbfd9e600c5ba513130d44) ) | |
| 1900 | ROM_LOAD( "bos3_6.3h", 0x1000, 0x1000, CRC(4543cf82) SHA1(50ad7d1ab6694eb8fab88d0fa79ee04f6984f3ca) ) | |
| 1901 | 1901 | |
| 1902 | 1902 | ROM_REGION( 0x10000, "sub2", 0 ) /* 64k for the third CPU */ |
| 1903 | ROM_LOAD( " | |
| 1903 | ROM_LOAD( "bos1_7.3e", | |
| 1904 | 1904 | |
| 1905 | 1905 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 1906 | ROM_LOAD( " | |
| 1906 | ROM_LOAD( "bos1_14.5d", | |
| 1907 | 1907 | |
| 1908 | 1908 | ROM_REGION( 0x1000, "gfx2", 0 ) |
| 1909 | ROM_LOAD( " | |
| 1909 | ROM_LOAD( "bos1_13.5e", | |
| 1910 | 1910 | |
| 1911 | 1911 | ROM_REGION( 0x0100, "gfx3", 0 ) |
| 1912 | ROM_LOAD( " | |
| 1912 | ROM_LOAD( "b | |
| 1913 | 1913 | |
| 1914 | ROM_REGION( 0x0160, "proms", 0 ) | |
| 1915 | ROM_LOAD( "bosco.6b", 0x0000, 0x0020, CRC(d2b96fb0) SHA1(54c100ec9d173d7dd48a453ebed5f625053cb6e0) ) /* palette */ | |
| 1916 | ROM_LOAD( "bosco.4m", 0x0020, 0x0100, CRC(4e15d59c) SHA1(3542ead6421d169c3569e121ec2be304e108787c) ) /* lookup table */ | |
| 1917 | ROM_LOAD( "prom.2r", 0x0120, 0x0020, CRC(b88d5ba9) SHA1(7b97a38a540b7ca4b7d9ae338ec38b9b1a337846) ) /* video layout (not used) */ | |
| 1918 | ROM_LOAD( "prom.7h", 0x0140, 0x0020, CRC(87d61353) SHA1(c7493e52662c921625676a4a4e8cf4371bd938b7) ) /* video timing (not used) */ | |
| 1914 | ROM_REGION( 0x0260, "proms", 0 ) | |
| 1915 | ROM_LOAD( "bos1-6.6b", 0x0000, 0x0020, CRC(d2b96fb0) SHA1(54c100ec9d173d7dd48a453ebed5f625053cb6e0) ) /* palette */ | |
| 1916 | ROM_LOAD( "bos1-5.4m", 0x0020, 0x0100, CRC(4e15d59c) SHA1(3542ead6421d169c3569e121ec2be304e108787c) ) /* lookup table */ | |
| 1917 | ROM_LOAD( "bos1-3.2d", 0x0120, 0x0020, CRC(b88d5ba9) SHA1(7b97a38a540b7ca4b7d9ae338ec38b9b1a337846) ) /* video layout (not used) */ | |
| 1918 | ROM_LOAD( "bos1-7.7h", 0x0140, 0x0020, CRC(87d61353) SHA1(c7493e52662c921625676a4a4e8cf4371bd938b7) ) /* video timing (not used) */ | |
| 1919 | 1919 | |
| 1920 | 1920 | ROM_REGION( 0x0200, "namco", 0 ) |
| 1921 | ROM_LOAD( "prom.1d", 0x0000, 0x0100, CRC(de2316c6) SHA1(0e55c56046331888d1d3f0d9823d2ceb203e7d3f) ) | |
| 1922 | ROM_LOAD( "prom.5c", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 1921 | ROM_LOAD( "bos1-1.1d", 0x0000, 0x0100, CRC(de2316c6) SHA1(0e55c56046331888d1d3f0d9823d2ceb203e7d3f) ) | |
| 1922 | ROM_LOAD( "bos1-2.5c", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 1923 | 1923 | |
| 1924 | 1924 | ROM_REGION( 0x3000, "52xx", 0 ) /* ROMs for digitised speech */ |
| 1925 | ROM_LOAD( "4900.5n", 0x0000, 0x1000, CRC(09acc978) SHA1(2b264aaeb6eba70ad91593413dca733990e5467b) ) | |
| 1926 | ROM_LOAD( "5000.5m", 0x1000, 0x1000, CRC(e571e959) SHA1(9c81d7bec73bc605f7dd9a089171b0f34c4bb09a) ) | |
| 1927 | ROM_LOAD( "5100.5l", 0x2000, 0x1000, CRC(17ac9511) SHA1(266f3fae90d2fe38d109096d352863a52b379899) ) | |
| 1925 | ROM_LOAD( "bos1_9.5n", 0x0000, 0x1000, CRC(09acc978) SHA1(2b264aaeb6eba70ad91593413dca733990e5467b) ) | |
| 1926 | ROM_LOAD( "bos1_10.5m", 0x1000, 0x1000, CRC(e571e959) SHA1(9c81d7bec73bc605f7dd9a089171b0f34c4bb09a) ) | |
| 1927 | ROM_LOAD( "bos1_11.5k", 0x2000, 0x1000, CRC(17ac9511) SHA1(266f3fae90d2fe38d109096d352863a52b379899) ) | |
| 1928 | 1928 | ROM_END |
| 1929 | 1929 | |
| 1930 | 1930 | ROM_START( boscoo ) |
| 1931 | 1931 | ROM_REGION( 0x10000, "maincpu", 0 ) /* 64k for code for the first CPU */ |
| 1932 | ROM_LOAD( "bos1_1.bin", 0x0000, 0x1000, CRC(0d9920e7) SHA1(e7633233f603ccb5b7a970ed5b58ef361ef2c94e) ) | |
| 1933 | ROM_LOAD( "bos1_2.bin", 0x1000, 0x1000, CRC(2d8f3ebe) SHA1(75de1cba7531ae4bf7fbbef7b8e37b9fec4ed0d0) ) | |
| 1934 | ROM_LOAD( "bos1_3.bin", 0x2000, 0x1000, CRC(c80ccfa5) SHA1(f2bbec2ea9846d4601f06c0b4242744447a88fda) ) | |
| 1935 | ROM_LOAD( "bos1_4b.bin", 0x3000, 0x1000, CRC(a3f7f4ab) SHA1(eb26184311bae0767c7a5593926e6eadcbcb680e) ) | |
| 1932 | ROM_LOAD( "bos1_1.3n", 0x0000, 0x1000, CRC(0d9920e7) SHA1(e7633233f603ccb5b7a970ed5b58ef361ef2c94e) ) | |
| 1933 | ROM_LOAD( "bos1_2.3m", 0x1000, 0x1000, CRC(2d8f3ebe) SHA1(75de1cba7531ae4bf7fbbef7b8e37b9fec4ed0d0) ) | |
| 1934 | ROM_LOAD( "bos1_3.3l", 0x2000, 0x1000, CRC(c80ccfa5) SHA1(f2bbec2ea9846d4601f06c0b4242744447a88fda) ) | |
| 1935 | ROM_LOAD( "bos1_4b.3k", 0x3000, 0x1000, CRC(a3f7f4ab) SHA1(eb26184311bae0767c7a5593926e6eadcbcb680e) ) | |
| 1936 | 1936 | |
| 1937 | 1937 | ROM_REGION( 0x10000, "sub", 0 ) /* 64k for the second CPU */ |
| 1938 | ROM_LOAD( "bos1_5c.bin", 0x0000, 0x1000, CRC(a7c8e432) SHA1(3607be75daa10f1f98dbfd9e600c5ba513130d44) ) | |
| 1939 | ROM_LOAD( "2800.3h", 0x1000, 0x1000, CRC(31b8c648) SHA1(de0db24d385d2361ec989bf32388df8202ad535c) ) | |
| 1938 | ROM_LOAD( "bos1_5c.3j", 0x0000, 0x1000, CRC(a7c8e432) SHA1(3607be75daa10f1f98dbfd9e600c5ba513130d44) ) | |
| 1939 | ROM_LOAD( "bos1_6.3h", 0x1000, 0x1000, CRC(31b8c648) SHA1(de0db24d385d2361ec989bf32388df8202ad535c) ) | |
| 1940 | 1940 | |
| 1941 | 1941 | ROM_REGION( 0x10000, "sub2", 0 ) /* 64k for the third CPU */ |
| 1942 | ROM_LOAD( " | |
| 1942 | ROM_LOAD( "bos1_7.3e", | |
| 1943 | 1943 | |
| 1944 | 1944 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 1945 | ROM_LOAD( " | |
| 1945 | ROM_LOAD( "bos1_14.5d", | |
| 1946 | 1946 | |
| 1947 | 1947 | ROM_REGION( 0x1000, "gfx2", 0 ) |
| 1948 | ROM_LOAD( " | |
| 1948 | ROM_LOAD( "bos1_13.5e", | |
| 1949 | 1949 | |
| 1950 | 1950 | ROM_REGION( 0x0100, "gfx3", 0 ) |
| 1951 | ROM_LOAD( " | |
| 1951 | ROM_LOAD( "b | |
| 1952 | 1952 | |
| 1953 | 1953 | ROM_REGION( 0x0260, "proms", 0 ) |
| 1954 | ROM_LOAD( "bosco.6b", 0x0000, 0x0020, CRC(d2b96fb0) SHA1(54c100ec9d173d7dd48a453ebed5f625053cb6e0) ) /* palette */ | |
| 1955 | ROM_LOAD( "bosco.4m", 0x0020, 0x0100, CRC(4e15d59c) SHA1(3542ead6421d169c3569e121ec2be304e108787c) ) /* lookup table */ | |
| 1956 | ROM_LOAD( "prom.2r", 0x0120, 0x0020, CRC(b88d5ba9) SHA1(7b97a38a540b7ca4b7d9ae338ec38b9b1a337846) ) /* video layout (not used) */ | |
| 1957 | ROM_LOAD( "prom.7h", 0x0140, 0x0020, CRC(87d61353) SHA1(c7493e52662c921625676a4a4e8cf4371bd938b7) ) /* video timing (not used) */ | |
| 1954 | ROM_LOAD( "bos1-6.6b", 0x0000, 0x0020, CRC(d2b96fb0) SHA1(54c100ec9d173d7dd48a453ebed5f625053cb6e0) ) /* palette */ | |
| 1955 | ROM_LOAD( "bos1-5.4m", 0x0020, 0x0100, CRC(4e15d59c) SHA1(3542ead6421d169c3569e121ec2be304e108787c) ) /* lookup table */ | |
| 1956 | ROM_LOAD( "bos1-3.2d", 0x0120, 0x0020, CRC(b88d5ba9) SHA1(7b97a38a540b7ca4b7d9ae338ec38b9b1a337846) ) /* video layout (not used) */ | |
| 1957 | ROM_LOAD( "bos1-7.7h", 0x0140, 0x0020, CRC(87d61353) SHA1(c7493e52662c921625676a4a4e8cf4371bd938b7) ) /* video timing (not used) */ | |
| 1958 | 1958 | |
| 1959 | 1959 | ROM_REGION( 0x0200, "namco", 0 ) |
| 1960 | ROM_LOAD( "prom.1d", 0x0000, 0x0100, CRC(de2316c6) SHA1(0e55c56046331888d1d3f0d9823d2ceb203e7d3f) ) | |
| 1961 | ROM_LOAD( "prom.5c", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 1960 | ROM_LOAD( "bos1-1.1d", 0x0000, 0x0100, CRC(de2316c6) SHA1(0e55c56046331888d1d3f0d9823d2ceb203e7d3f) ) | |
| 1961 | ROM_LOAD( "bos1-2.5c", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 1962 | 1962 | |
| 1963 | 1963 | ROM_REGION( 0x3000, "52xx", 0 ) /* ROMs for digitised speech */ |
| 1964 | ROM_LOAD( "4900.5n", 0x0000, 0x1000, CRC(09acc978) SHA1(2b264aaeb6eba70ad91593413dca733990e5467b) ) | |
| 1965 | ROM_LOAD( "5000.5m", 0x1000, 0x1000, CRC(e571e959) SHA1(9c81d7bec73bc605f7dd9a089171b0f34c4bb09a) ) | |
| 1966 | ROM_LOAD( "5100.5l", 0x2000, 0x1000, CRC(17ac9511) SHA1(266f3fae90d2fe38d109096d352863a52b379899) ) | |
| 1964 | ROM_LOAD( "bos1_9.5n", 0x0000, 0x1000, CRC(09acc978) SHA1(2b264aaeb6eba70ad91593413dca733990e5467b) ) | |
| 1965 | ROM_LOAD( "bos1_10.5m", 0x1000, 0x1000, CRC(e571e959) SHA1(9c81d7bec73bc605f7dd9a089171b0f34c4bb09a) ) | |
| 1966 | ROM_LOAD( "bos1_11.5k", 0x2000, 0x1000, CRC(17ac9511) SHA1(266f3fae90d2fe38d109096d352863a52b379899) ) | |
| 1967 | 1967 | ROM_END |
| 1968 | 1968 | |
| 1969 | 1969 | ROM_START( boscoo2 ) |
| 1970 | 1970 | ROM_REGION( 0x10000, "maincpu", 0 ) /* 64k for code for the first CPU */ |
| 1971 | ROM_LOAD( "bos1_1.bin", 0x0000, 0x1000, CRC(0d9920e7) SHA1(e7633233f603ccb5b7a970ed5b58ef361ef2c94e) ) | |
| 1972 | ROM_LOAD( "bos1_2.bin", 0x1000, 0x1000, CRC(2d8f3ebe) SHA1(75de1cba7531ae4bf7fbbef7b8e37b9fec4ed0d0) ) | |
| 1973 | ROM_LOAD( "bos1_3.bin", 0x2000, 0x1000, CRC(c80ccfa5) SHA1(f2bbec2ea9846d4601f06c0b4242744447a88fda) ) | |
| 1971 | ROM_LOAD( "bos1_1.3n", 0x0000, 0x1000, CRC(0d9920e7) SHA1(e7633233f603ccb5b7a970ed5b58ef361ef2c94e) ) | |
| 1972 | ROM_LOAD( "bos1_2.3m", 0x1000, 0x1000, CRC(2d8f3ebe) SHA1(75de1cba7531ae4bf7fbbef7b8e37b9fec4ed0d0) ) | |
| 1973 | ROM_LOAD( "bos1_3.3l", 0x2000, 0x1000, CRC(c80ccfa5) SHA1(f2bbec2ea9846d4601f06c0b4242744447a88fda) ) | |
| 1974 | 1974 | ROM_LOAD( "bos1_4.3k", 0x3000, 0x1000, CRC(7ebea2b8) SHA1(92fc66526ed77f3efd947b7d321b255aba4a0140) ) |
| 1975 | 1975 | |
| 1976 | 1976 | ROM_REGION( 0x10000, "sub", 0 ) /* 64k for the second CPU */ |
| 1977 | 1977 | ROM_LOAD( "bos1_5b.3j", 0x0000, 0x1000, CRC(3d6955a8) SHA1(f89860d74865da5ced2f5b2196bdaa8eeb5e2322) ) |
| 1978 | ROM_LOAD( " | |
| 1978 | ROM_LOAD( "bos1_6.3h", | |
| 1979 | 1979 | |
| 1980 | 1980 | ROM_REGION( 0x10000, "sub2", 0 ) /* 64k for the third CPU */ |
| 1981 | ROM_LOAD( " | |
| 1981 | ROM_LOAD( "bos1_7.3e", | |
| 1982 | 1982 | |
| 1983 | 1983 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 1984 | ROM_LOAD( " | |
| 1984 | ROM_LOAD( "bos1_14.5d", | |
| 1985 | 1985 | |
| 1986 | 1986 | ROM_REGION( 0x1000, "gfx2", 0 ) |
| 1987 | ROM_LOAD( " | |
| 1987 | ROM_LOAD( "bos1_13.5e", | |
| 1988 | 1988 | |
| 1989 | 1989 | ROM_REGION( 0x0100, "gfx3", 0 ) |
| 1990 | ROM_LOAD( " | |
| 1990 | ROM_LOAD( "b | |
| 1991 | 1991 | |
| 1992 | 1992 | ROM_REGION( 0x0260, "proms", 0 ) |
| 1993 | ROM_LOAD( "bosco.6b", 0x0000, 0x0020, CRC(d2b96fb0) SHA1(54c100ec9d173d7dd48a453ebed5f625053cb6e0) ) /* palette */ | |
| 1994 | ROM_LOAD( "bosco.4m", 0x0020, 0x0100, CRC(4e15d59c) SHA1(3542ead6421d169c3569e121ec2be304e108787c) ) /* lookup table */ | |
| 1995 | ROM_LOAD( "prom.2r", 0x0120, 0x0020, CRC(b88d5ba9) SHA1(7b97a38a540b7ca4b7d9ae338ec38b9b1a337846) ) /* video layout (not used) */ | |
| 1996 | ROM_LOAD( "prom.7h", 0x0140, 0x0020, CRC(87d61353) SHA1(c7493e52662c921625676a4a4e8cf4371bd938b7) ) /* video timing (not used) */ | |
| 1993 | ROM_LOAD( "bos1-6.6b", 0x0000, 0x0020, CRC(d2b96fb0) SHA1(54c100ec9d173d7dd48a453ebed5f625053cb6e0) ) /* palette */ | |
| 1994 | ROM_LOAD( "bos1-5.4m", 0x0020, 0x0100, CRC(4e15d59c) SHA1(3542ead6421d169c3569e121ec2be304e108787c) ) /* lookup table */ | |
| 1995 | ROM_LOAD( "bos1-3.2d", 0x0120, 0x0020, CRC(b88d5ba9) SHA1(7b97a38a540b7ca4b7d9ae338ec38b9b1a337846) ) /* video layout (not used) */ | |
| 1996 | ROM_LOAD( "bos1-7.7h", 0x0140, 0x0020, CRC(87d61353) SHA1(c7493e52662c921625676a4a4e8cf4371bd938b7) ) /* video timing (not used) */ | |
| 1997 | 1997 | |
| 1998 | 1998 | ROM_REGION( 0x0200, "namco", 0 ) |
| 1999 | ROM_LOAD( "prom.1d", 0x0000, 0x0100, CRC(de2316c6) SHA1(0e55c56046331888d1d3f0d9823d2ceb203e7d3f) ) | |
| 2000 | ROM_LOAD( "prom.5c", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 1999 | ROM_LOAD( "bos1-1.1d", 0x0000, 0x0100, CRC(de2316c6) SHA1(0e55c56046331888d1d3f0d9823d2ceb203e7d3f) ) | |
| 2000 | ROM_LOAD( "bos1-2.5c", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 2001 | 2001 | |
| 2002 | 2002 | ROM_REGION( 0x3000, "52xx", 0 ) /* ROMs for digitised speech */ |
| 2003 | ROM_LOAD( "4900.5n", 0x0000, 0x1000, CRC(09acc978) SHA1(2b264aaeb6eba70ad91593413dca733990e5467b) ) | |
| 2004 | ROM_LOAD( "5000.5m", 0x1000, 0x1000, CRC(e571e959) SHA1(9c81d7bec73bc605f7dd9a089171b0f34c4bb09a) ) | |
| 2005 | ROM_LOAD( "5100.5l", 0x2000, 0x1000, CRC(17ac9511) SHA1(266f3fae90d2fe38d109096d352863a52b379899) ) | |
| 2003 | ROM_LOAD( "bos1_9.5n", 0x0000, 0x1000, CRC(09acc978) SHA1(2b264aaeb6eba70ad91593413dca733990e5467b) ) | |
| 2004 | ROM_LOAD( "bos1_10.5m", 0x1000, 0x1000, CRC(e571e959) SHA1(9c81d7bec73bc605f7dd9a089171b0f34c4bb09a) ) | |
| 2005 | ROM_LOAD( "bos1_11.5k", 0x2000, 0x1000, CRC(17ac9511) SHA1(266f3fae90d2fe38d109096d352863a52b379899) ) | |
| 2006 | 2006 | ROM_END |
| 2007 | 2007 | |
| 2008 | 2008 | /* |
| r5490 | r5491 | |
| 2265 | 2265 | |
| 2266 | 2266 | ROM_START( galaga ) |
| 2267 | 2267 | ROM_REGION( 0x10000, "maincpu", 0 ) /* 64k for code for the first CPU */ |
| 2268 | ROM_LOAD( "gg1-1b.3p", 0x0000, 0x1000, CRC(ab036c9f) SHA1(ca7f5da42d4e76fd89bb0b35198a23c01462fbfe) ) | |
| 2269 | ROM_LOAD( "gg1-2b.3m", 0x1000, 0x1000, CRC(d9232240) SHA1(ab202aa259c3d332ef13dfb8fc8580ce2a5a253d) ) | |
| 2270 | ROM_LOAD( "gg1-3.2m", 0x2000, 0x1000, CRC(753ce503) SHA1(481f443aea3ed3504ec2f3a6bfcf3cd47e2f8f81) ) | |
| 2271 | ROM_LOAD( "gg1-4b.2l", 0x3000, 0x1000, CRC(499fcc76) SHA1(ddb8b121903646c320939c7d13f4aa4ebb130378) ) | |
| 2268 | ROM_LOAD( "gg1_1b.3p", 0x0000, 0x1000, CRC(ab036c9f) SHA1(ca7f5da42d4e76fd89bb0b35198a23c01462fbfe) ) | |
| 2269 | ROM_LOAD( "gg1_2b.3m", 0x1000, 0x1000, CRC(d9232240) SHA1(ab202aa259c3d332ef13dfb8fc8580ce2a5a253d) ) | |
| 2270 | ROM_LOAD( "gg1_3.2m", 0x2000, 0x1000, CRC(753ce503) SHA1(481f443aea3ed3504ec2f3a6bfcf3cd47e2f8f81) ) | |
| 2271 | ROM_LOAD( "gg1_4b.2l", 0x3000, 0x1000, CRC(499fcc76) SHA1(ddb8b121903646c320939c7d13f4aa4ebb130378) ) | |
| 2272 | 2272 | |
| 2273 | 2273 | ROM_REGION( 0x10000, "sub", 0 ) /* 64k for the second CPU */ |
| 2274 | ROM_LOAD( "gg1 | |
| 2274 | ROM_LOAD( "gg1_5b.3f", 0x0000, 0x1000, CRC(bb5caae3) SHA1(e957a581463caac27bc37ca2e2a90f27e4f62b6f) ) | |
| 2275 | 2275 | |
| 2276 | 2276 | ROM_REGION( 0x10000, "sub2", 0 ) /* 64k for the third CPU */ |
| 2277 | ROM_LOAD( "gg1 | |
| 2277 | ROM_LOAD( "gg1_7b.2c", 0x0000, 0x1000, CRC(d016686b) SHA1(44c1a04fba3c7c826ff484185cb881b4b22e6657) ) | |
| 2278 | 2278 | |
| 2279 | 2279 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 2280 | ROM_LOAD( "gg1 | |
| 2280 | ROM_LOAD( "gg1_9.4l", 0x0000, 0x1000, CRC(58b2f47c) SHA1(62f1279a784ab2f8218c4137c7accda00e6a3490) ) | |
| 2281 | 2281 | |
| 2282 | 2282 | ROM_REGION( 0x2000, "gfx2", 0 ) |
| 2283 | ROM_LOAD( "gg1-11.4d", 0x0000, 0x1000, CRC(ad447c80) SHA1(e697c180178cabd1d32483c5d8889a40633f7857) ) | |
| 2284 | ROM_LOAD( "gg1-10.4f", 0x1000, 0x1000, CRC(dd6f1afc) SHA1(c340ed8c25e0979629a9a1730edc762bd72d0cff) ) | |
| 2283 | ROM_LOAD( "gg1_11.4d", 0x0000, 0x1000, CRC(ad447c80) SHA1(e697c180178cabd1d32483c5d8889a40633f7857) ) | |
| 2284 | ROM_LOAD( "gg1_10.4f", 0x1000, 0x1000, CRC(dd6f1afc) SHA1(c340ed8c25e0979629a9a1730edc762bd72d0cff) ) | |
| 2285 | 2285 | |
| 2286 | 2286 | ROM_REGION( 0x0220, "proms", 0 ) |
| 2287 | 2287 | ROM_LOAD( "prom-5.5n", 0x0000, 0x0020, CRC(54603c6b) SHA1(1a6dea13b4af155d9cb5b999a75d4f1eb9c71346) ) /* palette */ |
| r5490 | r5491 | |
| 2295 | 2295 | |
| 2296 | 2296 | ROM_START( galagao ) |
| 2297 | 2297 | ROM_REGION( 0x10000, "maincpu", 0 ) /* 64k for code for the first CPU */ |
| 2298 | ROM_LOAD( "gg1-1", 0x0000, 0x1000, CRC(a3a0f743) SHA1(6907773db7c002ecde5e41853603d53387c5c7cd) ) | |
| 2299 | ROM_LOAD( "gg1-2", 0x1000, 0x1000, CRC(43bb0d5c) SHA1(666975aed5ce84f09794c54b550d64d95ab311f0) ) | |
| 2298 | ROM_LOAD( "gg1-1.3p", 0x0000, 0x1000, CRC(a3a0f743) SHA1(6907773db7c002ecde5e41853603d53387c5c7cd) ) | |
| 2299 | ROM_LOAD( "gg1-2.3m", 0x1000, 0x1000, CRC(43bb0d5c) SHA1(666975aed5ce84f09794c54b550d64d95ab311f0) ) | |
| 2300 | 2300 | ROM_LOAD( "gg1-3.2m", 0x2000, 0x1000, CRC(753ce503) SHA1(481f443aea3ed3504ec2f3a6bfcf3cd47e2f8f81) ) |
| 2301 | ROM_LOAD( "gg1-4", | |
| 2301 | ROM_LOAD( "gg1-4.2l", | |
| 2302 | 2302 | |
| 2303 | 2303 | ROM_REGION( 0x10000, "sub", 0 ) /* 64k for the second CPU */ |
| 2304 | ROM_LOAD( "gg1-5", | |
| 2304 | ROM_LOAD( "gg1-5.3f", | |
| 2305 | 2305 | |
| 2306 | 2306 | ROM_REGION( 0x10000, "sub2", 0 ) /* 64k for the third CPU */ |
| 2307 | ROM_LOAD( "gg1-7", | |
| 2307 | ROM_LOAD( "gg1-7.2c", | |
| 2308 | 2308 | |
| 2309 | 2309 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 2310 | 2310 | ROM_LOAD( "gg1-9.4l", 0x0000, 0x1000, CRC(58b2f47c) SHA1(62f1279a784ab2f8218c4137c7accda00e6a3490) ) |
| r5490 | r5491 | |
| 2337 | 2337 | ROM_LOAD( "3700g.bin", 0x0000, 0x1000, CRC(b07f0aa4) SHA1(7528644a8480d0be2d0d37069515ed319e94778f) ) |
| 2338 | 2338 | |
| 2339 | 2339 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 2340 | ROM_LOAD( " | |
| 2340 | ROM_LOAD( "2600j.bin", | |
| 2341 | 2341 | |
| 2342 | 2342 | ROM_REGION( 0x2000, "gfx2", 0 ) |
| 2343 | ROM_LOAD( "gg1-11.4d", 0x0000, 0x1000, CRC(ad447c80) SHA1(e697c180178cabd1d32483c5d8889a40633f7857) ) | |
| 2344 | ROM_LOAD( "gg1-10.4f", 0x1000, 0x1000, CRC(dd6f1afc) SHA1(c340ed8c25e0979629a9a1730edc762bd72d0cff) ) | |
| 2343 | ROM_LOAD( "2800l.bin", 0x0000, 0x1000, CRC(ad447c80) SHA1(e697c180178cabd1d32483c5d8889a40633f7857) ) | |
| 2344 | ROM_LOAD( "2700k.bin", 0x1000, 0x1000, CRC(dd6f1afc) SHA1(c340ed8c25e0979629a9a1730edc762bd72d0cff) ) | |
| 2345 | 2345 | |
| 2346 | 2346 | ROM_REGION( 0x0220, "proms", 0 ) |
| 2347 | 2347 | ROM_LOAD( "prom-5.5n", 0x0000, 0x0020, CRC(54603c6b) SHA1(1a6dea13b4af155d9cb5b999a75d4f1eb9c71346) ) /* palette */ |
| r5490 | r5491 | |
| 2367 | 2367 | ROM_LOAD( "3700g.bin", 0x0000, 0x1000, CRC(b07f0aa4) SHA1(7528644a8480d0be2d0d37069515ed319e94778f) ) |
| 2368 | 2368 | |
| 2369 | 2369 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 2370 | ROM_LOAD( " | |
| 2370 | ROM_LOAD( "2600j.bin", | |
| 2371 | 2371 | |
| 2372 | 2372 | ROM_REGION( 0x2000, "gfx2", 0 ) |
| 2373 | ROM_LOAD( "gg1-11.4d", 0x0000, 0x1000, CRC(ad447c80) SHA1(e697c180178cabd1d32483c5d8889a40633f7857) ) | |
| 2374 | ROM_LOAD( "gg1-10.4f", 0x1000, 0x1000, CRC(dd6f1afc) SHA1(c340ed8c25e0979629a9a1730edc762bd72d0cff) ) | |
| 2373 | ROM_LOAD( "2800l.bin", 0x0000, 0x1000, CRC(ad447c80) SHA1(e697c180178cabd1d32483c5d8889a40633f7857) ) | |
| 2374 | ROM_LOAD( "2700k.bin", 0x1000, 0x1000, CRC(dd6f1afc) SHA1(c340ed8c25e0979629a9a1730edc762bd72d0cff) ) | |
| 2375 | 2375 | |
| 2376 | 2376 | ROM_REGION( 0x0220, "proms", 0 ) |
| 2377 | 2377 | ROM_LOAD( "prom-5.5n", 0x0000, 0x0020, CRC(54603c6b) SHA1(1a6dea13b4af155d9cb5b999a75d4f1eb9c71346) ) /* palette */ |
| r5490 | r5491 | |
| 2391 | 2391 | ROM_LOAD( "mk2-4", 0x3000, 0x1000, CRC(24b767f5) SHA1(d4c03e2ed582cfa7f8168ac352f790ef7af54cb8) ) |
| 2392 | 2392 | |
| 2393 | 2393 | ROM_REGION( 0x10000, "sub", 0 ) /* 64k for the second CPU */ |
| 2394 | ROM_LOAD( "gg1-5", | |
| 2394 | ROM_LOAD( "gg1-5.3f", | |
| 2395 | 2395 | |
| 2396 | 2396 | ROM_REGION( 0x10000, "sub2", 0 ) /* 64k for the third CPU */ |
| 2397 | 2397 | ROM_LOAD( "gg1-7b.2c", 0x0000, 0x1000, CRC(d016686b) SHA1(44c1a04fba3c7c826ff484185cb881b4b22e6657) ) |
| r5490 | r5491 | |
| 2415 | 2415 | |
| 2416 | 2416 | ROM_START( gallag ) |
| 2417 | 2417 | ROM_REGION( 0x10000, "maincpu", 0 ) /* 64k for code for the first CPU */ |
| 2418 | ROM_LOAD( "gg1 | |
| 2418 | ROM_LOAD( "gallag.1 | |
| 2419 | 2419 | ROM_LOAD( "gallag.2", 0x1000, 0x1000, CRC(5eda60a7) SHA1(853d7b974dd04abd7af3a8ba2681dfabce4dce18) ) |
| 2420 | ROM_LOAD( "gg1-3.2m", 0x2000, 0x1000, CRC(753ce503) SHA1(481f443aea3ed3504ec2f3a6bfcf3cd47e2f8f81) ) | |
| 2421 | ROM_LOAD( "gg1-4", 0x3000, 0x1000, CRC(83874442) SHA1(366cb0dbd31b787e64f88d182108b670d03b393e) ) | |
| 2420 | ROM_LOAD( "gallag.3", 0x2000, 0x1000, CRC(753ce503) SHA1(481f443aea3ed3504ec2f3a6bfcf3cd47e2f8f81) ) | |
| 2421 | ROM_LOAD( "gallag.4", 0x3000, 0x1000, CRC(83874442) SHA1(366cb0dbd31b787e64f88d182108b670d03b393e) ) | |
| 2422 | 2422 | |
| 2423 | 2423 | ROM_REGION( 0x10000, "sub", 0 ) /* 64k for the second CPU */ |
| 2424 | ROM_LOAD( "gg | |
| 2424 | ROM_LOAD( "gallag. | |
| 2425 | 2425 | |
| 2426 | 2426 | ROM_REGION( 0x10000, "sub2", 0 ) /* 64k for the third CPU */ |
| 2427 | ROM_LOAD( "gg | |
| 2427 | ROM_LOAD( "gallag. | |
| 2428 | 2428 | |
| 2429 | 2429 | ROM_REGION( 0x10000, "sub3", 0 ) /* 64k for a Z80 which emulates the custom I/O chip (not used) */ |
| 2430 | 2430 | ROM_LOAD( "gallag.6", 0x0000, 0x1000, CRC(001b70bc) SHA1(b465eee91e75257b7b049d49c0064ab5fd66c576) ) |
| r5490 | r5491 | |
| 2433 | 2433 | ROM_LOAD( "gallag.8", 0x0000, 0x1000, CRC(169a98a4) SHA1(edbeb11076061e744ea88d9899dbdfe0964c7e78) ) |
| 2434 | 2434 | |
| 2435 | 2435 | ROM_REGION( 0x2000, "gfx2", 0 ) |
| 2436 | ROM_LOAD( "gg1-11.4d", 0x0000, 0x1000, CRC(ad447c80) SHA1(e697c180178cabd1d32483c5d8889a40633f7857) ) | |
| 2437 | ROM_LOAD( "gg1-10.4f", 0x1000, 0x1000, CRC(dd6f1afc) SHA1(c340ed8c25e0979629a9a1730edc762bd72d0cff) ) | |
| 2436 | ROM_LOAD( "gallag.a", 0x0000, 0x1000, CRC(ad447c80) SHA1(e697c180178cabd1d32483c5d8889a40633f7857) ) | |
| 2437 | ROM_LOAD( "gallag.9", 0x1000, 0x1000, CRC(dd6f1afc) SHA1(c340ed8c25e0979629a9a1730edc762bd72d0cff) ) | |
| 2438 | 2438 | |
| 2439 | 2439 | ROM_REGION( 0x0220, "proms", 0 ) |
| 2440 | 2440 | ROM_LOAD( "prom-5.5n", 0x0000, 0x0020, CRC(54603c6b) SHA1(1a6dea13b4af155d9cb5b999a75d4f1eb9c71346) ) /* palette */ |
| r5490 | r5491 | |
| 2454 | 2454 | ROM_LOAD( "4.4e", 0x3000, 0x1000, CRC(bf9f613b) SHA1(41c852fc77f0f35bf48a5b81a19234ed99871c89) ) |
| 2455 | 2455 | |
| 2456 | 2456 | ROM_REGION( 0x10000, "sub", 0 ) /* 64k for the second CPU */ |
| 2457 | ROM_LOAD( "gg1-5", | |
| 2457 | ROM_LOAD( "gg1-5.3f", | |
| 2458 | 2458 | |
| 2459 | 2459 | ROM_REGION( 0x10000, "sub2", 0 ) /* 64k for the third CPU */ |
| 2460 | ROM_LOAD( "gg1-7", | |
| 2460 | ROM_LOAD( "gg1-7.2c", | |
| 2461 | 2461 | |
| 2462 | 2462 | ROM_REGION( 0x10000, "sub3", 0 ) /* 64k for a Z80 which emulates the custom I/O chip (not used) */ |
| 2463 | 2463 | ROM_LOAD( "gallag.6", 0x0000, 0x1000, CRC(001b70bc) SHA1(b465eee91e75257b7b049d49c0064ab5fd66c576) ) |
| r5490 | r5491 | |
| 2524 | 2524 | ROM_LOAD( "xvi_11.2c", 0x3000, 0x1000, CRC(31e244dd) SHA1(3f7eac12863697a98e1122111801606759e44b2a) ) |
| 2525 | 2525 | |
| 2526 | 2526 | ROM_REGION( 0x0b00, "proms", 0 ) |
| 2527 | ROM_LOAD( "xvi_8bpr.6a", 0x0000, 0x0100, CRC(5cc2727f) SHA1(0dc1e63a47a4cb0ba75f6f1e0c15e408bb0ee2a1) ) /* palette red component */ | |
| 2528 | ROM_LOAD( "xvi_9bpr.6d", 0x0100, 0x0100, CRC(5c8796cc) SHA1(63015e3c0874afc6b1ca032f1ffb8f90562c77c8) ) /* palette green component */ | |
| 2529 | ROM_LOAD( "xvi10bpr.6e", 0x0200, 0x0100, CRC(3cb60975) SHA1(c94d5a5dd4d8a08d6d39c051a4a722581b903f45) ) /* palette blue component */ | |
| 2530 | ROM_LOAD( "xvi_7bpr.4h", 0x0300, 0x0200, CRC(22d98032) SHA1(ec6626828c79350417d08b98e9631ad35edd4a41) ) /* bg tiles lookup table low bits */ | |
| 2531 | ROM_LOAD( "xvi_6bpr.4f", 0x0500, 0x0200, CRC(3a7599f0) SHA1(a4bdf58c190ca16fc7b976c97f41087a61fdb8b8) ) /* bg tiles lookup table high bits */ | |
| 2532 | ROM_LOAD( "xvi_4bpr.3l", 0x0700, 0x0200, CRC(fd8b9d91) SHA1(87ddf0b9d723aabb422d6d416aa9ec6bc246bf34) ) /* sprite lookup table low bits */ | |
| 2533 | ROM_LOAD( "xvi_5bpr.3m", 0x0900, 0x0200, CRC(bf906d82) SHA1(776168a73d3b9f0ce05610acc8a623deae0a572b) ) /* sprite lookup table high bits */ | |
| 2527 | ROM_LOAD( "xvi-8.6a", 0x0000, 0x0100, CRC(5cc2727f) SHA1(0dc1e63a47a4cb0ba75f6f1e0c15e408bb0ee2a1) ) /* palette red component */ | |
| 2528 | ROM_LOAD( "xvi-9.6d", 0x0100, 0x0100, CRC(5c8796cc) SHA1(63015e3c0874afc6b1ca032f1ffb8f90562c77c8) ) /* palette green component */ | |
| 2529 | ROM_LOAD( "xvi-10.6e", 0x0200, 0x0100, CRC(3cb60975) SHA1(c94d5a5dd4d8a08d6d39c051a4a722581b903f45) ) /* palette blue component */ | |
| 2530 | ROM_LOAD( "xvi-7.4h", 0x0300, 0x0200, CRC(22d98032) SHA1(ec6626828c79350417d08b98e9631ad35edd4a41) ) /* bg tiles lookup table low bits */ | |
| 2531 | ROM_LOAD( "xvi-6.4f", 0x0500, 0x0200, CRC(3a7599f0) SHA1(a4bdf58c190ca16fc7b976c97f41087a61fdb8b8) ) /* bg tiles lookup table high bits */ | |
| 2532 | ROM_LOAD( "xvi-4.3l", 0x0700, 0x0200, CRC(fd8b9d91) SHA1(87ddf0b9d723aabb422d6d416aa9ec6bc246bf34) ) /* sprite lookup table low bits */ | |
| 2533 | ROM_LOAD( "xvi-5.3m", 0x0900, 0x0200, CRC(bf906d82) SHA1(776168a73d3b9f0ce05610acc8a623deae0a572b) ) /* sprite lookup table high bits */ | |
| 2534 | 2534 | |
| 2535 | 2535 | ROM_REGION( 0x0200, "namco", 0 ) /* sound PROMs */ |
| 2536 | ROM_LOAD( "xvi_2bpr.7n", 0x0000, 0x0100, CRC(550f06bc) SHA1(816a0fafa0b084ac11ae1af70a5186539376fc2a) ) | |
| 2537 | ROM_LOAD( "xvi_1bpr.5n", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 2536 | ROM_LOAD( "xvi-2.7n", 0x0000, 0x0100, CRC(550f06bc) SHA1(816a0fafa0b084ac11ae1af70a5186539376fc2a) ) | |
| 2537 | ROM_LOAD( "xvi-1.5n", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 2538 | 2538 | ROM_END |
| 2539 | 2539 | |
| 2540 | 2540 | /* |
| r5490 | r5491 | |
| 2576 | 2576 | ROM_LOAD( "xvi_11.2c", 0x3000, 0x1000, CRC(31e244dd) SHA1(3f7eac12863697a98e1122111801606759e44b2a) ) |
| 2577 | 2577 | |
| 2578 | 2578 | ROM_REGION( 0x0b00, "proms", 0 ) |
| 2579 | ROM_LOAD( "xvi_8bpr.6a", 0x0000, 0x0100, CRC(5cc2727f) SHA1(0dc1e63a47a4cb0ba75f6f1e0c15e408bb0ee2a1) ) /* palette red component */ | |
| 2580 | ROM_LOAD( "xvi_9bpr.6d", 0x0100, 0x0100, CRC(5c8796cc) SHA1(63015e3c0874afc6b1ca032f1ffb8f90562c77c8) ) /* palette green component */ | |
| 2581 | ROM_LOAD( "xvi10bpr.6e", 0x0200, 0x0100, CRC(3cb60975) SHA1(c94d5a5dd4d8a08d6d39c051a4a722581b903f45) ) /* palette blue component */ | |
| 2582 | ROM_LOAD( "xvi_7bpr.4h", 0x0300, 0x0200, CRC(22d98032) SHA1(ec6626828c79350417d08b98e9631ad35edd4a41) ) /* bg tiles lookup table low bits */ | |
| 2583 | ROM_LOAD( "xvi_6bpr.4f", 0x0500, 0x0200, CRC(3a7599f0) SHA1(a4bdf58c190ca16fc7b976c97f41087a61fdb8b8) ) /* bg tiles lookup table high bits */ | |
| 2584 | ROM_LOAD( "xvi_4bpr.3l", 0x0700, 0x0200, CRC(fd8b9d91) SHA1(87ddf0b9d723aabb422d6d416aa9ec6bc246bf34) ) /* sprite lookup table low bits */ | |
| 2585 | ROM_LOAD( "xvi_5bpr.3m", 0x0900, 0x0200, CRC(bf906d82) SHA1(776168a73d3b9f0ce05610acc8a623deae0a572b) ) /* sprite lookup table high bits */ | |
| 2579 | ROM_LOAD( "xvi-8.6a", 0x0000, 0x0100, CRC(5cc2727f) SHA1(0dc1e63a47a4cb0ba75f6f1e0c15e408bb0ee2a1) ) /* palette red component */ | |
| 2580 | ROM_LOAD( "xvi-9.6d", 0x0100, 0x0100, CRC(5c8796cc) SHA1(63015e3c0874afc6b1ca032f1ffb8f90562c77c8) ) /* palette green component */ | |
| 2581 | ROM_LOAD( "xvi-10.6e", 0x0200, 0x0100, CRC(3cb60975) SHA1(c94d5a5dd4d8a08d6d39c051a4a722581b903f45) ) /* palette blue component */ | |
| 2582 | ROM_LOAD( "xvi-7.4h", 0x0300, 0x0200, CRC(22d98032) SHA1(ec6626828c79350417d08b98e9631ad35edd4a41) ) /* bg tiles lookup table low bits */ | |
| 2583 | ROM_LOAD( "xvi-6.4f", 0x0500, 0x0200, CRC(3a7599f0) SHA1(a4bdf58c190ca16fc7b976c97f41087a61fdb8b8) ) /* bg tiles lookup table high bits */ | |
| 2584 | ROM_LOAD( "xvi-4.3l", 0x0700, 0x0200, CRC(fd8b9d91) SHA1(87ddf0b9d723aabb422d6d416aa9ec6bc246bf34) ) /* sprite lookup table low bits */ | |
| 2585 | ROM_LOAD( "xvi-5.3m", 0x0900, 0x0200, CRC(bf906d82) SHA1(776168a73d3b9f0ce05610acc8a623deae0a572b) ) /* sprite lookup table high bits */ | |
| 2586 | 2586 | |
| 2587 | 2587 | ROM_REGION( 0x0001, "pals_vidbd", 0) /* PAL's located on the video board */ |
| 2588 | 2588 | ROM_LOAD( "137294-001.1f", 0x0000, 0x0001, NO_DUMP ) /* N82S153N */ |
| 2589 | 2589 | |
| 2590 | 2590 | ROM_REGION( 0x0200, "namco", 0 ) /* sound PROMs */ |
| 2591 | ROM_LOAD( "xvi_2bpr.7n", 0x0000, 0x0100, CRC(550f06bc) SHA1(816a0fafa0b084ac11ae1af70a5186539376fc2a) ) | |
| 2592 | ROM_LOAD( "xvi_1bpr.5n", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 2591 | ROM_LOAD( "xvi-2.7n", 0x0000, 0x0100, CRC(550f06bc) SHA1(816a0fafa0b084ac11ae1af70a5186539376fc2a) ) | |
| 2592 | ROM_LOAD( "xvi-1.5n", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 2593 | 2593 | ROM_END |
| 2594 | 2594 | |
| 2595 | 2595 | ROM_START( xeviousb ) |
| r5490 | r5491 | |
| 2624 | 2624 | ROM_LOAD( "xvi_11.2c", 0x3000, 0x1000, CRC(31e244dd) SHA1(3f7eac12863697a98e1122111801606759e44b2a) ) |
| 2625 | 2625 | |
| 2626 | 2626 | ROM_REGION( 0x0b00, "proms", 0 ) |
| 2627 | ROM_LOAD( "xvi_8bpr.6a", 0x0000, 0x0100, CRC(5cc2727f) SHA1(0dc1e63a47a4cb0ba75f6f1e0c15e408bb0ee2a1) ) /* palette red component */ | |
| 2628 | ROM_LOAD( "xvi_9bpr.6d", 0x0100, 0x0100, CRC(5c8796cc) SHA1(63015e3c0874afc6b1ca032f1ffb8f90562c77c8) ) /* palette green component */ | |
| 2629 | ROM_LOAD( "xvi10bpr.6e", 0x0200, 0x0100, CRC(3cb60975) SHA1(c94d5a5dd4d8a08d6d39c051a4a722581b903f45) ) /* palette blue component */ | |
| 2630 | ROM_LOAD( "xvi_7bpr.4h", 0x0300, 0x0200, CRC(22d98032) SHA1(ec6626828c79350417d08b98e9631ad35edd4a41) ) /* bg tiles lookup table low bits */ | |
| 2631 | ROM_LOAD( "xvi_6bpr.4f", 0x0500, 0x0200, CRC(3a7599f0) SHA1(a4bdf58c190ca16fc7b976c97f41087a61fdb8b8) ) /* bg tiles lookup table high bits */ | |
| 2632 | ROM_LOAD( "xvi_4bpr.3l", 0x0700, 0x0200, CRC(fd8b9d91) SHA1(87ddf0b9d723aabb422d6d416aa9ec6bc246bf34) ) /* sprite lookup table low bits */ | |
| 2633 | ROM_LOAD( "xvi_5bpr.3m", 0x0900, 0x0200, CRC(bf906d82) SHA1(776168a73d3b9f0ce05610acc8a623deae0a572b) ) /* sprite lookup table high bits */ | |
| 2627 | ROM_LOAD( "xvi-8.6a", 0x0000, 0x0100, CRC(5cc2727f) SHA1(0dc1e63a47a4cb0ba75f6f1e0c15e408bb0ee2a1) ) /* palette red component */ | |
| 2628 | ROM_LOAD( "xvi-9.6d", 0x0100, 0x0100, CRC(5c8796cc) SHA1(63015e3c0874afc6b1ca032f1ffb8f90562c77c8) ) /* palette green component */ | |
| 2629 | ROM_LOAD( "xvi-10.6e", 0x0200, 0x0100, CRC(3cb60975) SHA1(c94d5a5dd4d8a08d6d39c051a4a722581b903f45) ) /* palette blue component */ | |
| 2630 | ROM_LOAD( "xvi-7.4h", 0x0300, 0x0200, CRC(22d98032) SHA1(ec6626828c79350417d08b98e9631ad35edd4a41) ) /* bg tiles lookup table low bits */ | |
| 2631 | ROM_LOAD( "xvi-6.4f", 0x0500, 0x0200, CRC(3a7599f0) SHA1(a4bdf58c190ca16fc7b976c97f41087a61fdb8b8) ) /* bg tiles lookup table high bits */ | |
| 2632 | ROM_LOAD( "xvi-4.3l", 0x0700, 0x0200, CRC(fd8b9d91) SHA1(87ddf0b9d723aabb422d6d416aa9ec6bc246bf34) ) /* sprite lookup table low bits */ | |
| 2633 | ROM_LOAD( "xvi-5.3m", 0x0900, 0x0200, CRC(bf906d82) SHA1(776168a73d3b9f0ce05610acc8a623deae0a572b) ) /* sprite lookup table high bits */ | |
| 2634 | 2634 | |
| 2635 | 2635 | ROM_REGION( 0x0001, "pals_vidbd", 0) /* PAL's located on the video board */ |
| 2636 | 2636 | ROM_LOAD( "137294-001.1f", 0x0000, 0x0001, NO_DUMP ) /* N82S153N */ |
| 2637 | 2637 | |
| 2638 | 2638 | ROM_REGION( 0x0200, "namco", 0 ) /* sound PROMs */ |
| 2639 | ROM_LOAD( "xvi_2bpr.7n", 0x0000, 0x0100, CRC(550f06bc) SHA1(816a0fafa0b084ac11ae1af70a5186539376fc2a) ) | |
| 2640 | ROM_LOAD( "xvi_1bpr.5n", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 2639 | ROM_LOAD( "xvi-2.7n", 0x0000, 0x0100, CRC(550f06bc) SHA1(816a0fafa0b084ac11ae1af70a5186539376fc2a) ) | |
| 2640 | ROM_LOAD( "xvi-1.5n", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 2641 | 2641 | ROM_END |
| 2642 | 2642 | |
| 2643 | 2643 | ROM_START( xeviousc ) |
| r5490 | r5491 | |
| 2675 | 2675 | ROM_LOAD( "xvi_11.2c", 0x3000, 0x1000, CRC(31e244dd) SHA1(3f7eac12863697a98e1122111801606759e44b2a) ) |
| 2676 | 2676 | |
| 2677 | 2677 | ROM_REGION( 0x0b00, "proms", 0 ) |
| 2678 | ROM_LOAD( "xvi_8bpr.6a", 0x0000, 0x0100, CRC(5cc2727f) SHA1(0dc1e63a47a4cb0ba75f6f1e0c15e408bb0ee2a1) ) /* palette red component */ | |
| 2679 | ROM_LOAD( "xvi_9bpr.6d", 0x0100, 0x0100, CRC(5c8796cc) SHA1(63015e3c0874afc6b1ca032f1ffb8f90562c77c8) ) /* palette green component */ | |
| 2680 | ROM_LOAD( "xvi10bpr.6e", 0x0200, 0x0100, CRC(3cb60975) SHA1(c94d5a5dd4d8a08d6d39c051a4a722581b903f45) ) /* palette blue component */ | |
| 2681 | ROM_LOAD( "xvi_7bpr.4h", 0x0300, 0x0200, CRC(22d98032) SHA1(ec6626828c79350417d08b98e9631ad35edd4a41) ) /* bg tiles lookup table low bits */ | |
| 2682 | ROM_LOAD( "xvi_6bpr.4f", 0x0500, 0x0200, CRC(3a7599f0) SHA1(a4bdf58c190ca16fc7b976c97f41087a61fdb8b8) ) /* bg tiles lookup table high bits */ | |
| 2683 | ROM_LOAD( "xvi_4bpr.3l", 0x0700, 0x0200, CRC(fd8b9d91) SHA1(87ddf0b9d723aabb422d6d416aa9ec6bc246bf34) ) /* sprite lookup table low bits */ | |
| 2684 | ROM_LOAD( "xvi_5bpr.3m", 0x0900, 0x0200, CRC(bf906d82) SHA1(776168a73d3b9f0ce05610acc8a623deae0a572b) ) /* sprite lookup table high bits */ | |
| 2678 | ROM_LOAD( "xvi-8.6a", 0x0000, 0x0100, CRC(5cc2727f) SHA1(0dc1e63a47a4cb0ba75f6f1e0c15e408bb0ee2a1) ) /* palette red component */ | |
| 2679 | ROM_LOAD( "xvi-9.6d", 0x0100, 0x0100, CRC(5c8796cc) SHA1(63015e3c0874afc6b1ca032f1ffb8f90562c77c8) ) /* palette green component */ | |
| 2680 | ROM_LOAD( "xvi-10.6e", 0x0200, 0x0100, CRC(3cb60975) SHA1(c94d5a5dd4d8a08d6d39c051a4a722581b903f45) ) /* palette blue component */ | |
| 2681 | ROM_LOAD( "xvi-7.4h", 0x0300, 0x0200, CRC(22d98032) SHA1(ec6626828c79350417d08b98e9631ad35edd4a41) ) /* bg tiles lookup table low bits */ | |
| 2682 | ROM_LOAD( "xvi-6.4f", 0x0500, 0x0200, CRC(3a7599f0) SHA1(a4bdf58c190ca16fc7b976c97f41087a61fdb8b8) ) /* bg tiles lookup table high bits */ | |
| 2683 | ROM_LOAD( "xvi-4.3l", 0x0700, 0x0200, CRC(fd8b9d91) SHA1(87ddf0b9d723aabb422d6d416aa9ec6bc246bf34) ) /* sprite lookup table low bits */ | |
| 2684 | ROM_LOAD( "xvi-5.3m", 0x0900, 0x0200, CRC(bf906d82) SHA1(776168a73d3b9f0ce05610acc8a623deae0a572b) ) /* sprite lookup table high bits */ | |
| 2685 | 2685 | |
| 2686 | 2686 | ROM_REGION( 0x0001, "pals_vidbd", 0) /* PAL's located on the video board */ |
| 2687 | 2687 | ROM_LOAD( "137294-001.1f", 0x0000, 0x0001, NO_DUMP ) /* N82S153N */ |
| 2688 | 2688 | |
| 2689 | 2689 | ROM_REGION( 0x0200, "namco", 0 ) /* sound PROMs */ |
| 2690 | ROM_LOAD( "xvi_2bpr.7n", 0x0000, 0x0100, CRC(550f06bc) SHA1(816a0fafa0b084ac11ae1af70a5186539376fc2a) ) | |
| 2691 | ROM_LOAD( "xvi_1bpr.5n", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 2690 | ROM_LOAD( "xvi-2.7n", 0x0000, 0x0100, CRC(550f06bc) SHA1(816a0fafa0b084ac11ae1af70a5186539376fc2a) ) | |
| 2691 | ROM_LOAD( "xvi-1.5n", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 2692 | 2692 | ROM_END |
| 2693 | 2693 | |
| 2694 | 2694 | /* |
| r5490 | r5491 | |
| 2732 | 2732 | ROM_LOAD( "12.3d", 0x3000, 0x1000, CRC(51a4e83b) SHA1(fbf3b1e47b75c5e0b297ee2cd6597b1dfd80bc6f) ) |
| 2733 | 2733 | |
| 2734 | 2734 | ROM_REGION( 0x0b00, "proms", 0 ) |
| 2735 | ROM_LOAD( "xvi_8bpr.6a", 0x0000, 0x0100, CRC(5cc2727f) SHA1(0dc1e63a47a4cb0ba75f6f1e0c15e408bb0ee2a1) ) /* palette red component */ | |
| 2736 | ROM_LOAD( "xvi_9bpr.6d", 0x0100, 0x0100, CRC(5c8796cc) SHA1(63015e3c0874afc6b1ca032f1ffb8f90562c77c8) ) /* palette green component */ | |
| 2737 | ROM_LOAD( "xvi10bpr.6e", 0x0200, 0x0100, CRC(3cb60975) SHA1(c94d5a5dd4d8a08d6d39c051a4a722581b903f45) ) /* palette blue component */ | |
| 2738 | ROM_LOAD( "xvi_7bpr.4h", 0x0300, 0x0200, CRC(22d98032) SHA1(ec6626828c79350417d08b98e9631ad35edd4a41) ) /* bg tiles lookup table low bits */ | |
| 2739 | ROM_LOAD( "xvi_6bpr.4f", 0x0500, 0x0200, CRC(3a7599f0) SHA1(a4bdf58c190ca16fc7b976c97f41087a61fdb8b8) ) /* bg tiles lookup table high bits */ | |
| 2740 | ROM_LOAD( "xvi_4bpr.3l", 0x0700, 0x0200, CRC(fd8b9d91) SHA1(87ddf0b9d723aabb422d6d416aa9ec6bc246bf34) ) /* sprite lookup table low bits */ | |
| 2741 | ROM_LOAD( "xvi_5bpr.3m", 0x0900, 0x0200, CRC(bf906d82) SHA1(776168a73d3b9f0ce05610acc8a623deae0a572b) ) /* sprite lookup table high bits */ | |
| 2735 | ROM_LOAD( "xvi-8.6a", 0x0000, 0x0100, CRC(5cc2727f) SHA1(0dc1e63a47a4cb0ba75f6f1e0c15e408bb0ee2a1) ) /* palette red component */ | |
| 2736 | ROM_LOAD( "xvi-9.6d", 0x0100, 0x0100, CRC(5c8796cc) SHA1(63015e3c0874afc6b1ca032f1ffb8f90562c77c8) ) /* palette green component */ | |
| 2737 | ROM_LOAD( "xvi-10.6e", 0x0200, 0x0100, CRC(3cb60975) SHA1(c94d5a5dd4d8a08d6d39c051a4a722581b903f45) ) /* palette blue component */ | |
| 2738 | ROM_LOAD( "xvi-7.4h", 0x0300, 0x0200, CRC(22d98032) SHA1(ec6626828c79350417d08b98e9631ad35edd4a41) ) /* bg tiles lookup table low bits */ | |
| 2739 | ROM_LOAD( "xvi-6.4f", 0x0500, 0x0200, CRC(3a7599f0) SHA1(a4bdf58c190ca16fc7b976c97f41087a61fdb8b8) ) /* bg tiles lookup table high bits */ | |
| 2740 | ROM_LOAD( "xvi-4.3l", 0x0700, 0x0200, CRC(fd8b9d91) SHA1(87ddf0b9d723aabb422d6d416aa9ec6bc246bf34) ) /* sprite lookup table low bits */ | |
| 2741 | ROM_LOAD( "xvi-5.3m", 0x0900, 0x0200, CRC(bf906d82) SHA1(776168a73d3b9f0ce05610acc8a623deae0a572b) ) /* sprite lookup table high bits */ | |
| 2742 | 2742 | |
| 2743 | 2743 | ROM_REGION( 0x0200, "namco", 0 ) /* sound PROMs */ |
| 2744 | ROM_LOAD( "xvi_2bpr.7n", 0x0000, 0x0100, CRC(550f06bc) SHA1(816a0fafa0b084ac11ae1af70a5186539376fc2a) ) | |
| 2745 | ROM_LOAD( "xvi_1bpr.5n", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 2744 | ROM_LOAD( "xvi-2.7n", 0x0000, 0x0100, CRC(550f06bc) SHA1(816a0fafa0b084ac11ae1af70a5186539376fc2a) ) | |
| 2745 | ROM_LOAD( "xvi-1.5n", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 2746 | 2746 | |
| 2747 | 2747 | ROM_REGION( 0x3000, "user1", 0 ) /* unknown roms */ |
| 2748 | 2748 | /* extra ROMs (function unknown, could be emulation of the custom I/O */ |
| r5490 | r5491 | |
| 2786 | 2786 | ROM_LOAD( "xvi_11.2c", 0x3000, 0x1000, CRC(31e244dd) SHA1(3f7eac12863697a98e1122111801606759e44b2a) ) |
| 2787 | 2787 | |
| 2788 | 2788 | ROM_REGION( 0x1400, "proms", 0 ) |
| 2789 | ROM_LOAD( "xvi_8bpr.6a", 0x0000, 0x0100, CRC(5cc2727f) SHA1(0dc1e63a47a4cb0ba75f6f1e0c15e408bb0ee2a1) ) /* palette red component */ | |
| 2790 | ROM_LOAD( "xvi_9bpr.6d", 0x0100, 0x0100, CRC(5c8796cc) SHA1(63015e3c0874afc6b1ca032f1ffb8f90562c77c8) ) /* palette green component */ | |
| 2791 | ROM_LOAD( "xvi10bpr.6e", 0x0200, 0x0100, CRC(3cb60975) SHA1(c94d5a5dd4d8a08d6d39c051a4a722581b903f45) ) /* palette blue component */ | |
| 2789 | ROM_LOAD( "xvi-8.6a", 0x0000, 0x0100, CRC(5cc2727f) SHA1(0dc1e63a47a4cb0ba75f6f1e0c15e408bb0ee2a1) ) /* palette red component */ | |
| 2790 | ROM_LOAD( "xvi-9.6d", 0x0100, 0x0100, CRC(5c8796cc) SHA1(63015e3c0874afc6b1ca032f1ffb8f90562c77c8) ) /* palette green component */ | |
| 2791 | ROM_LOAD( "xvi-10.6e", 0x0200, 0x0100, CRC(3cb60975) SHA1(c94d5a5dd4d8a08d6d39c051a4a722581b903f45) ) /* palette blue component */ | |
| 2792 | 2792 | ROM_LOAD( "b_-bpr.bin", 0x0300, 0x0400, CRC(d2d208b1) SHA1(6c8d29912c03ee93759e24085bc66ab738768bcc) ) /* bg tiles lookup table low bits */ |
| 2793 | 2793 | ROM_LOAD( "b_6bpr.bin", 0x0700, 0x0400, CRC(0260c041) SHA1(1a7516e8b18ffdd9789eec8b834c17b3ba312afe) ) /* bg tiles lookup table high bits */ |
| 2794 | 2794 | ROM_LOAD( "b_4bpr.bin", 0x0b00, 0x0400, CRC(33764974) SHA1(567b048b8a93e30090ccee4f6aadc0353524d8d1) ) /* sprite lookup table low bits */ |
| 2795 | 2795 | ROM_LOAD( "b_5bpr.bin", 0x0f00, 0x0400, CRC(43674c7e) SHA1(94c19a9da81839cb1dfde3f11b2fd82ffe45efb9) ) /* sprite lookup table high bits */ |
| 2796 | 2796 | |
| 2797 | 2797 | ROM_REGION( 0x0200, "namco", 0 ) /* sound PROMs */ |
| 2798 | ROM_LOAD( "xvi_2bpr.7n", 0x0000, 0x0100, CRC(550f06bc) SHA1(816a0fafa0b084ac11ae1af70a5186539376fc2a) ) | |
| 2799 | ROM_LOAD( "xvi_1bpr.5n", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 2798 | ROM_LOAD( "xvi-2.7n", 0x0000, 0x0100, CRC(550f06bc) SHA1(816a0fafa0b084ac11ae1af70a5186539376fc2a) ) | |
| 2799 | ROM_LOAD( "xvi-1.5n", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 2800 | 2800 | ROM_END |
| 2801 | 2801 | |
| 2802 | 2802 | ROM_START( sxevious ) |
| 2803 | 2803 | ROM_REGION( 0x10000, "maincpu", 0 ) /* 64k for the first CPU */ |
| 2804 | 2804 | ROM_LOAD( "cpu_3p.rom", 0x0000, 0x1000, CRC(1c8d27d5) SHA1(2c41303d8c74acb5840295a4b460a39a9a8e21bb) ) |
| 2805 | 2805 | ROM_LOAD( "cpu_3m.rom", 0x1000, 0x1000, CRC(fd04e615) SHA1(7169e7f3bd1e9cfae9671b89f2a45f56b968e1ff) ) |
| 2806 | ROM_LOAD( "cpu_2m.rom", 0x2000, 0x1000, CRC(294d5404) SHA1(ecc39fb2c0065a36f20541747089b4e30dfb99b1) ) | |
| 2807 | ROM_LOAD( "cpu_2l.rom", 0x3000, 0x1000, CRC(6a44bf92) SHA1(0ca726f7f9528789f2a718df55e59406a283cdfa) ) | |
| 2806 | ROM_LOAD( "xv3_3.2m", 0x2000, 0x1000, CRC(294d5404) SHA1(ecc39fb2c0065a36f20541747089b4e30dfb99b1) ) | |
| 2807 | ROM_LOAD( "xv3_4.2l", 0x3000, 0x1000, CRC(6a44bf92) SHA1(0ca726f7f9528789f2a718df55e59406a283cdfa) ) | |
| 2808 | 2808 | |
| 2809 | 2809 | ROM_REGION( 0x10000, "sub", 0 ) /* 64k for the second CPU */ |
| 2810 | ROM_LOAD( "cpu_3f.rom", 0x0000, 0x1000, CRC(d4bd3d81) SHA1(5831bb306bd650779207936bfd00f25864733abb) ) | |
| 2811 | ROM_LOAD( "cpu_3j.rom", 0x1000, 0x1000, CRC(af06be5f) SHA1(5a020822387ab8c69214db961180760fa9853e6e) ) | |
| 2810 | ROM_LOAD( "xv3_5.3f", 0x0000, 0x1000, CRC(d4bd3d81) SHA1(5831bb306bd650779207936bfd00f25864733abb) ) | |
| 2811 | ROM_LOAD( "xv3_6.3j", 0x1000, 0x1000, CRC(af06be5f) SHA1(5a020822387ab8c69214db961180760fa9853e6e) ) | |
| 2812 | 2812 | |
| 2813 | 2813 | ROM_REGION( 0x10000, "sub2", 0 ) |
| 2814 | 2814 | ROM_LOAD( "xvi_7.2c", 0x0000, 0x1000, CRC(dd35cf1c) SHA1(f8d1f8e019d8198308443c2e7e815d0d04b23d14) ) |
| r5490 | r5491 | |
| 2834 | 2834 | ROM_LOAD( "xvi_11.2c", 0x3000, 0x1000, CRC(31e244dd) SHA1(3f7eac12863697a98e1122111801606759e44b2a) ) |
| 2835 | 2835 | |
| 2836 | 2836 | ROM_REGION( 0x0b00, "proms", 0 ) |
| 2837 | ROM_LOAD( "xvi_8bpr.6a", 0x0000, 0x0100, CRC(5cc2727f) SHA1(0dc1e63a47a4cb0ba75f6f1e0c15e408bb0ee2a1) ) /* palette red component */ | |
| 2838 | ROM_LOAD( "xvi_9bpr.6d", 0x0100, 0x0100, CRC(5c8796cc) SHA1(63015e3c0874afc6b1ca032f1ffb8f90562c77c8) ) /* palette green component */ | |
| 2839 | ROM_LOAD( "xvi10bpr.6e", 0x0200, 0x0100, CRC(3cb60975) SHA1(c94d5a5dd4d8a08d6d39c051a4a722581b903f45) ) /* palette blue component */ | |
| 2840 | ROM_LOAD( "xvi_7bpr.4h", 0x0300, 0x0200, CRC(22d98032) SHA1(ec6626828c79350417d08b98e9631ad35edd4a41) ) /* bg tiles lookup table low bits */ | |
| 2841 | ROM_LOAD( "xvi_6bpr.4f", 0x0500, 0x0200, CRC(3a7599f0) SHA1(a4bdf58c190ca16fc7b976c97f41087a61fdb8b8) ) /* bg tiles lookup table high bits */ | |
| 2842 | ROM_LOAD( "xvi_4bpr.3l", 0x0700, 0x0200, CRC(fd8b9d91) SHA1(87ddf0b9d723aabb422d6d416aa9ec6bc246bf34) ) /* sprite lookup table low bits */ | |
| 2843 | ROM_LOAD( "xvi_5bpr.3m", 0x0900, 0x0200, CRC(bf906d82) SHA1(776168a73d3b9f0ce05610acc8a623deae0a572b) ) /* sprite lookup table high bits */ | |
| 2837 | ROM_LOAD( "xvi-8.6a", 0x0000, 0x0100, CRC(5cc2727f) SHA1(0dc1e63a47a4cb0ba75f6f1e0c15e408bb0ee2a1) ) /* palette red component */ | |
| 2838 | ROM_LOAD( "xvi-9.6d", 0x0100, 0x0100, CRC(5c8796cc) SHA1(63015e3c0874afc6b1ca032f1ffb8f90562c77c8) ) /* palette green component */ | |
| 2839 | ROM_LOAD( "xvi-10.6e", 0x0200, 0x0100, CRC(3cb60975) SHA1(c94d5a5dd4d8a08d6d39c051a4a722581b903f45) ) /* palette blue component */ | |
| 2840 | ROM_LOAD( "xvi-7.4h", 0x0300, 0x0200, CRC(22d98032) SHA1(ec6626828c79350417d08b98e9631ad35edd4a41) ) /* bg tiles lookup table low bits */ | |
| 2841 | ROM_LOAD( "xvi-6.4f", 0x0500, 0x0200, CRC(3a7599f0) SHA1(a4bdf58c190ca16fc7b976c97f41087a61fdb8b8) ) /* bg tiles lookup table high bits */ | |
| 2842 | ROM_LOAD( "xvi-4.3l", 0x0700, 0x0200, CRC(fd8b9d91) SHA1(87ddf0b9d723aabb422d6d416aa9ec6bc246bf34) ) /* sprite lookup table low bits */ | |
| 2843 | ROM_LOAD( "xvi-5.3m", 0x0900, 0x0200, CRC(bf906d82) SHA1(776168a73d3b9f0ce05610acc8a623deae0a572b) ) /* sprite lookup table high bits */ | |
| 2844 | 2844 | |
| 2845 | 2845 | ROM_REGION( 0x0200, "namco", 0 ) /* sound PROMs */ |
| 2846 | ROM_LOAD( "xvi_2bpr.7n", 0x0000, 0x0100, CRC(550f06bc) SHA1(816a0fafa0b084ac11ae1af70a5186539376fc2a) ) | |
| 2847 | ROM_LOAD( "xvi_1bpr.5n", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 2846 | ROM_LOAD( "xvi-2.7n", 0x0000, 0x0100, CRC(550f06bc) SHA1(816a0fafa0b084ac11ae1af70a5186539376fc2a) ) | |
| 2847 | ROM_LOAD( "xvi-1.5n", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 2848 | 2848 | ROM_END |
| 2849 | 2849 | |
| 2850 | 2850 | ROM_START( sxeviousj ) |
| 2851 | 2851 | ROM_REGION( 0x10000, "maincpu", 0 ) /* 64k for the first CPU */ |
| 2852 | ROM_LOAD( "3p.bin", 0x0000, 0x1000, CRC(afbc3372) SHA1(9001856aad0f31b40443f21b7a895e4101684307) ) | |
| 2853 | ROM_LOAD( "3m.bin", 0x1000, 0x1000, CRC(1854a5ee) SHA1(2fb4034d9d757376df59378df539bf41d99ed43e) ) | |
| 2854 | ROM_LOAD( "cpu_2m.rom", 0x2000, 0x1000, CRC(294d5404) SHA1(ecc39fb2c0065a36f20541747089b4e30dfb99b1) ) | |
| 2855 | ROM_LOAD( "cpu_2l.rom", 0x3000, 0x1000, CRC(6a44bf92) SHA1(0ca726f7f9528789f2a718df55e59406a283cdfa) ) | |
| 2852 | ROM_LOAD( "xv3_1.3p", 0x0000, 0x1000, CRC(afbc3372) SHA1(9001856aad0f31b40443f21b7a895e4101684307) ) | |
| 2853 | ROM_LOAD( "xv3_2.3m", 0x1000, 0x1000, CRC(1854a5ee) SHA1(2fb4034d9d757376df59378df539bf41d99ed43e) ) | |
| 2854 | ROM_LOAD( "xv3_3.2m", 0x2000, 0x1000, CRC(294d5404) SHA1(ecc39fb2c0065a36f20541747089b4e30dfb99b1) ) | |
| 2855 | ROM_LOAD( "xv3_4.2l", 0x3000, 0x1000, CRC(6a44bf92) SHA1(0ca726f7f9528789f2a718df55e59406a283cdfa) ) | |
| 2856 | 2856 | |
| 2857 | 2857 | ROM_REGION( 0x10000, "sub", 0 ) /* 64k for the second CPU */ |
| 2858 | ROM_LOAD( "cpu_3f.rom", 0x0000, 0x1000, CRC(d4bd3d81) SHA1(5831bb306bd650779207936bfd00f25864733abb) ) | |
| 2859 | ROM_LOAD( "cpu_3j.rom", 0x1000, 0x1000, CRC(af06be5f) SHA1(5a020822387ab8c69214db961180760fa9853e6e) ) | |
| 2858 | ROM_LOAD( "xv3_5.3f", 0x0000, 0x1000, CRC(d4bd3d81) SHA1(5831bb306bd650779207936bfd00f25864733abb) ) | |
| 2859 | ROM_LOAD( "xv3_6.3j", 0x1000, 0x1000, CRC(af06be5f) SHA1(5a020822387ab8c69214db961180760fa9853e6e) ) | |
| 2860 | 2860 | |
| 2861 | 2861 | ROM_REGION( 0x10000, "sub2", 0 ) |
| 2862 | 2862 | ROM_LOAD( "xvi_7.2c", 0x0000, 0x1000, CRC(dd35cf1c) SHA1(f8d1f8e019d8198308443c2e7e815d0d04b23d14) ) |
| r5490 | r5491 | |
| 2882 | 2882 | ROM_LOAD( "xvi_11.2c", 0x3000, 0x1000, CRC(31e244dd) SHA1(3f7eac12863697a98e1122111801606759e44b2a) ) |
| 2883 | 2883 | |
| 2884 | 2884 | ROM_REGION( 0x0b00, "proms", 0 ) |
| 2885 | ROM_LOAD( "xvi_8bpr.6a", 0x0000, 0x0100, CRC(5cc2727f) SHA1(0dc1e63a47a4cb0ba75f6f1e0c15e408bb0ee2a1) ) /* palette red component */ | |
| 2886 | ROM_LOAD( "xvi_9bpr.6d", 0x0100, 0x0100, CRC(5c8796cc) SHA1(63015e3c0874afc6b1ca032f1ffb8f90562c77c8) ) /* palette green component */ | |
| 2887 | ROM_LOAD( "xvi10bpr.6e", 0x0200, 0x0100, CRC(3cb60975) SHA1(c94d5a5dd4d8a08d6d39c051a4a722581b903f45) ) /* palette blue component */ | |
| 2888 | ROM_LOAD( "xvi_7bpr.4h", 0x0300, 0x0200, CRC(22d98032) SHA1(ec6626828c79350417d08b98e9631ad35edd4a41) ) /* bg tiles lookup table low bits */ | |
| 2889 | ROM_LOAD( "xvi_6bpr.4f", 0x0500, 0x0200, CRC(3a7599f0) SHA1(a4bdf58c190ca16fc7b976c97f41087a61fdb8b8) ) /* bg tiles lookup table high bits */ | |
| 2890 | ROM_LOAD( "xvi_4bpr.3l", 0x0700, 0x0200, CRC(fd8b9d91) SHA1(87ddf0b9d723aabb422d6d416aa9ec6bc246bf34) ) /* sprite lookup table low bits */ | |
| 2891 | ROM_LOAD( "xvi_5bpr.3m", 0x0900, 0x0200, CRC(bf906d82) SHA1(776168a73d3b9f0ce05610acc8a623deae0a572b) ) /* sprite lookup table high bits */ | |
| 2885 | ROM_LOAD( "xvi-8.6a", 0x0000, 0x0100, CRC(5cc2727f) SHA1(0dc1e63a47a4cb0ba75f6f1e0c15e408bb0ee2a1) ) /* palette red component */ | |
| 2886 | ROM_LOAD( "xvi-9.6d", 0x0100, 0x0100, CRC(5c8796cc) SHA1(63015e3c0874afc6b1ca032f1ffb8f90562c77c8) ) /* palette green component */ | |
| 2887 | ROM_LOAD( "xvi-10.6e", 0x0200, 0x0100, CRC(3cb60975) SHA1(c94d5a5dd4d8a08d6d39c051a4a722581b903f45) ) /* palette blue component */ | |
| 2888 | ROM_LOAD( "xvi-7.4h", 0x0300, 0x0200, CRC(22d98032) SHA1(ec6626828c79350417d08b98e9631ad35edd4a41) ) /* bg tiles lookup table low bits */ | |
| 2889 | ROM_LOAD( "xvi-6.4f", 0x0500, 0x0200, CRC(3a7599f0) SHA1(a4bdf58c190ca16fc7b976c97f41087a61fdb8b8) ) /* bg tiles lookup table high bits */ | |
| 2890 | ROM_LOAD( "xvi-4.3l", 0x0700, 0x0200, CRC(fd8b9d91) SHA1(87ddf0b9d723aabb422d6d416aa9ec6bc246bf34) ) /* sprite lookup table low bits */ | |
| 2891 | ROM_LOAD( "xvi-5.3m", 0x0900, 0x0200, CRC(bf906d82) SHA1(776168a73d3b9f0ce05610acc8a623deae0a572b) ) /* sprite lookup table high bits */ | |
| 2892 | 2892 | |
| 2893 | 2893 | ROM_REGION( 0x0200, "namco", 0 ) /* sound PROMs */ |
| 2894 | ROM_LOAD( "xvi_2bpr.7n", 0x0000, 0x0100, CRC(550f06bc) SHA1(816a0fafa0b084ac11ae1af70a5186539376fc2a) ) | |
| 2895 | ROM_LOAD( "xvi_1bpr.5n", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 2894 | ROM_LOAD( "xvi-2.7n", 0x0000, 0x0100, CRC(550f06bc) SHA1(816a0fafa0b084ac11ae1af70a5186539376fc2a) ) | |
| 2895 | ROM_LOAD( "xvi-1.5n", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ | |
| 2896 | 2896 | ROM_END |
| 2897 | 2897 | |
| 2898 | 2898 | /********************************************************************************************** |
| r5490 | r5491 | |
| 2911 | 2911 | ROM_LOAD( "dd1a.6", 0x1000, 0x1000, CRC(843d857f) SHA1(89b2ead7e478e119d33bfd67376cdf28f83de67a) ) |
| 2912 | 2912 | |
| 2913 | 2913 | ROM_REGION( 0x10000, "sub2", 0 ) /* 64k for the third CPU */ |
| 2914 | ROM_LOAD( "1 | |
| 2914 | ROM_LOAD( "dd1 | |
| 2915 | 2915 | |
| 2916 | 2916 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 2917 | 2917 | ROM_LOAD( "dd1.9", 0x0000, 0x0800, CRC(f14a6fe1) SHA1(0aa63300c2cb887196de590aceb98f3cf06fead4) ) |
| 2918 | 2918 | |
| 2919 | 2919 | ROM_REGION( 0x4000, "gfx2", 0 ) |
| 2920 | ROM_LOAD( "1 | |
| 2920 | ROM_LOAD( "dd1 | |
| 2921 | 2921 | ROM_LOAD( "dd1.14", 0x1000, 0x1000, CRC(2829ec99) SHA1(3e435c1afb2e44487cd7ba28a93ada2e5ccbb86d) ) |
| 2922 | ROM_LOAD( "136007.118", 0x2000, 0x1000, CRC(458499e9) SHA1(578bd839f9218c3cf4feee1223a461144e455df8) ) | |
| 2923 | ROM_LOAD( "136007.119", 0x3000, 0x1000, CRC(c58252a0) SHA1(bd79e39e8a572d2b5c205e6de27ca23e43ec9f51) ) | |
| 2922 | ROM_LOAD( "dd1.13", 0x2000, 0x1000, CRC(458499e9) SHA1(578bd839f9218c3cf4feee1223a461144e455df8) ) | |
| 2923 | ROM_LOAD( "dd1.12", 0x3000, 0x1000, CRC(c58252a0) SHA1(bd79e39e8a572d2b5c205e6de27ca23e43ec9f51) ) | |
| 2924 | 2924 | |
| 2925 | 2925 | ROM_REGION( 0x1000, "gfx3", 0 ) |
| 2926 | 2926 | ROM_LOAD( "dd1.11", 0x0000, 0x1000, CRC(7b383983) SHA1(57f1e8f5171d13f9f76bd091d81b4423b59f6b42) ) |
| r5490 | r5491 | |
| 2938 | 2938 | ROM_LOAD( "136007.109", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ |
| 2939 | 2939 | ROM_END |
| 2940 | 2940 | |
| 2941 | ROM_START( digdug | |
| 2941 | ROM_START( digdug1 ) | |
| 2942 | 2942 | ROM_REGION( 0x10000, "maincpu", 0 ) /* 64k for code for the first CPU */ |
| 2943 | ROM_LOAD( "136007.101", 0x0000, 0x1000, CRC(b9198079) SHA1(1d3fe04020f584ed250e32fdc6f6a3b769342884) ) | |
| 2944 | ROM_LOAD( "136007.102", 0x1000, 0x1000, CRC(b2acbe49) SHA1(c8f713e8cfa70d3bc64d3002ff7bffc65ee138e2) ) | |
| 2945 | ROM_LOAD( "136007.103", 0x2000, 0x1000, CRC(d6407b49) SHA1(0e71a8f02778286488865e20439776dbb2a8ec78) ) | |
| 2943 | ROM_LOAD( "dd1a.1", 0x0000, 0x1000, CRC(b9198079) SHA1(1d3fe04020f584ed250e32fdc6f6a3b769342884) ) | |
| 2944 | ROM_LOAD( "dd1a.2", 0x1000, 0x1000, CRC(b2acbe49) SHA1(c8f713e8cfa70d3bc64d3002ff7bffc65ee138e2) ) | |
| 2945 | ROM_LOAD( "dd1a.3", 0x2000, 0x1000, CRC(d6407b49) SHA1(0e71a8f02778286488865e20439776dbb2a8ec78) ) | |
| 2946 | 2946 | ROM_LOAD( "dd1.4b", 0x3000, 0x1000, CRC(f4cebc16) SHA1(19b568f92069a1cfe1c07287408efe3b0e253375) ) |
| 2947 | 2947 | |
| 2948 | 2948 | ROM_REGION( 0x10000, "sub", 0 ) /* 64k for the second CPU */ |
| r5490 | r5491 | |
| 2950 | 2950 | ROM_LOAD( "dd1.6b", 0x1000, 0x1000, CRC(361eeb71) SHA1(372c97c666411c3590d790213ae6fa1ccb5ffa1c) ) |
| 2951 | 2951 | |
| 2952 | 2952 | ROM_REGION( 0x10000, "sub2", 0 ) /* 64k for the third CPU */ |
| 2953 | ROM_LOAD( "1 | |
| 2953 | ROM_LOAD( "dd1 | |
| 2954 | 2954 | |
| 2955 | 2955 | ROM_REGION( 0x1000, "gfx1", 0 ) |
| 2956 | 2956 | ROM_LOAD( "dd1.9", 0x0000, 0x0800, CRC(f14a6fe1) SHA1(0aa63300c2cb887196de590aceb98f3cf06fead4) ) |
| 2957 | 2957 | |
| 2958 | 2958 | ROM_REGION( 0x4000, "gfx2", 0 ) |
| 2959 | ROM_LOAD( "1 | |
| 2959 | ROM_LOAD( "dd1 | |
| 2960 | 2960 | ROM_LOAD( "dd1.14", 0x1000, 0x1000, CRC(2829ec99) SHA1(3e435c1afb2e44487cd7ba28a93ada2e5ccbb86d) ) |
| 2961 | ROM_LOAD( "136007.118", 0x2000, 0x1000, CRC(458499e9) SHA1(578bd839f9218c3cf4feee1223a461144e455df8) ) | |
| 2962 | ROM_LOAD( "136007.119", 0x3000, 0x1000, CRC(c58252a0) SHA1(bd79e39e8a572d2b5c205e6de27ca23e43ec9f51) ) | |
| 2961 | ROM_LOAD( "dd1.13", 0x2000, 0x1000, CRC(458499e9) SHA1(578bd839f9218c3cf4feee1223a461144e455df8) ) | |
| 2962 | ROM_LOAD( "dd1.12", 0x3000, 0x1000, CRC(c58252a0) SHA1(bd79e39e8a572d2b5c205e6de27ca23e43ec9f51) ) | |
| 2963 | 2963 | |
| 2964 | 2964 | ROM_REGION( 0x1000, "gfx3", 0 ) |
| 2965 | 2965 | ROM_LOAD( "dd1.11", 0x0000, 0x1000, CRC(7b383983) SHA1(57f1e8f5171d13f9f76bd091d81b4423b59f6b42) ) |
| r5490 | r5491 | |
| 3035 | 3035 | ROM_LOAD( "136007.109", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ |
| 3036 | 3036 | ROM_END |
| 3037 | 3037 | |
| 3038 | ROM_START( digduga1 ) | |
| 3038 | ROM_START( digdugat1 ) | |
| 3039 | 3039 | ROM_REGION( 0x10000, "maincpu", 0 ) /* 64k for code for the first CPU */ |
| 3040 | 3040 | ROM_LOAD( "136007.101", 0x0000, 0x1000, CRC(b9198079) SHA1(1d3fe04020f584ed250e32fdc6f6a3b769342884) ) |
| 3041 | 3041 | ROM_LOAD( "136007.102", 0x1000, 0x1000, CRC(b2acbe49) SHA1(c8f713e8cfa70d3bc64d3002ff7bffc65ee138e2) ) |
| r5490 | r5491 | |
| 3307 | 3307 | GAME( 1984, sxeviousj,xevious, xevious, sxevious, xevious, ROT90, "Namco", "Super Xevious (Japan)", GAME_SUPPORTS_SAVE ) |
| 3308 | 3308 | |
| 3309 | 3309 | GAME( 1982, digdug, 0, digdug, digdug, 0, ROT90, "Namco", "Dig Dug (rev 2)", GAME_SUPPORTS_SAVE ) |
| 3310 | GAME( 1982, digdug | |
| 3310 | GAME( 1982, digdug1, digdug, digdug, digdug, 0, ROT90, "Namco", "Dig Dug (rev 1)", GAME_SUPPORTS_SAVE ) | |
| 3311 | 3311 | GAME( 1982, digdugat, digdug, digdug, digdug, 0, ROT90, "[Namco] (Atari license)", "Dig Dug (Atari, rev 2)", GAME_SUPPORTS_SAVE ) |
| 3312 | GAME( 1982, digduga1, | |
| 3312 | GAME( 1982, digdugat1, | |
| 3313 | 3313 | GAME( 1982, digsid, digdug, digdug, digdug, 0, ROT90, "Namco [Sidam license]", "Dig Dug (manufactured by Sidam)", GAME_SUPPORTS_SAVE ) |
| 3314 | 3314 | |
| 3315 | 3315 | /* Bootlegs with replacement I/O chips */ |
| r5490 | r5491 | |
| 3318 | 3318 | GAME( 1984, gatsbee, galaga, galagab, gatsbee, gatsbee, ROT90, "hack", "Gatsbee", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 3319 | 3319 | |
| 3320 | 3320 | GAME( 1982, xevios, xevious, xevious, xevious, xevios, ROT90, "bootleg", "Xevios", GAME_SUPPORTS_SAVE ) |
| 3321 | GAME( 1982, battles, xevious, battles, xevious, battles, ROT90, "bootleg", "Battles", GAME_SUPPORTS_SAVE ) | |
| 3321 | GAME( 1982, battles, xevious, battles, xevious, battles, ROT90, "bootleg", "Battles", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 3322 | 3322 | |
| 3323 | 3323 | GAME( 1982, dzigzag, digdug, dzigzag, digdug, 0, ROT90, "bootleg", "Zig Zag (Dig Dug hardware)", GAME_SUPPORTS_SAVE ) |
| r5490 | r5491 | |
|---|---|---|
| 146 | 146 | // GFXDECODE_ENTRY( NULL, 0, charlayout, 0, 16*4 ) |
| 147 | 147 | GFXDECODE_END |
| 148 | 148 | |
| 149 | static INPUT_PORTS_START( macs ) | |
| 149 | static INPUT_PORTS_START( macs_base ) | |
| 150 | 150 | /*0*/ |
| 151 | 151 | PORT_START("DSW0") |
| 152 | 152 | PORT_DIPNAME( 0x01, 0x01, "DSW0 - BIT 1" ) |
| r5490 | r5491 | |
| 282 | 282 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 283 | 283 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 284 | 284 | |
| 285 | /*(COMMON) MAHJONG PANEL*/ | |
| 285 | /* | |
| 286 | Note: These could likely to be switches that are on the game board and not Dip Switches | |
| 287 | */ | |
| 288 | PORT_START("SYS0") | |
| 289 | PORT_BIT( 0x7f, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 290 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Note In") PORT_CODE(KEYCODE_4_PAD) | |
| 291 | ||
| 292 | PORT_START("SYS1") | |
| 293 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) | |
| 294 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Clear Coin Counter") PORT_CODE(KEYCODE_1_PAD) | |
| 295 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Memory Reset") PORT_CODE(KEYCODE_2_PAD) | |
| 296 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Analyzer") PORT_CODE(KEYCODE_3_PAD) | |
| 297 | PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 298 | INPUT_PORTS_END | |
| 299 | ||
| 300 | INPUT_PORTS_START( macs_m) | |
| 301 | PORT_INCLUDE( macs_base ) | |
| 302 | ||
| 303 | /*MAHJONG PANEL*/ | |
| 286 | 304 | PORT_START("IN0") |
| 287 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_MAHJONG_LAST_CHANCE ) | |
| 288 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_MAHJONG_SCORE ) | |
| 289 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_MAHJONG_DOUBLE_UP ) | |
| 290 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_MAHJONG_FLIP_FLOP ) | |
| 291 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_MAHJONG_BIG ) | |
| 292 | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_MAHJONG_SMALL ) | |
| 305 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_LAST_CHANCE ) | |
| 306 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_SCORE ) | |
| 307 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_DOUBLE_UP ) | |
| 308 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_FLIP_FLOP ) | |
| 309 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_BIG ) | |
| 310 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_MAHJONG_SMALL ) | |
| 293 | 311 | PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 294 | 312 | |
| 295 | 313 | PORT_START("IN1") |
| 296 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_MAHJONG_A ) | |
| 297 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_MAHJONG_E ) | |
| 298 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_MAHJONG_I ) | |
| 299 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_MAHJONG_M ) | |
| 300 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_MAHJONG_KAN ) | |
| 301 | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_START1 ) | |
| 302 | PORT_BIT(0xc0, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 314 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_A ) | |
| 315 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_E ) | |
| 316 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_I ) | |
| 317 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_M ) | |
| 318 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_KAN ) | |
| 319 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 ) | |
| 320 | PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 303 | 321 | |
| 304 | 322 | PORT_START("IN2") |
| 305 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_MAHJONG_B ) | |
| 306 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_MAHJONG_F ) | |
| 307 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_MAHJONG_J ) | |
| 308 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_MAHJONG_N ) | |
| 309 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_MAHJONG_REACH ) | |
| 310 | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_MAHJONG_BET ) | |
| 311 | PORT_BIT(0xc0, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 323 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_B ) | |
| 324 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_F ) | |
| 325 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_J ) | |
| 326 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_N ) | |
| 327 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_REACH ) | |
| 328 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_MAHJONG_BET ) | |
| 329 | PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 312 | 330 | |
| 313 | 331 | PORT_START("IN3") |
| 314 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_MAHJONG_C ) | |
| 315 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_MAHJONG_G ) | |
| 316 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_MAHJONG_K ) | |
| 317 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_MAHJONG_CHI ) | |
| 318 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_MAHJONG_RON ) | |
| 332 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_C ) | |
| 333 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_G ) | |
| 334 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_K ) | |
| 335 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_CHI ) | |
| 336 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_RON ) | |
| 319 | 337 | PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 320 | 338 | |
| 321 | 339 | PORT_START("IN4") |
| 322 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_MAHJONG_D ) | |
| 323 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_MAHJONG_H ) | |
| 324 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_MAHJONG_L ) | |
| 325 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_MAHJONG_PON ) | |
| 326 | PORT_BIT(0xf0, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 340 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_D ) | |
| 341 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_H ) | |
| 342 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_L ) | |
| 343 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_PON ) | |
| 344 | PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 345 | INPUT_PORTS_END | |
| 327 | 346 | |
| 328 | /* | |
| 329 | Note: These could likely to be switches that are on the game board and not Dip Switches | |
| 330 | */ | |
| 331 | PORT_START("SYS0") | |
| 332 | PORT_BIT( 0x7f, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 333 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Note In") PORT_CODE(KEYCODE_4_PAD) | |
| 347 | INPUT_PORTS_START( macs_h) | |
| 348 | PORT_INCLUDE( macs_base ) | |
| 334 | 349 | |
| 335 | PORT_START("SYS1") | |
| 336 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) | |
| 337 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Clear Coin Counter") PORT_CODE(KEYCODE_1_PAD) | |
| 338 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Memory Reset") PORT_CODE(KEYCODE_2_PAD) | |
| 339 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Analyzer") PORT_CODE(KEYCODE_3_PAD) | |
| 350 | /*HANAFUDA PANEL*/ | |
| 351 | // Also other inputs from the Mahjong panel are detected in Service Mode | |
| 352 | PORT_START("IN0") | |
| 353 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_LAST_CHANCE ) | |
| 354 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_SCORE ) | |
| 355 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_DOUBLE_UP ) | |
| 356 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_FLIP_FLOP ) | |
| 357 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_BIG ) | |
| 358 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_MAHJONG_SMALL ) | |
| 359 | PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 360 | ||
| 361 | PORT_START("IN1") | |
| 362 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) | |
| 363 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) | |
| 364 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 365 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_YES ) | |
| 366 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 367 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 ) | |
| 368 | PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 369 | ||
| 370 | PORT_START("IN2") | |
| 371 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) | |
| 372 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) | |
| 373 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 374 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_NO ) | |
| 375 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 376 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_MAHJONG_BET ) | |
| 377 | PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 378 | ||
| 379 | PORT_START("IN3") | |
| 380 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_C ) | |
| 381 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_G ) | |
| 382 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 383 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 384 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 385 | PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 386 | ||
| 387 | PORT_START("IN4") | |
| 388 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) | |
| 389 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_H ) | |
| 390 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 391 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED ) | |
| 340 | 392 | PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 341 | 393 | INPUT_PORTS_END |
| 342 | 394 | |
| 395 | ||
| 343 | 396 | static const st0016_interface st0016_config = |
| 344 | 397 | { |
| 345 | 398 | &st0016_charram |
| r5490 | r5491 | |
| 607 | 660 | } |
| 608 | 661 | |
| 609 | 662 | |
| 610 | GAME( 1995, macsbios, 0, macs, macs, macs, ROT0, "I'Max", "Multi Amenity Cassette System BIOS", GAME_IS_BIOS_ROOT | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING ) | |
| 611 | GAME( 1995, mac2bios, 0, macs, macs, macs, ROT0, "I'Max", "Multi Amenity Cassette System 2 BIOS", GAME_IS_BIOS_ROOT | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING ) | |
| 612 | GAME( 1995, kisekaem, macsbios, macs, macs, kisekaem, ROT0, "I'Max", "Kisekae Mahjong", GAME_NOT_WORKING|GAME_IMPERFECT_SOUND ) | |
| 613 | GAME( 1995, kisekaeh, macsbios, macs, macs, kisekaeh, ROT0, "I'Max", "Kisekae Hanafuda", GAME_NOT_WORKING |GAME_IMPERFECT_SOUND) | |
| 614 | GAME( 1996, cultname, macsbios, macs, macs, macs, ROT0, "I'Max", "Seimei-Kantei-Meimei-Ki Cult Name", GAME_NOT_WORKING |GAME_IMPERFECT_SOUND) | |
| 615 | GAME( 1999, yuka, macsbios, macs, macs, macs, ROT0, "Yubis / T.System", "Yu-Ka", 0 ) | |
| 616 | GAME( 1999, yujan, macsbios, macs, macs, macs, ROT0, "Yubis / T.System", "Yu-Jan", 0 ) | |
| 663 | GAME( 1995, macsbios, 0, macs, macs_m, macs, ROT0, "I'Max", "Multi Amenity Cassette System BIOS", GAME_IS_BIOS_ROOT | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING ) | |
| 664 | GAME( 1995, mac2bios, 0, macs, macs_m, macs, ROT0, "I'Max", "Multi Amenity Cassette System 2 BIOS", GAME_IS_BIOS_ROOT | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING ) | |
| 665 | ||
| 666 | GAME( 1995, kisekaem, macsbios, macs, macs_m, kisekaem, ROT0, "I'Max", "Kisekae Mahjong", GAME_NOT_WORKING|GAME_IMPERFECT_SOUND ) | |
| 667 | GAME( 1995, kisekaeh, macsbios, macs, macs_h, kisekaeh, ROT0, "I'Max", "Kisekae Hanafuda", GAME_NOT_WORKING |GAME_IMPERFECT_SOUND) | |
| 668 | GAME( 1996, cultname, macsbios, macs, macs_m, macs, ROT0, "I'Max", "Seimei-Kantei-Meimei-Ki Cult Name", GAME_NOT_WORKING |GAME_IMPERFECT_SOUND) | |
| 669 | GAME( 1999, yuka, macsbios, macs, macs_h, macs, ROT0, "Yubis / T.System", "Yu-Ka", 0 ) | |
| 670 | GAME( 1999, yujan, macsbios, macs, macs_m, macs, ROT0, "Yubis / T.System", "Yu-Jan", 0 ) |
| r5490 | r5491 | |
|---|---|---|
| 1734 | 1734 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_PLAYER(1) |
| 1735 | 1735 | INPUT_PORTS_END |
| 1736 | 1736 | |
| 1737 | // 'no 1' which is displayed before each player plays actually refers to the wave number, not the player number! | |
| 1738 | static INPUT_PORTS_START( skylove ) | |
| 1739 | PORT_START("DSW") | |
| 1740 | PORT_DIPNAME( 0x01, 0x00, DEF_STR( Coinage ) ) | |
| 1741 | PORT_DIPSETTING( 0x01, DEF_STR( 2C_1C ) ) | |
| 1742 | PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) | |
| 1743 | PORT_DIPNAME( 0x06, 0x00, DEF_STR( Lives ) ) | |
| 1744 | PORT_DIPSETTING( 0x00, "3" ) | |
| 1745 | PORT_DIPSETTING( 0x02, "4" ) | |
| 1746 | PORT_DIPSETTING( 0x04, "5" ) | |
| 1747 | PORT_DIPSETTING( 0x06, "6" ) | |
| 1748 | PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) ) | |
| 1749 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) | |
| 1750 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 1751 | PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) ) | |
| 1752 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) | |
| 1753 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 1754 | PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) ) | |
| 1755 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) | |
| 1756 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 1757 | PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) ) | |
| 1758 | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) | |
| 1759 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 1760 | PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) ) | |
| 1761 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) | |
| 1762 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 1763 | ||
| 1764 | PORT_START("INPUTS") | |
| 1765 | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) | |
| 1766 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) // must be off to boot | |
| 1767 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 1768 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_VBLANK ) | |
| 1769 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 ) | |
| 1770 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_COIN1 ) | |
| 1771 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_START1 ) | |
| 1772 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_START2 ) | |
| 1773 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_2WAY PORT_PLAYER(1) | |
| 1774 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_PLAYER(1) | |
| 1775 | INPUT_PORTS_END | |
| 1776 | ||
| 1737 | 1777 | static ADDRESS_MAP_START( shuttlei_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| 1738 | AM_RANGE(0x0000, 0x13ff) AM_ROM | |
| 1739 | AM_RANGE(0x1c00, 0x1fff) AM_ROM | |
| 1778 | AM_RANGE(0x0000, 0x1fff) AM_ROM | |
| 1740 | 1779 | AM_RANGE(0x2000, 0x3fff) AM_RAM AM_BASE(&mw8080bw_ram) AM_SIZE(&mw8080bw_ram_size) |
| 1741 | AM_RANGE(0x4000, 0x43ff) AM_RAM | |
| 1780 | AM_RANGE(0x4000, 0x43ff) AM_RAM AM_SHARE(1) // shuttlei | |
| 1781 | AM_RANGE(0x6000, 0x63ff) AM_RAM AM_SHARE(1) // skylove (is it mirrored, or different PCB hookup?) | |
| 1742 | 1782 | ADDRESS_MAP_END |
| 1743 | 1783 | |
| 1744 | 1784 | static ADDRESS_MAP_START( shuttlei_io_map, ADDRESS_SPACE_IO, 8 ) |
| r5490 | r5491 | |
| 1761 | 1801 | |
| 1762 | 1802 | /* video hardware */ |
| 1763 | 1803 | MDRV_SCREEN_MODIFY("screen") |
| 1764 | ||
| 1804 | | |
| 1765 | 1805 | MDRV_VIDEO_UPDATE(shuttlei) |
| 1766 | 1806 | |
| 1767 | 1807 | /* sound hardware */ |
| r5490 | r5491 | |
| 1941 | 1981 | |
| 1942 | 1982 | ROM_START( sinvemag ) |
| 1943 | 1983 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 1944 | ROM_LOAD( "sv0 | |
| 1984 | ROM_LOAD( "sv01.36 | |
| 1945 | 1985 | ROM_LOAD( "emag_si.b", 0x0400, 0x0400, CRC(febe6d1a) SHA1(e1c3a24b4fa5862107ada1f9d7249466e8c3f06a) ) |
| 1946 | 1986 | ROM_LOAD( "emag_si.c", 0x0800, 0x0400, CRC(aafb24f7) SHA1(6718cdfae09f77d735be5145b9d202a73d8ed9db) ) |
| 1947 | 1987 | ROM_LOAD( "emag_si.d", 0x1400, 0x0400, CRC(68c4b9da) SHA1(8953dc0427b09b71bd763e65caa7deaca09a15da) ) |
| r5490 | r5491 | |
| 1975 | 2015 | |
| 1976 | 2016 | ROM_START( sicv ) |
| 1977 | 2017 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 1978 | ROM_LOAD( "cv17.bin", 0x0000, 0x0800, CRC(3dfbe9e6) SHA1(26487df7fa0bbd0b9b7f74347c4b9318b0a73b89) ) | |
| 1979 | ROM_LOAD( "cv18.bin", 0x0800, 0x0800, CRC(bc3c82bf) SHA1(33e39fc97bd46699be1f9b9741a86f433efdc911) ) | |
| 1980 | ROM_LOAD( "cv19.bin", 0x1000, 0x0800, CRC(d202b41c) SHA1(868fe938ef768655c894ec95b7d9a81bf21f69ca) ) | |
| 1981 | ROM_LOAD( "cv20.bin", 0x1800, 0x0800, CRC(c74ee7b6) SHA1(4f52db274a2d4433ab67c099ee805e8eb8516c0f) ) | |
| 2018 | ROM_LOAD( "cv17.36", 0x0000, 0x0800, CRC(3dfbe9e6) SHA1(26487df7fa0bbd0b9b7f74347c4b9318b0a73b89) ) | |
| 2019 | ROM_LOAD( "cv18.35", 0x0800, 0x0800, CRC(bc3c82bf) SHA1(33e39fc97bd46699be1f9b9741a86f433efdc911) ) | |
| 2020 | ROM_LOAD( "cv19.34", 0x1000, 0x0800, CRC(d202b41c) SHA1(868fe938ef768655c894ec95b7d9a81bf21f69ca) ) | |
| 2021 | ROM_LOAD( "cv20.33", 0x1800, 0x0800, CRC(c74ee7b6) SHA1(4f52db274a2d4433ab67c099ee805e8eb8516c0f) ) | |
| 1982 | 2022 | |
| 1983 | 2023 | ROM_REGION( 0x0800, "proms", 0 ) /* color maps player 1/player 2 */ |
| 1984 | ROM_LOAD( "cv01_1.bin", 0x0000, 0x0400, CRC(aac24f34) SHA1(ad110e776547fb48baac568bb50d61854537ca34) ) | |
| 1985 | ROM_LOAD( "cv02_2.bin", 0x0400, 0x0400, CRC(2bdf83a0) SHA1(01ffbd43964c41987e7d44816271308f9a70802b) ) | |
| 2024 | ROM_LOAD( "cv01.1", 0x0000, 0x0400, CRC(037e16ac) SHA1(d585030aaff428330c91ae94d7cd5c96ebdd67dd) ) | |
| 2025 | ROM_LOAD( "cv02.2", 0x0400, 0x0400, CRC(8263da38) SHA1(2e7c769d129e6f8a1a31eba1e02777bb94ac32b2) ) | |
| 1986 | 2026 | ROM_END |
| 1987 | 2027 | |
| 1988 | 2028 | ROM_START( sisv ) |
| 1989 | 2029 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 1990 | ROM_LOAD( "sv0h.bin", 0x0000, 0x0400, CRC(86bb8cb6) SHA1(a75648e7f2446c756d86624b15d387d25ce47b66) ) | |
| 1991 | ROM_LOAD( "sv02.bin", 0x0400, 0x0400, CRC(0e159534) SHA1(94b2015a9d38ca738705b8d024a79fd2f9855b98) ) | |
| 1992 | ROM_LOAD( "invaders.g", 0x0800, 0x0800, CRC(6bfaca4a) SHA1(16f48649b531bdef8c2d1446c429b5f414524350) ) | |
| 1993 | ROM_LOAD( "invaders.f", 0x1000, 0x0800, CRC(0ccead96) SHA1(537aef03468f63c5b9e11dd61e253f7ae17d9743) ) | |
| 1994 | ROM_LOAD( "tv04.m1", 0x1800, 0x0800, CRC(cd2c67f6) SHA1(60f9d8fe2d36ff589277b607f07c1edc917c755c) ) | |
| 2030 | ROM_LOAD( "sv01.36", 0x0000, 0x0400, CRC(86bb8cb6) SHA1(a75648e7f2446c756d86624b15d387d25ce47b66) ) | |
| 2031 | ROM_LOAD( "sv02.35", 0x0400, 0x0400, CRC(0e159534) SHA1(94b2015a9d38ca738705b8d024a79fd2f9855b98) ) | |
| 2032 | ROM_LOAD( "sv10.34", 0x0800, 0x0400, CRC(483e651e) SHA1(ae795ee3bc53ac3936f6cf2c72cca7a890783513) ) | |
| 2033 | ROM_LOAD( "sv04.31", 0x1400, 0x0400, CRC(1293b826) SHA1(165cd5d08a19eadbe954145b12807f10df9e691a) ) | |
| 2034 | ROM_LOAD( "sv09.42", 0x1800, 0x0400, CRC(cd80b13f) SHA1(0f4b9537b99fe3cdeebe525efb1869a1be0bc704) ) | |
| 2035 | ROM_LOAD( "sv06.41", 0x1c00, 0x0400, CRC(2c68e0b4) SHA1(a5e5357120102ad32792bf3ef6362f45b7ba7070) ) | |
| 1995 | 2036 | |
| 1996 | 2037 | ROM_REGION( 0x0800, "proms", 0 ) /* color maps player 1/player 2 */ |
| 1997 | ROM_LOAD( "cv01_1.bin", 0x0000, 0x0400, CRC(aac24f34) SHA1(ad110e776547fb48baac568bb50d61854537ca34) ) | |
| 1998 | ROM_LOAD( "cv02_2.bin", 0x0400, 0x0400, CRC(2bdf83a0) SHA1(01ffbd43964c41987e7d44816271308f9a70802b) ) | |
| 2038 | ROM_LOAD( "cv01.1", 0x0000, 0x0400, CRC(aac24f34) SHA1(ad110e776547fb48baac568bb50d61854537ca34) ) | |
| 2039 | ROM_LOAD( "cv02.2", 0x0400, 0x0400, CRC(2bdf83a0) SHA1(01ffbd43964c41987e7d44816271308f9a70802b) ) | |
| 1999 | 2040 | ROM_END |
| 2000 | 2041 | |
| 2001 | 2042 | ROM_START( sisv2 ) |
| 2002 | 2043 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 2003 | ROM_LOAD( "sv0h.bin", 0x0000, 0x0400, CRC(86bb8cb6) SHA1(a75648e7f2446c756d86624b15d387d25ce47b66) ) | |
| 2004 | ROM_LOAD( "emag_si.b", 0x0400, 0x0400, CRC(febe6d1a) SHA1(e1c3a24b4fa5862107ada1f9d7249466e8c3f06a) ) | |
| 2005 | ROM_LOAD( "sv12", 0x0800, 0x0400, CRC(a08e7202) SHA1(de9f7c851d1b894915e720cfc5d794cdb31752f6) ) | |
| 2006 | ROM_LOAD( "invaders.f", 0x1000, 0x0800, CRC(0ccead96) SHA1(537aef03468f63c5b9e11dd61e253f7ae17d9743) ) | |
| 2007 | ROM_LOAD( "sv13", 0x1800, 0x0400, CRC(a9011634) SHA1(1f1369ecb02078042cfdf17a497b8dda6dd23793) ) | |
| 2008 | ROM_LOAD( "sv14", 0x1c00, 0x0400, CRC(58730370) SHA1(13dc806bcecd2d6089a85dd710ac2869413f7475) ) | |
| 2044 | ROM_LOAD( "sv01.36", 0x0000, 0x0400, CRC(86bb8cb6) SHA1(a75648e7f2446c756d86624b15d387d25ce47b66) ) | |
| 2045 | ROM_LOAD( "sv11.35", 0x0400, 0x0400, CRC(febe6d1a) SHA1(e1c3a24b4fa5862107ada1f9d7249466e8c3f06a) ) | |
| 2046 | ROM_LOAD( "sv12.34", 0x0800, 0x0400, CRC(a08e7202) SHA1(de9f7c851d1b894915e720cfc5d794cdb31752f6) ) | |
| 2047 | ROM_LOAD( "sv04.31", 0x1400, 0x0400, CRC(1293b826) SHA1(165cd5d08a19eadbe954145b12807f10df9e691a) ) | |
| 2048 | ROM_LOAD( "sv13.42", 0x1800, 0x0400, CRC(a9011634) SHA1(1f1369ecb02078042cfdf17a497b8dda6dd23793) ) | |
| 2049 | ROM_LOAD( "sv14.41", 0x1c00, 0x0400, CRC(58730370) SHA1(13dc806bcecd2d6089a85dd710ac2869413f7475) ) | |
| 2009 | 2050 | |
| 2010 | 2051 | ROM_REGION( 0x0800, "proms", 0 ) /* color maps player 1/player 2 */ |
| 2011 | ROM_LOAD( "cv01_1.bin", 0x0000, 0x0400, CRC(aac24f34) SHA1(ad110e776547fb48baac568bb50d61854537ca34) ) | |
| 2012 | ROM_LOAD( "cv02_2.bin", 0x0400, 0x0400, CRC(2bdf83a0) SHA1(01ffbd43964c41987e7d44816271308f9a70802b) ) | |
| 2052 | ROM_LOAD( "cv01.1", 0x0000, 0x0400, CRC(aac24f34) SHA1(ad110e776547fb48baac568bb50d61854537ca34) ) | |
| 2053 | ROM_LOAD( "cv02.2", 0x0400, 0x0400, CRC(2bdf83a0) SHA1(01ffbd43964c41987e7d44816271308f9a70802b) ) | |
| 2013 | 2054 | ROM_END |
| 2014 | 2055 | |
| 2015 | 2056 | ROM_START( spceking ) |
| r5490 | r5491 | |
| 2648 | 2689 | ROM_LOAD( "8.11f", 0x1c00, 0x0400, CRC(4978552b) SHA1(5a6b6e39f57a353580ed9281d7da24950f058426) ) |
| 2649 | 2690 | ROM_END |
| 2650 | 2691 | |
| 2692 | ROM_START( skylove ) | |
| 2693 | ROM_REGION( 0x10000, "maincpu", 0 ) | |
| 2694 | ROM_LOAD( "01", 0x0000, 0x0400, CRC(391ad7d0) SHA1(73358fff44da5fffd4e08fbb615ccc0245e3365b) ) | |
| 2695 | ROM_LOAD( "02", 0x0400, 0x0400, CRC(365ba070) SHA1(8493bde493ea0d04b3563f9bc752a6ec57022524) ) | |
| 2696 | ROM_LOAD( "03", 0x0800, 0x0400, CRC(47364dad) SHA1(b49704f8d49a0866cb9cd8bb867f30246e3dabc9) ) | |
| 2697 | ROM_LOAD( "04", 0x0c00, 0x0400, CRC(9d76f33d) SHA1(5aa6a081a3609e6c036843049d58cc763a86fedb) ) | |
| 2698 | ROM_LOAD( "05", 0x1000, 0x0400, CRC(09084954) SHA1(f5c826188ffb7a572c45aad94e794f31bebfebe5) ) | |
| 2699 | ROM_LOAD( "06", 0x1400, 0x0400, CRC(6d494e82) SHA1(8e5ee1b842621cd088e80124b92b8a517e8dfbb9) ) | |
| 2700 | ROM_LOAD( "07", 0x1800, 0x0400, CRC(1a9aa4b8) SHA1(0da553c6343a2740312ebafc2b936ffbbf24af04) ) | |
| 2701 | ROM_LOAD( "08", 0x1c00, 0x0400, CRC(ecaacacc) SHA1(b815366d3aaa8ef311cd54a5be9fb4d60324e5a7) ) | |
| 2702 | ROM_END | |
| 2703 | ||
| 2704 | ||
| 2651 | 2705 | ROM_START( darthvdr ) |
| 2652 | 2706 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 2653 | 2707 | ROM_LOAD( "rom0", 0x0000, 0x0400, CRC(b15785b6) SHA1(f453a006019dc83bd746f3a26736e913186332e6) ) |
| r5490 | r5491 | |
| 2690 | 2744 | |
| 2691 | 2745 | /* Taito games */ |
| 2692 | 2746 | GAMEL(1978, sitv, invaders, invaders, sitv, 0, ROT270, "Taito", "Space Invaders (TV Version)", GAME_SUPPORTS_SAVE, layout_invaders ) |
| 2693 | GAME( 1979, sicv, invaders, invadpt2, sicv, 0, ROT270, "Taito", "Space Invaders (CV Version)", GAME_SUPPORTS_SAVE ) | |
| 2694 | GAME( 1978, sisv, invaders, invadpt2, sicv, 0, ROT270, "Taito", "Space Invaders (SV Version)", GAME_SUPPORTS_SAVE ) | |
| 2695 | GAME( 1978, sisv2, invaders, invadpt2, sicv, 0, ROT270, "Taito", "Space Invaders (SV Version 2)", GAME_SUPPORTS_SAVE ) | |
| 2747 | GAME( 1979, sicv, invaders, invadpt2, sicv, 0, ROT270, "Taito", "Space Invaders (CV Version)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 2748 | GAME( 1978, sisv, invaders, invadpt2, sicv, 0, ROT270, "Taito", "Space Invaders (SV Version)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 2749 | GAME( 1978, sisv2, invaders, invadpt2, sicv, 0, ROT270, "Taito", "Space Invaders (SV Version 2)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 2696 | 2750 | GAMEL(1979, galxwars, 0, invaders, galxwars, 0, ROT270, "Universal", "Galaxy Wars (Universal set 1)", GAME_SUPPORTS_SAVE, layout_invaders ) |
| 2697 | 2751 | GAMEL(1979, galxwars2,galxwars, invaders, galxwars, 0, ROT270, "Universal", "Galaxy Wars (Universal set 2)", GAME_SUPPORTS_SAVE, layout_invaders ) |
| 2698 | 2752 | GAMEL(1979, galxwarst,galxwars, invaders, galxwars, 0, ROT270, "Taito?", "Galaxy Wars (Taito?)" , GAME_SUPPORTS_SAVE, layout_invaders) /* Copyright Not Displayed */ |
| 2699 | 2753 | GAMEL(1979, starw, galxwars, invaders, galxwars, 0, ROT270, "bootleg", "Star Wars", GAME_SUPPORTS_SAVE, layout_invaders ) |
| 2700 | GAME( 1979, lrescue, 0, lrescue, lrescue, 0, ROT270, "Taito", "Lunar Rescue", GAME_SUPPORTS_SAVE ) | |
| 2754 | GAME( 1979, lrescue, 0, lrescue, lrescue, 0, ROT270, "Taito", "Lunar Rescue", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) | |
| 2701 | 2755 | GAME( 1980, mlander, lrescue, invaders, lrescue, 0, ROT270, "[Taito] (Leisure Time Electronics bootleg)", "Moon Lander (bootleg of Lunar Rescue)", GAME_SUPPORTS_SAVE ) |
| 2702 | GAME( 1978, lrescuem, lrescue, lrescue, lrescue, 0, ROT270, "Taito (Model Racing bootleg)", "Lunar Rescue (Model Racing bootleg)", GAME_SUPPORTS_SAVE ) | |
| 2703 | GAME( 1979, grescue, lrescue, lrescue, lrescue, 0, ROT270, "Taito (Universal license?)", "Galaxy Rescue", GAME_SUPPORTS_SAVE ) | |
| 2704 | GAME( 1979, desterth, lrescue, lrescue, invrvnge, 0, ROT270, "bootleg", "Destination Earth", GAME_SUPPORTS_SAVE ) | |
| 2705 | GAME( 1979, invadpt2, 0, invadpt2, invadpt2, 0, ROT270, "Taito", "Space Invaders Part II (Taito)", GAME_SUPPORTS_SAVE ) | |
| 2756 | GAME( 1978, lrescuem, lrescue, lrescue, lrescue, 0, ROT270, "Taito (Model Racing bootleg)", "Lunar Rescue (Model Racing bootleg)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) | |
| 2757 | GAME( 1979, grescue, lrescue, lrescue, lrescue, 0, ROT270, "Taito (Universal license?)", "Galaxy Rescue", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) | |
| 2758 | GAME( 1979, desterth, lrescue, lrescue, invrvnge, 0, ROT270, "bootleg", "Destination Earth", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) | |
| 2759 | GAME( 1979, invadpt2, 0, invadpt2, invadpt2, 0, ROT270, "Taito", "Space Invaders Part II (Taito)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) | |
| 2706 | 2760 | GAME( 1980, invaddlx, invadpt2, invaders, invadpt2, 0, ROT270, "Midway", "Space Invaders Deluxe", GAME_SUPPORTS_SAVE ) |
| 2707 | 2761 | GAME( 1979, cosmo, 0, cosmo, cosmo, 0, ROT90, "TDS & Mints", "Cosmo", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) |
| 2708 | 2762 | GAME( 1979, schaser, 0, schaser, schaser, 0, ROT270, "Taito", "Space Chaser", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_COLORS ) |
| 2709 | GAME( 1979, schasercv,schaser, schasrcv, schasrcv, 0, ROT270, "Taito", "Space Chaser (CV version)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_COLORS ) | |
| 2763 | GAME( 1979, schasercv,schaser, schasrcv, schasrcv, 0, ROT270, "Taito", "Space Chaser (CV version)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND | GAME_IMPERFECT_COLORS ) | |
| 2710 | 2764 | GAME( 1979, sflush, 0, sflush, sflush, 0, ROT270, "Taito", "Straight Flush",GAME_SUPPORTS_SAVE | GAME_NO_SOUND | GAME_IMPERFECT_COLORS | GAME_NO_COCKTAIL) |
| 2711 | 2765 | GAME( 1980, lupin3, 0, lupin3, lupin3, 0, ROT270, "Taito", "Lupin III (set 1)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) |
| 2712 | 2766 | GAME( 1980, lupin3a, lupin3, lupin3a, lupin3a, 0, ROT270, "Taito", "Lupin III (set 2)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) |
| 2713 | 2767 | GAME( 1980, polaris, 0, polaris, polaris, 0, ROT270, "Taito", "Polaris (set 1)", GAME_SUPPORTS_SAVE ) |
| 2714 | 2768 | GAME( 1980, polarisa, polaris, polaris, polaris, 0, ROT270, "Taito", "Polaris (set 2)", GAME_SUPPORTS_SAVE ) |
| 2715 | 2769 | GAME( 1980, ballbomb, 0, ballbomb, ballbomb, 0, ROT270, "Taito", "Balloon Bomber", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS ) /* missing clouds */ |
| 2716 | GAME( 1980, indianbt, 0, indianbt, indianbt, 0, ROT270, "Taito", "Indian Battle", GAME_SUPPORTS_SAVE ) | |
| 2717 | GAME( 1980, steelwkr, 0, steelwkr, steelwkr, 0, ROT0 , "Taito", "Steel Worker", GAME_SUPPORTS_SAVE ) | |
| 2770 | GAME( 1980, indianbt, 0, indianbt, indianbt, 0, ROT270, "Taito", "Indian Battle", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) | |
| 2771 | GAME( 1980, steelwkr, 0, steelwkr, steelwkr, 0, ROT0 , "Taito", "Steel Worker", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) | |
| 2718 | 2772 | |
| 2719 | 2773 | /* Misc. manufacturers */ |
| 2720 | 2774 | |
| r5490 | r5491 | |
| 2728 | 2782 | GAMEL(19??, tst_invd, invaders, invaders, sicv, 0, ROT0, "Test ROM", "Space Invaders Test ROM", GAME_SUPPORTS_SAVE, layout_invaders ) |
| 2729 | 2783 | GAMEL(19??, alieninv, invaders, invaders, searthin, 0, ROT270, "bootleg", "Alien Invasion Part II", GAME_SUPPORTS_SAVE, layout_invaders ) |
| 2730 | 2784 | GAMEL(1978, spceking, invaders, invaders, sicv, 0, ROT270, "Leijac Corporation (Konami)","Space King", GAME_SUPPORTS_SAVE, layout_invaders ) |
| 2731 | GAMEL(1978, spcewars, invaders, spcewars, spcewars, 0, ROT270, "Sanritsu", "Space War (Sanritsu)", GAME_SUPPORTS_SAVE, layout_invaders ) | |
| 2785 | GAMEL(1978, spcewars, invaders, spcewars, spcewars, 0, ROT270, "Sanritsu", "Space War (Sanritsu)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_invaders ) | |
| 2732 | 2786 | GAME (19??, astropal, 0, astropal, astropal, 0, ROT0, "Sidam?", "Astropal", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) |
| 2733 | GAMEL(1978, spacewr3, invaders, spcewars, sicv, 0, ROT270, "bootleg", "Space War Part 3", GAME_SUPPORTS_SAVE, layout_invaders ) | |
| 2787 | GAMEL(1978, spacewr3, invaders, spcewars, sicv, 0, ROT270, "bootleg", "Space War Part 3", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_invaders ) | |
| 2734 | 2788 | GAMEL(1978, invaderl, invaders, invaders, sicv, 0, ROT270, "Logitec", "Space Invaders (Logitec)", GAME_SUPPORTS_SAVE, layout_invaders ) |
| 2735 | 2789 | GAMEL(1978, invader4, invaders, invaders, sicv, 0, ROT270, "bootleg", "Space Invaders Part Four", GAME_SUPPORTS_SAVE, layout_invaders ) |
| 2736 | 2790 | GAMEL(1979, jspecter, invaders, invaders, jspecter, 0, ROT270, "Jatre", "Jatre Specter (set 1)", GAME_SUPPORTS_SAVE, layout_invaders ) |
| r5490 | r5491 | |
| 2740 | 2794 | GAMEL(19??, superinv, invaders, invaders, superinv, 0, ROT270, "bootleg", "Super Invaders", GAME_SUPPORTS_SAVE, layout_invaders ) |
| 2741 | 2795 | GAMEL(19??, invasion, invaders, invaders, invasion, 0, ROT270, "Sidam", "Invasion", GAME_SUPPORTS_SAVE, layout_invaders ) |
| 2742 | 2796 | GAME( 19??, darthvdr, invaders, darthvdr, darthvdr, 0, ROT270, "bootleg", "Darth Vader", GAME_SUPPORTS_SAVE | GAME_NO_SOUND ) |
| 2743 | GAME( 1979, moonbase, invadpt2, invadpt2, invadpt2, 0, ROT270, "Nichibutsu", "Moon Base", GAME_SUPPORTS_SAVE ) | |
| 2797 | GAME( 1979, moonbase, invadpt2, invadpt2, invadpt2, 0, ROT270, "Nichibutsu", "Moon Base", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) | |
| 2744 | 2798 | GAMEL(19??, invrvnge, 0, invrvnge, invrvnge, 0, ROT270, "Zenitone-Microsec Ltd.", "Invader's Revenge", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND, layout_invrvnge ) |
| 2745 | 2799 | GAMEL(19??, invrvngea,invrvnge, invrvnge, invrvnge, 0, ROT270, "Zenitone-Microsec Ltd. (Dutchford license)", "Invader's Revenge (Dutchford)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND, layout_invrvnge ) |
| 2746 | 2800 | GAME( 1980, spclaser, 0, invaders, spclaser, 0, ROT270, "Taito", "Space Laser", GAME_SUPPORTS_SAVE ) |
| 2747 | GAME( 1980, intruder, spclaser, invadpt2, spclaser, 0, ROT270, "GamePlan (Taito)", "Intruder", GAME_SUPPORTS_SAVE ) | |
| 2801 | GAME( 1980, intruder, spclaser, invadpt2, spclaser, 0, ROT270, "GamePlan (Taito)", "Intruder", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) | |
| 2748 | 2802 | GAME( 1980, laser, spclaser, invaders, spclaser, 0, ROT270, "Leisure Time Electronics Inc.", "Astro Laser", GAME_SUPPORTS_SAVE ) |
| 2749 | 2803 | GAME( 1979, spcewarl, spclaser, invaders, spclaser, 0, ROT270, "Leijac Corporation (Konami)","Space War (Leijac Corporation)", GAME_SUPPORTS_SAVE ) |
| 2750 | GAME( 1979, rollingc, 0, rollingc, rollingc, 0, ROT270, "Nichibutsu", "Rolling Crash / Moon Base", GAME_SUPPORTS_SAVE ) | |
| 2804 | GAME( 1979, rollingc, 0, rollingc, rollingc, 0, ROT270, "Nichibutsu", "Rolling Crash / Moon Base", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 2751 | 2805 | GAME( 1979, ozmawars, 0, invaders, ozmawars, 0, ROT270, "SNK", "Ozma Wars (set 1)", GAME_SUPPORTS_SAVE ) |
| 2752 | 2806 | GAME( 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 */ |
| 2753 | 2807 | GAME( 1979, solfight, ozmawars, invaders, ozmawars, 0, ROT270, "bootleg", "Solar Fight", GAME_SUPPORTS_SAVE ) |
| 2754 | 2808 | GAME( 1979, spaceph, ozmawars, invaders, spaceph, 0, ROT270, "Zilec Games", "Space Phantoms", GAME_SUPPORTS_SAVE ) |
| 2755 | 2809 | GAME( 1979, yosakdon, 0, yosakdon, yosakdon, 0, ROT270, "Wing", "Yosaku To Donbei (set 1)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) /* bootleg? */ |
| 2756 | 2810 | GAME( 1979, yosakdona,yosakdon, yosakdon, yosakdon, 0, ROT270, "Wing", "Yosaku To Donbei (set 2)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) /* bootleg? */ |
| 2757 | GAMEL(1979, shuttlei, 0, shuttlei, shuttlei, 0, ROT270, "Omori", "Shuttle Invader", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL, layout_shuttlei ) | |
| 2758 | ||
| 2811 | GAMEL(1979, shuttlei, 0, shuttlei, shuttlei, 0, ROT270, "Omori", "Shuttle Invader", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND | GAME_NO_COCKTAIL, layout_shuttlei ) | |
| 2812 | GAMEL(1979, skylove, 0, shuttlei, skylove, 0, ROT270, "Omori", "Sky Love", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND | GAME_NO_COCKTAIL, layout_shuttlei ) |
| r5490 | r5491 | |
|---|---|---|
| 202 | 202 | int bit = !BIT(offset,11); |
| 203 | 203 | /* can't use flip_screen_set(space->machine, ) because the visible area is asymmetrical */ |
| 204 | 204 | flip_screen_set_no_update(space->machine, bit); |
| 205 | tilemap_set_flip | |
| 205 | tilemap_set_flip | |
| 206 | 206 | } |
| 207 | 207 | |
| 208 | 208 |
| r5490 | r5491 | |
|---|---|---|
| 30 | 30 | #include "cpu/esrip/esrip.h" |
| 31 | 31 | #include "machine/6840ptm.h" |
| 32 | 32 | #include "sound/dac.h" |
| 33 | #include "sound/5220 | |
| 33 | #include "sound/tms5220 | |
| 34 | 34 | #include "esripsys.h" |
| 35 | 35 | |
| 36 | 36 |
| r5490 | r5491 | |
|---|---|---|
| 56 | 56 | |
| 57 | 57 | static WRITE8_HANDLER( ettrivia_control_w ) |
| 58 | 58 | { |
| 59 | tilemap_mark_all_tiles_dirty | |
| 59 | tilemap_mark_all_tiles_dirty | |
| 60 | 60 | |
| 61 | 61 | palreg = (data >> 1) & 3; |
| 62 | 62 | gfx_bank = (data >> 2) & 1; |
| r5490 | r5491 | |
|---|---|---|
| 266 | 266 | ROM_LOAD( "gb-07.bin", 0x3000, 0x1000, CRC(92a9f8bf) SHA1(9231cd86f24f1e6a585c3a919add50c1f8e42a4c) ) |
| 267 | 267 | ROM_END |
| 268 | 268 | |
| 269 | GAME( 1981, thehand, 0, gotya, gotya, 0, ROT270, "T.I.C." , "The Hand", 0 ) | |
| 270 | GAME( 1981, gotya, thehand, gotya, gotya, 0, ROT270, "Game-A-Tron", "Got-Ya (12/24/1981, prototype?)", 0 ) | |
| 269 | GAME( 1981, thehand, 0, gotya, gotya, 0, ROT270, "T.I.C." , "The Hand", GAME_IMPERFECT_SOUND ) | |
| 270 | GAME( 1981, gotya, thehand, gotya, gotya, 0, ROT270, "Game-A-Tron", "Got-Ya (12/24/1981, prototype?)", GAME_IMPERFECT_SOUND ) |
| r5490 | r5491 | |
|---|---|---|
| 34 | 34 | |
| 35 | 35 | Game | Year | ID | CPU PCB | CG Board(s) |
| 36 | 36 | -------------------------------------------------------------------------- |
| 37 | Midnight Run | 1995 | GX | |
| 37 | Midnight Run | 1995 | GX476 | ZR107 | ZR107 | |
| 38 | 38 | Winding Heat | 1996 | GX677 | ZR107 | ZR107 |
| 39 | 39 | Jet Wave / Wave Shark | 1996 | GX678 | ZR107 | GN678 |
| 40 | 40 | |
| r5490 | r5491 | |
| 887 | 887 | |
| 888 | 888 | ROM_START( windheat ) |
| 889 | 889 | ROM_REGION(0x200000, "user1", 0) /* PowerPC program roms */ |
| 890 | ROM_LOAD32_BYTE( "677eaa01.20u", 0x000003, 0x080000, CRC(500b61f4) SHA1(ec39165412978c0dbd3cbf1f7b6989b5d7ba20a0) ) | |
| 890 | ROM_LOAD32_BYTE( "677eaa01.20u", 0x000003, 0x080000, CRC(500b61f4) SHA1(ec39165412978c0dbd3cbf1f7b6989b5d7ba20a0) ) /* Program version EAA, Euro v2.11 */ | |
| 891 | 891 | ROM_LOAD32_BYTE( "677eaa02.17u", 0x000002, 0x080000, CRC(99f9fd3b) SHA1(aaec5d7f4e46648aab3738ab09e46b312caee58f) ) |
| 892 | 892 | ROM_LOAD32_BYTE( "677eaa03.15u", 0x000001, 0x080000, CRC(c46eba6b) SHA1(80fea082d09071875d30a6a838736cf3a3e4501d) ) |
| 893 | 893 | ROM_LOAD32_BYTE( "677eaa04.13u", 0x000000, 0x080000, CRC(20dfcf4e) SHA1(4de8e22507f4719441f14fe96e25f0e0712dfa95) ) |
| r5490 | r5491 | |
| 913 | 913 | |
| 914 | 914 | ROM_START( windheatu ) |
| 915 | 915 | ROM_REGION(0x200000, "user1", 0) /* PowerPC program roms */ |
| 916 | ROM_LOAD32_BYTE( "677ubc01.20u", 0x000003, 0x080000, CRC(63198721) SHA1(7f34131bf51d573d0c683b28df2567a0b911c98c) ) | |
| 916 | ROM_LOAD32_BYTE( "677ubc01.20u", 0x000003, 0x080000, CRC(63198721) SHA1(7f34131bf51d573d0c683b28df2567a0b911c98c) ) /* Program version UBC, USA v2.22 */ | |
| 917 | 917 | ROM_LOAD32_BYTE( "677ubc02.17u", 0x000002, 0x080000, CRC(bdb00e2d) SHA1(c54b2250047576e12e9936300989e40494b4659d) ) |
| 918 | 918 | ROM_LOAD32_BYTE( "677ubc03.15u", 0x000001, 0x080000, CRC(0f7d8c1f) SHA1(63de03c7be794b6dae8d0af69e894ac573dbbc11) ) |
| 919 | 919 | ROM_LOAD32_BYTE( "677ubc04.13u", 0x000000, 0x080000, CRC(4e42791c) SHA1(a53c6374c6b46db578be4ced2ee7c2af7062d961) ) |
| r5490 | r5491 | |
| 937 | 937 | ROM_LOAD( "677a08.5r", 0x400000, 0x200000, CRC(bde38850) SHA1(aaf1bdfc25ecdffc1f6076c9c1b2edbe263171d2) ) |
| 938 | 938 | ROM_END |
| 939 | 939 | |
| 940 | ROM_START( windheatj ) | |
| 941 | ROM_REGION(0x200000, "user1", 0) /* PowerPC program roms */ | |
| 942 | ROM_LOAD32_BYTE( "677jaa01.20u", 0x000003, 0x080000, CRC(559b8def) SHA1(6f2e8f29b0d9a950e71015270560813adc20b689) ) /* Program version JAA, JPN v2.11 */ | |
| 943 | ROM_LOAD32_BYTE( "677jaa02.17u", 0x000002, 0x080000, CRC(cc230575) SHA1(be2da67600ab5edad2e8b7711c4cf985befe28bf) ) | |
| 944 | ROM_LOAD32_BYTE( "677jaa03.15u", 0x000001, 0x080000, CRC(20b04701) SHA1(463be36c7f65b4aa3c3f2b1f37d1e6c1f5106cbb) ) | |
| 945 | ROM_LOAD32_BYTE( "677jaa04.13u", 0x000000, 0x080000, CRC(f563b2a5) SHA1(b55b486b6af926eff4729f402116d45b61c5d25a) ) | |
| 946 | ||
| 947 | ROM_REGION(0x20000, "audiocpu", 0) /* M68K program */ | |
| 948 | ROM_LOAD16_WORD_SWAP( "677a07.19l", 0x000000, 0x020000, CRC(05b14f2d) SHA1(3753f71173594ee741980e08eed0f7c3fc3588c9) ) | |
| 949 | ||
| 950 | ROM_REGION(0x100000, "gfx2", 0) /* Tilemap */ | |
| 951 | ROM_LOAD16_BYTE( "677a11.35b", 0x000000, 0x080000, CRC(bf34f00f) SHA1(ca0d390c8b30d0cfdad4cfe5a601cc1f6e8c263d) ) | |
| 952 | ROM_LOAD16_BYTE( "677a12.35a", 0x000001, 0x080000, CRC(458f0b1d) SHA1(8e11023c75c80b496dfc62b6645cfedcf2a80db4) ) | |
| 953 | ||
| 954 | ROM_REGION(0x800000, "gfx1", 0) /* Texture data */ | |
| 955 | ROM_LOAD32_BYTE( "677a13.9h", 0x000000, 0x200000, CRC(7937d226) SHA1(c2ba777292c293e31068eeb3a27353ad2595b413) ) | |
| 956 | ROM_LOAD32_BYTE( "677a14.7h", 0x000001, 0x200000, CRC(2568cf41) SHA1(6ed01922943486dafbdc863b76b2036c1fbe5281) ) | |
| 957 | ROM_LOAD32_BYTE( "677a15.5h", 0x000002, 0x200000, CRC(62e2c3dd) SHA1(c9127ed70bdff947c3da2908a08974091615a685) ) | |
| 958 | ROM_LOAD32_BYTE( "677a16.2h", 0x000003, 0x200000, CRC(7cc75539) SHA1(4bd8d88debf7489f30008bd4cbded67cb1a20ab0) ) | |
| 959 | ||
| 960 | ROM_REGION(0x600000, "shared", 0) /* Sound data */ | |
| 961 | ROM_LOAD( "677a09.3r", 0x000000, 0x200000, CRC(4dfc1ea9) SHA1(4ab264c1902b522bc0589766e42f2b6ca276808d) ) | |
| 962 | ROM_LOAD( "677a10.5n", 0x200000, 0x200000, CRC(d8f77a68) SHA1(ff251863ef096f0864f6cbe6caa43b0aa299d9ee) ) | |
| 963 | ROM_LOAD( "677a08.5r", 0x400000, 0x200000, CRC(bde38850) SHA1(aaf1bdfc25ecdffc1f6076c9c1b2edbe263171d2) ) | |
| 964 | ROM_END | |
| 965 | ||
| 940 | 966 | ROM_START( jetwave ) |
| 941 | 967 | ROM_REGION(0x200000, "user1", 0) /* PowerPC program roms */ |
| 942 | 968 | ROM_LOAD32_BYTE( "678uab01.20u", 0x000003, 0x080000, CRC(a9b9ceed) SHA1(36f0d18481d7c3e7358e02473e54bc6b52d5c26b) ) |
| r5490 | r5491 | |
| 968 | 994 | GAME( 1995, midnrun, 0, zr107, midnrun, zr107, ROT0, "Konami", "Midnight Run (Euro v1.11)", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND ) |
| 969 | 995 | GAME( 1996, windheat, 0, zr107, windheat, zr107, ROT0, "Konami", "Winding Heat (EAA, Euro v2.11)", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND ) |
| 970 | 996 | GAME( 1996, windheatu,windheat, zr107, windheat, zr107, ROT0, "Konami", "Winding Heat (UBC, USA v2.22)", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND ) |
| 997 | GAME( 1996, windheatj,windheat, zr107, windheat, zr107, ROT0, "Konami", "Winding Heat (JAA, JPN v2.11)", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND ) | |
| 971 | 998 | GAME( 1996, jetwave, 0, jetwave, jetwave, jetwave, ROT0, "Konami", "Jet Wave (UAB, USA v1.04)", GAME_IMPERFECT_GRAPHICS|GAME_IMPERFECT_SOUND|GAME_NOT_WORKING ) |
| r5490 | r5491 | |
|---|---|---|
| 1011 | 1011 | |
| 1012 | 1012 | for( i = 0; i < 2; i++ ) |
| 1013 | 1013 | { |
| 1014 | if( get_disk_handle( diskregions[i] ) != NULL ) | |
| 1014 | if( get_disk_handle( machine, diskregions[i] ) != NULL ) | |
| 1015 | 1015 | { |
| 1016 | 1016 | SCSIDeleteInstance( available_cdroms[ i ] ); |
| 1017 | 1017 | } |
| r5490 | r5491 | |
| 1039 | 1039 | |
| 1040 | 1040 | for( i = 0; i < 2; i++ ) |
| 1041 | 1041 | { |
| 1042 | if( get_disk_handle( diskregions[i] ) != NULL ) | |
| 1042 | if( get_disk_handle( machine, diskregions[i] ) != NULL ) | |
| 1043 | 1043 | { |
| 1044 | 1044 | SCSIAllocInstance( machine, &SCSIClassCr589, &available_cdroms[ i ], diskregions[i] ); |
| 1045 | 1045 | } |
| r5490 | r5491 | |
|---|---|---|
| 266 | 266 | if( gfx_bank != (data & 3) ) |
| 267 | 267 | { |
| 268 | 268 | gfx_bank = data & 3; |
| 269 | tilemap_mark_all_tiles_dirty | |
| 269 | tilemap_mark_all_tiles_dirty | |
| 270 | 270 | } |
| 271 | 271 | } |
| 272 | 272 |
| r5490 | r5491 | |
|---|---|---|
| 350 | 350 | static MACHINE_DRIVER_START( xmen ) |
| 351 | 351 | |
| 352 | 352 | /* basic machine hardware */ |
| 353 | MDRV_CPU_ADD("maincpu", M68000, 16 | |
| 353 | MDRV_CPU_ADD("maincpu", M68000, XTAL_16MHz | |
| 354 | 354 | MDRV_CPU_PROGRAM_MAP(main_map) |
| 355 | 355 | MDRV_CPU_VBLANK_INT_HACK(xmen_interrupt,2) |
| 356 | 356 | |
| 357 | MDRV_CPU_ADD("audiocpu", Z80, | |
| 357 | MDRV_CPU_ADD("audiocpu", Z80, XTAL_16MHz/2) /* verified on | |
| 358 | 358 | MDRV_CPU_PROGRAM_MAP(sound_map) |
| 359 | 359 | |
| 360 | 360 | MDRV_MACHINE_START(xmen) |
| r5490 | r5491 | |
| 365 | 365 | MDRV_VIDEO_ATTRIBUTES(VIDEO_HAS_SHADOWS) |
| 366 | 366 | |
| 367 | 367 | MDRV_SCREEN_ADD("screen", RASTER) |
| 368 | MDRV_SCREEN_REFRESH_RATE( | |
| 368 | MDRV_SCREEN_REFRESH_RATE(59.17) /* verified on pcb */ | |
| 369 | 369 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) |
| 370 | 370 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 371 | 371 | MDRV_SCREEN_SIZE(64*8, 32*8) |
| r5490 | r5491 | |
| 378 | 378 | /* sound hardware */ |
| 379 | 379 | MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 380 | 380 | |
| 381 | MDRV_SOUND_ADD("ym", YM2151, 4 | |
| 381 | MDRV_SOUND_ADD("ym", YM2151, XTAL_16MHz/4 | |
| 382 | 382 | MDRV_SOUND_ROUTE(0, "lspeaker", 0.80) |
| 383 | 383 | MDRV_SOUND_ROUTE(1, "rspeaker", 0.80) |
| 384 | 384 |
| r5490 | r5491 | |
|---|---|---|
| 423 | 423 | pos++; |
| 424 | 424 | } else |
| 425 | 425 | v = data; |
| 426 | chd_get_metadata(get_disk_handle("card"), HARD_DISK_KEY_METADATA_TAG, 0, key, 5, 0, 0, 0); | |
| 426 | chd_get_metadata(get_disk_handle(space->machine, "card"), HARD_DISK_KEY_METADATA_TAG, 0, key, 5, 0, 0, 0); | |
| 427 | 427 | k = pos < 5 ? key[pos] : 0; |
| 428 | 428 | if(v == k) |
| 429 | 429 | locked &= ~(1 << pos); |
| r5490 | r5491 | |
| 834 | 834 | dip_timer = timer_alloc(machine, dip_timer_fired, NULL ); |
| 835 | 835 | |
| 836 | 836 | memset(cis, 0xff, 512); |
| 837 | chd_get_metadata(get_disk_handle("card"), PCMCIA_CIS_METADATA_TAG, 0, cis, 512, 0, 0, 0); | |
| 837 | chd_get_metadata(get_disk_handle(machine, "card"), PCMCIA_CIS_METADATA_TAG, 0, cis, 512, 0, 0, 0); | |
| 838 | 838 | } |
| 839 | 839 | |
| 840 | 840 | static DRIVER_INIT( coh3002t_mp ) |
| r5490 | r5491 | |
|---|---|---|
| 2045 | 2045 | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW A:1") |
| 2046 | 2046 | PORT_DIPSETTING( 0x01, DEF_STR( Upright ) ) |
| 2047 | 2047 | PORT_DIPSETTING( 0x00, "Cockpit" ) // analogue accelerator pedal |
| 2048 | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) | |
| 2049 | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) | |
| 2050 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 2051 | PORT_SERVICE( 0x04, IP_ACTIVE_LOW ) | |
| 2048 | PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW A:2" ) | |
| 2049 | PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW A:3" ) | |
| 2052 | 2050 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") |
| 2053 | 2051 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2054 | 2052 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 2122 | 2120 | PORT_DIPSETTING( 0x02, "Upright / No Steering Lock" ) |
| 2123 | 2121 | PORT_DIPSETTING( 0x01, "Full Throttle Convert, Cockpit" ) |
| 2124 | 2122 | PORT_DIPSETTING( 0x00, "Full Throttle Convert, Deluxe" ) |
| 2125 | PORT_SERVICE( 0x04, IP_ACTIVE_LOW ) | |
| 2123 | PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW A:3" ) | |
| 2126 | 2124 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") |
| 2127 | 2125 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2128 | 2126 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 2233 | 2231 | PORT_START("DSWA") /* DSW A */ |
| 2234 | 2232 | PORT_DIPUNUSED_DIPLOC( 0x01, 0x01, "SW A:1" ) |
| 2235 | 2233 | PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW A:2" ) |
| 2236 | PORT_SERVICE_DIPLOC( 0x04, | |
| 2234 | PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW A:3" ) | |
| 2237 | 2235 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") |
| 2238 | 2236 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) // Says SHIFT HI in test mode !? |
| 2239 | 2237 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) // Says SHIFT LO in test mode !? |
| r5490 | r5491 | |
| 2280 | 2278 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 2281 | 2279 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2282 | 2280 | PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW A:2" ) // manual says it must be off |
| 2283 | PORT_SERVICE( 0x04, IP_ACTIVE_LOW ) | |
| 2281 | PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW A:3" ) | |
| 2284 | 2282 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") |
| 2285 | 2283 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2286 | 2284 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 2347 | 2345 | PORT_DIPSETTING( 0x01, "Cockpit" ) |
| 2348 | 2346 | PORT_DIPSETTING( 0x00, DEF_STR( Upright ) ) |
| 2349 | 2347 | PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW A:2" ) /* Manual states "MUST REMAIN OFF" */ |
| 2350 | PORT_SERVICE_DIPLOC( 0x04, | |
| 2348 | PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW A:3" ) | |
| 2351 | 2349 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") |
| 2352 | 2350 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2353 | 2351 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 2427 | 2425 | PORT_DIPSETTING( 0x01, "Cockpit" ) |
| 2428 | 2426 | PORT_DIPSETTING( 0x00, DEF_STR( Upright ) ) |
| 2429 | 2427 | PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW A:2" ) // manual says it must be off |
| 2430 | PORT_SERVICE_DIPLOC( 0x04, | |
| 2428 | PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW A:3" ) | |
| 2431 | 2429 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") |
| 2432 | 2430 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2433 | 2431 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 2508 | 2506 | PORT_DIPSETTING( 0x80, "Cockpit" ) |
| 2509 | 2507 | PORT_DIPSETTING( 0x00, DEF_STR( Upright ) ) |
| 2510 | 2508 | PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW A:2" ) /* Dip 2 shown as "Must Remain in "Off" Position" in manual */ |
| 2511 | PORT_SERVICE_DIPLOC( 0x20, | |
| 2509 | PORT_SERVICE_DIPLOC( 0x20, IP_ACTIVE_LOW, "SW A:3" ) | |
| 2512 | 2510 | PORT_DIPNAME( 0x10, 0x10, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") |
| 2513 | 2511 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2514 | 2512 | PORT_DIPSETTING( 0x10, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 2595 | 2593 | PORT_DIPNAME( 0x02, 0x02, "Always have gunsight power up" ) PORT_DIPLOCATION("SW A:2") |
| 2596 | 2594 | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 2597 | 2595 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2598 | PORT_SERVICE_DIPLOC( 0x04, | |
| 2596 | PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW A:3" ) | |
| 2599 | 2597 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") |
| 2600 | 2598 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2601 | 2599 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) |
| r5490 | r5491 | |
| 2656 | 2654 | PORT_DIPNAME( 0x02, 0x02, "Gear shift" ) PORT_DIPLOCATION("SW A:2") |
| 2657 | 2655 | PORT_DIPSETTING( 0x02, DEF_STR( Normal ) ) |
| 2658 | 2656 | PORT_DIPSETTING( 0x00, "Inverted" ) |
| 2659 | PORT_SERVICE_DIPLOC( 0x04, | |
| 2657 | PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW A:3" ) | |
| 2660 | 2658 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW A:4") |
| 2661 | 2659 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 2662 | 2660 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) |
| r5490 | r5491 | |
|---|---|---|
| 40 | 40 | |
| 41 | 41 | ---------------------------------- |
| 42 | 42 | |
| 43 | ---------------------------------------- | |
| 44 | Safari Rally (Japan Ver.) | |
| 45 | (c)1979 Shin Nihon Kikaku | |
| 46 | ||
| 47 | ---------------------------------------- | |
| 48 | Top | |
| 49 | RLO70002 | |
| 50 | RLN00001 | |
| 51 | CPU:M5L8080AP | |
| 52 | SND:SN76477N | |
| 53 | 18.000MHz | |
| 54 | ---------------------------------------- | |
| 55 | Bottom | |
| 56 | RLO70003 | |
| 57 | RLN00002 | |
| 58 | 11.000MHz | |
| 59 | ---------------------------------------- | |
| 60 | RL-01.9 [cf7703c9] | |
| 61 | RL-02.1 [1013ecd3] | |
| 62 | RL-03.10 [84545894] | |
| 63 | RL-04.2 [5dd12f96] | |
| 64 | RL-05.11 [935ed469] | |
| 65 | RL-06.3 [24c1cd42] | |
| 66 | ||
| 67 | RL-07.40 [ba525203] | |
| 68 | RL-08.43 [d6a50aac] | |
| 69 | ||
| 70 | ||
| 71 | ||
| 72 | --- Team Japump!!! --- | |
| 73 | 43 | Dumped by Chack'n |
| 74 | 44 | 27/Jun/2009 |
| 75 | ---------------------------------------- | |
| 76 | 45 | modified by Hau |
| 77 | 0 | |
| 46 | 08/09/2009 | |
| 78 | 47 | ****************************************************************************/ |
| 79 | 48 | |
| 80 | 49 | #include "driver.h" |
| r5490 | r5491 | |
| 117 | 86 | { |
| 118 | 87 | ram_bank = data & 0x01; |
| 119 | 88 | |
| 120 | tilemap_mark_all_tiles_dirty | |
| 89 | tilemap_mark_all_tiles_dirty | |
| 121 | 90 | } |
| 122 | 91 | |
| 123 | 92 | |
| r5490 | r5491 | |
| 232 | 201 | #define SAMPLE_SOUND5_2 7 |
| 233 | 202 | #define SAMPLE_SOUND6 8 |
| 234 | 203 | #define SAMPLE_SOUND7 9 |
| 204 | #define SAMPLE_SOUND8 10 | |
| 235 | 205 | |
| 236 | 206 | #define CHANNEL_SOUND1 0 |
| 237 | 207 | #define CHANNEL_SOUND2 1 |
| 238 | 208 | #define CHANNEL_SOUND3 2 |
| 239 | 209 | #define CHANNEL_SOUND4 3 |
| 240 | 210 | #define CHANNEL_SOUND5 4 |
| 211 | #define CHANNEL_SOUND6 5 | |
| 241 | 212 | |
| 242 | 213 | static UINT8 port_last; |
| 243 | 214 | static UINT8 port_last2; |
| r5490 | r5491 | |
| 259 | 230 | |
| 260 | 231 | if (data == 0x13) |
| 261 | 232 | { |
| 262 | if (rising_bits == 0x13 || (rising_bits == 0x01 && port_last == 0x12)) | |
| 233 | if ((rising_bits == 0x13 && port_last != 0x04) || (rising_bits == 0x01 && port_last == 0x12)) | |
| 263 | 234 | { |
| 264 | 235 | sample_start(samples, CHANNEL_SOUND4, SAMPLE_SOUND7, 0); |
| 265 | 236 | } |
| r5490 | r5491 | |
| 273 | 244 | if (data == 0x1f && rising_bits == 0x1f) sample_start(samples, CHANNEL_SOUND5, SAMPLE_SOUND5_1, 0); |
| 274 | 245 | if (data == 0x14 && (rising_bits == 0x14 || rising_bits == 0x04)) sample_start(samples, CHANNEL_SOUND5, SAMPLE_SOUND5_2, 0); |
| 275 | 246 | |
| 247 | if (data == 0x07 && rising_bits == 0x07 && !sample_playing(samples, CHANNEL_SOUND6)) | |
| 248 | sample_start(samples, CHANNEL_SOUND6, SAMPLE_SOUND8, 0); | |
| 249 | ||
| 276 | 250 | port_last2 = port_last; |
| 277 | 251 | port_last = data; |
| 278 | 252 | } |
| r5490 | r5491 | |
| 291 | 265 | "sound5-2.wav", |
| 292 | 266 | "sound6.wav", |
| 293 | 267 | "sound7.wav", |
| 268 | "sound8.wav", | |
| 294 | 269 | 0 |
| 295 | 270 | }; |
| 296 | 271 | |
| 297 | 272 | |
| 298 | 273 | static const samples_interface safarir_samples_interface = |
| 299 | 274 | { |
| 300 | | |
| 275 | 6, /* 6 channels */ | |
| 301 | 276 | safarir_sample_names |
| 302 | 277 | }; |
| 303 | 278 | |
| r5490 | r5491 | |
| 433 | 408 | * |
| 434 | 409 | *************************************/ |
| 435 | 410 | |
| 411 | /* | |
| 412 | Safari Rally (Japan Ver.) | |
| 413 | (c)1979 Shin Nihon Kikaku | |
| 414 | ||
| 415 | ---------------------------------------- | |
| 416 | Top | |
| 417 | RLO70002 | |
| 418 | RLN00001 | |
| 419 | CPU:M5L8080AP | |
| 420 | SND:SN76477N | |
| 421 | 18.000MHz | |
| 422 | ---------------------------------------- | |
| 423 | Bottom | |
| 424 | RLO70003 | |
| 425 | RLN00002 | |
| 426 | 11.000MHz | |
| 427 | ---------------------------------------- | |
| 428 | RL-01.9 [cf7703c9] | |
| 429 | RL-02.1 [1013ecd3] | |
| 430 | RL-03.10 [84545894] | |
| 431 | RL-04.2 [5dd12f96] | |
| 432 | RL-05.11 [935ed469] | |
| 433 | RL-06.3 [24c1cd42] | |
| 434 | ||
| 435 | RL-07.40 [ba525203] | |
| 436 | RL-08.43 [d6a50aac] | |
| 437 | ||
| 438 | --- Team Japump!!! --- | |
| 439 | */ | |
| 440 | ||
| 436 | 441 | ROM_START( safarir ) |
| 437 | 442 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 438 | 443 | ROM_LOAD( "rl-01.9", 0x0000, 0x0400, CRC(cf7703c9) SHA1(b4182df9332b355edaa518462217a6e31e1c07b2) ) |
| r5490 | r5491 | |
| 457 | 462 | * |
| 458 | 463 | *************************************/ |
| 459 | 464 | |
| 460 | GAME( 1979, safarir, 0, safarir, safarir, 0, ROT90, "SNK", "Safari Rally (Japan)", GAME_ | |
| 465 | GAME( 1979, safarir, 0, safarir, safarir, 0, ROT90, "SNK", "Safari Rally (Japan)", GAME_SUPPOR |
| r5490 | r5491 | |
|---|---|---|
| 91 | 91 | if((sprcros2_m_port7^data)&0x40) |
| 92 | 92 | memory_set_bankptr(space->machine, 1,&RAM[0x10000+((data&0x40)<<7)]); |
| 93 | 93 | |
| 94 | tilemap_set_flip( | |
| 94 | tilemap_set_flip_all( space->machine,data&0x02?(TILEMAP_FLIPX|TILEMAP_FLIPY):0 ); | |
| 95 | 95 | |
| 96 | 96 | sprcros2_m_port7 = data; |
| 97 | 97 | } |
| r5490 | r5491 | |
|---|---|---|
| 228 | 228 | PORT_START("DSW2") |
| 229 | 229 | PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:1,2") |
| 230 | 230 | PORT_DIPSETTING( 0x03, "2" ) |
| 231 | PORT_DIPSETTING( 0x02, "3" ) | |
| 231 | PORT_DIPSETTING( 0x02, "3" ) // factory default | |
| 232 | 232 | PORT_DIPSETTING( 0x01, "5" ) |
| 233 | 233 | PORT_DIPSETTING( 0x00, "7" ) |
| 234 | 234 | PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW2:3") |
| r5490 | r5491 | |
| 236 | 236 | PORT_DIPSETTING( 0x04, DEF_STR( Cocktail ) ) |
| 237 | 237 | PORT_DIPNAME( 0x18, 0x08, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:4,5") |
| 238 | 238 | PORT_DIPSETTING( 0x18, "30K, 70K, Every 70K" ) |
| 239 | PORT_DIPSETTING( 0x10, "40K, 80K, Every 80K" ) | |
| 240 | PORT_DIPSETTING( 0x08, "50K, 100K, Every 100K" ) | |
| 239 | PORT_DIPSETTING( 0x10, "40K, 80K, Every 80K" ) // Japanese default | |
| 240 | PORT_DIPSETTING( 0x08, "50K, 100K, Every 100K" ) // US default | |
| 241 | 241 | PORT_DIPSETTING( 0x00, "50K, 200K, Every 200K" ) |
| 242 | 242 | PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:6,7") |
| 243 | 243 | PORT_DIPSETTING( 0x60, DEF_STR( Easy ) ) |
| 244 | PORT_DIPSETTING( 0x40, DEF_STR( Normal ) ) | |
| 244 | PORT_DIPSETTING( 0x40, DEF_STR( Normal ) ) // factory default | |
| 245 | 245 | PORT_DIPSETTING( 0x20, DEF_STR( Difficult ) ) |
| 246 | 246 | PORT_DIPSETTING( 0x00, DEF_STR( Very_Difficult ) ) |
| 247 | 247 | PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8") |
| r5490 | r5491 | |
| 280 | 280 | PORT_INCLUDE(gberet) |
| 281 | 281 | |
| 282 | 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" ) | |
| 283 | PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:4,5") | |
| 284 | PORT_DIPSETTING( 0x18, "20K, Every 60K" ) // factory default | |
| 285 | 285 | PORT_DIPSETTING( 0x10, "30K, Every 70K" ) |
| 286 | 286 | PORT_DIPSETTING( 0x08, "40K, Every 80K" ) |
| 287 | 287 | PORT_DIPSETTING( 0x00, "50K, Every 90K" ) |
| r5490 | r5491 | |
|---|---|---|
| 1439 | 1439 | * |
| 1440 | 1440 | *************************************/ |
| 1441 | 1441 | |
| 1442 | GAME( 1979, sidetrac, 0, sidetrac, sidetrac, sidetrac, ROT0, "Exidy", "Side Track", GAME_SUPPORTS_SAVE ) | |
| 1443 | GAME( 1980, targ, 0, targ, targ, targ, ROT0, "Exidy", "Targ", GAME_SUPPORTS_SAVE ) | |
| 1444 | GAME( 1980, targc, targ, targ, targ, targ, ROT0, "Exidy", "Targ (cocktail?)", GAME_SUPPORTS_SAVE ) | |
| 1445 | GAME( 1980, spectar, 0, spectar, spectar, spectar, ROT0, "Exidy", "Spectar (revision 3)", GAME_SUPPORTS_SAVE ) | |
| 1446 | GAME( 1980, spectar1, spectar, spectar, spectar, spectar, ROT0, "Exidy", "Spectar (revision 1?)", GAME_SUPPORTS_SAVE ) | |
| 1447 | GAME( 1980, rallys, spectar, rallys, rallys, rallys, ROT0, "Novar", "Rallys (bootleg?)", GAME_SUPPORTS_SAVE ) | |
| 1448 | GAME( 1980, phantoma, spectar, rallys, phantoma, phantoma, ROT0, "Jeutel","Phantomas", GAME_SUPPORTS_SAVE ) | |
| 1442 | GAME( 1979, sidetrac, 0, sidetrac, sidetrac, sidetrac, ROT0, "Exidy", "Side Track", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1443 | GAME( 1980, targ, 0, targ, targ, targ, ROT0, "Exidy", "Targ", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1444 | GAME( 1980, targc, targ, targ, targ, targ, ROT0, "Exidy", "Targ (cocktail?)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1445 | GAME( 1980, spectar, 0, spectar, spectar, spectar, ROT0, "Exidy", "Spectar (revision 3)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1446 | GAME( 1980, spectar1, spectar, spectar, spectar, spectar, ROT0, "Exidy", "Spectar (revision 1?)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1447 | GAME( 1980, rallys, spectar, rallys, rallys, rallys, ROT0, "Novar", "Rallys (bootleg?)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1448 | GAME( 1980, phantoma, spectar, rallys, phantoma, phantoma, ROT0, "Jeutel","Phantomas", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) | |
| 1449 | 1449 | |
| 1450 | 1450 | GAME( 1981, mtrap, 0, mtrap, mtrap, mtrap, ROT0, "Exidy", "Mouse Trap (version 5)", GAME_SUPPORTS_SAVE ) |
| 1451 | 1451 | GAME( 1981, mtrap3, mtrap, mtrap, mtrap, mtrap, ROT0, "Exidy", "Mouse Trap (version 3)", GAME_SUPPORTS_SAVE ) |
| r5490 | r5491 | |
|---|---|---|
| 47 | 47 | if (goindol_char_bank != ((data & 0x10) >> 4)) |
| 48 | 48 | { |
| 49 | 49 | goindol_char_bank = (data & 0x10) >> 4; |
| 50 | tilemap_mark_all_tiles_dirty | |
| 50 | tilemap_mark_all_tiles_dirty | |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | flip_screen_set(space->machine, data & 0x20); |
| r5490 | r5491 | |
|---|---|---|
| 1073 | 1073 | |
| 1074 | 1074 | MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
| 1075 | 1075 | |
| 1076 | MDRV_SOUND_ADD("rf", RF5C400, 6400 | |
| 1076 | MDRV_SOUND_ADD("rf", RF5C400, 16934400 | |
| 1077 | 1077 | MDRV_SOUND_ROUTE(0, "lspeaker", 1.0) |
| 1078 | 1078 | MDRV_SOUND_ROUTE(1, "rspeaker", 1.0) |
| 1079 | 1079 |
| r5490 | r5491 | |
|---|---|---|
| 533 | 533 | } |
| 534 | 534 | |
| 535 | 535 | |
| 536 | GAMEL(1977, circus, 0, circus, circus, circus, ROT0, "Exidy / Taito", "Circus / Acrobat TV", GAME_SUPPORTS_SAVE, layout_circus ) | |
| 537 | GAMEL(1977, circusse, circus, circus, circus, circus, ROT0, "[Exidy] (Sub-Electro bootleg)", "Circus (Sub-Electro bootleg)", GAME_SUPPORTS_SAVE, layout_circus ) // looks like a text hack, but we've seen 2 identical copies so it's worth supporting | |
| 536 | GAMEL(1977, circus, 0, circus, circus, circus, ROT0, "Exidy / Taito", "Circus / Acrobat TV", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND, layout_circus ) | |
| 537 | GAMEL(1977, circusse, circus, circus, circus, circus, ROT0, "[Exidy] (Sub-Electro bootleg)", "Circus (Sub-Electro bootleg)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND, layout_circus ) // looks like a text hack, but we've seen 2 identical copies so it's worth supporting | |
| 538 | 538 | GAME( 1977, robotbwl, 0, robotbwl, robotbwl, robotbwl, ROT0, "Exidy", "Robot Bowl", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) |
| 539 | 539 | GAMEL(1979, crash, 0, crash, crash, crash, ROT0, "Exidy", "Crash", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND, layout_crash ) |
| 540 | 540 | GAME( 1979, ripcord, 0, ripcord, ripcord, ripcord, ROT0, "Exidy", "Rip Cord", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND ) |
| r5490 | r5491 | |
|---|---|---|
| 8 | 8 | OSC. : 3.579545MHz 18432.00KHz |
| 9 | 9 | |
| 10 | 10 | Main processors are a pair of 68000 CPUs |
| 11 | Sounds are generated by a Z80, a Yamaha 2151 and 3012, a Konami custom IC and a | |
| 11 | Sounds are generated by a Z80, a Yamaha 2151 and 3012, a Konami custom IC and a uPD7759C | |
| 12 | 12 | |
| 13 | Dark Adventure / Devil World / Majuu no Ohkoku | |
| 14 | Vulcan Venture / Gradius II | |
| 15 | Cuebrick | |
| 16 | MIA (Japan) | |
| 17 | Final Round / Hard Puncher (Japan) | |
| 13 | Dark Adventure / Devil World / Majuu no Ohkoku | |
| 14 | Vulcan Venture / Gradius II | |
| 15 | Cuebrick | |
| 16 | MIA (Japan) | |
| 17 | Final Round / Hard Puncher (Japan) | |
| 18 | 18 | |
| 19 | Known Issues: | |
| 20 | - some rogue sprites in Devil World | |
| 21 | - sprite-background priority is guessed | |
| 22 | ||
| 23 | 19 | 68000 Memory Map for Konami Twin System |
| 24 | 20 | |
| 25 | 21 | CPUA CPUB |
| r5490 | r5491 | |
| 40 | 36 | ZIP RAM (tiles) 0x500000..0x53ffff |
| 41 | 37 | gfx ROM (banked) 0x600000..0x77ffff |
| 42 | 38 | sprite gfx RAM 0x780000..0x79ffff |
| 43 | */ | |
| 44 | 39 | |
| 45 | /* | |
| 40 | Known Issues: | |
| 41 | - repeated uPD7759C samples in fround, disconnecting reset helps but doesn't fix it | |
| 42 | - see video/twin16.c for graphics related issues | |
| 46 | 43 | |
| 47 | Konami Twin16 Hardware | |
| 48 | ||
| 49 | TODO: | |
| 50 | ||
| 51 | - mia reset crash | |
| 52 | ||
| 53 | 44 | */ |
| 54 | 45 | |
| 55 | 46 | #include "driver.h" |
| r5490 | r5491 | |
| 65 | 56 | UINT16 *twin16_gfx_rom; |
| 66 | 57 | UINT16 *twin16_sprite_gfx_ram; |
| 67 | 58 | UINT16 *twin16_tile_gfx_ram; |
| 68 | UINT16 *twin16_ | |
| 59 | UINT16 *twin16_ | |
| 69 | 60 | |
| 70 | 61 | static UINT16 twin16_CPUA_register, twin16_CPUB_register; |
| 71 | 62 | |
| 72 | 63 | #define CPUA_IRQ_ENABLE (twin16_CPUA_register & 0x20) |
| 73 | 64 | #define CPUB_IRQ_ENABLE (twin16_CPUB_register & 0x02) |
| 74 | 65 | |
| 75 | static UINT8 twin16_soundlatch; | |
| 76 | 66 | static UINT16 twin16_sound_command; |
| 77 | 67 | |
| 78 | static int cuebrckj_nvram_bank; | |
| 79 | static UINT16 cuebrckj_nvram[0x400*0x20]; // 32k paged in a 1k window | |
| 68 | static int cuebrickj_nvram_bank; | |
| 69 | static UINT16 cuebrickj_nvram[0x400*0x20]; // 32k paged in a 1k window | |
| 80 | 70 | |
| 81 | 71 | |
| 82 | 72 | int twin16_spriteram_process_enable( void ) |
| r5490 | r5491 | |
| 108 | 98 | |
| 109 | 99 | static READ16_HANDLER( twin16_gfx_rom1_r ) |
| 110 | 100 | { |
| 111 | return twin16_gfx_rom[offset]; | |
| 101 | return twin16_gfx_rom[offset + ((twin16_CPUB_register&0x04)?0x40000:0)]; | |
| 112 | 102 | } |
| 113 | 103 | |
| 114 | 104 | static READ16_HANDLER( twin16_gfx_rom2_r ) |
| r5490 | r5491 | |
| 122 | 112 | soundlatch_w( space, 0, twin16_sound_command&0xff ); |
| 123 | 113 | } |
| 124 | 114 | |
| 125 | static READ16_HANDLER( twin16_sprite_status_r ) | |
| 126 | { | |
| 127 | /* | |
| 128 | return value indicates whether the spriteram16-processing circuitry | |
| 129 | is busy. | |
| 130 | ||
| 131 | for now, we'll just alternate the value every time it is read | |
| 132 | */ | |
| 133 | static int k; | |
| 134 | k = 1-k; | |
| 135 | return k; | |
| 136 | } | |
| 137 | ||
| 138 | 115 | static WRITE16_HANDLER( twin16_CPUA_register_w ) |
| 139 | 116 | { |
| 140 | 117 | /* |
| 141 | 7 6 5 4 3 2 1 0 | |
| 142 | ? sprite protection disable | |
| 143 | X IRQ5 enable (CPUA) | |
| 144 | X 0->1 trigger IRQ6 on CPUB | |
| 145 | X 0->1 trigger IRQ on sound CPU | |
| 146 | x x x coin counters | |
| 118 | 7 6 5 4 3 2 1 0 | |
| 119 | X sprite processing disable | |
| 120 | X IRQ5 enable (CPUA) | |
| 121 | X 0->1 trigger IRQ6 on CPUB | |
| 122 | X 0->1 trigger IRQ on sound CPU | |
| 123 | x x x coin counters | |
| 147 | 124 | */ |
| 148 | 125 | UINT16 old = twin16_CPUA_register; |
| 149 | 126 | COMBINE_DATA(&twin16_CPUA_register); |
| r5490 | r5491 | |
| 153 | 130 | cputag_set_input_line_and_vector(space->machine, "audiocpu", 0, HOLD_LINE, 0xff); |
| 154 | 131 | |
| 155 | 132 | if ((old & 0x40) && (twin16_CPUA_register & 0x40) == 0) |
| 156 | twin16_spriteram_process(); | |
| 133 | twin16_spriteram_process(space->machine); | |
| 157 | 134 | |
| 158 | 135 | if ((old & 0x10) == 0 && (twin16_CPUA_register & 0x10)) |
| 159 | 136 | cputag_set_input_line(space->machine, "sub", M68K_IRQ_6, HOLD_LINE); |
| r5490 | r5491 | |
| 167 | 144 | static WRITE16_HANDLER( twin16_CPUB_register_w ) |
| 168 | 145 | { |
| 169 | 146 | /* |
| 170 | 7 6 5 4 3 2 1 0 | |
| 171 | X gfx bank select | |
| 172 | X IRQ5 enable | |
| 173 | X 0->1 trigger IRQ6 on CPUA | |
| 147 | 7 6 5 4 3 2 1 0 | |
| 148 | X gfx bank select | |
| 149 | X IRQ5 enable | |
| 150 | X 0->1 trigger IRQ6 on CPUA | |
| 174 | 151 | */ |
| 175 | 152 | UINT16 old = twin16_CPUB_register; |
| 176 | 153 | COMBINE_DATA(&twin16_CPUB_register); |
| 177 | 154 | if( twin16_CPUB_register!=old ) |
| 178 | 155 | { |
| 179 | 156 | if ((old & 0x01) == 0 && (twin16_CPUB_register & 0x01)) |
| 180 | { | |
| 181 | 157 | cputag_set_input_line(space->machine, "maincpu", M68K_IRQ_6, HOLD_LINE); |
| 182 | } | |
| 183 | 158 | } |
| 184 | 159 | } |
| 185 | 160 | |
| 186 | 161 | static WRITE16_HANDLER( fround_CPU_register_w ) |
| 187 | 162 | { |
| 163 | /* | |
| 164 | 7 6 5 4 3 2 1 0 | |
| 165 | X 0->1 trigger IRQ on sound CPU | |
| 166 | x x coin counters | |
| 167 | */ | |
| 188 | 168 | UINT16 old = twin16_CPUA_register; |
| 189 | 169 | COMBINE_DATA(&twin16_CPUA_register); |
| 190 | 170 | if (twin16_CPUA_register != old) |
| 191 | 171 | { |
| 192 | 172 | if ((old & 0x08) == 0 && (twin16_CPUA_register & 0x08)) |
| 193 | cputag_set_input_line_and_vector(space->machine, "audiocpu", 0, HOLD_LINE, 0xff); // trigger IRQ on sound CPU | |
| 173 | cputag_set_input_line_and_vector(space->machine, "audiocpu", 0, HOLD_LINE, 0xff); | |
| 174 | ||
| 175 | coin_counter_w(0, twin16_CPUA_register & 0x01); | |
| 176 | coin_counter_w(1, twin16_CPUA_register & 0x02); | |
| 194 | 177 | } |
| 195 | 178 | } |
| 196 | 179 | |
| r5490 | r5491 | |
| 205 | 188 | case 0x08: return input_port_read(space->machine, "DSW2"); |
| 206 | 189 | case 0x09: return input_port_read(space->machine, "DSW1"); |
| 207 | 190 | case 0x0c: return input_port_read(space->machine, "DSW3"); |
| 191 | default: break; | |
| 208 | 192 | } |
| 209 | 193 | return 0; |
| 210 | 194 | } |
| 211 | 195 | |
| 212 | static READ8_HANDLER( twin16_s | |
| 196 | static READ8_DEVICE_HANDLER( twin16_upd_busy | |
| 213 | 197 | { |
| 214 | return | |
| 198 | return upd7759_b | |
| 215 | 199 | } |
| 216 | 200 | |
| 217 | static WRITE8_HANDLER( twin16_ | |
| 201 | static WRITE8_DEVICE_HANDLER( twin16_upd_reset_w ) | |
| 218 | 202 | { |
| 219 | /* bit 1 resets the UPD7795C sound chip */ | |
| 220 | upd7759_reset_w(devtag_get_device(space->machine, "upd"), data & 0x02); | |
| 221 | twin16_soundlatch = data; | |
| 203 | upd7759_reset_w(device, data & 2); | |
| 222 | 204 | } |
| 223 | 205 | |
| 224 | 206 | static WRITE8_DEVICE_HANDLER( twin16_upd_start_w ) |
| r5490 | r5491 | |
| 226 | 208 | upd7759_start_w(device, data & 1); |
| 227 | 209 | } |
| 228 | 210 | |
| 229 | static READ | |
| 211 | static READ16_ | |
| 230 | 212 | { |
| 231 | return u | |
| 213 | return cue | |
| 232 | 214 | } |
| 233 | 215 | |
| 234 | static RE | |
| 216 | static WRITE | |
| 235 | 217 | { |
| 236 | | |
| 218 | COMBINE_DATA(&cuebrickj_nvram[offset + (cuebrickj_nvram_bank * 0x400 / 2)]); | |
| 237 | 219 | } |
| 238 | 220 | |
| 239 | static WRITE16_HANDLER( cuebrckj_nvram_w ) | |
| 221 | static WRITE16_HANDLER( cuebrickj_nvram_bank_w ) | |
| 240 | 222 | { |
| 241 | | |
| 223 | | |
| 242 | 224 | } |
| 243 | 225 | |
| 244 | static WRITE16_HANDLER( cuebrckj_nvram_bank_w ) | |
| 245 | { | |
| 246 | cuebrckj_nvram_bank = (data >> 8); | |
| 247 | } | |
| 248 | ||
| 249 | 226 | /* Memory Maps */ |
| 250 | 227 | |
| 251 | 228 | static ADDRESS_MAP_START( sound_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| 252 | 229 | AM_RANGE(0x0000, 0x7fff) AM_ROM |
| 253 | 230 | AM_RANGE(0x8000, 0x8fff) AM_RAM |
| 254 | AM_RANGE(0x9000, 0x9000) AM_ | |
| 231 | AM_RANGE(0x9000, 0x9000) AM_ | |
| 255 | 232 | AM_RANGE(0xa000, 0xa000) AM_READ(soundlatch_r) |
| 256 | 233 | AM_RANGE(0xb000, 0xb00d) AM_DEVREADWRITE("konami", k007232_r, k007232_w) |
| 257 | 234 | AM_RANGE(0xc000, 0xc001) AM_DEVREADWRITE("ym", ym2151_r, ym2151_w) |
| 258 | 235 | AM_RANGE(0xd000, 0xd000) AM_DEVWRITE("upd", upd7759_port_w) |
| 259 | 236 | AM_RANGE(0xe000, 0xe000) AM_DEVWRITE("upd", twin16_upd_start_w) |
| 260 | AM_RANGE(0xf000, 0xf000) AM_DEVREAD("upd", twin16_upd_busy_r) | |
| 237 | AM_RANGE(0xf000, 0xf000) AM_DEVREAD("upd", twin16_upd_busy_r) | |
| 261 | 238 | ADDRESS_MAP_END |
| 262 | 239 | |
| 263 | 240 | static ADDRESS_MAP_START( main_map, ADDRESS_SPACE_PROGRAM, 16 ) |
| 264 | 241 | AM_RANGE(0x000000, 0x03ffff) AM_ROM |
| 265 | 242 | AM_RANGE(0x040000, 0x043fff) AM_READWRITE(COMRAM_r, COMRAM_w) |
| 266 | ||
| 243 | // AM_RANGE(0x044000, 0x04ffff) AM_NOP // miaj | |
| 267 | 244 | AM_RANGE(0x060000, 0x063fff) AM_RAM |
| 268 | 245 | AM_RANGE(0x080000, 0x080fff) AM_RAM_WRITE(twin16_paletteram_word_w) AM_BASE(&paletteram16) |
| 269 | 246 | AM_RANGE(0x081000, 0x081fff) AM_WRITENOP |
| r5490 | r5491 | |
| 271 | 248 | AM_RANGE(0x0a0000, 0x0a0001) AM_WRITE(twin16_CPUA_register_w) |
| 272 | 249 | AM_RANGE(0x0a0008, 0x0a0009) AM_WRITE(sound_command_w) |
| 273 | 250 | AM_RANGE(0x0a0010, 0x0a0011) AM_WRITE(watchdog_reset16_w) |
| 274 | AM_RANGE(0x0b0000, 0x0b03ff) AM_READWRITE(cuebrckj_nvram_r, cuebrckj_nvram_w) | |
| 275 | AM_RANGE(0x0b0400, 0x0b0401) AM_WRITE(cuebrckj_nvram_bank_w) | |
| 251 | AM_RANGE(0x0b0000, 0x0b03ff) AM_READWRITE(cuebrickj_nvram_r, cuebrickj_nvram_w) | |
| 252 | AM_RANGE(0x0b0400, 0x0b0401) AM_WRITE(cuebrickj_nvram_bank_w) | |
| 276 | 253 | AM_RANGE(0x0c0000, 0x0c000f) AM_WRITE(twin16_video_register_w) |
| 277 | 254 | AM_RANGE(0x0c000e, 0x0c000f) AM_READ(twin16_sprite_status_r) |
| 278 | AM_RANGE(0x100000, 0x103fff) AM_RAM_WRITE(twin16_videoram2_w) AM_BASE(&twin16_videoram2) | |
| 279 | AM_RANGE(0x104000, 0x105fff) AM_RAM // miaj | |
| 255 | AM_RANGE(0x100000, 0x103fff) AM_RAM_WRITE(twin16_text_ram_w) AM_BASE(&twin16_text_ram) | |
| 256 | // AM_RANGE(0x104000, 0x105fff) AM_NOP // miaj | |
| 280 | 257 | AM_RANGE(0x120000, 0x123fff) AM_RAM AM_BASE(&videoram16) |
| 281 | 258 | AM_RANGE(0x140000, 0x143fff) AM_RAM AM_SHARE(1) AM_BASE(&spriteram16) AM_SIZE(&spriteram_size) |
| 282 | 259 | ADDRESS_MAP_END |
| r5490 | r5491 | |
| 284 | 261 | static ADDRESS_MAP_START( sub_map, ADDRESS_SPACE_PROGRAM, 16 ) |
| 285 | 262 | AM_RANGE(0x000000, 0x03ffff) AM_ROM |
| 286 | 263 | AM_RANGE(0x040000, 0x043fff) AM_READWRITE(COMRAM_r, COMRAM_w) |
| 287 | ||
| 264 | // AM_RANGE(0x044000, 0x04ffff) AM_NOP // miaj | |
| 288 | 265 | AM_RANGE(0x060000, 0x063fff) AM_RAM |
| 289 | 266 | AM_RANGE(0x080000, 0x09ffff) AM_READ(extra_rom_r) |
| 290 | 267 | AM_RANGE(0x0a0000, 0x0a0001) AM_WRITE(twin16_CPUB_register_w) |
| r5490 | r5491 | |
| 308 | 285 | AM_RANGE(0x0c0000, 0x0c000f) AM_WRITE(twin16_video_register_w) |
| 309 | 286 | AM_RANGE(0x0c000e, 0x0c000f) AM_READ(twin16_sprite_status_r) |
| 310 | 287 | AM_RANGE(0x0e0000, 0x0e0001) AM_WRITE(fround_gfx_bank_w) |
| 311 | AM_RANGE(0x100000, 0x103fff) AM_RAM_WRITE(twin16_ | |
| 288 | AM_RANGE(0x100000, 0x103fff) AM_RAM_WRITE(twin16_t | |
| 312 | 289 | AM_RANGE(0x120000, 0x123fff) AM_RAM AM_BASE(&videoram16) |
| 313 | 290 | AM_RANGE(0x140000, 0x143fff) AM_RAM AM_BASE(&spriteram16) AM_SIZE(&spriteram_size) |
| 314 | 291 | AM_RANGE(0x500000, 0x6fffff) AM_READ(twin16_gfx_rom1_r) |
| r5490 | r5491 | |
| 328 | 305 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 329 | 306 | |
| 330 | 307 | PORT_START("P1") /* 0xa0003 */ |
| 331 | KONAMI8_B123_UNK(1) | |
| 308 | KONAMI8_B123_UNK(1) | |
| 332 | 309 | |
| 333 | 310 | PORT_START("P2") /* 0xa0005 */ |
| 334 | 311 | KONAMI8_B123_UNK(2) |
| r5490 | r5491 | |
| 378 | 355 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE2 ) |
| 379 | 356 | |
| 380 | 357 | PORT_START("P1") /* 0xa0003 */ |
| 381 | KONAMI8_B123(1) | |
| 358 | KONAMI8_B123(1) | |
| 382 | 359 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE3 ) |
| 383 | 360 | |
| 384 | 361 | PORT_START("P2") /* 0xa0005 */ |
| r5490 | r5491 | |
| 438 | 415 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 439 | 416 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 440 | 417 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 441 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 ) | |
| 418 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 ) | |
| 442 | 419 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START2 ) |
| 443 | 420 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 444 | 421 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 445 | 422 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 446 | 423 | |
| 447 | 424 | PORT_START("P1") /* 0xa0003 */ |
| 448 | KONAMI8_B123_UNK(1) | |
| 425 | KONAMI8_B123_UNK(1) | |
| 449 | 426 | |
| 450 | 427 | PORT_START("P2") /* 0xa0005 */ |
| 451 | 428 | KONAMI8_B123_UNK(2) |
| r5490 | r5491 | |
| 509 | 486 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 510 | 487 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 511 | 488 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 512 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 ) | |
| 489 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 ) | |
| 513 | 490 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START2 ) |
| 514 | 491 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 515 | 492 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 516 | 493 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 517 | 494 | |
| 518 | 495 | PORT_START("P1") /* 0xa0003 */ |
| 519 | KONAMI8_B123_UNK(1) | |
| 496 | KONAMI8_B123_UNK(1) | |
| 520 | 497 | |
| 521 | 498 | PORT_START("P2") /* 0xa0005 */ |
| 522 | 499 | KONAMI8_B123_UNK(2) |
| r5490 | r5491 | |
| 559 | 536 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 560 | 537 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 561 | 538 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 562 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 ) | |
| 539 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 ) | |
| 563 | 540 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START2 ) |
| 564 | 541 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 565 | 542 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 566 | 543 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 567 | 544 | |
| 568 | 545 | PORT_START("P1") /* 0xa0003 */ |
| 569 | KONAMI8_B123_UNK(1) | |
| 546 | KONAMI8_B123_UNK(1) | |
| 570 | 547 | |
| 571 | 548 | PORT_START("P2") /* 0xa0005 */ |
| 572 | 549 | KONAMI8_B123_UNK(2) |
| r5490 | r5491 | |
| 611 | 588 | PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 612 | 589 | INPUT_PORTS_END |
| 613 | 590 | |
| 614 | static INPUT_PORTS_START( cuebrckj ) | |
| 591 | static INPUT_PORTS_START( cuebrickj ) | |
| 615 | 592 | PORT_START("SYSTEM") /* 0xa0001 */ |
| 616 | 593 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 617 | 594 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 618 | 595 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 619 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 ) | |
| 596 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 ) | |
| 620 | 597 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START2 ) |
| 621 | 598 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 622 | 599 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 623 | 600 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 624 | 601 | |
| 625 | 602 | PORT_START("P1") /* 0xa0003 */ |
| 626 | KONAMI8_B123_UNK(1) | |
| 603 | KONAMI8_B123_UNK(1) | |
| 627 | 604 | |
| 628 | 605 | PORT_START("P2") /* 0xa0005 */ |
| 629 | 606 | KONAMI8_B123_UNK(2) |
| r5490 | r5491 | |
| 718 | 695 | |
| 719 | 696 | /* Machine Drivers */ |
| 720 | 697 | |
| 698 | static MACHINE_RESET( twin16 ) | |
| 699 | { | |
| 700 | ; | |
| 701 | } | |
| 702 | ||
| 703 | static MACHINE_START( twin16 ) | |
| 704 | { | |
| 705 | twin16_CPUA_register=0; | |
| 706 | twin16_CPUB_register=0; | |
| 707 | ||
| 708 | /* register for savestates */ | |
| 709 | state_save_register_global(machine, twin16_CPUA_register); | |
| 710 | state_save_register_global(machine, twin16_CPUB_register); | |
| 711 | ||
| 712 | state_save_register_global(machine, twin16_sound_command); | |
| 713 | state_save_register_global(machine, cuebrickj_nvram_bank); | |
| 714 | state_save_register_global_array(machine, cuebrickj_nvram); | |
| 715 | } | |
| 716 | ||
| 721 | 717 | static MACHINE_DRIVER_START( twin16 ) |
| 722 | 718 | // basic machine hardware |
| 723 | 719 | MDRV_CPU_ADD("maincpu", M68000, XTAL_18_432MHz/2) |
| r5490 | r5491 | |
| 733 | 729 | |
| 734 | 730 | MDRV_QUANTUM_TIME(HZ(6000)) |
| 735 | 731 | |
| 732 | MDRV_MACHINE_START(twin16) | |
| 733 | MDRV_MACHINE_RESET(twin16) | |
| 734 | ||
| 736 | 735 | // video hardware |
| 737 | MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM) | |
| 736 | MDRV_VIDEO_ATTRIBUTES(VIDEO_HAS_SHADOWS | VIDEO_BUFFERS_SPRITERAM) | |
| 738 | 737 | |
| 739 | 738 | MDRV_SCREEN_ADD("screen", RASTER) |
| 740 | 739 | MDRV_SCREEN_REFRESH_RATE(((double)XTAL_18_432MHz / 2) / (576 * 264)) |
| 741 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2 | |
| 740 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2 | |
| 742 | 741 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 743 | 742 | MDRV_SCREEN_SIZE(40*8, 32*8) |
| 744 | 743 | MDRV_SCREEN_VISIBLE_AREA(0, 40*8-1, 2*8, 30*8-1) |
| r5490 | r5491 | |
| 759 | 758 | |
| 760 | 759 | MDRV_SOUND_ADD("konami", K007232, 3579545) |
| 761 | 760 | MDRV_SOUND_CONFIG(k007232_config) |
| 762 | MDRV_SOUND_ROUTE(0, "lspeaker", 0.20) | |
| 763 | MDRV_SOUND_ROUTE(0, "rspeaker", 0.20) | |
| 764 | MDRV_SOUND_ROUTE(1, "lspeaker", 0.20) | |
| 765 | MDRV_SOUND_ROUTE(1, "rspeaker", 0.20) | |
| 761 | MDRV_SOUND_ROUTE(0, "lspeaker", 0.12) // estimated with gradius2 OST | |
| 762 | MDRV_SOUND_ROUTE(0, "rspeaker", 0.12) | |
| 763 | MDRV_SOUND_ROUTE(1, "lspeaker", 0.12) | |
| 764 | MDRV_SOUND_ROUTE(1, "rspeaker", 0.12) | |
| 766 | 765 | |
| 767 | 766 | MDRV_SOUND_ADD("upd", UPD7759, UPD7759_STANDARD_CLOCK) |
| 768 | 767 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.20) |
| r5490 | r5491 | |
| 771 | 770 | |
| 772 | 771 | static MACHINE_DRIVER_START( devilw ) |
| 773 | 772 | MDRV_IMPORT_FROM(twin16) |
| 774 | MDRV_QUANTUM_TIME(HZ(60000)) | |
| 773 | MDRV_QUANTUM_TIME(HZ(60000)) // watchdog reset otherwise | |
| 775 | 774 | MACHINE_DRIVER_END |
| 776 | 775 | |
| 777 | 776 | static MACHINE_DRIVER_START( fround ) |
| r5490 | r5491 | |
| 785 | 784 | |
| 786 | 785 | MDRV_QUANTUM_TIME(HZ(6000)) |
| 787 | 786 | |
| 787 | MDRV_MACHINE_START(twin16) | |
| 788 | MDRV_MACHINE_RESET(twin16) | |
| 789 | ||
| 788 | 790 | /* video hardware */ |
| 789 | MDRV_VIDEO_ATTRIBUTES(VIDEO_BUFFERS_SPRITERAM) | |
| 791 | MDRV_VIDEO_ATTRIBUTES(VIDEO_HAS_SHADOWS | VIDEO_BUFFERS_SPRITERAM) | |
| 790 | 792 | |
| 791 | 793 | MDRV_SCREEN_ADD("screen", RASTER) |
| 792 | 794 | MDRV_SCREEN_REFRESH_RATE(60) |
| r5490 | r5491 | |
| 798 | 800 | MDRV_GFXDECODE(twin16) |
| 799 | 801 | MDRV_PALETTE_LENGTH(0x400) |
| 800 | 802 | |
| 801 | MDRV_VIDEO_START( | |
| 803 | MDRV_VIDEO_START(twi | |
| 802 | 804 | MDRV_VIDEO_UPDATE(twin16) |
| 803 | 805 | MDRV_VIDEO_EOF(twin16) |
| 804 | 806 | |
| r5490 | r5491 | |
| 811 | 813 | |
| 812 | 814 | MDRV_SOUND_ADD("konami", K007232, 3579545) |
| 813 | 815 | MDRV_SOUND_CONFIG(k007232_config) |
| 814 | MDRV_SOUND_ROUTE(0, "lspeaker", 0.20) | |
| 815 | MDRV_SOUND_ROUTE(0, "rspeaker", 0.20) | |
| 816 | MDRV_SOUND_ROUTE(1, "lspeaker", 0.20) | |
| 817 | MDRV_SOUND_ROUTE(1, "rspeaker", 0.20) | |
| 816 | MDRV_SOUND_ROUTE(0, "lspeaker", 0.12) | |
| 817 | MDRV_SOUND_ROUTE(0, "rspeaker", 0.12) | |
| 818 | MDRV_SOUND_ROUTE(1, "lspeaker", 0.12) | |
| 819 | MDRV_SOUND_ROUTE(1, "rspeaker", 0.12) | |
| 818 | 820 | |
| 819 | 821 | MDRV_SOUND_ADD("upd", UPD7759, UPD7759_STANDARD_CLOCK) |
| 820 | 822 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.20) |
| 821 | 823 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.20) |
| 822 | 824 | MACHINE_DRIVER_END |
| 823 | 825 | |
| 824 | static MACHINE_DRIVER_START( hpuncher ) | |
| 825 | MDRV_IMPORT_FROM(twin16) | |
| 826 | MDRV_VIDEO_START(fround) | |
| 827 | MACHINE_DRIVER_END | |
| 828 | ||
| 829 | 826 | static MACHINE_DRIVER_START( miaj ) |
| 830 | 827 | MDRV_IMPORT_FROM(twin16) |
| 831 | 828 | MDRV_SCREEN_MODIFY("screen") |
| 832 | 829 | MDRV_SCREEN_VISIBLE_AREA(1*8, 39*8-1, 2*8, 30*8-1) |
| 833 | MDRV_VIDEO_START(fround) | |
| 834 | 830 | MACHINE_DRIVER_END |
| 835 | 831 | |
| 836 | static MACHINE_DRIVER_START( cuebrckj ) | |
| 832 | static MACHINE_DRIVER_START( cuebrickj ) | |
| 837 | 833 | MDRV_IMPORT_FROM(twin16) |
| 838 | 834 | MDRV_SCREEN_MODIFY("screen") |
| 839 | 835 | MDRV_SCREEN_VISIBLE_AREA(1*8, 39*8-1, 2*8, 30*8-1) |
| 840 | MDRV_VIDEO_START(fround) | |
| 841 | 836 | MDRV_NVRAM_HANDLER(generic_0fill) |
| 842 | 837 | MACHINE_DRIVER_END |
| 843 | 838 | |
| r5490 | r5491 | |
| 1201 | 1196 | ROM_REGION( 0x20000, "upd", ROMREGION_ERASE00 ) // samples |
| 1202 | 1197 | ROM_END |
| 1203 | 1198 | |
| 1204 | ROM_START( cuebrckj ) | |
| 1199 | ROM_START( cuebrickj ) | |
| 1205 | 1200 | ROM_REGION( 0x40000, "maincpu", 0 ) // 68000 code (CPU A) |
| 1206 | 1201 | ROM_LOAD16_BYTE( "903_e05.6n", 0x00000, 0x10000, CRC(8b556220) SHA1(dbe24133e74018c4fe9332519394cbb882c4ed5a) ) |
| 1207 | 1202 | ROM_LOAD16_BYTE( "903_e04.4n", 0x00001, 0x10000, CRC(bf9c7927) SHA1(3a594b8846f7e6074ca54f8cd5fe2ba3b64ba740) ) |
| r5490 | r5491 | |
| 1239 | 1234 | static void gfx_untangle( running_machine *machine ) |
| 1240 | 1235 | { |
| 1241 | 1236 | // sprite, tile data |
| 1242 | ||
| 1243 | 1237 | int i; |
| 1244 | 1238 | UINT16 *temp = alloc_array_or_die(UINT16, 0x200000/2); |
| 1245 | 1239 | |
| 1246 | twin16_gfx_rom = (UINT16 *)memory_region(machine, "gfx2"); | |
| 1247 | memcpy( temp, twin16_gfx_rom, 0x200000 ); | |
| 1240 | twin16_gfx_rom = (UINT16 *)memory_region(machine, "gfx2"); | |
| 1241 | memcpy( temp, twin16_gfx_rom, 0x200000 ); | |
| 1248 | 1242 | |
| 1249 | for( i=0; i<0x080000; i++ ) | |
| 1250 | { | |
| 1251 | twin16_gfx_rom[i*2+0] = temp[i+0x080000]; | |
| 1252 | twin16_gfx_rom[i*2+1] = temp[i]; | |
| 1253 | } | |
| 1254 | free( temp ); | |
| 1243 | for( i=0; i<0x080000; i++ ) | |
| 1244 | { | |
| 1245 | twin16_gfx_rom[i*2+0] = temp[i+0x080000]; | |
| 1246 | twin16_gfx_rom[i*2+1] = temp[i]; | |
| 1247 | } | |
| 1248 | free( temp ); | |
| 1255 | 1249 | } |
| 1256 | 1250 | |
| 1257 | 1251 | static DRIVER_INIT( twin16 ) |
| r5490 | r5491 | |
| 1266 | 1260 | twin16_custom_video = 1; |
| 1267 | 1261 | } |
| 1268 | 1262 | |
| 1269 | static DRIVER_INIT( | |
| 1263 | static DRIVER_INIT( | |
| 1270 | 1264 | { |
| 1271 | 1265 | gfx_untangle(machine); |
| 1272 | twin16_custom_video = 2; | |
| 1273 | } | |
| 1274 | 1266 | |
| 1275 | static DRIVER_INIT( cuebrckj ) | |
| 1276 | { | |
| 1277 | gfx_untangle(machine); | |
| 1278 | twin16_custom_video = 2; | |
| 1279 | ||
| 1280 | generic_nvram = (UINT8 *)cuebrckj_nvram; | |
| 1267 | generic_nvram = (UINT8 *)cuebrickj_nvram; | |
| 1281 | 1268 | generic_nvram_size = 0x400*0x20; |
| 1282 | 1269 | } |
| 1283 | 1270 | |
| 1284 | 1271 | /* Game Drivers */ |
| 1285 | 1272 | |
| 1286 | GAME( 1987, devilw, 0, devilw, devilw, twin16, ROT0, "Konami", "Devil World", 0 ) | |
| 1287 | GAME( 1987, majuu, devilw, devilw, devilw, twin16, ROT0, "Konami", "Majuu no Ohkoku", 0 ) | |
| 1288 | GAME( 1987, darkadv, devilw, devilw, darkadv, twin16, ROT0, "Konami", "Dark Adventure", 0 ) | |
| 1289 | GAME( 1988, vulcan, 0, twin16, vulcan, twin16, ROT0, "Konami", "Vulcan Venture", 0 ) | |
| 1290 | GAME( 1988, gradius2, vulcan, twin16, gradius2, twin16, ROT0, "Konami", "Gradius II - GOFER no Yabou (Japan New Ver.)", 0 ) | |
| 1291 | GAME( 1988, gradius2a,vulcan, twin16, vulcan, twin16, ROT0, "Konami", "Gradius II - GOFER no Yabou (Japan Old Ver.)", 0 ) | |
| 1292 | GAME( 1988, gradius2b,vulcan, twin16, vulcan, twin16, ROT0, "Konami", "Gradius II - GOFER no Yabou (Japan Older Ver.)", 0 ) | |
| 1273 | GAME( 1987, devilw, 0, devilw, devilw, twin16, ROT0, "Konami", "Devil World", GAME_SUPPORTS_SAVE ) | |
| 1274 | GAME( 1987, majuu, devilw, devilw, devilw, twin16, ROT0, "Konami", "Majuu no Ohkoku", GAME_SUPPORTS_SAVE ) | |
| 1275 | GAME( 1987, darkadv, devilw, devilw, darkadv, twin16, ROT0, "Konami", "Dark Adventure", GAME_SUPPORTS_SAVE ) | |
| 1276 | GAME( 1988, vulcan, 0, twin16, vulcan, twin16, ROT0, "Konami", "Vulcan Venture", GAME_SUPPORTS_SAVE ) | |
| 1277 | GAME( 1988, gradius2, vulcan, twin16, gradius2, twin16, ROT0, "Konami", "Gradius II - GOFER no Yabou (Japan New Ver.)", GAME_SUPPORTS_SAVE ) | |
| 1278 | GAME( 1988, gradius2a,vulcan, twin16, vulcan, twin16, ROT0, "Konami", "Gradius II - GOFER no Yabou (Japan Old Ver.)", GAME_SUPPORTS_SAVE ) | |
| 1279 | GAME( 1988, gradius2b,vulcan, twin16, vulcan, twin16, ROT0, "Konami", "Gradius II - GOFER no Yabou (Japan Older Ver.)", GAME_SUPPORTS_SAVE ) | |
| 1293 | 1280 | |
| 1294 | GAME( 1988, fround, 0, fround, fround, fround, ROT0, "Konami", "The Final Round (version M)", 0 ) | |
| 1295 | GAME( 1988, froundl, fround, fround, fround, fround, ROT0, "Konami", "The Final Round (version L)", 0 ) | |
| 1296 | GAME( 1988, hpuncher, fround, hpuncher, fround, hpuncher, ROT0, "Konami", "Hard Puncher (Japan)", 0 ) | |
| 1297 | GAME( 1989, miaj, mia, miaj, miaj, hpuncher, ROT0, "Konami", "M.I.A. - Missing in Action (Japan)", 0 ) | |
| 1298 | GAME( 1989, cuebrckj, cuebrick, cuebrckj, cuebrckj, cuebrckj, ROT0, "Konami", "Cue Brick (Japan)", 0 ) | |
| 1281 | GAME( 1988, fround, 0, fround, fround, fround, ROT0, "Konami", "The Final Round (version M)", GAME_SUPPORTS_SAVE ) | |
| 1282 | GAME( 1988, froundl, fround, fround, fround, fround, ROT0, "Konami", "The Final Round (version L)", GAME_SUPPORTS_SAVE ) | |
| 1283 | GAME( 1988, hpuncher, fround, twin16, fround, twin16, ROT0, "Konami", "Hard Puncher (Japan)", GAME_SUPPORTS_SAVE ) | |
| 1284 | GAME( 1989, miaj, mia, miaj, miaj, twin16, ROT0, "Konami", "M.I.A. - Missing in Action (Japan)", GAME_SUPPORTS_SAVE ) | |
| 1285 | GAME( 1989, cuebrickj,cuebrick, cuebrickj, cuebrickj,cuebrickj,ROT0, "Konami", "Cue Brick (Japan)", GAME_SUPPORTS_SAVE ) |
| r5490 | r5491 | |
|---|---|---|
| 455 | 455 | static CDE_DMA cde_dma[2]; |
| 456 | 456 | |
| 457 | 457 | |
| 458 | static void cde_init( | |
| 458 | static void cde_init(running_machine *machine) | |
| 459 | 459 | { |
| 460 | cdrom_file *cd = cdrom_open(get_disk_handle("cdrom")); | |
| 460 | cdrom_file *cd = cdrom_open(get_disk_handle(machine, "cdrom")); | |
| 461 | 461 | const cdrom_toc *toc = cdrom_get_toc(cd); |
| 462 | 462 | |
| 463 | 463 | if (cd) |
| r5490 | r5491 | |
| 1231 | 1231 | { |
| 1232 | 1232 | unk3 = U64(0xffffffffffffffff); |
| 1233 | 1233 | unk20004 = 0; |
| 1234 | cde_init(); | |
| 1234 | cde_init(machine); | |
| 1235 | 1235 | } |
| 1236 | 1236 | |
| 1237 | 1237 | GAME( 1997, polystar, 0, m2, m2, m2, ROT0, "Konami", "Tobe! Polystars (ver JAA)", GAME_NOT_WORKING | GAME_NO_SOUND ) |
| r5490 | r5491 | |
|---|---|---|
| 639 | 639 | |
| 640 | 640 | /* 0x400000 -> 0x100982 */ |
| 641 | 641 | PORT_MODIFY("DSWA") |
| 642 | PORT_DIPNAME( 0x08, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SWA:4") | |
| 643 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) | |
| 644 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) | |
| 642 | 645 | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SWA:5,6") |
| 643 | 646 | PORT_DIPSETTING( 0x00, DEF_STR( 4C_1C ) ) PORT_CONDITION("DSWB",0x80,PORTCOND_EQUALS,0x00) |
| 644 | 647 | PORT_DIPSETTING( 0x10, DEF_STR( 3C_1C ) ) PORT_CONDITION("DSWB",0x80,PORTCOND_EQUALS,0x00) |
| r5490 | r5491 | |
|---|---|---|
| 3676 | 3676 | |
| 3677 | 3677 | MACHINE_DRIVER_END |
| 3678 | 3678 | |
| 3679 | /* | |
| 3680 | ||
| 3681 | S.B.S. Gomorrah | |
| 3682 | UPL, 1993 | |
| 3683 | ||
| 3684 | PCB Layout | |
| 3685 | ---------- | |
| 3686 | ||
| 3687 | UPL-90062 | |
| 3688 | |-------------------------------------------------------------------------| | |
| 3689 | | LA4460 4558 YM2203 6116 NMK004 68000 | | |
| 3690 | | 3014 M6295 6.IC120 | | |
| 3691 | | M6295 8MHz 62256 10.IC15 | | |
| 3692 | | SBS-G_05.IC160 | | |
| 3693 | | SBS-G_04.IC139 62256 11.IC14 | | |
| 3694 | |DSW2 DSW1 12MHz | | |
| 3695 | | 82S129.IC69 | | |
| 3696 | | NMK005 | | |
| 3697 | | 82S135.IC94 | | |
| 3698 | | NMK902 | | |
| 3699 | |J 6116 NMK903 NMK901 | | |
| 3700 | |A | | |
| 3701 | |M 6116 7.IC46 | | |
| 3702 | |M 82S123.IC154 6116 6264 NMK903 | | |
| 3703 | |A | | |
| 3704 | | 6116 6264 | | |
| 3705 | | 6116 SBS-G_01.IC9| | |
| 3706 | | 6116 | | |
| 3707 | | | | |
| 3708 | | NMK901 | | |
| 3709 | | | | |
| 3710 | | NMK903 | | |
| 3711 | | | | |
| 3712 | | 62256 62256 8.IC27 SBS-G_02.IC4| | |
| 3713 | | | | |
| 3714 | | 62256 62256 9.IC26 | | |
| 3715 | |SBS-G_03.IC194 10MHz | | |
| 3716 | |-------------------------------------------------------------------------| | |
| 3717 | Notes: | |
| 3718 | 680000 @ 10.0MHz | |
| 3719 | YM2203 @ 1.5MHz [12/8] | |
| 3720 | M6295 @ 4.0MHz [12/3], pin 7 HIGH | |
| 3721 | VSync 60Hz | |
| 3722 | HSync 15.27kHz | |
| 3723 | ||
| 3724 | */ | |
| 3725 | ||
| 3726 | 3679 | #define BIOSHIP_CRYSTAL1 10000000 |
| 3727 | 3680 | #define BIOSHIP_CRYSTAL2 12000000 |
| 3728 | 3681 | |
| r5490 | r5491 | |
| 3895 | 3848 | MACHINE_DRIVER_END |
| 3896 | 3849 | |
| 3897 | 3850 | |
| 3898 | /* bootleg using Raiden sound hardware */ | |
| 3899 | static MACHINE_DRIVER_START( tdragonb ) | |
| 3851 | static MACHINE_DRIVER_START( tdragonb ) /* bootleg using Raiden sound hardware */ | |
| 3900 | 3852 | |
| 3901 | 3853 | /* basic machine hardware */ |
| 3902 | 3854 | MDRV_CPU_ADD("maincpu", M68000, 10000000) |
| r5490 | r5491 | |
| 4010 | 3962 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) |
| 4011 | 3963 | MACHINE_DRIVER_END |
| 4012 | 3964 | |
| 4013 | ||
| 4014 | 3965 | static MACHINE_DRIVER_START( strahl ) |
| 4015 | 3966 | |
| 4016 | 3967 | /* basic machine hardware */ |
| r5490 | r5491 | |
| 4055 | 4006 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.20) |
| 4056 | 4007 | MACHINE_DRIVER_END |
| 4057 | 4008 | |
| 4058 | ||
| 4059 | 4009 | static MACHINE_DRIVER_START( hachamf ) |
| 4060 | 4010 | |
| 4061 | 4011 | /* basic machine hardware */ |
| r5490 | r5491 | |
| 4101 | 4051 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.20) |
| 4102 | 4052 | MACHINE_DRIVER_END |
| 4103 | 4053 | |
| 4104 | ||
| 4105 | 4054 | static MACHINE_DRIVER_START( macross ) |
| 4106 | 4055 | |
| 4107 | 4056 | /* basic machine hardware */ |
| r5490 | r5491 | |
| 4190 | 4139 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.20) |
| 4191 | 4140 | MACHINE_DRIVER_END |
| 4192 | 4141 | |
| 4193 | ||
| 4194 | 4142 | static MACHINE_DRIVER_START( gunnail ) |
| 4195 | 4143 | |
| 4196 | 4144 | /* basic machine hardware */ |
| r5490 | r5491 | |
| 4235 | 4183 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.20) |
| 4236 | 4184 | MACHINE_DRIVER_END |
| 4237 | 4185 | |
| 4238 | ||
| 4239 | 4186 | static MACHINE_DRIVER_START( macross2 ) |
| 4240 | 4187 | |
| 4241 | 4188 | /* basic machine hardware */ |
| r5490 | r5491 | |
| 4883 | 4830 | }; |
| 4884 | 4831 | |
| 4885 | 4832 | |
| 4886 | ||
| 4887 | 4833 | static MACHINE_DRIVER_START( stagger1 ) |
| 4888 | 4834 | |
| 4889 | 4835 | /* basic machine hardware */ |
| r5490 | r5491 | |
| 4969 | 4915 | MDRV_VIDEO_UPDATE(bubl2000) |
| 4970 | 4916 | MACHINE_DRIVER_END |
| 4971 | 4917 | |
| 4972 | ||
| 4973 | 4918 | static MACHINE_DRIVER_START( firehawk ) |
| 4974 | 4919 | |
| 4975 | 4920 | /* basic machine hardware */ |
| r5490 | r5491 | |
| 5007 | 4952 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) |
| 5008 | 4953 | MACHINE_DRIVER_END |
| 5009 | 4954 | |
| 5010 | ||
| 5011 | ||
| 5012 | 4955 | static MACHINE_DRIVER_START( twinactn ) |
| 5013 | 4956 | |
| 5014 | 4957 | /* basic machine hardware */ |
| r5490 | r5491 | |
| 5361 | 5304 | ROM_LOAD( "mustang.17", 0x00000, 0x10000, CRC(f6f6c4bf) SHA1(ea4cf74d968e254ae47c16c2f4c2f4bc1a528808) ) |
| 5362 | 5305 | ROM_END |
| 5363 | 5306 | |
| 5364 | /* bootleg manufacturered by TAB AUSTRIA */ | |
| 5365 | 5307 | ROM_START( mustangb2 ) |
| 5366 | 5308 | ROM_REGION( 0x40000, "maincpu", 0 ) |
| 5367 | ROM_LOAD16_BYTE( "05.bin", 0x00000, 0x20000, CRC(13c6363b) SHA1(e2c1985d1c8ec9751c47cd7e1b85e007f3aeb6fd) ) | |
| 5309 | ROM_LOAD16_BYTE( "05.bin", 0x00000, 0x20000, CRC(13c6363b) SHA1(e2c1985d1c8ec9751c47cd7e1b85e007f3aeb6fd) ) /* bootleg manufacturered by TAB AUSTRIA */ | |
| 5368 | 5310 | ROM_LOAD16_BYTE( "04.bin", 0x00001, 0x20000, CRC(0d06f723) SHA1(28d5899114746d186e1ddd207deb177b31ff614d) ) |
| 5369 | 5311 | |
| 5370 | 5312 | ROM_REGION(0x20000, "audiocpu", 0 ) /* 64k for sound cpu code */ |
| r5490 | r5491 | |
| 5395 | 5337 | ROM_LOAD( "02.bin", 0x00000, 0x10000, CRC(f6f6c4bf) SHA1(ea4cf74d968e254ae47c16c2f4c2f4bc1a528808) ) |
| 5396 | 5338 | ROM_END |
| 5397 | 5339 | |
| 5398 | ||
| 5399 | ||
| 5400 | 5340 | ROM_START( acrobatm ) |
| 5401 | 5341 | ROM_REGION( 0x40000, "maincpu", 0 ) |
| 5402 | 5342 | ROM_LOAD16_BYTE( "02_ic100.bin", 0x00000, 0x20000, CRC(3fe487f4) SHA1(29aba5debcfddff14e584a1c7c5a403e85fc6ec0) ) |
| r5490 | r5491 | |
| 5428 | 5368 | ROM_LOAD( "11_ic80.bin", 0x0100, 0x0100, CRC(633ab1c9) SHA1(acd99fcca41eaab7948ca84988352f1d7d519c61) ) /* unknown */ |
| 5429 | 5369 | ROM_END |
| 5430 | 5370 | |
| 5371 | /* | |
| 5372 | ||
| 5373 | S.B.S. Gomorrah (and Bio-ship Paladin with correct roms in place) | |
| 5374 | UPL, 1993 | |
| 5375 | ||
| 5376 | PCB Layout | |
| 5377 | ---------- | |
| 5378 | ||
| 5379 | UPL-90062 | |
| 5380 | |-------------------------------------------------------------------------| | |
| 5381 | | LA4460 4558 YM2203 6116 NMK004 68000 | | |
| 5382 | | 3014 M6295 6.IC120 | | |
| 5383 | | M6295 8MHz 62256 10.IC15 | | |
| 5384 | | SBS-G_05.IC160 | | |
| 5385 | | SBS-G_04.IC139 62256 11.IC14 | | |
| 5386 | |DSW2 DSW1 12MHz | | |
| 5387 | | 82S129.IC69 | | |
| 5388 | | NMK005 | | |
| 5389 | | 82S135.IC94 | | |
| 5390 | | NMK902 | | |
| 5391 | |J 6116 NMK903 NMK901 | | |
| 5392 | |A | | |
| 5393 | |M 6116 7.IC46 | | |
| 5394 | |M 82S123.IC154 6116 6264 NMK903 | | |
| 5395 | |A | | |
| 5396 | | 6116 6264 | | |
| 5397 | | 6116 SBS-G_01.IC9| | |
| 5398 | | 6116 | | |
| 5399 | | | | |
| 5400 | | NMK901 | | |
| 5401 | | | | |
| 5402 | | NMK903 | | |
| 5403 | | | | |
| 5404 | | 62256 62256 8.IC27 SBS-G_02.IC4| | |
| 5405 | | | | |
| 5406 | | 62256 62256 9.IC26 | | |
| 5407 | |SBS-G_03.IC194 10MHz | | |
| 5408 | |-------------------------------------------------------------------------| | |
| 5409 | Notes: | |
| 5410 | 680000 @ 10.0MHz | |
| 5411 | YM2203 @ 1.5MHz [12/8] | |
| 5412 | M6295 @ 4.0MHz [12/3], pin 7 HIGH | |
| 5413 | VSync 60Hz | |
| 5414 | HSync 15.27kHz | |
| 5415 | ||
| 5416 | */ | |
| 5417 | ||
| 5431 | 5418 | ROM_START( bioship ) |
| 5432 | 5419 | ROM_REGION( 0x40000, "maincpu", 0 ) |
| 5433 | ROM_LOAD16_BYTE( "2", 0x00000, 0x20000, CRC(acf56afb) SHA1(0e8ec494ab406cfee24cf586059878332265de75) ) | |
| 5434 | ROM_LOAD16_BYTE( "1", 0x00001, 0x20000, CRC(820ef303) SHA1(d2ef29557b05abf8ae79a2c7ce0d15a91b36eeff) ) | |
| 5420 | ROM_LOAD16_BYTE( "2.ic14", 0x00000, 0x20000, CRC(acf56afb) SHA1(0e8ec494ab406cfee24cf586059878332265de75) ) | |
| 5421 | ROM_LOAD16_BYTE( "1.ic15", 0x00001, 0x20000, CRC(820ef303) SHA1(d2ef29557b05abf8ae79a2c7ce0d15a91b36eeff) ) | |
| 5435 | 5422 | |
| 5436 | 5423 | ROM_REGION( 0x20000, "gfx1", 0 ) |
| 5437 | 5424 | ROM_LOAD( "7", 0x000000, 0x10000, CRC(2f3f5a10) SHA1(c1006eb755eec75f69dc7972d78d0c59088eb140) ) /* Characters */ |
| r5490 | r5491 | |
| 5677 | 5664 | ROM_LOAD( "ssm-pr1.114", 0x0100, 0x0200, CRC(ed0bd072) SHA1(66a6d435d8587c82ae96dd09c39ed5749fe00e24) ) /* unknown */ |
| 5678 | 5665 | ROM_END |
| 5679 | 5666 | |
| 5667 | /* | |
| 5668 | ||
| 5669 | Air Attack | |
| 5670 | Comad, 1996 | |
| 5671 | ||
| 5672 | 68000 @ 8MHz | |
| 5673 | Z80A @ 2MHz [8/4] | |
| 5674 | M6295 @ 1MHz [8/8]. Pin 7 HIGH | |
| 5675 | VSync 50Hz | |
| 5676 | HSync 15.35kHz | |
| 5677 | XTALs 8MHz (for 68000/Z80/M6295), 12MHz (for FPGAs) | |
| 5678 | 2x 62256 RAM (main program RAM) | |
| 5679 | 4x 62256 RAM (graphics) | |
| 5680 | 2x 6264 RAM (graphics) | |
| 5681 | 1x 6116 RAM (sound program) | |
| 5682 | 6x 6116 RAM (other/ shared RAM etc) | |
| 5683 | 2x PROMs | |
| 5684 | 1x Lattice pLSI1032 FPGA | |
| 5685 | 1x Actel 1020B FPGA | |
| 5686 | ||
| 5687 | */ | |
| 5688 | ||
| 5680 | 5689 | ROM_START( airattck ) |
| 5681 | 5690 | ROM_REGION( 0x40000, "maincpu", 0 ) /* 68000 Code */ |
| 5682 | 5691 | ROM_LOAD16_BYTE( "ue10.bin", 0x000000, 0x20000, CRC(71deb9d8) SHA1(21da5a68a13c9017d787e88f7b293f263fbc6b20) ) |
| r5490 | r5491 | |
| 5705 | 5714 | ROM_LOAD( "82s147.uh6", 0x0100, 0x0200, CRC(ed0bd072) SHA1(66a6d435d8587c82ae96dd09c39ed5749fe00e24) ) /* unknown */ |
| 5706 | 5715 | ROM_END |
| 5707 | 5716 | |
| 5708 | /* | |
| 5709 | ||
| 5710 | Air Attack | |
| 5711 | Comad, 1996 | |
| 5712 | ||
| 5713 | 68000 @ 8MHz | |
| 5714 | Z80A @ 2MHz [8/4] | |
| 5715 | M6295 @ 1MHz [8/8]. Pin 7 HIGH | |
| 5716 | VSync 50Hz | |
| 5717 | HSync 15.35kHz | |
| 5718 | XTALs 8MHz (for 68000/Z80/M6295), 12MHz (for FPGAs) | |
| 5719 | 2x 62256 RAM (main program RAM) | |
| 5720 | 4x 62256 RAM (graphics) | |
| 5721 | 2x 6264 RAM (graphics) | |
| 5722 | 1x 6116 RAM (sound program) | |
| 5723 | 6x 6116 RAM (other/ shared RAM etc) | |
| 5724 | 2x PROMs | |
| 5725 | 1x Lattice pLSI1032 FPGA | |
| 5726 | 1x Actel 1020B FPGA | |
| 5727 | ||
| 5728 | */ | |
| 5729 | ||
| 5730 | 5717 | ROM_START( airattcka ) |
| 5731 | 5718 | ROM_REGION( 0x40000, "maincpu", 0 ) /* 68000 Code */ |
| 5732 | 5719 | ROM_LOAD16_BYTE( "6.uc10", 0x000000, 0x20000, CRC(3572baf0) SHA1(0a2fe3be16d95896dc757ef231b3708093fc7ffa) ) |
| r5490 | r5491 | |
| 5755 | 5742 | ROM_LOAD( "82s147.uh6", 0x0100, 0x0200, CRC(ed0bd072) SHA1(66a6d435d8587c82ae96dd09c39ed5749fe00e24) ) /* unknown */ |
| 5756 | 5743 | ROM_END |
| 5757 | 5744 | |
| 5758 | ||
| 5759 | 5745 | ROM_START( strahl ) |
| 5760 | 5746 | ROM_REGION( 0x40000, "maincpu", 0 ) |
| 5761 | 5747 | ROM_LOAD16_BYTE( "strahl-2.82", 0x00000, 0x20000, CRC(c9d008ae) SHA1(e9218a3143d5887e702df051354a9083a806c69c) ) |
| r5490 | r5491 | |
| 5876 | 5862 | |
| 5877 | 5863 | |
| 5878 | 5864 | /* |
| 5879 | Gunnail (JPN Ver.) | |
| 5880 | (c)1992 NMK | |
| 5881 | 5865 | |
| 5882 | 5866 | Gun Nail |
| 5883 | 5867 | NMK/Tecmo, 1993 |
| r5490 | r5491 | |
| 6231 | 6215 | ROM_LOAD( "ic27.sb7", 0x040000, 0x100000, CRC(43e33a7e) SHA1(51068b63f4415712eaa25dcf1ee6b0cc2850974e) ) /* all banked */ |
| 6232 | 6216 | ROM_END |
| 6233 | 6217 | |
| 6234 | // PCB is marked 'Cactus', actual game has no title screen | |
| 6235 | 6218 | ROM_START( cactus ) |
| 6236 | 6219 | ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 code */ |
| 6237 | ROM_LOAD16_BYTE( "02.bin", 0x00000, 0x40000, CRC(15b2ff2f) SHA1(432cfd58daa0fdbe62157b36ca73eb9af6ce91e9) ) | |
| 6220 | ROM_LOAD16_BYTE( "02.bin", 0x00000, 0x40000, CRC(15b2ff2f) SHA1(432cfd58daa0fdbe62157b36ca73eb9af6ce91e9) ) /* PCB is marked 'Cactus', actual game has no title screen */ | |
| 6238 | 6221 | ROM_LOAD16_BYTE( "01.bin", 0x00001, 0x40000, CRC(5b8ba46a) SHA1(617e414fda1bd3e9f391676d312b0cdd4700adee) ) |
| 6239 | 6222 | |
| 6240 | 6223 | ROM_REGION( 0x010000, "gfx1", 0 ) |
| r5490 | r5491 | |
| 6362 | 6345 | ROM_LOAD( "u120.bpr", 0x0320, 0x0100, CRC(576c5984) SHA1(6e9b7f30de0d91cb766a62abc5888ec9af085a27) ) /* unknown */ |
| 6363 | 6346 | ROM_END |
| 6364 | 6347 | |
| 6365 | ||
| 6366 | ||
| 6367 | 6348 | /*************************************************************************** |
| 6368 | 6349 | |
| 6369 | 6350 | Stagger I |
| r5490 | r5491 | |
| 6399 | 6380 | ROM_LOAD( "5", 0x00000, 0x40000, CRC(e911ce33) SHA1(a29c4dea98a22235122303325c63c15fadd3431d) ) |
| 6400 | 6381 | ROM_END |
| 6401 | 6382 | |
| 6402 | ||
| 6403 | 6383 | /*************************************************************************** |
| 6404 | 6384 | |
| 6405 | 6385 | Red Hawk (c)1997 Afega |
| 6406 | 6386 | |
| 6387 | CPU: MC68HC000P10 (68000) | |
| 6388 | Sound: Z0840006PSC (Z80) | |
| 6389 | AD-65 rebadged OKI M6295 | |
| 6390 | PD2001 rebadged YM2151, 24 pin DIP | |
| 6391 | KA3002 rebadged YM3012, 16 pin DIP | |
| 6392 | OSC: 12.000MHz & 4.000MHz | |
| 6393 | RAM: GM76C256CLL-70 x 6, HT6116-70 x 5, GM76C88AL-12 X 2 | |
| 6394 | Dips: 2 x 8 position | |
| 6395 | Other: Lattice pLSI 1032 x 2 | |
| 6396 | GAL22V10B x 2, GAL16V8B | |
| 6407 | 6397 | |
| 6398 | +-----------------------------------------+ | |
| 6399 | | 6116 YM3012 YM2151 M6295 5 4MHz | | |
| 6400 | |VOL 1 | | |
| 6401 | | Z80 pLSI1032 4 | | |
| 6402 | | 76C88 | | |
| 6403 | |J 6116 76C256 76C88 | | |
| 6404 | |A 6116 76C256 | | |
| 6405 | |M 2 76C256 76C256 | | |
| 6406 | |M 3 76C256 76C256 GAL | | |
| 6407 | |A SW1 | | |
| 6408 | | 68000-10 6116 | | |
| 6409 | | 6116 | | |
| 6410 | | 6 | | |
| 6411 | | SW2 pLSI1032 7 | | |
| 6412 | | 12MHz GAL GAL | | |
| 6413 | +-----------------------------------------+ | |
| 6408 | 6414 | |
| 6409 | 6116 ym2151 MSM6295 5 4MHz | |
| 6410 | 1 | |
| 6411 | Z80 pLSI1032 4 | |
| 6412 | 76C88 | |
| 6413 | 6116 76C256 76C88 | |
| 6414 | 6116 76C256 | |
| 6415 | 2 76C256 76C256 | |
| 6416 | 3 76C256 76C256 | |
| 6415 | ***************************************************************************/ | |
| 6417 | 6416 | |
| 6418 | 68000-10 6116 | |
| 6419 | 6116 | |
| 6420 | SW1 6 | |
| 6421 | SW21 pLSI1032 7 | |
| 6422 | 12MHz | |
| 6417 | static DRIVER_INIT( redhawk ) | |
| 6418 | { | |
| 6419 | decryptcode( machine, 23, 22, 21, 20, 19, 18, 16, 15, 14, 17, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 ); | |
| 6420 | } | |
| 6423 | 6421 | |
| 6424 | ***************************************************************************/ | |
| 6425 | ||
| 6426 | 6422 | ROM_START( redhawk ) /* U.S.A., Canada & South America, (c) 1997 */ |
| 6427 | 6423 | ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 Code */ |
| 6428 | 6424 | ROM_LOAD16_BYTE( "2", 0x000000, 0x020000, CRC(3ef5f326) SHA1(e89c7c24a05886a14995d7c399958dc00ad35d63) ) |
| r5490 | r5491 | |
| 6504 | 6500 | ROM_LOAD( "5", 0x00000, 0x40000, CRC(e911ce33) SHA1(a29c4dea98a22235122303325c63c15fadd3431d) ) |
| 6505 | 6501 | ROM_END |
| 6506 | 6502 | |
| 6507 | static DRIVER_INIT( redhawk ) | |
| 6508 | { | |
| 6509 | decryptcode( machine, 23, 22, 21, 20, 19, 18, 16, 15, 14, 17, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 ); | |
| 6510 | } | |
| 6511 | ||
| 6512 | 6503 | ROM_START( redhawkb ) |
| 6513 | 6504 | ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 Code */ |
| 6514 | 6505 | ROM_LOAD16_BYTE( "rhb-1.bin", 0x000000, 0x020000, CRC(e733ea07) SHA1(b1ffeda633d5e701f0e97c79930a54d7b89a85c5) ) |
| r5490 | r5491 | |
| 6530 | 6521 | ROM_LOAD( "5", 0x00000, 0x40000, CRC(e911ce33) SHA1(a29c4dea98a22235122303325c63c15fadd3431d) ) |
| 6531 | 6522 | ROM_END |
| 6532 | 6523 | |
| 6533 | ||
| 6534 | 6524 | /*************************************************************************** |
| 6535 | 6525 | |
| 6536 | 6526 | Guardian Storm / Sen Jin - Guardian Storm |
| r5490 | r5491 | |
| 6597 | 6587 | |
| 6598 | 6588 | ***************************************************************************/ |
| 6599 | 6589 | |
| 6590 | static DRIVER_INIT( grdnstrm ) | |
| 6591 | { | |
| 6592 | decryptcode( machine, 23, 22, 21, 20, 19, 18, 16, 17, 14, 15, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 ); | |
| 6593 | } | |
| 6594 | ||
| 6600 | 6595 | ROM_START( grdnstrm ) |
| 6601 | 6596 | ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 Code */ |
| 6602 | 6597 | ROM_LOAD16_BYTE( "afega4.u112", 0x000000, 0x040000, CRC(2244713a) SHA1(41ae66a38931c12462ecae53e1e44c3420d0d235) ) |
| r5490 | r5491 | |
| 6641 | 6636 | ROM_LOAD( "afega1.u95", 0x00000, 0x40000, CRC(e911ce33) SHA1(a29c4dea98a22235122303325c63c15fadd3431d) ) |
| 6642 | 6637 | ROM_END |
| 6643 | 6638 | |
| 6644 | static DRIVER_INIT( grdnstrm ) | |
| 6645 | { | |
| 6646 | decryptcode( machine, 23, 22, 21, 20, 19, 18, 16, 17, 14, 15, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 ); | |
| 6647 | } | |
| 6639 | /*************************************************************************** | |
| 6648 | 6640 | |
| 6649 | /* Pop's Pop's */ | |
| 6650 | ||
| 6651 | /* | |
| 6652 | ||
| 6653 | 6641 | Pop's Pop's by Afega (1999) |
| 6654 | 6642 | |
| 6655 | 6643 | The pcb might be missing an eprom in a socket |
| r5490 | r5491 | |
| 6665 | 6653 | 1x Afega AF1-CF5K custom chip socketed |
| 6666 | 6654 | 2x dipswitch banks |
| 6667 | 6655 | |
| 6668 | */ | |
| 6656 | ****************************************************************************/ | |
| 6669 | 6657 | |
| 6670 | 6658 | ROM_START( popspops ) |
| 6671 | 6659 | ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 Code */ |
| r5490 | r5491 | |
| 6689 | 6677 | ROM_LOAD( "afega2.u95", 0x00000, 0x40000, CRC(ecd8eeac) SHA1(849beba8f04cc322bb8435fa4c26551a6d0dec64) ) |
| 6690 | 6678 | ROM_END |
| 6691 | 6679 | |
| 6692 | /* | |
| 6680 | /**************************************************************************** | |
| 6693 | 6681 | Mang-chi by Afega |
| 6694 | 6682 | |
| 6695 | 6683 | 1x osc 4mhz |
| r5490 | r5491 | |
| 6703 | 6691 | 1x smd ASIC not marked |
| 6704 | 6692 | |
| 6705 | 6693 | Dumped by Corrado Tomaselli |
| 6706 | */ | |
| 6694 | ****************************************************************************/ | |
| 6707 | 6695 | |
| 6708 | 6696 | ROM_START( mangchi ) |
| 6709 | 6697 | ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 Code */ |
| r5490 | r5491 | |
| 6767 | 6755 | |
| 6768 | 6756 | ***************************************************************************/ |
| 6769 | 6757 | |
| 6758 | static DRIVER_INIT( bubl2000 ) | |
| 6759 | { | |
| 6760 | decryptcode( machine, 23, 22, 21, 20, 19, 18, 13, 14, 15, 16, 17, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 ); | |
| 6761 | } | |
| 6762 | ||
| 6770 | 6763 | ROM_START( bubl2000 ) |
| 6771 | 6764 | ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 Code */ |
| 6772 | 6765 | ROM_LOAD16_BYTE( "rom10.112", 0x00000, 0x20000, CRC(87f960d7) SHA1(d22fe1740217ac20963bd9003245850598ccecf2) ) |
| r5490 | r5491 | |
| 6794 | 6787 | ROM_LOAD( "rom02.95", 0x00000, 0x40000, CRC(859a86e5) SHA1(7b51964227411a40aac54b9cd9ff64f091bdf2b0) ) |
| 6795 | 6788 | ROM_END |
| 6796 | 6789 | |
| 6790 | /*************************************************************************** | |
| 6797 | 6791 | |
| 6798 | /* | |
| 6799 | ||
| 6800 | 6792 | Hot Bubble |
| 6801 | 6793 | Afega, 1998 |
| 6802 | 6794 | |
| r5490 | r5491 | |
| 6861 | 6853 | * - Unknown PLCC68 IC |
| 6862 | 6854 | + - Not populated |
| 6863 | 6855 | |
| 6864 | */ | |
| 6856 | ***************************************************************************/ | |
| 6865 | 6857 | |
| 6866 | 6858 | ROM_START( hotbubl ) |
| 6867 | 6859 | ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 Code */ |
| r5490 | r5491 | |
| 6891 | 6883 | ROM_LOAD( "s2.uc18", 0x00000, 0x40000, CRC(401c980f) SHA1(e47710c47cfeecce3ccf87f845b219a9c9f21ee3) ) |
| 6892 | 6884 | ROM_END |
| 6893 | 6885 | |
| 6894 | static DRIVER_INIT( bubl2000 ) | |
| 6895 | { | |
| 6896 | decryptcode( machine, 23, 22, 21, 20, 19, 18, 13, 14, 15, 16, 17, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 ); | |
| 6897 | } | |
| 6886 | /*************************************************************************** | |
| 6898 | 6887 | |
| 6899 | /* | |
| 6900 | ||
| 6901 | 6888 | Fire Hawk - ESD, 2001 |
| 6902 | 6889 | --------------------- |
| 6903 | 6890 | |
| r5490 | r5491 | |
| 6936 | 6923 | 6295 clocks: 1.000MHz (both), sample rate = 1000000 / 132 (both) |
| 6937 | 6924 | VSync: 56Hz |
| 6938 | 6925 | |
| 6939 | */ | |
| 6926 | ***************************************************************************/ | |
| 6940 | 6927 | |
| 6941 | 6928 | ROM_START( firehawk ) |
| 6942 | 6929 | ROM_REGION( 0x100000, "maincpu", 0 ) /* 68000 Code */ |
| r5490 | r5491 | |
| 6963 | 6950 | ROM_LOAD( "fhawk_s3.u41", 0x00000, 0x40000, CRC(3fdcfac2) SHA1(c331f2ea6fd682cfb00f73f9a5b995408eaab5cf) ) |
| 6964 | 6951 | ROM_END |
| 6965 | 6952 | |
| 6966 | /* | |
| 6953 | /*************************************************************************** | |
| 6967 | 6954 | |
| 6968 | CPU | |
| 6969 | 1x unknown custom chip | |
| 6970 | 1x FPGA | |
| 6971 | 1x oscillator 4.000MHz | |
| 6972 | 1x oscillator 12.000MHz | |
| 6973 | 2x AD-65 | |
| 6955 | Spectrum 2000 (c) 2000 YONA Tech | |
| 6974 | 6956 | |
| 6957 | CPU: 68HC000FN10 (68000, 68 pin PLCC) | |
| 6958 | Sound: Z84C000FEC (Z80, 44 pin PQFP) | |
| 6959 | AD-65 x 2 rebadged OKI M6295 | |
| 6960 | OSC: 12.000MHz & 4.000MHz | |
| 6961 | RAM: IS61C256AH-20N x 6, HT6116-70 x 7, UM6164DK-12 X 2 | |
| 6962 | Dips: 2 x 8 position | |
| 6963 | Other: 208 pin PQFP labeled YONA Tech 2000 K (silkscreened on the PCB as LTC1) | |
| 6964 | GAL16V8B (not dumped) | |
| 6965 | ||
| 6966 | +-----------------------------------------------------+ | |
| 6967 | | 6116 4MHz AD-65 2.U101 29F1610.UC1 | | |
| 6968 | |VOL 1.U103 AD-65 3.U106 | | |
| 6969 | | Z80 61C256 | | |
| 6970 | +-+ 6116 61C256 | | |
| 6971 | | SW1 SW2 6116 61C256 | | |
| 6972 | +-+ 61C256 | | |
| 6973 | | | | |
| 6974 | |J +--------+ | | |
| 6975 | |A | YONA | | | |
| 6976 | |M | Tech | | | |
| 6977 | |M 61C256 61C256 | 2000 K | | | |
| 6978 | |A 5.U124 6.U120 GAL | | | | |
| 6979 | | +-------+ +--------+ 6116 | | |
| 6980 | +-+ |MC68000| 6116 | | |
| 6981 | | | FN10 | 6164 | | |
| 6982 | +-+ | | 6164 29F1610.UC2 | | |
| 6983 | | +-------+ 29F1610.UC3 | | |
| 6984 | | 6116 12MHz| | |
| 6985 | | 6116 4.U3 | | |
| 6986 | +-----------------------------------------------------+ | |
| 6987 | ||
| 6975 | 6988 | ROMs |
| 6976 | 1x TMS27C512 (1) | |
| 6977 | 1x MX27C4000 (3) | |
| 6978 | 2x TMS27C010A (2,4) | |
| 6979 | 2x TMS27C020 (5,6) | |
| 6980 | 3x MX29F1610ML (uc1,uc2,uc3) | |
| 6989 | YONATech1 is a TMS27C512 | |
| 6990 | YONATech3 is a MX27C4000 | |
| 6991 | YONATech2 & YONATech4 are TMS27C010A | |
| 6992 | YONATech5 & YONATech6 are TMS27C020 | |
| 6981 | 6993 | |
| 6982 | Note | |
| 6983 | 1x JAMMA connector | |
| 6984 | 1x trimmer (volume) | |
| 6985 | 2x8 dip switches | |
| 6994 | UC1, UC2 & UC3 are all Micronix MX29F1610ML 16Mb Flash roms | |
| 6986 | 6995 | |
| 6987 | ||
| 6996 | UC1, UC2 & UC3 have solder pads for both MX29F1610 Flash & 27C160 EPROMs | |
| 6988 | 6997 | |
| 6998 | ***************************************************************************/ | |
| 6999 | ||
| 7000 | static DRIVER_INIT( spec2k ) | |
| 7001 | { | |
| 7002 | decryptcode( machine, 23, 22, 21, 20, 19, 18, 17, 13, 14, 15, 16, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 ); | |
| 7003 | } | |
| 7004 | ||
| 6989 | 7005 | ROM_START( spec2k ) |
| 6990 | 7006 | ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 Code */ |
| 6991 | 7007 | ROM_LOAD16_BYTE( "yonatech5.u124", 0x00000, 0x40000, CRC(72ab5c05) SHA1(182a811982b89b8cda0677547ef0625c274f5c6b) ) |
| r5490 | r5491 | |
| 6995 | 7011 | ROM_LOAD( "yonatech1.u103", 0x00000, 0x10000, CRC(ef5acda7) SHA1(e55b36a1598ecbbbad984997d61599dfa3958f60) ) |
| 6996 | 7012 | |
| 6997 | 7013 | ROM_REGION( 0x200000, "gfx1",0 ) /* Sprites, 16x16x4 */ |
| 6998 | ROM_LOAD( "u154.bin", 0x00000, 0x200000, CRC(f77b764e) SHA1(37e249bd4d7174c5232261880ce8debf42723716) ) | |
| 7014 | ROM_LOAD( "u154.bin", 0x00000, 0x200000, CRC(f77b764e) SHA1(37e249bd4d7174c5232261880ce8debf42723716) ) /* UC1 MX29F1610ML Flash ROM */ | |
| 6999 | 7015 | |
| 7000 | 7016 | ROM_REGION( 0x400000, "gfx2", 0 ) /* Layer 0, 16x16x8 */ |
| 7001 | ROM_LOAD( "u153.bin", 0x000000, 0x200000, CRC(a00bbf8f) SHA1(622f52ef50d52cdd5e6b250d68439caae5c13404) ) | |
| 7002 | ROM_LOAD( "u152.bin", 0x200000, 0x200000, CRC(f6423fab) SHA1(253e0791eb58efa1df42e9c74d397e6e65c8c252) ) | |
| 7017 | ROM_LOAD( "u153.bin", 0x000000, 0x200000, CRC(a00bbf8f) SHA1(622f52ef50d52cdd5e6b250d68439caae5c13404) ) /* UC2 MX29F1610ML Flash ROM */ | |
| 7018 | ROM_LOAD( "u152.bin", 0x200000, 0x200000, CRC(f6423fab) SHA1(253e0791eb58efa1df42e9c74d397e6e65c8c252) ) /* UC3 MX29F1610ML Flash ROM */ | |
| 7003 | 7019 | |
| 7004 | 7020 | ROM_REGION( 0x20000, "gfx3", ROMREGION_ERASEFF ) /* Layer 1, 8x8x4 */ |
| 7005 | 7021 | ROM_LOAD( "yonatech4.u3", 0x00000, 0x20000, CRC(5626b08e) SHA1(63207ed6b4fc8684690bf3fe1991a4f3babd73e8) ) |
| r5490 | r5491 | |
| 7011 | 7027 | ROM_LOAD( "yonatech3.u106", 0x00000, 0x80000, CRC(6644c404) SHA1(b7ad3f9f08971432d024ef8be3fa3140f0bbae67) ) |
| 7012 | 7028 | ROM_END |
| 7013 | 7029 | |
| 7014 | static DRIVER_INIT( spec2k ) | |
| 7015 | { | |
| 7016 | decryptcode( machine, 23, 22, 21, 20, | |
| 7017 | 19, 18, 17, 13, | |
| 7018 | 14, 15, 16, 12, | |
| 7019 | 11, 10, 9, 8, | |
| 7020 | 7, 6, 5, 4, | |
| 7021 | 3, 2, 1, 0 ); | |
| 7022 | } | |
| 7023 | ||
| 7024 | /* | |
| 7030 | /*************************************************************************** | |
| 7025 | 7031 | 1995, Afega |
| 7026 | 7032 | |
| 7027 | 7033 | 1x TMP68000P-10 (main) |
| r5490 | r5491 | |
| 7040 | 7046 | |
| 7041 | 7047 | 1x JAMMA edge connector |
| 7042 | 7048 | 1x trimmer (volume) |
| 7043 | */ | |
| 7049 | ***************************************************************************/ | |
| 7044 | 7050 | |
| 7045 | 7051 | ROM_START( twinactn ) |
| 7046 | 7052 | ROM_REGION( 0x40000, "maincpu", 0 ) /* 68000 Code */ |
| r5490 | r5491 | |
| 7153 | 7159 | GAME( 1998, hotbubl, bubl2000, popspops, bubl2000, bubl2000, ROT0, "Pandora", "Hot Bubble" , 0 ) // on an afega board .. |
| 7154 | 7160 | GAME( 1999, popspops, 0, popspops, popspops, grdnstrm, ROT0, "Afega", "Pop's Pop's", 0 ) |
| 7155 | 7161 | GAME( 2000, mangchi, 0, popspops, mangchi, bubl2000, ROT0, "Afega", "Mang-Chi", 0 ) |
| 7156 | GAME( 2000, spec2k, 0, firehawk, spec2k, spec2k, ORIENTATION_FLIP_Y, "Y | |
| 7162 | GAME( 2000, spec2k, 0, firehawk, spec2k, spec2k, ORIENTATION_FLIP_Y, "YONA Tech", | |
| 7157 | 7163 | GAME( 2001, firehawk, 0, firehawk, firehawk, 0, ORIENTATION_FLIP_Y, "ESD", "Fire Hawk", 0 ) |
| 7158 | 7164 | |
| 7159 | 7165 | // bee-oh board - different display / interrupt timing to others? |
| r5490 | r5491 | |
|---|---|---|
| 1040 | 1040 | ROM_END |
| 1041 | 1041 | |
| 1042 | 1042 | GAME( 1979, andromed, 0, m11, skychut, andromed, ROT270, "Irem", "Andromeda (Japan?)", GAME_NO_COCKTAIL | GAME_NO_SOUND | GAME_IMPERFECT_COLORS | GAME_NOT_WORKING ) |
| 1043 | GAME( 1979, ipminvad, 0, m10, ipminvad, 0, ROT270, "Irem", "I P M Invader", GAME_NO_COCKTAIL | GAME_IMPERFECT_COLORS ) | |
| 1044 | GAME( 1979, ipminvad1, ipminvad, m10, ipminvad, ipminva1, ROT270, "Irem", "I P M Invader (Incomplete Dump)", GAME_NOT_WORKING ) | |
| 1043 | GAME( 1979, ipminvad, 0, m10, ipminvad, 0, ROT270, "Irem", "I P M Invader", GAME_IMPERFECT_SOUND | GAME_NO_COCKTAIL | GAME_IMPERFECT_COLORS ) | |
| 1044 | GAME( 1979, ipminvad1, ipminvad, m10, ipminvad, ipminva1, ROT270, "Irem", "I P M Invader (Incomplete Dump)", GAME_IMPERFECT_SOUND | GAME_NOT_WORKING ) | |
| 1045 | 1045 | GAME( 1980, skychut, 0, m11, skychut, 0, ROT270, "Irem", "Sky Chuter", GAME_NO_COCKTAIL | GAME_NO_SOUND | GAME_IMPERFECT_COLORS ) |
| 1046 | 1046 | GAME( 1979, spacbeam, 0, m15, spacbeam, 0, ROT270, "Irem", "Space Beam", GAME_NO_COCKTAIL | GAME_NO_SOUND | GAME_IMPERFECT_COLORS ) |
| 1047 | 1047 | GAME( 1979, headoni, 0, headoni, headoni, 0, ROT270, "Irem", "Head On (Irem, M-15 Hardware)", GAME_NO_COCKTAIL | GAME_NO_SOUND | GAME_IMPERFECT_COLORS ) |
| r5490 | r5491 | |
|---|---|---|
| 42 | 42 | |
| 43 | 43 | // compute the SHA1 |
| 44 | 44 | sha1_init(&sha1); |
| 45 | sha1_update(&sha1, length, data); | |
| 45 | sha1_update(&sha1, length, (const UINT8 *)data); | |
| 46 | 46 | sha1_final(&sha1); |
| 47 | 47 | sha1_digest(&sha1, sizeof(sha1digest), sha1digest); |
| 48 | 48 |
| r5490 | r5491 | |
|---|---|---|
| 158 | 158 | #define S64(val) val |
| 159 | 159 | #endif |
| 160 | 160 | |
| 161 | /* MINGW has adopted the MSVC formatting for 64-bit ints as of gcc 4.4 */ | |
| 162 | #if (defined(__MINGW32__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4))) || defined(_MSVC_VER) | |
| 163 | #define I64FMT "I64" | |
| 164 | #else | |
| 165 | #define I64FMT "ll" | |
| 166 | #endif | |
| 161 | 167 | |
| 168 | ||
| 162 | 169 | /* Highly useful macro for compile-time knowledge of an array size */ |
| 163 | 170 | #define ARRAY_LENGTH(x) (sizeof(x) / sizeof(x[0])) |
| 164 | 171 |
| r5490 | r5491 | |
|---|---|---|
| 333 | 333 | |
| 334 | 334 | $(WINOBJ)/mamevers.rc: $(BUILDOUT)/verinfo$(BUILD_EXE) $(SRC)/version.c |
| 335 | 335 | @echo Emitting $@... |
| 336 | @$(BUILDOUT)/verinfo$(BUILD_EXE) -b windows $(SRC)/version.c > $@ | |
| 336 | @"$(BUILDOUT)/verinfo$(BUILD_EXE)" -b windows $(SRC)/version.c > $@ | |
| 337 | 337 |
| r5490 | r5491 | |
|---|---|---|
| 276 | 276 | void rom_init(running_machine *machine); |
| 277 | 277 | |
| 278 | 278 | /* return the number of warnings we generated */ |
| 279 | int rom_load_warnings( | |
| 279 | int rom_load_warnings(running_machine *machine); | |
| 280 | 280 | |
| 281 | 281 | |
| 282 | 282 | |
| r5490 | r5491 | |
| 320 | 320 | chd_error open_disk_image_options(core_options *options, const game_driver *gamedrv, const rom_entry *romp, mame_file **image_file, chd_file **image_chd); |
| 321 | 321 | |
| 322 | 322 | /* return a pointer to the CHD file associated with the given region */ |
| 323 | chd_file *get_disk_handle(const char *region); | |
| 323 | chd_file *get_disk_handle(running_machine *machine, const char *region); | |
| 324 | 324 | |
| 325 | 325 | /* set a pointer to the CHD file associated with the given region */ |
| 326 | 326 | void set_disk_handle(running_machine *machine, const char *region, mame_file *file, chd_file *chd); |
| r5490 | r5491 | |
|---|---|---|
| 22 | 22 | tms1270 | 1024 * 8 | 64 * 4 | 13 | 10 | 4 | tms1278 |
| 23 | 23 | tms1300 | 2048 * 8 | 128 * 4 | 16 | 8 | 4 | tms1309 |
| 24 | 24 | tms1370* | 2048 * 8 | 128 * 4 | | | | za0543 |
| 25 | tms1400* | 4096 * 8 | 128 * 4 | | | | | |
| 25 | tms1400* | 4096 * 8 | 128 * 4 | | | | | |
| 26 | 26 | tms1470* | 4096 * 8 | 128 * 4 | | | | tms1470 |
| 27 | 27 | tms1500* | 2048 * 13 | 64 * 20 | | | | tmc1501 |
| 28 | 28 | tms1600* | 4096 * 8 | 128 * 4 | | | | |
| r5490 | r5491 | |
|---|---|---|
| 544 | 544 | $(CPUSRC)/e132xs/e132xsop.c |
| 545 | 545 | |
| 546 | 546 | |
| 547 | ||
| 547 | ||
| 548 | 548 | #------------------------------------------------- |
| 549 | 549 | # Intel 4004 |
| 550 | 550 | #------------------------------------------------- |
| r5490 | r5491 | |
| 555 | 555 | DBGOBJS += $(CPUOBJ)/i4004/4004dasm.o |
| 556 | 556 | endif |
| 557 | 557 | |
| 558 | $(CPUOBJ)/i4004/i4004.o: $(CPUSRC)/i4004/i4004.c | |
| 558 | $(CPUOBJ)/i4004/i4004.o: $(CPUSRC)/i4004/i4004.c \ | |
| 559 | 559 | $(CPUSRC)/i4004/i4004.h |
| 560 | 560 | |
| 561 | 561 | |
| r5490 | r5491 | |
| 1544 | 1544 | |
| 1545 | 1545 | $(CPUOBJ)/z180/z180.o: $(CPUSRC)/z180/z180.c \ |
| 1546 | 1546 | $(CPUSRC)/z180/z180.h \ |
| 1547 | $(CPUSRC)/z180/z180daa.h \ | |
| 1548 | 1547 | $(CPUSRC)/z180/z180op.c \ |
| 1549 | 1548 | $(CPUSRC)/z180/z180ops.h \ |
| 1550 | 1549 | $(CPUSRC)/z180/z180tbl.h \ |
| r5490 | r5491 | |
|---|---|---|
| 4 | 4 | #include <assert.h> |
| 5 | 5 | #include <stdarg.h> |
| 6 | 6 | #include <ctype.h> |
| 7 | #include "osdcomm.h" | |
| 7 | 8 | |
| 8 | 9 | enum { |
| 9 | 10 | I_POST = 0x00000001, |
| r5490 | r5491 | |
| 742 | 743 | }; |
| 743 | 744 | |
| 744 | 745 | char r[256]; |
| 745 | sprintf(r, "tms57002_macc_to_output_%d%s(s, 0x%016 | |
| 746 | sprintf(r, "tms57002_macc_to_output_%d%s(s, 0x%016" I64FMT "xULL, 0x%016" I64FMT "xULL)", cv[IxSFMO], cv[IxMOVM] ? "s" : "", rounding[cv[IxRND]], rmask[cv[IxRND]]); | |
| 746 | 747 | scs(p, r); |
| 747 | 748 | break; |
| 748 | 749 | } |
| r5490 | r5491 | |
|---|---|---|
| 912 | 912 | static CPU_BURN( z180 ); |
| 913 | 913 | static CPU_SET_INFO( z180 ); |
| 914 | 914 | |
| 915 | #include "z180daa.h" | |
| 916 | 915 | #include "z180ops.h" |
| 917 | 916 | #include "z180tbl.h" |
| 918 | 917 |
| r5490 | r5491 | |
|---|---|---|
| 418 | 418 | * DAA |
| 419 | 419 | ***************************************************************/ |
| 420 | 420 | #define DAA { \ |
| 421 | int idx = cpustate->_A; \ | |
| 422 | if( cpustate->_F & CF ) idx |= 0x100; \ | |
| 423 | if( cpustate->_F & HF ) idx |= 0x200; \ | |
| 424 | if( cpustate->_F & NF ) idx |= 0x400; \ | |
| 425 | cpustate->_AF = DAATable[idx]; \ | |
| 421 | UINT8 r = cpustate->_A; \ | |
| 422 | if (cpustate->_F&NF) { \ | |
| 423 | if ((cpustate->_F&HF)|((cpustate->_A&0xf)>9)) r-=6; \ | |
| 424 | if ((cpustate->_F&CF)|(cpustate->_A>0x99)) r-=0x60; \ | |
| 425 | } \ | |
| 426 | else { \ | |
| 427 | if ((cpustate->_F&HF)|((cpustate->_A&0xf)>9)) r+=6; \ | |
| 428 | if ((cpustate->_F&CF)|(cpustate->_A>0x99)) r+=0x60; \ | |
| 429 | } \ | |
| 430 | cpustate->_F=(cpustate->_F&3)|(cpustate->_A>0x99)|((cpustate->_A^r)&HF)|SZP[r]; \ | |
| 431 | cpustate->_A=r; \ | |
| 426 | 432 | } |
| 427 | 433 | |
| 428 | 434 | /*************************************************************** |
| r5490 | r5491 | |
|---|---|---|
| 2025 | 2025 | case ADDR_SCON: |
| 2026 | 2026 | break; |
| 2027 | 2027 | default: |
| 2028 | LOG(("mcs51 '%s': attemping to write to an invalid/non-implemented SFR address: % | |
| 2028 | LOG(("mcs51 '%s': attemping to write to an invalid/non-implemented SFR address: % | |
| 2029 | 2029 | /* no write in this case according to manual */ |
| 2030 | 2030 | return; |
| 2031 | 2031 | } |
| r5490 | r5491 | |
| 2065 | 2065 | return memory_read_byte_8le(mcs51_state->data, (size_t) offset | 0x100); |
| 2066 | 2066 | /* Illegal or non-implemented sfr */ |
| 2067 | 2067 | default: |
| 2068 | LOG(("mcs51 '%s': attemping to read an invalid/non-implemented SFR address: % | |
| 2068 | LOG(("mcs51 '%s': attemping to read an invalid/non-implemented SFR address: % | |
| 2069 | 2069 | /* according to the manual, the read may return random bits */ |
| 2070 | 2070 | return 0xff; |
| 2071 | 2071 | } |
| r5490 | r5491 | |
|---|---|---|
| 1 | 1 | /*************************************************************************** |
| 2 | 2 | |
| 3 | cop4 | |
| 3 | cop440ds.c | |
| 4 | 4 | |
| 5 | 5 | National Semiconductor COP420 Emulator. |
| 6 | 6 |
| r5490 | r5491 | |
|---|---|---|
| 976 | 976 | |
| 977 | 977 | /* initialize LBI opcode array */ |
| 978 | 978 | |
| 979 | for (i=0; i< | |
| 979 | for (i=0x00; i<0x100; i++) cpustate->LBIops[i] = 0; | |
| 980 | 980 | for (i=0x08; i<0x10; i++) cpustate->LBIops[i] = 1; |
| 981 | 981 | for (i=0x18; i<0x20; i++) cpustate->LBIops[i] = 1; |
| 982 | 982 | for (i=0x28; i<0x30; i++) cpustate->LBIops[i] = 1; |
| r5490 | r5491 | |
| 1008 | 1008 | |
| 1009 | 1009 | /* initialize LBI opcode array */ |
| 1010 | 1010 | |
| 1011 | for (i=0; i< | |
| 1011 | for (i=0x00; i<0x100; i++) cpustate->LBIops[i] = 0; | |
| 1012 | 1012 | for (i=0x08; i<0x10; i++) cpustate->LBIops[i] = 1; |
| 1013 | 1013 | for (i=0x18; i<0x20; i++) cpustate->LBIops[i] = 1; |
| 1014 | 1014 | for (i=0x28; i<0x30; i++) cpustate->LBIops[i] = 1; |
| r5490 | r5491 | |
| 1043 | 1043 | |
| 1044 | 1044 | /* initialize LBI opcode array */ |
| 1045 | 1045 | |
| 1046 | for (i=0; i< | |
| 1046 | for (i=0x00; i<0x100; i++) cpustate->LBIops[i] = 0; | |
| 1047 | 1047 | for (i=0x08; i<0x10; i++) cpustate->LBIops[i] = 1; |
| 1048 | 1048 | for (i=0x18; i<0x20; i++) cpustate->LBIops[i] = 1; |
| 1049 | 1049 | for (i=0x28; i<0x30; i++) cpustate->LBIops[i] = 1; |
| r5490 | r5491 | |
|---|---|---|
| 386 | 386 | { |
| 387 | 387 | INT64 a = sh2->m[0x45] | ((UINT64)(sh2->m[0x44]) << 32); |
| 388 | 388 | INT64 b = (INT32)sh2->m[0x40]; |
| 389 | LOG(("SH2 '%s' div+mod % | |
| 389 | LOG(("SH2 '%s' div+mod %" I64FMT "d/%" I64FMT "d\n", sh2->device->tag, a, b)); | |
| 390 | 390 | if (b) |
| 391 | 391 | { |
| 392 | 392 | INT64 q = a / b; |
| r5490 | r5491 | |
|---|---|---|
| 1 | 1 | /***************************************************************************** |
| 2 | 2 | * |
| 3 | 3 | * z80.c |
| 4 | * Portable Z80 emulator V3. | |
| 4 | * Portable Z80 emulator V3.9 | |
| 5 | 5 | * |
| 6 | 6 | * Copyright Juergen Buchmueller, all rights reserved. |
| 7 | 7 | * |
| r5490 | r5491 | |
| 17 | 17 | * terms of its usage and license at any time, including retroactively |
| 18 | 18 | * - This entire notice must remain in the source code. |
| 19 | 19 | * |
| 20 | * Changes in 3.8 [Miodrag Milanovic] | |
| 21 | * - Added MEMPTR register (according to informations provided | |
| 22 | * by Vladimir Kladov | |
| 23 | * - BIT n,(HL) now return valid values due to use of MEMPTR | |
| 24 | * - Fixed BIT 6,(XY+o) undocumented instructions | |
| 25 | * Changes in 3.7 [Aaron Giles] | |
| 26 | * - Changed NMI handling. NMIs are now latched in set_irq_state | |
| 27 | * but are not taken there. Instead they are taken at the start of the | |
| 28 | * execute loop. | |
| 29 | * - Changed IRQ handling. IRQ state is set in set_irq_state but not taken | |
| 30 | * except during the inner execute loop. | |
| 31 | * - Removed x86 assembly hacks and obsolete timing loop catchers. | |
| 32 | * Changes in 3.6 | |
| 33 | * - Got rid of the code that would inexactly emulate a Z80, i.e. removed | |
| 34 | * all the #if Z80_EXACT #else branches. | |
| 35 | * - Removed leading underscores from local register name shortcuts as | |
| 36 | * this violates the C99 standard. | |
| 37 | * - Renamed the registers inside the Z80 context to lower case to avoid | |
| 38 | * ambiguities (shortcuts would have had the same names as the fields | |
| 39 | * of the structure). | |
| 40 | * Changes in 3.5 | |
| 41 | * - Implemented OTIR, INIR, etc. without look-up table for PF flag. | |
| 42 | * [Ramsoft, Sean Young] | |
| 43 | * Changes in 3.4 | |
| 44 | * - Removed Z80-MSX specific code as it's not needed any more. | |
| 45 | * - Implemented DAA without look-up table [Ramsoft, Sean Young] | |
| 46 | * Changes in 3.3 | |
| 47 | * - Fixed undocumented flags XF & YF in the non-asm versions of CP, | |
| 48 | * and all the 16 bit arithmetic instructions. [Sean Young] | |
| 49 | * Changes in 3.2 | |
| 50 | * - Fixed undocumented flags XF & YF of RRCA, and CF and HF of | |
| 51 | * INI/IND/OUTI/OUTD/INIR/INDR/OTIR/OTDR [Sean Young] | |
| 52 | * Changes in 3.1 | |
| 53 | * - removed the REPEAT_AT_ONCE execution of LDIR/CPIR etc. opcodes | |
| 54 | * for readabilities sake and because the implementation was buggy | |
| 55 | * (and i was not able to find the difference) | |
| 56 | * Changes in 3.0 | |
| 57 | * - 'finished' switch to dynamically overrideable cycle count tables | |
| 20 | * TODO: | |
| 21 | * - If LD A,I or LD A,R is interrupted, P/V flag gets reset, even if IFF2 | |
| 22 | * was set before this instruction | |
| 23 | * - Ideally, the tiny differences between Z80 types should be supported, | |
| 24 | * currently known differences: | |
| 25 | * - LD A,I/R P/V flag reset glitch is fixed on CMOS Z80 | |
| 26 | * - OUT (C),0 outputs 0 on NMOS Z80, $FF on CMOS Z80 | |
| 27 | * - SCF/CCF X/Y flags is ((flags | A) & 0x28) on SGS/SHARP/ZiLOG NMOS Z80, | |
| 28 | * (flags & A & 0x28) on NEC NMOS Z80, other models unknown. | |
| 29 | * However, people from the Speccy scene mention that SCF/CCF X/Y results | |
| 30 | * are inconsistant and may be influenced by I and R registers. | |
| 31 | * This Z80 emulator assumes a ZiLOG NMOS model. | |
| 32 | * | |
| 33 | * Changes in 3.9: | |
| 34 | * - Fixed cycle counts for LD IYL/IXL/IYH/IXH,n [Marshmellow] | |
| 35 | * - Fixed X/Y flags in CCF/SCF/BIT, ZEXALL is happy now [hap] | |
| 36 | * - Simplified DAA, renamed MEMPTR (3.8) to WZ, added TODO [hap] | |
| 37 | * Changes in 3.8 [Miodrag Milanovic]: | |
| 38 | * - Added MEMPTR register (according to informations provided | |
| 39 | * by Vladimir Kladov | |
| 40 | * - BIT n,(HL) now return valid values due to use of MEMPTR | |
| 41 | * - Fixed BIT 6,(XY+o) undocumented instructions | |
| 42 | * Changes in 3.7 [Aaron Giles]: | |
| 43 | * - Changed NMI handling. NMIs are now latched in set_irq_state | |
| 44 | * but are not taken there. Instead they are taken at the start of the | |
| 45 | * execute loop. | |
| 46 | * - Changed IRQ handling. IRQ state is set in set_irq_state but not taken | |
| 47 | * except during the inner execute loop. | |
| 48 | * - Removed x86 assembly hacks and obsolete timing loop catchers. | |
| 49 | * Changes in 3.6: | |
| 50 | * - Got rid of the code that would inexactly emulate a Z80, i.e. removed | |
| 51 | * all the #if Z80_EXACT #else branches. | |
| 52 | * - Removed leading underscores from local register name shortcuts as | |
| 53 | * this violates the C99 standard. | |
| 54 | * - Renamed the registers inside the Z80 context to lower case to avoid | |
| 55 | * ambiguities (shortcuts would have had the same names as the fields | |
| 56 | * of the structure). | |
| 57 | * Changes in 3.5: | |
| 58 | * - Implemented OTIR, INIR, etc. without look-up table for PF flag. | |
| 59 | * [Ramsoft, Sean Young] | |
| 60 | * Changes in 3.4: | |
| 61 | * - Removed Z80-MSX specific code as it's not needed any more. | |
| 62 | * - Implemented DAA without look-up table [Ramsoft, Sean Young] | |
| 63 | * Changes in 3.3: | |
| 64 | * - Fixed undocumented flags XF & YF in the non-asm versions of CP, | |
| 65 | * and all the 16 bit arithmetic instructions. [Sean Young] | |
| 66 | * Changes in 3.2: | |
| 67 | * - Fixed undocumented flags XF & YF of RRCA, and CF and HF of | |
| 68 | * INI/IND/OUTI/OUTD/INIR/INDR/OTIR/OTDR [Sean Young] | |
| 69 | * Changes in 3.1: | |
| 70 | * - removed the REPEAT_AT_ONCE execution of LDIR/CPIR etc. opcodes | |
| 71 | * for readabilities sake and because the implementation was buggy | |
| 72 | * (and i was not able to find the difference) | |
| 73 | * Changes in 3.0: | |
| 74 | * - 'finished' switch to dynamically overrideable cycle count tables | |
| 58 | 75 | * Changes in 2.9: |
| 59 | * - added methods to access and override the cycle count tables | |
| 60 | * - fixed handling and timing of multiple DD/FD prefixed opcodes | |
| 76 | * - added methods to access and override the cycle count tables | |
| 77 | * - fixed handling and timing of multiple DD/FD prefixed opcodes | |
| 61 | 78 | * Changes in 2.8: |
| 62 | * - OUTI/OUTD/OTIR/OTDR also pre-decrement the B register now. | |
| 63 | * This was wrong because of a bug fix on the wrong side | |
| 64 | * (astrocade sound driver). | |
| 79 | * - OUTI/OUTD/OTIR/OTDR also pre-decrement the B register now. | |
| 80 | * This was wrong because of a bug fix on the wrong side | |
| 81 | * (astrocade sound driver). | |
| 65 | 82 | * Changes in 2.7: |
| 66 | 83 | * - removed z80_vm specific code, it's not needed (and never was). |
| 67 | 84 | * Changes in 2.6: |
| r5490 | r5491 | |
| 120 | 137 | typedef struct _z80_state z80_state; |
| 121 | 138 | struct _z80_state |
| 122 | 139 | { |
| 123 | PAIR prvpc,pc,sp,af,bc,de,hl,ix,iy, | |
| 140 | PAIR prvpc,pc,sp,af,bc,de,hl,ix,iy,wz | |
| 124 | 141 | PAIR af2,bc2,de2,hl2; |
| 125 | 142 | UINT8 r,r2,iff1,iff2,halt,im,i; |
| 126 | 143 | UINT8 nmi_state; /* nmi line state */ |
| r5490 | r5491 | |
| 204 | 221 | #define HY iy.b.h |
| 205 | 222 | #define LY iy.b.l |
| 206 | 223 | |
| 207 | #define MEMPTR memptr.w.l | |
| 208 | #define MEMPTR_H memptr.b.h | |
| 209 | #define MEMPTR_L memptr.b.l | |
| 224 | #define WZ wz.w.l | |
| 225 | #define WZ_H wz.b.h | |
| 226 | #define WZ_L wz.b.l | |
| 210 | 227 | |
| 211 | 228 | |
| 212 | 229 | /*************************************************************************** |
| r5490 | r5491 | |
| 245 | 262 | Z80_STATE_ENTRY(DE2, "%04X", de2.w.l, 0xffff, 0) |
| 246 | 263 | Z80_STATE_ENTRY(HL2, "%04X", hl2.w.l, 0xffff, 0) |
| 247 | 264 | |
| 248 | Z80_STATE_ENTRY(MEMPTR, "%04X", MEMPTR, 0xffff, 0) | |
| 249 | Z80_STATE_ENTRY(R, "%02X", rtemp, 0xff, CPUSTATE_EXPORT | CPUSTATE_IMPORT) | |
| 250 | Z80_STATE_ENTRY(I, "%02X", i, 0xff, 0) | |
| 251 | Z80_STATE_ENTRY(IM, "%1u", im, 0x3, 0) | |
| 252 | Z80_STATE_ENTRY(IFF1, "%1u", iff1, 0x1, 0) | |
| 253 | Z80_STATE_ENTRY(IFF2, "%1u", iff2, 0x1, 0) | |
| 254 | Z80_STATE_ENTRY(HALT, "%1u", halt, 0x1, 0) | |
| 265 | Z80_STATE_ENTRY(WZ, "%04X", WZ, 0xffff, 0) | |
| 266 | Z80_STATE_ENTRY(R, "%02X", rtemp,0xff, CPUSTATE_EXPORT | CPUSTATE_IMPORT) | |
| 267 | Z80_STATE_ENTRY(I, "%02X", i, 0xff, 0) | |
| 268 | Z80_STATE_ENTRY(IM, "%1u", im, 0x3, 0) | |
| 269 | Z80_STATE_ENTRY(IFF1,"%1u", iff1, 0x1, 0) | |
| 270 | Z80_STATE_ENTRY(IFF2,"%1u", iff2, 0x1, 0) | |
| 271 | Z80_STATE_ENTRY(HALT,"%1u", halt, 0x1, 0) | |
| 255 | 272 | }; |
| 256 | 273 | |
| 257 | 274 | static const cpu_state_table state_table_template = |
| r5490 | r5491 | |
| 499 | 516 | |
| 500 | 517 | /****************************************************************************/ |
| 501 | 518 | /* Burn an odd amount of cycles, that is instructions taking something */ |
| 502 | /* different from 4 T-states per opcode (and r increment) */ | |
| 519 | /* different from 4 T-states per opcode (and r increment) */ | |
| 503 | 520 | /****************************************************************************/ |
| 504 | 521 | INLINE void BURNODD(z80_state *z80, int cycles, int opcodes, int cyclesum) |
| 505 | 522 | { |
| r5490 | r5491 | |
| 703 | 720 | * Calculate the effective address EA of an opcode using |
| 704 | 721 | * IX+offset resp. IY+offset addressing. |
| 705 | 722 | ***************************************************************/ |
| 706 | #define EAX(Z) do { (Z)->ea = (UINT32)(UINT16)((Z)->IX + (INT8)ARG(Z)); (Z)->MEMPTR = (Z)->ea; } while (0) | |
| 707 | #define EAY(Z) do { (Z)->ea = (UINT32)(UINT16)((Z)->IY + (INT8)ARG(Z)); (Z)->MEMPTR = (Z)->ea; } while (0) | |
| 723 | #define EAX(Z) do { (Z)->ea = (UINT32)(UINT16)((Z)->IX + (INT8)ARG(Z)); (Z)->WZ = (Z)->ea; } while (0) | |
| 724 | #define EAY(Z) do { (Z)->ea = (UINT32)(UINT16)((Z)->IY + (INT8)ARG(Z)); (Z)->WZ = (Z)->ea; } while (0) | |
| 708 | 725 | |
| 709 | 726 | /*************************************************************** |
| 710 | 727 | * POP |
| r5490 | r5491 | |
| 721 | 738 | ***************************************************************/ |
| 722 | 739 | #define JP(Z) do { \ |
| 723 | 740 | (Z)->PCD = ARG16(Z); \ |
| 724 | (Z)-> | |
| 741 | (Z)->WZ | |
| 725 | 742 | } while (0) |
| 726 | 743 | |
| 727 | 744 | /*************************************************************** |
| r5490 | r5491 | |
| 731 | 748 | if (cond) \ |
| 732 | 749 | { \ |
| 733 | 750 | (Z)->PCD = ARG16(Z); \ |
| 734 | (Z)-> | |
| 751 | (Z)->WZ | |
| 735 | 752 | } \ |
| 736 | 753 | else \ |
| 737 | 754 | { \ |
| 738 | (Z)-> | |
| 755 | (Z)->WZ | |
| 739 | 756 | } \ |
| 740 | 757 | } while (0) |
| 741 | 758 | |
| r5490 | r5491 | |
| 745 | 762 | #define JR(Z) do { \ |
| 746 | 763 | INT8 arg = (INT8)ARG(Z); /* ARG() also increments PC */ \ |
| 747 | 764 | (Z)->PC += arg; /* so don't do PC += ARG() */ \ |
| 748 | (Z)-> | |
| 765 | (Z)->WZ | |
| 749 | 766 | } while (0) |
| 750 | 767 | |
| 751 | 768 | /*************************************************************** |
| r5490 | r5491 | |
| 765 | 782 | ***************************************************************/ |
| 766 | 783 | #define CALL(Z) do { \ |
| 767 | 784 | (Z)->ea = ARG16(Z); \ |
| 768 | (Z)-> | |
| 785 | (Z)->WZ | |
| 769 | 786 | PUSH((Z), pc); \ |
| 770 | 787 | (Z)->PCD = (Z)->ea; \ |
| 771 | 788 | } while (0) |
| r5490 | r5491 | |
| 777 | 794 | if (cond) \ |
| 778 | 795 | { \ |
| 779 | 796 | (Z)->ea = ARG16(Z); \ |
| 780 | (Z)-> | |
| 797 | (Z)->WZ | |
| 781 | 798 | PUSH((Z), pc); \ |
| 782 | 799 | (Z)->PCD = (Z)->ea; \ |
| 783 | 800 | CC(Z, ex, opcode); \ |
| 784 | 801 | } \ |
| 785 | 802 | else \ |
| 786 | 803 | { \ |
| 787 | z80-> | |
| 804 | z80->WZ | |
| 788 | 805 | } \ |
| 789 | 806 | } while (0) |
| 790 | 807 | |
| r5490 | r5491 | |
| 795 | 812 | if (cond) \ |
| 796 | 813 | { \ |
| 797 | 814 | POP((Z), pc); \ |
| 798 | (Z)-> | |
| 815 | (Z)->WZ | |
| 799 | 816 | CC(Z, ex, opcode); \ |
| 800 | 817 | } \ |
| 801 | 818 | } while (0) |
| r5490 | r5491 | |
| 807 | 824 | LOG(("Z80 '%s' RETN z80->iff1:%d z80->iff2:%d\n", \ |
| 808 | 825 | (Z)->device->tag, (Z)->iff1, (Z)->iff2)); \ |
| 809 | 826 | POP((Z), pc); \ |
| 810 | (Z)-> | |
| 827 | (Z)->WZ | |
| 811 | 828 | (Z)->iff1 = (Z)->iff2; \ |
| 812 | 829 | } while (0) |
| 813 | 830 | |
| r5490 | r5491 | |
| 816 | 833 | ***************************************************************/ |
| 817 | 834 | #define RETI(Z) do { \ |
| 818 | 835 | POP((Z), pc); \ |
| 819 | (Z)-> | |
| 836 | (Z)->WZ | |
| 820 | 837 | /* according to http://www.msxnet.org/tech/z80-documented.pdf */\ |
| 821 | 838 | (Z)->iff1 = (Z)->iff2; \ |
| 822 | 839 | if ((Z)->daisy != NULL) \ |
| r5490 | r5491 | |
| 860 | 877 | #define RST(Z, addr) do { \ |
| 861 | 878 | PUSH((Z), pc); \ |
| 862 | 879 | (Z)->PCD = addr; \ |
| 863 | (Z)-> | |
| 880 | (Z)->WZ | |
| 864 | 881 | } while (0) |
| 865 | 882 | |
| 866 | 883 | /*************************************************************** |
| r5490 | r5491 | |
| 925 | 942 | ***************************************************************/ |
| 926 | 943 | #define RRD(Z) do { \ |
| 927 | 944 | UINT8 n = RM((Z), (Z)->HL); \ |
| 928 | (Z)-> | |
| 945 | (Z)->WZ | |
| 929 | 946 | WM((Z), (Z)->HL, (n >> 4) | ((Z)->A << 4)); \ |
| 930 | 947 | (Z)->A = ((Z)->A & 0xf0) | (n & 0x0f); \ |
| 931 | 948 | (Z)->F = ((Z)->F & CF) | SZP[(Z)->A]; \ |
| r5490 | r5491 | |
| 936 | 953 | ***************************************************************/ |
| 937 | 954 | #define RLD(Z) do { \ |
| 938 | 955 | UINT8 n = RM((Z), (Z)->HL); \ |
| 939 | (Z)-> | |
| 956 | (Z)->WZ | |
| 940 | 957 | WM((Z), (Z)->HL, (n << 4) | ((Z)->A & 0x0f)); \ |
| 941 | 958 | (Z)->A = ((Z)->A & 0xf0) | (n >> 4); \ |
| 942 | 959 | (Z)->F = ((Z)->F & CF) | SZP[(Z)->A]; \ |
| r5490 | r5491 | |
| 995 | 1012 | * DAA |
| 996 | 1013 | ***************************************************************/ |
| 997 | 1014 | #define DAA(Z) do { \ |
| 998 | UINT8 cf, nf, hf, lo, hi, diff; \ | |
| 999 | cf = (Z)->F & CF; \ | |
| 1000 | nf = (Z)->F & NF; \ | |
| 1001 | hf = (Z)->F & HF; \ | |
| 1002 | lo = (Z)->A & 15; \ | |
| 1003 | hi = (Z)->A / 16; \ | |
| 1015 | UINT8 a = (Z)->A; \ | |
| 1016 | if ((Z)->F & NF) { \ | |
| 1017 | if (((Z)->F&HF) | (((Z)->A&0xf)>9)) a-=6; \ | |
| 1018 | if (((Z)->F&CF) | ((Z)->A>0x99)) a-=0x60; \ | |
| 1019 | } \ | |
| 1020 | else { \ | |
| 1021 | if (((Z)->F&HF) | (((Z)->A&0xf)>9)) a+=6; \ | |
| 1022 | if (((Z)->F&CF) | ((Z)->A>0x99)) a+=0x60; \ | |
| 1023 | } \ | |
| 1004 | 1024 | \ |
| 1005 | if (cf) \ | |
| 1006 | diff = (lo <= 9 && !hf) ? 0x60 : 0x66; \ | |
| 1007 | else if (lo >= 10) \ | |
| 1008 | diff = hi <= 8 ? 0x06 : 0x66; \ | |
| 1009 | else if (hi >= 10) \ | |
| 1010 | diff = hf ? 0x66 : 0x60; \ | |
| 1011 | else \ | |
| 1012 | diff = hf ? 0x06 : 0x00; \ | |
| 1013 | if (nf) (Z)->A -= diff; \ | |
| 1014 | else (Z)->A += diff; \ | |
| 1015 | \ | |
| 1016 | (Z)->F = SZP[(Z)->A] | ((Z)->F & NF); \ | |
| 1017 | if (cf || (lo <= 9 ? hi >= 10 : hi >= 9)) (Z)->F |= CF; \ | |
| 1018 | if (nf ? hf && lo <= 5 : lo >= 10) (Z)->F |= HF; \ | |
| 1025 | (Z)->F = ((Z)->F&(CF|NF)) | ((Z)->A>0x99) | (((Z)->A^a)&HF) | SZP[a]; \ | |
| 1026 | (Z)->A = a; \ | |
| 1019 | 1027 | } while (0) |
| 1020 | 1028 | |
| 1021 | 1029 | /*************************************************************** |
| r5490 | r5491 | |
| 1087 | 1095 | RM16((Z), (Z)->SPD, &tmp); \ |
| 1088 | 1096 | WM16((Z), (Z)->SPD, &(Z)->DR); \ |
| 1089 | 1097 | (Z)->DR = tmp; \ |
| 1090 | (Z)-> | |
| 1098 | (Z)->WZ | |
| 1091 | 1099 | } while (0) |
| 1092 | 1100 | |
| 1093 | 1101 | /*************************************************************** |
| r5490 | r5491 | |
| 1095 | 1103 | ***************************************************************/ |
| 1096 | 1104 | #define ADD16(Z, DR, SR) do { \ |
| 1097 | 1105 | UINT32 res = (Z)->DR.d + (Z)->SR.d; \ |
| 1098 | (Z)-> | |
| 1106 | (Z)->WZ | |
| 1099 | 1107 | (Z)->F = ((Z)->F & (SF | ZF | VF)) | \ |
| 1100 | 1108 | ((((Z)->DR.d ^ res ^ (Z)->SR.d) >> 8) & HF) | \ |
| 1101 | 1109 | ((res >> 16) & CF) | ((res >> 8) & (YF | XF)); \ |
| r5490 | r5491 | |
| 1107 | 1115 | ***************************************************************/ |
| 1108 | 1116 | #define ADC16(Z, Reg) do { \ |
| 1109 | 1117 | UINT32 res = (Z)->HLD + (Z)->Reg.d + ((Z)->F & CF); \ |
| 1110 | (Z)-> | |
| 1118 | (Z)->WZ | |
| 1111 | 1119 | (Z)->F = ((((Z)->HLD ^ res ^ (Z)->Reg.d) >> 8) & HF) | \ |
| 1112 | 1120 | ((res >> 16) & CF) | \ |
| 1113 | 1121 | ((res >> 8) & (SF | YF | XF)) | \ |
| r5490 | r5491 | |
| 1121 | 1129 | ***************************************************************/ |
| 1122 | 1130 | #define SBC16(Z, Reg) do { \ |
| 1123 | 1131 | UINT32 res = (Z)->HLD - (Z)->Reg.d - ((Z)->F & CF); \ |
| 1124 | (Z)-> | |
| 1132 | (Z)->WZ | |
| 1125 | 1133 | (Z)->F = ((((Z)->HLD ^ res ^ (Z)->Reg.d) >> 8) & HF) | NF | \ |
| 1126 | 1134 | ((res >> 16) & CF) | \ |
| 1127 | 1135 | ((res >> 8) & (SF | YF | XF)) | \ |
| r5490 | r5491 | |
| 1231 | 1239 | ***************************************************************/ |
| 1232 | 1240 | #undef BIT |
| 1233 | 1241 | #define BIT(Z, bit, reg) do { \ |
| 1234 | (Z)->F = ((Z)->F & CF) | HF | SZ_BIT[reg & (1<<bit)]; | |
| 1242 | (Z)->F = ((Z)->F & CF) | HF | (SZ_BIT[reg & (1<<bit)] & ~(YF|XF)) | (reg & (YF|XF)); | |
| 1235 | 1243 | } while (0) |
| 1236 | 1244 | |
| 1237 | 1245 | /*************************************************************** |
| 1238 | 1246 | * BIT bit,(HL) |
| 1239 | 1247 | ***************************************************************/ |
| 1240 | 1248 | #define BIT_HL(Z, bit, reg) do { \ |
| 1241 | (Z)->F = ((Z)->F & CF) | HF | (SZ_BIT[reg & (1<<bit)] & ~(YF|XF)) | ((Z)-> | |
| 1249 | (Z)->F = ((Z)->F & CF) | HF | (SZ_BIT[reg & (1<<bit)] & ~(YF|XF)) | ((Z)->WZ | |
| 1242 | 1250 | } while (0) |
| 1243 | 1251 | |
| 1244 | 1252 | /*************************************************************** |
| r5490 | r5491 | |
| 1283 | 1291 | #define CPI(Z) do { \ |
| 1284 | 1292 | UINT8 val = RM((Z), (Z)->HL); \ |
| 1285 | 1293 | UINT8 res = (Z)->A - val; \ |
| 1286 | (Z)-> | |
| 1294 | (Z)->WZ | |
| 1287 | 1295 | (Z)->HL++; (Z)->BC--; \ |
| 1288 | 1296 | (Z)->F = ((Z)->F & CF) | (SZ[res]&~(YF|XF)) | (((Z)->A^val^res)&HF) | NF; \ |
| 1289 | 1297 | if ((Z)->F & HF) res -= 1; \ |
| r5490 | r5491 | |
| 1298 | 1306 | #define INI(Z) do { \ |
| 1299 | 1307 | unsigned t; \ |
| 1300 | 1308 | UINT8 io = IN((Z), (Z)->BC); \ |
| 1301 | (Z)-> | |
| 1309 | (Z)->WZ | |
| 1302 | 1310 | (Z)->B--; \ |
| 1303 | 1311 | WM((Z), (Z)->HL, io); \ |
| 1304 | 1312 | (Z)->HL++; \ |
| r5490 | r5491 | |
| 1316 | 1324 | unsigned t; \ |
| 1317 | 1325 | UINT8 io = RM((Z), (Z)->HL); \ |
| 1318 | 1326 | (Z)->B--; \ |
| 1319 | (Z)-> | |
| 1327 | (Z)->WZ | |
| 1320 | 1328 | OUT((Z), (Z)->BC, io); \ |
| 1321 | 1329 | (Z)->HL++; \ |
| 1322 | 1330 | (Z)->F = SZ[(Z)->B]; \ |
| r5490 | r5491 | |
| 1345 | 1353 | #define CPD(Z) do { \ |
| 1346 | 1354 | UINT8 val = RM((Z), (Z)->HL); \ |
| 1347 | 1355 | UINT8 res = (Z)->A - val; \ |
| 1348 | (Z)-> | |
| 1356 | (Z)->WZ | |
| 1349 | 1357 | (Z)->HL--; (Z)->BC--; \ |
| 1350 | 1358 | (Z)->F = ((Z)->F & CF) | (SZ[res]&~(YF|XF)) | (((Z)->A^val^res)&HF) | NF; \ |
| 1351 | 1359 | if ((Z)->F & HF) res -= 1; \ |
| r5490 | r5491 | |
| 1360 | 1368 | #define IND(Z) do { \ |
| 1361 | 1369 | unsigned t; \ |
| 1362 | 1370 | UINT8 io = IN((Z), (Z)->BC); \ |
| 1363 | (Z)-> | |
| 1371 | (Z)->WZ | |
| 1364 | 1372 | (Z)->B--; \ |
| 1365 | 1373 | WM((Z), (Z)->HL, io); \ |
| 1366 | 1374 | (Z)->HL--; \ |
| r5490 | r5491 | |
| 1378 | 1386 | unsigned t; \ |
| 1379 | 1387 | UINT8 io = RM((Z), (Z)->HL); \ |
| 1380 | 1388 | (Z)->B--; \ |
| 1381 | (Z)-> | |
| 1389 | (Z)->WZ | |
| 1382 | 1390 | OUT((Z), (Z)->BC, io); \ |
| 1383 | 1391 | (Z)->HL--; \ |
| 1384 | 1392 | (Z)->F = SZ[(Z)->B]; \ |
| r5490 | r5491 | |
| 1396 | 1404 | if ((Z)->BC != 0) \ |
| 1397 | 1405 | { \ |
| 1398 | 1406 | (Z)->PC -= 2; \ |
| 1399 | (Z)-> | |
| 1407 | (Z)->WZ | |
| 1400 | 1408 | CC(Z, ex, 0xb0); \ |
| 1401 | 1409 | } \ |
| 1402 | 1410 | } while (0) |
| r5490 | r5491 | |
| 1409 | 1417 | if ((Z)->BC != 0 && !((Z)->F & ZF)) \ |
| 1410 | 1418 | { \ |
| 1411 | 1419 | (Z)->PC -= 2; \ |
| 1412 | (Z)-> | |
| 1420 | (Z)->WZ | |
| 1413 | 1421 | CC(Z, ex, 0xb1); \ |
| 1414 | 1422 | } \ |
| 1415 | 1423 | } while (0) |
| r5490 | r5491 | |
| 1446 | 1454 | if ((Z)->BC != 0) \ |
| 1447 | 1455 | { \ |
| 1448 | 1456 | (Z)->PC -= 2; \ |
| 1449 | (Z)-> | |
| 1457 | (Z)->WZ | |
| 1450 | 1458 | CC(Z, ex, 0xb8); \ |
| 1451 | 1459 | } \ |
| 1452 | 1460 | } while (0) |
| r5490 | r5491 | |
| 1459 | 1467 | if ((Z)->BC != 0 && !((Z)->F & ZF)) \ |
| 1460 | 1468 | { \ |
| 1461 | 1469 | (Z)->PC -= 2; \ |
| 1462 | (Z)-> | |
| 1470 | (Z)->WZ | |
| 1463 | 1471 | CC(Z, ex, 0xb9); \ |
| 1464 | 1472 | } \ |
| 1465 | 1473 | } while (0) |
| r5490 | r5491 | |
| 2127 | 2135 | |
| 2128 | 2136 | OP(dd,20) { illegal_1(z80); op_20(z80); } /* DB DD */ |
| 2129 | 2137 | OP(dd,21) { z80->IX = ARG16(z80); } /* LD IX,w */ |
| 2130 | OP(dd,22) { z80->ea = ARG16(z80); WM16(z80, z80->ea, &z80->ix); z80-> | |
| 2138 | OP(dd,22) { z80->ea = ARG16(z80); WM16(z80, z80->ea, &z80->ix); z80->WZ | |
| 2131 | 2139 | OP(dd,23) { z80->IX++; } /* INC IX */ |
| 2132 | 2140 | OP(dd,24) { z80->HX = INC(z80, z80->HX); } /* INC HX */ |
| 2133 | 2141 | OP(dd,25) { z80->HX = DEC(z80, z80->HX); } /* DEC HX */ |
| r5490 | r5491 | |
| 2136 | 2144 | |
| 2137 | 2145 | OP(dd,28) { illegal_1(z80); op_28(z80); } /* DB DD */ |
| 2138 | 2146 | OP(dd,29) { ADD16(z80, ix, ix); } /* ADD IX,IX */ |
| 2139 | OP(dd,2a) { z80->ea = ARG16(z80); RM16(z80, z80->ea, &z80->ix); z80-> | |
| 2147 | OP(dd,2a) { z80->ea = ARG16(z80); RM16(z80, z80->ea, &z80->ix); z80->WZ | |
| 2140 | 2148 | OP(dd,2b) { z80->IX--; } /* DEC IX */ |
| 2141 | 2149 | OP(dd,2c) { z80->LX = INC(z80, z80->LX); } /* INC LX */ |
| 2142 | 2150 | OP(dd,2d) { z80->LX = DEC(z80, z80->LX); } /* DEC LX */ |
| r5490 | r5491 | |
| 2418 | 2426 | |
| 2419 | 2427 | OP(fd,20) { illegal_1(z80); op_20(z80); } /* DB FD */ |
| 2420 | 2428 | OP(fd,21) { z80->IY = ARG16(z80); } /* LD IY,w */ |
| 2421 | OP(fd,22) { z80->ea = ARG16(z80); WM16(z80, z80->ea, &z80->iy); z80-> | |
| 2429 | OP(fd,22) { z80->ea = ARG16(z80); WM16(z80, z80->ea, &z80->iy); z80->WZ | |
| 2422 | 2430 | OP(fd,23) { z80->IY++; } /* INC IY */ |
| 2423 | 2431 | OP(fd,24) { z80->HY = INC(z80, z80->HY); } /* INC HY */ |
| 2424 | 2432 | OP(fd,25) { z80->HY = DEC(z80, z80->HY); } /* DEC HY */ |
| r5490 | r5491 | |
| 2427 | 2435 | |
| 2428 | 2436 | OP(fd,28) { illegal_1(z80); op_28(z80); } /* DB FD */ |
| 2429 | 2437 | OP(fd,29) { ADD16(z80, iy, iy); } /* ADD IY,IY */ |
| 2430 | OP(fd,2a) { z80->ea = ARG16(z80); RM16(z80, z80->ea, &z80->iy); z80-> | |
| 2438 | OP(fd,2a) { z80->ea = ARG16(z80); RM16(z80, z80->ea, &z80->iy); z80->WZ | |
| 2431 | 2439 | OP(fd,2b) { z80->IY--; } /* DEC IY */ |
| 2432 | 2440 | OP(fd,2c) { z80->LY = INC(z80, z80->LY); } /* INC LY */ |
| 2433 | 2441 | OP(fd,2d) { z80->LY = DEC(z80, z80->LY); } /* DEC LY */ |
| r5490 | r5491 | |
| 2752 | 2760 | OP(ed,40) { z80->B = IN(z80, z80->BC); z80->F = (z80->F & CF) | SZP[z80->B]; } /* IN B,(C) */ |
| 2753 | 2761 | OP(ed,41) { OUT(z80, z80->BC, z80->B); } /* OUT (C),B */ |
| 2754 | 2762 | OP(ed,42) { SBC16(z80, bc); } /* SBC HL,BC */ |
| 2755 | OP(ed,43) { z80->ea = ARG16(z80); WM16(z80, z80->ea, &z80->bc); z80-> | |
| 2763 | OP(ed,43) { z80->ea = ARG16(z80); WM16(z80, z80->ea, &z80->bc); z80->WZ | |
| 2756 | 2764 | OP(ed,44) { NEG(z80); } /* NEG */ |
| 2757 | OP(ed,45) { RETN(z80); } /* RETN */ | |
| 2765 | OP(ed,45) { RETN(z80); } /* RETN */ | |
| 2758 | 2766 | OP(ed,46) { z80->im = 0; } /* im 0 */ |
| 2759 | 2767 | OP(ed,47) { LD_I_A(z80); } /* LD i,A */ |
| 2760 | 2768 | |
| 2761 | 2769 | OP(ed,48) { z80->C = IN(z80, z80->BC); z80->F = (z80->F & CF) | SZP[z80->C]; } /* IN C,(C) */ |
| 2762 | 2770 | OP(ed,49) { OUT(z80, z80->BC, z80->C); } /* OUT (C),C */ |
| 2763 | 2771 | OP(ed,4a) { ADC16(z80, bc); } /* ADC HL,BC */ |
| 2764 | OP(ed,4b) { z80->ea = ARG16(z80); RM16(z80, z80->ea, &z80->bc); z80-> | |
| 2772 | OP(ed,4b) { z80->ea = ARG16(z80); RM16(z80, z80->ea, &z80->bc); z80->WZ | |
| 2765 | 2773 | OP(ed,4c) { NEG(z80); } /* NEG */ |
| 2766 | 2774 | OP(ed,4d) { RETI(z80); } /* RETI */ |
| 2767 | 2775 | OP(ed,4e) { z80->im = 0; } /* im 0 */ |
| r5490 | r5491 | |
| 2770 | 2778 | OP(ed,50) { z80->D = IN(z80, z80->BC); z80->F = (z80->F & CF) | SZP[z80->D]; } /* IN D,(C) */ |
| 2771 | 2779 | OP(ed,51) { OUT(z80, z80->BC, z80->D); } /* OUT (C),D */ |
| 2772 | 2780 | OP(ed,52) { SBC16(z80, de); } /* SBC HL,DE */ |
| 2773 | OP(ed,53) { z80->ea = ARG16(z80); WM16(z80, z80->ea, &z80->de); z80-> | |
| 2781 | OP(ed,53) { z80->ea = ARG16(z80); WM16(z80, z80->ea, &z80->de); z80->WZ | |
| 2774 | 2782 | OP(ed,54) { NEG(z80); } /* NEG */ |
| 2775 | OP(ed,55) { RETN(z80); } /* RETN */ | |
| 2783 | OP(ed,55) { RETN(z80); } /* RETN */ | |
| 2776 | 2784 | OP(ed,56) { z80->im = 1; } /* im 1 */ |
| 2777 | 2785 | OP(ed,57) { LD_A_I(z80); } /* LD A,i */ |
| 2778 | 2786 | |
| 2779 | 2787 | OP(ed,58) { z80->E = IN(z80, z80->BC); z80->F = (z80->F & CF) | SZP[z80->E]; } /* IN E,(C) */ |
| 2780 | 2788 | OP(ed,59) { OUT(z80, z80->BC, z80->E); } /* OUT (C),E */ |
| 2781 | 2789 | OP(ed,5a) { ADC16(z80, de); } /* ADC HL,DE */ |
| 2782 | OP(ed,5b) { z80->ea = ARG16(z80); RM16(z80, z80->ea, &z80->de); z80-> | |
| 2790 | OP(ed,5b) { z80->ea = ARG16(z80); RM16(z80, z80->ea, &z80->de); z80->WZ | |
| 2783 | 2791 | OP(ed,5c) { NEG(z80); } /* NEG */ |
| 2784 | 2792 | OP(ed,5d) { RETI(z80); } /* RETI */ |
| 2785 | 2793 | OP(ed,5e) { z80->im = 2; } /* im 2 */ |
| r5490 | r5491 | |
| 2788 | 2796 | OP(ed,60) { z80->H = IN(z80, z80->BC); z80->F = (z80->F & CF) | SZP[z80->H]; } /* IN H,(C) */ |
| 2789 | 2797 | OP(ed,61) { OUT(z80, z80->BC, z80->H); } /* OUT (C),H */ |
| 2790 | 2798 | OP(ed,62) { SBC16(z80, hl); } /* SBC HL,HL */ |
| 2791 | OP(ed,63) { z80->ea = ARG16(z80); WM16(z80, z80->ea, &z80->hl); z80-> | |
| 2799 | OP(ed,63) { z80->ea = ARG16(z80); WM16(z80, z80->ea, &z80->hl); z80->WZ | |
| 2792 | 2800 | OP(ed,64) { NEG(z80); } /* NEG */ |
| 2793 | OP(ed,65) { RETN(z80); } /* RETN */ | |
| 2801 | OP(ed,65) { RETN(z80); } /* RETN */ | |
| 2794 | 2802 | OP(ed,66) { z80->im = 0; } /* im 0 */ |
| 2795 | 2803 | OP(ed,67) { RRD(z80); } /* RRD (HL) */ |
| 2796 | 2804 | |
| 2797 | 2805 | OP(ed,68) { z80->L = IN(z80, z80->BC); z80->F = (z80->F & CF) | SZP[z80->L]; } /* IN L,(C) */ |
| 2798 | 2806 | OP(ed,69) { OUT(z80, z80->BC, z80->L); } /* OUT (C),L */ |
| 2799 | 2807 | OP(ed,6a) { ADC16(z80, hl); } /* ADC HL,HL */ |
| 2800 | OP(ed,6b) { z80->ea = ARG16(z80); RM16(z80, z80->ea, &z80->hl); z80-> | |
| 2808 | OP(ed,6b) { z80->ea = ARG16(z80); RM16(z80, z80->ea, &z80->hl); z80->WZ | |
| 2801 | 2809 | OP(ed,6c) { NEG(z80); } /* NEG */ |
| 2802 | 2810 | OP(ed,6d) { RETI(z80); } /* RETI */ |
| 2803 | 2811 | OP(ed,6e) { z80->im = 0; } /* im 0 */ |
| r5490 | r5491 | |
| 2806 | 2814 | OP(ed,70) { UINT8 res = IN(z80, z80->BC); z80->F = (z80->F & CF) | SZP[res]; } /* IN 0,(C) */ |
| 2807 | 2815 | OP(ed,71) { OUT(z80, z80->BC, 0); } /* OUT (C),0 */ |
| 2808 | 2816 | OP(ed,72) { SBC16(z80, sp); } /* SBC HL,SP */ |
| 2809 | OP(ed,73) { z80->ea = ARG16(z80); WM16(z80, z80->ea, &z80->sp); z80-> | |
| 2817 | OP(ed,73) { z80->ea = ARG16(z80); WM16(z80, z80->ea, &z80->sp); z80->WZ | |
| 2810 | 2818 | OP(ed,74) { NEG(z80); } /* NEG */ |
| 2811 | OP(ed,75) { RETN(z80); } /* RETN */ | |
| 2819 | OP(ed,75) { RETN(z80); } /* RETN */ | |
| 2812 | 2820 | OP(ed,76) { z80->im = 1; } /* im 1 */ |
| 2813 | 2821 | OP(ed,77) { illegal_2(z80); } /* DB ED,77 */ |
| 2814 | 2822 | |
| 2815 | OP(ed,78) { z80->A = IN(z80, z80->BC); z80->F = (z80->F & CF) | SZP[z80->A]; z80->MEMPTR = z80->BC + 1; } /* IN A,(C) */ | |
| 2816 | OP(ed,79) { OUT(z80, z80->BC, z80->A); z80->MEMPTR = z80->BC + 1; } /* OUT (C),A */ | |
| 2823 | OP(ed,78) { z80->A = IN(z80, z80->BC); z80->F = (z80->F & CF) | SZP[z80->A]; z80->WZ = z80->BC + 1; } /* IN A,(C) */ | |
| 2824 | OP(ed,79) { OUT(z80, z80->BC, z80->A); z80->WZ = z80->BC + 1; } /* OUT (C),A */ | |
| 2817 | 2825 | OP(ed,7a) { ADC16(z80, sp); } /* ADC HL,SP */ |
| 2818 | OP(ed,7b) { z80->ea = ARG16(z80); RM16(z80, z80->ea, &z80->sp); z80-> | |
| 2826 | OP(ed,7b) { z80->ea = ARG16(z80); RM16(z80, z80->ea, &z80->sp); z80->WZ | |
| 2819 | 2827 | OP(ed,7c) { NEG(z80); } /* NEG */ |
| 2820 | 2828 | OP(ed,7d) { RETI(z80); } /* RETI */ |
| 2821 | 2829 | OP(ed,7e) { z80->im = 2; } /* im 2 */ |
| r5490 | r5491 | |
| 2971 | 2979 | **********************************************************/ |
| 2972 | 2980 | OP(op,00) { } /* NOP */ |
| 2973 | 2981 | OP(op,01) { z80->BC = ARG16(z80); } /* LD BC,w */ |
| 2974 | OP(op,02) { WM(z80,z80->BC,z80->A); z80-> | |
| 2982 | OP(op,02) { WM(z80,z80->BC,z80->A); z80->WZ | |
| 2975 | 2983 | OP(op,03) { z80->BC++; } /* INC BC */ |
| 2976 | 2984 | OP(op,04) { z80->B = INC(z80, z80->B); } /* INC B */ |
| 2977 | 2985 | OP(op,05) { z80->B = DEC(z80, z80->B); } /* DEC B */ |
| r5490 | r5491 | |
| 2980 | 2988 | |
| 2981 | 2989 | OP(op,08) { EX_AF(z80); } /* EX AF,AF' */ |
| 2982 | 2990 | OP(op,09) { ADD16(z80, hl, bc); } /* ADD HL,BC */ |
| 2983 | OP(op,0a) { z80->A = RM(z80, z80->BC); z80-> | |
| 2991 | OP(op,0a) { z80->A = RM(z80, z80->BC); z80->WZ | |
| 2984 | 2992 | OP(op,0b) { z80->BC--; } /* DEC BC */ |
| 2985 | 2993 | OP(op,0c) { z80->C = INC(z80, z80->C); } /* INC C */ |
| 2986 | 2994 | OP(op,0d) { z80->C = DEC(z80, z80->C); } /* DEC C */ |
| r5490 | r5491 | |
| 2989 | 2997 | |
| 2990 | 2998 | OP(op,10) { z80->B--; JR_COND(z80, z80->B, 0x10); } /* DJNZ o */ |
| 2991 | 2999 | OP(op,11) { z80->DE = ARG16(z80); } /* LD DE,w */ |
| 2992 | OP(op,12) { WM(z80,z80->DE,z80->A); z80-> | |
| 3000 | OP(op,12) { WM(z80,z80->DE,z80->A); z80->WZ | |
| 2993 | 3001 | OP(op,13) { z80->DE++; } /* INC DE */ |
| 2994 | 3002 | OP(op,14) { z80->D = INC(z80, z80->D); } /* INC D */ |
| 2995 | 3003 | OP(op,15) { z80->D = DEC(z80, z80->D); } /* DEC D */ |
| r5490 | r5491 | |
| 2998 | 3006 | |
| 2999 | 3007 | OP(op,18) { JR(z80); } /* JR o */ |
| 3000 | 3008 | OP(op,19) { ADD16(z80, hl, de); } /* ADD HL,DE */ |
| 3001 | OP(op,1a) { z80->A = RM(z80, z80->DE); z80-> | |
| 3009 | OP(op,1a) { z80->A = RM(z80, z80->DE); z80->WZ | |
| 3002 | 3010 | OP(op,1b) { z80->DE--; } /* DEC DE */ |
| 3003 | 3011 | OP(op,1c) { z80->E = INC(z80, z80->E); } /* INC E */ |
| 3004 | 3012 | OP(op,1d) { z80->E = DEC(z80, z80->E); } /* DEC E */ |
| r5490 | r5491 | |
| 3007 | 3015 | |
| 3008 | 3016 | OP(op,20) { JR_COND(z80, !(z80->F & ZF), 0x20); } /* JR NZ,o */ |
| 3009 | 3017 | OP(op,21) { z80->HL = ARG16(z80); } /* LD HL,w */ |
| 3010 | OP(op,22) { z80->ea = ARG16(z80); WM16(z80, z80->ea, &z80->hl); z80-> | |
| 3018 | OP(op,22) { z80->ea = ARG16(z80); WM16(z80, z80->ea, &z80->hl); z80->WZ | |
| 3011 | 3019 | OP(op,23) { z80->HL++; } /* INC HL */ |
| 3012 | 3020 | OP(op,24) { z80->H = INC(z80, z80->H); } /* INC H */ |
| 3013 | 3021 | OP(op,25) { z80->H = DEC(z80, z80->H); } /* DEC H */ |
| r5490 | r5491 | |
| 3016 | 3024 | |
| 3017 | 3025 | OP(op,28) { JR_COND(z80, z80->F & ZF, 0x28); } /* JR Z,o */ |
| 3018 | 3026 | OP(op,29) { ADD16(z80, hl, hl); } /* ADD HL,HL */ |
| 3019 | OP(op,2a) { z80->ea = ARG16(z80); RM16(z80, z80->ea, &z80->hl); z80-> | |
| 3027 | OP(op,2a) { z80->ea = ARG16(z80); RM16(z80, z80->ea, &z80->hl); z80->WZ | |
| 3020 | 3028 | OP(op,2b) { z80->HL--; } /* DEC HL */ |
| 3021 | 3029 | OP(op,2c) { z80->L = INC(z80, z80->L); } /* INC L */ |
| 3022 | 3030 | OP(op,2d) { z80->L = DEC(z80, z80->L); } /* DEC L */ |
| r5490 | r5491 | |
| 3025 | 3033 | |
| 3026 | 3034 | OP(op,30) { JR_COND(z80, !(z80->F & CF), 0x30); } /* JR NC,o */ |
| 3027 | 3035 | OP(op,31) { z80->SP = ARG16(z80); } /* LD SP,w */ |
| 3028 | OP(op,32) { z80->ea=ARG16(z80);WM(z80,z80->ea,z80->A);z80-> | |
| 3036 | OP(op,32) { z80->ea=ARG16(z80);WM(z80,z80->ea,z80->A);z80->WZ | |
| 3029 | 3037 | OP(op,33) { z80->SP++; } /* INC SP */ |
| 3030 | 3038 | OP(op,34) { WM(z80, z80->HL, INC(z80, RM(z80, z80->HL))); } /* INC (HL) */ |
| 3031 | 3039 | OP(op,35) { WM(z80, z80->HL, DEC(z80, RM(z80, z80->HL))); } /* DEC (HL) */ |
| 3032 | 3040 | OP(op,36) { WM(z80, z80->HL, ARG(z80)); } /* LD (HL),n */ |
| 3033 | OP(op,37) { z80->F = (z80->F & (SF|ZF|PF)) | CF | (z80->A & (YF|XF)); | |
| 3041 | OP(op,37) { z80->F = (z80->F & (SF|ZF|YF|XF|PF)) | CF | (z80->A & (YF|XF)); | |
| 3034 | 3042 | |
| 3035 | 3043 | OP(op,38) { JR_COND(z80, z80->F & CF, 0x38); } /* JR C,o */ |
| 3036 | 3044 | OP(op,39) { ADD16(z80, hl, sp); } /* ADD HL,SP */ |
| 3037 | OP(op,3a) { z80->ea = ARG16(z80); z80->A = RM(z80, z80->ea); z80-> | |
| 3045 | OP(op,3a) { z80->ea = ARG16(z80); z80->A = RM(z80, z80->ea); z80->WZ | |
| 3038 | 3046 | OP(op,3b) { z80->SP--; } /* DEC SP */ |
| 3039 | 3047 | OP(op,3c) { z80->A = INC(z80, z80->A); } /* INC A */ |
| 3040 | 3048 | OP(op,3d) { z80->A = DEC(z80, z80->A); } /* DEC A */ |
| 3041 | 3049 | OP(op,3e) { z80->A = ARG(z80); } /* LD A,n */ |
| 3042 | OP(op,3f) { z80->F = ((z80->F&(SF|ZF|PF|CF))|((z80->F&CF)<<4)|(z80->A&(YF|XF)))^CF; | |
| 3050 | OP(op,3f) { z80->F = ((z80->F&(SF|ZF|YF|XF|PF|CF))|((z80->F&CF)<<4)|(z80->A&(YF|XF)))^CF; } /* CCF | |
| 3043 | 3051 | |
| 3044 | 3052 | OP(op,40) { } /* LD B,B */ |
| 3045 | 3053 | OP(op,41) { z80->B = z80->C; } /* LD B,C */ |
| r5490 | r5491 | |
| 3195 | 3203 | OP(op,c7) { RST(z80, 0x00); } /* RST 0 */ |
| 3196 | 3204 | |
| 3197 | 3205 | OP(op,c8) { RET_COND(z80, z80->F & ZF, 0xc8); } /* RET Z */ |
| 3198 | OP(op,c9) { POP(z80, pc); z80-> | |
| 3206 | OP(op,c9) { POP(z80, pc); z80->WZ | |
| 3199 | 3207 | OP(op,ca) { JP_COND(z80, z80->F & ZF); } /* JP Z,a */ |
| 3200 | 3208 | OP(op,cb) { z80->r++; EXEC(z80,cb,ROP(z80)); } /* **** CB xx */ |
| 3201 | 3209 | OP(op,cc) { CALL_COND(z80, z80->F & ZF, 0xcc); } /* CALL Z,a */ |
| r5490 | r5491 | |
| 3206 | 3214 | OP(op,d0) { RET_COND(z80, !(z80->F & CF), 0xd0); } /* RET NC */ |
| 3207 | 3215 | OP(op,d1) { POP(z80, de); } /* POP DE */ |
| 3208 | 3216 | OP(op,d2) { JP_COND(z80, !(z80->F & CF)); } /* JP NC,a */ |
| 3209 | OP(op,d3) { unsigned n = ARG(z80) | (z80->A << 8); OUT(z80, n, z80->A); z80-> | |
| 3217 | OP(op,d3) { unsigned n = ARG(z80) | (z80->A << 8); OUT(z80, n, z80->A); z80->WZ | |
| 3210 | 3218 | OP(op,d4) { CALL_COND(z80, !(z80->F & CF), 0xd4); } /* CALL NC,a */ |
| 3211 | 3219 | OP(op,d5) { PUSH(z80, de); } /* PUSH DE */ |
| 3212 | 3220 | OP(op,d6) { SUB(z80, ARG(z80)); } /* SUB n */ |
| r5490 | r5491 | |
| 3215 | 3223 | OP(op,d8) { RET_COND(z80, z80->F & CF, 0xd8); } /* RET C */ |
| 3216 | 3224 | OP(op,d9) { EXX(z80); } /* EXX */ |
| 3217 | 3225 | OP(op,da) { JP_COND(z80, z80->F & CF); } /* JP C,a */ |
| 3218 | OP(op,db) { unsigned n = ARG(z80) | (z80->A << 8); z80->A = IN(z80, n); z80-> | |
| 3226 | OP(op,db) { unsigned n = ARG(z80) | (z80->A << 8); z80->A = IN(z80, n); z80->WZ | |
| 3219 | 3227 | OP(op,dc) { CALL_COND(z80, z80->F & CF, 0xdc); } /* CALL C,a */ |
| 3220 | 3228 | OP(op,dd) { z80->r++; EXEC(z80,dd,ROP(z80)); } /* **** DD xx */ |
| 3221 | 3229 | OP(op,de) { SBC(z80, ARG(z80)); } /* SBC A,n */ |
| r5490 | r5491 | |
| 3328 | 3336 | break; |
| 3329 | 3337 | } |
| 3330 | 3338 | } |
| 3331 | z80-> | |
| 3339 | z80->WZ | |
| 3332 | 3340 | } |
| 3333 | 3341 | |
| 3334 | 3342 | /**************************************************************************** |
| r5490 | r5491 | |
| 3430 | 3438 | state_save_register_device_item(device, 0, z80->HL); |
| 3431 | 3439 | state_save_register_device_item(device, 0, z80->IX); |
| 3432 | 3440 | state_save_register_device_item(device, 0, z80->IY); |
| 3433 | state_save_register_device_item(device, 0, z80-> | |
| 3441 | state_save_register_device_item(device, 0, z80->WZ | |
| 3434 | 3442 | state_save_register_device_item(device, 0, z80->af2.w.l); |
| 3435 | 3443 | state_save_register_device_item(device, 0, z80->bc2.w.l); |
| 3436 | 3444 | state_save_register_device_item(device, 0, z80->de2.w.l); |
| r5490 | r5491 | |
| 3491 | 3499 | if (z80->daisy) |
| 3492 | 3500 | z80daisy_reset(z80->daisy); |
| 3493 | 3501 | |
| 3494 | z80-> | |
| 3502 | z80->WZ | |
| 3495 | 3503 | } |
| 3496 | 3504 | |
| 3497 | 3505 | static CPU_EXIT( z80 ) |
| r5490 | r5491 | |
| 3523 | 3531 | z80->iff1 = 0; |
| 3524 | 3532 | PUSH(z80, pc); |
| 3525 | 3533 | z80->PCD = 0x0066; |
| 3526 | z80-> | |
| 3534 | z80->WZ | |
| 3527 | 3535 | z80->icount -= 11; |
| 3528 | 3536 | z80->nmi_pending = FALSE; |
| 3529 | 3537 | } |
| r5490 | r5491 | |
| 3699 | 3707 | |
| 3700 | 3708 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 3701 | 3709 | case DEVINFO_STR_NAME: strcpy(info->s, "Z80"); break; |
| 3702 | case DEVINFO_STR_FAMILY: strcpy(info->s, "Zilog Z80"); break; | |
| 3703 | case DEVINFO_STR_VERSION: strcpy(info->s, "3.8"); break; | |
| 3704 | case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break; | |
| 3705 | case DEVINFO_STR_CREDITS: strcpy(info->s, "Copyright Juergen Buchmueller, all rights reserved."); break; | |
| 3710 | case DEVINFO_STR_FAMILY: strcpy(info->s, "Zilog Z80"); break; | |
| 3711 | case DEVINFO_STR_VERSION: strcpy(info->s, "3.9"); break; | |
| 3712 | case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break; | |
| 3713 | case DEVINFO_STR_CREDITS: strcpy(info->s, "Copyright Juergen Buchmueller, all rights reserved."); break; | |
| 3706 | 3714 | |
| 3707 | 3715 | case CPUINFO_STR_FLAGS: |
| 3708 | 3716 | sprintf(info->s, "%c%c%c%c%c%c%c%c", |
| 3709 | 3717 | z80->F & 0x80 ? 'S':'.', |
| 3710 | 3718 | z80->F & 0x40 ? 'Z':'.', |
| 3711 | z80->F & 0x20 ? ' | |
| 3719 | z80->F & 0x20 ? 'Y':'.', | |
| 3712 | 3720 | z80->F & 0x10 ? 'H':'.', |
| 3713 | z80->F & 0x08 ? ' | |
| 3721 | z80->F & 0x08 ? 'X':'.', | |
| 3714 | 3722 | z80->F & 0x04 ? 'P':'.', |
| 3715 | 3723 | z80->F & 0x02 ? 'N':'.', |
| 3716 | 3724 | z80->F & 0x01 ? 'C':'.'); |
| r5490 | r5491 | |
|---|---|---|
| 12 | 12 | Z80_AF, Z80_BC, Z80_DE, Z80_HL, |
| 13 | 13 | Z80_IX, Z80_IY, Z80_AF2, Z80_BC2, Z80_DE2, Z80_HL2, |
| 14 | 14 | Z80_R, Z80_I, Z80_IM, Z80_IFF1, Z80_IFF2, Z80_HALT, |
| 15 | Z80_DC0, Z80_DC1, Z80_DC2, Z80_DC3, Z80_ | |
| 15 | Z80_DC0, Z80_DC1, Z80_DC2, Z80_DC3, Z80_WZ | |
| 16 | 16 | |
| 17 | 17 | Z80_GENPC = REG_GENPC, |
| 18 | 18 | Z80_GENSP = REG_GENSP, |
| r5490 | r5491 | |
|---|---|---|
| 190 | 190 | |
| 191 | 191 | static CPU_TRANSLATE( arm7 ) |
| 192 | 192 | { |
| 193 | arm_state *cpustate = (device != NULL) ? device->token : NULL; | |
| 193 | arm_state *cpustate = (device != NULL) ? (arm_state *)device->token : NULL; | |
| 194 | 194 | |
| 195 | 195 | /* only applies to the program address space and only does something if the MMU's enabled */ |
| 196 | 196 | if( space == ADDRESS_SPACE_PROGRAM && ( COPRO_CTRL & COPRO_CTRL_MMU_EN ) ) |
| r5490 | r5491 | |
| 228 | 228 | |
| 229 | 229 | static CPU_RESET( arm7 ) |
| 230 | 230 | { |
| 231 | arm_state *cpustate = | |
| 231 | arm_state *cpustate = get_safe_ | |
| 232 | 232 | |
| 233 | 233 | // must call core reset |
| 234 | 234 | arm7_core_reset(device); |
| r5490 | r5491 | |
| 239 | 239 | |
| 240 | 240 | static CPU_RESET( arm9 ) |
| 241 | 241 | { |
| 242 | arm_state *cpustate = | |
| 242 | arm_state *cpustate = get_safe_ | |
| 243 | 243 | |
| 244 | 244 | // must call core reset |
| 245 | 245 | arm7_core_reset(device); |
| r5490 | r5491 | |
| 250 | 250 | |
| 251 | 251 | static CPU_RESET( pxa255 ) |
| 252 | 252 | { |
| 253 | arm_state *cpustate = | |
| 253 | arm_state *cpustate = get_safe_ | |
| 254 | 254 | |
| 255 | 255 | // must call core reset |
| 256 | 256 | arm7_core_reset(device); |
| r5490 | r5491 | |
| 574 | 574 | |
| 575 | 575 | static READ32_DEVICE_HANDLER( arm7_rt_r_callback ) |
| 576 | 576 | { |
| 577 | arm_state *cpustate = | |
| 577 | arm_state *cpustate = get_safe_ | |
| 578 | 578 | UINT32 opcode = offset; |
| 579 | 579 | UINT8 cReg = ( opcode & INSN_COPRO_CREG ) >> INSN_COPRO_CREG_SHIFT; |
| 580 | 580 | UINT8 op2 = ( opcode & INSN_COPRO_OP2 ) >> INSN_COPRO_OP2_SHIFT; |
| r5490 | r5491 | |
| 717 | 717 | |
| 718 | 718 | static WRITE32_DEVICE_HANDLER( arm7_rt_w_callback ) |
| 719 | 719 | { |
| 720 | arm_state *cpustate = | |
| 720 | arm_state *cpustate = get_safe_ | |
| 721 | 721 | UINT32 opcode = offset; |
| 722 | 722 | UINT8 cReg = ( opcode & INSN_COPRO_CREG ) >> INSN_COPRO_CREG_SHIFT; |
| 723 | 723 | UINT8 op2 = ( opcode & INSN_COPRO_OP2 ) >> INSN_COPRO_OP2_SHIFT; |
| r5490 | r5491 | |
|---|---|---|
| 507 | 507 | INT32 update_sampindex = time_to_sampindex(strdata, stream, timer_get_time(machine)); |
| 508 | 508 | |
| 509 | 509 | /* generate samples to get us up to the appropriate time */ |
| 510 | profiler_mark(PROFILER_SOUND); | |
| 510 | profiler_mark_start(PROFILER_SOUND); | |
| 511 | 511 | assert(stream->output_sampindex - stream->output_base_sampindex >= 0); |
| 512 | 512 | assert(update_sampindex - stream->output_base_sampindex <= stream->output_bufalloc); |
| 513 | 513 | generate_samples(stream, update_sampindex - stream->output_sampindex); |
| 514 | profiler_mark | |
| 514 | profiler_mark | |
| 515 | 515 | |
| 516 | 516 | /* remember this info for next time */ |
| 517 | 517 | stream->output_sampindex = update_sampindex; |
| r5490 | r5491 | |
|---|---|---|
| 155 | 155 | ui_gfx_state *state = &ui_gfx; |
| 156 | 156 | |
| 157 | 157 | /* if we have nothing, implicitly cancel */ |
| 158 | if (machine->config->total_colors == 0 && machine->colortable == NULL && machine->gfx[0] == NULL && tilemap_count() == 0) | |
| 158 | if (machine->config->total_colors == 0 && machine->colortable == NULL && machine->gfx[0] == NULL && tilemap_count(machine) == 0) | |
| 159 | 159 | goto cancel; |
| 160 | 160 | |
| 161 | 161 | /* if we're not paused, mark the bitmap dirty */ |
| r5490 | r5491 | |
| 190 | 190 | |
| 191 | 191 | case 2: |
| 192 | 192 | /* if we have tilemaps, display them */ |
| 193 | if (tilemap_count() > 0) | |
| 193 | if (tilemap_count(machine) > 0) | |
| 194 | 194 | { |
| 195 | 195 | tilemap_handler(machine, state); |
| 196 | 196 | break; |
| r5490 | r5491 | |
| 857 | 857 | render_target_get_bounds(render_get_ui_target(), &targwidth, &targheight, NULL); |
| 858 | 858 | |
| 859 | 859 | /* get the size of the tilemap itself */ |
| 860 | tilemap_size_by_index(state->tilemap.which, &mapwidth, &mapheight); | |
| 860 | tilemap_size_by_index(machine, state->tilemap.which, &mapwidth, &mapheight); | |
| 861 | 861 | if (state->tilemap.rotate & ORIENTATION_SWAP_XY) |
| 862 | 862 | { UINT32 temp = mapwidth; mapwidth = mapheight; mapheight = temp; } |
| 863 | 863 | |
| r5490 | r5491 | |
| 909 | 909 | boxbounds.y1 = mapboxbounds.y1 + 0.5f * chheight; |
| 910 | 910 | |
| 911 | 911 | /* figure out the title and expand the outer box to fit */ |
| 912 | sprintf(title, "TMAP %d/%d %dx%d OFFS %d,%d", state->tilemap.which, tilemap_count() - 1, mapwidth, mapheight, state->tilemap.xoffs, state->tilemap.yoffs); | |
| 912 | sprintf(title, "TMAP %d/%d %dx%d OFFS %d,%d", state->tilemap.which, tilemap_count(machine) - 1, mapwidth, mapheight, state->tilemap.xoffs, state->tilemap.yoffs); | |
| 913 | 913 | titlewidth = render_font_get_string_width(ui_font, chheight, render_get_ui_aspect(), title); |
| 914 | 914 | if (boxbounds.x1 - boxbounds.x0 < titlewidth + chwidth) |
| 915 | 915 | { |
| r5490 | r5491 | |
| 963 | 963 | /* clamp within range */ |
| 964 | 964 | if (state->tilemap.which < 0) |
| 965 | 965 | state->tilemap.which = 0; |
| 966 | if (state->tilemap.which >= tilemap_count()) | |
| 967 | state->tilemap.which = tilemap_count() - 1; | |
| 966 | if (state->tilemap.which >= tilemap_count(machine)) | |
| 967 | state->tilemap.which = tilemap_count(machine) - 1; | |
| 968 | 968 | |
| 969 | 969 | /* cache some info in locals */ |
| 970 | tilemap_size_by_index(state->tilemap.which, &mapwidth, &mapheight); | |
| 970 | tilemap_size_by_index(machine, state->tilemap.which, &mapwidth, &mapheight); | |
| 971 | 971 | |
| 972 | 972 | /* handle zoom (minus,plus) */ |
| 973 | 973 | if (ui_input_pressed(machine, IPT_UI_ZOOM_OUT)) |
| r5490 | r5491 | |
| 1071 | 1071 | /* handle the redraw */ |
| 1072 | 1072 | if (state->bitmap_dirty) |
| 1073 | 1073 | { |
| 1074 | tilemap_draw_by_index(state->bitmap, state->tilemap.which, state->tilemap.xoffs, state->tilemap.yoffs); | |
| 1074 | tilemap_draw_by_index(machine, state->bitmap, state->tilemap.which, state->tilemap.xoffs, state->tilemap.yoffs); | |
| 1075 | 1075 | |
| 1076 | 1076 | /* reset the texture to force an update */ |
| 1077 | 1077 | render_texture_set_bitmap(state->texture, state->bitmap, NULL, screen_texformat, palette); |
| r5490 | r5491 | |
|---|---|---|
| 3419 | 3419 | voodoo_state *v = get_safe_token(device); |
| 3420 | 3420 | int stall = FALSE; |
| 3421 | 3421 | |
| 3422 | profiler_mark(PROFILER_USER1); | |
| 3422 | profiler_mark_start(PROFILER_USER1); | |
| 3423 | 3423 | |
| 3424 | 3424 | /* should not be getting accesses while stalled */ |
| 3425 | 3425 | if (v->pci.stall_state != NOT_STALLED) |
| r5490 | r5491 | |
| 3447 | 3447 | if (offset & 0x40000/4) |
| 3448 | 3448 | data = FLIPENDIAN_INT32(data); |
| 3449 | 3449 | cmdfifo_w(v, &v->fbi.cmdfifo[0], offset & 0xffff, data); |
| 3450 | profiler_mark | |
| 3450 | profiler_mark | |
| 3451 | 3451 | return; |
| 3452 | 3452 | } |
| 3453 | 3453 | |
| r5490 | r5491 | |
| 3460 | 3460 | v->fbi.swaps_pending++; |
| 3461 | 3461 | |
| 3462 | 3462 | logerror("Ignoring write to %s in CMDFIFO mode\n", v->regnames[offset & 0xff]); |
| 3463 | profiler_mark | |
| 3463 | profiler_mark | |
| 3464 | 3464 | return; |
| 3465 | 3465 | } |
| 3466 | 3466 | } |
| r5490 | r5491 | |
| 3477 | 3477 | /* ignore if writes aren't allowed */ |
| 3478 | 3478 | if (!(access & REGISTER_WRITE)) |
| 3479 | 3479 | { |
| 3480 | profiler_mark | |
| 3480 | profiler_mark | |
| 3481 | 3481 | return; |
| 3482 | 3482 | } |
| 3483 | 3483 | |
| r5490 | r5491 | |
| 3513 | 3513 | timer_get_time(device->machine).seconds, (UINT32)(timer_get_time(device->machine).attoseconds >> 32), (UINT32)timer_get_time(device->machine).attoseconds, |
| 3514 | 3514 | v->pci.op_end_time.seconds, (UINT32)(v->pci.op_end_time.attoseconds >> 32), (UINT32)v->pci.op_end_time.attoseconds); |
| 3515 | 3515 | } |
| 3516 | profiler_mark | |
| 3516 | profiler_mark | |
| 3517 | 3517 | return; |
| 3518 | 3518 | } |
| 3519 | 3519 | |
| r5490 | r5491 | |
| 3579 | 3579 | stall_cpu(v, STALLED_UNTIL_FIFO_EMPTY, timer_get_time(device->machine)); |
| 3580 | 3580 | } |
| 3581 | 3581 | |
| 3582 | profiler_mark | |
| 3582 | profiler_mark | |
| 3583 | 3583 | } |
| 3584 | 3584 | |
| 3585 | 3585 | |
| r5490 | r5491 | |
| 4791 | 4791 | int destbuf; |
| 4792 | 4792 | int pixels; |
| 4793 | 4793 | |
| 4794 | profiler_mark(PROFILER_USER2); | |
| 4794 | profiler_mark_start(PROFILER_USER2); | |
| 4795 | 4795 | |
| 4796 | 4796 | /* determine the number of TMUs involved */ |
| 4797 | 4797 | texcount = 0; |
| r5490 | r5491 | |
| 4862 | 4862 | /* update stats */ |
| 4863 | 4863 | v->stats.total_triangles++; |
| 4864 | 4864 | |
| 4865 | profiler_mark | |
| 4865 | profiler_mark | |
| 4866 | 4866 | |
| 4867 | 4867 | /* 1 pixel per clock, plus some setup time */ |
| 4868 | 4868 | if (LOG_REGISTERS) logerror("cycles = %d\n", TRIANGLE_SETUP_CLOCKS + pixels); |
| r5490 | r5491 | |
|---|---|---|
| 218 | 218 | } |
| 219 | 219 | |
| 220 | 220 | |
| 221 | /*------------------------------------------------- | |
| 222 | rgbint_shl - shift each component of an | |
| 223 | rgbint struct by the given number of bits | |
| 224 | -------------------------------------------------*/ | |
| 221 | 225 | |
| 226 | INLINE void rgbint_shl(rgbint *color, UINT8 shift) | |
| 227 | { | |
| 228 | color->r <<= shift; | |
| 229 | color->g <<= shift; | |
| 230 | color->b <<= shift; | |
| 231 | } | |
| 232 | ||
| 233 | ||
| 234 | /*------------------------------------------------- | |
| 235 | rgbaint_shl - shift each component of an | |
| 236 | rgbaint struct by the given number of bits | |
| 237 | -------------------------------------------------*/ | |
| 238 | ||
| 239 | INLINE void rgbaint_shl(rgbaint *color, UINT8 shift) | |
| 240 | { | |
| 241 | color->r <<= shift; | |
| 242 | color->g <<= shift; | |
| 243 | color->b <<= shift; | |
| 244 | color->a <<= shift; | |
| 245 | } | |
| 246 | ||
| 247 | ||
| 248 | /*------------------------------------------------- | |
| 249 | rgbint_shr - shift each component of an | |
| 250 | rgbint struct by the given number of bits | |
| 251 | -------------------------------------------------*/ | |
| 252 | ||
| 253 | INLINE void rgbint_shr(rgbint *color, UINT8 shift) | |
| 254 | { | |
| 255 | color->r >>= shift; | |
| 256 | color->g >>= shift; | |
| 257 | color->b >>= shift; | |
| 258 | } | |
| 259 | ||
| 260 | ||
| 261 | /*------------------------------------------------- | |
| 262 | rgbaint_shr - shift each component of an | |
| 263 | rgbaint struct by the given number of bits | |
| 264 | -------------------------------------------------*/ | |
| 265 | ||
| 266 | INLINE void rgbaint_shr(rgbaint *color, UINT8 shift) | |
| 267 | { | |
| 268 | color->r >>= shift; | |
| 269 | color->g >>= shift; | |
| 270 | color->b >>= shift; | |
| 271 | color->a >>= shift; | |
| 272 | } | |
| 273 | ||
| 274 | ||
| 275 | ||
| 222 | 276 | /*************************************************************************** |
| 223 | 277 | HIGHER LEVEL OPERATIONS |
| 224 | 278 | ***************************************************************************/ |
| r5490 | r5491 | |
|---|---|---|
| 454 | 454 | attoseconds_t period = video_screen_get_frame_period(machine->primary_screen).attoseconds; |
| 455 | 455 | rectangle visarea = *video_screen_get_visible_area(machine->primary_screen); |
| 456 | 456 | |
| 457 | tilemap_set_flip | |
| 457 | tilemap_set_flip | |
| 458 | 458 | |
| 459 | 459 | if (flip_screen_x) |
| 460 | 460 | { |
| r5490 | r5491 | |
|---|---|---|
| 51 | 51 | #define MODE_TRANSPARENT_BLANK(d) (((d)->mode_control & 0x88) == 0x08) |
| 52 | 52 | #define MODE_UPDATE_STROBE(d) (((d)->mode_control & 0x40) != 0) |
| 53 | 53 | |
| 54 | /* capabilities */ | |
| 54 | /* capabilities */ /* MC6845 MC6845-1 C6545-1 R6545-1 H46505 HD6845 SY6545-1 */ | |
| 55 | 55 | static const int supports_disp_start_addr_r[NUM_TYPES] = { TRUE, TRUE, FALSE, FALSE, FALSE, FALSE, FALSE }; |
| 56 | 56 | static const int supports_vert_sync_width[NUM_TYPES] = { FALSE, TRUE, TRUE, TRUE, FALSE, TRUE, TRUE }; |
| 57 | 57 | static const int supports_status_reg_d5[NUM_TYPES] = { FALSE, FALSE, TRUE, TRUE, FALSE, FALSE, TRUE }; |
| 58 | 58 | static const int supports_status_reg_d6[NUM_TYPES] = { FALSE, FALSE, TRUE, TRUE, FALSE, FALSE, TRUE }; |
| 59 | 59 | |
| 60 | 60 | /* FIXME: check other variants */ |
| 61 | static const int supports_t | |
| 61 | static const int supports_st | |
| 62 | 62 | |
| 63 | /* FIXME: check other variants */ | |
| 64 | static const int supports_transparent[NUM_TYPES] = { FALSE, FALSE, FALSE, TRUE, FALSE, FALSE, TRUE }; | |
| 63 | 65 | |
| 66 | ||
| 64 | 67 | typedef struct _mc6845_t mc6845_t; |
| 65 | 68 | struct _mc6845_t |
| 66 | 69 | { |
| r5490 | r5491 | |
| 97 | 100 | UINT8 hpixels_per_column; |
| 98 | 101 | UINT8 cursor_state; /* 0 = off, 1 = on */ |
| 99 | 102 | UINT8 cursor_blink_count; |
| 103 | UINT8 update_ready_bit; | |
| 100 | 104 | |
| 101 | 105 | /* timers */ |
| 102 | 106 | emu_timer *de_changed_timer; |
| r5490 | r5491 | |
| 107 | 111 | emu_timer *vsync_on_timer; |
| 108 | 112 | emu_timer *vsync_off_timer; |
| 109 | 113 | emu_timer *light_pen_latch_timer; |
| 114 | emu_timer *upd_adr_timer; | |
| 110 | 115 | |
| 111 | 116 | /* computed values - do NOT state save these! */ |
| 112 | UINT16 horiz_pix_total; | |
| 113 | UINT16 vert_pix_total; | |
| 114 | UINT16 max_visible_x; | |
| 115 | UINT16 max_visible_y; | |
| 116 | UINT16 hsync_on_pos; | |
| 117 | UINT16 hsync_off_pos; | |
| 118 | UINT16 vsync_on_pos; | |
| 119 | UINT16 vsync_off_pos; | |
| 120 | UINT16 current_disp_addr; /* the display address currently drawn */ | |
| 121 | UINT8 light_pen_latched; | |
| 122 | int has_valid_parameters; | |
| 117 | UINT16 horiz_pix_total; | |
| 118 | UINT16 vert_pix_total; | |
| 119 | UINT16 max_visible_x; | |
| 120 | UINT16 max_visible_y; | |
| 121 | UINT16 hsync_on_pos; | |
| 122 | UINT16 hsync_off_pos; | |
| 123 | UINT16 vsync_on_pos; | |
| 124 | UINT16 vsync_off_pos; | |
| 125 | UINT16 current_disp_addr; /* the display address currently drawn */ | |
| 126 | UINT8 light_pen_latched; | |
| 127 | attotime upd_time; | |
| 128 | int has_valid_parameters; | |
| 123 | 129 | }; |
| 124 | 130 | |
| 125 | 131 | |
| 126 | 132 | static STATE_POSTLOAD( mc6845_state_save_postload ); |
| 127 | 133 | static void recompute_parameters(mc6845_t *mc6845, int postload); |
| 134 | static void update_upd_adr_timer(mc6845_t *mc6845); | |
| 128 | 135 | static void update_de_changed_timer(mc6845_t *mc6845); |
| 129 | 136 | static void update_cur_changed_timers(mc6845_t *mc6845); |
| 130 | 137 | static void update_hsync_changed_timers(mc6845_t *mc6845); |
| r5490 | r5491 | |
| 166 | 173 | |
| 167 | 174 | /* call the callback function -- we know it exists */ |
| 168 | 175 | mc6845->intf->on_update_addr_changed(device, addr, strobe); |
| 176 | ||
| 177 | if(!mc6845->update_ready_bit && MODE_TRANSPARENT_BLANK(mc6845)) | |
| 178 | { | |
| 179 | mc6845->update_addr++; | |
| 180 | mc6845->update_addr &= 0x3fff; | |
| 181 | mc6845->update_ready_bit = 1; | |
| 182 | } | |
| 169 | 183 | } |
| 170 | 184 | |
| 171 | 185 | INLINE void call_on_update_address(const device_config *device, int strobe) |
| r5490 | r5491 | |
| 200 | 214 | if (supports_status_reg_d6[mc6845->device_type] && mc6845->light_pen_latched) |
| 201 | 215 | ret = ret | 0x40; |
| 202 | 216 | |
| 217 | /* UPDATE ready */ | |
| 218 | if (supports_status_reg_d7[mc6845->device_type] && mc6845->update_ready_bit) | |
| 219 | ret = ret | 0x80; | |
| 220 | ||
| 203 | 221 | return ret; |
| 204 | 222 | } |
| 205 | 223 | |
| r5490 | r5491 | |
| 220 | 238 | case 0x1f: |
| 221 | 239 | if (supports_transparent[mc6845->device_type] && MODE_TRANSPARENT(mc6845)) |
| 222 | 240 | { |
| 223 | mc6845->update_addr++; | |
| 224 | mc6845->update_addr &= 0x3fff; | |
| 225 | call_on_update_address(device, 0); | |
| 241 | if(MODE_TRANSPARENT_PHI2(mc6845)) | |
| 242 | { | |
| 243 | mc6845->update_addr++; | |
| 244 | mc6845->update_addr &= 0x3fff; | |
| 245 | call_on_update_address(device, 0); | |
| 246 | } | |
| 247 | else | |
| 248 | { | |
| 249 | /* MODE_TRANSPARENT_BLANK */ | |
| 250 | if(mc6845->update_ready_bit) | |
| 251 | { | |
| 252 | mc6845->update_ready_bit = 0; | |
| 253 | update_upd_adr_timer(mc6845); | |
| 254 | } | |
| 255 | } | |
| 226 | 256 | } |
| 227 | 257 | break; |
| 228 | 258 | |
| r5490 | r5491 | |
| 264 | 294 | if (supports_transparent[mc6845->device_type]) |
| 265 | 295 | { |
| 266 | 296 | mc6845->update_addr = ((data & 0x3f) << 8) | (mc6845->update_addr & 0x00ff); |
| 267 | call_on_update_address(device, 0); | |
| 297 | if(MODE_TRANSPARENT_PHI2(mc6845)) | |
| 298 | call_on_update_address(device, 0); | |
| 268 | 299 | } |
| 269 | 300 | break; |
| 270 | 301 | case 0x13: |
| 271 | 302 | if (supports_transparent[mc6845->device_type]) |
| 272 | 303 | { |
| 273 | 304 | mc6845->update_addr = ((data & 0xff) << 0) | (mc6845->update_addr & 0xff00); |
| 274 | call_on_update_address(device, 0); | |
| 305 | if(MODE_TRANSPARENT_PHI2(mc6845)) | |
| 306 | call_on_update_address(device, 0); | |
| 275 | 307 | } |
| 276 | 308 | break; |
| 277 | 309 | case 0x1f: |
| 278 | 310 | if (supports_transparent[mc6845->device_type] && MODE_TRANSPARENT(mc6845)) |
| 279 | 311 | { |
| 280 | mc6845->update_addr++; | |
| 281 | mc6845->update_addr &= 0x3fff; | |
| 282 | call_on_update_address(device, 0); | |
| 312 | if(MODE_TRANSPARENT_PHI2(mc6845)) | |
| 313 | { | |
| 314 | mc6845->update_addr++; | |
| 315 | mc6845->update_addr &= 0x3fff; | |
| 316 | call_on_update_address(device, 0); | |
| 317 | } | |
| 318 | else | |
| 319 | { | |
| 320 | /* MODE_TRANSPARENT_BLANK */ | |
| 321 | if(mc6845->update_ready_bit) | |
| 322 | { | |
| 323 | mc6845->update_ready_bit = 0; | |
| 324 | update_upd_adr_timer(mc6845); | |
| 325 | } | |
| 326 | } | |
| 283 | 327 | } |
| 284 | 328 | break; |
| 285 | 329 | default: break; |
| r5490 | r5491 | |
| 287 | 331 | |
| 288 | 332 | /* display message if the Mode Control register is not zero */ |
| 289 | 333 | if ((mc6845->register_address_latch == 0x08) && (mc6845->mode_control != 0)) |
| 290 | if (! | |
| 334 | if (! | |
| 291 | 335 | popmessage("Mode Control %02X is not supported!!!", mc6845->mode_control); |
| 292 | 336 | |
| 293 | 337 | recompute_parameters(mc6845, FALSE); |
| r5490 | r5491 | |
| 318 | 362 | if (vert_sync_pix_width == 0) |
| 319 | 363 | vert_sync_pix_width = 0x10; |
| 320 | 364 | |
| 365 | /* determine the transparent update cycle time, 1 update every 4 character clocks */ | |
| 366 | mc6845->upd_time = attotime_mul(ATTOTIME_IN_HZ(mc6845->clock), 4 * mc6845->hpixels_per_column); | |
| 367 | ||
| 321 | 368 | hsync_on_pos = mc6845->horiz_sync_pos * mc6845->hpixels_per_column; |
| 322 | 369 | hsync_off_pos = hsync_on_pos + (horiz_sync_char_width * mc6845->hpixels_per_column); |
| 323 | 370 | vsync_on_pos = mc6845->vert_sync_pos * (mc6845->max_ras_addr + 1); |
| r5490 | r5491 | |
| 387 | 434 | } |
| 388 | 435 | |
| 389 | 436 | |
| 437 | static void update_upd_adr_timer(mc6845_t *mc6845) | |
| 438 | { | |
| 439 | if (!is_display_enabled(mc6845)) | |
| 440 | timer_adjust_oneshot(mc6845->upd_adr_timer, mc6845->upd_time, 0); | |
| 441 | } | |
| 442 | ||
| 390 | 443 | static void update_de_changed_timer(mc6845_t *mc6845) |
| 391 | 444 | { |
| 392 | 445 | if (mc6845->has_valid_parameters && (mc6845->de_changed_timer != NULL)) |
| r5490 | r5491 | |
| 413 | 466 | if (next_y == mc6845->vert_pix_total) |
| 414 | 467 | next_y = -1; |
| 415 | 468 | } |
| 469 | timer_adjust_oneshot(mc6845->upd_adr_timer, attotime_never, 0); | |
| 416 | 470 | } |
| 417 | 471 | |
| 418 | 472 | /* we are in a blanking region, get the location of the next display start */ |
| r5490 | r5491 | |
| 425 | 479 | to go to the top of the screen */ |
| 426 | 480 | if (next_y > mc6845->max_visible_y) |
| 427 | 481 | next_y = 0; |
| 482 | ||
| 483 | /* if transparent update was requested fire the update timer */ | |
| 484 | if(!mc6845->update_ready_bit) | |
| 485 | update_upd_adr_timer(mc6845); | |
| 428 | 486 | } |
| 429 | 487 | |
| 430 | 488 | if (next_y != -1) |
| r5490 | r5491 | |
| 488 | 546 | } |
| 489 | 547 | |
| 490 | 548 | |
| 549 | static TIMER_CALLBACK( upd_adr_timer_cb ) | |
| 550 | { | |
| 551 | const device_config *device = (const device_config *)ptr; | |
| 552 | ||
| 553 | /* fire a update address strobe */ | |
| 554 | call_on_update_address(device, 0); | |
| 555 | } | |
| 556 | ||
| 557 | ||
| 491 | 558 | static TIMER_CALLBACK( de_changed_timer_cb ) |
| 492 | 559 | { |
| 493 | 560 | const device_config *device = (const device_config *)ptr; |
| r5490 | r5491 | |
| 818 | 885 | assert(mc6845->screen != NULL); |
| 819 | 886 | |
| 820 | 887 | /* create the timers */ |
| 821 | if (mc6845->out_de_func.target != NULL) | |
| 888 | if (mc6845->out_de_func.target != NULL || supports_transparent[mc6845->device_type]) | |
| 822 | 889 | { |
| 823 | 890 | mc6845->de_changed_timer = timer_alloc(device->machine, de_changed_timer_cb, (void *)device); |
| 891 | if(supports_transparent[mc6845->device_type]) | |
| 892 | { | |
| 893 | mc6845->upd_adr_timer = timer_alloc(device->machine, upd_adr_timer_cb, (void *)device); | |
| 894 | } | |
| 824 | 895 | } |
| 825 | 896 | |
| 826 | 897 | if (mc6845->out_cur_func.target != NULL) |
| r5490 | r5491 | |
| 869 | 940 | state_save_register_device_item(device, 0, mc6845->cursor_state); |
| 870 | 941 | state_save_register_device_item(device, 0, mc6845->cursor_blink_count); |
| 871 | 942 | state_save_register_device_item(device, 0, mc6845->update_addr); |
| 943 | state_save_register_device_item(device, 0, mc6845->update_ready_bit); | |
| 872 | 944 | } |
| 873 | 945 | |
| 874 | 946 | static DEVICE_START( mc6845 ) |
| r5490 | r5491 | |
|---|---|---|
| 194 | 194 | } |
| 195 | 195 | |
| 196 | 196 | |
| 197 | /*------------------------------------------------- | |
| 198 | rgbint_shl - shift each component of an | |
| 199 | rgbint struct by the given number of bits | |
| 200 | -------------------------------------------------*/ | |
| 197 | 201 | |
| 202 | INLINE void rgbint_shl(rgbint *color, UINT8 shift) | |
| 203 | { | |
| 204 | *color = _mm_slli_epi16(*color, shift); | |
| 205 | } | |
| 206 | ||
| 207 | ||
| 208 | /*------------------------------------------------- | |
| 209 | rgbaint_shl - shift each component of an | |
| 210 | rgbaint struct by the given number of bits | |
| 211 | -------------------------------------------------*/ | |
| 212 | ||
| 213 | INLINE void rgbaint_shl(rgbaint *color, UINT8 shift) | |
| 214 | { | |
| 215 | *color = _mm_slli_epi16(*color, shift); | |
| 216 | } | |
| 217 | ||
| 218 | ||
| 219 | /*------------------------------------------------- | |
| 220 | rgbint_shr - shift each component of an | |
| 221 | rgbint struct by the given number of bits | |
| 222 | -------------------------------------------------*/ | |
| 223 | ||
| 224 | INLINE void rgbint_shr(rgbint *color, UINT8 shift) | |
| 225 | { | |
| 226 | *color = _mm_srli_epi16(*color, shift); | |
| 227 | } | |
| 228 | ||
| 229 | ||
| 230 | /*------------------------------------------------- | |
| 231 | rgbaint_shr - shift each component of an | |
| 232 | rgbaint struct by the given number of bits | |
| 233 | -------------------------------------------------*/ | |
| 234 | ||
| 235 | INLINE void rgbaint_shr(rgbaint *color, UINT8 shift) | |
| 236 | { | |
| 237 | *color = _mm_srli_epi16(*color, shift); | |
| 238 | } | |
| 239 | ||
| 240 | ||
| 241 | ||
| 198 | 242 | /*************************************************************************** |
| 199 | 243 | TABLES |
| 200 | 244 | ***************************************************************************/ |
| r5490 | r5491 | |
|---|---|---|
| 121 | 121 | }; |
| 122 | 122 | |
| 123 | 123 | |
| 124 | struct _tilemap_private | |
| 125 | { | |
| 126 | tilemap * list; | |
| 127 | tilemap ** tailptr; | |
| 128 | int instance; | |
| 129 | }; | |
| 124 | 130 | |
| 125 | /*************************************************************************** | |
| 126 | GLOBAL VARIABLES | |
| 127 | ***************************************************************************/ | |
| 128 | 131 | |
| 129 | static tilemap * tilemap_list; | |
| 130 | static tilemap ** tilemap_tailptr; | |
| 131 | static int tilemap_instance; | |
| 132 | 132 | |
| 133 | ||
| 134 | ||
| 135 | 133 | /*************************************************************************** |
| 136 | 134 | FUNCTION PROTOTYPES |
| 137 | 135 | ***************************************************************************/ |
| r5490 | r5491 | |
| 239 | 237 | indexed_tilemap - return a tilemap by index |
| 240 | 238 | -------------------------------------------------*/ |
| 241 | 239 | |
| 242 | INLINE tilemap *indexed_tilemap(int index) | |
| 240 | INLINE tilemap *indexed_tilemap(running_machine *machine, int index) | |
| 243 | 241 | { |
| 244 | 242 | tilemap *tmap; |
| 245 | 243 | |
| 246 | 244 | /* find by the tilemap index */ |
| 247 | for (tmap = tilemap_list; tmap != NULL; tmap = tmap->next) | |
| 245 | for (tmap = machine->tilemap_data->list; tmap != NULL; tmap = tmap->next) | |
| 248 | 246 | if (index-- == 0) |
| 249 | 247 | return tmap; |
| 250 | 248 | |
| r5490 | r5491 | |
| 297 | 295 | |
| 298 | 296 | if (screen_width != 0 && screen_height != 0) |
| 299 | 297 | { |
| 300 | tilemap_list = NULL; | |
| 301 | tilemap_tailptr = &tilemap_list; | |
| 302 | tilemap_instance = 0; | |
| 298 | machine->tilemap_data = auto_alloc_clear(machine, tilemap_private); | |
| 299 | machine->tilemap_data->tailptr = &machine->tilemap_data->list; | |
| 303 | 300 | |
| 304 | 301 | machine->priority_bitmap = auto_bitmap_alloc(machine, screen_width, screen_height, BITMAP_FORMAT_INDEXED8); |
| 305 | 302 | add_exit_callback(machine, tilemap_exit); |
| r5490 | r5491 | |
| 319 | 316 | tilemap *tilemap_create(running_machine *machine, tile_get_info_func tile_get_info, tilemap_mapper_func mapper, int tilewidth, int tileheight, int cols, int rows) |
| 320 | 317 | { |
| 321 | 318 | tilemap *tmap; |
| 319 | int tilemap_instance = machine->tilemap_data->instance; | |
| 322 | 320 | int group; |
| 323 | 321 | |
| 324 | 322 | /* allocate the tilemap itself */ |
| r5490 | r5491 | |
| 365 | 363 | tilemap_map_pens_to_layer(tmap, group, 0, 0, TILEMAP_PIXEL_LAYER0); |
| 366 | 364 | |
| 367 | 365 | /* add us to the end of the list of tilemaps */ |
| 368 | *tilemap_tailptr = tmap; | |
| 369 | tilemap_tailptr = &tmap->next; | |
| 366 | *machine->tilemap_data->tailptr = tmap; | |
| 367 | machine->tilemap_data->tailptr = &tmap->next; | |
| 370 | 368 | |
| 371 | 369 | /* save relevant state */ |
| 372 | 370 | state_save_register_item(machine, "tilemap", NULL, tilemap_instance, tmap->enable); |
| r5490 | r5491 | |
| 381 | 379 | state_save_register_item(machine, "tilemap", NULL, tilemap_instance, tmap->dx_flipped); |
| 382 | 380 | state_save_register_item(machine, "tilemap", NULL, tilemap_instance, tmap->dy); |
| 383 | 381 | state_save_register_item(machine, "tilemap", NULL, tilemap_instance, tmap->dy_flipped); |
| 384 | tilemap_instance++; | |
| 382 | machine->tilemap_data->instance++; | |
| 385 | 383 | |
| 386 | 384 | /* reset everything after a load */ |
| 387 | 385 | state_save_register_postload(machine, tilemap_postload, tmap); |
| r5490 | r5491 | |
| 426 | 424 | |
| 427 | 425 | /*------------------------------------------------- |
| 428 | 426 | tilemap_set_flip - set a global flip for the |
| 429 | tilemap; ALL_TILEMAPS can be passed here as | |
| 430 | well | |
| 427 | tilemap | |
| 431 | 428 | -------------------------------------------------*/ |
| 432 | 429 | |
| 433 | 430 | void tilemap_set_flip(tilemap *tmap, UINT32 attributes) |
| 434 | 431 | { |
| 435 | /* handle ALL_TILEMAPS */ | |
| 436 | if (tmap == ALL_TILEMAPS) | |
| 437 | { | |
| 438 | for (tmap = tilemap_list; tmap != NULL; tmap = tmap->next) | |
| 439 | tilemap_set_flip(tmap, attributes); | |
| 440 | } | |
| 441 | ||
| 442 | 432 | /* if we're changing things, force a refresh of the mappings and mark it all dirty */ |
| 443 | | |
| 433 | | |
| 444 | 434 | { |
| 445 | 435 | tmap->attributes = attributes; |
| 446 | 436 | mappings_update(tmap); |
| r5490 | r5491 | |
| 448 | 438 | } |
| 449 | 439 | |
| 450 | 440 | |
| 441 | /*------------------------------------------------- | |
| 442 | tilemap_set_flip_all - set a global flip for all | |
| 443 | the tilemaps | |
| 444 | -------------------------------------------------*/ | |
| 451 | 445 | |
| 446 | void tilemap_set_flip_all(running_machine *machine, UINT32 attributes) | |
| 447 | { | |
| 448 | tilemap *tmap; | |
| 449 | for (tmap = machine->tilemap_data->list; tmap != NULL; tmap = tmap->next) | |
| 450 | tilemap_set_flip(tmap, attributes); | |
| 451 | } | |
| 452 | ||
| 453 | ||
| 454 | ||
| 452 | 455 | /*************************************************************************** |
| 453 | 456 | DIRTY TILE MARKING |
| 454 | 457 | ***************************************************************************/ |
| r5490 | r5491 | |
| 482 | 485 | |
| 483 | 486 | void tilemap_mark_all_tiles_dirty(tilemap *tmap) |
| 484 | 487 | { |
| 485 | /* handle ALL_TILEMAPS */ | |
| 486 | if (tmap == ALL_TILEMAPS) | |
| 487 | { | |
| 488 | for (tmap = tilemap_list; tmap != NULL; tmap = tmap->next) | |
| 489 | tilemap_mark_all_tiles_dirty(tmap); | |
| 490 | } | |
| 491 | ||
| 492 | 488 | /* mark all tiles dirty and clear the clean flag */ |
| 493 | else | |
| 494 | { | |
| 495 | tmap->all_tiles_dirty = TRUE; | |
| 496 | tmap->all_tiles_clean = FALSE; | |
| 497 | } | |
| 489 | tmap->all_tiles_dirty = TRUE; | |
| 490 | tmap->all_tiles_clean = FALSE; | |
| 498 | 491 | } |
| 499 | 492 | |
| 500 | 493 | |
| 494 | /*------------------------------------------------- | |
| 495 | tilemap_mark_all_tiles_dirty_all - mark all the | |
| 496 | tiles in all the tilemaps dirty | |
| 497 | -------------------------------------------------*/ | |
| 501 | 498 | |
| 499 | void tilemap_mark_all_tiles_dirty_all(running_machine *machine) | |
| 500 | { | |
| 501 | tilemap *tmap; | |
| 502 | for (tmap = machine->tilemap_data->list; tmap != NULL; tmap = tmap->next) | |
| 503 | tilemap_mark_all_tiles_dirty(tmap); | |
| 504 | } | |
| 505 | ||
| 506 | ||
| 502 | 507 | /*************************************************************************** |
| 503 | 508 | PEN-TO-LAYER MAPPING |
| 504 | 509 | ***************************************************************************/ |
| r5490 | r5491 | |
| 776 | 781 | if (!tmap->enable) |
| 777 | 782 | return; |
| 778 | 783 | |
| 779 | profiler_mark(PROFILER_TILEMAP_DRAW); | |
| 784 | profiler_mark_start(PROFILER_TILEMAP_DRAW); | |
| 780 | 785 | /* configure the blit parameters based on the input parameters */ |
| 781 | 786 | configure_blit_parameters(&blit, tmap, dest, cliprect, flags, priority, priority_mask); |
| 782 | 787 | |
| r5490 | r5491 | |
| 879 | 884 | } |
| 880 | 885 | } |
| 881 | 886 | } |
| 882 | profiler_mark | |
| 887 | profiler_mark | |
| 883 | 888 | } |
| 884 | 889 | |
| 885 | 890 | |
| r5490 | r5491 | |
| 914 | 919 | return; |
| 915 | 920 | } |
| 916 | 921 | |
| 917 | profiler_mark(PROFILER_TILEMAP_DRAW_ROZ); | |
| 922 | profiler_mark_start(PROFILER_TILEMAP_DRAW_ROZ); | |
| 918 | 923 | /* configure the blit parameters */ |
| 919 | 924 | configure_blit_parameters(&blit, tmap, dest, cliprect, flags, priority, priority_mask); |
| 920 | 925 | |
| r5490 | r5491 | |
| 923 | 928 | |
| 924 | 929 | /* then do the roz copy */ |
| 925 | 930 | tilemap_draw_roz_core(tmap, &blit, startx, starty, incxx, incxy, incyx, incyy, wraparound); |
| 926 | profiler_mark | |
| 931 | profiler_mark | |
| 927 | 932 | } |
| 928 | 933 | |
| 929 | 934 | |
| r5490 | r5491 | |
| 936 | 941 | tilemap_count - return the number of tilemaps |
| 937 | 942 | -------------------------------------------------*/ |
| 938 | 943 | |
| 939 | int tilemap_count( | |
| 944 | int tilemap_count(running_machine *machine) | |
| 940 | 945 | { |
| 941 | 946 | tilemap *tmap; |
| 942 | 947 | int count = 0; |
| 943 | 948 | |
| 944 | 949 | /* find by the tilemap index */ |
| 945 | for (tmap = tilemap_list; tmap != NULL; tmap = tmap->next) | |
| 950 | for (tmap = machine->tilemap_data->list; tmap != NULL; tmap = tmap->next) | |
| 946 | 951 | count++; |
| 947 | 952 | return count; |
| 948 | 953 | } |
| r5490 | r5491 | |
| 953 | 958 | indexed tilemap |
| 954 | 959 | -------------------------------------------------*/ |
| 955 | 960 | |
| 956 | void tilemap_size_by_index(int number, UINT32 *width, UINT32 *height) | |
| 961 | void tilemap_size_by_index(running_machine *machine, int number, UINT32 *width, UINT32 *height) | |
| 957 | 962 | { |
| 958 | tilemap *tmap = indexed_tilemap(number); | |
| 963 | tilemap *tmap = indexed_tilemap(machine, number); | |
| 959 | 964 | *width = tmap->width; |
| 960 | 965 | *height = tmap->height; |
| 961 | 966 | } |
| r5490 | r5491 | |
| 967 | 972 | priority) |
| 968 | 973 | -------------------------------------------------*/ |
| 969 | 974 | |
| 970 | void tilemap_draw_by_index(bitmap_t *dest, int number, UINT32 scrollx, UINT32 scrolly) | |
| 975 | void tilemap_draw_by_index(running_machine *machine, bitmap_t *dest, int number, UINT32 scrollx, UINT32 scrolly) | |
| 971 | 976 | { |
| 972 | tilemap *tmap = indexed_tilemap(number); | |
| 977 | tilemap *tmap = indexed_tilemap(machine, number); | |
| 973 | 978 | blit_parameters blit; |
| 974 | 979 | int xpos,ypos; |
| 975 | 980 | |
| r5490 | r5491 | |
| 1070 | 1075 | |
| 1071 | 1076 | static void tilemap_exit(running_machine *machine) |
| 1072 | 1077 | { |
| 1078 | tilemap_private *tilemap_data = machine->tilemap_data; | |
| 1079 | ||
| 1073 | 1080 | /* free all the tilemaps in the list */ |
| 1074 | while (tilemap_list != NULL) | |
| 1081 | while (tilemap_data->list != NULL) | |
| 1075 | 1082 | { |
| 1076 | tilemap *next = tilemap_list->next; | |
| 1077 | tilemap_dispose(tilemap_list); | |
| 1078 | tilemap_list = next; | |
| 1083 | tilemap *next = tilemap_data->list->next; | |
| 1084 | tilemap_dispose(tilemap_data->list); | |
| 1085 | tilemap_data->list = next; | |
| 1079 | 1086 | } |
| 1080 | tilemap_tailptr = | |
| 1087 | tilemap_data->tailptr = &tilemap_data->list; | |
| 1081 | 1088 | } |
| 1082 | 1089 | |
| 1083 | 1090 | |
| r5490 | r5491 | |
| 1103 | 1110 | tilemap **tmapptr; |
| 1104 | 1111 | |
| 1105 | 1112 | /* walk the list of tilemaps; when we find ourself, remove it */ |
| 1106 | for (tmapptr = &tilemap_list; *tmapptr != NULL; tmapptr = &(*tmapptr)->next) | |
| 1113 | for (tmapptr = &tmap->machine->tilemap_data->list; *tmapptr != NULL; tmapptr = &(*tmapptr)->next) | |
| 1107 | 1114 | if (*tmapptr == tmap) |
| 1108 | 1115 | { |
| 1109 | 1116 | *tmapptr = tmap->next; |
| r5490 | r5491 | |
| 1221 | 1228 | if (tmap->all_tiles_clean) |
| 1222 | 1229 | return; |
| 1223 | 1230 | |
| 1224 | profiler_mark(PROFILER_TILEMAP_DRAW); | |
| 1231 | profiler_mark_start(PROFILER_TILEMAP_DRAW); | |
| 1225 | 1232 | |
| 1226 | 1233 | /* compute which columns and rows to update */ |
| 1227 | 1234 | if (cliprect != NULL) |
| r5490 | r5491 | |
| 1261 | 1268 | if (mincol == 0 && minrow == 0 && maxcol == tmap->cols - 1 && maxcol == tmap->rows - 1) |
| 1262 | 1269 | tmap->all_tiles_clean = TRUE; |
| 1263 | 1270 | |
| 1264 | profiler_mark | |
| 1271 | profiler_mark | |
| 1265 | 1272 | } |
| 1266 | 1273 | |
| 1267 | 1274 | |
| r5490 | r5491 | |
| 1276 | 1283 | tilemap_memory_index memindex; |
| 1277 | 1284 | UINT32 flags; |
| 1278 | 1285 | |
| 1279 | profiler_mark(PROFILER_TILEMAP_UPDATE); | |
| 1286 | profiler_mark_start(PROFILER_TILEMAP_UPDATE); | |
| 1280 | 1287 | |
| 1281 | 1288 | /* call the get info callback for the associated memory index */ |
| 1282 | 1289 | memindex = tmap->logical_to_memory[logindex]; |
| r5490 | r5491 | |
| 1300 | 1307 | tmap->gfx_dirtyseq[tmap->tileinfo.gfxnum] = tmap->machine->gfx[tmap->tileinfo.gfxnum]->dirtyseq; |
| 1301 | 1308 | } |
| 1302 | 1309 | |
| 1303 | profiler_mark | |
| 1310 | profiler_mark | |
| 1304 | 1311 | } |
| 1305 | 1312 | |
| 1306 | 1313 |
| r5490 | r5491 | |
|---|---|---|
| 256 | 256 | ui_input_private *uidata = machine->ui_input_data; |
| 257 | 257 | int pressed = FALSE; |
| 258 | 258 | |
| 259 | profiler_mark(PROFILER_INPUT); | |
| 259 | profiler_mark_start(PROFILER_INPUT); | |
| 260 | 260 | |
| 261 | 261 | /* get the status of this key (assumed to be only in the defaults) */ |
| 262 | 262 | assert(code >= IPT_UI_CONFIGURE && code <= IPT_OSD_16); |
| r5490 | r5491 | |
| 284 | 284 | else |
| 285 | 285 | uidata->next_repeat[code] = 0; |
| 286 | 286 | |
| 287 | profiler_mark | |
| 287 | profiler_mark | |
| 288 | 288 | |
| 289 | 289 | return pressed; |
| 290 | 290 | } |
| r5490 | r5491 | |
|---|---|---|
| 305 | 305 | CONSTANTS |
| 306 | 306 | ***************************************************************************/ |
| 307 | 307 | |
| 308 | /* ALL_TILEMAPS may be used with: tilemap_set_flip, tilemap_mark_all_tiles_dirty */ | |
| 309 | #define ALL_TILEMAPS NULL | |
| 310 | ||
| 311 | ||
| 312 | 308 | /* maximum number of groups */ |
| 313 | 309 | #define TILEMAP_NUM_GROUPS 256 |
| 314 | 310 | |
| r5490 | r5491 | |
| 436 | 432 | /* set an enable flag for the tilemap; if 0, requests to draw the tilemap are ignored */ |
| 437 | 433 | void tilemap_set_enable(tilemap *tmap, int enable); |
| 438 | 434 | |
| 439 | /* set a global flip for the tilemap | |
| 435 | /* set a global flip for the tilemap | |
| 440 | 436 | void tilemap_set_flip(tilemap *tmap, UINT32 attributes); |
| 441 | 437 | |
| 438 | /* set a global flip for all tilemaps */ | |
| 439 | void tilemap_set_flip_all(running_machine *machine, UINT32 attributes); | |
| 442 | 440 | |
| 443 | 441 | |
| 442 | ||
| 444 | 443 | /* ----- dirty tile marking ----- */ |
| 445 | 444 | |
| 446 | 445 | /* mark a single tile dirty based on its memory index */ |
| 447 | 446 | void tilemap_mark_tile_dirty(tilemap *tmap, tilemap_memory_index memory_index); |
| 448 | 447 | |
| 449 | /* mark all the tiles | |
| 448 | /* mark all the tiles | |
| 450 | 449 | void tilemap_mark_all_tiles_dirty(tilemap *tmap); |
| 451 | 450 | |
| 451 | /* mark all the tiles dirty in all tilemaps */ | |
| 452 | void tilemap_mark_all_tiles_dirty_all(running_machine *machine); | |
| 452 | 453 | |
| 453 | 454 | |
| 455 | ||
| 454 | 456 | /* ----- pen-to-layer mapping ----- */ |
| 455 | 457 | |
| 456 | 458 | /* specify the mapping of one or more pens (where (<pen> & mask == pen) to a layer */ |
| r5490 | r5491 | |
| 519 | 521 | /* ----- indexed tilemap handling ----- */ |
| 520 | 522 | |
| 521 | 523 | /* return the number of tilemaps */ |
| 522 | int tilemap_count( | |
| 524 | int tilemap_count(running_machine *machine); | |
| 523 | 525 | |
| 524 | 526 | /* return the size of an indexed tilemap */ |
| 525 | void tilemap_size_by_index(int number, UINT32 *width, UINT32 *height); | |
| 527 | void tilemap_size_by_index(running_machine *machine, int number, UINT32 *width, UINT32 *height); | |
| 526 | 528 | |
| 527 | 529 | /* render an indexed tilemap with fixed characteristics (no priority) */ |
| 528 | void tilemap_draw_by_index(bitmap_t *dest, int number, UINT32 scrollx, UINT32 scrolly); | |
| 530 | void tilemap_draw_by_index(running_machine *machine, bitmap_t *dest, int number, UINT32 scrollx, UINT32 scrolly); | |
| 529 | 531 | |
| 530 | 532 | |
| 531 | 533 |
| r5490 | r5491 | |
|---|---|---|
| 439 | 439 | /* register for saving it */ |
| 440 | 440 | state_save_register_global_pointer(machine, buffered_spriteram, spriteram_size); |
| 441 | 441 | |
| 442 | /* do the same for the secon back buffer, if present */ | |
| 442 | /* do the same for the second back buffer, if present */ | |
| 443 | 443 | if (spriteram_2_size) |
| 444 | 444 | { |
| 445 | 445 | /* allocate memory */ |
| r5490 | r5491 | |
| 796 | 796 | { |
| 797 | 797 | UINT32 flags = UPDATE_HAS_NOT_CHANGED; |
| 798 | 798 | |
| 799 | profiler_mark(PROFILER_VIDEO); | |
| 799 | profiler_mark_start(PROFILER_VIDEO); | |
| 800 | 800 | LOG_PARTIAL_UPDATES(("updating %d-%d\n", clip.min_y, clip.max_y)); |
| 801 | 801 | |
| 802 | 802 | if (screen->machine->config->video_update != NULL) |
| 803 | 803 | flags = (*screen->machine->config->video_update)(screen, state->bitmap[state->curbitmap], &clip); |
| 804 | 804 | global.partial_updates_this_frame++; |
| 805 | profiler_mark | |
| 805 | profiler_mark | |
| 806 | 806 | |
| 807 | 807 | /* if we modified the bitmap, we have to commit */ |
| 808 | 808 | state->changed |= ~flags & UPDATE_HAS_NOT_CHANGED; |
| r5490 | r5491 | |
| 1455 | 1455 | update_throttle(machine, current_time); |
| 1456 | 1456 | |
| 1457 | 1457 | /* ask the OSD to update */ |
| 1458 | profiler_mark(PROFILER_BLIT); | |
| 1458 | profiler_mark_start(PROFILER_BLIT); | |
| 1459 | 1459 | osd_update(machine, !debug && skipped_it); |
| 1460 | profiler_mark | |
| 1460 | profiler_mark | |
| 1461 | 1461 | |
| 1462 | 1462 | /* perform tasks for this frame */ |
| 1463 | 1463 | if (!debug) |
| r5490 | r5491 | |
| 1484 | 1484 | /* otherwise, call the video EOF callback */ |
| 1485 | 1485 | else if (machine->config->video_eof != NULL) |
| 1486 | 1486 | { |
| 1487 | profiler_mark(PROFILER_VIDEO); | |
| 1487 | profiler_mark_start(PROFILER_VIDEO); | |
| 1488 | 1488 | (*machine->config->video_eof)(machine); |
| 1489 | profiler_mark | |
| 1489 | profiler_mark | |
| 1490 | 1490 | } |
| 1491 | 1491 | } |
| 1492 | 1492 | } |
| r5490 | r5491 | |
| 1911 | 1911 | allowed_to_sleep = TRUE; |
| 1912 | 1912 | |
| 1913 | 1913 | /* loop until we reach our target */ |
| 1914 | profiler_mark(PROFILER_IDLE); | |
| 1914 | profiler_mark_start(PROFILER_IDLE); | |
| 1915 | 1915 | while (current_ticks < target_ticks) |
| 1916 | 1916 | { |
| 1917 | 1917 | osd_ticks_t delta; |
| r5490 | r5491 | |
| 1949 | 1949 | } |
| 1950 | 1950 | current_ticks = new_ticks; |
| 1951 | 1951 | } |
| 1952 | profiler_mark | |
| 1952 | profiler_mark | |
| 1953 | 1953 | |
| 1954 | 1954 | return current_ticks; |
| 1955 | 1955 | } |
| r5490 | r5491 | |
| 2415 | 2415 | png_info pnginfo = { 0 }; |
| 2416 | 2416 | png_error error; |
| 2417 | 2417 | |
| 2418 | profiler_mark(PROFILER_MOVIE_REC); | |
| 2418 | profiler_mark_start(PROFILER_MOVIE_REC); | |
| 2419 | 2419 | |
| 2420 | 2420 | /* create the bitmap */ |
| 2421 | 2421 | create_snapshot_bitmap(NULL); |
| r5490 | r5491 | |
| 2451 | 2451 | global.movie_frame++; |
| 2452 | 2452 | } |
| 2453 | 2453 | |
| 2454 | profiler_mark | |
| 2454 | profiler_mark | |
| 2455 | 2455 | } |
| 2456 | 2456 | } |
| 2457 | 2457 | |
| r5490 | r5491 | |
| 2556 | 2556 | attotime curtime = timer_get_time(machine); |
| 2557 | 2557 | avi_error avierr; |
| 2558 | 2558 | |
| 2559 | profiler_mark(PROFILER_MOVIE_REC); | |
| 2559 | profiler_mark_start(PROFILER_MOVIE_REC); | |
| 2560 | 2560 | |
| 2561 | 2561 | /* create the bitmap */ |
| 2562 | 2562 | create_snapshot_bitmap(NULL); |
| r5490 | r5491 | |
| 2577 | 2577 | global.movie_frame++; |
| 2578 | 2578 | } |
| 2579 | 2579 | |
| 2580 | profiler_mark | |
| 2580 | profiler_mark | |
| 2581 | 2581 | } |
| 2582 | 2582 | } |
| 2583 | 2583 | |
| r5490 | r5491 | |
| 2594 | 2594 | { |
| 2595 | 2595 | avi_error avierr; |
| 2596 | 2596 | |
| 2597 | profiler_mark(PROFILER_MOVIE_REC); | |
| 2597 | profiler_mark_start(PROFILER_MOVIE_REC); | |
| 2598 | 2598 | |
| 2599 | 2599 | /* write the next frame */ |
| 2600 | 2600 | avierr = avi_append_sound_samples(global.avifile, 0, sound + 0, numsamples, 1); |
| r5490 | r5491 | |
| 2603 | 2603 | if (avierr != AVIERR_NONE) |
| 2604 | 2604 | video_avi_end_recording(machine); |
| 2605 | 2605 | |
| 2606 | profiler_mark | |
| 2606 | profiler_mark | |
| 2607 | 2607 | } |
| 2608 | 2608 | } |
| 2609 | 2609 |
| r5490 | r5491 | |
|---|---|---|
| 459 | 459 | UINT32 entry; |
| 460 | 460 | UINT8 result; |
| 461 | 461 | |
| 462 | profiler_mark(PROFILER_MEMREAD); | |
| 462 | profiler_mark_start(PROFILER_MEMREAD); | |
| 463 | 463 | |
| 464 | 464 | byteaddress &= space->bytemask; |
| 465 | 465 | entry = space->readlookup[LEVEL1_INDEX(byteaddress)]; |
| r5490 | r5491 | |
| 473 | 473 | else |
| 474 | 474 | result = (*handler->handler.read.shandler8)((const address_space *)handler->object, byteoffset); |
| 475 | 475 | |
| 476 | profiler_mark | |
| 476 | profiler_mark | |
| 477 | 477 | return result; |
| 478 | 478 | } |
| 479 | 479 | |
| r5490 | r5491 | |
| 489 | 489 | offs_t byteoffset; |
| 490 | 490 | UINT32 entry; |
| 491 | 491 | |
| 492 | profiler_mark(PROFILER_MEMWRITE); | |
| 492 | profiler_mark_start(PROFILER_MEMWRITE); | |
| 493 | 493 | |
| 494 | 494 | byteaddress &= space->bytemask; |
| 495 | 495 | entry = space->writelookup[LEVEL1_INDEX(byteaddress)]; |
| r5490 | r5491 | |
| 503 | 503 | else |
| 504 | 504 | (*handler->handler.write.shandler8)((const address_space *)handler->object, byteoffset, data); |
| 505 | 505 | |
| 506 | profiler_mark | |
| 506 | profiler_mark | |
| 507 | 507 | } |
| 508 | 508 | |
| 509 | 509 | |
| r5490 | r5491 | |
| 519 | 519 | UINT32 entry; |
| 520 | 520 | UINT16 result; |
| 521 | 521 | |
| 522 | profiler_mark(PROFILER_MEMREAD); | |
| 522 | profiler_mark_start(PROFILER_MEMREAD); | |
| 523 | 523 | |
| 524 | 524 | byteaddress &= space->bytemask; |
| 525 | 525 | entry = space->readlookup[LEVEL1_INDEX(byteaddress)]; |
| r5490 | r5491 | |
| 533 | 533 | else |
| 534 | 534 | result = (*handler->handler.read.shandler16)((const address_space *)handler->object, byteoffset >> 1, mem_mask); |
| 535 | 535 | |
| 536 | profiler_mark | |
| 536 | profiler_mark | |
| 537 | 537 | return result; |
| 538 | 538 | } |
| 539 | 539 | |
| r5490 | r5491 | |
| 549 | 549 | offs_t byteoffset; |
| 550 | 550 | UINT32 entry; |
| 551 | 551 | |
| 552 | profiler_mark(PROFILER_MEMWRITE); | |
| 552 | profiler_mark_start(PROFILER_MEMWRITE); | |
| 553 | 553 | |
| 554 | 554 | byteaddress &= space->bytemask; |
| 555 | 555 | entry = space->writelookup[LEVEL1_INDEX(byteaddress)]; |
| r5490 | r5491 | |
| 566 | 566 | else |
| 567 | 567 | (*handler->handler.write.shandler16)((const address_space *)handler->object, byteoffset >> 1, data, mem_mask); |
| 568 | 568 | |
| 569 | profiler_mark | |
| 569 | profiler_mark | |
| 570 | 570 | } |
| 571 | 571 | |
| 572 | 572 | |
| r5490 | r5491 | |
| 582 | 582 | UINT32 entry; |
| 583 | 583 | UINT32 result; |
| 584 | 584 | |
| 585 | profiler_mark(PROFILER_MEMREAD); | |
| 585 | profiler_mark_start(PROFILER_MEMREAD); | |
| 586 | 586 | |
| 587 | 587 | byteaddress &= space->bytemask; |
| 588 | 588 | entry = space->readlookup[LEVEL1_INDEX(byteaddress)]; |
| r5490 | r5491 | |
| 596 | 596 | else |
| 597 | 597 | result = (*handler->handler.read.shandler32)((const address_space *)handler->object, byteoffset >> 2, mem_mask); |
| 598 | 598 | |
| 599 | profiler_mark | |
| 599 | profiler_mark | |
| 600 | 600 | return result; |
| 601 | 601 | } |
| 602 | 602 | |
| r5490 | r5491 | |
| 612 | 612 | offs_t byteoffset; |
| 613 | 613 | UINT32 entry; |
| 614 | 614 | |
| 615 | profiler_mark(PROFILER_MEMWRITE); | |
| 615 | profiler_mark_start(PROFILER_MEMWRITE); | |
| 616 | 616 | |
| 617 | 617 | byteaddress &= space->bytemask; |
| 618 | 618 | entry = space->writelookup[LEVEL1_INDEX(byteaddress)]; |
| r5490 | r5491 | |
| 629 | 629 | else |
| 630 | 630 | (*handler->handler.write.shandler32)((const address_space *)handler->object, byteoffset >> 2, data, mem_mask); |
| 631 | 631 | |
| 632 | profiler_mark | |
| 632 | profiler_mark | |
| 633 | 633 | } |
| 634 | 634 | |
| 635 | 635 | |
| r5490 | r5491 | |
| 645 | 645 | UINT32 entry; |
| 646 | 646 | UINT64 result; |
| 647 | 647 | |
| 648 | profiler_mark(PROFILER_MEMREAD); | |
| 648 | profiler_mark_start(PROFILER_MEMREAD); | |
| 649 | 649 | |
| 650 | 650 | byteaddress &= space->bytemask; |
| 651 | 651 | entry = space->readlookup[LEVEL1_INDEX(byteaddress)]; |
| r5490 | r5491 | |
| 659 | 659 | else |
| 660 | 660 | result = (*handler->handler.read.shandler64)((const address_space *)handler->object, byteoffset >> 3, mem_mask); |
| 661 | 661 | |
| 662 | profiler_mark | |
| 662 | profiler_mark | |
| 663 | 663 | return result; |
| 664 | 664 | } |
| 665 | 665 | |
| r5490 | r5491 | |
| 675 | 675 | offs_t offset; |
| 676 | 676 | UINT32 entry; |
| 677 | 677 | |
| 678 | profiler_mark(PROFILER_MEMWRITE); | |
| 678 | profiler_mark_start(PROFILER_MEMWRITE); | |
| 679 | 679 | |
| 680 | 680 | byteaddress &= space->bytemask; |
| 681 | 681 | entry = space->writelookup[LEVEL1_INDEX(byteaddress)]; |
| r5490 | r5491 | |
| 692 | 692 | else |
| 693 | 693 | (*handler->handler.write.shandler64)((const address_space *)handler->object, offset >> 3, data, mem_mask); |
| 694 | 694 | |
| 695 | profiler_mark | |
| 695 | profiler_mark | |
| 696 | 696 | } |
| 697 | 697 | |
| 698 | 698 |
| r5490 | r5491 | |
|---|---|---|
| 1941 | 1941 | INT32 mouse_target_y; |
| 1942 | 1942 | int mouse_button; |
| 1943 | 1943 | |
| 1944 | profiler_mark(PROFILER_INPUT); | |
| 1944 | profiler_mark_start(PROFILER_INPUT); | |
| 1945 | 1945 | |
| 1946 | 1946 | /* record/playback information about the current frame */ |
| 1947 | 1947 | playback_frame(machine, curtime); |
| r5490 | r5491 | |
| 2024 | 2024 | record_port(port); |
| 2025 | 2025 | } |
| 2026 | 2026 | |
| 2027 | profiler_mark | |
| 2027 | profiler_mark | |
| 2028 | 2028 | } |
| 2029 | 2029 | |
| 2030 | 2030 |
| r5490 | r5491 | |
|---|---|---|
| 353 | 353 | mame->hard_reset_pending = FALSE; |
| 354 | 354 | while ((!mame->hard_reset_pending && !mame->exit_pending) || mame->saveload_pending_file != NULL) |
| 355 | 355 | { |
| 356 | profiler_mark(PROFILER_EXTRA); | |
| 356 | profiler_mark_start(PROFILER_EXTRA); | |
| 357 | 357 | |
| 358 | 358 | /* execute CPUs if not paused */ |
| 359 | 359 | if (!mame->paused) |
| r5490 | r5491 | |
| 367 | 367 | if (mame->saveload_schedule_callback != NULL) |
| 368 | 368 | (*mame->saveload_schedule_callback)(machine); |
| 369 | 369 | |
| 370 | profiler_mark | |
| 370 | profiler_mark | |
| 371 | 371 | } |
| 372 | 372 | |
| 373 | 373 | /* and out via the exit phase */ |
| r5490 | r5491 | |
| 1218 | 1218 | { |
| 1219 | 1219 | va_list arg; |
| 1220 | 1220 | |
| 1221 | profiler_mark(PROFILER_LOGERROR); | |
| 1221 | profiler_mark_start(PROFILER_LOGERROR); | |
| 1222 | 1222 | |
| 1223 | 1223 | /* dump to the buffer */ |
| 1224 | 1224 | va_start(arg, format); |
| r5490 | r5491 | |
| 1229 | 1229 | for (cb = mame->logerror_callback_list; cb; cb = cb->next) |
| 1230 | 1230 | (*cb->func.log)(machine, giant_string_buffer); |
| 1231 | 1231 | |
| 1232 | profiler_mark | |
| 1232 | profiler_mark | |
| 1233 | 1233 | } |
| 1234 | 1234 | } |
| 1235 | 1235 | } |
| r5490 | r5491 | |
|---|---|---|
| 83 | 83 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, MAHJONG_FLIP_FLOP, "P1 Mahjong Flip Flop", SEQ_DEF_1(KEYCODE_Y) ) |
| 84 | 84 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, MAHJONG_BIG, "P1 Mahjong Big", SEQ_DEF_1(KEYCODE_ENTER) ) |
| 85 | 85 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, MAHJONG_SMALL, "P1 Mahjong Small", SEQ_DEF_1(KEYCODE_BACKSPACE) ) |
| 86 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, HANAFUDA_A, "P1 Hanafuda A / 1", SEQ_DEF_1(KEYCODE_A) ) | |
| 87 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, HANAFUDA_B, "P1 Hanafuda B / 2", SEQ_DEF_1(KEYCODE_B) ) | |
| 88 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, HANAFUDA_C, "P1 Hanafuda C / 3", SEQ_DEF_1(KEYCODE_C) ) | |
| 89 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, HANAFUDA_D, "P1 Hanafuda D / 4", SEQ_DEF_1(KEYCODE_D) ) | |
| 90 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, HANAFUDA_E, "P1 Hanafuda E / 5", SEQ_DEF_1(KEYCODE_E) ) | |
| 91 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, HANAFUDA_F, "P1 Hanafuda F / 6", SEQ_DEF_1(KEYCODE_F) ) | |
| 92 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, HANAFUDA_G, "P1 Hanafuda G / 7", SEQ_DEF_1(KEYCODE_G) ) | |
| 93 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, HANAFUDA_H, "P1 Hanafuda H / 8", SEQ_DEF_1(KEYCODE_H) ) | |
| 94 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, HANAFUDA_YES, "P1 Hanafuda Yes", SEQ_DEF_1(KEYCODE_M) ) | |
| 95 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, HANAFUDA_NO, "P1 Hanafuda No", SEQ_DEF_1(KEYCODE_N) ) | |
| 86 | 96 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, GAMBLE_HIGH, "High", SEQ_DEF_1(KEYCODE_A) ) |
| 87 | 97 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, GAMBLE_LOW, "Low", SEQ_DEF_1(KEYCODE_S) ) |
| 88 | 98 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, GAMBLE_HALF, "Half Gamble", SEQ_DEF_1(KEYCODE_D) ) |
| r5490 | r5491 | |
| 103 | 113 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, POKER_HOLD4, "Hold 4", SEQ_DEF_1(KEYCODE_V) ) |
| 104 | 114 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, POKER_HOLD5, "Hold 5", SEQ_DEF_1(KEYCODE_B) ) |
| 105 | 115 | 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) ) | |
| 116 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, SLOT_STOP1, "Stop Reel 1", SEQ_DEF_1(KEYCODE_X) ) | |
| 117 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, SLOT_STOP2, "Stop Reel 2", SEQ_DEF_1(KEYCODE_C) ) | |
| 118 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, SLOT_STOP3, "Stop Reel 3", SEQ_DEF_1(KEYCODE_V) ) | |
| 119 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, SLOT_STOP4, "Stop Reel 4", SEQ_DEF_1(KEYCODE_B) ) | |
| 120 | INPUT_PORT_DIGITAL_TYPE( 1, PLAYER1, SLOT_STOP_ALL, "Stop All Reels", SEQ_DEF_1(KEYCODE_Z) ) | |
| 110 | 121 | |
| 111 | 122 | INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, JOYSTICK_UP, "P2 Up", SEQ_DEF_3(KEYCODE_R, SEQCODE_OR, INDEXED(JOYCODE_Y_UP_SWITCH, 1)) ) |
| 112 | 123 | INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, JOYSTICK_DOWN, "P2 Down", SEQ_DEF_3(KEYCODE_F, SEQCODE_OR, INDEXED(JOYCODE_Y_DOWN_SWITCH, 1)) ) |
| r5490 | r5491 | |
| 167 | 178 | INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, MAHJONG_FLIP_FLOP, "P2 Mahjong Flip Flop", SEQ_DEF_0 ) |
| 168 | 179 | INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, MAHJONG_BIG, "P2 Mahjong Big", SEQ_DEF_0 ) |
| 169 | 180 | INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, MAHJONG_SMALL, "P2 Mahjong Small", SEQ_DEF_0 ) |
| 181 | INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, HANAFUDA_A, "P2 Hanafuda A / 1", SEQ_DEF_0 ) | |
| 182 | INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, HANAFUDA_B, "P2 Hanafuda B / 2", SEQ_DEF_0 ) | |
| 183 | INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, HANAFUDA_C, "P2 Hanafuda C / 3", SEQ_DEF_0 ) | |
| 184 | INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, HANAFUDA_D, "P2 Hanafuda D / 4", SEQ_DEF_0 ) | |
| 185 | INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, HANAFUDA_E, "P2 Hanafuda E / 5", SEQ_DEF_0 ) | |
| 186 | INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, HANAFUDA_F, "P2 Hanafuda F / 6", SEQ_DEF_0 ) | |
| 187 | INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, HANAFUDA_G, "P2 Hanafuda G / 7", SEQ_DEF_0 ) | |
| 188 | INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, HANAFUDA_H, "P2 Hanafuda H / 8", SEQ_DEF_0 ) | |
| 189 | INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, HANAFUDA_YES, "P2 Hanafuda Yes", SEQ_DEF_0 ) | |
| 190 | INPUT_PORT_DIGITAL_TYPE( 2, PLAYER2, HANAFUDA_NO, "P2 Hanafuda No", SEQ_DEF_0 ) | |
| 170 | 191 | |
| 171 | 192 | INPUT_PORT_DIGITAL_TYPE( 3, PLAYER3, JOYSTICK_UP, "P3 Up", SEQ_DEF_3(KEYCODE_I, SEQCODE_OR, INDEXED(JOYCODE_Y_UP_SWITCH, 2)) ) |
| 172 | 193 | INPUT_PORT_DIGITAL_TYPE( 3, PLAYER3, JOYSTICK_DOWN, "P3 Down", SEQ_DEF_3(KEYCODE_K, SEQCODE_OR, INDEXED(JOYCODE_Y_DOWN_SWITCH, 2)) ) |
| r5490 | r5491 | |
|---|---|---|
| 237 | 237 | /* TODO: get rid of this ifdef MESS section */ |
| 238 | 238 | our_this->disk = mess_hd_get_hard_disk_file( devtag_get_device( machine, diskregion ) ); |
| 239 | 239 | #else |
| 240 | our_this->disk = hard_disk_open(get_disk_handle( diskregion )); | |
| 240 | our_this->disk = hard_disk_open(get_disk_handle( machine, diskregion )); | |
| 241 | 241 | |
| 242 | 242 | if (!our_this->disk) |
| 243 | 243 | { |
| r5490 | r5491 | |
|---|---|---|
| 1801 | 1801 | |
| 1802 | 1802 | /* set MAME harddisk handle */ |
| 1803 | 1803 | config = (const ide_config *)device->inline_config; |
| 1804 | ide->handle = get_disk_handle((config->master != NULL) ? config->master : device->tag); | |
| 1804 | ide->handle = get_disk_handle(device->machine, (config->master != NULL) ? config->master : device->tag); | |
| 1805 | 1805 | ide->disk = hard_disk_open(ide->handle); |
| 1806 | 1806 | assert_always(config->slave == NULL, "IDE controller does not yet support slave drives\n"); |
| 1807 | 1807 |
| r5490 | r5491 | |
|---|---|---|
| 695 | 695 | /* TODO: get rid of this ifdef MESS section */ |
| 696 | 696 | our_this->cdrom = mess_cd_get_cdrom_file( devtag_get_device( machine, diskregion ) ); |
| 697 | 697 | #else |
| 698 | our_this->cdrom = cdrom_open(get_disk_handle( diskregion )); | |
| 698 | our_this->cdrom = cdrom_open(get_disk_handle( machine, diskregion )); | |
| 699 | 699 | |
| 700 | 700 | if (!our_this->cdrom) |
| 701 | 701 | { |
| r5490 | r5491 | |
|---|---|---|
| 1327 | 1327 | if (config->getdisc != NULL) |
| 1328 | 1328 | ldcore->disc = (*config->getdisc)(device); |
| 1329 | 1329 | else |
| 1330 | ldcore->disc = get_disk_handle(device->tag); | |
| 1330 | ldcore->disc = get_disk_handle(device->machine, device->tag); | |
| 1331 | 1331 | |
| 1332 | 1332 | /* set default parameters */ |
| 1333 | 1333 | ldcore->width = 720; |
| r5490 | r5491 | |
|---|---|---|
| 38 | 38 | int size; |
| 39 | 39 | int bits; |
| 40 | 40 | int status; |
| 41 | int erase_sector; | |
| 41 | 42 | INT32 flash_mode; |
| 42 | 43 | INT32 flash_master_lock; |
| 43 | 44 | int device_id; |
| r5490 | r5491 | |
| 122 | 123 | c->maker_id = 0xb0; |
| 123 | 124 | c->device_id = 0xd0; |
| 124 | 125 | break; |
| 126 | case FLASH_SHARP_UNK128MBIT: | |
| 127 | c->bits = 16; | |
| 128 | c->size = 0x800000; | |
| 129 | c->maker_id = 0xb0; | |
| 130 | c->device_id = 0xb0; | |
| 131 | break; | |
| 132 | case FLASH_MACRONIX_29L001MC: | |
| 133 | c->bits = 8; | |
| 134 | c->size = 0x20000; | |
| 135 | c->maker_id = 0xc2; | |
| 136 | c->device_id = 0x51; | |
| 137 | break; | |
| 125 | 138 | } |
| 126 | 139 | if( data == NULL ) |
| 127 | 140 | { |
| r5490 | r5491 | |
| 208 | 221 | } |
| 209 | 222 | break; |
| 210 | 223 | case FM_ERASEAMD4: |
| 211 | c->status ^= ( 1 << 6 ) | ( 1 << 2 ); | |
| 212 | data = c->status; | |
| 224 | // reads outside of the erasing sector return normal data | |
| 225 | if ((address < c->erase_sector) || (address >= c->erase_sector+(64*1024))) | |
| 226 | { | |
| 227 | switch( c->bits ) | |
| 228 | { | |
| 229 | case 8: | |
| 230 | { | |
| 231 | UINT8 *flash_memory = (UINT8 *)c->flash_memory; | |
| 232 | data = flash_memory[ address ]; | |
| 233 | } | |
| 234 | break; | |
| 235 | case 16: | |
| 236 | { | |
| 237 | UINT16 *flash_memory = (UINT16 *)c->flash_memory; | |
| 238 | data = flash_memory[ address ]; | |
| 239 | } | |
| 240 | break; | |
| 241 | } | |
| 242 | } | |
| 243 | else | |
| 244 | { | |
| 245 | c->status ^= ( 1 << 6 ) | ( 1 << 2 ); | |
| 246 | data = c->status; | |
| 247 | } | |
| 213 | 248 | break; |
| 214 | 249 | } |
| 215 | 250 | |
| r5490 | r5491 | |
| 348 | 383 | { |
| 349 | 384 | UINT8 *flash_memory = (UINT8 *)c->flash_memory; |
| 350 | 385 | memset( &flash_memory[ address & ~0xffff ], 0xff, 64 * 1024 ); |
| 386 | c->erase_sector = address & ~0xffff; | |
| 351 | 387 | } |
| 352 | 388 | break; |
| 353 | 389 | case 16: |
| 354 | 390 | { |
| 355 | 391 | UINT16 *flash_memory = (UINT16 *)c->flash_memory; |
| 356 | 392 | memset( &flash_memory[ address & ~0x7fff ], 0xff, 64 * 1024 ); |
| 393 | c->erase_sector = address & ~0x7fff; | |
| 357 | 394 | } |
| 358 | 395 | break; |
| 359 | 396 | } |
| r5490 | r5491 | |
|---|---|---|
| 14 | 14 | #define FLASH_INTEL_TE28F160 ( 4 ) |
| 15 | 15 | #define FLASH_SHARP_LH28F016S ( 5 ) |
| 16 | 16 | #define FLASH_INTEL_E28F400 ( 6 ) |
| 17 | #define FLASH_SHARP_UNK128MBIT ( 7 ) | |
| 18 | #define FLASH_MACRONIX_29L001MC ( 8 ) | |
| 17 | 19 | |
| 18 | 20 | extern void intelflash_init( running_machine *machine, int chip, int type, void *data ); |
| 19 | 21 | extern UINT32 intelflash_read( int chip, UINT32 address ); |
| r5490 | r5491 | |
|---|---|---|
| 640 | 640 | attotime elapsed_time = attotime_sub(now,timer->last_updated); |
| 641 | 641 | INT64 elapsed_cycles = attotime_to_double(elapsed_time) * timer->clockin; |
| 642 | 642 | |
| 643 | LOG1(("pit8253: update(): timer %d, % | |
| 643 | LOG1(("pit8253: update(): timer %d, %" I64FMT "d elapsed_cycles\n", timer->index, elapsed_cycles)); | |
| 644 | 644 | |
| 645 | 645 | if ( timer->clockin ) |
| 646 | 646 | { |
| r5490 | r5491 | |
|---|---|---|
| 220 | 220 | IPT_MAHJONG_BIG, |
| 221 | 221 | IPT_MAHJONG_SMALL, |
| 222 | 222 | |
| 223 | /* hanafuda inputs */ | |
| 224 | IPT_HANAFUDA_A, | |
| 225 | IPT_HANAFUDA_B, | |
| 226 | IPT_HANAFUDA_C, | |
| 227 | IPT_HANAFUDA_D, | |
| 228 | IPT_HANAFUDA_E, | |
| 229 | IPT_HANAFUDA_F, | |
| 230 | IPT_HANAFUDA_G, | |
| 231 | IPT_HANAFUDA_H, | |
| 232 | IPT_HANAFUDA_YES, | |
| 233 | IPT_HANAFUDA_NO, | |
| 234 | ||
| 223 | 235 | /* gambling inputs */ |
| 224 | 236 | IPT_GAMBLE_HIGH, |
| 225 | 237 | IPT_GAMBLE_LOW, |
| r5490 | r5491 | |
| 248 | 260 | IPT_SLOT_STOP1, |
| 249 | 261 | IPT_SLOT_STOP2, |
| 250 | 262 | IPT_SLOT_STOP3, |
| 263 | IPT_SLOT_STOP4, | |
| 251 | 264 | IPT_SLOT_STOP_ALL, |
| 252 | 265 | |
| 253 | 266 | /* analog inputs */ |
| r5490 | r5491 | |
|---|---|---|
| 130 | 130 | typedef struct _state_private state_private; |
| 131 | 131 | typedef struct _memory_private memory_private; |
| 132 | 132 | typedef struct _palette_private palette_private; |
| 133 | typedef struct _tilemap_private tilemap_private; | |
| 133 | 134 | typedef struct _streams_private streams_private; |
| 134 | 135 | typedef struct _devices_private devices_private; |
| 136 | typedef struct _romload_private romload_private; | |
| 135 | 137 | typedef struct _input_port_private input_port_private; |
| 136 | 138 | typedef struct _ui_input_private ui_input_private; |
| 137 | 139 | typedef struct _cheat_private cheat_private; |
| r5490 | r5491 | |
| 178 | 180 | state_private * state_data; /* internal data from state.c */ |
| 179 | 181 | memory_private * memory_data; /* internal data from memory.c */ |
| 180 | 182 | palette_private * palette_data; /* internal data from palette.c */ |
| 183 | tilemap_private * tilemap_data; /* internal data from tilemap.c */ | |
| 181 | 184 | streams_private * streams_data; /* internal data from streams.c */ |
| 182 | 185 | devices_private * devices_data; /* internal data from devices.c */ |
| 186 | romload_private * romload_data; /* internal data from romload.c */ | |
| 183 | 187 | input_port_private * input_port_data; /* internal data from inptport.c */ |
| 184 | 188 | ui_input_private * ui_input_data; /* internal data from uiinput.c */ |
| 185 | 189 | cheat_private * cheat_data; /* internal data from cheat.c */ |
| r5490 | r5491 | |
| 221 | 225 | |
| 222 | 226 | |
| 223 | 227 | /*************************************************************************** |
| 224 | GLOBAL VAR | |
| 228 | GLOBAL VAR | |
| 225 | 229 | ***************************************************************************/ |
| 226 | 230 | |
| 227 | 231 | extern const char mame_disclaimer[]; |
| r5490 | r5491 | |
|---|---|---|
| 318 | 318 | /* if we're not suspended, actually execute */ |
| 319 | 319 | if (classdata->suspend == 0) |
| 320 | 320 | { |
| 321 | profiler_mark(classdata->profiler); | |
| 321 | profiler_mark_start(classdata->profiler); | |
| 322 | 322 | |
| 323 | 323 | /* note that this global variable cycles_stolen can be modified */ |
| 324 | 324 | /* via the call to cpu_execute */ |
| r5490 | r5491 | |
| 337 | 337 | /* adjust for any cycles we took back */ |
| 338 | 338 | assert(ran >= classdata->cycles_stolen); |
| 339 | 339 | ran -= classdata->cycles_stolen; |
| 340 | profiler_mark | |
| 340 | profiler_mark | |
| 341 | 341 | } |
| 342 | 342 | |
| 343 | 343 | /* account for these cycles */ |
| r5490 | r5491 | |
|---|---|---|
| 57 | 57 | ***********************************************************************************************/ |
| 58 | 58 | |
| 59 | 59 | #include "sndintrf.h" |
| 60 | #include "streams.h" | |
| 60 | 61 | #include "tms5110.h" |
| 61 | 62 | |
| 63 | #define MAX_SAMPLE_CHUNK 512 | |
| 64 | ||
| 62 | 65 | #define MAX_K 10 |
| 63 | 66 | #define MAX_SCALE_BITS 6 |
| 64 | 67 | #define MAX_SCALE (1<<MAX_SCALE_BITS) |
| r5490 | r5491 | |
| 69 | 72 | #define FIFO_SIZE 64 |
| 70 | 73 | #define MAX_CHIRP_SIZE 51 |
| 71 | 74 | |
| 75 | /* Variants */ | |
| 76 | ||
| 77 | #define TMS5110_IS_5110A (1) | |
| 78 | #define TMS5110_IS_5100 (2) | |
| 79 | #define TMS5110_IS_5110 (3) | |
| 80 | ||
| 81 | #define TMS5110_IS_CD2801 TMS5110_IS_5100 | |
| 82 | #define TMS5110_IS_TMC0281 TMS5110_IS_5100 | |
| 83 | ||
| 84 | #define TMS5110_IS_CD2802 TMS5110_IS_5110 | |
| 85 | #define TMS5110_IS_M58817 TMS5110_IS_5110 | |
| 86 | ||
| 72 | 87 | struct tms5100_coeffs |
| 73 | 88 | { |
| 74 | 89 | int subtype; |
| r5490 | r5491 | |
| 83 | 98 | INT8 interp_coeff[8]; |
| 84 | 99 | }; |
| 85 | 100 | |
| 86 | struct tms5110 | |
| 101 | typedef struct _tms5110_state tms5110_state; | |
| 102 | struct _tms5110_state | |
| 87 | 103 | { |
| 88 | 104 | /* coefficient tables */ |
| 89 | 105 | int variant; /* Variant of the 5110 - see tms5110.h */ |
| r5490 | r5491 | |
| 141 | 157 | INT32 x[11]; |
| 142 | 158 | |
| 143 | 159 | INT32 RNG; /* the random noise generator configuration is: 1 + x + x^3 + x^4 + x^13 */ |
| 160 | ||
| 161 | const tms5110_interface *intf; | |
| 162 | const UINT8 *table; | |
| 163 | sound_stream *stream; | |
| 164 | INT32 speech_rom_bitnum; | |
| 144 | 165 | }; |
| 145 | 166 | |
| 146 | 167 | |
| r5490 | r5491 | |
| 149 | 170 | |
| 150 | 171 | |
| 151 | 172 | |
| 173 | INLINE tms5110_state *get_safe_token(const device_config *device) | |
| 174 | { | |
| 175 | assert(device != NULL); | |
| 176 | assert(device->token != NULL); | |
| 177 | assert(device->type == SOUND); | |
| 178 | assert(sound_get_type(device) == SOUND_TMS5110 || | |
| 179 | sound_get_type(device) == SOUND_TMS5100 || | |
| 180 | sound_get_type(device) == SOUND_TMS5110A || | |
| 181 | sound_get_type(device) == SOUND_CD2801 || | |
| 182 | sound_get_type(device) == SOUND_TMC0281 || | |
| 183 | sound_get_type(device) == SOUND_CD2802 || | |
| 184 | sound_get_type(device) == SOUND_M58817); | |
| 185 | return (tms5110_state *)device->token; | |
| 186 | } | |
| 187 | ||
| 188 | ||
| 152 | 189 | /* Static function prototypes */ |
| 153 | static void parse_frame(struct tms5110 *tms); | |
| 190 | static void tms5110_set_variant(tms5110_state *tms, int variant); | |
| 191 | static void tms5110_PDC_set(tms5110_state *tms, int data); | |
| 192 | static void tms5110_process(tms5110_state *tms, INT16 *buffer, unsigned int size); | |
| 193 | static void parse_frame(tms5110_state *tms); | |
| 194 | static STREAM_UPDATE( tms5110_update ); | |
| 154 | 195 | |
| 155 | 196 | |
| 156 | 197 | #define DEBUG_5110 0 |
| 157 | 198 | |
| 158 | void tms5110_set_variant( | |
| 199 | void tms5110_set_variant(tms5110_state *tms | |
| 159 | 200 | { |
| 160 | struct tms5110 *tms = (struct tms5110 *)chip; | |
| 161 | ||
| 162 | 201 | switch (variant) |
| 163 | 202 | { |
| 164 | 203 | case TMS5110_IS_5110A: |
| r5490 | r5491 | |
| 177 | 216 | tms->variant = variant; |
| 178 | 217 | } |
| 179 | 218 | |
| 180 | void *tms5110_create(const device_config *device, int variant) | |
| 181 | { | |
| 182 | struct tms5110 *tms; | |
| 183 | 219 | |
| 184 | tms = alloc_clear_or_die(struct tms5110); | |
| 185 | ||
| 186 | tms->device = device; | |
| 187 | tms5110_set_variant(tms, variant); | |
| 188 | ||
| 189 | state_save_register_device_item_array(device, 0, tms->fifo); | |
| 190 | state_save_register_device_item(device, 0, tms->fifo_head); | |
| 191 | state_save_register_device_item(device, 0, tms->fifo_tail); | |
| 192 | state_save_register_device_item(device, 0, tms->fifo_count); | |
| 193 | ||
| 194 | state_save_register_device_item(device, 0, tms->PDC); | |
| 195 | state_save_register_device_item(device, 0, tms->CTL_pins); | |
| 196 | state_save_register_device_item(device, 0, tms->speaking_now); | |
| 197 | state_save_register_device_item(device, 0, tms->speak_delay_frames); | |
| 198 | state_save_register_device_item(device, 0, tms->talk_status); | |
| 199 | ||
| 200 | state_save_register_device_item(device, 0, tms->old_energy); | |
| 201 | state_save_register_device_item(device, 0, tms->old_pitch); | |
| 202 | state_save_register_device_item_array(device, 0, tms->old_k); | |
| 203 | ||
| 204 | state_save_register_device_item(device, 0, tms->new_energy); | |
| 205 | state_save_register_device_item(device, 0, tms->new_pitch); | |
| 206 | state_save_register_device_item_array(device, 0, tms->new_k); | |
| 207 | ||
| 208 | state_save_register_device_item(device, 0, tms->current_energy); | |
| 209 | state_save_register_device_item(device, 0, tms->current_pitch); | |
| 210 | state_save_register_device_item_array(device, 0, tms->current_k); | |
| 211 | ||
| 212 | state_save_register_device_item(device, 0, tms->target_energy); | |
| 213 | state_save_register_device_item(device, 0, tms->target_pitch); | |
| 214 | state_save_register_device_item_array(device, 0, tms->target_k); | |
| 215 | ||
| 216 | state_save_register_device_item(device, 0, tms->interp_count); | |
| 217 | state_save_register_device_item(device, 0, tms->sample_count); | |
| 218 | state_save_register_device_item(device, 0, tms->pitch_count); | |
| 219 | ||
| 220 | state_save_register_device_item(device, 0, tms->next_is_address); | |
| 221 | state_save_register_device_item(device, 0, tms->address); | |
| 222 | state_save_register_device_item(device, 0, tms->schedule_dummy_read); | |
| 223 | state_save_register_device_item(device, 0, tms->addr_bit); | |
| 224 | ||
| 225 | state_save_register_device_item_array(device, 0, tms->x); | |
| 226 | ||
| 227 | state_save_register_device_item(device, 0, tms->RNG); | |
| 228 | ||
| 229 | return tms; | |
| 230 | } | |
| 231 | ||
| 232 | ||
| 233 | void tms5110_destroy(void *chip) | |
| 220 | void register_for_save_states(tms5110_state *tms) | |
| 234 | 221 | { |
| 235 | free(chip); | |
| 236 | } | |
| 222 | state_save_register_device_item_array(tms->device, 0, tms->fifo); | |
| 223 | state_save_register_device_item(tms->device, 0, tms->fifo_head); | |
| 224 | state_save_register_device_item(tms->device, 0, tms->fifo_tail); | |
| 225 | state_save_register_device_item(tms->device, 0, tms->fifo_count); | |
| 237 | 226 | |
| 227 | state_save_register_device_item(tms->device, 0, tms->PDC); | |
| 228 | state_save_register_device_item(tms->device, 0, tms->CTL_pins); | |
| 229 | state_save_register_device_item(tms->device, 0, tms->speaking_now); | |
| 230 | state_save_register_device_item(tms->device, 0, tms->speak_delay_frames); | |
| 231 | state_save_register_device_item(tms->device, 0, tms->talk_status); | |
| 238 | 232 | |
| 233 | state_save_register_device_item(tms->device, 0, tms->old_energy); | |
| 234 | state_save_register_device_item(tms->device, 0, tms->old_pitch); | |
| 235 | state_save_register_device_item_array(tms->device, 0, tms->old_k); | |
| 239 | 236 | |
| 237 | state_save_register_device_item(tms->device, 0, tms->new_energy); | |
| 238 | state_save_register_device_item(tms->device, 0, tms->new_pitch); | |
| 239 | state_save_register_device_item_array(tms->device, 0, tms->new_k); | |
| 240 | 240 | |
| 241 | /********************************************************************************************** | |
| 241 | state_save_register_device_item(tms->device, 0, tms->current_energy); | |
| 242 | state_save_register_device_item(tms->device, 0, tms->current_pitch); | |
| 243 | state_save_register_device_item_array(tms->device, 0, tms->current_k); | |
| 242 | 244 | |
| 243 | tms5110_reset -- resets the TMS5110 | |
| 245 | state_save_register_device_item(tms->device, 0, tms->target_energy); | |
| 246 | state_save_register_device_item(tms->device, 0, tms->target_pitch); | |
| 247 | state_save_register_device_item_array(tms->device, 0, tms->target_k); | |
| 244 | 248 | |
| 245 | ***********************************************************************************************/ | |
| 249 | state_save_register_device_item(tms->device, 0, tms->interp_count); | |
| 250 | state_save_register_device_item(tms->device, 0, tms->sample_count); | |
| 251 | state_save_register_device_item(tms->device, 0, tms->pitch_count); | |
| 246 | 252 | |
| 247 | void tms5110_reset_chip(void *chip) | |
| 248 | { | |
| 249 | struct tms5110 *tms = (struct tms5110 *)chip; | |
| 253 | state_save_register_device_item(tms->device, 0, tms->next_is_address); | |
| 254 | state_save_register_device_item(tms->device, 0, tms->address); | |
| 255 | state_save_register_device_item(tms->device, 0, tms->schedule_dummy_read); | |
| 256 | state_save_register_device_item(tms->device, 0, tms->addr_bit); | |
| 250 | 257 | |
| 251 | /* initialize the FIFO */ | |
| 252 | memset(tms->fifo, 0, sizeof(tms->fifo)); | |
| 253 | tms->fifo_head = tms->fifo_tail = tms->fifo_count = 0; | |
| 258 | state_save_register_device_item_array(tms->device, 0, tms->x); | |
| 254 | 259 | |
| 255 | /* initialize the chip state */ | |
| 256 | tms->speaking_now = tms->speak_delay_frames = tms->talk_status = 0; | |
| 257 | tms->CTL_pins = 0; | |
| 258 | tms->RNG = 0x1fff; | |
| 259 | ||
| 260 | /* initialize the energy/pitch/k states */ | |
| 261 | tms->old_energy = tms->new_energy = tms->current_energy = tms->target_energy = 0; | |
| 262 | tms->old_pitch = tms->new_pitch = tms->current_pitch = tms->target_pitch = 0; | |
| 263 | memset(tms->old_k, 0, sizeof(tms->old_k)); | |
| 264 | memset(tms->new_k, 0, sizeof(tms->new_k)); | |
| 265 | memset(tms->current_k, 0, sizeof(tms->current_k)); | |
| 266 | memset(tms->target_k, 0, sizeof(tms->target_k)); | |
| 267 | ||
| 268 | /* initialize the sample generators */ | |
| 269 | tms->interp_count = tms->sample_count = tms->pitch_count = 0; | |
| 270 | memset(tms->x, 0, sizeof(tms->x)); | |
| 271 | tms->next_is_address = FALSE; | |
| 272 | tms->address = 0; | |
| 273 | tms->schedule_dummy_read = TRUE; | |
| 274 | tms->addr_bit = 0; | |
| 260 | state_save_register_device_item(tms->device, 0, tms->RNG); | |
| 275 | 261 | } |
| 276 | 262 | |
| 277 | 263 | |
| 278 | /****************************************************************************************** | |
| 279 | 264 | |
| 280 | tms5110_set_M0_callback -- set M0 callback for the TMS5110 | |
| 281 | 265 | |
| 282 | ******************************************************************************************/ | |
| 283 | ||
| 284 | void tms5110_set_M0_callback(void *chip, int (*func)(const device_config *)) | |
| 285 | { | |
| 286 | struct tms5110 *tms = (struct tms5110 *)chip; | |
| 287 | tms->M0_callback = func; | |
| 288 | } | |
| 289 | ||
| 290 | 266 | /****************************************************************************************** |
| 291 | 267 | |
| 292 | tms5110_set_load_address -- set M0 callback for the TMS5110 | |
| 293 | ||
| 294 | ******************************************************************************************/ | |
| 295 | ||
| 296 | void tms5110_set_load_address(void *chip, void (*func)(const device_config *, int)) | |
| 297 | { | |
| 298 | struct tms5110 *tms = (struct tms5110 *)chip; | |
| 299 | tms->set_load_address = func; | |
| 300 | } | |
| 301 | ||
| 302 | /****************************************************************************************** | |
| 303 | ||
| 304 | 268 | FIFO_data_write -- handle bit data write to the TMS5110 (as a result of toggling M0 pin) |
| 305 | 269 | |
| 306 | 270 | ******************************************************************************************/ |
| 307 | static void FIFO_data_write( | |
| 271 | static void FIFO_data_write( | |
| 308 | 272 | { |
| 309 | 273 | /* add this bit to the FIFO */ |
| 310 | 274 | if (tms->fifo_count < FIFO_SIZE) |
| r5490 | r5491 | |
| 328 | 292 | |
| 329 | 293 | ******************************************************************************************/ |
| 330 | 294 | |
| 331 | static int extract_bits( | |
| 295 | static int extract_bits( | |
| 332 | 296 | { |
| 333 | 297 | int val = 0; |
| 334 | 298 | |
| r5490 | r5491 | |
| 341 | 305 | return val; |
| 342 | 306 | } |
| 343 | 307 | |
| 344 | static void request_bits( | |
| 308 | static void request_bits( | |
| 345 | 309 | { |
| 346 | 310 | int i; |
| 347 | 311 | for (i=0; i<no; i++) |
| r5490 | r5491 | |
| 356 | 320 | } |
| 357 | 321 | } |
| 358 | 322 | |
| 359 | static void perform_dummy_read( | |
| 323 | static void perform_dummy_read( | |
| 360 | 324 | { |
| 361 | 325 | if (tms->schedule_dummy_read) |
| 362 | 326 | { |
| r5490 | r5491 | |
| 371 | 335 | } |
| 372 | 336 | } |
| 373 | 337 | |
| 374 | /********************************************************************************************** | |
| 375 | 338 | |
| 376 | tms5110_status_read -- read status from the TMS5110 | |
| 377 | 339 | |
| 378 | bit 0 = TS - Talk Status is active (high) when the VSP is processing speech data. | |
| 379 | Talk Status goes active at the initiation of a SPEAK command. | |
| 380 | It goes inactive (low) when the stop code (Energy=1111) is processed, or | |
| 381 | immediately(?????? not TMS5110) by a RESET command. | |
| 382 | TMS5110 datasheets mention this is only available as a result of executing | |
| 383 | TEST TALK command. | |
| 384 | 340 | |
| 385 | ||
| 386 | ***********************************************************************************************/ | |
| 387 | ||
| 388 | int tms5110_status_read(void *chip) | |
| 389 | { | |
| 390 | struct tms5110 *tms = (struct tms5110 *)chip; | |
| 391 | if (DEBUG_5110) logerror("Status read: TS=%d\n", tms->talk_status); | |
| 392 | ||
| 393 | return (tms->talk_status << 0); /*CTL1 = still talking ? */ | |
| 394 | } | |
| 395 | ||
| 396 | ||
| 397 | ||
| 398 | 341 | /********************************************************************************************** |
| 399 | 342 | |
| 400 | tms5110_ready_read -- returns the ready state of the TMS5110 | |
| 401 | ||
| 402 | ***********************************************************************************************/ | |
| 403 | ||
| 404 | int tms5110_ready_read(void *chip) | |
| 405 | { | |
| 406 | struct tms5110 *tms = (struct tms5110 *)chip; | |
| 407 | return (tms->fifo_count < FIFO_SIZE-1); | |
| 408 | } | |
| 409 | ||
| 410 | ||
| 411 | ||
| 412 | /********************************************************************************************** | |
| 413 | ||
| 414 | 343 | tms5110_process -- fill the buffer with a specific number of samples |
| 415 | 344 | |
| 416 | 345 | ***********************************************************************************************/ |
| 417 | 346 | |
| 418 | void tms5110_process( | |
| 347 | void tms5110_process(tms5110_state *tms | |
| 419 | 348 | { |
| 420 | struct tms5110 *tms = (struct tms5110 *)chip; | |
| 421 | 349 | int buf_count=0; |
| 422 | 350 | int i, interp_period, bitout; |
| 423 | 351 | INT16 Y11, cliptemp; |
| r5490 | r5491 | |
| 728 | 656 | |
| 729 | 657 | |
| 730 | 658 | |
| 731 | ||
| 732 | 659 | /****************************************************************************************** |
| 733 | 660 | |
| 734 | CTL_set -- set CTL pins named CTL1, CTL2, CTL4 and CTL8 | |
| 735 | ||
| 736 | ******************************************************************************************/ | |
| 737 | ||
| 738 | void tms5110_CTL_set(void *chip, int data) | |
| 739 | { | |
| 740 | struct tms5110 *tms = (struct tms5110 *)chip; | |
| 741 | tms->CTL_pins = data & 0xf; | |
| 742 | } | |
| 743 | ||
| 744 | /****************************************************************************************** | |
| 745 | ||
| 746 | 661 | PDC_set -- set Processor Data Clock. Execute CTL_pins command on hi-lo transition. |
| 747 | 662 | |
| 748 | 663 | ******************************************************************************************/ |
| 749 | 664 | |
| 750 | void tms5110_PDC_set( | |
| 665 | void tms5110_PDC_set(tms5110_state *tms | |
| 751 | 666 | { |
| 752 | struct tms5110 *tms = (struct tms5110 *)chip; | |
| 753 | 667 | if (tms->PDC != (data & 0x1) ) |
| 754 | 668 | { |
| 755 | 669 | tms->PDC = data & 0x1; |
| r5490 | r5491 | |
| 778 | 692 | |
| 779 | 693 | case TMS5110_CMD_RESET: |
| 780 | 694 | perform_dummy_read(tms); |
| 781 | | |
| 695 | device | |
| 782 | 696 | break; |
| 783 | 697 | |
| 784 | 698 | case TMS5110_CMD_READ_BIT: |
| r5490 | r5491 | |
| 813 | 727 | |
| 814 | 728 | ******************************************************************************************/ |
| 815 | 729 | |
| 816 | static void parse_frame( | |
| 730 | static void parse_frame( | |
| 817 | 731 | { |
| 818 | 732 | int bits, indx, i, rep_flag, ene; |
| 819 | 733 | |
| r5490 | r5491 | |
| 959 | 873 | }; |
| 960 | 874 | #endif |
| 961 | 875 | |
| 876 | ||
| 877 | static int speech_rom_read_bit(const device_config *device) | |
| 878 | { | |
| 879 | tms5110_state *tms = get_safe_token(device); | |
| 880 | ||
| 881 | int r; | |
| 882 | ||
| 883 | if (tms->speech_rom_bitnum<0) | |
| 884 | r = 0; | |
| 885 | else | |
| 886 | r = (tms->table[tms->speech_rom_bitnum >> 3] >> (0x07 - (tms->speech_rom_bitnum & 0x07))) & 1; | |
| 887 | ||
| 888 | tms->speech_rom_bitnum++; | |
| 889 | ||
| 890 | return r; | |
| 891 | } | |
| 892 | ||
| 893 | static void speech_rom_set_addr(const device_config *device, int addr) | |
| 894 | { | |
| 895 | tms5110_state *tms = get_safe_token(device); | |
| 896 | ||
| 897 | tms->speech_rom_bitnum = addr * 8 - 1; | |
| 898 | } | |
| 899 | ||
| 900 | /****************************************************************************** | |
| 901 | ||
| 902 | DEVICE_START( tms5110 ) -- allocate buffers and reset the 5110 | |
| 903 | ||
| 904 | ******************************************************************************/ | |
| 905 | ||
| 906 | static DEVICE_START( tms5110 ) | |
| 907 | { | |
| 908 | static const tms5110_interface dummy = { 0 }; | |
| 909 | tms5110_state *tms = get_safe_token(device); | |
| 910 | ||
| 911 | tms->intf = device->static_config ? (const tms5110_interface *)device->static_config : &dummy; | |
| 912 | tms->table = device->region; | |
| 913 | ||
| 914 | tms->device = device; | |
| 915 | tms5110_set_variant(tms, TMS5110_IS_5110A); | |
| 916 | ||
| 917 | assert_always(tms != NULL, "Error creating TMS5110 chip"); | |
| 918 | ||
| 919 | /* initialize a stream */ | |
| 920 | tms->stream = stream_create(device, 0, 1, device->clock / 80, tms, tms5110_update); | |
| 921 | ||
| 922 | if (tms->table == NULL) | |
| 923 | { | |
| 924 | assert_always(tms->intf->M0_callback != NULL, "Missing _mandatory_ 'M0_callback' function pointer in the TMS5110 interface\n This function is used by TMS5110 to call for a single bits\n needed to generate the speech\n Aborting startup...\n"); | |
| 925 | tms->M0_callback = tms->intf->M0_callback; | |
| 926 | tms->set_load_address = tms->intf->load_address; | |
| 927 | } | |
| 928 | else | |
| 929 | { | |
| 930 | tms->M0_callback = speech_rom_read_bit; | |
| 931 | tms->set_load_address = speech_rom_set_addr; | |
| 932 | } | |
| 933 | ||
| 934 | register_for_save_states(tms); | |
| 935 | } | |
| 936 | ||
| 937 | static DEVICE_START( tms5100 ) | |
| 938 | { | |
| 939 | tms5110_state *tms = get_safe_token(device); | |
| 940 | DEVICE_START_CALL( tms5110 ); | |
| 941 | tms5110_set_variant(tms, TMS5110_IS_5100); | |
| 942 | } | |
| 943 | ||
| 944 | static DEVICE_START( tms5110a ) | |
| 945 | { | |
| 946 | tms5110_state *tms = get_safe_token(device); | |
| 947 | DEVICE_START_CALL( tms5110 ); | |
| 948 | tms5110_set_variant(tms, TMS5110_IS_5110A); | |
| 949 | } | |
| 950 | ||
| 951 | static DEVICE_START( cd2801 ) | |
| 952 | { | |
| 953 | tms5110_state *tms = get_safe_token(device); | |
| 954 | DEVICE_START_CALL( tms5110 ); | |
| 955 | tms5110_set_variant(tms, TMS5110_IS_CD2801); | |
| 956 | } | |
| 957 | ||
| 958 | static DEVICE_START( tmc0281 ) | |
| 959 | { | |
| 960 | tms5110_state *tms = get_safe_token(device); | |
| 961 | DEVICE_START_CALL( tms5110 ); | |
| 962 | tms5110_set_variant(tms, TMS5110_IS_TMC0281); | |
| 963 | } | |
| 964 | ||
| 965 | static DEVICE_START( cd2802 ) | |
| 966 | { | |
| 967 | tms5110_state *tms = get_safe_token(device); | |
| 968 | DEVICE_START_CALL( tms5110 ); | |
| 969 | tms5110_set_variant(tms, TMS5110_IS_CD2802); | |
| 970 | } | |
| 971 | ||
| 972 | static DEVICE_START( m58817 ) | |
| 973 | { | |
| 974 | tms5110_state *tms = get_safe_token(device); | |
| 975 | DEVICE_START_CALL( tms5110 ); | |
| 976 | tms5110_set_variant(tms, TMS5110_IS_M58817); | |
| 977 | } | |
| 978 | ||
| 979 | ||
| 980 | static DEVICE_RESET( tms5110 ) | |
| 981 | { | |
| 982 | tms5110_state *tms = get_safe_token(device); | |
| 983 | ||
| 984 | /* initialize the FIFO */ | |
| 985 | memset(tms->fifo, 0, sizeof(tms->fifo)); | |
| 986 | tms->fifo_head = tms->fifo_tail = tms->fifo_count = 0; | |
| 987 | ||
| 988 | /* initialize the chip state */ | |
| 989 | tms->speaking_now = tms->speak_delay_frames = tms->talk_status = 0; | |
| 990 | tms->CTL_pins = 0; | |
| 991 | tms->RNG = 0x1fff; | |
| 992 | ||
| 993 | /* initialize the energy/pitch/k states */ | |
| 994 | tms->old_energy = tms->new_energy = tms->current_energy = tms->target_energy = 0; | |
| 995 | tms->old_pitch = tms->new_pitch = tms->current_pitch = tms->target_pitch = 0; | |
| 996 | memset(tms->old_k, 0, sizeof(tms->old_k)); | |
| 997 | memset(tms->new_k, 0, sizeof(tms->new_k)); | |
| 998 | memset(tms->current_k, 0, sizeof(tms->current_k)); | |
| 999 | memset(tms->target_k, 0, sizeof(tms->target_k)); | |
| 1000 | ||
| 1001 | /* initialize the sample generators */ | |
| 1002 | tms->interp_count = tms->sample_count = tms->pitch_count = 0; | |
| 1003 | memset(tms->x, 0, sizeof(tms->x)); | |
| 1004 | tms->next_is_address = FALSE; | |
| 1005 | tms->address = 0; | |
| 1006 | tms->schedule_dummy_read = TRUE; | |
| 1007 | tms->addr_bit = 0; | |
| 1008 | } | |
| 1009 | ||
| 1010 | ||
| 1011 | ||
| 1012 | /****************************************************************************** | |
| 1013 | ||
| 1014 | tms5110_ctl_w -- write Control Command to the sound chip | |
| 1015 | commands like Speech, Reset, etc., are loaded into the chip via the CTL pins | |
| 1016 | ||
| 1017 | ******************************************************************************/ | |
| 1018 | ||
| 1019 | WRITE8_DEVICE_HANDLER( tms5110_ctl_w ) | |
| 1020 | { | |
| 1021 | tms5110_state *tms = get_safe_token(device); | |
| 1022 | ||
| 1023 | /* bring up to date first */ | |
| 1024 | stream_update(tms->stream); | |
| 1025 | tms->CTL_pins = data & 0xf; | |
| 1026 | } | |
| 1027 | ||
| 1028 | ||
| 1029 | /****************************************************************************** | |
| 1030 | ||
| 1031 | tms5110_pdc_w -- write to PDC pin on the sound chip | |
| 1032 | ||
| 1033 | ******************************************************************************/ | |
| 1034 | ||
| 1035 | WRITE8_DEVICE_HANDLER( tms5110_pdc_w ) | |
| 1036 | { | |
| 1037 | tms5110_state *tms = get_safe_token(device); | |
| 1038 | ||
| 1039 | /* bring up to date first */ | |
| 1040 | stream_update(tms->stream); | |
| 1041 | tms5110_PDC_set(tms, data); | |
| 1042 | } | |
| 1043 | ||
| 1044 | ||
| 1045 | ||
| 1046 | /****************************************************************************** | |
| 1047 | ||
| 1048 | tms5110_status_r -- read status from the sound chip | |
| 1049 | ||
| 1050 | bit 0 = TS - Talk Status is active (high) when the VSP is processing speech data. | |
| 1051 | Talk Status goes active at the initiation of a SPEAK command. | |
| 1052 | It goes inactive (low) when the stop code (Energy=1111) is processed, or | |
| 1053 | immediately(?????? not TMS5110) by a RESET command. | |
| 1054 | TMS5110 datasheets mention this is only available as a result of executing | |
| 1055 | TEST TALK command. | |
| 1056 | ||
| 1057 | ******************************************************************************/ | |
| 1058 | ||
| 1059 | READ8_DEVICE_HANDLER( tms5110_status_r ) | |
| 1060 | { | |
| 1061 | tms5110_state *tms = get_safe_token(device); | |
| 1062 | ||
| 1063 | /* bring up to date first */ | |
| 1064 | stream_update(tms->stream); | |
| 1065 | return (tms->talk_status << 0); /*CTL1 = still talking ? */ | |
| 1066 | } | |
| 1067 | ||
| 1068 | ||
| 1069 | ||
| 1070 | /****************************************************************************** | |
| 1071 | ||
| 1072 | tms5110_ready_r -- return the not ready status from the sound chip | |
| 1073 | ||
| 1074 | ******************************************************************************/ | |
| 1075 | ||
| 1076 | int tms5110_ready_r(const device_config *device) | |
| 1077 | { | |
| 1078 | tms5110_state *tms = get_safe_token(device); | |
| 1079 | ||
| 1080 | /* bring up to date first */ | |
| 1081 | stream_update(tms->stream); | |
| 1082 | return (tms->fifo_count < FIFO_SIZE-1); | |
| 1083 | } | |
| 1084 | ||
| 1085 | ||
| 1086 | ||
| 1087 | /****************************************************************************** | |
| 1088 | ||
| 1089 | tms5110_update -- update the sound chip so that it is in sync with CPU execution | |
| 1090 | ||
| 1091 | ******************************************************************************/ | |
| 1092 | ||
| 1093 | static STREAM_UPDATE( tms5110_update ) | |
| 1094 | { | |
| 1095 | tms5110_state *tms = (tms5110_state *)param; | |
| 1096 | INT16 sample_data[MAX_SAMPLE_CHUNK]; | |
| 1097 | stream_sample_t *buffer = outputs[0]; | |
| 1098 | ||
| 1099 | /* loop while we still have samples to generate */ | |
| 1100 | while (samples) | |
| 1101 | { | |
| 1102 | int length = (samples > MAX_SAMPLE_CHUNK) ? MAX_SAMPLE_CHUNK : samples; | |
| 1103 | int index; | |
| 1104 | ||
| 1105 | /* generate the samples and copy to the target buffer */ | |
| 1106 | tms5110_process(tms, sample_data, length); | |
| 1107 | for (index = 0; index < length; index++) | |
| 1108 | *buffer++ = sample_data[index]; | |
| 1109 | ||
| 1110 | /* account for the samples */ | |
| 1111 | samples -= length; | |
| 1112 | } | |
| 1113 | } | |
| 1114 | ||
| 1115 | ||
| 1116 | ||
| 1117 | /****************************************************************************** | |
| 1118 | ||
| 1119 | tms5110_set_frequency -- adjusts the playback frequency | |
| 1120 | ||
| 1121 | ******************************************************************************/ | |
| 1122 | ||
| 1123 | void tms5110_set_frequency(const device_config *device, int frequency) | |
| 1124 | { | |
| 1125 | tms5110_state *tms = get_safe_token(device); | |
| 1126 | stream_set_sample_rate(tms->stream, frequency / 80); | |
| 1127 | } | |
| 1128 | ||
| 1129 | ||
| 1130 | ||
| 1131 | /*------------------------------------------------- | |
| 1132 | device definition | |
| 1133 | -------------------------------------------------*/ | |
| 1134 | ||
| 1135 | static const char DEVTEMPLATE_SOURCE[] = __FILE__; | |
| 1136 | ||
| 1137 | #define DEVTEMPLATE_ID(p,s) p##tms5110##s | |
| 1138 | #define DEVTEMPLATE_FEATURES DT_HAS_START | DT_HAS_RESET | |
| 1139 | #define DEVTEMPLATE_NAME "TMS5110" | |
| 1140 | #define DEVTEMPLATE_FAMILY "TI Speech" | |
| 1141 | #include "devtempl.h" | |
| 1142 | ||
| 1143 | #define DEVTEMPLATE_DERIVED_ID(p,s) p##tms5100##s | |
| 1144 | #define DEVTEMPLATE_DERIVED_FEATURES DT_HAS_START | |
| 1145 | #define DEVTEMPLATE_DERIVED_NAME "TMS5100" | |
| 1146 | #include "devtempl.h" | |
| 1147 | ||
| 1148 | #define DEVTEMPLATE_DERIVED_ID(p,s) p##tms5110a##s | |
| 1149 | #define DEVTEMPLATE_DERIVED_FEATURES DT_HAS_START | |
| 1150 | #define DEVTEMPLATE_DERIVED_NAME "TMS5110A" | |
| 1151 | #include "devtempl.h" | |
| 1152 | ||
| 1153 | #define DEVTEMPLATE_DERIVED_ID(p,s) p##cd2801##s | |
| 1154 | #define DEVTEMPLATE_DERIVED_FEATURES DT_HAS_START | |
| 1155 | #define DEVTEMPLATE_DERIVED_NAME "CD2801" | |
| 1156 | #include "devtempl.h" | |
| 1157 | ||
| 1158 | #define DEVTEMPLATE_DERIVED_ID(p,s) p##tmc0281##s | |
| 1159 | #define DEVTEMPLATE_DERIVED_FEATURES DT_HAS_START | |
| 1160 | #define DEVTEMPLATE_DERIVED_NAME "TMC0281" | |
| 1161 | #include "devtempl.h" | |
| 1162 | ||
| 1163 | #define DEVTEMPLATE_DERIVED_ID(p,s) p##cd2802##s | |
| 1164 | #define DEVTEMPLATE_DERIVED_FEATURES DT_HAS_START | |
| 1165 | #define DEVTEMPLATE_DERIVED_NAME "CD2802" | |
| 1166 | #include "devtempl.h" | |
| 1167 | ||
| 1168 | #define DEVTEMPLATE_DERIVED_ID(p,s) p##m58817##s | |
| 1169 | #define DEVTEMPLATE_DERIVED_FEATURES DT_HAS_START | |
| 1170 | #define DEVTEMPLATE_DERIVED_NAME "M58817" | |
| 1171 | #include "devtempl.h" |
| r5490 | r5491 | |
|---|---|---|
| 14 | 14 | ** History: |
| 15 | 15 | ** |
| 16 | 16 | ** 2006~2009 Eke-Eke (Genesis Plus GX): |
| 17 | ** Credits to Nemesis (@spritesmind.net), most of those fixes came from his tests on a Model 1 Sega Mega Drive | |
| 17 | ** Credits to Nemesis (@spritesmind.net), most of those fixes came from his tests on a Model 1 Sega Mega Drive | |
| 18 | 18 | ** More informations at http://gendev.spritesmind.net/forum/viewtopic.php?t=386 |
| 19 | 19 | ** |
| 20 | 20 | ** - fixed LFO implementation (Spider-Man & Venom : Separation Anxiety intro,Warlock birds, Aladdin bug sound): |
| r5490 | r5491 | |
| 24 | 24 | ** - improved internal timers emulation |
| 25 | 25 | ** - fixed Attack Rate update in some specific case (Batman & Robin intro) |
| 26 | 26 | ** - fixed EG behavior when Attack Rate is maximal |
| 27 | ** - fixed EG behavior when SL=0 (Mega Turrican tracks 03,09...) or/and Key ON occurs at minimal attenuation | |
| 27 | ** - fixed EG behavior when SL=0 (Mega Turrican tracks 03,09...) or/and Key ON occurs at minimal attenuation | |
| 28 | 28 | ** - added EG output immediate update on register writes |
| 29 | 29 | ** - fixed YM2612 initial values (after the reset) |
| 30 | 30 | ** - implemented Detune overflow (Ariel, Comix Zone, Shaq Fu, Spiderman & many others) |
| r5490 | r5491 | |
| 699 | 699 | |
| 700 | 700 | |
| 701 | 701 | /* there are 2048 FNUMs that can be generated using FNUM/BLK registers |
| 702 | ||
| 702 | but LFO works with one more bit of a precision so we really need 4096 elements */ | |
| 703 | 703 | UINT32 fn_table[4096]; /* fnumber->increment counter */ |
| 704 | 704 | UINT32 fn_max; /* maximal phase increment (used for phase overflow) */ |
| 705 | 705 | |
| r5490 | r5491 | |
| 1952 | 1952 | init_timetables( &OPN->ST, dt_tab ); |
| 1953 | 1953 | |
| 1954 | 1954 | /* there are 2048 FNUMs that can be generated using FNUM/BLK registers |
| 1955 | ||
| 1955 | but LFO works with one more bit of a precision so we really need 4096 elements */ | |
| 1956 | 1956 | for(i = 0; i < 4096; i++) |
| 1957 | 1957 | { |
| 1958 | 1958 | /* freq table for octave 7 */ |
| r5490 | r5491 | |
| 2088 | 2088 | |
| 2089 | 2089 | case 0x90: /* SSG-EG */ |
| 2090 | 2090 | SLOT->ssg = v&0x0f; |
| 2091 | ||
| 2091 | ||
| 2092 | 2092 | /* recalculate EG output */ |
| 2093 | 2093 | if ((SLOT->ssg&0x08) && (SLOT->ssgn ^ (SLOT->ssg&0x04)) && (SLOT->state > EG_REL)) |
| 2094 | 2094 | SLOT->vol_out = ((UINT32)(0x200 - SLOT->volume) & MAX_ATT_INDEX) + SLOT->tl; |
| r5490 | r5491 | |
|---|---|---|
| 3 | 3 | #ifndef __TMS5110_H__ |
| 4 | 4 | #define __TMS5110_H__ |
| 5 | 5 | |
| 6 | ||
| 7 | 6 | /* TMS5110 commands */ |
| 8 | 7 | /* CTL8 CTL4 CTL2 CTL1 | PDC's */ |
| 9 | 8 | /* (MSB) (LSB) | required */ |
| r5490 | r5491 | |
| 15 | 14 | #define TMS5110_CMD_READ_BRANCH (12) /* 1 1 0 x | 1 */ |
| 16 | 15 | #define TMS5110_CMD_TEST_TALK (14) /* 1 1 1 x | 3 */ |
| 17 | 16 | |
| 18 | /* Variants */ | |
| 17 | /* clock rate = 80 * output sample rate, */ | |
| 18 | /* usually 640000 for 8000 Hz sample rate or */ | |
| 19 | /* usually 800000 for 10000 Hz sample rate. */ | |
| 19 | 20 | |
| 20 | #define TMS5110_IS_5110A (1) | |
| 21 | #define TMS5110_IS_5100 (2) | |
| 22 | #define TMS5110_IS_5110 (3) | |
| 21 | typedef struct _tms5110_interface tms5110_interface; | |
| 22 | struct _tms5110_interface | |
| 23 | { | |
| 24 | int (*M0_callback)(const device_config *device); /* function to be called when chip requests another bit */ | |
| 25 | void (*load_address)(const device_config *device, int addr); /* speech ROM load address callback */ | |
| 26 | }; | |
| 23 | 27 | |
| 24 | #define TMS5110_IS_CD2801 TMS5110_IS_5100 | |
| 25 | #define TMS5110_IS_TMC0281 TMS5110_IS_5100 | |
| 28 | WRITE8_DEVICE_HANDLER( tms5110_ctl_w ); | |
| 29 | WRITE8_DEVICE_HANDLER( tms5110_pdc_w ); | |
| 26 | 30 | |
| 27 | #define TMS5110_IS_CD2802 TMS5110_IS_5110 | |
| 28 | #define TMS5110_IS_M58817 TMS5110_IS_5110 | |
| 31 | READ8_DEVICE_HANDLER( tms5110_status_r ); | |
| 32 | int tms5110_ready_r(const device_config *device); | |
| 29 | 33 | |
| 30 | void *tms5110_create(const device_config *device, int variant); | |
| 31 | void tms5110_destroy(void *chip); | |
| 34 | void tms5110_set_frequency(const device_config *device, int frequency); | |
| 32 | 35 | |
| 33 | void tms5110_set_variant(void *chip, int variant); | |
| 36 | DEVICE_GET_INFO( tms5110 ); | |
| 37 | DEVICE_GET_INFO( tms5100 ); | |
| 38 | DEVICE_GET_INFO( tms5110a ); | |
| 39 | DEVICE_GET_INFO( cd2801 ); | |
| 40 | DEVICE_GET_INFO( tmc0281 ); | |
| 41 | DEVICE_GET_INFO( cd2802 ); | |
| 42 | DEVICE_GET_INFO( m58817 ); | |
| 34 | 43 | |
| 35 | void tms5110_reset_chip(void *chip); | |
| 36 | void tms5110_set_M0_callback(void *chip, int (*func)(const device_config *)); | |
| 37 | void tms5110_set_load_address(void *chip, void (*func)(const device_config *, int)); | |
| 44 | #define SOUND_TMS5110 DEVICE_GET_INFO_NAME( tms5110 ) | |
| 45 | #define SOUND_TMS5100 DEVICE_GET_INFO_NAME( tms5100 ) | |
| 46 | #define SOUND_TMS5110A DEVICE_GET_INFO_NAME( tms5110a ) | |
| 47 | #define SOUND_CD2801 DEVICE_GET_INFO_NAME( cd2801 ) | |
| 48 | #define SOUND_TMC0281 DEVICE_GET_INFO_NAME( tmc0281 ) | |
| 49 | #define SOUND_CD2802 DEVICE_GET_INFO_NAME( cd2802 ) | |
| 50 | #define SOUND_M58817 DEVICE_GET_INFO_NAME( m58817 ) | |
| 38 | 51 | |
| 39 | void tms5110_CTL_set(void *chip, int data); | |
| 40 | void tms5110_PDC_set(void *chip, int data); | |
| 41 | 52 | |
| 42 | int tms5110_status_read(void *chip); | |
| 43 | int tms5110_ready_read(void *chip); | |
| 44 | ||
| 45 | void tms5110_process(void *chip, INT16 *buffer, unsigned int size); | |
| 46 | ||
| 47 | 53 | #endif /* __TMS5110_H__ */ |
| r5490 | r5491 | |
|---|---|---|
| 60 | 60 | } |
| 61 | 61 | } |
| 62 | 62 | else |
| 63 | discrete_log("discrete_sound_r read from non-existent NODE_%02d\n", offset-NODE_00); | |
| 63 | discrete_log(info, "discrete_sound_r read from non-existent NODE_%02d\n", offset-NODE_00); | |
| 64 | 64 | |
| 65 | 65 | return data; |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | #if 0 | |
| 69 | static STREAM_BACKGROUND_CALLBACK( disc_cb ) | |
| 70 | { | |
| 71 | node_description *node = (node_description *) ptr; | |
| 72 | ||
| 73 | node->output[0] = param * DSS_INPUT__GAIN + DSS_INPUT__OFFSET; | |
| 74 | } | |
| 75 | #endif | |
| 76 | ||
| 68 | 77 | WRITE8_DEVICE_HANDLER(discrete_sound_w) |
| 69 | 78 | { |
| 70 | 79 | discrete_info *info = get_safe_token(device); |
| r5490 | r5491 | |
| 90 | 99 | new_data = data ? 0 : 1; |
| 91 | 100 | break; |
| 92 | 101 | } |
| 102 | ||
| 93 | 103 | if (last_data != new_data) |
| 94 | 104 | { |
| 105 | #if 1 | |
| 95 | 106 | /* Bring the system up to now */ |
| 96 | 107 | stream_update(info->discrete_stream); |
| 97 | 108 | |
| r5490 | r5491 | |
| 99 | 110 | |
| 100 | 111 | /* Update the node output here so we don't have to do it each step */ |
| 101 | 112 | node->output[0] = *node_data * DSS_INPUT__GAIN + DSS_INPUT__OFFSET; |
| 113 | #else | |
| 114 | *node_data = new_data; | |
| 115 | /* Bring the system up to now */ | |
| 116 | stream_update_background(info->discrete_stream, disc_cb, (void *) node, *node_data); | |
| 117 | ||
| 118 | #endif | |
| 102 | 119 | } |
| 103 | 120 | } |
| 104 | 121 | else |
| 105 | 122 | { |
| 106 | discrete_log("discrete_sound_w write to non-existent NODE_%02d\n", offset-NODE_00); | |
| 123 | discrete_log(info, "discrete_sound_w write to non-existent NODE_%02d\n", offset-NODE_00); | |
| 107 | 124 | } |
| 108 | 125 | } |
| 109 | 126 | |
| r5490 | r5491 | |
| 155 | 172 | |
| 156 | 173 | if (node->custom) |
| 157 | 174 | { |
| 158 | context->port = input_port_by_tag(device->machine->portconfig, (const char *)node->custom); | |
| 175 | context->port = input_port_by_tag(disc_info->device->machine->portconfig, (const char *)node->custom); | |
| 159 | 176 | if (context->port == NULL) |
| 160 | 177 | fatalerror("DISCRETE_ADJUSTMENT_TAG - NODE_%d has invalid tag", node->node-NODE_00); |
| 161 | 178 | } |
| 162 | 179 | else |
| 163 | context->port = input_port_by_index(device->machine->portconfig, DSS_ADJUSTMENT__PORT); | |
| 180 | context->port = input_port_by_index(disc_info->device->machine->portconfig, DSS_ADJUSTMENT__PORT); | |
| 164 | 181 | |
| 165 | 182 | context->lastpval = 0x7fffffff; |
| 166 | 183 | context->pmin = DSS_ADJUSTMENT__PMIN; |
| r5490 | r5491 | |
| 270 | 287 | { |
| 271 | 288 | int istream = DSS_INPUT_STREAM__STREAM; |
| 272 | 289 | /* we will use the node's context pointer to point to the input stream data */ |
| 273 | assert(istream < discrete_current_context->discrete_input_streams); | |
| 274 | node->context = &discrete_current_context->input_stream_data[istream]; | |
| 290 | assert(istream < disc_info->discrete_input_streams); | |
| 291 | node->context = (discrete_info *) &disc_info->input_stream_data[istream]; | |
| 275 | 292 | } |
| r5490 | r5491 | |
|---|---|---|
| 48 | 48 | double total[256]; |
| 49 | 49 | }; |
| 50 | 50 | |
| 51 | struct dst_bits_decode_context | |
| 52 | { | |
| 53 | int from; | |
| 54 | int count; | |
| 55 | int last_val; | |
| 56 | int v_out; | |
| 57 | }; | |
| 58 | ||
| 51 | 59 | struct dst_dac_r1_context |
| 52 | 60 | { |
| 53 | 61 | double i_bias; /* current of the bias circuit */ |
| r5490 | r5491 | |
| 302 | 310 | struct dst_dac_r1_context *context = (struct dst_dac_r1_context *)node->context; |
| 303 | 311 | |
| 304 | 312 | int bit, bit_val, data; |
| 305 | double v, i_bit, i_total, x_time; | |
| 313 | double v, i_bit, i_total, x_time, von; | |
| 306 | 314 | |
| 307 | 315 | i_total = context->i_bias; |
| 308 | 316 | |
| r5490 | r5491 | |
| 311 | 319 | |
| 312 | 320 | if (DST_DAC_R1__ENABLE) |
| 313 | 321 | { |
| 322 | von = DST_DAC_R1__VON; | |
| 314 | 323 | for (bit=0; bit < info->ladderLength; bit++) |
| 315 | 324 | { |
| 316 | 325 | /* Add up currents of ON circuits per Millman. */ |
| r5490 | r5491 | |
| 318 | 327 | /* ignore if no resistor present */ |
| 319 | 328 | if (info->r[bit] != 0) |
| 320 | 329 | { |
| 321 | i_bit = | |
| 330 | i_bit = von | |
| 322 | 331 | bit_val = (data >> bit) & 0x01; |
| 323 | 332 | |
| 324 | if ((x_time != 0) && (bit_val != ((context->last_data >> bit) & 0x01))) | |
| 333 | if ((x_time != 0.0) && (bit_val != ((context->last_data >> bit) & 0x01))) | |
| 325 | 334 | { |
| 326 | 335 | /* there is x_time and a change in bit, |
| 327 | 336 | * so anti-alias the current */ |
| r5490 | r5491 | |
| 331 | 340 | { |
| 332 | 341 | /* there is no x_time or a change in bit, |
| 333 | 342 | * so 0 the current if the bit value is 0 */ |
| 334 | if (bit_val == 0) i_bit = 0; | |
| 343 | if (bit_val == 0) | |
| 344 | i_bit = 0; | |
| 335 | 345 | } |
| 336 | i_total += i_bit; | |
| 346 | i_total += i_bit; | |
| 337 | 347 | } |
| 338 | 348 | } |
| 339 | 349 | |
| r5490 | r5491 | |
| 374 | 384 | if (info->ladderLength < 2) |
| 375 | 385 | { |
| 376 | 386 | /* You need at least 2 resistors for a ladder */ |
| 377 | discrete_log("dst_dac_r1_reset - Ladder length too small"); | |
| 387 | discrete_log(disc_info, "dst_dac_r1_reset - Ladder length too small"); | |
| 378 | 388 | } |
| 379 | 389 | if (info->ladderLength > DISC_LADDER_MAXRES ) |
| 380 | 390 | { |
| 381 | discrete_log("dst_dac_r1_reset - Ladder length exceeds DISC_LADDER_MAXRES"); | |
| 391 | discrete_log(disc_info, "dst_dac_r1_reset - Ladder length exceeds DISC_LADDER_MAXRES"); | |
| 382 | 392 | } |
| 383 | 393 | |
| 384 | 394 | /* |
| r5490 | r5491 | |
| 481 | 491 | if(DST_DIVIDE__DIV == 0) |
| 482 | 492 | { |
| 483 | 493 | node->output[0 ]= DBL_MAX; /* Max out but don't break */ |
| 484 | discrete_log("dst_divider_step() - Divide by Zero attempted in NODE_%02d.\n",NODE_INDEX(node->node)); | |
| 494 | discrete_log(disc_info, "dst_divider_step() - Divide by Zero attempted in NODE_%02d.\n",NODE_INDEX(node->node)); | |
| 485 | 495 | } |
| 486 | 496 | else |
| 487 | 497 | { |
| r5490 | r5491 | |
| 599 | 609 | i_neg = context->v_max_in / info->r1; |
| 600 | 610 | i_pos = (DST_INTEGRATE__TRG0 - OP_AMP_NORTON_VBE) / info->r2; |
| 601 | 611 | if (i_pos < 0) i_pos = 0; |
| 602 | node->output[0] += (i_pos - i_neg) / disc | |
| 612 | node->output[0] += (i_pos - i_neg) / disc | |
| 603 | 613 | break; |
| 604 | 614 | |
| 605 | 615 | case DISC_INTEGRATE_OP_AMP_2 | DISC_OP_AMP_IS_NORTON: |
| r5490 | r5491 | |
| 608 | 618 | i_neg = dst_trigger_function(trig0, trig1, 0, info->f0) ? context->v_max_in_d / info->r1 : 0; |
| 609 | 619 | i_pos = dst_trigger_function(trig0, trig1, 0, info->f1) ? context->v_max_in / info->r2 : 0; |
| 610 | 620 | i_pos += dst_trigger_function(trig0, trig1, 0, info->f2) ? context->v_max_in_d / info->r3 : 0; |
| 611 | node->output[0] += (i_pos - i_neg) / disc | |
| 621 | node->output[0] += (i_pos - i_neg) / disc | |
| 612 | 622 | break; |
| 613 | 623 | } |
| 614 | 624 | |
| r5490 | r5491 | |
| 636 | 646 | v = info->v1 * info->r3 / (info->r2 + info->r3); /* vRef */ |
| 637 | 647 | v = info->v1 - v; /* actual charging voltage */ |
| 638 | 648 | i = v / info->r1; |
| 639 | context->change = i / disc | |
| 649 | context->change = i / disc | |
| 640 | 650 | } |
| 641 | 651 | node->output[0] = 0; |
| 642 | 652 | } |
| r5490 | r5491 | |
| 667 | 677 | |
| 668 | 678 | /************************************************************************ |
| 669 | 679 | * |
| 680 | * DST_BITS_DECODE - Decode Bits from input node | |
| 681 | * | |
| 682 | * input[0] - input | |
| 683 | * input[1] - From bit | |
| 684 | * input[2] - To bit | |
| 685 | * | |
| 686 | ************************************************************************/ | |
| 687 | #define DST_BITS_DECODE__IN (*(node->input[0])) | |
| 688 | #define DST_BITS_DECODE__FROM (*(node->input[1])) | |
| 689 | #define DST_BITS_DECODE__TO (*(node->input[2])) | |
| 690 | #define DST_BITS_DECODE__VOUT (*(node->input[3])) | |
| 691 | ||
| 692 | static DISCRETE_STEP(dst_bits_decode) | |
| 693 | { | |
| 694 | struct dst_bits_decode_context *context = (struct dst_bits_decode_context *)node->context; | |
| 695 | int v = DST_BITS_DECODE__IN; | |
| 696 | int i; | |
| 697 | ||
| 698 | if (context->last_val != v) | |
| 699 | { | |
| 700 | context->last_val = v; | |
| 701 | for (i = 0; i < context->count; i++ ) | |
| 702 | node->output[i] = ((v >> (i+context->from)) & 1) * context->v_out; | |
| 703 | } | |
| 704 | } | |
| 705 | ||
| 706 | static DISCRETE_RESET(dst_bits_decode) | |
| 707 | { | |
| 708 | struct dst_bits_decode_context *context = (struct dst_bits_decode_context *)node->context; | |
| 709 | ||
| 710 | context->from = DST_BITS_DECODE__FROM; | |
| 711 | context->count = DST_BITS_DECODE__TO - context->from + 1; | |
| 712 | context->v_out = DST_BITS_DECODE__VOUT; | |
| 713 | ||
| 714 | DISCRETE_STEP_CALL(dst_bits_decode); | |
| 715 | } | |
| 716 | /************************************************************************ | |
| 717 | * | |
| 670 | 718 | * DST_LOGIC_AND - Logic AND gate implementation |
| 671 | 719 | * |
| 672 | 720 | * input[0] - Enable |
| r5490 | r5491 | |
| 1179 | 1227 | context->r_node_bit_flag = 0; |
| 1180 | 1228 | for (bit = 0; bit < 8; bit++) |
| 1181 | 1229 | { |
| 1182 | r_node = discrete_find_node( | |
| 1230 | r_node = discrete_find_node(disc_info, info->r_node[bit]); | |
| 1183 | 1231 | if (r_node != NULL) |
| 1184 | 1232 | { |
| 1185 | 1233 | context->r_node[bit] = &(r_node->output[NODE_CHILD_NODE_NUM(info->r_node[bit])]); |
| r5490 | r5491 | |
| 1306 | 1354 | else |
| 1307 | 1355 | { |
| 1308 | 1356 | /* Bad address. We will leave the output alone. */ |
| 1309 | discrete_log("NODE_%02d - Address = %d. Out of bounds\n", node->node-NODE_00, addr); | |
| 1357 | discrete_log(disc_info, "NODE_%02d - Address = %d. Out of bounds\n", node->node-NODE_00, addr); | |
| 1310 | 1358 | } |
| 1311 | 1359 | } |
| 1312 | 1360 | else |
| r5490 | r5491 | |
| 1391 | 1439 | |
| 1392 | 1440 | if (do_count) |
| 1393 | 1441 | { |
| 1394 | context->countdown -= disc | |
| 1442 | context->countdown -= disc | |
| 1395 | 1443 | if(context->countdown <= 0.0) |
| 1396 | 1444 | { |
| 1397 | 1445 | node->output[0] = (DST_ONESHOT__TYPE & DISC_OUT_ACTIVE_LOW) ? DST_ONESHOT__AMP : 0; |
| r5490 | r5491 | |
| 1466 | 1514 | struct dss_ramp_context *context = (struct dss_ramp_context *)node->context; |
| 1467 | 1515 | |
| 1468 | 1516 | node->output[0] = DST_RAMP__CLAMP; |
| 1469 | context->step = DST_RAMP__GRAD / disc | |
| 1517 | context->step = DST_RAMP__GRAD / disc | |
| 1470 | 1518 | context->dir = ((DST_RAMP__END - DST_RAMP__START) == abs(DST_RAMP__END - DST_RAMP__START)); |
| 1471 | 1519 | context->last_en = 0; |
| 1472 | 1520 | } |
| r5490 | r5491 | |
| 1512 | 1560 | if (DST_SAMPHOLD__CLOCK == 0) node->output[0] = DST_SAMPHOLD__IN0; |
| 1513 | 1561 | break; |
| 1514 | 1562 | default: |
| 1515 | discrete_log("dst_samphold_step - Invalid clocktype passed"); | |
| 1563 | discrete_log(disc_info, "dst_samphold_step - Invalid clocktype passed"); | |
| 1516 | 1564 | break; |
| 1517 | 1565 | } |
| 1518 | 1566 | } |
| r5490 | r5491 | |
| 1680 | 1728 | case 'P': |
| 1681 | 1729 | dst_transform_push(trans_stack, &trans_stack_ptr, top); |
| 1682 | 1730 | break; |
| 1731 | case 'a': /* absolute value */ | |
| 1732 | top = fabs(top); | |
| 1733 | break; | |
| 1683 | 1734 | case 'i': /* * -1 */ |
| 1684 | 1735 | top = -top; |
| 1685 | 1736 | break; |
| r5490 | r5491 | |
| 1711 | 1762 | top = (int)number1 ^ (int)top; |
| 1712 | 1763 | break; |
| 1713 | 1764 | default: |
| 1714 | discrete_log("dst_transform_step - Invalid function type/variable passed"); | |
| 1765 | discrete_log(disc_info, "dst_transform_step - Invalid function type/variable passed"); | |
| 1715 | 1766 | node->output[0] = 0; |
| 1716 | 1767 | break; |
| 1717 | 1768 | } |
| r5490 | r5491 | |
| 1818 | 1869 | } |
| 1819 | 1870 | else |
| 1820 | 1871 | /* linear charge */ |
| 1821 | context->exponent = disc | |
| 1872 | context->exponent = disc | |
| 1822 | 1873 | } |
| 1823 | 1874 | |
| 1824 | 1875 | if (info->r3 >= 0) |
| r5490 | r5491 | |
|---|---|---|
| 6 | 6 | driven by one or more output bits |
| 7 | 7 | |
| 8 | 8 | Original author: (unsigned) |
| 9 | Filtering: Anders Hallstr | |
| 9 | Filtering: Anders Hallstr?m | |
| 10 | 10 | ****************************************************************************/ |
| 11 | 11 | |
| 12 | /* Discussion of oversampling and anti-alias filtering: (Anders Hallstr | |
| 12 | /* Discussion of oversampling and anti-alias filtering: (Anders Hallstr?m) | |
| 13 | 13 | * |
| 14 | 14 | * This driver is for machines that directly control |
| 15 | 15 | * one or more simple digital-to-analog converters (DAC) |
| 16 | 16 | * connected to one or more audio outputs (such as analog amp + speaker). |
| 17 | 17 | * Currently only 1-bit DAC is supported via the interface to this module. |
| 18 | * | |
| 18 | * | |
| 19 | 19 | * Frequently such machines would oversample the DAC |
| 20 | 20 | * in order to overcome the limited DAC resolution. |
| 21 | 21 | * For faithful reproduction of the sound, this must be carefully handled |
| r5490 | r5491 | |
| 94 | 94 | int level; |
| 95 | 95 | |
| 96 | 96 | /* The volume of a composed sample grows incrementally each time the speaker is over-sampled. |
| 97 | * That is in effect a basic average filter. | |
| 98 | * Another filter can and will be applied to the array of composed samples. | |
| 99 | */ | |
| 97 | * That is in effect a basic average filter. | |
| 98 | * Another filter can and will be applied to the array of composed samples. | |
| 99 | */ | |
| 100 | 100 | double composed_volume[FILTER_LENGTH]; /* integrator(s) */ |
| 101 | 101 | int composed_sample_index; /* array index for composed_volume */ |
| 102 | 102 | attoseconds_t channel_sample_period; /* in as */ |
| r5490 | r5491 | |
| 159 | 159 | sp->next_interm_sample_time = attotime_add_attoseconds(sp->channel_last_sample_time, sp->interm_sample_period); |
| 160 | 160 | sp->interm_sample_index = 0; |
| 161 | 161 | /* Note: To avoid time drift due to floating point inaccuracies, |
| 162 | * it is good if the speaker time synchronizes itself with the stream timing regularly. | |
| 163 | */ | |
| 162 | * it is good if the speaker time synchronizes itself with the stream timing regularly. | |
| 163 | */ | |
| 164 | 164 | |
| 165 | 165 | /* Compute filter kernel; */ |
| 166 | 166 | /* (Done for each device though the data is shared... |
| 167 | * No problem really, but should be done as part of system init if I knew how) | |
| 168 | */ | |
| 167 | * No problem really, but should be done as part of system init if I knew how) | |
| 168 | */ | |
| 169 | 169 | #if 1 |
| 170 | 170 | /* This is an approximated sinc (a perfect sinc makes an ideal low-pass filter). |
| 171 | * FILTER_STEP determines the cutoff frequency, | |
| 172 | * which should be below the Nyquist freq, i.e. half the sample rate. | |
| 173 | * Smaller step => kernel extends in time domain => lower cutoff freq | |
| 174 | * In this case, with sinc, filter step PI corresponds to the Nyq. freq. | |
| 175 | * Since we do not get a perfect filter => must lower the cutoff freq some more. | |
| 176 | * For example, step PI/(2*RATE_MULTIPLIER) corresponds to cutoff freq = sample rate / 4; | |
| 177 | * With -samplerate 48000, cutoff freq is ca 12kHz while the Nyq. freq is 24kHz. | |
| 178 | * With -samplerate 96000, cutoff freq is ca 24kHz while the Nyq. freq is 48kHz. | |
| 179 | * For a steeper, more efficient filter, increase FILTER_LENGTH at the expense of CPU usage. | |
| 180 | */ | |
| 171 | * FILTER_STEP determines the cutoff frequency, | |
| 172 | * which should be below the Nyquist freq, i.e. half the sample rate. | |
| 173 | * Smaller step => kernel extends in time domain => lower cutoff freq | |
| 174 | * In this case, with sinc, filter step PI corresponds to the Nyq. freq. | |
| 175 | * Since we do not get a perfect filter => must lower the cutoff freq some more. | |
| 176 | * For example, step PI/(2*RATE_MULTIPLIER) corresponds to cutoff freq = sample rate / 4; | |
| 177 | * With -samplerate 48000, cutoff freq is ca 12kHz while the Nyq. freq is 24kHz. | |
| 178 | * With -samplerate 96000, cutoff freq is ca 24kHz while the Nyq. freq is 48kHz. | |
| 179 | * For a steeper, more efficient filter, increase FILTER_LENGTH at the expense of CPU usage. | |
| 180 | */ | |
| 181 | 181 | #define FILTER_STEP (M_PI / 2 / RATE_MULTIPLIER) |
| 182 | 182 | /* Distribute symmetrically on x axis; center has x=0 if length is odd */ |
| 183 | 183 | for (i = 0, x = (0.5 - FILTER_LENGTH / 2.) * FILTER_STEP; |
| r5490 | r5491 | |
| 191 | 191 | } |
| 192 | 192 | #else |
| 193 | 193 | /* Trivial average filter with poor frequency cutoff properties; |
| 194 | * First zero (frequency where amplification=0) = sample rate / filter length | |
| 195 | * Cutoff frequency approx <= first zero / 2 | |
| 196 | */ | |
| 194 | * First zero (frequency where amplification=0) = sample rate / filter length | |
| 195 | * Cutoff frequency approx <= first zero / 2 | |
| 196 | */ | |
| 197 | 197 | for (i = 0, i < FILTER_LENGTH; i++) |
| 198 | 198 | ampl[i] = 1; |
| 199 | 199 | #endif |
| r5490 | r5491 | |
| 209 | 209 | stream_sample_t *buffer = outputs[0]; |
| 210 | 210 | int volume = sp->levels[sp->level]; |
| 211 | 211 | double filtered_volume; |
| 212 | attotime sampled_time; | |
| 212 | attotime sampled_time = attotime_zero; | |
| 213 | 213 | |
| 214 | 214 | if (samples > 0) |
| 215 | 215 | { |
| r5490 | r5491 | |
| 219 | 219 | sampled_time = attotime_mul(sampled_time, samples); |
| 220 | 220 | |
| 221 | 221 | /* Note: since the stream is in the process of being updated, |
| 222 | * stream_get_time() will return the time before the update! (MAME 0.130) | |
| 223 | * Avoid using it here in order to avoid a subtle dependence on the stream implementation. | |
| 224 | */ | |
| 222 | * stream_get_time() will return the time before the update! (MAME 0.130) | |
| 223 | * Avoid using it here in order to avoid a subtle dependence on the stream implementation. | |
| 224 | */ | |
| 225 | 225 | } |
| 226 | 226 | |
| 227 | 227 | if (samples-- > 0) |
| r5490 | r5491 | |
| 277 | 277 | return; |
| 278 | 278 | } |
| 279 | 279 | /* Reaching here means such time has passed since last stream update |
| 280 | * that we can add at least one complete sample to the stream. | |
| 281 | * The details have to be handled by speaker_sound_update() | |
| 282 | */ | |
| 280 | * that we can add at least one complete sample to the stream. | |
| 281 | * The details have to be handled by speaker_sound_update() | |
| 282 | */ | |
| 283 | 283 | |
| 284 | 284 | /* Force streams.c to update sound until this point in time now */ |
| 285 | 285 | stream_update(sp->channel); |
| 286 | 286 | |
| 287 | 287 | /* This is redundant because time update has to be done within speaker_sound_update() anyway, |
| 288 | * however this ensures synchronization between the speaker and stream timing: | |
| 289 | */ | |
| 288 | * however this ensures synchronization between the speaker and stream timing: | |
| 289 | */ | |
| 290 | 290 | sp->channel_last_sample_time = stream_get_time(sp->channel); |
| 291 | 291 | sp->channel_next_sample_time = attotime_add_attoseconds(sp->channel_last_sample_time, sp->channel_sample_period); |
| 292 | 292 | sp->next_interm_sample_time = attotime_add_attoseconds(sp->channel_last_sample_time, sp->interm_sample_period); |
| r5490 | r5491 | |
| 316 | 316 | init_next_interm_sample(sp); |
| 317 | 317 | } |
| 318 | 318 | /* Depending on status above: |
| 319 | * a) Add latest fraction to unfinished composed sample | |
| 320 | * b) The overshooting fraction of time will start a new composed sample | |
| 321 | */ | |
| 319 | * a) Add latest fraction to unfinished composed sample | |
| 320 | * b) The overshooting fraction of time will start a new composed sample | |
| 321 | */ | |
| 322 | 322 | fraction = make_fraction(time, sp->last_update_time, sp->interm_sample_period_secfrac); |
| 323 | 323 | sp->composed_volume[sp->composed_sample_index] += volume * fraction; |
| 324 | 324 | sp->last_update_time = time; |
| r5490 | r5491 | |
| 357 | 357 | double fraction; |
| 358 | 358 | |
| 359 | 359 | /* Fill the composed sample up if it was incomplete */ |
| 360 | fraction = make_fraction(sp->next_interm_sample_time, | |
| 361 | sp->last_update_time, | |
| 360 | fraction = make_fraction(sp->next_interm_sample_time, | |
| 361 | sp->last_update_time, | |
| 362 | 362 | sp->interm_sample_period_secfrac); |
| 363 | 363 | sp->composed_volume[sp->composed_sample_index] += volume * fraction; |
| 364 | 364 | /* Update time state */ |
| r5490 | r5491 | |
| 395 | 395 | double filtered_volume = 0; |
| 396 | 396 | double ampsum = 0; |
| 397 | 397 | int i, c; |
| 398 | ||
| 398 | ||
| 399 | 399 | /* Filter over composed samples (each composed sample is already average filtered) */ |
| 400 | 400 | for (i = sp->composed_sample_index + 1, c = 0; c < FILTER_LENGTH; i++, c++) |
| 401 | 401 | { |
| r5490 | r5491 | |
|---|---|---|
| 12 | 12 | Games using ADSR: gyruss |
| 13 | 13 | |
| 14 | 14 | A list with more games using ADSR can be found here: |
| 15 | http://mametesters.org/ | |
| 15 | http://mametesters.org/ | |
| 16 | 16 | |
| 17 | 17 | TODO: |
| 18 | 18 | * The AY8930 has an extended mode which is currently |
| r5490 | r5491 | |
|---|---|---|
| 51 | 51 | |
| 52 | 52 | /************************************* |
| 53 | 53 | * |
| 54 | * | |
| 54 | * P | |
| 55 | 55 | * |
| 56 | 56 | *************************************/ |
| 57 | 57 | |
| 58 | d | |
| 58 | #d | |
| 59 | 59 | |
| 60 | 60 | |
| 61 | 61 | |
| r5490 | r5491 | |
| 69 | 69 | static void find_input_nodes(discrete_info *info, discrete_sound_block *block_list); |
| 70 | 70 | static void setup_output_nodes(const device_config *device, discrete_info *info); |
| 71 | 71 | static void setup_disc_logs(discrete_info *info); |
| 72 | static node_description *discrete_find_node(const discrete_info *info, int node); | |
| 72 | 73 | static DEVICE_RESET( discrete ); |
| 73 | 74 | |
| 74 | 75 | |
| r5490 | r5491 | |
| 79 | 80 | * |
| 80 | 81 | *************************************/ |
| 81 | 82 | |
| 82 | static void CLIB_DECL ATTR_PRINTF( | |
| 83 | static void CLIB_DECL ATTR_PRINTF( | |
| 83 | 84 | { |
| 84 | 85 | if (DISCRETE_DEBUGLOG) |
| 85 | 86 | { |
| 86 | 87 | va_list arg; |
| 87 | 88 | va_start(arg, text); |
| 88 | 89 | |
| 89 | if(disc | |
| 90 | if(disc | |
| 90 | 91 | { |
| 91 | vfprintf(discrete_current_context->disclogfile, text, arg); | |
| 92 | fprintf(discrete_current_context->disclogfile, "\n"); | |
| 92 | vfprintf(disc_info->disclogfile, text, arg); | |
| 93 | fprintf(disc_info->disclogfile, "\n"); | |
| 93 | 94 | } |
| 94 | 95 | |
| 95 | 96 | va_end(arg); |
| r5490 | r5491 | |
| 123 | 124 | { DSO_OUTPUT ,"DSO_OUTPUT" , 0 ,0 ,NULL ,NULL }, |
| 124 | 125 | { DSO_CSVLOG ,"DSO_CSVLOG" , 0 ,0 ,NULL ,NULL }, |
| 125 | 126 | { DSO_WAVELOG ,"DSO_WAVELOG" , 0 ,0 ,NULL ,NULL }, |
| 127 | { DSO_IMPORT ,"DSO_IMPORT" , 0 ,0 ,NULL ,NULL }, | |
| 126 | 128 | |
| 129 | /* nop */ | |
| 130 | { DSS_NOP ,"DSS_NOP" , 0 ,0 ,NULL ,NULL }, | |
| 131 | ||
| 127 | 132 | /* from disc_inp.c */ |
| 128 | 133 | { DSS_ADJUSTMENT ,"DSS_ADJUSTMENT" , 1 ,sizeof(struct dss_adjustment_context) ,dss_adjustment_reset ,dss_adjustment_step }, |
| 129 | 134 | { DSS_CONSTANT ,"DSS_CONSTANT" , 1 ,0 ,dss_constant_reset ,NULL }, |
| r5490 | r5491 | |
| 159 | 164 | { DST_DIVIDE ,"DST_DIVIDE" , 1 ,0 ,NULL ,dst_divide_step }, |
| 160 | 165 | { DST_GAIN ,"DST_GAIN" , 1 ,0 ,NULL ,dst_gain_step }, |
| 161 | 166 | { DST_LOGIC_INV ,"DST_LOGIC_INV" , 1 ,0 ,NULL ,dst_logic_inv_step }, |
| 167 | { DST_GAIN ,"DST_GAIN" , 1 ,0 ,NULL ,dst_gain_step }, | |
| 168 | { DST_BITS_DECODE ,"DST_BITS_DECODE" , 8 ,sizeof(struct dst_bits_decode_context) ,dst_bits_decode_reset ,dst_bits_decode_step }, | |
| 162 | 169 | { DST_LOGIC_AND ,"DST_LOGIC_AND" , 1 ,0 ,NULL ,dst_logic_and_step }, |
| 163 | 170 | { DST_LOGIC_NAND ,"DST_LOGIC_NAND" , 1 ,0 ,NULL ,dst_logic_nand_step }, |
| 164 | 171 | { DST_LOGIC_OR ,"DST_LOGIC_OR" , 1 ,0 ,NULL ,dst_logic_or_step }, |
| r5490 | r5491 | |
| 230 | 237 | * |
| 231 | 238 | *************************************/ |
| 232 | 239 | |
| 233 | node_description *discrete_find_node( | |
| 240 | static node_description *discrete_find_node(const discrete_info * | |
| 234 | 241 | { |
| 235 | discrete_info *info = chip ? (discrete_info *)chip : discrete_current_context; | |
| 236 | 242 | if (node < NODE_START || node > NODE_END) return NULL; |
| 237 | 243 | return info->indexed_node[NODE_INDEX(node)]; |
| 238 | 244 | } |
| 239 | 245 | |
| 246 | /************************************* | |
| 247 | * | |
| 248 | * Build import list | |
| 249 | * | |
| 250 | *************************************/ | |
| 240 | 251 | |
| 252 | static int discrete_build_list(discrete_info *info, discrete_sound_block *intf, discrete_sound_block *out, int offset) | |
| 253 | { | |
| 254 | int node_count = 0; | |
| 241 | 255 | |
| 256 | for (; intf[node_count].type != DSS_NULL; ) | |
| 257 | { | |
| 258 | /* scan imported */ | |
| 259 | if (intf[node_count].type == DSO_IMPORT) | |
| 260 | { | |
| 261 | offset = discrete_build_list(info, (discrete_sound_block *) intf[node_count].custom, out, offset); | |
| 262 | } | |
| 263 | else if (intf[node_count].type == DSO_REPLACE) | |
| 264 | { | |
| 265 | int i; | |
| 266 | ||
| 267 | node_count++; | |
| 268 | if (intf[node_count].type == DSS_NULL) | |
| 269 | fatalerror("discrete_build_list: DISCRETE_REPLACE at end of node_list"); | |
| 270 | ||
| 271 | for (i = 0; i < offset; i++) | |
| 272 | if (out[i].type != NODE_SPECIAL ) | |
| 273 | if (out[i].node == intf[node_count].node) | |
| 274 | { | |
| 275 | out[i] = intf[node_count]; | |
| 276 | break; | |
| 277 | } | |
| 278 | ||
| 279 | if (i >= offset) | |
| 280 | fatalerror("discrete_build_list: DISCRETE_REPLACE did not found node %d", NODE_INDEX(intf[node_count].node)); | |
| 281 | ||
| 282 | } | |
| 283 | else if (intf[node_count].type == DSO_DELETE) | |
| 284 | { | |
| 285 | int i,p,deleted; | |
| 286 | ||
| 287 | p = 0; | |
| 288 | deleted = 0; | |
| 289 | for (i = 0; i < offset; i++) | |
| 290 | { | |
| 291 | if ((out[i].node >= intf[node_count].input_node[0]) && | |
| 292 | (out[i].node <= intf[node_count].input_node[1])) | |
| 293 | { | |
| 294 | discrete_log(info, "discrete_build_list() - DISCRETE_DELETE deleted NODE_%02d", NODE_INDEX(out[i].node) ); | |
| 295 | deleted++; | |
| 296 | } | |
| 297 | else | |
| 298 | { | |
| 299 | out[p++] = out[i]; | |
| 300 | } | |
| 301 | } | |
| 302 | offset -= deleted; | |
| 303 | } | |
| 304 | else | |
| 305 | out[offset++] = intf[node_count]; | |
| 306 | ||
| 307 | node_count++; | |
| 308 | } | |
| 309 | out[offset] = intf[node_count]; | |
| 310 | return offset; | |
| 311 | } | |
| 312 | ||
| 242 | 313 | /************************************* |
| 243 | 314 | * |
| 244 | 315 | * Master discrete system start |
| r5490 | r5491 | |
| 247 | 318 | |
| 248 | 319 | static DEVICE_START( discrete ) |
| 249 | 320 | { |
| 250 | discrete_sound_block *intf = (discrete_sound_block *)device->static_config; | |
| 321 | discrete_sound_block *intf; | |
| 322 | discrete_sound_block *intf_start = (discrete_sound_block *)device->static_config; | |
| 251 | 323 | discrete_info *info = get_safe_token(device); |
| 252 | 324 | char name[32]; |
| 253 | 325 | |
| r5490 | r5491 | |
| 261 | 333 | info->sample_time = 1.0 / info->sample_rate; |
| 262 | 334 | info->neg_sample_time = - info->sample_time; |
| 263 | 335 | |
| 336 | info->total_samples = 0; | |
| 337 | ||
| 264 | 338 | /* create the logfile */ |
| 265 | 339 | sprintf(name, "discrete%s.log", device->tag); |
| 266 | 340 | if (DISCRETE_DEBUGLOG && !info->disclogfile) |
| 267 | 341 | info->disclogfile = fopen(name, "w"); |
| 268 | 342 | |
| 269 | discrete_current_context = info; | |
| 343 | /* Build the final block list */ | |
| 344 | intf = auto_alloc_array_clear(device->machine, discrete_sound_block, DISCRETE_MAX_NODES); | |
| 345 | discrete_build_list(info, intf_start, intf, 0); | |
| 270 | 346 | |
| 271 | 347 | /* first pass through the nodes: sanity check, fill in the indexed_nodes, and make a total count */ |
| 272 | discrete_log("discrete_start() - Doing node list sanity check"); | |
| 348 | discrete_log(info, "discrete_start() - Doing node list sanity check"); | |
| 273 | 349 | for (info->node_count = 0; intf[info->node_count].type != DSS_NULL; info->node_count++) |
| 274 | 350 | { |
| 275 | 351 | /* make sure we don't have too many nodes overall */ |
| r5490 | r5491 | |
| 289 | 365 | fatalerror("discrete_start() - Child node number on NODE_%02d", NODE_INDEX(intf[info->node_count].node) ); |
| 290 | 366 | } |
| 291 | 367 | info->node_count++; |
| 292 | discrete_log("discrete_start() - Sanity check counted %d nodes", info->node_count); | |
| 368 | discrete_log(info, "discrete_start() - Sanity check counted %d nodes", info->node_count); | |
| 293 | 369 | |
| 294 | 370 | /* allocate memory for the array of actual nodes */ |
| 295 | 371 | info->node_list = auto_alloc_array_clear(device->machine, node_description, info->node_count); |
| r5490 | r5491 | |
| 310 | 386 | setup_output_nodes(device, info); |
| 311 | 387 | |
| 312 | 388 | setup_disc_logs(info); |
| 313 | ||
| 314 | discrete_current_context = NULL; | |
| 315 | 389 | } |
| 316 | 390 | |
| 317 | 391 | |
| r5490 | r5491 | |
| 327 | 401 | discrete_info *info = get_safe_token(device); |
| 328 | 402 | int log_num; |
| 329 | 403 | |
| 330 | ||
| 404 | if (DISCRETE_PROFILING) | |
| 331 | 405 | { |
| 332 | 406 | int nodenum; |
| 333 | 407 | osd_ticks_t total = 0; |
| 334 | 408 | osd_ticks_t tresh; |
| 335 | 409 | |
| 410 | printf("Total Samples: %d\n", info->total_samples); | |
| 336 | 411 | /* calculate total time */ |
| 337 | 412 | for (nodenum = 0; nodenum < info->node_count; nodenum++) |
| 338 | 413 | { |
| r5490 | r5491 | |
| 348 | 423 | node_description *node = info->running_order[nodenum]; |
| 349 | 424 | |
| 350 | 425 | if (node->run_time > tresh) |
| 351 | printf("%3d: %20s %8.2f\n", NODE_INDEX(node->node), node->module.name, (float) node->run_time / (float) total * 100.0); | |
| 352 | /* Now step the node */ | |
| 353 | total += node->run_time; | |
| 426 | printf("%3d: %20s %8.2f %10d\n", NODE_INDEX(node->node), node->module.name, (float) node->run_time / (float) total * 100.0, ((int) node->run_time) / info->total_samples); | |
| 354 | 427 | } |
| 355 | 428 | } |
| 356 | #endif | |
| 357 | 429 | |
| 358 | 430 | /* close any csv files */ |
| 359 | 431 | for (log_num = 0; log_num < info->num_csvlogs; log_num++) |
| r5490 | r5491 | |
| 387 | 459 | discrete_info *info = get_safe_token(device); |
| 388 | 460 | int nodenum; |
| 389 | 461 | |
| 390 | discrete_current_context = info; | |
| 391 | ||
| 392 | 462 | /* loop over all nodes */ |
| 393 | 463 | for (nodenum = 0; nodenum < info->node_count; nodenum++) |
| 394 | 464 | { |
| r5490 | r5491 | |
| 398 | 468 | |
| 399 | 469 | /* if the node has a reset function, call it */ |
| 400 | 470 | if (node->module.reset) |
| 401 | (*node->module.reset)( | |
| 471 | (*node->module.reset)( | |
| 402 | 472 | |
| 403 | 473 | /* otherwise, just step it */ |
| 404 | 474 | else if (node->module.step) |
| 405 | (*node->module.step)( | |
| 475 | (*node->module.step)( | |
| 406 | 476 | } |
| 477 | } | |
| 407 | 478 | |
| 408 | discrete_current_context = NULL; | |
| 479 | /* This was a try which unfortunately did not provide | |
| 480 | * any improvement. Left here for reference | |
| 481 | */ | |
| 482 | #if 0 | |
| 483 | INLINE void bigselect(const device_config *device, node_description *node) | |
| 484 | { | |
| 485 | switch (node->module.type) | |
| 486 | { | |
| 487 | case DSS_ADJUSTMENT : dss_adjustment_step(device, node); break; | |
| 488 | case DSS_INPUT_PULSE : dss_input_pulse_step(device, node); break; | |
| 489 | case DSS_INPUT_STREAM: dss_input_stream_step(device, node); break; | |
| 490 | case DSS_COUNTER : dss_counter_step(device, node); break; | |
| 491 | case DSS_LFSR_NOISE : dss_lfsr_step(device, node); break; | |
| 492 | case DSS_NOISE : dss_noise_step(device, node); break; | |
| 493 | case DSS_NOTE : dss_note_step(device, node); break; | |
| 494 | case DSS_SAWTOOTHWAVE: dss_sawtoothwave_step(device, node); break; | |
| 495 | case DSS_SINEWAVE : dss_sinewave_step(device, node); break; | |
| 496 | case DSS_SQUAREWAVE : dss_squarewave_step(device, node); break; | |
| 497 | case DSS_SQUAREWFIX : dss_squarewfix_step(device, node); break; | |
| 498 | case DSS_SQUAREWAVE2 : dss_squarewave2_step(device, node); break; | |
| 499 | case DSS_TRIANGLEWAVE: dss_trianglewave_step(device, node); break; | |
| 500 | case DSS_INVERTER_OSC : dss_inverter_osc_step(device, node); break; | |
| 501 | case DSS_OP_AMP_OSC : dss_op_amp_osc_step(device, node); break; | |
| 502 | case DSS_SCHMITT_OSC : dss_schmitt_osc_step(device, node); break; | |
| 503 | case DSS_ADSR : dss_adsrenv_step(device, node); break; | |
| 504 | case DST_ADDER : dst_adder_step(device, node); break; | |
| 505 | case DST_CLAMP : dst_clamp_step(device, node); break; | |
| 506 | case DST_DIVIDE : dst_divide_step(device, node); break; | |
| 507 | case DST_GAIN : dst_gain_step(device, node); break; | |
| 508 | case DST_LOGIC_INV : dst_logic_inv_step(device, node); break; | |
| 509 | case DST_LOGIC_AND : dst_logic_and_step(device, node); break; | |
| 510 | case DST_LOGIC_NAND : dst_logic_nand_step(device, node); break; | |
| 511 | case DST_LOGIC_OR : dst_logic_or_step(device, node); break; | |
| 512 | case DST_LOGIC_NOR : dst_logic_nor_step(device, node); break; | |
| 513 | case DST_LOGIC_XOR : dst_logic_xor_step(device, node); break; | |
| 514 | case DST_LOGIC_NXOR : dst_logic_nxor_step(device, node); break; | |
| 515 | case DST_LOGIC_DFF : dst_logic_dff_step(device, node); break; | |
| 516 | case DST_LOGIC_JKFF : dst_logic_jkff_step(device, node); break; | |
| 517 | case DST_LOOKUP_TABLE: dst_lookup_table_step(device, node); break; | |
| 518 | case DST_MULTIPLEX : dst_multiplex_step(device, node); break; | |
| 519 | case DST_ONESHOT : dst_oneshot_step(device, node); break; | |
| 520 | case DST_RAMP : dst_ramp_step(device, node); break; | |
| 521 | case DST_SAMPHOLD : dst_samphold_step(device, node); break; | |
| 522 | case DST_SWITCH : dst_switch_step(device, node); break; | |
| 523 | case DST_ASWITCH : dst_aswitch_step(device, node); break; | |
| 524 | case DST_TRANSFORM : dst_transform_step(device, node); break; | |
| 525 | case DST_COMP_ADDER : dst_comp_adder_step(device, node); break; | |
| 526 | case DST_DAC_R1 : dst_dac_r1_step(device, node); break; | |
| 527 | case DST_DIODE_MIX : dst_diode_mix_step(device, node); break; | |
| 528 | case DST_INTEGRATE : dst_integrate_step(device, node); break; | |
| 529 | case DST_MIXER : dst_mixer_step(device, node); break; | |
| 530 | case DST_OP_AMP : dst_op_amp_step(device, node); break; | |
| 531 | case DST_OP_AMP_1SHT : dst_op_amp_1sht_step(device, node); break; | |
| 532 | case DST_TVCA_OP_AMP : dst_tvca_op_amp_step(device, node); break; | |
| 533 | case DST_FILTER1 : dst_filter1_step(device, node); break; | |
| 534 | case DST_FILTER2 : dst_filter2_step(device, node); break; | |
| 535 | case DST_SALLEN_KEY : dst_sallen_key_step(device, node); break; | |
| 536 | case DST_CRFILTER : dst_crfilter_step(device, node); break; | |
| 537 | case DST_OP_AMP_FILT : dst_op_amp_filt_step(device, node); break; | |
| 538 | case DST_RCDISC : dst_rcdisc_step(device, node); break; | |
| 539 | case DST_RCDISC2 : dst_rcdisc2_step(device, node); break; | |
| 540 | case DST_RCDISC3 : dst_rcdisc3_step(device, node); break; | |
| 541 | case DST_RCDISC4 : dst_rcdisc4_step(device, node); break; | |
| 542 | case DST_RCDISC5 : dst_rcdisc5_step(device, node); break; | |
| 543 | case DST_RCINTEGRATE : dst_rcintegrate_step(device, node); break; | |
| 544 | case DST_RCDISC_MOD : dst_rcdisc_mod_step(device, node); break; | |
| 545 | case DST_RCFILTER : dst_rcfilter_step(device, node); break; | |
| 546 | case DST_RCFILTER_SW : dst_rcfilter_sw_step(device, node); break; | |
| 547 | case DST_RCFILTERN : dst_filter1_step(device, node); break; | |
| 548 | case DST_RCDISCN : dst_rcdiscN_step(device, node); break; | |
| 549 | case DST_RCDISC2N : dst_rcdisc2N_step(device, node); break; | |
| 550 | case DSD_555_ASTBL : dsd_555_astbl_step(device, node); break; | |
| 551 | case DSD_555_MSTBL : dsd_555_mstbl_step(device, node); break; | |
| 552 | case DSD_555_CC : dsd_555_cc_step(device, node); break; | |
| 553 | case DSD_555_VCO1 : dsd_555_vco1_step(device, node); break; | |
| 554 | case DSD_566 : dsd_566_step(device, node); break; | |
| 555 | case DSD_LS624 : dsd_ls624_step(device, node); break; | |
| 556 | } | |
| 409 | 557 | } |
| 410 | ||
| 411 | ||
| 412 | ||
| 558 | #endif | |
| 413 | 559 | /************************************* |
| 414 | 560 | * |
| 415 | 561 | * Stream update functions |
| r5490 | r5491 | |
| 423 | 569 | double val; |
| 424 | 570 | INT16 wave_data_l, wave_data_r; |
| 425 | 571 | |
| 426 | discrete_current_context = info; | |
| 427 | ||
| 428 | 572 | /* Setup any input streams */ |
| 429 | 573 | for (nodenum = 0; nodenum < info->discrete_input_streams; nodenum++) |
| 430 | 574 | { |
| r5490 | r5491 | |
| 434 | 578 | /* Now we must do samples iterations of the node list, one output for each step */ |
| 435 | 579 | for (samplenum = 0; samplenum < samples; samplenum++) |
| 436 | 580 | { |
| 581 | info->total_samples++; | |
| 437 | 582 | /* loop over all nodes */ |
| 438 | 583 | for (nodenum = 0; nodenum < info->node_count; nodenum++) |
| 439 | 584 | { |
| 440 | 585 | node_description *node = info->running_order[nodenum]; |
| 441 | 586 | |
| 442 | 587 | /* Now step the node */ |
| 443 | #if (DISCRETE_PROFILING) | |
| 444 | node->run_time -= osd_profiling_ticks(); | |
| 445 | #endif | |
| 588 | if (DISCRETE_PROFILING) | |
| 589 | node->run_time -= osd_profiling_ticks(); | |
| 590 | ||
| 446 | 591 | if (node->module.step) |
| 447 | (*node->module.step)(info->device, node); | |
| 448 | #if (DISCRETE_PROFILING) | |
| 449 | node->run_time += osd_profiling_ticks(); | |
| 450 | #endif | |
| 592 | (*node->module.step)(info, node); | |
| 593 | //bigselect(info->device, node); | |
| 594 | ||
| 595 | if (DISCRETE_PROFILING) | |
| 596 | node->run_time += osd_profiling_ticks(); | |
| 597 | ||
| 451 | 598 | } |
| 452 | 599 | |
| 453 | 600 | /* Add gain to the output and put into the buffers */ |
| r5490 | r5491 | |
| 461 | 608 | /* Dump any csv logs */ |
| 462 | 609 | for (outputnum = 0; outputnum < info->num_csvlogs; outputnum++) |
| 463 | 610 | { |
| 464 | fprintf(info->disc_csv_file[outputnum], "% | |
| 611 | fprintf(info->disc_csv_file[outputnum], "%" I64FMT "d", ++info->sample_num); | |
| 465 | 612 | for (nodenum = 0; nodenum < info->csvlog_node[outputnum]->active_inputs; nodenum++) |
| 466 | 613 | { |
| 467 | 614 | fprintf(info->disc_csv_file[outputnum], ", %f", *info->csvlog_node[outputnum]->input[nodenum]); |
| r5490 | r5491 | |
| 499 | 646 | } |
| 500 | 647 | } |
| 501 | 648 | |
| 502 | discrete_current_context = NULL; | |
| 503 | 649 | } |
| 504 | 650 | |
| 505 | 651 | |
| r5490 | r5491 | |
| 665 | 811 | /* warn if trying to use a node for an input that can only be static */ |
| 666 | 812 | if IS_VALUE_A_NODE(block->initial[inputnum]) |
| 667 | 813 | { |
| 668 | discrete_log("Warning - discrete_start - NODE_%02d trying to use a node on static input %d", NODE_INDEX(node->node), inputnum); | |
| 814 | discrete_log(info, "Warning - discrete_start - NODE_%02d trying to use a node on static input %d", NODE_INDEX(node->node), inputnum); | |
| 669 | 815 | /* also report it in the error log so it is not missed */ |
| 670 | 816 | logerror("Warning - discrete_start - NODE_%02d trying to use a node on static input %d", NODE_INDEX(node->node), inputnum); |
| 671 | 817 | } |
| r5490 | r5491 | |
|---|---|---|
| 255 | 255 | * DISCRETE_OP_AMP_ONESHOT(NODE,TRIG,INFO) |
| 256 | 256 | * DISCRETE_OP_AMP_TRIG_VCA(NODE,TRG0,TRG1,TRG2,IN0,IN1,INFO) |
| 257 | 257 | * |
| 258 | * DISCRETE_BIT_DECODE(NODE,INP,BIT_N,VOUT) | |
| 259 | * DISCRETE_BITS_DECODE(NODE,INP,BIT_FROM,BIT_TO,VOUT) | |
| 260 | * | |
| 258 | 261 | * DISCRETE_LOGIC_INVERT(NODE,ENAB,INP0) |
| 259 | 262 | * DISCRETE_LOGIC_AND(NODE,ENAB,INP0,INP1) |
| 260 | 263 | * DISCRETE_LOGIC_AND3(NODE,ENAB,INP0,INP1,INP2) |
| r5490 | r5491 | |
| 461 | 464 | * DISC_CLK_ON_R_EDGE - toggle on rising edge. |
| 462 | 465 | * DISC_CLK_BY_COUNT - toggle specified number of times. |
| 463 | 466 | * DISC_CLK_IS_FREQ - internally clock at this frequency. |
| 464 | * Clock node must be static if | |
| 465 | * DISC_CLK_IS_FREQ is used. | |
| 467 | * | |
| 466 | 468 | * x_time options: you can also | these x_time features to the basic |
| 467 | 469 | * types above if needed, or use seperately with 7492. |
| 468 | 470 | * DISC_OUT_IS_ENERGY - This will uses the x_time to |
| r5490 | r5491 | |
| 524 | 526 | * DISC_LFSR_FLAG_RESET_TYPE_L - reset when LOW (Defalut) |
| 525 | 527 | * DISC_LFSR_FLAG_RESET_TYPE_H - reset when HIGH |
| 526 | 528 | * DISC_LFSR_FLAG_OUTPUT_F0 - output is result of F0 |
| 529 | * DISC_LFSR_FLAG_OUTPUT_SR_SN1 - output shift register to sub-node output #1 | |
| 527 | 530 | * |
| 528 | 531 | * The diagram below outlines the structure of the LFSR model. |
| 529 | 532 | * |
| r5490 | r5491 | |
| 1244 | 1247 | * |
| 1245 | 1248 | *********************************************************************** |
| 1246 | 1249 | * |
| 1250 | * DISCRETE_BIT_DECODE - Decode a bit from value | |
| 1251 | * DISCRETE_BITS_DECODE - Decode a range of bits from value | |
| 1252 | * | |
| 1253 | * Declaration syntax | |
| 1254 | * | |
| 1255 | * DISCRETE_BIT_DECODE(name of node, | |
| 1256 | * input0 node or static value, | |
| 1257 | * bit number static value, | |
| 1258 | * output voltage (logic high) static value) | |
| 1259 | * | |
| 1260 | * Example config lines | |
| 1261 | * | |
| 1262 | * DISCRETE_BIT_DECODE(NODE_03,7,0,5) | |
| 1263 | * | |
| 1264 | * Node output is 5 | |
| 1265 | * | |
| 1266 | * DISCRETE_BIT_DECODE(NODE_03,7,3,5) | |
| 1267 | * | |
| 1268 | * Node output is 0 | |
| 1269 | * | |
| 1270 | * if the range variant is used, you may access the bits (up to 8) | |
| 1271 | * by using NODE_SUB, i.e. | |
| 1272 | * | |
| 1273 | * DISCRETE_BITS_DECODE(NODE_03,5,0,4,5) | |
| 1274 | * | |
| 1275 | * NODE_SUB(NODE_03, 0) = 5 | |
| 1276 | * NODE_SUB(NODE_03, 1) = 0 | |
| 1277 | * NODE_SUB(NODE_03, 2) = 5 | |
| 1278 | * NODE_SUB(NODE_03, 3) = 0 | |
| 1279 | * NODE_SUB(NODE_03, 4) = 0 | |
| 1280 | * | |
| 1281 | * EXAMPLES: galaxian, dkong, mario | |
| 1282 | * | |
| 1283 | # *********************************************************************** | |
| 1284 | * | |
| 1247 | 1285 | * DISCRETE_LOGIC_INVERT - Logic invertor |
| 1248 | 1286 | * DISCRETE_LOGIC_AND - Logic AND gate (3 & 4 input also available) |
| 1249 | 1287 | * DISCRETE_LOGIC_NAND - Logic NAND gate (3 & 4 input also available) |
| r5490 | r5491 | |
| 1650 | 1688 | * + - Pop two values from stack, add and push result to stack |
| 1651 | 1689 | * / - Pop two values from stack, divide and push result to stack |
| 1652 | 1690 | * * - Pop two values from stack, multiply and push result to stack |
| 1691 | * a - Pop one value from stack, multiply -1 if less than 0 and push result to stack | |
| 1653 | 1692 | * i - Pop one value from stack, multiply -1 and push result to stack |
| 1654 | 1693 | * ! - Pop one value from stack, logical invert, push result to stack |
| 1655 | 1694 | * = - Pop two values from stack, logical = and push result to stack |
| r5490 | r5491 | |
| 2437 | 2476 | * |
| 2438 | 2477 | * DISCRETE_RCDISC3 - RC discharge network |
| 2439 | 2478 | * |
| 2479 | * FIXME: Diode direction (for bzone) | |
| 2480 | * | |
| 2440 | 2481 | * .-----------------. |
| 2441 | 2482 | * | | |
| 2442 | 2483 | * ENAB -0------>| | |
| r5490 | r5491 | |
| 2552 | 2593 | * |
| 2553 | 2594 | * DISCRETE_RCDISC5 - Diode in series with R//C |
| 2554 | 2595 | * |
| 2555 | * .---------------. | |
| 2556 | * | | | |
| 2557 | * ENAB -0------>| | | |
| 2558 | * | | | |
| 2559 | * INPUT1 -1------>| -|>|--+---+- | | |
| 2560 | * | | | |----> Netlist node | |
| 2561 | * RVAL -2------>| --- Z | | |
| 2562 | * | C--- Z R | | |
| 2563 | * CVAL -3------>| | Z | | |
| 2564 | * | --+-- | | |
| 2565 | * | |gnd | | |
| 2566 | * '---------------' | |
| 2596 | * .---------------------. | |
| 2597 | * | | | |
| 2598 | * ENAB -0------>| -----------. | | |
| 2599 | * | -- | | |
| 2600 | * INPUT1 -1------>| -|>|--+--|SW|---+- |----> Netlist node | |
| 2601 | * | | -- | | | |
| 2602 | * RVAL -2------>| --- Z | | |
| 2603 | * | C--- Z R | | |
| 2604 | * CVAL -3------>| | Z | | |
| 2605 | * | -----+----- | | |
| 2606 | * | |gnd | | |
| 2607 | * '---------------------' | |
| 2567 | 2608 | * |
| 2568 | 2609 | * Declaration syntax |
| 2569 | 2610 | * |
| r5490 | r5491 | |
| 2578 | 2619 | * DISCRETE_RCDISC5(NODE_11,NODE_10,10,100,CAP_U(1)) |
| 2579 | 2620 | * |
| 2580 | 2621 | * When enabled by NODE_10, C discharges from 10v as indicated by RC |
| 2581 | * of 100R & 1uF. | |
| 2622 | * of 100R & 1uF. If not enabled, the capcitors keeps it load and may | |
| 2623 | * still be charged through input1. The switch is assumed to be a CD4066, | |
| 2624 | * thus if not enabled the output will be drawn by R to GND since | |
| 2625 | * the switch is in high impedance mode. | |
| 2582 | 2626 | * |
| 2583 | * EXAMPLES: see Spiders | |
| 2627 | * EXAMPLES: see Spiders, Galaxian | |
| 2584 | 2628 | * |
| 2585 | 2629 | *********************************************************************** |
| 2586 | 2630 | * |
| r5490 | r5491 | |
| 3260 | 3304 | *************************************/ |
| 3261 | 3305 | |
| 3262 | 3306 | /* calculate charge exponent using discrete sample time */ |
| 3263 | #define RC_CHARGE_EXP(rc) (1.0 - exp(disc | |
| 3307 | #define RC_CHARGE_EXP(rc) (1.0 - exp(disc | |
| 3264 | 3308 | /* calculate charge exponent using given sample time */ |
| 3265 | 3309 | #define RC_CHARGE_EXP_DT(rc, dt) (1.0 - exp(-(dt) / (rc))) |
| 3266 | 3310 | #define RC_CHARGE_NEG_EXP_DT(rc, dt) (1.0 - exp((dt) / (rc))) |
| 3267 | 3311 | |
| 3268 | 3312 | /* calculate discharge exponent using discrete sample time */ |
| 3269 | #define RC_DISCHARGE_EXP(rc) (exp(disc | |
| 3313 | #define RC_DISCHARGE_EXP(rc) (exp(disc | |
| 3270 | 3314 | /* calculate discharge exponent using given sample time */ |
| 3271 | 3315 | #define RC_DISCHARGE_EXP_DT(rc, dt) (exp(-(dt) / (rc))) |
| 3272 | 3316 | #define RC_DISCHARGE_NEG_EXP_DT(rc, dt) (exp((dt) / (rc))) |
| r5490 | r5491 | |
| 3280 | 3324 | #define DISCRETE_STEP_NAME( _func ) _func ## _step |
| 3281 | 3325 | #define DISCRETE_RESET_NAME( _func ) _func ## _reset |
| 3282 | 3326 | |
| 3327 | #define DISCRETE_STEP(_func) void DISCRETE_STEP_NAME(_func) (const discrete_info *disc_info, node_description *node) | |
| 3328 | #define DISCRETE_RESET(_func) void DISCRETE_RESET_NAME(_func) (const discrete_info *disc_info, node_description *node) | |
| 3329 | ||
| 3330 | #define DISCRETE_STEP_CALL(_func) DISCRETE_STEP_NAME(_func) (disc_info, node) | |
| 3331 | #define DISCRETE_RESET_CALL(_func) DISCRETE_RESET_NAME(_func) (disc_info, node) | |
| 3332 | ||
| 3333 | #if 0 | |
| 3283 | 3334 | #define DISCRETE_STEP(_func) void DISCRETE_STEP_NAME(_func) (const device_config *device, node_description *node) |
| 3284 | 3335 | #define DISCRETE_RESET(_func) void DISCRETE_RESET_NAME(_func) (const device_config *device, node_description *node) |
| 3285 | 3336 | |
| 3286 | 3337 | #define DISCRETE_STEP_CALL(_func) DISCRETE_STEP_NAME(_func) (device, node) |
| 3287 | 3338 | #define DISCRETE_RESET_CALL(_func) DISCRETE_RESET_NAME(_func) (device, node) |
| 3339 | #endif | |
| 3288 | 3340 | |
| 3289 | 3341 | /************************************* |
| 3290 | 3342 | * |
| 3291 | * Profiling Nodes | |
| 3292 | * | |
| 3293 | *************************************/ | |
| 3294 | ||
| 3295 | #define DISCRETE_PROFILING (0) | |
| 3296 | ||
| 3297 | /************************************* | |
| 3298 | * | |
| 3299 | 3343 | * Core constants |
| 3300 | 3344 | * |
| 3301 | 3345 | *************************************/ |
| r5490 | r5491 | |
| 3361 | 3405 | #define DISC_LFSR_FLAG_RESET_TYPE_L 0x00 |
| 3362 | 3406 | #define DISC_LFSR_FLAG_RESET_TYPE_H 0x02 |
| 3363 | 3407 | #define DISC_LFSR_FLAG_OUTPUT_F0 0x04 |
| 3408 | #define DISC_LFSR_FLAG_OUTPUT_SR_SN1 0x08 | |
| 3364 | 3409 | |
| 3365 | 3410 | /* Sample & Hold supported clock types */ |
| 3366 | 3411 | #define DISC_SAMPHOLD_REDGE 0 |
| r5490 | r5491 | |
| 3531 | 3576 | *************************************/ |
| 3532 | 3577 | |
| 3533 | 3578 | typedef struct _node_description node_description; |
| 3579 | typedef struct _discrete_info discrete_info; | |
| 3534 | 3580 | |
| 3535 | 3581 | typedef struct _discrete_module discrete_module; |
| 3536 | 3582 | struct _discrete_module |
| r5490 | r5491 | |
| 3539 | 3585 | const char * name; |
| 3540 | 3586 | int num_output; /* Total number of output nodes, i.e. Master node + 1 */ |
| 3541 | 3587 | size_t contextsize; |
| 3542 | void (*reset)(const device_config *device, node_description *node); /* Called to reset a node after creation or system reset */ | |
| 3543 | void (*step)(const device_config *device, node_description *node); /* Called to execute one time delta of output update */ | |
| 3588 | void (*reset)(const discrete_info *disc_info, node_description *node); /* Called to reset a node after creation or system reset */ | |
| 3589 | void (*step)(const discrete_info *disc_info, node_description *node); /* Called to execute one time delta of output update */ | |
| 3544 | 3590 | }; |
| 3545 | 3591 | |
| 3546 | 3592 | |
| r5490 | r5491 | |
| 3564 | 3610 | void * context; /* Contextual information specific to this node type */ |
| 3565 | 3611 | const char * name; /* Text name string for identification/debug */ |
| 3566 | 3612 | const void * custom; /* Custom function specific initialisation data */ |
| 3567 | #if (DISCRETE_PROFILING) | |
| 3568 | 3613 | osd_ticks_t run_time; |
| 3569 | #endif | |
| 3570 | 3614 | }; |
| 3571 | 3615 | |
| 3572 | 3616 | |
| r5490 | r5491 | |
| 3580 | 3624 | * |
| 3581 | 3625 | *************************************/ |
| 3582 | 3626 | |
| 3583 | typedef struct _discrete_info discrete_info; | |
| 3584 | 3627 | struct _discrete_info |
| 3585 | 3628 | { |
| 3586 | 3629 | const device_config *device; |
| r5490 | r5491 | |
| 3620 | 3663 | int num_wavelogs; |
| 3621 | 3664 | wav_file *disc_wav_file[DISCRETE_MAX_WAVELOGS]; |
| 3622 | 3665 | node_description *wavelog_node[DISCRETE_MAX_WAVELOGS]; |
| 3666 | ||
| 3667 | /* profiling */ | |
| 3668 | int total_samples; | |
| 3623 | 3669 | }; |
| 3624 | 3670 | |
| 3625 | 3671 | |
| r5490 | r5491 | |
| 3881 | 3927 | typedef struct _discrete_custom_info discrete_custom_info; |
| 3882 | 3928 | struct _discrete_custom_info |
| 3883 | 3929 | { |
| 3884 | void (*reset)(const device_config *device, node_description *node); /* Called to reset a node after creation or system reset */ | |
| 3885 | void (*step)(const device_config *device, node_description *node); /* Called to execute one time delta of output update */ | |
| 3930 | void (*reset)(const discrete_info *disc_info, node_description *node); /* Called to reset a node after creation or system reset */ | |
| 3931 | void (*step)(const discrete_info *disc_info, node_description *node); /* Called to execute one time delta of output update */ | |
| 3886 | 3932 | size_t contextsize; |
| 3887 | 3933 | const void *custom; /* Custom function specific initialisation data */ |
| 3888 | 3934 | }; |
| r5490 | r5491 | |
| 3999 | 4045 | enum |
| 4000 | 4046 | { |
| 4001 | 4047 | DSS_NULL, /* Nothing, nill, zippo, only to be used as terminating node */ |
| 4048 | DSS_NOP, /* just do nothing, placeholder for potential DISCRETE_REPLACE in parent block */ | |
| 4002 | 4049 | |
| 4003 | 4050 | /* from disc_inp.c */ |
| 4004 | 4051 | DSS_ADJUSTMENT, /* Adjustment node */ |
| r5490 | r5491 | |
| 4036 | 4083 | DST_CLAMP, /* Signal Clamp */ |
| 4037 | 4084 | DST_DIVIDE, /* Gain Block, C = A/B */ |
| 4038 | 4085 | DST_GAIN, /* Gain Block, D = (A*B) + C*/ |
| 4086 | DST_BITS_DECODE, /* Decode bits from input value */ | |
| 4039 | 4087 | DST_LOGIC_INV, |
| 4040 | 4088 | DST_LOGIC_AND, |
| 4041 | 4089 | DST_LOGIC_NAND, |
| r5490 | r5491 | |
| 4104 | 4152 | DSO_WAVELOG, /* Dump nodes as wav file */ |
| 4105 | 4153 | |
| 4106 | 4154 | /* Output Node -- this must be the last entry in this enum! */ |
| 4107 | DSO_OUTPUT /* The final output node */ | |
| 4155 | DSO_OUTPUT, /* The final output node */ | |
| 4156 | ||
| 4157 | /* Import another blocklist */ | |
| 4158 | DSO_IMPORT, /* import from another discrete block */ | |
| 4159 | DSO_REPLACE, /* replace next node */ | |
| 4160 | DSO_DELETE, /* delete nodes */ | |
| 4161 | ||
| 4162 | /* Marks end of this enum -- must be last entry ! */ | |
| 4163 | DSO_LAST | |
| 4108 | 4164 | }; |
| 4109 | 4165 | |
| 4110 | 4166 | |
| r5490 | r5491 | |
| 4169 | 4225 | #define DISCRETE_GAIN(NODE,INP0,GAIN) { NODE, DST_GAIN , 4, { NODE_NC,INP0,NODE_NC,NODE_NC }, { 1,INP0,GAIN,0 }, NULL, "DISCRETE_GAIN" }, |
| 4170 | 4226 | #define DISCRETE_INVERT(NODE,INP0) { NODE, DST_GAIN , 4, { NODE_NC,INP0,NODE_NC,NODE_NC }, { 1,INP0,-1,0 }, NULL, "DISCRETE_INVERT" }, |
| 4171 | 4227 | #define DISCRETE_LOGIC_INVERT(NODE,ENAB,INP0) { NODE, DST_LOGIC_INV , 2, { ENAB,INP0 }, { ENAB,INP0 }, NULL, "DISCRETE_LOGIC_INVERT" }, |
| 4228 | ||
| 4229 | #define DISCRETE_BIT_DECODE(NODE, INP, BIT_N, VOUT) { NODE, DST_BITS_DECODE , 3, { INP,NODE_NC,NODE_NC,NODE_NC }, { INP,BIT_N,BIT_N, VOUT }, NULL, "DISCRETE_BIT_DECODE" }, | |
| 4230 | #define DISCRETE_BITS_DECODE(NODE, INP, BIT_FROM, BIT_TO, VOUT) { NODE, DST_BITS_DECODE , 4, { INP,NODE_NC,NODE_NC,NODE_NC }, { INP,BIT_FROM,BIT_TO, VOUT }, NULL, "DISCRETE_BITS_DECODE" }, | |
| 4231 | ||
| 4172 | 4232 | #define DISCRETE_LOGIC_AND(NODE,ENAB,INP0,INP1) { NODE, DST_LOGIC_AND , 5, { ENAB,INP0,INP1,NODE_NC,NODE_NC }, { ENAB,INP0,INP1,1.0,1.0 }, NULL, "DISCRETE_LOGIC_AND" }, |
| 4173 | 4233 | #define DISCRETE_LOGIC_AND3(NODE,ENAB,INP0,INP1,INP2) { NODE, DST_LOGIC_AND , 5, { ENAB,INP0,INP1,INP2,NODE_NC }, { ENAB,INP0,INP1,INP2,1.0 }, NULL, "DISCRETE_LOGIC_AND3" }, |
| 4174 | 4234 | #define DISCRETE_LOGIC_AND4(NODE,ENAB,INP0,INP1,INP2,INP3) { NODE, DST_LOGIC_AND , 5, { ENAB,INP0,INP1,INP2,INP3 }, { ENAB,INP0,INP1,INP2,INP3 } ,NULL, "DISCRETE_LOGIC_AND4" }, |
| r5490 | r5491 | |
| 4266 | 4326 | #define DISCRETE_566(NODE,ENAB,VMOD,R,C,OPTIONS) { NODE, DSD_566 , 4, { ENAB,VMOD,R,C }, { ENAB,VMOD,R,C }, OPTIONS, "DISCRETE_566" }, |
| 4267 | 4327 | #define DISCRETE_74LS624(NODE,ENAB,VMOD,VRNG,C,OUTTYPE) { NODE, DSD_LS624 , 5, { ENAB,VMOD,VRNG,C,NODE_NC }, { ENAB,VMOD,VRNG,C, OUTTYPE }, NULL, "DISCRETE_74LS624" }, |
| 4268 | 4328 | |
| 4329 | /* NOP */ | |
| 4330 | #define DISCRETE_NOP(NODE) { NODE, DSS_NOP , 0, { 0 }, { 0 }, NULL, "DISCRETE_NOP" }, | |
| 4331 | ||
| 4269 | 4332 | /* logging */ |
| 4270 | 4333 | #define DISCRETE_CSVLOG1(NODE1) { NODE_SPECIAL, DSO_CSVLOG , 1, { NODE1 }, { NODE1 }, NULL, "DISCRETE_CSVLOG1" }, |
| 4271 | 4334 | #define DISCRETE_CSVLOG2(NODE1,NODE2) { NODE_SPECIAL, DSO_CSVLOG , 2, { NODE1,NODE2 }, { NODE1,NODE2 }, NULL, "DISCRETE_CSVLOG2" }, |
| r5490 | r5491 | |
| 4274 | 4337 | #define DISCRETE_CSVLOG5(NODE1,NODE2,NODE3,NODE4,NODE5) { NODE_SPECIAL, DSO_CSVLOG , 5, { NODE1,NODE2,NODE3,NODE4,NODE5 }, { NODE1,NODE2,NODE3,NODE4,NODE5 }, NULL, "DISCRETE_CSVLOG5" }, |
| 4275 | 4338 | #define DISCRETE_WAVELOG1(NODE1,GAIN1) { NODE_SPECIAL, DSO_WAVELOG , 2, { NODE1,NODE_NC }, { NODE1,GAIN1 }, NULL, "DISCRETE_WAVELOG1" }, |
| 4276 | 4339 | #define DISCRETE_WAVELOG2(NODE1,GAIN1,NODE2,GAIN2) { NODE_SPECIAL, DSO_WAVELOG , 4, { NODE1,NODE_NC,NODE2,NODE_NC }, { NODE1,GAIN1,NODE2,GAIN2 }, NULL, "DISCRETE_WAVELOG2" }, |
| 4340 | ||
| 4341 | /* import */ | |
| 4342 | #define DISCRETE_IMPORT(INFO) { NODE_SPECIAL, DSO_IMPORT , 0, { 0 }, { 0 }, &(INFO##_discrete_interface), "DISCRETE_IMPORT" }, | |
| 4343 | #define DISCRETE_DELETE(NODE_FROM, NODE_TO) { NODE_SPECIAL, DSO_DELETE , 2, { NODE_FROM, NODE_TO }, { NODE_FROM, NODE_TO }, NULL, "DISCRETE_DELETE" }, | |
| 4344 | #define DISCRETE_REPLACE { NODE_SPECIAL, DSO_REPLACE , 0, { 0 }, { 0 }, NULL, "DISCRETE_REPLACE" }, | |
| 4345 | ||
| 4346 | ||
| 4277 | 4347 | /* output */ |
| 4278 | 4348 | #define DISCRETE_OUTPUT(OPNODE,GAIN) { NODE_SPECIAL, DSO_OUTPUT , 2, { OPNODE,NODE_NC }, { 0,GAIN }, NULL, "DISCRETE_OUTPUT" }, |
| 4279 | 4349 | |
| r5490 | r5491 | |
| 4287 | 4357 | * |
| 4288 | 4358 | *************************************/ |
| 4289 | 4359 | |
| 4290 | extern discrete_info *discrete_current_context; | |
| 4291 | ||
| 4292 | node_description *discrete_find_node(void *chip, int node); | |
| 4293 | ||
| 4294 | void discrete_sound_n_w(void *chip, offs_t offset, UINT8 data); | |
| 4295 | UINT8 discrete_sound_n_r(void *chip, offs_t offset); | |
| 4296 | ||
| 4297 | 4360 | WRITE8_DEVICE_HANDLER( discrete_sound_w ); |
| 4298 | 4361 | READ8_DEVICE_HANDLER( discrete_sound_r ); |
| 4299 | 4362 |
| r5490 | r5491 | |
|---|---|---|
| 234 | 234 | * dt = R*C(log(1/(1-(Vc/Vr)))) |
| 235 | 235 | */ |
| 236 | 236 | |
| 237 | dt = disc | |
| 237 | dt = disc | |
| 238 | 238 | |
| 239 | 239 | /* Sometimes a switching network is used to setup the capacitance. |
| 240 | 240 | * These may select no capacitor, causing oscillation to stop. |
| r5490 | r5491 | |
| 338 | 338 | } |
| 339 | 339 | |
| 340 | 340 | /* Convert last switch time to a ratio */ |
| 341 | x_time = x_time / disc | |
| 341 | x_time = x_time / disc | |
| 342 | 342 | |
| 343 | 343 | switch (context->output_type) |
| 344 | 344 | { |
| r5490 | r5491 | |
| 387 | 387 | context->v_out_high = (info->v_out_high == DEFAULT_555_HIGH) ? info->v_pos - 1.2 : info->v_out_high; |
| 388 | 388 | |
| 389 | 389 | /* setup v_charge or node */ |
| 390 | v_charge_node = discrete_find_node( | |
| 390 | v_charge_node = discrete_find_node(disc_info, info->v_charge); | |
| 391 | 391 | if (v_charge_node) |
| 392 | 392 | context->v_charge_node = &(v_charge_node->output[NODE_CHILD_NODE_NUM(info->v_charge)]); |
| 393 | 393 | else |
| r5490 | r5491 | |
| 548 | 548 | context->output_type = info->options & DISC_555_OUT_MASK; |
| 549 | 549 | if ((context->output_type == DISC_555_OUT_COUNT_F) || (context->output_type == DISC_555_OUT_COUNT_R)) |
| 550 | 550 | { |
| 551 | discrete_log("Invalid Output type in NODE_%d.\n", node->node - NODE_00); | |
| 551 | discrete_log(disc_info, "Invalid Output type in NODE_%d.\n", node->node - NODE_00); | |
| 552 | 552 | context->output_type = DISC_555_OUT_SQW; |
| 553 | 553 | } |
| 554 | 554 | |
| r5490 | r5491 | |
| 642 | 642 | return; |
| 643 | 643 | } |
| 644 | 644 | |
| 645 | dt = disc | |
| 645 | dt = disc | |
| 646 | 646 | v_cap = context->cap_voltage; /* Set to voltage before change */ |
| 647 | 647 | v_vcharge_limit = DSD_555_CC__VIN + info->v_cc_junction; /* the max v_cap can be and still be charged by i */ |
| 648 | 648 | /* Calculate charging current */ |
| r5490 | r5491 | |
| 888 | 888 | context->cap_voltage = v_cap_next; |
| 889 | 889 | |
| 890 | 890 | /* Convert last switch time to a ratio */ |
| 891 | x_time = x_time / disc | |
| 891 | x_time = x_time / disc | |
| 892 | 892 | |
| 893 | 893 | switch (context->output_type) |
| 894 | 894 | { |
| r5490 | r5491 | |
| 1171 | 1171 | double v_cap; /* Current voltage on capacitor, before dt */ |
| 1172 | 1172 | double v_cap_next = 0; /* Voltage on capacitor, after dt */ |
| 1173 | 1173 | |
| 1174 | dt = disc | |
| 1174 | dt = disc | |
| 1175 | 1175 | v_cap = context->cap_voltage; |
| 1176 | 1176 | |
| 1177 | 1177 | /* Check: if the Control Voltage node is connected. */ |
| r5490 | r5491 | |
| 1275 | 1275 | context->cap_voltage = v_cap_next; |
| 1276 | 1276 | |
| 1277 | 1277 | /* Convert last switch time to a ratio. No x_time in reset. */ |
| 1278 | x_time = x_time / disc | |
| 1278 | x_time = x_time / disc | |
| 1279 | 1279 | if (!DSD_555_VCO1__RESET) x_time = 0; |
| 1280 | 1280 | |
| 1281 | 1281 | switch (context->output_type) |
| r5490 | r5491 | |
| 1403 | 1403 | |
| 1404 | 1404 | if (DSD_566__ENABLE && !context->error) |
| 1405 | 1405 | { |
| 1406 | dt = disc | |
| 1406 | dt = disc | |
| 1407 | 1407 | v_cap = context->cap_voltage; /* Set to voltage before change */ |
| 1408 | 1408 | |
| 1409 | 1409 | /* get the v_charge and update each step if it is a node */ |
| r5490 | r5491 | |
| 1528 | 1528 | } |
| 1529 | 1529 | |
| 1530 | 1530 | /* setup v_charge or node */ |
| 1531 | v_charge_node = discrete_find_node( | |
| 1531 | v_charge_node = discrete_find_node(disc_info, info->v_charge); | |
| 1532 | 1532 | if (v_charge_node) |
| 1533 | 1533 | context->v_charge_node = &(v_charge_node->output[NODE_CHILD_NODE_NUM(info->v_charge)]); |
| 1534 | 1534 | else |
| r5490 | r5491 | |
| 1608 | 1608 | double en = 0.0f; |
| 1609 | 1609 | int cntf = 0, cntr = 0; |
| 1610 | 1610 | |
| 1611 | sample_t = disc | |
| 1611 | sample_t = disc | |
| 1612 | 1612 | //dt = LS624_T(DSD_LS624__C, DSD_LS624__VRNG, DSD_LS624__VMOD) / 2.0; |
| 1613 | 1613 | dt = 1.0f / (2.0f * LS624_F(DSD_LS624__C, DSD_LS624__VMOD, DSD_LS624__VRNG)); |
| 1614 | 1614 | t = context->remain; |
| r5490 | r5491 | |
|---|---|---|
| 411 | 411 | fatalerror("Unable to allocate bank for oki6295 device '%s'", device->tag); |
| 412 | 412 | |
| 413 | 413 | /* override our memory map with a bank */ |
| 414 | memory_install_read8_handler(device->space[0], 0x00000, 0x3ffff, 0, 0, SMH_BANK(info->bank_num)); | |
| 414 | memory_install_read8_handler(device->space[0], 0x00000, 0x3ffff, 0, 0, (read8_space_func)SMH_BANK(info->bank_num)); | |
| 415 | 415 | } |
| 416 | 416 | |
| 417 | 417 | /* if we have a bank number, set the base pointer */ |
| r5490 | r5491 | |
|---|---|---|
| 35 | 35 | int is_7492; |
| 36 | 36 | int last; /* Last clock state */ |
| 37 | 37 | int count; /* current count */ |
| 38 | double t_clock; /* fixed counter clock in seconds */ | |
| 39 | 38 | double t_left; /* time unused during last sample in seconds */ |
| 40 | 39 | }; |
| 41 | 40 | |
| r5490 | r5491 | |
| 67 | 66 | UINT8 reset_on_high; |
| 68 | 67 | UINT8 invert_output; |
| 69 | 68 | UINT8 out_is_f0; |
| 69 | UINT8 out_lfsr_reg; | |
| 70 | 70 | }; |
| 71 | 71 | |
| 72 | 72 | struct dss_noise_context |
| r5490 | r5491 | |
| 185 | 185 | { |
| 186 | 186 | struct dss_counter_context *context = (struct dss_counter_context *)node->context; |
| 187 | 187 | double cycles; |
| 188 | double ds_clock; | |
| 188 | 189 | int clock = 0, last_count, inc = 0; |
| 189 | 190 | int max; |
| 190 | 191 | double x_time = 0; |
| r5490 | r5491 | |
| 194 | 195 | else |
| 195 | 196 | max = DSS_COUNTER__MAX; |
| 196 | 197 | |
| 198 | ds_clock = DSS_COUNTER__CLOCK; | |
| 197 | 199 | if (context->clock_type == DISC_CLK_IS_FREQ) |
| 198 | 200 | { |
| 199 | 201 | /* We need to keep clocking the internal clock even if disabled. */ |
| 200 | cycles = (context->t_left + disc | |
| 202 | cycles = (context->t_left + disc | |
| 201 | 203 | inc = (int)cycles; |
| 202 | context->t_left = (cycles - inc) * context->t_clock; | |
| 203 | if (inc) x_time = context->t_left / discrete_current_context->sample_time; | |
| 204 | context->t_left = (cycles - inc) / ds_clock; | |
| 205 | if (inc) x_time = context->t_left / disc_info->sample_time; | |
| 204 | 206 | } |
| 205 | 207 | else |
| 206 | 208 | { |
| 207 | clock = (int)DSS_COUNTER__CLOCK; | |
| 208 | x_time = DSS_COUNTER__CLOCK - clock; | |
| 209 | clock = (int)ds_clock; | |
| 210 | x_time = ds_clock - clock; | |
| 209 | 211 | } |
| 210 | 212 | |
| 211 | 213 | |
| r5490 | r5491 | |
| 242 | 244 | } |
| 243 | 245 | break; |
| 244 | 246 | |
| 245 | case DISC_CLK_BY_COUNT: | |
| 247 | case DISC_CLK_BY_COUNT: | |
| 246 | 248 | /* Clock number of times specified. */ |
| 247 | 249 | inc = clock; |
| 248 | 250 | break; |
| 249 | 251 | } |
| 250 | 252 | |
| 251 | for (clock = 0; clock < inc; clock++) | |
| 252 | { | |
| 253 | context->count += DSS_COUNTER__DIR ? 1 : -1; /* up/down */ | |
| 254 | if (context->count < 0) context->count = max; | |
| 255 | if (context->count > max) context->count = 0; | |
| 256 | } | |
| 253 | if (DSS_COUNTER__DIR) | |
| 254 | context->count = (context->count + inc) % (max + 1); | |
| 255 | else | |
| 256 | context->count = max - ((context->count + inc) % (max + 1)); | |
| 257 | 257 | |
| 258 | 258 | node->output[0] = context->is_7492 ? disc_7492_count[context->count] : context->count; |
| 259 | 259 | |
| r5490 | r5491 | |
| 297 | 297 | context->out_type = context->clock_type & DISC_OUT_MASK; |
| 298 | 298 | context->clock_type &= DISC_CLK_MASK; |
| 299 | 299 | |
| 300 | context->t_clock = 1.0 / DSS_COUNTER__CLOCK; | |
| 301 | 300 | context->t_left = 0; |
| 302 | 301 | context->last = 0; |
| 303 | 302 | context->count = DSS_COUNTER__INIT; /* count starts at reset value */ |
| r5490 | r5491 | |
| 326 | 325 | #define DSS_LFSR_NOISE__FEED (*(node->input[4])) |
| 327 | 326 | #define DSS_LFSR_NOISE__BIAS (*(node->input[5])) |
| 328 | 327 | |
| 329 | ||
| 328 | INLINE int dss_lfsr_function(const discrete_info *disc_info, int myfunc, int in0, int in1, int bitmask) | |
| 330 | 329 | { |
| 331 | 330 | int retval; |
| 332 | 331 | |
| r5490 | r5491 | |
| 381 | 380 | retval = retval ^ in0; /* xor in0 */ |
| 382 | 381 | break; |
| 383 | 382 | default: |
| 384 | discrete_log("dss_lfsr_function - Invalid function type passed"); | |
| 383 | discrete_log(disc_info, "dss_lfsr_function - Invalid function type passed"); | |
| 385 | 384 | retval=0; |
| 386 | 385 | break; |
| 387 | 386 | } |
| r5490 | r5491 | |
| 397 | 396 | struct dss_lfsr_context *context = (struct dss_lfsr_context *)node->context; |
| 398 | 397 | double cycles; |
| 399 | 398 | int clock, inc = 0; |
| 400 | int fb0, fb1, fbresult; | |
| 399 | int fb0, fb1, fbresult = 0, noise_feed; | |
| 401 | 400 | |
| 402 | 401 | if (lfsr_desc->clock_type == DISC_CLK_IS_FREQ) |
| 403 | 402 | { |
| 404 | 403 | /* We need to keep clocking the internal clock even if disabled. */ |
| 405 | cycles = (context->t_left + disc | |
| 404 | cycles = (context->t_left + disc | |
| 406 | 405 | inc = (int)cycles; |
| 407 | 406 | context->t_left = (cycles - inc) * context->t_clock; |
| 408 | 407 | } |
| r5490 | r5491 | |
| 437 | 436 | break; |
| 438 | 437 | } |
| 439 | 438 | |
| 440 | f | |
| 439 | if | |
| 441 | 440 | { |
| 442 | /* Fetch the last feedback result */ | |
| 443 | fbresult = (context->lfsr_reg >> lfsr_desc->bitlength) & 0x01; | |
| 441 | noise_feed = (DSS_LFSR_NOISE__FEED ? 0x01 : 0x00); | |
| 442 | for (clock = 0; clock < inc; clock++) | |
| 443 | { | |
| 444 | /* Fetch the last feedback result */ | |
| 445 | fbresult = (context->lfsr_reg >> lfsr_desc->bitlength) & 0x01; | |
| 444 | 446 | |
| 445 | /* Stage 2 feedback combine fbresultNew with infeed bit */ | |
| 446 | fbresult = dss_lfsr_function(lfsr_desc->feedback_function1, fbresult, (DSS_LFSR_NOISE__FEED ? 0x01 : 0x00), 0x01); | |
| 447 | /* Stage 2 feedback combine fbresultNew with infeed bit */ | |
| 448 | fbresult = dss_lfsr_function(disc_info, lfsr_desc->feedback_function1, fbresult, noise_feed, 0x01); | |
| 447 | 449 | |
| 448 | /* Stage 3 first we setup where the bit is going to be shifted into */ | |
| 449 | fbresult = fbresult * lfsr_desc->feedback_function2_mask; | |
| 450 | /* Then we left shift the register, */ | |
| 451 | context->lfsr_reg = context->lfsr_reg << 1; | |
| 452 | /* Now move the fbresult into the shift register and mask it to the bitlength */ | |
| 453 | context->lfsr_reg = dss_lfsr_function(lfsr_desc->feedback_function2, fbresult, context->lfsr_reg, (1 << lfsr_desc->bitlength) - 1 ); | |
| 450 | /* Stage 3 first we setup where the bit is going to be shifted into */ | |
| 451 | fbresult = fbresult * lfsr_desc->feedback_function2_mask; | |
| 452 | /* Then we left shift the register, */ | |
| 453 | context->lfsr_reg = context->lfsr_reg << 1; | |
| 454 | /* Now move the fbresult into the shift register and mask it to the bitlength */ | |
| 455 | context->lfsr_reg = dss_lfsr_function(disc_info, lfsr_desc->feedback_function2, fbresult, context->lfsr_reg, (1 << lfsr_desc->bitlength) - 1 ); | |
| 454 | 456 | |
| 455 | /* Now get and store the new feedback result */ | |
| 456 | /* Fetch the feedback bits */ | |
| 457 | fb0 = (context->lfsr_reg >> lfsr_desc->feedback_bitsel0) & 0x01; | |
| 458 | fb1 = (context->lfsr_reg >> lfsr_desc->feedback_bitsel1) & 0x01; | |
| 459 | /* Now do the combo on them */ | |
| 460 | fbresult = dss_lfsr_function(lfsr_desc->feedback_function0, fb0, fb1, 0x01); | |
| 461 | context->lfsr_reg = dss_lfsr_function(DISC_LFSR_REPLACE, context->lfsr_reg, fbresult << lfsr_desc->bitlength, (2 << lfsr_desc->bitlength) - 1); | |
| 457 | /* Now get and store the new feedback result */ | |
| 458 | /* Fetch the feedback bits */ | |
| 459 | fb0 = (context->lfsr_reg >> lfsr_desc->feedback_bitsel0) & 0x01; | |
| 460 | fb1 = (context->lfsr_reg >> lfsr_desc->feedback_bitsel1) & 0x01; | |
| 461 | /* Now do the combo on them */ | |
| 462 | fbresult = dss_lfsr_function(disc_info, lfsr_desc->feedback_function0, fb0, fb1, 0x01); | |
| 463 | context->lfsr_reg = dss_lfsr_function(disc_info, DISC_LFSR_REPLACE, context->lfsr_reg, fbresult << lfsr_desc->bitlength, (2 << lfsr_desc->bitlength) - 1); | |
| 462 | 464 | |
| 465 | } | |
| 463 | 466 | /* Now select the output bit */ |
| 464 | 467 | if (context->out_is_f0) |
| 465 | 468 | node->output[0] = fbresult & 0x01; |
| r5490 | r5491 | |
| 473 | 476 | node->output[0] = node->output[0] ? DSS_LFSR_NOISE__AMP / 2 : -DSS_LFSR_NOISE__AMP / 2; |
| 474 | 477 | /* Bias input as required */ |
| 475 | 478 | node->output[0] = node->output[0] + DSS_LFSR_NOISE__BIAS; |
| 479 | ||
| 480 | /* output the lfsr reg ?*/ | |
| 481 | if (context->out_lfsr_reg) | |
| 482 | node->output[1] = context->lfsr_reg; | |
| 483 | ||
| 476 | 484 | } |
| 477 | ||
| 478 | 485 | if(!DSS_LFSR_NOISE__ENABLE) |
| 479 | 486 | { |
| 480 | 487 | node->output[0] = 0; |
| r5490 | r5491 | |
| 490 | 497 | context->reset_on_high = (lfsr_desc->flags & DISC_LFSR_FLAG_RESET_TYPE_H) ? 1 : 0; |
| 491 | 498 | context->invert_output = lfsr_desc->flags & DISC_LFSR_FLAG_OUT_INVERT; |
| 492 | 499 | context->out_is_f0 = (lfsr_desc->flags & DISC_LFSR_FLAG_OUTPUT_F0) ? 1 : 0; |
| 500 | context->out_lfsr_reg = (lfsr_desc->flags & DISC_LFSR_FLAG_OUTPUT_SR_SN1) ? 1 : 0; | |
| 493 | 501 | |
| 494 | 502 | if ((lfsr_desc->clock_type < DISC_CLK_ON_F_EDGE) || (lfsr_desc->clock_type > DISC_CLK_IS_FREQ)) |
| 495 | discrete_log("Invalid clock type passed in NODE_%d\n", NODE_INDEX(node->node)); | |
| 503 | discrete_log(disc_info, "Invalid clock type passed in NODE_%d\n", NODE_INDEX(node->node)); | |
| 504 | ||
| 496 | 505 | context->last = (DSS_COUNTER__CLOCK != 0); |
| 497 | 506 | if (lfsr_desc->clock_type == DISC_CLK_IS_FREQ) context->t_clock = 1.0 / DSS_LFSR_NOISE__CLOCK; |
| 498 | 507 | context->t_left = 0; |
| r5490 | r5491 | |
| 504 | 513 | fb0 = (context->lfsr_reg >> lfsr_desc->feedback_bitsel0) & 0x01; |
| 505 | 514 | fb1=(context->lfsr_reg >> lfsr_desc->feedback_bitsel1) & 0x01; |
| 506 | 515 | /* Now do the combo on them */ |
| 507 | fbresult = dss_lfsr_function(lfsr_desc->feedback_function0, fb0, fb1, 0x01); | |
| 508 | context->lfsr_reg=dss_lfsr_function(DISC_LFSR_REPLACE, context->lfsr_reg, fbresult << lfsr_desc->bitlength, (2<< lfsr_desc->bitlength ) - 1); | |
| 516 | fbresult = dss_lfsr_function(disc_info, lfsr_desc->feedback_function0, fb0, fb1, 0x01); | |
| 517 | context->lfsr_reg=dss_lfsr_function(disc_info, DISC_LFSR_REPLACE, context->lfsr_reg, fbresult << lfsr_desc->bitlength, (2<< lfsr_desc->bitlength ) - 1); | |
| 509 | 518 | |
| 510 | 519 | /* Now select and setup the output bit */ |
| 511 | 520 | node->output[0] = (context->lfsr_reg >> lfsr_desc->output_bit) & 0x01; |
| r5490 | r5491 | |
| 545 | 554 | if(context->phase > (2.0 * M_PI)) |
| 546 | 555 | { |
| 547 | 556 | /* GCC's rand returns a RAND_MAX value of 0x7fff */ |
| 548 | int newval = (mame_rand(device->machine) & 0x7fff) - 16384; | |
| 557 | int newval = (mame_rand(disc_info->device->machine) & 0x7fff) - 16384; | |
| 549 | 558 | |
| 550 | 559 | /* make sure the peak to peak values are the amplitude */ |
| 551 | 560 | node->output[0] = DSS_NOISE__AMP / 2; |
| r5490 | r5491 | |
| 568 | 577 | |
| 569 | 578 | /* The enable input only curtails output, phase rotation still occurs. */ |
| 570 | 579 | /* We allow the phase to exceed 2Pi here, so we can tell when to sample the noise. */ |
| 571 | context->phase += ((2.0 * M_PI * DSS_NOISE__FREQ) / disc | |
| 580 | context->phase += ((2.0 * M_PI * DSS_NOISE__FREQ) / disc | |
| 572 | 581 | } |
| 573 | 582 | |
| 574 | 583 | |
| r5490 | r5491 | |
| 612 | 621 | if (context->clock_type == DISC_CLK_IS_FREQ) |
| 613 | 622 | { |
| 614 | 623 | /* We need to keep clocking the internal clock even if disabled. */ |
| 615 | cycles = (context->t_left + disc | |
| 624 | cycles = (context->t_left + disc | |
| 616 | 625 | inc = (int)cycles; |
| 617 | 626 | context->t_left = (cycles - inc) * context->t_clock; |
| 618 | if (inc) x_time = context->t_left / disc | |
| 627 | if (inc) x_time = context->t_left / disc | |
| 619 | 628 | } |
| 620 | 629 | else |
| 621 | 630 | { |
| r5490 | r5491 | |
| 745 | 754 | UINT8 force_charge = 0; |
| 746 | 755 | UINT8 enable = DSS_OP_AMP_OSC__ENABLE; |
| 747 | 756 | |
| 748 | dt = disc | |
| 757 | dt = disc | |
| 749 | 758 | vC = context->v_cap; /* Set to voltage before change */ |
| 750 | 759 | |
| 751 | 760 | /* work out the charge currents for the VCOs. */ |
| r5490 | r5491 | |
| 922 | 931 | { |
| 923 | 932 | if IS_VALUE_A_NODE(*r_info_ptr) |
| 924 | 933 | { |
| 925 | r_node = discrete_find_node( | |
| 934 | r_node = discrete_find_node(disc_info, *r_info_ptr); | |
| 926 | 935 | *r_context_ptr = &(r_node->output[NODE_CHILD_NODE_NUM((int)*r_info_ptr)]); |
| 927 | 936 | } |
| 928 | 937 | else |
| r5490 | r5491 | |
| 1069 | 1078 | /* boils out to */ |
| 1070 | 1079 | /* phase step = (2Pi*output freq)/sample freq) */ |
| 1071 | 1080 | /* Also keep the new phasor in the 2Pi range. */ |
| 1072 | context->phase = fmod((context->phase + ((2.0 * M_PI * DSS_SAWTOOTHWAVE__FREQ) / disc | |
| 1081 | context->phase = fmod((context->phase + ((2.0 * M_PI * DSS_SAWTOOTHWAVE__FREQ) / disc | |
| 1073 | 1082 | } |
| 1074 | 1083 | |
| 1075 | 1084 | static DISCRETE_RESET(dss_sawtoothwave) |
| r5490 | r5491 | |
| 1248 | 1257 | /* boils out to */ |
| 1249 | 1258 | /* phase step = (2Pi*output freq)/sample freq) */ |
| 1250 | 1259 | /* Also keep the new phasor in the 2Pi range. */ |
| 1251 | context->phase=fmod((context->phase + ((2.0 * M_PI * DSS_SINEWAVE__FREQ) / disc | |
| 1260 | context->phase=fmod((context->phase + ((2.0 * M_PI * DSS_SINEWAVE__FREQ) / disc | |
| 1252 | 1261 | } |
| 1253 | 1262 | |
| 1254 | 1263 | static DISCRETE_RESET(dss_sinewave) |
| r5490 | r5491 | |
| 1314 | 1323 | /* boils out to */ |
| 1315 | 1324 | /* phase step = (2Pi*output freq)/sample freq) */ |
| 1316 | 1325 | /* Also keep the new phasor in the 2Pi range. */ |
| 1317 | context->phase=fmod(context->phase + ((2.0 * M_PI * DSS_SQUAREWAVE__FREQ) / disc | |
| 1326 | context->phase=fmod(context->phase + ((2.0 * M_PI * DSS_SQUAREWAVE__FREQ) / disc | |
| 1318 | 1327 | } |
| 1319 | 1328 | |
| 1320 | 1329 | static DISCRETE_RESET(dss_squarewave) |
| r5490 | r5491 | |
| 1383 | 1392 | { |
| 1384 | 1393 | struct dss_squarewfix_context *context = (struct dss_squarewfix_context *)node->context; |
| 1385 | 1394 | |
| 1386 | context->sample_step = 1.0 / disc | |
| 1395 | context->sample_step = 1.0 / disc | |
| 1387 | 1396 | context->flip_flop = 1; |
| 1388 | 1397 | |
| 1389 | 1398 | /* Do the intial time shift and convert freq to off/on times */ |
| r5490 | r5491 | |
| 1445 | 1454 | /* phase step = 2Pi/(output period/sample period) */ |
| 1446 | 1455 | /* boils out to */ |
| 1447 | 1456 | /* phase step = 2Pi/(output period*sample freq) */ |
| 1448 | newphase = context->phase + ((2.0 * M_PI) / ((DSS_SQUAREWAVE2__T_OFF + DSS_SQUAREWAVE2__T_ON) * disc | |
| 1457 | newphase = context->phase + ((2.0 * M_PI) / ((DSS_SQUAREWAVE2__T_OFF + DSS_SQUAREWAVE2__T_ON) * disc | |
| 1449 | 1458 | /* Keep the new phasor in the 2Pi range.*/ |
| 1450 | 1459 | context->phase = fmod(newphase, 2.0 * M_PI); |
| 1451 | 1460 | |
| r5490 | r5491 | |
| 1598 | 1607 | vMix = rMix* ( (vG3-vG2) / context->r1 + (DSS_INVERTER_OSC__MOD-vG2) / context->r2 + (vI-0.7-vG2)/context->rp); |
| 1599 | 1608 | } |
| 1600 | 1609 | diff = vMix - context->v_cap; |
| 1601 | diff = diff - diff * exp(-disc | |
| 1610 | diff = diff - diff * exp(-disc | |
| 1602 | 1611 | break; |
| 1603 | 1612 | case DISC_OSC_INVERTER_IS_TYPE5: |
| 1604 | 1613 | if ((info->clamp >= 0.0) && ((vI< - info->clamp) || (vI> info->vB+info->clamp))) |
| r5490 | r5491 | |
| 1616 | 1625 | vMix = rMix* ( (vG3 - vG2) / context->r1 + (DSS_INVERTER_OSC__MOD-vG2) / context->r2 + (vI+0.7-vG2)/context->rp); |
| 1617 | 1626 | } |
| 1618 | 1627 | diff = vMix - context->v_cap; |
| 1619 | diff = diff - diff * exp(-disc | |
| 1628 | diff = diff - diff * exp(-disc | |
| 1620 | 1629 | break; |
| 1621 | 1630 | default: |
| 1622 | 1631 | fatalerror("DISCRETE_INVERTER_OSC - Wrong type on NODE_%02d", node->node - NODE_00); |
| r5490 | r5491 | |
| 1639 | 1648 | int i; |
| 1640 | 1649 | |
| 1641 | 1650 | /* exponent */ |
| 1642 | context->w = exp(-discrete_current_context->sample_time / (DSS_INVERTER_OSC__RC * DSS_INVERTER_OSC__C)); | |
| 1643 | context->wc = exp(-discrete_current_context->sample_time / ((DSS_INVERTER_OSC__RC * DSS_INVERTER_OSC__RP) / (DSS_INVERTER_OSC__RP + DSS_INVERTER_OSC__RC) * DSS_INVERTER_OSC__C)); | |
| 1651 | context->w = exp(-disc_info->sample_time / (DSS_INVERTER_OSC__RC * DSS_INVERTER_OSC__C)); | |
| 1652 | context->wc = exp(-disc_info->sample_time / ((DSS_INVERTER_OSC__RC * DSS_INVERTER_OSC__RP) / (DSS_INVERTER_OSC__RP + DSS_INVERTER_OSC__RC) * DSS_INVERTER_OSC__C)); | |
| 1644 | 1653 | node->output[0] = 0; |
| 1645 | 1654 | context->v_cap = 0; |
| 1646 | 1655 | context->v_g2_old = 0; |
| r5490 | r5491 | |
| 1699 | 1708 | /* boils out to */ |
| 1700 | 1709 | /* phase step = (2Pi*output freq)/sample freq) */ |
| 1701 | 1710 | /* Also keep the new phasor in the 2Pi range. */ |
| 1702 | context->phase=fmod((context->phase + ((2.0 * M_PI * DSS_TRIANGLEWAVE__FREQ) / disc | |
| 1711 | context->phase=fmod((context->phase + ((2.0 * M_PI * DSS_TRIANGLEWAVE__FREQ) / disc | |
| 1703 | 1712 | } |
| 1704 | 1713 | |
| 1705 | 1714 | static DISCRETE_RESET(dss_trianglewave) |
| r5490 | r5491 | |
|---|---|---|
| 620 | 620 | # Texas Instruments TMS5110 speech synthesizers |
| 621 | 621 | #------------------------------------------------- |
| 622 | 622 | |
| 623 | SOUNDDEFS += -DHAS_TMS5100=$(if $(filter TMS5100,$(SOUNDS)),1,0) | |
| 624 | 623 | SOUNDDEFS += -DHAS_TMS5110=$(if $(filter TMS5110,$(SOUNDS)),1,0) |
| 625 | SOUNDDEFS += -DHAS_TMS5110A=$(if $(filter TMS5110A,$(SOUNDS)),1,0) | |
| 626 | SOUNDDEFS += -DHAS_CD2801=$(if $(filter CD2801,$(SOUNDS)),1,0) | |
| 627 | SOUNDDEFS += -DHAS_TMC0281=$(if $(filter TMC0281,$(SOUNDS)),1,0) | |
| 628 | SOUNDDEFS += -DHAS_CD2802=$(if $(filter CD2802,$(SOUNDS)),1,0) | |
| 629 | SOUNDDEFS += -DHAS_M58817=$(if $(filter M58817,$(SOUNDS)),1,0) | |
| 630 | SOUNDDEFS += -DHAS_TMC0285=$(if $(filter TMC0285,$(SOUNDS)),1,0) | |
| 631 | SOUNDDEFS += -DHAS_TMS5200=$(if $(filter TMS5200,$(SOUNDS)),1,0) | |
| 632 | 624 | SOUNDDEFS += -DHAS_TMS5220=$(if $(filter TMS5220,$(SOUNDS)),1,0) |
| 633 | 625 | |
| 634 | ifneq ($(filter TMS5100 TMS5110 TMS5110A CD2801 TMC0281 CD2802 M58817,$(SOUNDS)),) | |
| 635 | SOUNDOBJS += $(SOUNDOBJ)/tms5110.o $(SOUNDOBJ)/5110intf.o | |
| 626 | ifneq ($(filter TMS5110,$(SOUNDS)),) | |
| 627 | SOUNDOBJS += $(SOUNDOBJ)/tms5110.o | |
| 636 | 628 | endif |
| 637 | 629 | |
| 638 | ifneq ($(filter TMC0285 TMS5200 TMS5220,$(SOUNDS)),) | |
| 639 | SOUNDOBJS += $(SOUNDOBJ)/tms5220.o $(SOUNDOBJ)/5220intf.o | |
| 630 | ifneq ($(filter TMS5220,$(SOUNDS)),) | |
| 631 | SOUNDOBJS += $(SOUNDOBJ)/tms5220.o | |
| 640 | 632 | endif |
| 641 | 633 | |
| 642 | 634 |
| r5490 | r5491 | |
|---|---|---|
| 72 | 72 | double t; /* time */ |
| 73 | 73 | double exponent0; |
| 74 | 74 | double exponent1; |
| 75 | double v_cap; /* rcdisc5 */ | |
| 75 | 76 | }; |
| 76 | 77 | |
| 77 | 78 | struct dst_rcdisc_mod_context |
| r5490 | r5491 | |
| 179 | 180 | #define DST_FILTER1__FREQ (*(node->input[2])) |
| 180 | 181 | #define DST_FILTER1__TYPE (*(node->input[3])) |
| 181 | 182 | |
| 182 | static void calculate_filter1_coefficients(double fc, double type, | |
| 183 | static void calculate_filter1_coefficients(const discrete_info *disc_info, double fc, double type, | |
| 183 | 184 | double *a1, double *b0, double *b1) |
| 184 | 185 | { |
| 185 | 186 | double den, w, two_over_T; |
| 186 | 187 | |
| 187 | 188 | /* calculate digital filter coefficents */ |
| 188 | 189 | /*w = 2.0*M_PI*fc; no pre-warping */ |
| 189 | w = discrete_current_context->sample_rate*2.0*tan(M_PI*fc/discrete_current_context->sample_rate); /* pre-warping */ | |
| 190 | two_over_T = 2.0*discrete_current_context->sample_rate; | |
| 190 | w = disc_info->sample_rate*2.0*tan(M_PI*fc/disc_info->sample_rate); /* pre-warping */ | |
| 191 | two_over_T = 2.0*disc_info->sample_rate; | |
| 191 | 192 | |
| 192 | 193 | den = w + two_over_T; |
| 193 | 194 | *a1 = (w - two_over_T)/den; |
| r5490 | r5491 | |
| 202 | 203 | } |
| 203 | 204 | else |
| 204 | 205 | { |
| 205 | discrete_log("calculate_filter1_coefficients() - Invalid filter type for 1st order filter."); | |
| 206 | discrete_log(disc_info, "calculate_filter1_coefficients() - Invalid filter type for 1st order filter."); | |
| 206 | 207 | } |
| 207 | 208 | } |
| 208 | 209 | |
| r5490 | r5491 | |
| 227 | 228 | { |
| 228 | 229 | struct dss_filter1_context *context = (struct dss_filter1_context *)node->context; |
| 229 | 230 | |
| 230 | calculate_filter1_coefficients(DST_FILTER1__FREQ, DST_FILTER1__TYPE, &context->a1, &context->b0, &context->b1); | |
| 231 | calculate_filter1_coefficients(disc_info, DST_FILTER1__FREQ, DST_FILTER1__TYPE, &context->a1, &context->b0, &context->b1); | |
| 231 | 232 | node->output[0] = 0; |
| 232 | 233 | } |
| 233 | 234 | |
| r5490 | r5491 | |
| 249 | 250 | #define DST_FILTER2__DAMP (*(node->input[3])) |
| 250 | 251 | #define DST_FILTER2__TYPE (*(node->input[4])) |
| 251 | 252 | |
| 252 | static void calculate_filter2_coefficients(double fc, double d, double type, | |
| 253 | static void calculate_filter2_coefficients(const discrete_info *disc_info, | |
| 254 | double fc, double d, double type, | |
| 253 | 255 | double *a1, double *a2, |
| 254 | 256 | double *b0, double *b1, double *b2) |
| 255 | 257 | { |
| 256 | 258 | double w; /* cutoff freq, in radians/sec */ |
| 257 | 259 | double w_squared; |
| 258 | 260 | double den; /* temp variable */ |
| 259 | double two_over_T = 2*disc | |
| 261 | double two_over_T = 2*disc | |
| 260 | 262 | double two_over_T_squared = two_over_T * two_over_T; |
| 261 | 263 | |
| 262 | 264 | /* calculate digital filter coefficents */ |
| 263 | 265 | /*w = 2.0*M_PI*fc; no pre-warping */ |
| 264 | w = disc | |
| 266 | w = disc | |
| 265 | 267 | w_squared = w * w; |
| 266 | 268 | |
| 267 | 269 | den = two_over_T_squared + d*w*two_over_T + w_squared; |
| r5490 | r5491 | |
| 287 | 289 | } |
| 288 | 290 | else |
| 289 | 291 | { |
| 290 | discrete_log("calculate_filter2_coefficients() - Invalid filter type for 2nd order filter."); | |
| 292 | discrete_log(disc_info, "calculate_filter2_coefficients() - Invalid filter type for 2nd order filter."); | |
| 291 | 293 | } |
| 292 | 294 | } |
| 293 | 295 | |
| r5490 | r5491 | |
| 315 | 317 | { |
| 316 | 318 | struct dss_filter2_context *context = (struct dss_filter2_context *)node->context; |
| 317 | 319 | |
| 318 | calculate_filter2_coefficients(DST_FILTER2__FREQ, DST_FILTER2__DAMP, DST_FILTER2__TYPE, | |
| 320 | calculate_filter2_coefficients(disc_info, DST_FILTER2__FREQ, DST_FILTER2__DAMP, DST_FILTER2__TYPE, | |
| 319 | 321 | &context->a1, &context->a2, |
| 320 | 322 | &context->b0, &context->b1, &context->b2); |
| 321 | 323 | node->output[0] = 0; |
| r5490 | r5491 | |
| 487 | 489 | double d = (info->c1 + info->c2) / sqrt(info->rF / context->rTotal * info->c1 * info->c2); |
| 488 | 490 | double gain = -info->rF / context->rTotal * info->c2 / (info->c1 + info->c2); |
| 489 | 491 | |
| 490 | calculate_filter2_coefficients(fc, d, DISC_FILTER_BANDPASS, | |
| 492 | calculate_filter2_coefficients(disc_info, fc, d, DISC_FILTER_BANDPASS, | |
| 491 | 493 | &context->a1, &context->a2, |
| 492 | 494 | &context->b0, &context->b1, &context->b2); |
| 493 | 495 | context->b0 *= gain; |
| r5490 | r5491 | |
| 556 | 558 | if (DST_RCDISC__ENABLE) |
| 557 | 559 | { |
| 558 | 560 | node->output[0] = DST_RCDISC__IN * exp(context->t / context->exponent0); |
| 559 | context->t += disc | |
| 561 | context->t += disc | |
| 560 | 562 | } else |
| 561 | 563 | { |
| 562 | 564 | context->state = 0; |
| r5490 | r5491 | |
| 740 | 742 | /* some error checking. */ |
| 741 | 743 | if (DST_RCDISC4__R1 <= 0 || DST_RCDISC4__R2 <= 0 || DST_RCDISC4__C1 <= 0 || (DST_RCDISC4__R3 <= 0 && context->type == 1)) |
| 742 | 744 | { |
| 743 | discrete_log("Invalid component values in NODE_%d.\n", node->node - NODE_00); | |
| 745 | discrete_log(disc_info, "Invalid component values in NODE_%d.\n", node->node - NODE_00); | |
| 744 | 746 | return; |
| 745 | 747 | } |
| 746 | 748 | if (DST_RCDISC4__VP < 3) |
| 747 | 749 | { |
| 748 | discrete_log("vP must be >= 3V in NODE_%d.\n", node->node - NODE_00); | |
| 750 | discrete_log(disc_info, "vP must be >= 3V in NODE_%d.\n", node->node - NODE_00); | |
| 749 | 751 | return; |
| 750 | 752 | } |
| 751 | 753 | if (DST_RCDISC4__TYPE < 1 || DST_RCDISC4__TYPE > 3) |
| 752 | 754 | { |
| 753 | discrete_log("Invalid circuit type in NODE_%d.\n", node->node - NODE_00); | |
| 755 | discrete_log(disc_info, "Invalid circuit type in NODE_%d.\n", node->node - NODE_00); | |
| 754 | 756 | return; |
| 755 | 757 | } |
| 756 | 758 | |
| r5490 | r5491 | |
| 824 | 826 | |
| 825 | 827 | /* Exponential based in difference between input/output */ |
| 826 | 828 | |
| 829 | u = DST_RCDISC5__IN - 0.7; /* Diode drop */ | |
| 830 | if( u < 0) | |
| 831 | u = 0; | |
| 832 | ||
| 833 | diff = u - context->v_cap; | |
| 834 | ||
| 827 | 835 | if(DST_RCDISC5__ENABLE) |
| 828 | 836 | { |
| 829 | u = DST_RCDISC5__IN - 0.7; /* Diode drop */ | |
| 830 | if( u < 0) | |
| 831 | u = 0; | |
| 837 | if(diff < 0) | |
| 838 | diff = diff * context->exponent0; | |
| 832 | 839 | |
| 833 | diff = u - node->output[0]; | |
| 834 | ||
| 835 | if(diff < 0) | |
| 836 | //diff = diff - (diff * exp(discrete_current_context->sample_time / context->exponent0)); | |
| 837 | diff = -node->output[0] + (node->output[0] * context->exponent0); | |
| 838 | node->output[0] += diff; | |
| 840 | context->v_cap += diff; | |
| 841 | node->output[0] = context->v_cap; | |
| 839 | 842 | } |
| 840 | 843 | else |
| 841 | 844 | { |
| 845 | if(diff > 0) | |
| 846 | context->v_cap = u; | |
| 847 | ||
| 842 | 848 | node->output[0] = 0; |
| 843 | 849 | } |
| 844 | 850 | } |
| r5490 | r5491 | |
| 851 | 857 | |
| 852 | 858 | context->state = 0; |
| 853 | 859 | context->t = 0; |
| 860 | context->v_cap = 0; | |
| 854 | 861 | context->exponent0 = RC_CHARGE_EXP(DST_RCDISC5__R * DST_RCDISC5__C); |
| 855 | 862 | } |
| 856 | 863 | |
| r5490 | r5491 | |
| 1191 | 1198 | struct dst_rcintegrate_context *context = (struct dst_rcintegrate_context *)node->context; |
| 1192 | 1199 | |
| 1193 | 1200 | double r; |
| 1194 | double dt = disc | |
| 1201 | double dt = disc | |
| 1195 | 1202 | |
| 1196 | 1203 | context->type = DST_RCINTEGRATE__TYPE; |
| 1197 | 1204 | |
| r5490 | r5491 | |
| 1267 | 1274 | fatalerror("Unknown sallen key filter type"); |
| 1268 | 1275 | } |
| 1269 | 1276 | |
| 1270 | calculate_filter2_coefficients(freq, 1.0 / q, DISC_FILTER_LOWPASS, | |
| 1277 | calculate_filter2_coefficients(disc_info, freq, 1.0 / q, DISC_FILTER_LOWPASS, | |
| 1271 | 1278 | &context->a1, &context->a2, |
| 1272 | 1279 | &context->b0, &context->b1, &context->b2); |
| 1273 | 1280 | node->output[0] = 0; |
| r5490 | r5491 | |
| 1415 | 1422 | f1 = 1.0 / (2 * M_PI * DST_RCDISC2N__R0 * DST_RCDISC2N__C); |
| 1416 | 1423 | f2 = 1.0 / (2 * M_PI * DST_RCDISC2N__R1 * DST_RCDISC2N__C); |
| 1417 | 1424 | |
| 1418 | calculate_filter1_coefficients(f1, DISC_FILTER_LOWPASS, &context->a1_0, &context->b0_0, &context->b1_0); | |
| 1419 | calculate_filter1_coefficients(f2, DISC_FILTER_LOWPASS, &context->a1_1, &context->b0_1, &context->b1_1); | |
| 1425 | calculate_filter1_coefficients(disc_info, f1, DISC_FILTER_LOWPASS, &context->a1_0, &context->b0_0, &context->b1_0); | |
| 1426 | calculate_filter1_coefficients(disc_info, f2, DISC_FILTER_LOWPASS, &context->a1_1, &context->b0_1, &context->b1_1); | |
| 1420 | 1427 | |
| 1421 | 1428 | /* Initialize the object */ |
| 1422 | 1429 | node->output[0] = 0; |
| r5490 | r5491 | |
|---|---|---|
| 41 | 41 | ***********************************************************************************************/ |
| 42 | 42 | |
| 43 | 43 | #include "sndintrf.h" |
| 44 | #include "streams.h" | |
| 44 | 45 | #include "tms5220.h" |
| 45 | 46 | |
| 46 | 47 | |
| 48 | #define DEBUG_5220 0 | |
| 49 | ||
| 50 | #define MAX_SAMPLE_CHUNK 512 | |
| 51 | ||
| 52 | ||
| 53 | enum _tms5220_variant | |
| 54 | { | |
| 55 | variant_tms5220, /* TMS5220_IS_TMS5220, TMS5220_IS_TMS5220C, TMS5220_IS_TSP5220C */ | |
| 56 | variant_tmc0285 /* TMS5220_IS_TMS5200, TMS5220_IS_CD2501 */ | |
| 57 | }; | |
| 58 | typedef enum _tms5220_variant tms5220_variant; | |
| 59 | ||
| 60 | ||
| 61 | ||
| 47 | 62 | /* Pull in the ROM tables */ |
| 48 | 63 | #include "tms5220r.c" |
| 49 | 64 | |
| r5490 | r5491 | |
| 55 | 70 | */ |
| 56 | 71 | |
| 57 | 72 | |
| 58 | #ifndef TRUE | |
| 59 | #define TRUE 1 | |
| 60 | #endif | |
| 61 | #ifndef FALSE | |
| 62 | #define FALSE 0 | |
| 63 | #endif | |
| 64 | ||
| 65 | ||
| 66 | struct tms5220 | |
| 73 | typedef struct _tms5220_state tms5220_state; | |
| 74 | struct _tms5220_state | |
| 67 | 75 | { |
| 68 | 76 | /* these contain data that describes the 128-bit data FIFO */ |
| 69 | 77 | #define FIFO_SIZE 16 |
| r5490 | r5491 | |
| 126 | 134 | INT8 excitation_data; |
| 127 | 135 | |
| 128 | 136 | /* R Nabet : These have been added to emulate speech Roms */ |
| 129 | int (*read_callback)(const device_config *device, int count); | |
| 130 | void (*load_address_callback)(const device_config *device, int data); | |
| 131 | void (*read_and_branch_callback)(const device_config *device); | |
| 132 | 137 | UINT8 schedule_dummy_read; /* set after each load address, so that next read operation |
| 133 | 138 | is preceded by a dummy read */ |
| 134 | 139 | |
| r5490 | r5491 | |
| 159 | 164 | */ |
| 160 | 165 | UINT8 digital_select; |
| 161 | 166 | const device_config *device; |
| 167 | ||
| 168 | const tms5220_interface *intf; | |
| 169 | sound_stream *stream; | |
| 170 | int clock; | |
| 162 | 171 | }; |
| 163 | 172 | |
| 164 | 173 | |
| 165 | /* Static function prototypes */ | |
| 166 | static void process_command(struct tms5220 *tms); | |
| 167 | static int extract_bits(struct tms5220 *tms, int count); | |
| 168 | static int parse_frame(struct tms5220 *tms, int the_first_frame); | |
| 169 | static void check_buffer_low(struct tms5220 *tms); | |
| 170 | static void set_interrupt_state(struct tms5220 *tms, int state); | |
| 171 | static INT16 lattice_filter(void *chip); | |
| 172 | static INT16 clip_and_wrap(INT16 cliptemp); | |
| 173 | ||
| 174 | ||
| 175 | #define DEBUG_5220 0 | |
| 176 | ||
| 177 | ||
| 178 | void *tms5220_create(const device_config *device) | |
| 174 | INLINE tms5220_state *get_safe_token(const device_config *device) | |
| 179 | 175 | { |
| 180 | struct tms5220 *tms; | |
| 181 | ||
| 182 | tms = alloc_clear_or_die(struct tms5220); | |
| 183 | ||
| 184 | tms->device = device; | |
| 185 | state_save_register_device_item_array(device, 0, tms->fifo); | |
| 186 | state_save_register_device_item(device, 0, tms->fifo_head); | |
| 187 | state_save_register_device_item(device, 0, tms->fifo_tail); | |
| 188 | state_save_register_device_item(device, 0, tms->fifo_count); | |
| 189 | state_save_register_device_item(device, 0, tms->fifo_bits_taken); | |
| 190 | ||
| 191 | state_save_register_device_item(device, 0, tms->tms5220_speaking); | |
| 192 | state_save_register_device_item(device, 0, tms->speak_external); | |
| 193 | state_save_register_device_item(device, 0, tms->talk_status); | |
| 194 | state_save_register_device_item(device, 0, tms->first_frame); | |
| 195 | state_save_register_device_item(device, 0, tms->last_frame); | |
| 196 | state_save_register_device_item(device, 0, tms->buffer_low); | |
| 197 | state_save_register_device_item(device, 0, tms->buffer_empty); | |
| 198 | state_save_register_device_item(device, 0, tms->irq_pin); | |
| 199 | ||
| 200 | state_save_register_device_item(device, 0, tms->old_energy); | |
| 201 | state_save_register_device_item(device, 0, tms->old_pitch); | |
| 202 | state_save_register_device_item_array(device, 0, tms->old_k); | |
| 203 | ||
| 204 | state_save_register_device_item(device, 0, tms->new_energy); | |
| 205 | state_save_register_device_item(device, 0, tms->new_pitch); | |
| 206 | state_save_register_device_item_array(device, 0, tms->new_k); | |
| 207 | ||
| 208 | state_save_register_device_item(device, 0, tms->current_energy); | |
| 209 | state_save_register_device_item(device, 0, tms->current_pitch); | |
| 210 | state_save_register_device_item_array(device, 0, tms->current_k); | |
| 211 | ||
| 212 | state_save_register_device_item(device, 0, tms->target_energy); | |
| 213 | state_save_register_device_item(device, 0, tms->target_pitch); | |
| 214 | state_save_register_device_item_array(device, 0, tms->target_k); | |
| 215 | ||
| 216 | state_save_register_device_item(device, 0, tms->previous_energy); | |
| 217 | ||
| 218 | state_save_register_device_item(device, 0, tms->interp_count); | |
| 219 | state_save_register_device_item(device, 0, tms->sample_count); | |
| 220 | state_save_register_device_item(device, 0, tms->pitch_count); | |
| 221 | ||
| 222 | state_save_register_device_item_array(device, 0, tms->u); | |
| 223 | state_save_register_device_item_array(device, 0, tms->x); | |
| 224 | ||
| 225 | state_save_register_device_item(device, 0, tms->RNG); | |
| 226 | state_save_register_device_item(device, 0, tms->excitation_data); | |
| 227 | ||
| 228 | state_save_register_device_item(device, 0, tms->schedule_dummy_read); | |
| 229 | state_save_register_device_item(device, 0, tms->data_register); | |
| 230 | state_save_register_device_item(device, 0, tms->RDB_flag); | |
| 231 | state_save_register_device_item(device, 0, tms->digital_select); | |
| 232 | ||
| 233 | return tms; | |
| 176 | assert(device != NULL); | |
| 177 | assert(device->token != NULL); | |
| 178 | assert(device->type == SOUND); | |
| 179 | assert(sound_get_type(device) == SOUND_TMS5220 || | |
| 180 | sound_get_type(device) == SOUND_TMC0285 || | |
| 181 | sound_get_type(device) == SOUND_TMS5200); | |
| 182 | return (tms5220_state *)device->token; | |
| 234 | 183 | } |
| 235 | 184 | |
| 236 | 185 | |
| 237 | void tms5220_destroy(void *chip) | |
| 238 | { | |
| 239 | free(chip); | |
| 240 | } | |
| 241 | 186 | |
| 242 | /********************************************************************************************** | |
| 187 | /* Static function prototypes */ | |
| 188 | static void process_command(tms5220_state *tms); | |
| 189 | static int parse_frame(tms5220_state *tms, int the_first_frame); | |
| 190 | static void check_buffer_low(tms5220_state *tms); | |
| 191 | static void set_interrupt_state(tms5220_state *tms, int state); | |
| 192 | static INT16 lattice_filter(tms5220_state *tms); | |
| 193 | static INT16 clip_and_wrap(INT16 cliptemp); | |
| 194 | static STREAM_UPDATE( tms5220_update ); | |
| 243 | 195 | |
| 244 | tms5220_reset -- resets the TMS5220 | |
| 245 | 196 | |
| 246 | ***********************************************************************************************/ | |
| 247 | ||
| 248 | void tms5220_reset_chip(void *chip) | |
| 197 | static void register_for_save_states(tms5220_state *tms) | |
| 249 | 198 | { |
| 250 | struct tms5220 *tms = (struct tms5220 *)chip; | |
| 199 | state_save_register_device_item_array(tms->device, 0, tms->fifo); | |
| 200 | state_save_register_device_item(tms->device, 0, tms->fifo_head); | |
| 201 | state_save_register_device_item(tms->device, 0, tms->fifo_tail); | |
| 202 | state_save_register_device_item(tms->device, 0, tms->fifo_count); | |
| 203 | state_save_register_device_item(tms->device, 0, tms->fifo_bits_taken); | |
| 251 | 204 | |
| 252 | /* initialize the FIFO */ | |
| 253 | /*memset(tms->fifo, 0, sizeof(tms->fifo));*/ | |
| 254 | tms->fifo_head = tms->fifo_tail = tms->fifo_count = tms->fifo_bits_taken = 0; | |
| 205 | state_save_register_device_item(tms->device, 0, tms->tms5220_speaking); | |
| 206 | state_save_register_device_item(tms->device, 0, tms->speak_external); | |
| 207 | state_save_register_device_item(tms->device, 0, tms->talk_status); | |
| 208 | state_save_register_device_item(tms->device, 0, tms->first_frame); | |
| 209 | state_save_register_device_item(tms->device, 0, tms->last_frame); | |
| 210 | state_save_register_device_item(tms->device, 0, tms->buffer_low); | |
| 211 | state_save_register_device_item(tms->device, 0, tms->buffer_empty); | |
| 212 | state_save_register_device_item(tms->device, 0, tms->irq_pin); | |
| 255 | 213 | |
| 256 | /* initialize the chip state */ | |
| 257 | /* Note that we do not actually clear IRQ on start-up : IRQ is even raised if tms->buffer_empty or tms->buffer_low are 0 */ | |
| 258 | tms->tms5220_speaking = tms->speak_external = tms->talk_status = tms->first_frame = tms->last_frame = tms->irq_pin = 0; | |
| 259 | if (tms->irq_func) tms->irq_func(tms->device, 0); | |
| 260 | tms->buffer_empty = tms->buffer_low = 1; | |
| 214 | state_save_register_device_item(tms->device, 0, tms->old_energy); | |
| 215 | state_save_register_device_item(tms->device, 0, tms->old_pitch); | |
| 216 | state_save_register_device_item_array(tms->device, 0, tms->old_k); | |
| 261 | 217 | |
| 262 | tms->RDB_flag = FALSE; | |
| 218 | state_save_register_device_item(tms->device, 0, tms->new_energy); | |
| 219 | state_save_register_device_item(tms->device, 0, tms->new_pitch); | |
| 220 | state_save_register_device_item_array(tms->device, 0, tms->new_k); | |
| 263 | 221 | |
| 264 | /* initialize the energy/pitch/k states */ | |
| 265 | tms->old_energy = tms->new_energy = tms->current_energy = tms->target_energy = 0; | |
| 266 | tms->old_pitch = tms->new_pitch = tms->current_pitch = tms->target_pitch = 0; | |
| 267 | memset(tms->old_k, 0, sizeof(tms->old_k)); | |
| 268 | memset(tms->new_k, 0, sizeof(tms->new_k)); | |
| 269 | memset(tms->current_k, 0, sizeof(tms->current_k)); | |
| 270 | memset(tms->target_k, 0, sizeof(tms->target_k)); | |
| 222 | state_save_register_device_item(tms->device, 0, tms->current_energy); | |
| 223 | state_save_register_device_item(tms->device, 0, tms->current_pitch); | |
| 224 | state_save_register_device_item_array(tms->device, 0, tms->current_k); | |
| 271 | 225 | |
| 272 | /* initialize the sample generators */ | |
| 273 | tms->interp_count = tms->sample_count = tms->pitch_count = 0; | |
| 274 | tms->RNG = 0x1FFF; | |
| 275 | memset(tms->u, 0, sizeof(tms->u)); | |
| 276 | memset(tms->x, 0, sizeof(tms->x)); | |
| 226 | state_save_register_device_item(tms->device, 0, tms->target_energy); | |
| 227 | state_save_register_device_item(tms->device, 0, tms->target_pitch); | |
| 228 | state_save_register_device_item_array(tms->device, 0, tms->target_k); | |
| 277 | 229 | |
| 278 | if (tms->load_address_callback) | |
| 279 | (*tms->load_address_callback)(tms->device, 0); | |
| 230 | state_save_register_device_item(tms->device, 0, tms->previous_energy); | |
| 280 | 231 | |
| 281 | tms->schedule_dummy_read = TRUE; | |
| 282 | } | |
| 232 | state_save_register_device_item(tms->device, 0, tms->interp_count); | |
| 233 | state_save_register_device_item(tms->device, 0, tms->sample_count); | |
| 234 | state_save_register_device_item(tms->device, 0, tms->pitch_count); | |
| 283 | 235 | |
| 236 | state_save_register_device_item_array(tms->device, 0, tms->u); | |
| 237 | state_save_register_device_item_array(tms->device, 0, tms->x); | |
| 284 | 238 | |
| 239 | state_save_register_device_item(tms->device, 0, tms->RNG); | |
| 240 | state_save_register_device_item(tms->device, 0, tms->excitation_data); | |
| 285 | 241 | |
| 286 | /********************************************************************************************** | |
| 287 | ||
| 288 | tms5220_set_irq -- sets the interrupt handler | |
| 289 | ||
| 290 | ***********************************************************************************************/ | |
| 291 | ||
| 292 | void tms5220_set_irq(void *chip, void (*func)(const device_config *, int)) | |
| 293 | { | |
| 294 | struct tms5220 *tms = (struct tms5220 *)chip; | |
| 295 | tms->irq_func = func; | |
| 242 | state_save_register_device_item(tms->device, 0, tms->schedule_dummy_read); | |
| 243 | state_save_register_device_item(tms->device, 0, tms->data_register); | |
| 244 | state_save_register_device_item(tms->device, 0, tms->RDB_flag); | |
| 245 | state_save_register_device_item(tms->device, 0, tms->digital_select); | |
| 296 | 246 | } |
| 297 | 247 | |
| 298 | 248 | |
| 299 | 249 | /********************************************************************************************** |
| 300 | 250 | |
| 301 | tms5220_set_read -- sets the speech ROM read handler | |
| 302 | ||
| 303 | ***********************************************************************************************/ | |
| 304 | ||
| 305 | void tms5220_set_read(void *chip, int (*func)(const device_config *, int)) | |
| 306 | { | |
| 307 | struct tms5220 *tms = (struct tms5220 *)chip; | |
| 308 | tms->read_callback = func; | |
| 309 | } | |
| 310 | ||
| 311 | ||
| 312 | /********************************************************************************************** | |
| 313 | ||
| 314 | tms5220_set_load_address -- sets the speech ROM load address handler | |
| 315 | ||
| 316 | ***********************************************************************************************/ | |
| 317 | ||
| 318 | void tms5220_set_load_address(void *chip, void (*func)(const device_config *, int)) | |
| 319 | { | |
| 320 | struct tms5220 *tms = (struct tms5220 *)chip; | |
| 321 | tms->load_address_callback = func; | |
| 322 | } | |
| 323 | ||
| 324 | ||
| 325 | /********************************************************************************************** | |
| 326 | ||
| 327 | tms5220_set_read_and_branch -- sets the speech ROM read and branch handler | |
| 328 | ||
| 329 | ***********************************************************************************************/ | |
| 330 | ||
| 331 | void tms5220_set_read_and_branch(void *chip, void (*func)(const device_config *)) | |
| 332 | { | |
| 333 | struct tms5220 *tms = (struct tms5220 *)chip; | |
| 334 | tms->read_and_branch_callback = func; | |
| 335 | } | |
| 336 | ||
| 337 | ||
| 338 | /********************************************************************************************** | |
| 339 | ||
| 340 | tms5220_set_variant -- sets the tms5220 core to emulate its buggy forerunner, the tmc0285 | |
| 341 | ||
| 342 | ***********************************************************************************************/ | |
| 343 | ||
| 344 | void tms5220_set_variant(void *chip, tms5220_variant new_variant) | |
| 345 | { | |
| 346 | struct tms5220 *tms = (struct tms5220 *)chip; | |
| 347 | tms->variant = new_variant; | |
| 348 | } | |
| 349 | ||
| 350 | ||
| 351 | /********************************************************************************************** | |
| 352 | ||
| 353 | 251 | tms5220_data_write -- handle a write to the TMS5220 |
| 354 | 252 | |
| 355 | 253 | ***********************************************************************************************/ |
| 356 | 254 | |
| 357 | void tms5220_data_write( | |
| 255 | static void tms5220_data_write(tms5220_state *tms | |
| 358 | 256 | { |
| 359 | struct tms5220 *tms = (struct tms5220 *)chip; | |
| 360 | ||
| 361 | 257 | /* add this byte to the FIFO */ |
| 362 | 258 | if (tms->fifo_count < FIFO_SIZE) |
| 363 | 259 | { |
| r5490 | r5491 | |
| 408 | 304 | |
| 409 | 305 | ***********************************************************************************************/ |
| 410 | 306 | |
| 411 | int tms5220_status_read( | |
| 307 | static int tms5220_status_read(tms5220_state *tms | |
| 412 | 308 | { |
| 413 | struct tms5220 *tms = (struct tms5220 *)chip; | |
| 414 | ||
| 415 | 309 | if (tms->RDB_flag) |
| 416 | 310 | { /* if last command was read, return data register */ |
| 417 | 311 | tms->RDB_flag = FALSE; |
| r5490 | r5491 | |
| 437 | 331 | |
| 438 | 332 | ***********************************************************************************************/ |
| 439 | 333 | |
| 440 | int tms5220_ready_read( | |
| 334 | static int tms5220_ready_read(tms5220_state *tms | |
| 441 | 335 | { |
| 442 | struct tms5220 *tms = (struct tms5220 *)chip; | |
| 443 | 336 | return (tms->fifo_count < FIFO_SIZE-1); |
| 444 | 337 | } |
| 445 | 338 | |
| r5490 | r5491 | |
| 450 | 343 | |
| 451 | 344 | ***********************************************************************************************/ |
| 452 | 345 | |
| 453 | int tms5220_cycles_to_ready( | |
| 346 | static int tms5220_cycles_to_ready(tms5220_state *tms | |
| 454 | 347 | { |
| 455 | struct tms5220 *tms = (struct tms5220 *)chip; | |
| 456 | 348 | int answer; |
| 457 | 349 | |
| 458 | 350 | |
| r5490 | r5491 | |
| 492 | 384 | |
| 493 | 385 | ***********************************************************************************************/ |
| 494 | 386 | |
| 495 | int tms5220_int_read( | |
| 387 | static int tms5220_int_read(tms5220_state *tms | |
| 496 | 388 | { |
| 497 | struct tms5220 *tms = (struct tms5220 *)chip; | |
| 498 | 389 | return tms->irq_pin; |
| 499 | 390 | } |
| 500 | 391 | |
| r5490 | r5491 | |
| 506 | 397 | |
| 507 | 398 | ***********************************************************************************************/ |
| 508 | 399 | |
| 509 | void tms5220_process( | |
| 400 | static void tms5220_process(tms5220_state *tms | |
| 510 | 401 | { |
| 511 | struct tms5220 *tms = (struct tms5220 *)chip; | |
| 512 | 402 | int buf_count=0; |
| 513 | 403 | int i, interp_period, bitout; |
| 514 | 404 | |
| r5490 | r5491 | |
| 795 | 685 | |
| 796 | 686 | ***********************************************************************************************/ |
| 797 | 687 | |
| 798 | static INT16 lattice_filter( | |
| 688 | static INT16 lattice_filter(tms5220_state *tms | |
| 799 | 689 | { |
| 800 | struct tms5220 *tms = (struct tms5220 *)chip; | |
| 801 | /* Lattice filter here */ | |
| 802 | /* Aug/05/07: redone as unrolled loop, for clarity - LN*/ | |
| 803 | /* Copied verbatim from table I in US patent 4,209,804: | |
| 804 | notation equivalencies from table: | |
| 805 | Yn(i) == tms->u[n-1] | |
| 806 | Kn = tms->current_k[n-1] | |
| 807 | bn = tms->x[n-1] | |
| 690 | /* Lattice filter here */ | |
| 691 | /* Aug/05/07: redone as unrolled loop, for clarity - LN*/ | |
| 692 | /* Copied verbatim from table I in US patent 4,209,804: | |
| 693 | notation equivalencies from table: | |
| 694 | Yn(i) == tms->u[n-1] | |
| 695 | Kn = tms->current_k[n-1] | |
| 696 | bn = tms->x[n-1] | |
| 808 | 697 | */ |
| 809 | 698 | tms->u[10] = (tms->excitation_data * tms->previous_energy) >> 8; /* Y(11) */ |
| 810 | 699 | tms->u[9] = tms->u[10] - ((tms->current_k[9] * tms->x[9]) / 32768); |
| r5490 | r5491 | |
| 838 | 727 | |
| 839 | 728 | ***********************************************************************************************/ |
| 840 | 729 | |
| 841 | static void process_command( | |
| 730 | static void process_command( | |
| 842 | 731 | { |
| 843 | 732 | unsigned char cmd; |
| 844 | 733 | |
| r5490 | r5491 | |
| 864 | 753 | if (tms->schedule_dummy_read) |
| 865 | 754 | { |
| 866 | 755 | tms->schedule_dummy_read = FALSE; |
| 867 | if (tms->read_callback) | |
| 868 | (*tms->read_callback)(tms->device, 1); | |
| 756 | if (tms->intf->read) | |
| 757 | (*tms->intf->read)(tms->device, 1); | |
| 869 | 758 | } |
| 870 | if (tms->read_callback) | |
| 871 | tms->data_register = (*tms->read_callback)(tms->device, 8); /* read one byte from speech ROM... */ | |
| 759 | if (tms->intf->read) | |
| 760 | tms->data_register = (*tms->intf->read)(tms->device, 8); /* read one byte from speech ROM... */ | |
| 872 | 761 | tms->RDB_flag = TRUE; |
| 873 | 762 | break; |
| 874 | 763 | |
| 875 | 764 | case 0x30 : /* read and branch */ |
| 876 | 765 | if (DEBUG_5220) logerror("read and branch command received\n"); |
| 877 | 766 | tms->RDB_flag = FALSE; |
| 878 | if (tms->read_and_branch_callback) | |
| 879 | (*tms->read_and_branch_callback)(tms->device); | |
| 767 | if (tms->intf->read_and_branch) | |
| 768 | (*tms->intf->read_and_branch)(tms->device); | |
| 880 | 769 | break; |
| 881 | 770 | |
| 882 | 771 | case 0x40 : /* load address */ |
| 883 | 772 | /* tms5220 data sheet says that if we load only one 4-bit nibble, it won't work. |
| 884 | 773 | This code does not care about this. */ |
| 885 | if (tms->load_address_callback) | |
| 886 | (*tms->load_address_callback)(tms->device, cmd & 0x0f); | |
| 774 | if (tms->intf->load_address) | |
| 775 | (*tms->intf->load_address)(tms->device, cmd & 0x0f); | |
| 887 | 776 | tms->schedule_dummy_read = TRUE; |
| 888 | 777 | break; |
| 889 | 778 | |
| r5490 | r5491 | |
| 891 | 780 | if (tms->schedule_dummy_read) |
| 892 | 781 | { |
| 893 | 782 | tms->schedule_dummy_read = FALSE; |
| 894 | if (tms->read_callback) | |
| 895 | (*tms->read_callback)(tms->device, 1); | |
| 783 | if (tms->intf->read) | |
| 784 | (*tms->intf->read)(tms->device, 1); | |
| 896 | 785 | } |
| 897 | 786 | tms->tms5220_speaking = 1; |
| 898 | 787 | tms->speak_external = 0; |
| r5490 | r5491 | |
| 921 | 810 | if (tms->schedule_dummy_read) |
| 922 | 811 | { |
| 923 | 812 | tms->schedule_dummy_read = FALSE; |
| 924 | if (tms->read_callback) | |
| 925 | (*tms->read_callback)(tms->device, 1); | |
| 813 | if (tms->intf->read) | |
| 814 | (*tms->intf->read)(tms->device, 1); | |
| 926 | 815 | } |
| 927 | | |
| 816 | device | |
| 928 | 817 | break; |
| 929 | 818 | } |
| 930 | 819 | } |
| r5490 | r5491 | |
| 941 | 830 | |
| 942 | 831 | ***********************************************************************************************/ |
| 943 | 832 | |
| 944 | static int extract_bits( | |
| 833 | static int extract_bits( | |
| 945 | 834 | { |
| 946 | 835 | int val = 0; |
| 947 | 836 | |
| r5490 | r5491 | |
| 963 | 852 | else |
| 964 | 853 | { |
| 965 | 854 | /* extract from speech ROM */ |
| 966 | if (tms->read_callback) | |
| 967 | val = (* tms->read_callback)(tms->device, count); | |
| 855 | if (tms->intf->read) | |
| 856 | val = (* tms->intf->read)(tms->device, count); | |
| 968 | 857 | } |
| 969 | 858 | |
| 970 | 859 | return val; |
| r5490 | r5491 | |
| 978 | 867 | |
| 979 | 868 | ***********************************************************************************************/ |
| 980 | 869 | |
| 981 | static int parse_frame( | |
| 870 | static int parse_frame( | |
| 982 | 871 | { |
| 983 | 872 | int bits = 0; /* number of bits in FIFO (speak external only) */ |
| 984 | 873 | int indx, i, rep_flag; |
| r5490 | r5491 | |
| 1160 | 1049 | |
| 1161 | 1050 | ***********************************************************************************************/ |
| 1162 | 1051 | |
| 1163 | static void check_buffer_low( | |
| 1052 | static void check_buffer_low( | |
| 1164 | 1053 | { |
| 1165 | 1054 | /* did we just become low? */ |
| 1166 | 1055 | if (tms->fifo_count <= 8) |
| r5490 | r5491 | |
| 1190 | 1079 | |
| 1191 | 1080 | ***********************************************************************************************/ |
| 1192 | 1081 | |
| 1193 | static void set_interrupt_state( | |
| 1082 | static void set_interrupt_state( | |
| 1194 | 1083 | { |
| 1195 | if (tms->irq_func && state != tms->irq_pin) | |
| 1196 | tms->irq_func(tms->device, state); | |
| 1084 | if (tms->intf->irq && state != tms->irq_pin) | |
| 1085 | tms->intf->irq(tms->device, state); | |
| 1197 | 1086 | tms->irq_pin = state; |
| 1198 | 1087 | } |
| 1088 | ||
| 1089 | ||
| 1090 | /********************************************************************************************** | |
| 1091 | ||
| 1092 | DEVICE_START( tms5220 ) -- allocate buffers and reset the 5220 | |
| 1093 | ||
| 1094 | ***********************************************************************************************/ | |
| 1095 | ||
| 1096 | static DEVICE_START( tms5220 ) | |
| 1097 | { | |
| 1098 | static const tms5220_interface dummy = { 0 }; | |
| 1099 | tms5220_state *tms = get_safe_token(device); | |
| 1100 | ||
| 1101 | /* set the interface and device */ | |
| 1102 | tms->intf = device->static_config ? (const tms5220_interface *)device->static_config : &dummy; | |
| 1103 | tms->device = device; | |
| 1104 | tms->clock = device->clock; | |
| 1105 | ||
| 1106 | /* initialize a stream */ | |
| 1107 | tms->stream = stream_create(device, 0, 1, device->clock / 80, tms, tms5220_update); | |
| 1108 | ||
| 1109 | register_for_save_states(tms); | |
| 1110 | } | |
| 1111 | ||
| 1112 | ||
| 1113 | static DEVICE_START( tmc0285 ) | |
| 1114 | { | |
| 1115 | tms5220_state *tms = get_safe_token(device); | |
| 1116 | DEVICE_START_CALL( tms5220 ); | |
| 1117 | tms->variant = variant_tmc0285; | |
| 1118 | } | |
| 1119 | ||
| 1120 | ||
| 1121 | static DEVICE_START( tms5200 ) | |
| 1122 | { | |
| 1123 | tms5220_state *tms = get_safe_token(device); | |
| 1124 | DEVICE_START_CALL( tms5220 ); | |
| 1125 | tms->variant = variant_tmc0285; | |
| 1126 | } | |
| 1127 | ||
| 1128 | ||
| 1129 | static DEVICE_RESET( tms5220 ) | |
| 1130 | { | |
| 1131 | tms5220_state *tms = get_safe_token(device); | |
| 1132 | ||
| 1133 | /* initialize the FIFO */ | |
| 1134 | /*memset(tms->fifo, 0, sizeof(tms->fifo));*/ | |
| 1135 | tms->fifo_head = tms->fifo_tail = tms->fifo_count = tms->fifo_bits_taken = 0; | |
| 1136 | ||
| 1137 | /* initialize the chip state */ | |
| 1138 | /* Note that we do not actually clear IRQ on start-up : IRQ is even raised if tms->buffer_empty or tms->buffer_low are 0 */ | |
| 1139 | tms->tms5220_speaking = tms->speak_external = tms->talk_status = tms->first_frame = tms->last_frame = tms->irq_pin = 0; | |
| 1140 | if (tms->intf->irq) tms->intf->irq(tms->device, 0); | |
| 1141 | tms->buffer_empty = tms->buffer_low = 1; | |
| 1142 | ||
| 1143 | tms->RDB_flag = FALSE; | |
| 1144 | ||
| 1145 | /* initialize the energy/pitch/k states */ | |
| 1146 | tms->old_energy = tms->new_energy = tms->current_energy = tms->target_energy = 0; | |
| 1147 | tms->old_pitch = tms->new_pitch = tms->current_pitch = tms->target_pitch = 0; | |
| 1148 | memset(tms->old_k, 0, sizeof(tms->old_k)); | |
| 1149 | memset(tms->new_k, 0, sizeof(tms->new_k)); | |
| 1150 | memset(tms->current_k, 0, sizeof(tms->current_k)); | |
| 1151 | memset(tms->target_k, 0, sizeof(tms->target_k)); | |
| 1152 | ||
| 1153 | /* initialize the sample generators */ | |
| 1154 | tms->interp_count = tms->sample_count = tms->pitch_count = 0; | |
| 1155 | tms->RNG = 0x1FFF; | |
| 1156 | memset(tms->u, 0, sizeof(tms->u)); | |
| 1157 | memset(tms->x, 0, sizeof(tms->x)); | |
| 1158 | ||
| 1159 | if (tms->intf->load_address) | |
| 1160 | (*tms->intf->load_address)(tms->device, 0); | |
| 1161 | ||
| 1162 | tms->schedule_dummy_read = TRUE; | |
| 1163 | } | |
| 1164 | ||
| 1165 | ||
| 1166 | ||
| 1167 | /********************************************************************************************** | |
| 1168 | ||
| 1169 | tms5220_data_w -- write data to the sound chip | |
| 1170 | ||
| 1171 | ***********************************************************************************************/ | |
| 1172 | ||
| 1173 | WRITE8_DEVICE_HANDLER( tms5220_data_w ) | |
| 1174 | { | |
| 1175 | tms5220_state *tms = get_safe_token(device); | |
| 1176 | /* bring up to date first */ | |
| 1177 | stream_update(tms->stream); | |
| 1178 | tms5220_data_write(tms, data); | |
| 1179 | } | |
| 1180 | ||
| 1181 | ||
| 1182 | ||
| 1183 | /********************************************************************************************** | |
| 1184 | ||
| 1185 | tms5220_status_r -- read status or data from the sound chip | |
| 1186 | ||
| 1187 | ***********************************************************************************************/ | |
| 1188 | ||
| 1189 | READ8_DEVICE_HANDLER( tms5220_status_r ) | |
| 1190 | { | |
| 1191 | tms5220_state *tms = get_safe_token(device); | |
| 1192 | /* bring up to date first */ | |
| 1193 | stream_update(tms->stream); | |
| 1194 | return tms5220_status_read(tms); | |
| 1195 | } | |
| 1196 | ||
| 1197 | ||
| 1198 | ||
| 1199 | /********************************************************************************************** | |
| 1200 | ||
| 1201 | tms5220_ready_r -- return the not ready status from the sound chip | |
| 1202 | ||
| 1203 | ***********************************************************************************************/ | |
| 1204 | ||
| 1205 | int tms5220_ready_r(const device_config *device) | |
| 1206 | { | |
| 1207 | tms5220_state *tms = get_safe_token(device); | |
| 1208 | /* bring up to date first */ | |
| 1209 | stream_update(tms->stream); | |
| 1210 | return tms5220_ready_read(tms); | |
| 1211 | } | |
| 1212 | ||
| 1213 | ||
| 1214 | ||
| 1215 | /********************************************************************************************** | |
| 1216 | ||
| 1217 | tms5220_time_to_ready -- return the time in seconds until the ready line is asserted | |
| 1218 | ||
| 1219 | ***********************************************************************************************/ | |
| 1220 | ||
| 1221 | double tms5220_time_to_ready(const device_config *device) | |
| 1222 | { | |
| 1223 | tms5220_state *tms = get_safe_token(device); | |
| 1224 | double cycles; | |
| 1225 | ||
| 1226 | /* bring up to date first */ | |
| 1227 | stream_update(tms->stream); | |
| 1228 | cycles = tms5220_cycles_to_ready(tms); | |
| 1229 | return cycles * 80.0 / tms->clock; | |
| 1230 | } | |
| 1231 | ||
| 1232 | ||
| 1233 | ||
| 1234 | /********************************************************************************************** | |
| 1235 | ||
| 1236 | tms5220_int_r -- return the int status from the sound chip | |
| 1237 | ||
| 1238 | ***********************************************************************************************/ | |
| 1239 | ||
| 1240 | int tms5220_int_r(const device_config *device) | |
| 1241 | { | |
| 1242 | tms5220_state *tms = get_safe_token(device); | |
| 1243 | /* bring up to date first */ | |
| 1244 | stream_update(tms->stream); | |
| 1245 | return tms5220_int_read(tms); | |
| 1246 | } | |
| 1247 | ||
| 1248 | ||
| 1249 | ||
| 1250 | /********************************************************************************************** | |
| 1251 | ||
| 1252 | tms5220_update -- update the sound chip so that it is in sync with CPU execution | |
| 1253 | ||
| 1254 | ***********************************************************************************************/ | |
| 1255 | ||
| 1256 | static STREAM_UPDATE( tms5220_update ) | |
| 1257 | { | |
| 1258 | tms5220_state *tms = (tms5220_state *)param; | |
| 1259 | INT16 sample_data[MAX_SAMPLE_CHUNK]; | |
| 1260 | stream_sample_t *buffer = outputs[0]; | |
| 1261 | ||
| 1262 | /* loop while we still have samples to generate */ | |
| 1263 | while (samples) | |
| 1264 | { | |
| 1265 | int length = (samples > MAX_SAMPLE_CHUNK) ? MAX_SAMPLE_CHUNK : samples; | |
| 1266 | int index; | |
| 1267 | ||
| 1268 | /* generate the samples and copy to the target buffer */ | |
| 1269 | tms5220_process(tms, sample_data, length); | |
| 1270 | for (index = 0; index < length; index++) | |
| 1271 | *buffer++ = sample_data[index]; | |
| 1272 | ||
| 1273 | /* account for the samples */ | |
| 1274 | samples -= length; | |
| 1275 | } | |
| 1276 | } | |
| 1277 | ||
| 1278 | ||
| 1279 | ||
| 1280 | /********************************************************************************************** | |
| 1281 | ||
| 1282 | tms5220_set_frequency -- adjusts the playback frequency | |
| 1283 | ||
| 1284 | ***********************************************************************************************/ | |
| 1285 | ||
| 1286 | void tms5220_set_frequency(const device_config *device, int frequency) | |
| 1287 | { | |
| 1288 | tms5220_state *tms = get_safe_token(device); | |
| 1289 | stream_set_sample_rate(tms->stream, frequency / 80); | |
| 1290 | tms->clock = frequency; | |
| 1291 | } | |
| 1292 | ||
| 1293 | ||
| 1294 | ||
| 1295 | /*------------------------------------------------- | |
| 1296 | device definition | |
| 1297 | -------------------------------------------------*/ | |
| 1298 | ||
| 1299 | static const char DEVTEMPLATE_SOURCE[] = __FILE__; | |
| 1300 | ||
| 1301 | #define DEVTEMPLATE_ID(p,s) p##tms5220##s | |
| 1302 | #define DEVTEMPLATE_FEATURES DT_HAS_START | DT_HAS_RESET | |
| 1303 | #define DEVTEMPLATE_NAME "TMS5220" | |
| 1304 | #define DEVTEMPLATE_FAMILY "TI Speech" | |
| 1305 | #include "devtempl.h" | |
| 1306 | ||
| 1307 | #define DEVTEMPLATE_DERIVED_ID(p,s) p##tmc0285##s | |
| 1308 | #define DEVTEMPLATE_DERIVED_FEATURES DT_HAS_START | |
| 1309 | #define DEVTEMPLATE_DERIVED_NAME "TMC0285" | |
| 1310 | #include "devtempl.h" | |
| 1311 | ||
| 1312 | #define DEVTEMPLATE_DERIVED_ID(p,s) p##tms5200##s | |
| 1313 | #define DEVTEMPLATE_DERIVED_FEATURES DT_HAS_START | |
| 1314 | #define DEVTEMPLATE_DERIVED_NAME "TMS5200" | |
| 1315 | #include "devtempl.h" |
| r5490 | r5491 | |
|---|---|---|
| 3 | 3 | #ifndef __TMS5220_H__ |
| 4 | 4 | #define __TMS5220_H__ |
| 5 | 5 | |
| 6 | void *tms5220_create(const device_config *device); | |
| 7 | void tms5220_destroy(void *chip); | |
| 6 | /* clock rate = 80 * output sample rate, */ | |
| 7 | /* usually 640000 for 8000 Hz sample rate or */ | |
| 8 | /* usually 800000 for 10000 Hz sample rate. */ | |
| 8 | 9 | |
| 9 | void tms5220_reset_chip(void *chip); | |
| 10 | void tms5220_set_irq(void *chip, void (*func)(const device_config *, int)); | |
| 10 | typedef struct _tms5220_interface tms5220_interface; | |
| 11 | struct _tms5220_interface | |
| 12 | { | |
| 13 | void (*irq)(const device_config *device, int state); /* IRQ callback function */ | |
| 11 | 14 | |
| 12 | void tms5220_data_write(void *chip, int data); | |
| 13 | int tms5220_status_read(void *chip); | |
| 14 | int tms5220_ready_read(void *chip); | |
| 15 | int tms5220_cycles_to_ready(void *chip); | |
| 16 | int tms5220_int_read(void *chip); | |
| 15 | int (*read)(const device_config *device, int count); /* speech ROM read callback */ | |
| 16 | void (*load_address)(const device_config *device, int data); /* speech ROM load address callback */ | |
| 17 | void (*read_and_branch)(const device_config *device); /* speech ROM read and branch callback */ | |
| 18 | }; | |
| 17 | 19 | |
| 18 | void tms5220_process(void *chip, INT16 *buffer, unsigned int size); | |
| 20 | WRITE8_DEVICE_HANDLER( tms5220_data_w ); | |
| 21 | READ8_DEVICE_HANDLER( tms5220_status_r ); | |
| 22 | int tms5220_ready_r(const device_config *device); | |
| 23 | double tms5220_time_to_ready(const device_config *device); | |
| 24 | int tms5220_int_r(const device_config *device); | |
| 19 | 25 | |
| 20 | /* three variables added by R Nabet */ | |
| 21 | void tms5220_set_read(void *chip, int (*func)(const device_config *, int)); | |
| 22 | void tms5220_set_load_address(void *chip, void (*func)(const device_config *, int)); | |
| 23 | void tms5220_set_read_and_branch(void *chip, void (*func)(const device_config *)); | |
| 26 | void tms5220_set_frequency(const device_config *device, int frequency); | |
| 24 | 27 | |
| 28 | DEVICE_GET_INFO( tms5220 ); | |
| 29 | DEVICE_GET_INFO( tmc0285 ); | |
| 30 | DEVICE_GET_INFO( tms5200 ); | |
| 25 | 31 | |
| 26 | enum _tms5220_variant | |
| 27 | { | |
| 28 | variant_tms5220, /* TMS5220_IS_TMS5220, TMS5220_IS_TMS5220C, TMS5220_IS_TSP5220C */ | |
| 29 | variant_tmc0285 /* TMS5220_IS_TMS5200, TMS5220_IS_CD2501 */ | |
| 30 | }; | |
| 31 | typedef enum _tms5220_variant tms5220_variant; | |
| 32 | #define SOUND_TMS5220 DEVICE_GET_INFO_NAME( tms5220 ) | |
| 33 | #define SOUND_TMC0285 DEVICE_GET_INFO_NAME( tmc0285 ) | |
| 34 | #define SOUND_TMS5200 DEVICE_GET_INFO_NAME( tms5200 ) | |
| 32 | 35 | |
| 33 | void tms5220_set_variant(void *chip, tms5220_variant new_variant); | |
| 34 | 36 | |
| 35 | 37 | #endif /* __TMS5220_H__ */ |
| r5490 | r5491 | |
|---|---|---|
| 142 | 142 | int8 output; |
| 143 | 143 | |
| 144 | 144 | /* reg0: 0-3=volume, 4=envelope, 5=hold, 6-7=duty cycle |
| 145 | ** reg1: 0-2=sweep shifts, 3=sweep inc/dec, 4-6=sweep length, 7=sweep on | |
| 146 | ** reg2: 8 bits of freq | |
| 147 | ** reg3: 0-2=high freq, 7-4=vbl length counter | |
| 148 | */ | |
| 145 | ** reg1: 0-2=sweep shifts, 3=sweep inc/dec, 4-6=sweep length, 7=sweep on | |
| 146 | ** reg2: 8 bits of freq | |
| 147 | ** reg3: 0-2=high freq, 7-4=vbl length counter | |
| 148 | */ | |
| 149 | 149 | |
| 150 | 150 | if (FALSE == chan->enabled) |
| 151 | 151 | return 0; |
| r5490 | r5491 | |
| 215 | 215 | int freq; |
| 216 | 216 | int8 output; |
| 217 | 217 | /* reg0: 7=holdnote, 6-0=linear length counter |
| 218 | ** reg2: low 8 bits of frequency | |
| 219 | ** reg3: 7-3=length counter, 2-0=high 3 bits of frequency | |
| 220 | */ | |
| 218 | ** reg2: low 8 bits of frequency | |
| 219 | ** reg3: 7-3=length counter, 2-0=high 3 bits of frequency | |
| 220 | */ | |
| 221 | 221 | |
| 222 | 222 | if (FALSE == chan->enabled) |
| 223 | 223 | return 0; |
| r5490 | r5491 | |
| 275 | 275 | uint8 output; |
| 276 | 276 | |
| 277 | 277 | /* reg0: 0-3=volume, 4=envelope, 5=hold |
| 278 | ** reg2: 7=small(93 byte) sample,3-0=freq lookup | |
| 279 | ** reg3: 7-4=vbl length counter | |
| 280 | */ | |
| 278 | ** reg2: 7=small(93 byte) sample,3-0=freq lookup | |
| 279 | ** reg3: 7-4=vbl length counter | |
| 280 | */ | |
| 281 | 281 | |
| 282 | 282 | if (FALSE == chan->enabled) |
| 283 | 283 | return 0; |
| r5490 | r5491 | |
| 352 | 352 | int freq, bit_pos; |
| 353 | 353 | |
| 354 | 354 | /* reg0: 7=irq gen, 6=looping, 3-0=pointer to clock table |
| 355 | ** reg1: output dc level, 7 bits unsigned | |
| 356 | ** reg2: 8 bits of 64-byte aligned address offset : $C000 + (value * 64) | |
| 357 | ** reg3: length, (value * 16) + 1 | |
| 358 | */ | |
| 355 | ** reg1: output dc level, 7 bits unsigned | |
| 356 | ** reg2: 8 bits of 64-byte aligned address offset : $C000 + (value * 64) | |
| 357 | ** reg3: length, (value * 16) + 1 | |
| 358 | */ | |
| 359 | 359 | |
| 360 | 360 | if (chan->enabled) |
| 361 | 361 | { |
| r5490 | r5491 | |
| 394 | 394 | } |
| 395 | 395 | |
| 396 | 396 | if (chan->cur_byte & (1 << bit_pos)) |
| 397 | // | |
| 397 | // chan->regs[1]++; | |
| 398 | 398 | chan->vol+=2; /* FIXED * DPCM channel only uses the upper 6 bits of the DAC */ |
| 399 | 399 | else |
| 400 | // | |
| 400 | // chan->regs[1]--; | |
| 401 | 401 | chan->vol-=2; |
| 402 | 402 | } |
| 403 | 403 | } |
| r5490 | r5491 | |
| 473 | 473 | info->APU.tri.regs[3] = value; |
| 474 | 474 | |
| 475 | 475 | /* this is somewhat of a hack. there is some latency on the Real |
| 476 | ** Thing between when trireg0 is written to and when the linear | |
| 477 | ** length counter actually begins its countdown. we want to prevent | |
| 478 | ** the case where the program writes to the freq regs first, then | |
| 479 | ** to reg 0, and the counter accidentally starts running because of | |
| 480 | ** the sound queue's timestamp processing. | |
| 481 | ** | |
| 482 | ** set to a few NES sample -- should be sufficient | |
| 483 | ** | |
| 484 | ** 3 * (1789772.727 / 44100) = ~122 cycles, just around one scanline | |
| 485 | ** | |
| 486 | ** should be plenty of time for the 6502 code to do a couple of table | |
| 487 | ** dereferences and load up the other triregs | |
| 488 | */ | |
| 476 | ** Thing between when trireg0 is written to and when the linear | |
| 477 | ** length counter actually begins its countdown. we want to prevent | |
| 478 | ** the case where the program writes to the freq regs first, then | |
| 479 | ** to reg 0, and the counter accidentally starts running because of | |
| 480 | ** the sound queue's timestamp processing. | |
| 481 | ** | |
| 482 | ** set to a few NES sample -- should be sufficient | |
| 483 | ** | |
| 484 | ** 3 * (1789772.727 / 44100) = ~122 cycles, just around one scanline | |
| 485 | ** | |
| 486 | ** should be plenty of time for the 6502 code to do a couple of table | |
| 487 | ** dereferences and load up the other triregs | |
| 488 | */ | |
| 489 | 489 | |
| 490 | 490 | /* used to be 3, but now we run the clock faster, so base it on samples/sync */ |
| 491 | 491 | info->APU.tri.write_latency = (info->samps_per_sync + 239) / 240; |
| r5490 | r5491 | |
| 548 | 548 | case APU_IRQCTRL: |
| 549 | 549 | if(value & 0x80) |
| 550 | 550 | info->APU.step_mode = 5; |
| 551 | else | |
| 551 | else | |
| 552 | 552 | info->APU.step_mode = 4; |
| 553 | 553 | break; |
| 554 | 554 |
| r5490 | r5491 | |
|---|---|---|
| 883 | 883 | astring_reset(string); |
| 884 | 884 | |
| 885 | 885 | /* if no warnings, nothing to return */ |
| 886 | if (rom_load_warnings() == 0 && !(machine->gamedrv->flags & WARNING_FLAGS)) | |
| 886 | if (rom_load_warnings(machine) == 0 && !(machine->gamedrv->flags & WARNING_FLAGS)) | |
| 887 | 887 | return string; |
| 888 | 888 | |
| 889 | 889 | /* add a warning if any ROMs were loaded with warnings */ |
| 890 | if (rom_load_warnings() > 0) | |
| 890 | if (rom_load_warnings(machine) > 0) | |
| 891 | 891 | { |
| 892 | 892 | astring_catc(string, "One or more ROMs/CHDs for this game are incorrect. The " GAMENOUN " may not run correctly.\n"); |
| 893 | 893 | if (machine->gamedrv->flags & WARNING_FLAGS) |
| r5490 | r5491 | |
|---|---|---|
| 41 | 41 | ***************************************************************************/ |
| 42 | 42 | |
| 43 | 43 | /*------------------------------------------------- |
| 44 | _profiler_mark - mark the beginning | |
| 44 | _profiler_mark_start - mark the beginning | |
| 45 | 45 | profiler entry |
| 46 | 46 | -------------------------------------------------*/ |
| 47 | 47 | |
| 48 | void _profiler_mark(int type) | |
| 48 | void _profiler_mark_start(int type) | |
| 49 | 49 | { |
| 50 | 50 | profiler_data *data = &global_profiler.data[global_profiler.dataindex]; |
| 51 | 51 | osd_ticks_t curticks = osd_profiling_ticks(); |
| 52 | profiler_filo_entry *entry; | |
| 53 | int index; | |
| 52 | 54 | |
| 53 | 55 | /* track context switches */ |
| 54 | 56 | if (type >= PROFILER_CPU_FIRST && type <= PROFILER_CPU_MAX) |
| 55 | 57 | data->context_switches++; |
| 56 | 58 | |
| 57 | /* if we're starting a new bucket, begin now */ | |
| 58 | if (type != PROFILER_END) | |
| 59 | /* we're starting a new bucket, begin now */ | |
| 60 | index = global_profiler.filoindex++; | |
| 61 | entry = &global_profiler.filo[index]; | |
| 62 | ||
| 63 | /* fail if we overflow */ | |
| 64 | if (index > ARRAY_LENGTH(global_profiler.filo)) | |
| 65 | fatalerror("Profiler FILO overflow\n"); | |
| 66 | ||
| 67 | /* if we're nested, stop the previous entry */ | |
| 68 | if (index > 0) | |
| 59 | 69 | { |
| 60 | int index = global_profiler.filoindex++; | |
| 61 | profiler_filo_entry *entry = &global_profiler.filo[index]; | |
| 70 | profiler_filo_entry *preventry = entry - 1; | |
| 71 | data->duration[preventry->type] += curticks - preventry->start; | |
| 72 | } | |
| 62 | 73 | |
| 63 | /* fail if we overflow */ | |
| 64 | if (index > ARRAY_LENGTH(global_profiler.filo)) | |
| 65 | fatalerror("Profiler FILO overflow\n"); | |
| 74 | /* fill in this entry */ | |
| 75 | entry->type = type; | |
| 76 | entry->start = curticks; | |
| 77 | } | |
| 66 | 78 | |
| 67 | /* if we're nested, stop the previous entry */ | |
| 68 | if (index > 0) | |
| 69 | { | |
| 70 | profiler_filo_entry *preventry = entry - 1; | |
| 71 | data->duration[preventry->type] += curticks - preventry->start; | |
| 72 | } | |
| 73 | 79 | |
| 74 | /* fill in this entry */ | |
| 75 | entry->type = type; | |
| 76 | entry->start = curticks; | |
| 77 | } | |
| 80 | /*------------------------------------------------- | |
| 81 | _profiler_mark_end - mark the end of a | |
| 82 | profiler entry | |
| 83 | -------------------------------------------------*/ | |
| 78 | 84 | |
| 79 | /* if we're ending an existing bucket, update the time */ | |
| 80 | else if (global_profiler.filoindex > 0) | |
| 85 | void _profiler_mark_end(void) | |
| 86 | { | |
| 87 | profiler_data *data = &global_profiler.data[global_profiler.dataindex]; | |
| 88 | osd_ticks_t curticks = osd_profiling_ticks(); | |
| 89 | ||
| 90 | /* we're ending an existing bucket, update the time */ | |
| 91 | if (global_profiler.filoindex > 0) | |
| 81 | 92 | { |
| 82 | 93 | int index = --global_profiler.filoindex; |
| 83 | 94 | profiler_filo_entry *entry = &global_profiler.filo[index]; |
| r5490 | r5491 | |
| 129 | 140 | UINT64 computed, normalize, total; |
| 130 | 141 | int curtype, curmem, switches; |
| 131 | 142 | |
| 132 | profiler_mark(PROFILER_PROFILER); | |
| 143 | profiler_mark_start(PROFILER_PROFILER); | |
| 133 | 144 | |
| 134 | 145 | /* compute the total time for all bits, not including profiler or idle */ |
| 135 | 146 | computed = 0; |
| r5490 | r5491 | |
| 194 | 205 | astring_catprintf(string, "%d CPU switches\n", switches / (int) ARRAY_LENGTH(global_profiler.data)); |
| 195 | 206 | } |
| 196 | 207 | |
| 197 | profiler_mark | |
| 208 | profiler_mark | |
| 198 | 209 | |
| 199 | 210 | /* advance to the next dataset and reset it to 0 */ |
| 200 | 211 | global_profiler.dataindex = (global_profiler.dataindex + 1) % ARRAY_LENGTH(global_profiler.data); |
| r5490 | r5491 | |
|---|---|---|
| 10 | 10 | **************************************************************************** |
| 11 | 11 | |
| 12 | 12 | To start profiling a certain section, e.g. video: |
| 13 | profiler_mark(PROFILER_VIDEO); | |
| 13 | profiler_mark_start(PROFILER_VIDEO); | |
| 14 | 14 | |
| 15 | 15 | to end profiling the current section: |
| 16 | profiler_mark | |
| 16 | profiler_mark | |
| 17 | 17 | |
| 18 | 18 | the profiler handles a FILO list so calls may be nested. |
| 19 | 19 | |
| r5490 | r5491 | |
| 114 | 114 | |
| 115 | 115 | #ifdef MAME_PROFILER |
| 116 | 116 | |
| 117 | #define profiler_mark(x) do { if (global_profiler.enabled) _profiler_mark(x); } while (0) | |
| 117 | #define profiler_mark_start(x) do { if (global_profiler.enabled) _profiler_mark_start(x); } while (0) | |
| 118 | #define profiler_mark_end() do { if (global_profiler.enabled) _profiler_mark_end(); } while (0) | |
| 118 | 119 | #define profiler_start() do { global_profiler.enabled = TRUE; global_profiler.filoindex = global_profiler.dataindex = global_profiler.dataready = 0; } while (0) |
| 119 | 120 | #define profiler_stop() do { global_profiler.enabled = FALSE; } while (0) |
| 120 | 121 | #define profiler_get_text(x,s) _profiler_get_text(x, s) |
| 121 | 122 | |
| 122 | 123 | #else |
| 123 | 124 | |
| 124 | #define profiler_mark(x) do { } while (0) | |
| 125 | #define profiler_mark_start(x) do { } while (0) | |
| 126 | #define profiler_mark_end() do { } while (0) | |
| 125 | 127 | #define profiler_start() do { } while (0) |
| 126 | 128 | #define profiler_stop() do { } while (0) |
| 127 | 129 | #define profiler_get_text(x,s) astring_reset(s) |
| r5490 | r5491 | |
| 137 | 139 | |
| 138 | 140 | /* ----- core functions (do not call directly; use macros) ----- */ |
| 139 | 141 | |
| 140 | /* mark the beginning/end of a profiler entry */ | |
| 141 | void _profiler_mark(int type); | |
| 142 | /* mark the beginning of a profiler entry */ | |
| 143 | void _profiler_mark_start(int type); | |
| 142 | 144 | |
| 145 | /* mark the end of a profiler entry */ | |
| 146 | void _profiler_mark_end(void); | |
| 147 | ||
| 143 | 148 | /* return the current text in an astring */ |
| 144 | 149 | astring *_profiler_get_text(running_machine *machine, astring *string); |
| 145 | 150 |
| r5490 | r5491 | |
|---|---|---|
| 687 | 687 | |
| 688 | 688 | VPRINTF(("sound_update\n")); |
| 689 | 689 | |
| 690 | profiler_mark(PROFILER_SOUND); | |
| 690 | profiler_mark_start(PROFILER_SOUND); | |
| 691 | 691 | |
| 692 | 692 | /* force all the speaker streams to generate the proper number of samples */ |
| 693 | 693 | for (curspeak = speaker_output_first(machine->config); curspeak != NULL; curspeak = speaker_output_next(curspeak)) |
| r5490 | r5491 | |
| 790 | 790 | /* update the streamer */ |
| 791 | 791 | streams_update(machine); |
| 792 | 792 | |
| 793 | profiler_mark | |
| 793 | profiler_mark | |
| 794 | 794 | } |
| 795 | 795 | |
| 796 | 796 |
| r5490 | r5491 | |
|---|---|---|
| 829 | 829 | INT32 result = 0; |
| 830 | 830 | int curindex; |
| 831 | 831 | |
| 832 | profiler_mark(PROFILER_INPUT); | |
| 832 | profiler_mark_start(PROFILER_INPUT); | |
| 833 | 833 | |
| 834 | 834 | /* return 0 for any disabled or invalid device classes */ |
| 835 | 835 | if (devclass <= DEVICE_CLASS_INVALID || devclass >= DEVICE_CLASS_MAXIMUM || !device_list[devclass].enabled) |
| r5490 | r5491 | |
| 880 | 880 | } |
| 881 | 881 | |
| 882 | 882 | exit: |
| 883 | profiler_mark | |
| 883 | profiler_mark | |
| 884 | 884 | return result; |
| 885 | 885 | } |
| 886 | 886 |
| r5490 | r5491 | |
|---|---|---|
| 403 | 403 | if (was_enabled && timer->callback != NULL) |
| 404 | 404 | { |
| 405 | 405 | LOG(("Timer %s:%d[%s] fired (expire=%s)\n", timer->file, timer->line, timer->func, attotime_string(timer->expire, 9))); |
| 406 | profiler_mark(PROFILER_TIMER_CALLBACK); | |
| 406 | profiler_mark_start(PROFILER_TIMER_CALLBACK); | |
| 407 | 407 | (*timer->callback)(machine, timer->ptr, timer->param); |
| 408 | profiler_mark | |
| 408 | profiler_mark | |
| 409 | 409 | } |
| 410 | 410 | |
| 411 | 411 | /* clear the callback timer global */ |
| r5490 | r5491 | |
|---|---|---|
| 82 | 82 | |
| 83 | 83 | #include <ctype.h> |
| 84 | 84 | |
| 85 | #ifdef MESS | |
| 86 | #include "cheatms.h" | |
| 87 | #endif | |
| 85 | 88 | |
| 86 | 89 | |
| 90 | ||
| 87 | 91 | /*************************************************************************** |
| 88 | 92 | CONSTANTS |
| 89 | 93 | ***************************************************************************/ |
| r5490 | r5491 | |
| 374 | 378 | cheatinfo = auto_alloc_clear(machine, cheat_private); |
| 375 | 379 | machine->cheat_data = cheatinfo; |
| 376 | 380 | |
| 377 | /* load the cheat file */ | |
| 381 | /* load the cheat file, MESS will load a crc32.xml ( eg. 01234567.xml ) | |
| 382 | and MAME will load gamename.xml */ | |
| 383 | #ifdef MESS | |
| 384 | { | |
| 385 | char mess_cheat_filename[9]; | |
| 386 | cheat_mess_init(machine); | |
| 387 | sprintf(mess_cheat_filename, "%08X", this_game_crc); | |
| 388 | cheatinfo->cheatlist = cheat_list_load(machine, mess_cheat_filename); | |
| 389 | } | |
| 390 | #else | |
| 378 | 391 | cheatinfo->cheatlist = cheat_list_load(machine, machine->basename); |
| 392 | #endif | |
| 379 | 393 | |
| 380 | 394 | /* temporary: save the file back out as output.xml for comparison */ |
| 381 | 395 | if (cheatinfo->cheatlist != NULL) |
| r5490 | r5491 | |
|---|---|---|
| 374 | 374 | |
| 375 | 375 | #define DRAWGFX_CORE(PIXEL_TYPE, PIXEL_OP, PRIORITY_TYPE) \ |
| 376 | 376 | do { \ |
| 377 | profiler_mark(PROFILER_DRAWGFX); \ | |
| 377 | profiler_mark_start(PROFILER_DRAWGFX); \ | |
| 378 | 378 | do { \ |
| 379 | 379 | const UINT8 *srcdata; \ |
| 380 | 380 | INT32 destendx, destendy; \ |
| r5490 | r5491 | |
| 617 | 617 | } \ |
| 618 | 618 | } \ |
| 619 | 619 | } while (0); \ |
| 620 | profiler_mark | |
| 620 | profiler_mark | |
| 621 | 621 | } while (0) |
| 622 | 622 | |
| 623 | 623 | |
| r5490 | r5491 | |
| 646 | 646 | |
| 647 | 647 | #define DRAWGFXZOOM_CORE(PIXEL_TYPE, PIXEL_OP, PRIORITY_TYPE) \ |
| 648 | 648 | do { \ |
| 649 | profiler_mark(PROFILER_DRAWGFX); \ | |
| 649 | profiler_mark_start(PROFILER_DRAWGFX); \ | |
| 650 | 650 | do { \ |
| 651 | 651 | const UINT8 *srcdata; \ |
| 652 | 652 | UINT32 dstwidth, dstheight; \ |
| r5490 | r5491 | |
| 798 | 798 | } \ |
| 799 | 799 | } \ |
| 800 | 800 | } while (0); \ |
| 801 | profiler_mark | |
| 801 | profiler_mark | |
| 802 | 802 | } while (0) |
| 803 | 803 | |
| 804 | 804 | |
| r5490 | r5491 | |
| 822 | 822 | |
| 823 | 823 | #define COPYBITMAP_CORE(PIXEL_TYPE, PIXEL_OP, PRIORITY_TYPE) \ |
| 824 | 824 | do { \ |
| 825 | profiler_mark(PROFILER_COPYBITMAP); \ | |
| 825 | profiler_mark_start(PROFILER_COPYBITMAP); \ | |
| 826 | 826 | do { \ |
| 827 | 827 | const PIXEL_TYPE *srcdata; \ |
| 828 | 828 | UINT32 numblocks, leftovers; \ |
| r5490 | r5491 | |
| 976 | 976 | } \ |
| 977 | 977 | } \ |
| 978 | 978 | } while (0); \ |
| 979 | profiler_mark | |
| 979 | profiler_mark | |
| 980 | 980 | } while (0) |
| 981 | 981 | |
| 982 | 982 | |
| r5490 | r5491 | |
| 1007 | 1007 | UINT32 numblocks, leftovers; \ |
| 1008 | 1008 | INT32 curx, cury; \ |
| 1009 | 1009 | \ |
| 1010 | profiler_mark(PROFILER_COPYBITMAP); | |
| 1010 | profiler_mark_start(PROFILER_COPYBITMAP); | |
| 1011 | 1011 | \ |
| 1012 | 1012 | assert(dest != NULL); \ |
| 1013 | 1013 | assert(src != NULL); \ |
| r5490 | r5491 | |
| 1281 | 1281 | } \ |
| 1282 | 1282 | } \ |
| 1283 | 1283 | } \ |
| 1284 | profiler_mark | |
| 1284 | profiler_mark | |
| 1285 | 1285 | } while (0) |
| 1286 | 1286 | |
| 1287 | 1287 |
| r5490 | r5491 | |
|---|---|---|
| 204 | 204 | /* ----- anonymous timer management ----- */ |
| 205 | 205 | |
| 206 | 206 | /* allocate a one-shot timer, which calls the callback after the given duration */ |
| 207 | void _timer_set_internal(running_machine *machine, attotime d | |
| 207 | void _timer_set_internal(running_machine *machine, attotime d | |
| 208 | 208 | |
| 209 | 209 | /* allocate a pulse timer, which repeatedly calls the callback using the given period */ |
| 210 | 210 | void _timer_pulse_internal(running_machine *machine, attotime period, void *ptr, INT32 param, timer_fired_func callback, const char *file, int line, const char *func); |
| r5490 | r5491 | |
|---|---|---|
| 85 | 85 | }; |
| 86 | 86 | |
| 87 | 87 | |
| 88 | typedef struct _quark_tables quark_tables; | |
| 89 | struct _quark_tables | |
| 90 | { | |
| 91 | quark_table *source; | |
| 92 | quark_table *name; | |
| 93 | quark_table *description; | |
| 94 | quark_table *roms; | |
| 95 | quark_table *defstr; | |
| 96 | }; | |
| 88 | 97 | |
| 89 | /*************************************************************************** | |
| 90 | GLOBAL VARIABLES | |
| 91 | ***************************************************************************/ | |
| 92 | 98 | |
| 93 | static quark_table *source_table; | |
| 94 | static quark_table *name_table; | |
| 95 | static quark_table *description_table; | |
| 96 | static quark_table *roms_table; | |
| 97 | static quark_table *defstr_table; | |
| 98 | 99 | |
| 99 | ||
| 100 | ||
| 101 | 100 | /*************************************************************************** |
| 102 | 101 | INLINE FUNCTIONS |
| 103 | 102 | ***************************************************************************/ |
| r5490 | r5491 | |
| 254 | 253 | string operations |
| 255 | 254 | -------------------------------------------------*/ |
| 256 | 255 | |
| 257 | static void quark_tables_create( | |
| 256 | static void quark_tables_create(quark_tables *tables) | |
| 258 | 257 | { |
| 259 | 258 | int drivnum = driver_list_get_count(drivers), strnum; |
| 260 | 259 | |
| 261 | 260 | /* allocate memory for the quark tables */ |
| 262 | source_table = quark_table_alloc(drivnum, QUARK_HASH_SIZE); | |
| 263 | name_table = quark_table_alloc(drivnum, QUARK_HASH_SIZE); | |
| 264 | description_table = quark_table_alloc(drivnum, QUARK_HASH_SIZE); | |
| 265 | roms_table = quark_table_alloc(drivnum, QUARK_HASH_SIZE); | |
| 261 | tables->source = quark_table_alloc(drivnum, QUARK_HASH_SIZE); | |
| 262 | tables->name = quark_table_alloc(drivnum, QUARK_HASH_SIZE); | |
| 263 | tables->description = quark_table_alloc(drivnum, QUARK_HASH_SIZE); | |
| 264 | tables->roms = quark_table_alloc(drivnum, QUARK_HASH_SIZE); | |
| 266 | 265 | |
| 267 | 266 | /* build the quarks and the hash tables */ |
| 268 | 267 | for (drivnum = 0; drivers[drivnum]; drivnum++) |
| r5490 | r5491 | |
| 270 | 269 | const game_driver *driver = drivers[drivnum]; |
| 271 | 270 | |
| 272 | 271 | /* fill in the quark with hashes of the strings */ |
| 273 | quark_add(source_table, drivnum, quark_string_crc(driver->source_file)); | |
| 274 | quark_add(name_table, drivnum, quark_string_crc(driver->name)); | |
| 275 | quark_add(description_table, drivnum, quark_string_crc(driver->description)); | |
| 272 | quark_add(tables->source, drivnum, quark_string_crc(driver->source_file)); | |
| 273 | quark_add(tables->name, drivnum, quark_string_crc(driver->name)); | |
| 274 | quark_add(tables->description, drivnum, quark_string_crc(driver->description)); | |
| 276 | 275 | |
| 277 | 276 | /* only track actual driver ROM entries */ |
| 278 | 277 | if (driver->rom && (driver->flags & GAME_NO_STANDALONE) == 0) |
| 279 | quark_add( | |
| 278 | quark_add( | |
| 280 | 279 | } |
| 281 | 280 | |
| 282 | 281 | /* allocate memory for a quark table of strings */ |
| 283 | defstr | |
| 282 | tables->defstr | |
| 284 | 283 | |
| 285 | 284 | /* add all the default strings */ |
| 286 | 285 | for (strnum = 1; strnum < INPUT_STRING_COUNT; strnum++) |
| 287 | 286 | { |
| 288 | 287 | const char *string = input_port_string_from_index(strnum); |
| 289 | 288 | if (string != NULL) |
| 290 | quark_add(defstr | |
| 289 | quark_add(tables->defstr | |
| 291 | 290 | } |
| 292 | 291 | } |
| 293 | 292 | |
| r5490 | r5491 | |
| 296 | 295 | quark_tables_free - free allocated tables |
| 297 | 296 | -------------------------------------------------*/ |
| 298 | 297 | |
| 299 | static void quark_tables_free( | |
| 298 | static void quark_tables_free(quark_tables *tables) | |
| 300 | 299 | { |
| 301 | if (source_table != NULL) | |
| 302 | free(source_table); | |
| 303 | source_table = NULL; | |
| 300 | if (tables->source != NULL) | |
| 301 | free(tables->source); | |
| 302 | tables->source = NULL; | |
| 304 | 303 | |
| 305 | if (name_table != NULL) | |
| 306 | free(name_table); | |
| 307 | name_table = NULL; | |
| 304 | if (tables->name != NULL) | |
| 305 | free(tables->name); | |
| 306 | tables->name = NULL; | |
| 308 | 307 | |
| 309 | if (description_table != NULL) | |
| 310 | free(description_table); | |
| 311 | description_table = NULL; | |
| 308 | if (tables->description != NULL) | |
| 309 | free(tables->description); | |
| 310 | tables->description = NULL; | |
| 312 | 311 | |
| 313 | if (roms_table != NULL) | |
| 314 | free(roms_table); | |
| 315 | roms_table = NULL; | |
| 312 | if (tables->roms != NULL) | |
| 313 | free(tables->roms); | |
| 314 | tables->roms = NULL; | |
| 316 | 315 | |
| 317 | if (defstr_table != NULL) | |
| 318 | free(defstr_table); | |
| 319 | defstr_table = NULL; | |
| 316 | if (tables->defstr != NULL) | |
| 317 | free(tables->defstr); | |
| 318 | tables->defstr = NULL; | |
| 320 | 319 | } |
| 321 | 320 | |
| 322 | 321 | |
| r5490 | r5491 | |
| 483 | 482 | information |
| 484 | 483 | -------------------------------------------------*/ |
| 485 | 484 | |
| 486 | static int validate_driver(int drivnum, const machine_config *config) | |
| 485 | static int validate_driver(int drivnum, const machine_config *config, const quark_tables *tables) | |
| 487 | 486 | { |
| 488 | 487 | const game_driver *driver = drivers[drivnum]; |
| 488 | quark_table *name_table = tables->name; | |
| 489 | quark_table *description_table = tables->description; | |
| 490 | #ifndef MESS | |
| 491 | quark_table *roms_table = tables->roms; | |
| 492 | #endif /* MESS */ | |
| 489 | 493 | const game_driver *clone_of; |
| 490 | 494 | quark_entry *entry; |
| 491 | 495 | int error = FALSE, is_clone; |
| r5490 | r5491 | |
| 1005 | 1009 | strings |
| 1006 | 1010 | -------------------------------------------------*/ |
| 1007 | 1011 | |
| 1008 | static int get_defstr_index(const char *name, const game_driver *driver, int *error) | |
| 1012 | static int get_defstr_index(quark_table *defstr_table, const char *name, const game_driver *driver, int *error) | |
| 1009 | 1013 | { |
| 1010 | 1014 | UINT32 crc = quark_string_crc(name); |
| 1011 | 1015 | quark_entry *entry; |
| r5490 | r5491 | |
| 1144 | 1148 | setting |
| 1145 | 1149 | -------------------------------------------------*/ |
| 1146 | 1150 | |
| 1147 | static void validate_dip_settings(const input_field_config *field, const game_driver *driver, int *error) | |
| 1151 | static void validate_dip_settings(const input_field_config *field, const game_driver *driver, quark_table *defstr_table, int *error) | |
| 1148 | 1152 | { |
| 1149 | 1153 | const char *demo_sounds = input_port_string_from_index(INPUT_STRING_Demo_Sounds); |
| 1150 | 1154 | const char *flipscreen = input_port_string_from_index(INPUT_STRING_Flip_Screen); |
| r5490 | r5491 | |
| 1155 | 1159 | /* iterate through the settings */ |
| 1156 | 1160 | for (setting = field->settinglist; setting != NULL; setting = setting->next) |
| 1157 | 1161 | { |
| 1158 | int strindex = get_defstr_index(setting->name, driver, error); | |
| 1162 | int strindex = get_defstr_index(defstr_table, setting->name, driver, error); | |
| 1159 | 1163 | |
| 1160 | 1164 | /* note any coinage strings */ |
| 1161 | 1165 | if (strindex >= INPUT_STRING_9C_1C && strindex <= INPUT_STRING_1C_9C) |
| r5490 | r5491 | |
| 1185 | 1189 | /* if we have a neighbor, compare ourselves to him */ |
| 1186 | 1190 | if (setting->next != NULL) |
| 1187 | 1191 | { |
| 1188 | int next_strindex = get_defstr_index(setting->next->name, driver, error); | |
| 1192 | int next_strindex = get_defstr_index(defstr_table, setting->next->name, driver, error); | |
| 1189 | 1193 | |
| 1190 | 1194 | /* check for inverted off/on dispswitch order */ |
| 1191 | 1195 | if (strindex == INPUT_STRING_On && next_strindex == INPUT_STRING_Off) |
| r5490 | r5491 | |
| 1235 | 1239 | validate_inputs - validate input configuration |
| 1236 | 1240 | -------------------------------------------------*/ |
| 1237 | 1241 | |
| 1238 | static int validate_inputs(int drivnum, const machine_config *config, const input_port_config **portlistptr) | |
| 1242 | static int validate_inputs(int drivnum, const machine_config *config, quark_table *defstr_table, const input_port_config **portlistptr) | |
| 1239 | 1243 | { |
| 1240 | 1244 | const input_port_config *scanport; |
| 1241 | 1245 | const input_port_config *port; |
| r5490 | r5491 | |
| 1289 | 1293 | } |
| 1290 | 1294 | |
| 1291 | 1295 | /* verify the settings list */ |
| 1292 | validate_dip_settings(field, driver, &error); | |
| 1296 | validate_dip_settings(field, driver, defstr_table, &error); | |
| 1293 | 1297 | } |
| 1294 | 1298 | |
| 1295 | 1299 | /* look for invalid (0) types which should be mapped to IPT_OTHER */ |
| r5490 | r5491 | |
| 1324 | 1328 | } |
| 1325 | 1329 | |
| 1326 | 1330 | /* look up the string and print an error if default strings are not used */ |
| 1327 | /*strindex = */get_defstr_index(field->name, driver, &error); | |
| 1331 | /*strindex = */get_defstr_index(defstr_table, field->name, driver, &error); | |
| 1328 | 1332 | } |
| 1329 | 1333 | |
| 1330 | 1334 | /* verify conditions on the field */ |
| r5490 | r5491 | |
| 1593 | 1597 | |
| 1594 | 1598 | int mame_validitychecks(const game_driver *curdriver) |
| 1595 | 1599 | { |
| 1600 | quark_tables tables; | |
| 1596 | 1601 | osd_ticks_t prep = 0; |
| 1597 | 1602 | osd_ticks_t expansion = 0; |
| 1598 | 1603 | osd_ticks_t driver_checks = 0; |
| r5490 | r5491 | |
| 1647 | 1652 | |
| 1648 | 1653 | /* prepare by pre-scanning all the drivers and adding their info to hash tables */ |
| 1649 | 1654 | prep -= osd_profiling_ticks(); |
| 1650 | quark_tables_create(); | |
| 1655 | quark_tables_create(&tables); | |
| 1651 | 1656 | prep += osd_profiling_ticks(); |
| 1652 | 1657 | |
| 1653 | 1658 | /* iterate over all drivers */ |
| r5490 | r5491 | |
| 1671 | 1676 | |
| 1672 | 1677 | /* validate the driver entry */ |
| 1673 | 1678 | driver_checks -= osd_profiling_ticks(); |
| 1674 | error = validate_driver(drivnum, config) || error; | |
| 1679 | error = validate_driver(drivnum, config, &tables) || error; | |
| 1675 | 1680 | driver_checks += osd_profiling_ticks(); |
| 1676 | 1681 | |
| 1677 | 1682 | /* validate the ROM information */ |
| r5490 | r5491 | |
| 1681 | 1686 | |
| 1682 | 1687 | /* validate input ports */ |
| 1683 | 1688 | input_checks -= osd_profiling_ticks(); |
| 1684 | error = validate_inputs(drivnum, config, &portlist) || error; | |
| 1689 | error = validate_inputs(drivnum, config, tables.defstr, &portlist) || error; | |
| 1685 | 1690 | input_checks += osd_profiling_ticks(); |
| 1686 | 1691 | |
| 1687 | 1692 | /* validate the CPU information */ |
| r5490 | r5491 | |
| 1741 | 1746 | |
| 1742 | 1747 | end_resource_tracking(); |
| 1743 | 1748 | exit_resource_tracking(); |
| 1744 | quark_tables_free(); | |
| 1749 | quark_tables_free(&tables); | |
| 1745 | 1750 | |
| 1746 | 1751 | return error; |
| 1747 | 1752 | } |
| r5490 | r5491 | |
|---|---|---|
| 108 | 108 | XTAL_16_9344MHz = 16934400, /* Usually used to drive 90's Yamaha OPL/FM chips */ |
| 109 | 109 | XTAL_17_73447MHz = 17734470, /* 4 times the PAL subcarrier */ |
| 110 | 110 | XTAL_18MHz = 18000000, /* S.A.R, Ikari Warriors 3 */ |
| 111 | XTAL_18_432MHz = 18432000, /* Extremely common, used on 100's of PCBs */ | |
| 111 | 112 | XTAL_18_720MHz = 18720000, /* Nokia MikroMikko 1 */ |
| 112 | XTAL_18_432MHz = 18432000, /* Extremely common, used on 100's of PCBs */ | |
| 113 | 113 | XTAL_19_6608MHz = 19660800, /* Euro League (bootleg), labeled as "UKI 19.6608 20PF" */ |
| 114 | 114 | XTAL_19_923MHz = 19923000, /* Cinematronics vectors */ |
| 115 | 115 | XTAL_19_968MHz = 19968000, /* Used mostly by some Taito games */ |
| r5490 | r5491 | |
|---|---|---|
| 34 | 34 | TYPE DEFINITIONS |
| 35 | 35 | ***************************************************************************/ |
| 36 | 36 | |
| 37 | typedef struct _rom_load_data rom_load_data; | |
| 38 | struct _rom_load_data | |
| 37 | typedef struct _open_chd open_chd; | |
| 38 | struct _open_chd | |
| 39 | 39 | { |
| 40 | open_chd * next; /* pointer to next in the list */ | |
| 41 | const char * region; /* disk region we came from */ | |
| 42 | chd_file * origchd; /* handle to the original CHD */ | |
| 43 | mame_file * origfile; /* file handle to the original CHD file */ | |
| 44 | chd_file * diffchd; /* handle to the diff CHD */ | |
| 45 | mame_file * difffile; /* file handle to the diff CHD file */ | |
| 46 | }; | |
| 47 | ||
| 48 | ||
| 49 | typedef struct _romload_private rom_load_data; | |
| 50 | struct _romload_private | |
| 51 | { | |
| 40 | 52 | running_machine *machine; /* machine object where needed */ |
| 41 | 53 | int system_bios; /* the system BIOS we wish to load */ |
| 42 | 54 | |
| r5490 | r5491 | |
| 49 | 61 | UINT32 romstotalsize; /* total size of ROMs to read */ |
| 50 | 62 | |
| 51 | 63 | mame_file * file; /* current file */ |
| 64 | open_chd * chd_list; /* disks */ | |
| 65 | open_chd ** chd_list_tailptr; | |
| 52 | 66 | |
| 53 | 67 | UINT8 * regionbase; /* base of current region */ |
| 54 | 68 | UINT32 regionlength; /* length of current region */ |
| r5490 | r5491 | |
| 57 | 71 | }; |
| 58 | 72 | |
| 59 | 73 | |
| 60 | typedef struct _open_chd open_chd; | |
| 61 | struct _open_chd | |
| 62 | { | |
| 63 | open_chd * next; /* pointer to next in the list */ | |
| 64 | const char * region; /* disk region we came from */ | |
| 65 | chd_file * origchd; /* handle to the original CHD */ | |
| 66 | mame_file * origfile; /* file handle to the original CHD file */ | |
| 67 | chd_file * diffchd; /* handle to the diff CHD */ | |
| 68 | mame_file * difffile; /* file handle to the diff CHD file */ | |
| 69 | }; | |
| 70 | ||
| 71 | ||
| 72 | ||
| 73 | 74 | /*************************************************************************** |
| 74 | GLOBAL VARIABLES | |
| 75 | ***************************************************************************/ | |
| 76 | ||
| 77 | /* disks */ | |
| 78 | static open_chd *chd_list; | |
| 79 | static open_chd **chd_list_tailptr; | |
| 80 | ||
| 81 | static int total_rom_load_warnings; | |
| 82 | ||
| 83 | ||
| 84 | ||
| 85 | /*************************************************************************** | |
| 86 | 75 | FUNCTION PROTOTYPES |
| 87 | 76 | ***************************************************************************/ |
| 88 | 77 | |
| r5490 | r5491 | |
| 99 | 88 | CHD file associated with the given region |
| 100 | 89 | -------------------------------------------------*/ |
| 101 | 90 | |
| 102 | chd_file *get_disk_handle(const char *region) | |
| 91 | chd_file *get_disk_handle(running_machine *machine, const char *region) | |
| 103 | 92 | { |
| 104 | 93 | open_chd *curdisk; |
| 105 | 94 | |
| 106 | for (curdisk = chd_list; curdisk != NULL; curdisk = curdisk->next) | |
| 95 | for (curdisk = machine->romload_data->chd_list; curdisk != NULL; curdisk = curdisk->next) | |
| 107 | 96 | if (strcmp(curdisk->region, region) == 0) |
| 108 | 97 | return (curdisk->diffchd != NULL) ? curdisk->diffchd : curdisk->origchd; |
| 109 | 98 | return NULL; |
| r5490 | r5491 | |
| 111 | 100 | |
| 112 | 101 | |
| 113 | 102 | /*------------------------------------------------- |
| 103 | add_disk_handle - add a disk to the to the | |
| 104 | list of CHD files | |
| 105 | -------------------------------------------------*/ | |
| 106 | ||
| 107 | static void add_disk_handle(running_machine *machine, open_chd *chd) | |
| 108 | { | |
| 109 | romload_private *romload_data = machine->romload_data; | |
| 110 | ||
| 111 | *romload_data->chd_list_tailptr = auto_alloc(machine, open_chd); | |
| 112 | **romload_data->chd_list_tailptr = *chd; | |
| 113 | romload_data->chd_list_tailptr = &(*romload_data->chd_list_tailptr)->next; | |
| 114 | } | |
| 115 | ||
| 116 | ||
| 117 | /*------------------------------------------------- | |
| 114 | 118 | set_disk_handle - set a pointer to the CHD |
| 115 | 119 | file associated with the given region |
| 116 | 120 | -------------------------------------------------*/ |
| r5490 | r5491 | |
| 125 | 129 | chd.origfile = file; |
| 126 | 130 | |
| 127 | 131 | /* we're okay, add to the list of disks */ |
| 128 | *chd_list_tailptr = auto_alloc(machine, open_chd); | |
| 129 | **chd_list_tailptr = chd; | |
| 130 | chd_list_tailptr = &(*chd_list_tailptr)->next; | |
| 132 | add_disk_handle(machine, &chd); | |
| 131 | 133 | } |
| 132 | 134 | |
| 133 | 135 | |
| r5490 | r5491 | |
| 1225 | 1227 | |
| 1226 | 1228 | /* we're okay, add to the list of disks */ |
| 1227 | 1229 | LOG(("Assigning to handle %d\n", DISK_GETINDEX(romp))); |
| 1228 | *chd_list_tailptr = auto_alloc(romdata->machine, open_chd); | |
| 1229 | **chd_list_tailptr = chd; | |
| 1230 | chd_list_tailptr = &(*chd_list_tailptr)->next; | |
| 1230 | add_disk_handle(romdata->machine, &chd); | |
| 1231 | 1231 | } |
| 1232 | 1232 | } |
| 1233 | 1233 | astring_free(filename); |
| r5490 | r5491 | |
| 1338 | 1338 | |
| 1339 | 1339 | void rom_init(running_machine *machine) |
| 1340 | 1340 | { |
| 1341 | rom_load_data romdata; | |
| 1341 | rom_load_data *romdata; | |
| 1342 | 1342 | |
| 1343 | /* allocate private data */ | |
| 1344 | machine->romload_data = romdata = auto_alloc_clear(machine, romload_private); | |
| 1345 | ||
| 1343 | 1346 | /* make sure we get called back on the way out */ |
| 1344 | 1347 | add_exit_callback(machine, rom_exit); |
| 1345 | 1348 | |
| 1346 | 1349 | /* reset the romdata struct */ |
| 1347 | memset(&romdata, 0, sizeof(romdata)); | |
| 1348 | romdata.machine = machine; | |
| 1349 | romdata.errorstring = astring_alloc(); | |
| 1350 | romdata->machine = machine; | |
| 1351 | romdata->errorstring = astring_alloc(); | |
| 1350 | 1352 | |
| 1351 | 1353 | /* figure out which BIOS we are using */ |
| 1352 | determine_bios_rom( | |
| 1354 | determine_bios_rom( | |
| 1353 | 1355 | |
| 1354 | 1356 | /* count the total number of ROMs */ |
| 1355 | count_roms( | |
| 1357 | count_roms( | |
| 1356 | 1358 | |
| 1357 | 1359 | /* reset the disk list */ |
| 1358 | chd_list = NULL; | |
| 1359 | chd_list_tailptr = &chd_list; | |
| 1360 | romdata->chd_list = NULL; | |
| 1361 | romdata->chd_list_tailptr = &machine->romload_data->chd_list; | |
| 1360 | 1362 | |
| 1361 | 1363 | /* process the ROM entries we were passed */ |
| 1362 | process_region_list( | |
| 1364 | process_region_list( | |
| 1363 | 1365 | |
| 1364 | 1366 | /* display the results and exit */ |
| 1365 | total_rom_load_warnings = romdata.warnings; | |
| 1366 | display_rom_load_results(&romdata); | |
| 1367 | astring_free(romdata.errorstring); | |
| 1367 | display_rom_load_results(romdata); | |
| 1368 | astring_free(romdata->errorstring); | |
| 1368 | 1369 | } |
| 1369 | 1370 | |
| 1370 | 1371 | |
| r5490 | r5491 | |
| 1385 | 1386 | } |
| 1386 | 1387 | |
| 1387 | 1388 | /* close all hard drives */ |
| 1388 | for (curchd = chd_list; curchd != NULL; curchd = curchd->next) | |
| 1389 | for (curchd = machine->romload_data->chd_list; curchd != NULL; curchd = curchd->next) | |
| 1389 | 1390 | { |
| 1390 | 1391 | if (curchd->diffchd != NULL) |
| 1391 | 1392 | chd_close(curchd->diffchd); |
| r5490 | r5491 | |
| 1404 | 1405 | warnings we generated |
| 1405 | 1406 | -------------------------------------------------*/ |
| 1406 | 1407 | |
| 1407 | int rom_load_warnings( | |
| 1408 | int rom_load_warnings(running_machine *machine) | |
| 1408 | 1409 | { |
| 1409 | return | |
| 1410 | return m | |
| 1410 | 1411 | } |
| r5490 | r5491 | |
|---|---|---|
| 349 | 349 | { |
| 350 | 350 | bitmap_t *bitmap = tmpbitmap; |
| 351 | 351 | |
| 352 | profiler_mark(PROFILER_VIDEO); | |
| 352 | profiler_mark_start(PROFILER_VIDEO); | |
| 353 | 353 | |
| 354 | 354 | /* Make sure we're in mode 3 */ |
| 355 | 355 | if ( ( LCDSTAT & 0x03 ) == 0x03 ) |
| r5490 | r5491 | |
| 492 | 492 | } |
| 493 | 493 | } |
| 494 | 494 | |
| 495 | profiler_mark | |
| 495 | profiler_mark | |
| 496 | 496 | } |
| 497 | 497 | |
| 498 | 498 | /* --- Super Game Boy Specific --- */ |
| r5490 | r5491 | |
| 669 | 669 | { |
| 670 | 670 | bitmap_t *bitmap = tmpbitmap; |
| 671 | 671 | |
| 672 | profiler_mark(PROFILER_VIDEO); | |
| 672 | profiler_mark_start(PROFILER_VIDEO); | |
| 673 | 673 | |
| 674 | 674 | if ( ( LCDSTAT & 0x03 ) == 0x03 ) |
| 675 | 675 | { |
| r5490 | r5491 | |
| 858 | 858 | } |
| 859 | 859 | } |
| 860 | 860 | |
| 861 | profiler_mark | |
| 861 | profiler_mark | |
| 862 | 862 | } |
| 863 | 863 | |
| 864 | 864 | /* --- Game Boy Color Specific --- */ |
| r5490 | r5491 | |
| 963 | 963 | { |
| 964 | 964 | bitmap_t *bitmap = tmpbitmap; |
| 965 | 965 | |
| 966 | profiler_mark(PROFILER_VIDEO); | |
| 966 | profiler_mark_start(PROFILER_VIDEO); | |
| 967 | 967 | |
| 968 | 968 | if ( ( LCDSTAT & 0x03 ) == 0x03 ) |
| 969 | 969 | { |
| r5490 | r5491 | |
| 1147 | 1147 | } |
| 1148 | 1148 | } |
| 1149 | 1149 | |
| 1150 | profiler_mark | |
| 1150 | profiler_mark | |
| 1151 | 1151 | } |
| 1152 | 1152 | |
| 1153 | 1153 | /* OAM contents on power up. |
| r5490 | r5491 | |
|---|---|---|
| 621 | 621 | DRIVER( ip244415 ) |
| 622 | 622 | |
| 623 | 623 | /* TEXAS INSTRUMENTS */ |
| 624 | DRIVER( ti990_10 ) /* 1975 TI 990/10 */ | |
| 625 | DRIVER( ti990_4 ) /* 1976 TI 990/4 */ | |
| 626 | DRIVER( 990189 ) /* 1978 TM 990/189 */ | |
| 627 | DRIVER( 990189v ) /* 1980 TM 990/189 with Color Video Board */ | |
| 624 | //0133u3 DRIVER( ti990_10 ) /* 1975 TI 990/10 */ | |
| 625 | //0133u3 DRIVER( ti990_4 ) /* 1976 TI 990/4 */ | |
| 626 | //0133u3 DRIVER( 990189 ) /* 1978 TM 990/189 */ | |
| 627 | //0133u3 DRIVER( 990189v ) /* 1980 TM 990/189 with Color Video Board */ | |
| 628 | 628 | |
| 629 | DRIVER( ti99_224 ) /* 1983 TI 99/2 (24kb ROMs) */ | |
| 630 | DRIVER( ti99_232 ) /* 1983 TI 99/2 (32kb ROMs) */ | |
| 631 | DRIVER( ti99_4 ) /* 1979 TI-99/4 */ | |
| 632 | DRIVER( ti99_4e ) /* 1980 TI-99/4 with 50Hz video */ | |
| 633 | DRIVER( ti99_4a ) /* 1981 TI-99/4A */ | |
| 634 | DRIVER( ti99_4ae ) /* 1981 TI-99/4A with 50Hz video */ | |
| 635 | DRIVER( ti99_4ev) /* 1994 TI-99/4A with EVPC video card */ | |
| 636 | DRIVER( ti99_8 ) /* 1983 TI-99/8 */ | |
| 637 | DRIVER( ti99_8e ) /* 1983 TI-99/8 with 50Hz video */ | |
| 629 | //0133u3 DRIVER( ti99_224 ) /* 1983 TI 99/2 (24kb ROMs) */ | |
| 630 | //0133u3 DRIVER( ti99_232 ) /* 1983 TI 99/2 (32kb ROMs) */ | |
| 631 | //0133u3 DRIVER( ti99_4 ) /* 1979 TI-99/4 */ | |
| 632 | //0133u3 DRIVER( ti99_4e ) /* 1980 TI-99/4 with 50Hz video */ | |
| 633 | //0133u3 DRIVER( ti99_4a ) /* 1981 TI-99/4A */ | |
| 634 | //0133u3 DRIVER( ti99_4ae ) /* 1981 TI-99/4A with 50Hz video */ | |
| 635 | //0133u3 DRIVER( ti99_4ev) /* 1994 TI-99/4A with EVPC video card */ | |
| 636 | //0133u3 DRIVER( ti99_8 ) /* 1983 TI-99/8 */ | |
| 637 | //0133u3 DRIVER( ti99_8e ) /* 1983 TI-99/8 with 50Hz video */ | |
| 638 | 638 | |
| 639 | 639 | /* TI 99 clones */ |
| 640 | DRIVER( tutor) /* 1983? Tomy Tutor */ | |
| 641 | DRIVER( geneve ) /* 1987? Myarc Geneve 9640 */ | |
| 642 | DRIVER( genmod ) /* 199?? Myarc Geneve 9640 */ | |
| 643 | DRIVER( ti99_4p ) /* 1996 SNUG 99/4P (a.k.a. SGCPU) */ | |
| 640 | //0133u3 DRIVER( tutor) /* 1983? Tomy Tutor */ | |
| 641 | //0133u3 DRIVER( geneve ) /* 1987? Myarc Geneve 9640 */ | |
| 642 | //0133u3 DRIVER( genmod ) /* 199?? Myarc Geneve 9640 */ | |
| 643 | //0133u3 DRIVER( ti99_4p ) /* 1996 SNUG 99/4P (a.k.a. SGCPU) */ | |
| 644 | 644 | |
| 645 | DRIVER( avigo ) /* */ | |
| 645 | //0133u3 DRIVER( avigo ) /* */ | |
| 646 | 646 | |
| 647 | 647 | /* TEXAS INSTRUMENTS CALCULATORS */ |
| 648 | DRIVER( ti73 ) /* 1990 TI-73 */ | |
| 649 | DRIVER( ti81 ) /* 1990 TI-81 (Z80 2 MHz) */ | |
| 650 | DRIVER( ti85 ) /* 1992 TI-85 (Z80 6 MHz) */ | |
| 651 | DRIVER( ti82 ) /* 1993 TI-82 (Z80 6 MHz) */ | |
| 652 | DRIVER( ti83 ) /* 1996 TI-83 (Z80 6 MHz) */ | |
| 653 | DRIVER( ti86 ) /* 1997 TI-86 (Z80 6 MHz) */ | |
| 654 | DRIVER( ti83p ) /* 1999 TI-83 Plus (Z80 6 MHz) */ | |
| 655 | DRIVER( ti83pse ) /* 2001 TI-83 Plus Silver Edition */ | |
| 648 | //0133u3 DRIVER( ti73 ) /* 1990 TI-73 */ | |
| 649 | //0133u3 DRIVER( ti81 ) /* 1990 TI-81 (Z80 2 MHz) */ | |
| 650 | //0133u3 DRIVER( ti85 ) /* 1992 TI-85 (Z80 6 MHz) */ | |
| 651 | //0133u3 DRIVER( ti82 ) /* 1993 TI-82 (Z80 6 MHz) */ | |
| 652 | //0133u3 DRIVER( ti83 ) /* 1996 TI-83 (Z80 6 MHz) */ | |
| 653 | //0133u3 DRIVER( ti86 ) /* 1997 TI-86 (Z80 6 MHz) */ | |
| 654 | //0133u3 DRIVER( ti83p ) /* 1999 TI-83 Plus (Z80 6 MHz) */ | |
| 655 | //0133u3 DRIVER( ti83pse ) /* 2001 TI-83 Plus Silver Edition */ | |
| 656 | 656 | // DRIVER( ti84p ) /* 2004 TI-84 Plus */ |
| 657 | DRIVER( ti84pse ) /* 2004 TI-84 Plus Silver Edition */ | |
| 658 | DRIVER( ti89 ) /* 1998 TI-89 */ | |
| 659 | DRIVER( ti92 ) /* 1995 TI-92 */ | |
| 660 | DRIVER( ti92p ) /* 1999 TI-92 Plus */ | |
| 657 | //0133u3 DRIVER( ti84pse ) /* 2004 TI-84 Plus Silver Edition */ | |
| 658 | //0133u3 DRIVER( ti89 ) /* 1998 TI-89 */ | |
| 659 | //0133u3 DRIVER( ti92 ) /* 1995 TI-92 */ | |
| 660 | //0133u3 DRIVER( ti92p ) /* 1999 TI-92 Plus */ | |
| 661 | 661 | |
| 662 | 662 | /* NEC */ |
| 663 | 663 | DRIVER( pc6001 ) |
| r5490 | r5491 | |
|---|---|---|
| 18 | 18 | #include "99_usbsm.h" |
| 19 | 19 | |
| 20 | 20 | #include "sound/tms5220.h" /* for tms5220_set_variant() */ |
| 21 | #include "sound/5220intf.h" | |
| 22 | 21 | #include "sound/sn76496.h" |
| 23 | 22 | |
| 24 | 23 |
| r5490 | r5491 | |
|---|---|---|
| 774 | 774 | int irq_freq = 1; |
| 775 | 775 | int scanline; |
| 776 | 776 | |
| 777 | profiler_mark(PROFILER_A2INT); | |
| 777 | profiler_mark_start(PROFILER_A2INT); | |
| 778 | 778 | |
| 779 | 779 | scanline = video_screen_get_vpos(device->machine->primary_screen); |
| 780 | 780 | |
| r5490 | r5491 | |
| 790 | 790 | |
| 791 | 791 | video_screen_update_partial(device->machine->primary_screen, scanline); |
| 792 | 792 | |
| 793 | profiler_mark | |
| 793 | profiler_mark | |
| 794 | 794 | } |
| 795 | 795 | |
| 796 | 796 | |
| r5490 | r5491 | |
| 837 | 837 | UINT8 result; |
| 838 | 838 | |
| 839 | 839 | /* Read the keyboard data and strobe */ |
| 840 | profiler_mark(PROFILER_C00X); | |
| 840 | profiler_mark_start(PROFILER_C00X); | |
| 841 | 841 | result = AY3600_keydata_strobe_r(); |
| 842 | profiler_mark | |
| 842 | profiler_mark | |
| 843 | 843 | |
| 844 | 844 | return result; |
| 845 | 845 | } |
| r5490 | r5491 | |
| 884 | 884 | { |
| 885 | 885 | UINT8 result = apple2_getfloatingbusvalue(space->machine) & 0x7F; |
| 886 | 886 | |
| 887 | profiler_mark(PROFILER_C01X); | |
| 887 | profiler_mark_start(PROFILER_C01X); | |
| 888 | 888 | |
| 889 | 889 | LOG(("a2 softswitch_r: %04x\n", offset + 0xc010)); |
| 890 | 890 | switch (offset) |
| r5490 | r5491 | |
| 907 | 907 | case 0x0F: result |= (a2 & VAR_80COL) ? 0x80 : 0x00; break; |
| 908 | 908 | } |
| 909 | 909 | |
| 910 | profiler_mark | |
| 910 | profiler_mark | |
| 911 | 911 | return result; |
| 912 | 912 | } |
| 913 | 913 | |
| r5490 | r5491 | |
| 920 | 920 | WRITE8_HANDLER( apple2_c01x_w ) |
| 921 | 921 | { |
| 922 | 922 | /* Clear the keyboard strobe - ignore the returned results */ |
| 923 | profiler_mark(PROFILER_C01X); | |
| 923 | profiler_mark_start(PROFILER_C01X); | |
| 924 | 924 | AY3600_anykey_clearstrobe_r(); |
| 925 | profiler_mark | |
| 925 | profiler_mark | |
| 926 | 926 | } |
| 927 | 927 | |
| 928 | 928 |
| r5490 | r5491 | |
|---|---|---|
| 66 | 66 | #include "ti99pcod.h" |
| 67 | 67 | |
| 68 | 68 | #include "sound/tms5220.h" /* for tms5220_set_variant() */ |
| 69 | #include "sound/5220intf.h" | |
| 70 | 69 | #include "sound/sn76496.h" |
| 71 | 70 | |
| 72 | 71 | #include "devices/harddriv.h" /* for device_init_mess_hd() */ |
| r5490 | r5491 | |
|---|---|---|
| 45 | 45 | |
| 46 | 46 | CPUS += Z80 |
| 47 | 47 | #CPUS += Z180 |
| 48 | CPUS += I4004 | |
| 49 | 48 | CPUS += I8085 |
| 50 | 49 | CPUS += M6502 |
| 51 | 50 | CPUS += H6280 |
| r5490 | r5491 | |
| 123 | 122 | CPUS += SSEM |
| 124 | 123 | CPUS += AVR8 |
| 125 | 124 | CPUS += TMS0980 |
| 125 | CPUS += I4004 | |
| 126 | 126 | |
| 127 | 127 | |
| 128 | 128 | |
| r5490 | r5491 | |
| 171 | 171 | #SOUNDS += C352 |
| 172 | 172 | #SOUNDS += TMS36XX |
| 173 | 173 | #SOUNDS += TMS3615 |
| 174 | #SOUNDS += TMS5100 | |
| 175 | 174 | #SOUNDS += TMS5110 |
| 176 | #SOUNDS += TMS5110A | |
| 177 | #SOUNDS += CD2801 | |
| 178 | #SOUNDS += TMC0281 | |
| 179 | #SOUNDS += CD2802 | |
| 180 | #SOUNDS += M58817 | |
| 181 | SOUNDS += TMC0285 | |
| 182 | SOUNDS += TMS5200 | |
| 183 | 175 | SOUNDS += TMS5220 |
| 184 | 176 | #SOUNDS += VLM5030 |
| 185 | 177 | #SOUNDS += ADPCM |
| r5490 | r5491 | |
| 229 | 221 | SOUNDS += SID8580 |
| 230 | 222 | SOUNDS += SP0256 |
| 231 | 223 | #SOUNDS += DIGITALKER |
| 224 | #SOUNDS += TMS5100 | |
| 225 | #SOUNDS += TMS5110A | |
| 226 | #SOUNDS += CD2801 | |
| 227 | #SOUNDS += TMC0281 | |
| 228 | #SOUNDS += CD2802 | |
| 229 | #SOUNDS += M58817 | |
| 230 | SOUNDS += TMC0285 | |
| 231 | SOUNDS += TMS5200 | |
| 232 | 232 | SOUNDS += SOCRATES |
| 233 | 233 | |
| 234 | 234 | |
| r5490 | r5491 | |
| 362 | 362 | $(MESSOBJ)/tem.a \ |
| 363 | 363 | $(MESSOBJ)/tesla.a \ |
| 364 | 364 | $(MESSOBJ)/thomson.a \ |
| 365 | $(MESSOBJ)/ti.a \ | |
| 366 | 365 | $(MESSOBJ)/tiger.a \ |
| 367 | 366 | $(MESSOBJ)/tiki.a \ |
| 368 | 367 | $(MESSOBJ)/tomy.a \ |
| r5490 | r5491 | |
| 376 | 375 | $(MESSOBJ)/zvt.a \ |
| 377 | 376 | $(MESSOBJ)/shared.a \ |
| 378 | 377 | |
| 378 | # $(MESSOBJ)/ti.a \ | |
| 379 | 379 | |
| 380 | 380 | |
| 381 | 381 |
| r5490 | r5491 | |
|---|---|---|
| 173 | 173 | #include "devices/cassette.h" |
| 174 | 174 | #include "devices/cartslot.h" |
| 175 | 175 | #include "machine/smartmed.h" |
| 176 | #include "sound/5220intf.h" | |
| 177 | 176 | #include "sound/sn76496.h" |
| 178 | 177 | #include "sound/wave.h" |
| 179 | 178 | #include "devices/harddriv.h" |
| r5490 | r5491 | |
|---|---|---|
| 213 | 213 | #include "machine/99_ide.h" |
| 214 | 214 | #include "devices/mflopimg.h" |
| 215 | 215 | #include "machine/smartmed.h" |
| 216 | #include "sound/5220intf.h" | |
| 217 | 216 | #include "devices/harddriv.h" |
| 218 | 217 | #include "machine/idectrl.h" |
| 219 | 218 | #include "machine/smc92x4.h" |
| r5490 | r5491 | |
|---|---|---|
| 44 | 44 | #include "devices/mflopimg.h" |
| 45 | 45 | #include "devices/cassette.h" |
| 46 | 46 | #include "machine/smartmed.h" |
| 47 | #include "sound/5220intf.h" | |
| 48 | 47 | #include "devices/harddriv.h" |
| 49 | 48 | #include "machine/idectrl.h" |
| 50 | 49 | #include "machine/smc92x4.h" |
| r5490 | r5491 | |
|---|---|---|
| 37 | 37 | #include "devices/harddriv.h" |
| 38 | 38 | #include "devices/cassette.h" |
| 39 | 39 | #include "machine/smartmed.h" |
| 40 | #include "sound/5220intf.h" | |
| 41 | 40 | #include "machine/idectrl.h" |
| 42 | 41 | #include "machine/smc92x4.h" |
| 43 | 42 | #include "machine/mm58274c.h" |
| r5490 | r5491 | |
|---|---|---|
| 141 | 141 | if (image_file == NULL) |
| 142 | 142 | fatalerror("No valid image file found!\n"); |
| 143 | 143 | |
| 144 | return get_disk_handle("laserdisc"); | |
| 144 | return get_disk_handle(device->machine, "laserdisc"); | |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | 147 |
| r5490 | r5491 | |
|---|---|---|
| 59 | 59 | |
| 60 | 60 | Source Changes: |
| 61 | 61 | ---------------- |
| 62 | - The core is based on MAME 0.133u | |
| 62 | - The core is based on MAME 0.133u3. This incorporates all features of the | |
| 63 | 63 | update to this core. [MAME team] |
| 64 | 64 | |
| 65 | 65 |
| Previous | 15994 Revisions | Next |