diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2017-12-11 21:51:50 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2017-12-11 21:51:50 -0500 |
commit | a545e65efc90681e786128bb17b68f8f5c666ddf (patch) | |
tree | a399c59a8a2c57304fee401b42bd25d341aeb7ac | |
parent | f240bab65a84d446c893d3cd135976da25a73f6e (diff) |
exidy440.cpp: Correct 6809 types (nw)
-rw-r--r-- | src/mame/audio/exidy440.cpp | 10 | ||||
-rw-r--r-- | src/mame/drivers/exidy440.cpp | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/audio/exidy440.cpp b/src/mame/audio/exidy440.cpp index ec0894613ad..d625f75f717 100644 --- a/src/mame/audio/exidy440.cpp +++ b/src/mame/audio/exidy440.cpp @@ -20,9 +20,9 @@ #define FADE_TO_ZERO 1 -#define EXIDY440_AUDIO_CLOCK (XTAL_12_9792MHz / 16) -#define EXIDY440_MC3418_CLOCK (EXIDY440_AUDIO_CLOCK / 16) -#define EXIDY440_MC3417_CLOCK (EXIDY440_AUDIO_CLOCK / 32) +#define EXIDY440_AUDIO_CLOCK (XTAL_12_9792MHz / 4) +#define EXIDY440_MC3418_CLOCK (EXIDY440_AUDIO_CLOCK / 4 / 16) +#define EXIDY440_MC3417_CLOCK (EXIDY440_AUDIO_CLOCK / 4 / 32) /* internal caching */ @@ -875,13 +875,13 @@ ADDRESS_MAP_END MACHINE_CONFIG_START( exidy440_audio ) - MCFG_CPU_ADD("audiocpu", M6809, EXIDY440_AUDIO_CLOCK) + MCFG_CPU_ADD("audiocpu", MC6809, EXIDY440_AUDIO_CLOCK) MCFG_CPU_PROGRAM_MAP(exidy440_audio_map) MCFG_CPU_VBLANK_INT_DRIVER("screen", driver_device, irq0_line_assert) MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") - MCFG_SOUND_ADD("custom", EXIDY440, EXIDY440_AUDIO_CLOCK/16) + MCFG_SOUND_ADD("custom", EXIDY440, EXIDY440_MC3418_CLOCK) MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) diff --git a/src/mame/drivers/exidy440.cpp b/src/mame/drivers/exidy440.cpp index 7b6ff76b66a..9132234065f 100644 --- a/src/mame/drivers/exidy440.cpp +++ b/src/mame/drivers/exidy440.cpp @@ -995,7 +995,7 @@ INPUT_PORTS_END static MACHINE_CONFIG_START( exidy440 ) /* basic machine hardware */ - MCFG_CPU_ADD("maincpu", M6809, MAIN_CPU_CLOCK) + MCFG_CPU_ADD("maincpu", MC6809E, MAIN_CPU_CLOCK) MCFG_CPU_PROGRAM_MAP(exidy440_map) MCFG_CPU_VBLANK_INT_DRIVER("screen", exidy440_state, exidy440_vblank_interrupt) |