Previous 199869 Revisions Next

r18165 Wednesday 26th September, 2012 at 19:02:32 UTC by hap
fix digger gameplay speed, it's running at same speed as its JP sister game heiankyo
[src/mame/drivers]vicdual.c

trunk/src/mame/drivers/vicdual.c
r18164r18165
3939        * A few of the games have an extra 18K pull-up resistor on the
4040          blue color gun, Carnival, for example.
4141          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...
4542        * DIP switches need verifying in most of the games
4643        * DIP switch locations need to be added to some
4744
r18164r18165
747744   if (offset & 0x01)  assert_coin_status(machine());
748745   if (offset & 0x02)  headon_audio_w(space, 0, data);
749746   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 */ }
751748    if (offset & 0x10) { /* schematics show this as going to an edge connector, but never written to */ }
752749   if (offset & 0x18)  logerror("********* Write to port %x\n", offset);
753750}
r18164r18165
763760      /* digger_audio_2_w(0, data & 0xfc); */
764761   }
765762
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 */ }
767764    if (offset & 0x10) { /* schematics show this as going to an edge connector, but never written to */ }
768765   if (offset & 0x18)  logerror("********* Write to port %x\n", offset);
769766}
r18164r18165
892889   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
893890
894891   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...
896894   PORT_BIT( 0x7e, IP_ACTIVE_LOW, IPT_UNKNOWN )   /* probably unused */
897895   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_read_coin_status, NULL)
898896

Previous 199869 Revisions Next


© 1997-2024 The MAME Team