Previous 199869 Revisions Next

r19792 Tuesday 25th December, 2012 at 02:21:56 UTC by David Haywood
cgraplop2 needs to read something here or you can't coin it up (nw)
[src/mame/drivers]decocass.c
[src/mame/includes]decocass.h
[src/mame/machine]decocass.c

trunk/src/mame/machine/decocass.c
r19791r19792
4545{
4646}
4747
48READ8_MEMBER( decocass_state::decocass_sound_command_main_r)
49{
50   // cgraplop2 needs to read something here or it will reset when you coin-up
51   //  could do with further investigation
52   return 0xc0;
53}
54
4855WRITE8_MEMBER(decocass_state::decocass_sound_command_w)
4956{
5057   LOG(2,("CPU %s sound command -> $%02x\n", space.device().tag(), data));
trunk/src/mame/includes/decocass.h
r19791r19792
167167   UINT32 screen_update_decocass(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
168168   DECLARE_WRITE8_MEMBER(decocass_coin_counter_w);
169169   DECLARE_WRITE8_MEMBER(decocass_sound_command_w);
170   DECLARE_READ8_MEMBER( decocass_sound_command_main_r );
170171   DECLARE_READ8_MEMBER(decocass_sound_data_r);
171172   DECLARE_READ8_MEMBER(decocass_sound_ack_r);
172173   DECLARE_WRITE8_MEMBER(decocass_sound_data_w);
trunk/src/mame/drivers/decocass.c
r19791r19792
121121   AM_RANGE(0xe411, 0xe411) AM_WRITE(decocass_center_h_shift_space_w)
122122   AM_RANGE(0xe412, 0xe412) AM_WRITE(decocass_center_v_shift_w)
123123   AM_RANGE(0xe413, 0xe413) AM_WRITE(decocass_coin_counter_w)
124   AM_RANGE(0xe414, 0xe414) AM_WRITE(decocass_sound_command_w)
124   AM_RANGE(0xe414, 0xe414) AM_READWRITE(decocass_sound_command_main_r, decocass_sound_command_w)
125125   AM_RANGE(0xe415, 0xe416) AM_WRITE(decocass_quadrature_decoder_reset_w)
126126   AM_RANGE(0xe417, 0xe417) AM_WRITE(decocass_nmi_reset_w)
127127   AM_RANGE(0xe420, 0xe42f) AM_WRITE(decocass_adc_w)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team