efdt: XTAL label 14.318 is obviously a common 4*NTSC XTAL (nw)

This commit is contained in:
hap 2018-06-16 15:58:39 +02:00
parent a6bcfa0fe1
commit 0275673dba
3 changed files with 27 additions and 23 deletions

View File

@ -186,7 +186,6 @@ const double XTAL::known_xtals[] = {
14'218'000, /* 14.218_MHz_XTAL Dragon */
14'300'000, /* 14.3_MHz_XTAL Agat-7 */
14'314'000, /* 14.314_MHz_XTAL Taito TTL Board */
14'318'000, /* 14.318_MHz_XTAL Niemer - El Fin Del Tiempo */
14'318'181, /* 14.318181_MHz_XTAL Extremely common, used on 100's of PCBs (4x NTSC subcarrier) */
14'705'882, /* 14.705882_MHz_XTAL Aleck64 */
14'745'600, /* 14.7456_MHz_XTAL Namco System 12 & System Super 22/23 for JVS */

View File

@ -161,8 +161,8 @@
#include "screen.h"
#include "speaker.h"
#define MAIN_CLOCK XTAL(18'432'000)
#define SEC_CLOCK XTAL(14'318'000)
#define MAIN_CLOCK 18.432_MHz_XTAL
#define SEC_CLOCK 14.318181_MHz_XTAL
#define Z80_CLOCK MAIN_CLOCK / 6 // 3.0720 MHz. (measured 3.06850).
#define F6802_CLOCK SEC_CLOCK / 4 // 3.5795 MHz. (measured 3.57488).
@ -545,7 +545,7 @@ MACHINE_CONFIG_START( efdt_state::efdt )
MCFG_DEVICE_ADD("audiocpu", M6802, F6802_CLOCK)
MCFG_DEVICE_PROGRAM_MAP(efdt_snd_map)
MCFG_DEVICE_PERIODIC_INT_DRIVER(efdt_state, irq0_line_hold, 3574880 / 8192)
MCFG_DEVICE_PERIODIC_INT_DRIVER(efdt_state, irq0_line_hold, F6802_CLOCK / 8192)
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)

View File

@ -1,6 +1,9 @@
// license:BSD-3-Clause
// copyright-holders: ElSemi, Roberto Fresca.
#ifndef MAME_INCLUDES_EFDT_H
#define MAME_INCLUDES_EFDT_H
#include "emupal.h"
@ -16,7 +19,7 @@ public:
m_videoram(*this, "videoram", 8),
m_vregs1(*this, "vregs1"),
m_vregs2(*this, "vregs2")
{ }
{ }
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
@ -68,3 +71,5 @@ public:
void efdt_map(address_map &map);
void efdt_snd_map(address_map &map);
};
#endif // MAME_INCLUDES_EFDT_H