update H8/3002 and C352 frequencies for namcos12, namcos23

This is based on sound driver research, and comparing the H8/3002
ND-1/ND-2 programs with the System 12 and 23 programs.

The figures are similar to the previously measured clock speeds so
chances are the earlier values were just measurement error.
This commit is contained in:
superctr 2016-08-17 06:26:49 +02:00
parent 5d5e698e5c
commit 15a6fc433b
2 changed files with 13 additions and 6 deletions

View File

@ -1665,7 +1665,7 @@ static MACHINE_CONFIG_START( coh700, namcos12_state )
MCFG_PSX_DMA_CHANNEL_READ( "maincpu", 5, psx_dma_read_delegate( FUNC( namcos12_state::namcos12_rom_read ), (namcos12_state *) owner ) )
MCFG_CPU_ADD("sub", H83002, 16737350)
MCFG_CPU_ADD("sub", H83002, 16934400) // frequency based on research (superctr)
MCFG_CPU_PROGRAM_MAP(s12h8rwmap)
MCFG_CPU_IO_MAP(s12h8iomap)
@ -1691,7 +1691,7 @@ static MACHINE_CONFIG_START( coh700, namcos12_state )
/* sound hardware */
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
MCFG_C352_ADD("c352", 29168000, 332)
MCFG_C352_ADD("c352", 25401600, 288)
MCFG_SOUND_ROUTE(0, "rspeaker", 1.00)
MCFG_SOUND_ROUTE(1, "lspeaker", 1.00)
MCFG_SOUND_ROUTE(2, "rspeaker", 1.00)

View File

@ -1267,10 +1267,17 @@ Notes:
#include "machine/namco_settings.h"
#define JVSCLOCK (XTAL_14_7456MHz)
#define H8CLOCK (16737350) /* from 2061 */
#define BUSCLOCK (16737350*2) /* 33MHz CPU bus clock / input */
#define C352CLOCK (25992000) /* measured at 25.992MHz from 2061 pin 9 */
#define C352DIV (296)
//#define H8CLOCK (16737350) /* from 2061 */
//#define BUSCLOCK (16737350*2) /* 33MHz CPU bus clock / input */
//#define C352CLOCK (25401600) /* previously measured at 25.992MHz from 2061 pin 9 */
//#define C352DIV (296)
#define H8CLOCK (16934400) /* based on research (superctr) */
#define BUSCLOCK (16934400*2)
#define C352CLOCK (25401600)
#define C352DIV (288)
#define VSYNC1 (59.8824)
#define VSYNC2 (59.915)
#define HSYNC (16666150)