From 3b0d84d95c43623ef0d047a880acfcc44937b601 Mon Sep 17 00:00:00 2001 From: RobertoFresca Date: Wed, 4 Oct 2017 01:46:25 -0300 Subject: Note Chance: Added crystal/oscillator to the harcoded list [Roberto Fresca] --- src/emu/drivers/xtal.h | 1 + src/mame/drivers/notechan.cpp | 6 +++--- 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 -- cgit v1.2.3