Made changes to the PORT_ADJUSTER values for MSM5232 clocks in all games in drivers to best match PCB recordings. [Fujix, Tafoid]

This commit is contained in:
Scott Stone 2011-02-06 20:08:57 +00:00
parent 9ea7e2115e
commit ffeaa72e57

View File

@ -381,11 +381,16 @@ D
#define FRQ_ADJUSTER_TAG "FRQ"
// MSM5232 clock is generated by a transistor oscillator circuit, not by the pcb xtal
// The circuit is controlled by a pot to allow adjusting the frequency
// The circuit is controlled by a pot to allow adjusting the frequency. All games
// have been hand-tuned to a recording claiming to be an original recording from the
// boards. You can adjust this in the Slider Controls while using -cheat if needed.
#define MSM5232_MAX_CLOCK 6144000
#define MSM5232_MIN_CLOCK 214000 // unstable
/******************************************************************************/
// Sound
@ -820,7 +825,7 @@ static INPUT_PORTS_START( equites )
/* this is actually a variable resistor */
PORT_START(FRQ_ADJUSTER_TAG)
PORT_ADJUSTER(50, "MSM5232 Clock")
PORT_ADJUSTER(25, "MSM5232 Clock")
INPUT_PORTS_END
/******************************************************************************/
@ -846,7 +851,7 @@ static INPUT_PORTS_START( gekisou )
/* this is actually a variable resistor */
PORT_START(FRQ_ADJUSTER_TAG)
PORT_ADJUSTER(50, "MSM5232 Clock")
PORT_ADJUSTER(24, "MSM5232 Clock")
INPUT_PORTS_END
/******************************************************************************/
@ -882,7 +887,7 @@ static INPUT_PORTS_START( bullfgtr )
/* this is actually a variable resistor */
PORT_START(FRQ_ADJUSTER_TAG)
PORT_ADJUSTER(50, "MSM5232 Clock")
PORT_ADJUSTER(33, "MSM5232 Clock")
INPUT_PORTS_END
/******************************************************************************/
@ -894,8 +899,8 @@ static INPUT_PORTS_START( kouyakyu )
EQUITES_PLAYER_INPUT_MSB( IPT_BUTTON1, IPT_BUTTON2, IPT_BUTTON3, IPT_START2 )
PORT_START("IN1")
// PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_COIN1 )
// PORT_BIT( 0x0200, IP_ACTIVE_HIGH, IPT_UNUSED )
// PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_COIN1 )
// PORT_BIT( 0x0200, IP_ACTIVE_HIGH, IPT_UNUSED )
PORT_BIT( 0x0300, IP_ACTIVE_HIGH, IPT_COIN1 )
#if EASY_TEST_MODE
PORT_SERVICE( 0x0300, IP_ACTIVE_HIGH )
@ -919,7 +924,7 @@ static INPUT_PORTS_START( kouyakyu )
/* this is actually a variable resistor */
PORT_START(FRQ_ADJUSTER_TAG)
PORT_ADJUSTER(50, "MSM5232 Clock")
PORT_ADJUSTER(33, "MSM5232 Clock")
INPUT_PORTS_END
/******************************************************************************/
@ -955,7 +960,7 @@ static INPUT_PORTS_START( splndrbt )
/* this is actually a variable resistor */
PORT_START(FRQ_ADJUSTER_TAG)
PORT_ADJUSTER(50, "MSM5232 Clock")
PORT_ADJUSTER(28, "MSM5232 Clock")
INPUT_PORTS_END
/******************************************************************************/
@ -1024,7 +1029,7 @@ static INPUT_PORTS_START( hvoltage )
/* this is actually a variable resistor */
PORT_START(FRQ_ADJUSTER_TAG)
PORT_ADJUSTER(50, "MSM5232 Clock")
PORT_ADJUSTER(27, "MSM5232 Clock")
INPUT_PORTS_END
/******************************************************************************/