Previous 199869 Revisions Next

r18852 Monday 5th November, 2012 at 00:35:27 UTC by hap
fix racedriv1 crash
[src/mame/drivers]harddriv.c

trunk/src/mame/drivers/harddriv.c
r18851r18852
675675ADDRESS_MAP_END
676676
677677
678   /* $000 - 08F  TMS32010 Internal Data RAM in Data Address Space */
678/* $000 - 08F  TMS32010 Internal Data RAM in Data Address Space */
679679
680
681680static ADDRESS_MAP_START( driversnd_dsp_io_map, AS_IO, 16, harddriv_state )
682681   AM_RANGE(0, 0) AM_READWRITE(hdsnddsp_rom_r, hdsnddsp_dac_w)
683682   AM_RANGE(1, 1) AM_READ(hdsnddsp_comram_r)
r18851r18852
42314230
42324231DRIVER_INIT_MEMBER(harddriv_state,harddriv)
42334232{
4234
42354233   /* initialize the boards */
42364234   init_driver(machine());
42374235   init_adsp(machine());
r18851r18852
42554253
42564254DRIVER_INIT_MEMBER(harddriv_state,harddrivc)
42574255{
4258
42594256   /* initialize the boards */
42604257   init_multisync(machine(), 1);
42614258   init_adsp(machine());
r18851r18852
42794276
42804277DRIVER_INIT_MEMBER(harddriv_state,stunrun)
42814278{
4282
42834279   /* initialize the boards */
42844280   init_multisync(machine(), 0);
42854281   init_adsp(machine());
r18851r18852
42984294
42994295DRIVER_INIT_MEMBER(harddriv_state,racedriv)
43004296{
4301
43024297   /* initialize the boards */
43034298   init_driver(machine());
43044299   init_adsp(machine());
r18851r18852
43534348
43544349DRIVER_INIT_MEMBER(harddriv_state,racedrivb1)
43554350{
4356
4357   /* this unpleasantness prevents racedrivb1 and racedrivg1 from crashing MAME during boot */
4358   /* both clear the DSP32C's RAM and then release it from reset, causing it to run through */
4351   /* this unpleasantness prevents racedriv1/racedrivb1/racedrivg1 from crashing MAME during boot */
4352   /* they clear the DSP32C's RAM and then release it from reset, causing it to run through */
43594353   /* its address space recursively executing instructions */
43604354   m_dsp32->space(AS_PROGRAM).install_read_handler(0x002000, 0x5fffff, read32_delegate(FUNC(harddriv_state::rddsp_unmap_r),this));
43614355   m_dsp32->space(AS_PROGRAM).install_read_handler(0x640000, 0xfff7ff, read32_delegate(FUNC(harddriv_state::rddsp_unmap_r),this));
r18851r18852
44084402}
44094403
44104404
4411DRIVER_INIT_MEMBER(harddriv_state,steeltal) { steeltal_init_common(machine(), 0x4fc18, 0); }
4412DRIVER_INIT_MEMBER(harddriv_state,steeltal1) { steeltal_init_common(machine(), 0x4f9c6, 0); }
4413DRIVER_INIT_MEMBER(harddriv_state,steeltalp) { steeltal_init_common(machine(), 0x52290, 1); }
4405DRIVER_INIT_MEMBER(harddriv_state,steeltal)
4406{
4407   steeltal_init_common(machine(), 0x4fc18, 0);
4408}
44144409
4410DRIVER_INIT_MEMBER(harddriv_state,steeltal1)
4411{
4412   steeltal_init_common(machine(), 0x4f9c6, 0);
4413}
44154414
4415DRIVER_INIT_MEMBER(harddriv_state,steeltalp)
4416{
4417   steeltal_init_common(machine(), 0x52290, 1);
4418}
4419
4420
44164421DRIVER_INIT_MEMBER(harddriv_state,strtdriv)
44174422{
4418
44194423   /* initialize the boards */
44204424   init_multisync(machine(), 1);
44214425   init_ds3(machine());
r18851r18852
44454449
44464450DRIVER_INIT_MEMBER(harddriv_state,hdrivair)
44474451{
4448
44494452   /* initialize the boards */
44504453   init_multisync(machine(), 1);
44514454   init_ds3(machine());
r18851r18852
44714474
44724475DRIVER_INIT_MEMBER(harddriv_state,hdrivairp)
44734476{
4474
44754477   /* initialize the boards */
44764478   init_multisync(machine(), 1);
44774479   init_ds3(machine());
r18851r18852
45394541GAME( 1990, racedrivg4, racedriv, racedriv, racedriv, harddriv_state, racedriv,   ROT0, "Atari Games", "Race Drivin' (cockpit, German, rev 4)", 0 )
45404542GAME( 1990, racedriv3,  racedriv, racedriv, racedriv, harddriv_state, racedriv,   ROT0, "Atari Games", "Race Drivin' (cockpit, rev 3)", 0 )
45414543GAME( 1990, racedriv2,  racedriv, racedriv, racedriv, harddriv_state, racedriv,   ROT0, "Atari Games", "Race Drivin' (cockpit, rev 2)", 0 )
4542GAME( 1990, racedriv1,  racedriv, racedriv, racedriv, harddriv_state, racedriv,  ROT0, "Atari Games", "Race Drivin' (cockpit, rev 1)", 0 )
4544GAME( 1990, racedriv1,  racedriv, racedriv, racedriv, harddriv_state, racedrivb1, ROT0, "Atari Games", "Race Drivin' (cockpit, rev 1)", 0 )
45434545GAME( 1990, racedrivb1, racedriv, racedriv, racedriv, harddriv_state, racedrivb1, ROT0, "Atari Games", "Race Drivin' (cockpit, British, rev 1)", 0 )
45444546GAME( 1990, racedrivg1, racedriv, racedriv, racedriv, harddriv_state, racedrivb1, ROT0, "Atari Games", "Race Drivin' (cockpit, German, rev 2)", 0 )
45454547

Previous 199869 Revisions Next


© 1997-2024 The MAME Team