summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar briantro <briantro@users.noreply.github.com>2017-08-20 01:18:00 -0500
committerGravatarGravatar briantro <briantro@users.noreply.github.com>2017-08-20 01:18:00 -0500
commit194013e84ffe253bcf891b5a877cf1fd8fb558f0 (patch) (github)
treea5e0a53bf66755e6c4e8a547be08339c8bcc6d71
parentfbff826bd9ed00474e7ed71c490deedf4dd0ebde (diff)
downloadmame-194013e84ffe253bcf891b5a877cf1fd8fb558f0.tar.bz2
mame-194013e84ffe253bcf891b5a877cf1fd8fb558f0.zip
silkroad.cpp: base oki clocks on OSC values. (nw)
Note: PCB pic reveals no resonators so the clock is based off of either 32MHz or 3.579545MHz. Old guessed values where 1.056MHz and 2.112MHz so new values are 32MHz/32 & 32MHz/16 for 1 & 2 MHz respectively.
-rw-r--r--src/mame/drivers/silkroad.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/silkroad.cpp b/src/mame/drivers/silkroad.cpp
index 7008c122e35..08a8d81e729 100644
--- a/src/mame/drivers/silkroad.cpp
+++ b/src/mame/drivers/silkroad.cpp
@@ -300,11 +300,11 @@ static MACHINE_CONFIG_START( silkroad )
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
- MCFG_OKIM6295_ADD("oki1", 1056000, PIN7_HIGH) // clock frequency & pin 7 not verified
+ MCFG_OKIM6295_ADD("oki1", XTAL_32MHz/32, PIN7_HIGH) // clock frequency & pin 7 not verified (was 1056000)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.45)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.45)
- MCFG_OKIM6295_ADD("oki2", 2112000, PIN7_HIGH) // clock frequency & pin 7 not verified
+ MCFG_OKIM6295_ADD("oki2", XTAL_32MHz/16, PIN7_HIGH) // clock frequency & pin 7 not verified (was 2112000)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.45)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.45)
MACHINE_CONFIG_END