summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author RobertoFresca <robbie@mamedev.org>2017-10-04 01:46:25 -0300
committer RobertoFresca <robbie@mamedev.org>2017-10-04 01:46:25 -0300
commit3b0d84d95c43623ef0d047a880acfcc44937b601 (patch)
tree8afecb41259c261f15d0b45cc98bb6e2cf4e3fb3
parentdf02f2c4157465c5f8214f3cf795c985fa2886b1 (diff)
Note Chance: Added crystal/oscillator to the harcoded list [Roberto Fresca]
-rw-r--r--src/emu/drivers/xtal.h1
-rw-r--r--src/mame/drivers/notechan.cpp6
2 files changed, 4 insertions, 3 deletions
diff --git a/src/emu/drivers/xtal.h b/src/emu/drivers/xtal.h
index 8a89021088b..8c0e7a6bbf4 100644
--- a/src/emu/drivers/xtal.h
+++ b/src/emu/drivers/xtal.h
@@ -101,6 +101,7 @@ enum
XTAL_8MHz = 8000000, /* Extremely common, used on 100's of PCBs */
XTAL_8_2MHz = 8200000, /* Universal Mr. Do - Model 8021 PCB */
XTAL_8_388MHz = 8388000, /* Nintendo Game Boy Color */
+ XTAL_8_448MHz = 8448000, /* Banpresto's Note Chance */
XTAL_8_4672MHz = 8467200, /* Subsino's Ying Hua Lian */
XTAL_8_664MHz = 8664000, /* Touchmaster */
XTAL_8_7MHz = 8700000, /* Tandberg TDV 2324 */
diff --git a/src/mame/drivers/notechan.cpp b/src/mame/drivers/notechan.cpp
index 5d21d90445b..de3a3060cec 100644
--- a/src/mame/drivers/notechan.cpp
+++ b/src/mame/drivers/notechan.cpp
@@ -119,9 +119,9 @@
#include "sound/okim6295.h"
#include "speaker.h"
-#define MASTER_CLOCK 8448800
-#define CPU_CLOCK MASTER_CLOCK / 2
-#define SND_CLOCK 1056000 // unverified resonator
+#define MASTER_CLOCK XTAL_8_448MHz
+#define CPU_CLOCK MASTER_CLOCK / 2 // guess... not verified
+#define SND_CLOCK 1056000 // unverified resonator
class notechan_state : public driver_device