trunk/src/mame/drivers/harddriv.c
| r18851 | r18852 | |
| 675 | 675 | ADDRESS_MAP_END |
| 676 | 676 | |
| 677 | 677 | |
| 678 | | /* $000 - 08F TMS32010 Internal Data RAM in Data Address Space */ |
| 678 | /* $000 - 08F TMS32010 Internal Data RAM in Data Address Space */ |
| 679 | 679 | |
| 680 | | |
| 681 | 680 | static ADDRESS_MAP_START( driversnd_dsp_io_map, AS_IO, 16, harddriv_state ) |
| 682 | 681 | AM_RANGE(0, 0) AM_READWRITE(hdsnddsp_rom_r, hdsnddsp_dac_w) |
| 683 | 682 | AM_RANGE(1, 1) AM_READ(hdsnddsp_comram_r) |
| r18851 | r18852 | |
| 4231 | 4230 | |
| 4232 | 4231 | DRIVER_INIT_MEMBER(harddriv_state,harddriv) |
| 4233 | 4232 | { |
| 4234 | | |
| 4235 | 4233 | /* initialize the boards */ |
| 4236 | 4234 | init_driver(machine()); |
| 4237 | 4235 | init_adsp(machine()); |
| r18851 | r18852 | |
| 4255 | 4253 | |
| 4256 | 4254 | DRIVER_INIT_MEMBER(harddriv_state,harddrivc) |
| 4257 | 4255 | { |
| 4258 | | |
| 4259 | 4256 | /* initialize the boards */ |
| 4260 | 4257 | init_multisync(machine(), 1); |
| 4261 | 4258 | init_adsp(machine()); |
| r18851 | r18852 | |
| 4279 | 4276 | |
| 4280 | 4277 | DRIVER_INIT_MEMBER(harddriv_state,stunrun) |
| 4281 | 4278 | { |
| 4282 | | |
| 4283 | 4279 | /* initialize the boards */ |
| 4284 | 4280 | init_multisync(machine(), 0); |
| 4285 | 4281 | init_adsp(machine()); |
| r18851 | r18852 | |
| 4298 | 4294 | |
| 4299 | 4295 | DRIVER_INIT_MEMBER(harddriv_state,racedriv) |
| 4300 | 4296 | { |
| 4301 | | |
| 4302 | 4297 | /* initialize the boards */ |
| 4303 | 4298 | init_driver(machine()); |
| 4304 | 4299 | init_adsp(machine()); |
| r18851 | r18852 | |
| 4353 | 4348 | |
| 4354 | 4349 | DRIVER_INIT_MEMBER(harddriv_state,racedrivb1) |
| 4355 | 4350 | { |
| 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 */ |
| 4359 | 4353 | /* its address space recursively executing instructions */ |
| 4360 | 4354 | m_dsp32->space(AS_PROGRAM).install_read_handler(0x002000, 0x5fffff, read32_delegate(FUNC(harddriv_state::rddsp_unmap_r),this)); |
| 4361 | 4355 | m_dsp32->space(AS_PROGRAM).install_read_handler(0x640000, 0xfff7ff, read32_delegate(FUNC(harddriv_state::rddsp_unmap_r),this)); |
| r18851 | r18852 | |
| 4408 | 4402 | } |
| 4409 | 4403 | |
| 4410 | 4404 | |
| 4411 | | DRIVER_INIT_MEMBER(harddriv_state,steeltal) { steeltal_init_common(machine(), 0x4fc18, 0); } |
| 4412 | | DRIVER_INIT_MEMBER(harddriv_state,steeltal1) { steeltal_init_common(machine(), 0x4f9c6, 0); } |
| 4413 | | DRIVER_INIT_MEMBER(harddriv_state,steeltalp) { steeltal_init_common(machine(), 0x52290, 1); } |
| 4405 | DRIVER_INIT_MEMBER(harddriv_state,steeltal) |
| 4406 | { |
| 4407 | steeltal_init_common(machine(), 0x4fc18, 0); |
| 4408 | } |
| 4414 | 4409 | |
| 4410 | DRIVER_INIT_MEMBER(harddriv_state,steeltal1) |
| 4411 | { |
| 4412 | steeltal_init_common(machine(), 0x4f9c6, 0); |
| 4413 | } |
| 4415 | 4414 | |
| 4415 | DRIVER_INIT_MEMBER(harddriv_state,steeltalp) |
| 4416 | { |
| 4417 | steeltal_init_common(machine(), 0x52290, 1); |
| 4418 | } |
| 4419 | |
| 4420 | |
| 4416 | 4421 | DRIVER_INIT_MEMBER(harddriv_state,strtdriv) |
| 4417 | 4422 | { |
| 4418 | | |
| 4419 | 4423 | /* initialize the boards */ |
| 4420 | 4424 | init_multisync(machine(), 1); |
| 4421 | 4425 | init_ds3(machine()); |
| r18851 | r18852 | |
| 4445 | 4449 | |
| 4446 | 4450 | DRIVER_INIT_MEMBER(harddriv_state,hdrivair) |
| 4447 | 4451 | { |
| 4448 | | |
| 4449 | 4452 | /* initialize the boards */ |
| 4450 | 4453 | init_multisync(machine(), 1); |
| 4451 | 4454 | init_ds3(machine()); |
| r18851 | r18852 | |
| 4471 | 4474 | |
| 4472 | 4475 | DRIVER_INIT_MEMBER(harddriv_state,hdrivairp) |
| 4473 | 4476 | { |
| 4474 | | |
| 4475 | 4477 | /* initialize the boards */ |
| 4476 | 4478 | init_multisync(machine(), 1); |
| 4477 | 4479 | init_ds3(machine()); |
| r18851 | r18852 | |
| 4539 | 4541 | GAME( 1990, racedrivg4, racedriv, racedriv, racedriv, harddriv_state, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, German, rev 4)", 0 ) |
| 4540 | 4542 | GAME( 1990, racedriv3, racedriv, racedriv, racedriv, harddriv_state, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, rev 3)", 0 ) |
| 4541 | 4543 | GAME( 1990, racedriv2, racedriv, racedriv, racedriv, harddriv_state, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, rev 2)", 0 ) |
| 4542 | | GAME( 1990, racedriv1, racedriv, racedriv, racedriv, harddriv_state, racedriv, ROT0, "Atari Games", "Race Drivin' (cockpit, rev 1)", 0 ) |
| 4544 | GAME( 1990, racedriv1, racedriv, racedriv, racedriv, harddriv_state, racedrivb1, ROT0, "Atari Games", "Race Drivin' (cockpit, rev 1)", 0 ) |
| 4543 | 4545 | GAME( 1990, racedrivb1, racedriv, racedriv, racedriv, harddriv_state, racedrivb1, ROT0, "Atari Games", "Race Drivin' (cockpit, British, rev 1)", 0 ) |
| 4544 | 4546 | GAME( 1990, racedrivg1, racedriv, racedriv, racedriv, harddriv_state, racedrivb1, ROT0, "Atari Games", "Race Drivin' (cockpit, German, rev 2)", 0 ) |
| 4545 | 4547 | |