mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
01774: racedcb4, racedcg4, racedrc1, racedrc2, racedrc4, racedrcb, racedrcg, racedrvc: space_map_range error
01773: steelta1, steeltag, steeltal, steeltap: space_map_range error 01772: daireika: space_map_range assertion 01771: arescue, f1en: space_map_range errors
This commit is contained in:
parent
47a54fbc24
commit
bcffc45b8f
@ -3718,7 +3718,7 @@ static void racedrvc_init_common(running_machine *machine, offs_t gsp_protection
|
||||
rddsp32_sync[1] = memory_install_write32_handler(machine, hdcpu_dsp32, ADDRESS_SPACE_PROGRAM, 0x613e00, 0x613e03, 0, 0, rddsp32_sync1_w);
|
||||
|
||||
/* set up protection hacks */
|
||||
hdgsp_protection = memory_install_write16_handler(machine, hdcpu_gsp, ADDRESS_SPACE_PROGRAM, TOBYTE(gsp_protection), TOBYTE(gsp_protection + 0x0f), 0, 0, hdgsp_protection_w);
|
||||
hdgsp_protection = memory_install_write16_handler(machine, hdcpu_gsp, ADDRESS_SPACE_PROGRAM, gsp_protection, gsp_protection + 0x0f, 0, 0, hdgsp_protection_w);
|
||||
|
||||
/* set up gsp speedup handler */
|
||||
hdgsp_speedup_addr[0] = memory_install_write16_handler(machine, hdcpu_gsp, ADDRESS_SPACE_PROGRAM, 0xfff76f60, 0xfff76f6f, 0, 0, rdgsp_speedup1_w);
|
||||
@ -3770,7 +3770,7 @@ static void steeltal_init_common(running_machine *machine, offs_t ds3_transfer_p
|
||||
stmsp_sync[1] = &hdmsp_ram[TOWORD(0x99680)];
|
||||
memory_install_write16_handler(machine, hdcpu_msp, ADDRESS_SPACE_PROGRAM, 0x99680, 0x9968f, 0, 0, stmsp_sync1_w);
|
||||
stmsp_sync[2] = &hdmsp_ram[TOWORD(0x99d30)];
|
||||
memory_install_write16_handler(machine, hdcpu_msp, ADDRESS_SPACE_PROGRAM, 0x99d30, 0x99d50, 0, 0, stmsp_sync2_w);
|
||||
memory_install_write16_handler(machine, hdcpu_msp, ADDRESS_SPACE_PROGRAM, 0x99d30, 0x99d4f, 0, 0, stmsp_sync2_w);
|
||||
|
||||
/* set up protection hacks */
|
||||
hdgsp_protection = memory_install_write16_handler(machine, hdcpu_gsp, ADDRESS_SPACE_PROGRAM, 0xfff965d0, 0xfff965df, 0, 0, hdgsp_protection_w);
|
||||
|
@ -1906,8 +1906,8 @@ static DRIVER_INIT( daireika )
|
||||
memory_set_bankptr(2, auto_malloc(0xf0026 - 0xf0020));
|
||||
memory_install_readwrite16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0xf00c0, 0xf00d5, 0, 0, SMH_BANK3, SMH_BANK3 );
|
||||
memory_set_bankptr(3, auto_malloc(0xf00d6 - 0xf00c0));
|
||||
memory_install_readwrite16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0xf0100, 0xf0130, 0, 0, SMH_BANK4, SMH_BANK4 );
|
||||
memory_set_bankptr(4, auto_malloc(0xf0130 - 0xf0100));
|
||||
memory_install_readwrite16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0xf0100, 0xf0131, 0, 0, SMH_BANK4, SMH_BANK4 );
|
||||
memory_set_bankptr(4, auto_malloc(0xf0132 - 0xf0100));
|
||||
mcu_prg = 0x11;
|
||||
}
|
||||
|
||||
|
@ -3817,21 +3817,20 @@ static READ16_HANDLER( arescue_handshake_r )
|
||||
|
||||
static READ16_HANDLER( arescue_slavebusy_r )
|
||||
{
|
||||
return 1; // prevents master trying to synch to slave.
|
||||
return 0x100; // prevents master trying to synch to slave.
|
||||
}
|
||||
|
||||
static DRIVER_INIT( arescue )
|
||||
{
|
||||
segas32_common_init(analog_custom_io_r, analog_custom_io_w, NULL);
|
||||
memory_install_readwrite16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0xa00000, 0xa00006, 0, 0, arescue_dsp_r, arescue_dsp_w);
|
||||
memory_install_readwrite16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0xa00000, 0xa00007, 0, 0, arescue_dsp_r, arescue_dsp_w);
|
||||
|
||||
dual_pcb_comms = auto_malloc(0x1000);
|
||||
memory_install_readwrite16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x810000, 0x810fff, 0, 0, dual_pcb_comms_r, dual_pcb_comms_w);
|
||||
memory_install_read16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x818000, 0x818003, 0, 0, dual_pcb_masterslave);
|
||||
|
||||
memory_install_read16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x810001, 0x810001, 0, 0, arescue_handshake_r);
|
||||
memory_install_read16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x81000f, 0x81000f, 0, 0, arescue_slavebusy_r);
|
||||
|
||||
memory_install_read16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x810000, 0x810001, 0, 0, arescue_handshake_r);
|
||||
memory_install_read16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x81000e, 0x81000f, 0, 0, arescue_slavebusy_r);
|
||||
}
|
||||
|
||||
|
||||
@ -3876,7 +3875,8 @@ static DRIVER_INIT( dbzvrvs )
|
||||
static WRITE16_HANDLER( f1en_comms_echo_w )
|
||||
{
|
||||
// pretend that slave is following master op, enables attract mode video with sound
|
||||
program_write_byte( 0x810049, data );
|
||||
if (ACCESSING_BITS_0_7)
|
||||
program_write_byte( 0x810049, data );
|
||||
}
|
||||
|
||||
static DRIVER_INIT( f1en )
|
||||
@ -3887,7 +3887,7 @@ static DRIVER_INIT( f1en )
|
||||
memory_install_readwrite16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x810000, 0x810fff, 0, 0, dual_pcb_comms_r, dual_pcb_comms_w);
|
||||
memory_install_read16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x818000, 0x818003, 0, 0, dual_pcb_masterslave);
|
||||
|
||||
memory_install_write16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x810048, 0x810048, 0, 0, f1en_comms_echo_w);
|
||||
memory_install_write16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x810048, 0x810049, 0, 0, f1en_comms_echo_w);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user