summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/x68k.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/x68k.cpp')
-rw-r--r--src/mame/drivers/x68k.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/drivers/x68k.cpp b/src/mame/drivers/x68k.cpp
index 5c5be12e004..b80a454e08a 100644
--- a/src/mame/drivers/x68k.cpp
+++ b/src/mame/drivers/x68k.cpp
@@ -1661,7 +1661,8 @@ MACHINE_CONFIG_START(x68k_state::x68000)
MCFG_I8255_IN_PORTC_CB(READ8(*this, x68k_state, ppi_port_c_r))
MCFG_I8255_OUT_PORTC_CB(WRITE8(*this, x68k_state, ppi_port_c_w))
- MCFG_DEVICE_ADD("hd63450", HD63450, "maincpu")
+ MCFG_DEVICE_ADD("hd63450", HD63450, 40_MHz_XTAL / 4)
+ MCFG_HD63450_CPU("maincpu")
MCFG_HD63450_CLOCKS(attotime::from_usec(2), attotime::from_nsec(450), attotime::from_usec(4), attotime::from_hz(15625/2))
MCFG_HD63450_BURST_CLOCKS(attotime::from_usec(2), attotime::from_nsec(450), attotime::from_nsec(50), attotime::from_nsec(50))
MCFG_HD63450_DMA_END_CB(WRITE8(*this, x68k_state, dma_end))
@@ -1771,6 +1772,8 @@ MACHINE_CONFIG_START(x68k_state::x68030)
MCFG_DEVICE_PROGRAM_MAP(x68030_map)
MCFG_DEVICE_IRQ_ACKNOWLEDGE_DRIVER(x68k_state,x68k_int_ack)
+ MCFG_DEVICE_MODIFY("hd63450")
+ MCFG_DEVICE_CLOCK(50_MHz_XTAL / 4)
MCFG_DEVICE_MODIFY("scc")
MCFG_DEVICE_CLOCK(20_MHz_XTAL / 4)
MCFG_DEVICE_MODIFY("mb89352")