summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/horizon.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-01-21 23:42:41 +0100
committer Olivier Galibert <galibert@pobox.com>2018-01-23 10:25:25 +0100
commit03ba80e0ef3e021f6ff89ef91ae5cdce4e24b994 (patch)
treef127b7f533d36df2484f82fcb05cef5f4c04f232 /src/mame/drivers/horizon.cpp
parentf61a64ea29bf46bf2deb2e1fbace5b24f3d7b0aa (diff)
xtal.h is dead, long live to xtal.cpp [O. Galibert]
Diffstat (limited to 'src/mame/drivers/horizon.cpp')
-rw-r--r--src/mame/drivers/horizon.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/horizon.cpp b/src/mame/drivers/horizon.cpp
index 58e250c4a5e..e10030314dc 100644
--- a/src/mame/drivers/horizon.cpp
+++ b/src/mame/drivers/horizon.cpp
@@ -174,7 +174,7 @@ SLOT_INTERFACE_END
MACHINE_CONFIG_START(horizon_state::horizon)
// basic machine hardware
- MCFG_CPU_ADD(Z80_TAG, Z80, XTAL_8MHz / 2)
+ MCFG_CPU_ADD(Z80_TAG, Z80, XTAL(8'000'000) / 2)
MCFG_CPU_PROGRAM_MAP(horizon_mem)
MCFG_CPU_IO_MAP(horizon_io)
@@ -199,7 +199,7 @@ MACHINE_CONFIG_START(horizon_state::horizon)
MCFG_RS232_DSR_HANDLER(DEVWRITELINE(I8251_R_TAG, i8251_device, write_dsr))
// S-100
- MCFG_DEVICE_ADD("s100", S100_BUS, XTAL_8MHz / 4)
+ MCFG_DEVICE_ADD("s100", S100_BUS, XTAL(8'000'000) / 4)
MCFG_S100_RDY_CALLBACK(INPUTLINE(Z80_TAG, Z80_INPUT_LINE_BOGUSWAIT))
//MCFG_S100_SLOT_ADD("s100:1", horizon_s100_cards, nullptr, nullptr) // CPU
MCFG_S100_SLOT_ADD("s100:2", horizon_s100_cards, nullptr) // RAM
@@ -220,10 +220,10 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_DERIVED(horizon_state::horizon2mhz, horizon)
MCFG_CPU_MODIFY("z80")
- MCFG_CPU_CLOCK(XTAL_4MHz / 2)
+ MCFG_CPU_CLOCK(XTAL(4'000'000) / 2)
MCFG_DEVICE_MODIFY("s100")
- MCFG_DEVICE_CLOCK(XTAL_4MHz / 2)
+ MCFG_DEVICE_CLOCK(XTAL(4'000'000) / 2)
MACHINE_CONFIG_END