trunk/src/mame/drivers/vicdual.c
| r18164 | r18165 | |
| 39 | 39 | * A few of the games have an extra 18K pull-up resistor on the |
| 40 | 40 | blue color gun, Carnival, for example. |
| 41 | 41 | Colors inaccurate? Blue background? |
| 42 | | * Does Digger run too fast compared to the real machine? |
| 43 | | The timing is implemented according to the schematics, but |
| 44 | | who knows... |
| 45 | 42 | * DIP switches need verifying in most of the games |
| 46 | 43 | * DIP switch locations need to be added to some |
| 47 | 44 | |
| r18164 | r18165 | |
| 747 | 744 | if (offset & 0x01) assert_coin_status(machine()); |
| 748 | 745 | if (offset & 0x02) headon_audio_w(space, 0, data); |
| 749 | 746 | if (offset & 0x04) vicdual_palette_bank_w(space, 0, data); |
| 750 | | if (offset & 0x08) { /* schematics show this as going into a shifer circuit, but never written to */ } |
| 747 | if (offset & 0x08) { /* schematics show this as going into a shifter circuit, but never written to */ } |
| 751 | 748 | if (offset & 0x10) { /* schematics show this as going to an edge connector, but never written to */ } |
| 752 | 749 | if (offset & 0x18) logerror("********* Write to port %x\n", offset); |
| 753 | 750 | } |
| r18164 | r18165 | |
| 763 | 760 | /* digger_audio_2_w(0, data & 0xfc); */ |
| 764 | 761 | } |
| 765 | 762 | |
| 766 | | if (offset & 0x08) { /* schematics show this as going into a shifer circuit, but never written to */ } |
| 763 | if (offset & 0x08) { /* schematics show this as going into a shifter circuit, but never written to */ } |
| 767 | 764 | if (offset & 0x10) { /* schematics show this as going to an edge connector, but never written to */ } |
| 768 | 765 | if (offset & 0x18) logerror("********* Write to port %x\n", offset); |
| 769 | 766 | } |
| r18164 | r18165 | |
| 892 | 889 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 893 | 890 | |
| 894 | 891 | PORT_START("IN2") |
| 895 | | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_get_timer_value, NULL) |
| 892 | // PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_get_timer_value, NULL) // it's like this according to the schematics, but gameplay speed is too fast; |
| 893 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_get_composite_blank_comp, NULL) // gameplay speed is correct now, there's likely an error in the schematics then... |
| 896 | 894 | PORT_BIT( 0x7e, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* probably unused */ |
| 897 | 895 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_read_coin_status, NULL) |
| 898 | 896 | |