src/mame/machine/snes.c
| r7784 | r7785 | |
| 575 | 575 | // APU is mirrored from 2140 to 217f |
| 576 | 576 | if (offset >= APU00 && offset < WMDATA) |
| 577 | 577 | { |
| 578 | | // printf("816: %02x to APU @ %d\n", data, offset & 3); |
| 578 | // printf("816: %02x to APU @ %d (PC=%06x)\n", data, offset & 3,cpu_get_pc(space->cpu)); |
| 579 | 579 | spc_port_in(state->spc700, offset & 0x3, data); |
| 580 | 580 | cpuexec_boost_interleave(space->machine, attotime_zero, ATTOTIME_IN_USEC(20)); |
| 581 | 581 | return; |
| r7784 | r7785 | |
| 653 | 653 | } |
| 654 | 654 | break; |
| 655 | 655 | case NMITIMEN: /* Flag for v-blank, timer int. and joy read */ |
| 656 | | if((snes_ram[NMITIMEN] & 0x30) == 0x00) |
| 656 | if((data & 0x30) == 0x00) |
| 657 | 657 | { |
| 658 | 658 | cpu_set_input_line(state->maincpu, G65816_LINE_IRQ, CLEAR_LINE ); |
| 659 | 659 | snes_ram[TIMEUP] = 0; // clear pending IRQ if irq is disabled here, 3x3 Eyes - Seima Korin Den behaves on this |