Previous 199869 Revisions Next

r20122 Monday 7th January, 2013 at 22:31:45 UTC by Robbbert
MT 2662 : schaser missile sound was incorrect [Robbbert]
Proof obtained from a video.
[src/mame/audio]8080bw.c

trunk/src/mame/audio/8080bw.c
r20121r20122
846846static const double schaser_effect_rc[8] =
847847{
848848   0,
849   (RES_K(15) + RES_K(20)) * CAP_U(1),
850   (RES_K(39) + RES_K(20)) * CAP_U(1),
851   (1.0/ (1.0/RES_K(15) + 1.0/RES_K(39)) + RES_K(20)) * CAP_U(1),
849852   (RES_K(82) + RES_K(20)) * CAP_U(1),
850   (RES_K(39) + RES_K(20)) * CAP_U(1),
851   (1.0/ (1.0/RES_K(82) + 1.0/RES_K(39)) + RES_K(20)) * CAP_U(1),
852   (RES_K(15) + RES_K(20)) * CAP_U(1),
853   (1.0/ (1.0/RES_K(82) + 1.0/RES_K(15)) + RES_K(20)) * CAP_U(1),
854   (1.0/ (1.0/RES_K(39) + 1.0/RES_K(15)) + RES_K(20)) * CAP_U(1),
855   (1.0/ (1.0/RES_K(82) + 1.0/RES_K(39) + 1.0/RES_K(15)) + RES_K(20)) * CAP_U(1)
853   (1.0/ (1.0/RES_K(15) + 1.0/RES_K(82)) + RES_K(20)) * CAP_U(1),
854   (1.0/ (1.0/RES_K(15) + 1.0/RES_K(82)) + RES_K(20)) * CAP_U(1),
855   (1.0/ (1.0/RES_K(15) + 1.0/RES_K(39) + 1.0/RES_K(82)) + RES_K(20)) * CAP_U(1)
856856};
857857
858858WRITE8_MEMBER(_8080bw_state::schaser_sh_port_1_w)
r20121r20122
864864       bit 2 - Effect Sound A (SX2)
865865       bit 3 - Effect Sound B (SX3)
866866       bit 4 - Effect Sound C (SX4)
867       bit 5 - Explosion (SX5) */
867       bit 5 - Explosion (SX5)
868868
869    //printf( "schaser_sh_port_1_w: %02x\n", data );
869        Note that the schematic has SX2 and SX4 the wrong way around.
870        See MT 2662 for video proof. */
871
870872   discrete_sound_w(m_discrete, space, SCHASER_DOT_EN, data & 0x01);
871873   discrete_sound_w(m_discrete, space, SCHASER_DOT_SEL, data & 0x02);
872874
r20121r20122
929931       bit 4 - Field Control B (SX10)
930932       bit 5 - Flip Screen */
931933
932   //printf( "schaser_sh_port_2_w: %02x\n", data );
933
934934   discrete_sound_w(m_discrete, space, SCHASER_MUSIC_BIT, BIT(data, 0));
935935
936936   discrete_sound_w(m_discrete, space, SCHASER_SND_EN, BIT(data, 1));

Previous 199869 Revisions Next


© 1997-2024 The MAME Team