mirror of
https://github.com/holub/mame
synced 2025-04-25 09:50:04 +03:00
MT 2662 : schaser missile sound was incorrect [Robbbert]
Proof obtained from a video.
This commit is contained in:
parent
9b05a5652f
commit
25129a9ef7
@ -846,13 +846,13 @@ DISCRETE_SOUND_END
|
||||
static const double schaser_effect_rc[8] =
|
||||
{
|
||||
0,
|
||||
(RES_K(82) + RES_K(20)) * CAP_U(1),
|
||||
(RES_K(39) + RES_K(20)) * CAP_U(1),
|
||||
(1.0/ (1.0/RES_K(82) + 1.0/RES_K(39)) + RES_K(20)) * CAP_U(1),
|
||||
(RES_K(15) + RES_K(20)) * CAP_U(1),
|
||||
(1.0/ (1.0/RES_K(82) + 1.0/RES_K(15)) + RES_K(20)) * CAP_U(1),
|
||||
(1.0/ (1.0/RES_K(39) + 1.0/RES_K(15)) + RES_K(20)) * CAP_U(1),
|
||||
(1.0/ (1.0/RES_K(82) + 1.0/RES_K(39) + 1.0/RES_K(15)) + RES_K(20)) * CAP_U(1)
|
||||
(RES_K(39) + RES_K(20)) * CAP_U(1),
|
||||
(1.0/ (1.0/RES_K(15) + 1.0/RES_K(39)) + RES_K(20)) * CAP_U(1),
|
||||
(RES_K(82) + RES_K(20)) * CAP_U(1),
|
||||
(1.0/ (1.0/RES_K(15) + 1.0/RES_K(82)) + RES_K(20)) * CAP_U(1),
|
||||
(1.0/ (1.0/RES_K(15) + 1.0/RES_K(82)) + RES_K(20)) * CAP_U(1),
|
||||
(1.0/ (1.0/RES_K(15) + 1.0/RES_K(39) + 1.0/RES_K(82)) + RES_K(20)) * CAP_U(1)
|
||||
};
|
||||
|
||||
WRITE8_MEMBER(_8080bw_state::schaser_sh_port_1_w)
|
||||
@ -864,9 +864,11 @@ WRITE8_MEMBER(_8080bw_state::schaser_sh_port_1_w)
|
||||
bit 2 - Effect Sound A (SX2)
|
||||
bit 3 - Effect Sound B (SX3)
|
||||
bit 4 - Effect Sound C (SX4)
|
||||
bit 5 - Explosion (SX5) */
|
||||
bit 5 - Explosion (SX5)
|
||||
|
||||
Note that the schematic has SX2 and SX4 the wrong way around.
|
||||
See MT 2662 for video proof. */
|
||||
|
||||
//printf( "schaser_sh_port_1_w: %02x\n", data );
|
||||
discrete_sound_w(m_discrete, space, SCHASER_DOT_EN, data & 0x01);
|
||||
discrete_sound_w(m_discrete, space, SCHASER_DOT_SEL, data & 0x02);
|
||||
|
||||
@ -929,8 +931,6 @@ WRITE8_MEMBER(_8080bw_state::schaser_sh_port_2_w)
|
||||
bit 4 - Field Control B (SX10)
|
||||
bit 5 - Flip Screen */
|
||||
|
||||
//printf( "schaser_sh_port_2_w: %02x\n", data );
|
||||
|
||||
discrete_sound_w(m_discrete, space, SCHASER_MUSIC_BIT, BIT(data, 0));
|
||||
|
||||
discrete_sound_w(m_discrete, space, SCHASER_SND_EN, BIT(data, 1));
|
||||
|
Loading…
Reference in New Issue
Block a user