trunk/src/mame/machine/snes.c
| r21794 | r21795 | |
| 389 | 389 | return snes_io_dma_r(space, offset); |
| 390 | 390 | } |
| 391 | 391 | |
| 392 | | /* offset is from 0x000000 */ |
| 393 | | switch (offset) |
| 392 | |
| 393 | // other accesses (notice that WRMPYA, WRMPYB, WRDIVL, WRDIVH, WRDVDD, MEMSEL, RDDIVL, RDDIVH, RDMPYL, RDMPYH are handled by the CPU directly) |
| 394 | switch (offset) // offset is from 0x000000 |
| 394 | 395 | { |
| 395 | 396 | case WMDATA: /* Data to read from WRAM */ |
| 396 | 397 | value = space.read_byte(0x7e0000 + m_wram_address++); |
| r21794 | r21795 | |
| 593 | 594 | return; |
| 594 | 595 | } |
| 595 | 596 | |
| 596 | | snes_ram[offset] = data; |
| 597 | 597 | } |
| 598 | 598 | |
| 599 | 599 | WRITE_LINE_MEMBER(snes_state::snes_extern_irq_w) |