src/mame/drivers/megadriv.c
| r9261 | r9262 | |
| 2419 | 2419 | { |
| 2420 | 2420 | a15106_reg = data & 0x7; |
| 2421 | 2421 | |
| 2422 | if (a15106_reg & 0x1) /* NBA Jam TE relies on this */ |
| 2423 | memory_install_rom(space, 0x0000100, 0x03fffff, 0, 0, memory_region(space->machine, "gamecart") + 0x100); |
| 2424 | |
| 2422 | 2425 | //printf("_32x_68k_a15106_w %04x\n", data); |
| 2423 | 2426 | /* |
| 2424 | 2427 | if (a15106_reg & 0x4) |
| r9261 | r9262 | |
| 3527 | 3530 | |
| 3528 | 3531 | AM_RANGE(0x00004010, 0x00004013) AM_READ( _32x_sh2_common_4010_common_4012_r ) |
| 3529 | 3532 | |
| 3530 | | AM_RANGE(0x00004014, 0x00004017) AM_WRITE( _32x_sh2_slave_4014_slave_4016_w ) // IRQ clear |
| 3531 | | AM_RANGE(0x00004018, 0x0000401b) AM_WRITE( _32x_sh2_slave_4018_slave_401a_w ) // IRQ clear |
| 3532 | | AM_RANGE(0x0000401c, 0x0000401f) AM_WRITE( _32x_sh2_slave_401c_slave_401e_w ) // IRQ clear |
| 3533 | AM_RANGE(0x00004014, 0x00004017) AM_READNOP AM_WRITE( _32x_sh2_slave_4014_slave_4016_w ) // IRQ clear |
| 3534 | AM_RANGE(0x00004018, 0x0000401b) AM_READNOP AM_WRITE( _32x_sh2_slave_4018_slave_401a_w ) // IRQ clear |
| 3535 | AM_RANGE(0x0000401c, 0x0000401f) AM_READNOP AM_WRITE( _32x_sh2_slave_401c_slave_401e_w ) // IRQ clear |
| 3533 | 3536 | |
| 3534 | 3537 | AM_RANGE(0x00004020, 0x0000402f) AM_READWRITE( _32x_sh2_commsram_r, _32x_sh2_commsram_w ) |
| 3535 | 3538 | AM_RANGE(0x00004030, 0x00004033) AM_READWRITE( _32x_sh2_pwm_control_reg_pwm_cycle_reg_r, _32x_sh2_pwm_control_reg_pwm_cycle_reg_w ) |