trunk/src/mame/drivers/vicdual.c
| r21005 | r21006 | |
| 184 | 184 | |
| 185 | 185 | int vicdual_is_cabinet_color(running_machine &machine) |
| 186 | 186 | { |
| 187 | | return (machine.root_device().ioport(COLOR_BW_PORT_TAG)->read() & 1) ? 0 : 1; |
| 187 | return (machine.root_device().ioport(COLOR_BW_PORT_TAG)->read_safe(0) & 1) ? 0 : 1; |
| 188 | 188 | } |
| 189 | 189 | |
| 190 | 190 | |
| r21005 | r21006 | |
| 616 | 616 | PORT_COIN_DEFAULT |
| 617 | 617 | INPUT_PORTS_END |
| 618 | 618 | |
| 619 | static INPUT_PORTS_START( headons ) |
| 620 | PORT_INCLUDE( headon ) |
| 621 | |
| 622 | PORT_MODIFY(COLOR_BW_PORT_TAG) |
| 623 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) /* no color/bw option */ |
| 624 | INPUT_PORTS_END |
| 619 | 625 | |
| 626 | |
| 620 | 627 | static INPUT_PORTS_START( supcrash ) |
| 621 | 628 | PORT_START("IN0") |
| 622 | 629 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY |
| r21005 | r21006 | |
| 642 | 649 | PORT_BIT( 0x7a, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* probably unused */ |
| 643 | 650 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_read_coin_status, NULL) |
| 644 | 651 | |
| 645 | | PORT_CABINET_COLOR_OR_BW |
| 646 | | |
| 647 | 652 | PORT_COIN_DEFAULT |
| 648 | 653 | INPUT_PORTS_END |
| 649 | 654 | |
| r21005 | r21006 | |
| 3402 | 3407 | GAME( 1979, sspacaho, 0, sspacaho, sspacaho, driver_device, 0, ROT270, "Sega", "Space Attack / Head On", GAME_NO_SOUND ) |
| 3403 | 3408 | GAME( 1979, headon, 0, headon, headon, driver_device, 0, ROT0, "Gremlin", "Head On (2 players)", GAME_IMPERFECT_SOUND ) |
| 3404 | 3409 | GAME( 1979, headon1, headon, headon, headon, driver_device, 0, ROT0, "Gremlin", "Head On (1 player)", GAME_IMPERFECT_SOUND ) |
| 3405 | | GAME( 1979, headons, headon, headons, headon, driver_device, 0, ROT0, "bootleg (Sidam)", "Head On (Sidam bootleg, set 1)", GAME_IMPERFECT_SOUND ) |
| 3406 | | GAME( 1979, headonsa, headon, headons, headon, driver_device, 0, ROT0, "bootleg (Sidam)", "Head On (Sidam bootleg, set 2)", GAME_NOT_WORKING ) // won't coin up? |
| 3410 | GAME( 1979, headons, headon, headons, headons, driver_device, 0, ROT0, "bootleg (Sidam)", "Head On (Sidam bootleg, set 1)", GAME_IMPERFECT_SOUND ) |
| 3411 | GAME( 1979, headonsa, headon, headons, headons, driver_device, 0, ROT0, "bootleg (Sidam)", "Head On (Sidam bootleg, set 2)", GAME_NOT_WORKING ) // won't coin up? |
| 3407 | 3412 | GAME( 1979, supcrash, headon, headons, supcrash, driver_device, 0, ROT0, "bootleg", "Super Crash (bootleg of Head On)", GAME_NO_SOUND ) |
| 3408 | | GAME( 1979, hocrash, headon, headons, headon, driver_device, 0, ROT0, "bootleg (Fraber)", "Crash (bootleg of Head On)", GAME_IMPERFECT_SOUND ) |
| 3413 | GAME( 1979, hocrash, headon, headons, headons, driver_device, 0, ROT0, "bootleg (Fraber)", "Crash (bootleg of Head On)", GAME_IMPERFECT_SOUND ) |
| 3409 | 3414 | GAME( 1979, headon2, 0, headon2, headon2, driver_device, 0, ROT0, "Sega", "Head On 2", GAME_IMPERFECT_SOUND ) |
| 3410 | 3415 | GAME( 1979, headon2s, headon2, headon2bw, car2, driver_device, 0, ROT0, "bootleg (Sidam)", "Head On 2 (Sidam bootleg)", GAME_NOT_WORKING ) // won't coin up? |
| 3411 | 3416 | GAME( 1979, car2, headon2, headon2bw, car2, driver_device, 0, ROT0, "bootleg (RZ Bologna)", "Car 2 (bootleg of Head On 2)", GAME_IMPERFECT_SOUND ) // title still says 'HeadOn 2' |