Previous 15994 Revisions Next

r9262 Tuesday 28th September, 2010 at 13:35:05 UTC by Angelo Salese
[32x]: Hooked up RV bit, NBA Jam TE uses it for banking the ROM on 68k space
[src/mame/drivers]megadriv.c

src/mame/drivers/megadriv.c
r9261r9262
24192419   {
24202420      a15106_reg = data & 0x7;
24212421
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
24222425      //printf("_32x_68k_a15106_w %04x\n", data);
24232426      /*
24242427        if (a15106_reg & 0x4)
r9261r9262
35273530
35283531   AM_RANGE(0x00004010, 0x00004013) AM_READ( _32x_sh2_common_4010_common_4012_r )
35293532
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
35333536
35343537   AM_RANGE(0x00004020, 0x0000402f) AM_READWRITE( _32x_sh2_commsram_r, _32x_sh2_commsram_w )
35353538   AM_RANGE(0x00004030, 0x00004033) AM_READWRITE( _32x_sh2_pwm_control_reg_pwm_cycle_reg_r, _32x_sh2_pwm_control_reg_pwm_cycle_reg_w )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team