mirror of
https://github.com/holub/mame
synced 2025-04-19 15:11:37 +03:00
dkong:
* fix dkong sound following Clock Divider update * updated to use XTAL_*
This commit is contained in:
parent
66bfa62aa5
commit
64b89c192c
@ -1317,7 +1317,7 @@ MACHINE_DRIVER_START( radarsc1_audio )
|
||||
MDRV_CPU_MODIFY("sound")
|
||||
MDRV_CPU_IO_MAP(radarsc1_sound_io_map, 0)
|
||||
|
||||
MDRV_SOUND_ADD(TMS5110, 640000)
|
||||
MDRV_SOUND_ADD(TMS5110, XTAL_640kHz)
|
||||
MDRV_SOUND_CONFIG(tms5110_interface)
|
||||
MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
* 256VF is not being used, so counting is from 248...255, 0...255, ....
|
||||
*/
|
||||
|
||||
#define MASTER_CLOCK 61440000
|
||||
#define MASTER_CLOCK XTAL_61_44MHz
|
||||
#define CLOCK_1H (MASTER_CLOCK / 5 / 4)
|
||||
#define CLOCK_16H (CLOCK_1H / 16)
|
||||
#define CLOCK_1VF ((CLOCK_16H) / 12 / 2)
|
||||
@ -39,9 +39,7 @@
|
||||
#define VBSTART (240)
|
||||
#define VBEND (16)
|
||||
|
||||
#define I8035_MASTER_CLOCK (6000000)
|
||||
#define I8035_DIVIDER (15)
|
||||
#define I8035_CLOCK (I8035_MASTER_CLOCK/I8035_DIVIDER)
|
||||
#define I8035_CLOCK (XTAL_6MHz)
|
||||
|
||||
#define HARDWARE_TYPE_TAG "HARDWARE_TYPE"
|
||||
#define HARDWARE_TKG04 0
|
||||
|
Loading…
Reference in New Issue
Block a user