Previous 199869 Revisions Next

r34698 Wednesday 28th January, 2015 at 13:51:36 UTC by Olivier Galibert
Merge pull request #120 from p1pkin/jvs

JVS host: real fix for "CRC errors"
[src/emu/cpu/m6502]m6502.c om65ce02.lst
[src/mame/drivers]cabal.c shanghai.c

trunk/src/emu/cpu/m6502/m6502.c
r243209r243210
579579      break;
580580
581581   case DASM_rw2:
582      sprintf(buffer, " $%04x", (pc & 0xf0000) | UINT16(pc + 3 + INT16((opram[2] << 8) | opram[1])));
582      sprintf(buffer, " $%04x", (pc & 0xf0000) | UINT16(pc + 2 + INT16((opram[2] << 8) | opram[1])));
583583      flags |= 3;
584584      break;
585585
trunk/src/emu/cpu/m6502/om65ce02.lst
r243209r243210
245245   TMP = read_pc();
246246   TMP = set_h(TMP, read_pc());
247247   if(!(P & F_C))
248      PC += TMP;
248      PC += TMP-1;
249249   prefetch();
250250
251251bcs_ce_rel
r243209r243210
258258   TMP = read_pc();
259259   TMP = set_h(TMP, read_pc());
260260   if(P & F_C)
261      PC += TMP;
261      PC += TMP-1;
262262   prefetch();
263263
264264beq_ce_rel
r243209r243210
271271   TMP = read_pc();
272272   TMP = set_h(TMP, read_pc());
273273   if(P & F_Z)
274      PC += TMP;
274      PC += TMP-1;
275275   prefetch();
276276
277277bit_ce_abx
r243209r243210
307307   TMP = read_pc();
308308   TMP = set_h(TMP, read_pc());
309309   if(P & F_N)
310      PC += TMP;
310      PC += TMP-1;
311311   prefetch();
312312
313313bne_ce_rel
r243209r243210
320320   TMP = read_pc();
321321   TMP = set_h(TMP, read_pc());
322322   if(!(P & F_Z))
323      PC += TMP;
323      PC += TMP-1;
324324   prefetch();
325325
326326bpl_ce_rel
r243209r243210
333333   TMP = read_pc();
334334   TMP = set_h(TMP, read_pc());
335335   if(!(P & F_N))
336      PC += TMP;
336      PC += TMP-1;
337337   prefetch();
338338
339339bra_ce_rel
r243209r243210
379379   write(SP, PC);
380380   dec_SP_ce();
381381   TMP = set_h(TMP, read_pc());
382   PC += TMP;
382   PC += TMP-1;
383383   prefetch();
384384
385385bvc_ce_rel
r243209r243210
392392   TMP = read_pc();
393393   TMP = set_h(TMP, read_pc());
394394   if(!(P & F_V))
395      PC += TMP;
395      PC += TMP-1;
396396   prefetch();
397397
398398bvs_ce_rel
r243209r243210
405405   TMP = read_pc();
406406   TMP = set_h(TMP, read_pc());
407407   if(P & F_V)
408      PC += TMP;
408      PC += TMP-1;
409409   prefetch();
410410
411411clc_ce_imp
trunk/src/mame/drivers/cabal.c
r243209r243210
484484   MCFG_SPEAKER_STANDARD_MONO("mono")
485485
486486   MCFG_YM2151_ADD("ymsnd", XTAL_3_579545MHz) /* verified on pcb */
487   MCFG_YM2151_IRQ_HANDLER(DEVWRITELINE("seibu_sound", seibu_sound_device, fm_irqhandler))
487   MCFG_YM2151_IRQ_HANDLER(DEVWRITELINE("seibu_sound", seibu_sound_device, ym2151_irqhandler))
488488   MCFG_SOUND_ROUTE(ALL_OUTPUTS,"mono", 0.80)
489489
490490   MCFG_SOUND_ADD("adpcm1", SEIBU_ADPCM, 8000) /* it should use the msm5205 */
trunk/src/mame/drivers/shanghai.c
r243209r243210
514514
515515   /* same as standard seibu ym2203, but "ym1" also reads "DSW" */
516516   MCFG_SOUND_ADD("ym1", YM2203, XTAL_16MHz/4)
517   MCFG_YM2203_IRQ_HANDLER(DEVWRITELINE("seibu_sound", seibu_sound_device, fm_irqhandler))
517   MCFG_YM2203_IRQ_HANDLER(DEVWRITELINE("seibu_sound", seibu_sound_device, ym2203_irqhandler))
518518   MCFG_AY8910_PORT_A_READ_CB(IOPORT("DSW"))
519519   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
520520


Previous 199869 Revisions Next


© 1997-2024 The MAME Team