mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
Adjust C352 clock divider for System12/23
This commit is contained in:
parent
3634fed78a
commit
595c60e1b8
@ -485,8 +485,8 @@ void c352_device::device_start()
|
||||
default:
|
||||
divider=288;
|
||||
break;
|
||||
case C352_DIVIDER_348:
|
||||
divider=348;
|
||||
case C352_DIVIDER_332:
|
||||
divider=332;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,7 @@ enum
|
||||
{
|
||||
C352_DIVIDER_228 = 0,
|
||||
C352_DIVIDER_288 = 1,
|
||||
C352_DIVIDER_348 = 2
|
||||
C352_DIVIDER_332 = 2
|
||||
};
|
||||
|
||||
//**************************************************************************
|
||||
|
@ -1591,7 +1591,7 @@ static MACHINE_CONFIG_START( coh700, namcos12_state )
|
||||
/* sound hardware */
|
||||
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
|
||||
|
||||
MCFG_C352_ADD("c352", 29168000, C352_DIVIDER_348) // measured at 29.168MHz, but that's too highpitched
|
||||
MCFG_C352_ADD("c352", 29168000, C352_DIVIDER_332)
|
||||
MCFG_SOUND_ROUTE(0, "rspeaker", 1.00)
|
||||
MCFG_SOUND_ROUTE(1, "lspeaker", 1.00)
|
||||
MCFG_SOUND_ROUTE(2, "rspeaker", 1.00)
|
||||
|
@ -1247,7 +1247,7 @@ Notes:
|
||||
#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 (using a divider of 348) */
|
||||
#define C352CLOCK (25992000) /* measured at 25.992MHz from 2061 pin 9 (System 12 uses a divider of 332) */
|
||||
#define VSYNC1 (59.8824)
|
||||
#define VSYNC2 (59.915)
|
||||
#define HSYNC (16666150)
|
||||
@ -3320,7 +3320,7 @@ static MACHINE_CONFIG_START( gorgon, namcos23_state )
|
||||
/* sound hardware */
|
||||
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
|
||||
|
||||
MCFG_C352_ADD("c352", C352CLOCK, C352_DIVIDER_348)
|
||||
MCFG_C352_ADD("c352", C352CLOCK, C352_DIVIDER_332)
|
||||
MCFG_SOUND_ROUTE(0, "rspeaker", 1.00)
|
||||
MCFG_SOUND_ROUTE(1, "lspeaker", 1.00)
|
||||
MCFG_SOUND_ROUTE(2, "rspeaker", 1.00)
|
||||
@ -3389,7 +3389,7 @@ static MACHINE_CONFIG_START( s23, namcos23_state )
|
||||
/* sound hardware */
|
||||
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
|
||||
|
||||
MCFG_C352_ADD("c352", C352CLOCK, C352_DIVIDER_348)
|
||||
MCFG_C352_ADD("c352", C352CLOCK, C352_DIVIDER_332)
|
||||
MCFG_SOUND_ROUTE(0, "rspeaker", 1.00)
|
||||
MCFG_SOUND_ROUTE(1, "lspeaker", 1.00)
|
||||
MCFG_SOUND_ROUTE(2, "rspeaker", 1.00)
|
||||
@ -3469,7 +3469,7 @@ static MACHINE_CONFIG_START( ss23, namcos23_state )
|
||||
/* sound hardware */
|
||||
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
|
||||
|
||||
MCFG_C352_ADD("c352", C352CLOCK, C352_DIVIDER_348)
|
||||
MCFG_C352_ADD("c352", C352CLOCK, C352_DIVIDER_332)
|
||||
MCFG_SOUND_ROUTE(0, "rspeaker", 1.00)
|
||||
MCFG_SOUND_ROUTE(1, "lspeaker", 1.00)
|
||||
MCFG_SOUND_ROUTE(2, "rspeaker", 1.00)
|
||||
|
Loading…
Reference in New Issue
Block a user