Note Chance: Added crystal/oscillator to the harcoded list [Roberto Fresca]

This commit is contained in:
RobertoFresca 2017-10-04 01:46:25 -03:00
parent df02f2c415
commit 3b0d84d95c
2 changed files with 4 additions and 3 deletions

View File

@ -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 */

View File

@ -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