summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/einstein.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-05-27 15:53:18 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-05-27 15:54:01 -0400
commit182333e0db2899e2271bed703d6f1be8a7e694cd (patch)
treec2cb145145ec3a55279d4ffbf1a7b937bae116fd /src/mame/drivers/einstein.cpp
parent0c522d46f850063ae00d5055aa13cefb5fc11e49 (diff)
wd_fdc family, msm5832: Eliminate customized MCFG_XXX_ADD macros (nw)
Diffstat (limited to 'src/mame/drivers/einstein.cpp')
-rw-r--r--src/mame/drivers/einstein.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/einstein.cpp b/src/mame/drivers/einstein.cpp
index 648cb61afa1..595f5b08bab 100644
--- a/src/mame/drivers/einstein.cpp
+++ b/src/mame/drivers/einstein.cpp
@@ -41,8 +41,8 @@
#define VERBOSE_KEYBOARD 0
#define VERBOSE_DISK 0
-#define XTAL_X001 XTAL(10'738'635)
-#define XTAL_X002 XTAL(8'000'000)
+#define XTAL_X001 10.738635_MHz_XTAL
+#define XTAL_X002 8_MHz_XTAL
#define IC_I001 "i001" /* Z8400A */
#define IC_I030 "i030" /* AY-3-8910 */
@@ -614,7 +614,7 @@ MACHINE_CONFIG_START(einstein_state::einstein)
MCFG_Z80DAISY_GENERIC_INT_CB(WRITELINE(*this, einstein_state, int_w<4>))
/* video hardware */
- MCFG_DEVICE_ADD("vdp", TMS9129, XTAL(10'738'635) / 2)
+ MCFG_DEVICE_ADD("vdp", TMS9129, 10.738635_MHz_XTAL / 2)
MCFG_TMS9928A_VRAM_SIZE(0x4000) // 16k RAM, provided by IC i040 and i041
MCFG_TMS9928A_SET_SCREEN("screen")
MCFG_TMS9928A_SCREEN_ADD_PAL("screen")
@@ -658,7 +658,7 @@ MACHINE_CONFIG_START(einstein_state::einstein)
MCFG_RS232_CTS_HANDLER(WRITELINE(IC_I060, i8251_device, write_cts))
// floppy
- MCFG_WD1770_ADD(IC_I042, XTAL_X002)
+ MCFG_DEVICE_ADD(IC_I042, WD1770, XTAL_X002)
MCFG_FLOPPY_DRIVE_ADD(IC_I042 ":0", einstein_floppies, "3ss", floppy_image_device::default_floppy_formats)
MCFG_FLOPPY_DRIVE_ADD(IC_I042 ":1", einstein_floppies, "3ss", floppy_image_device::default_floppy_formats)