summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Brian Troha <briantro@users.noreply.github.com>2014-01-07 02:07:49 +0000
committer Brian Troha <briantro@users.noreply.github.com>2014-01-07 02:07:49 +0000
commit42b5becc73f25f717056a430a201194714977b5c (patch)
tree4c6bd6efab291aaa3b5fb8b0115b0c8e228703d1 /src
parent87aa3ae1f32222a1315b8d0f4b0623b146b4fcbc (diff)
asterix.c: Change to use XTAL speeds. - NW
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/asterix.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/mame/drivers/asterix.c b/src/mame/drivers/asterix.c
index 62563d753af..838ed715f5e 100644
--- a/src/mame/drivers/asterix.c
+++ b/src/mame/drivers/asterix.c
@@ -3,9 +3,10 @@
Asterix
TODO:
-the konami logo: in the original the outline is drawn, then there's a slight
-delay of 1 or 2 seconds, then it fills from the top to the bottom with the
-colour, including the word "Konami"
+ - the konami logo: in the original the outline is drawn, then there's a slight
+ delay of 1 or 2 seconds, then it fills from the top to the bottom with the
+ colour, including the word "Konami"
+ - Verify clocks, PCB has 2 OSCs. 32MHz & 24MHz
***************************************************************************/
@@ -270,11 +271,11 @@ void asterix_state::machine_reset()
static MACHINE_CONFIG_START( asterix, asterix_state )
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", M68000, 12000000)
+ MCFG_CPU_ADD("maincpu", M68000, XTAL_24MHz/2) // 12MHz
MCFG_CPU_PROGRAM_MAP(main_map)
MCFG_CPU_VBLANK_INT_DRIVER("screen", asterix_state, asterix_interrupt)
- MCFG_CPU_ADD("audiocpu", Z80, 8000000)
+ MCFG_CPU_ADD("audiocpu", Z80, XTAL_32MHz/4) // 8MHz Z80E ??
MCFG_CPU_PROGRAM_MAP(sound_map)
MCFG_EEPROM_SERIAL_ER5911_8BIT_ADD("eeprom")
@@ -298,11 +299,11 @@ static MACHINE_CONFIG_START( asterix, asterix_state )
/* sound hardware */
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MCFG_YM2151_ADD("ymsnd", 4000000)
+ MCFG_YM2151_ADD("ymsnd", XTAL_32MHz/8) // 4MHz
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
- MCFG_K053260_ADD("k053260", 4000000)
+ MCFG_K053260_ADD("k053260", XTAL_32MHz/8) // 4MHz
MCFG_SOUND_ROUTE(0, "lspeaker", 0.75)
MCFG_SOUND_ROUTE(1, "rspeaker", 0.75)
MACHINE_CONFIG_END