summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/x1.c
diff options
context:
space:
mode:
author Fabio Priuli <etabeta78@users.noreply.github.com>2014-05-16 16:40:38 +0000
committer Fabio Priuli <etabeta78@users.noreply.github.com>2014-05-16 16:40:38 +0000
commit1def3c2c9eb2f7638e3fbd10707f545bdc88dbff (patch)
treea5dc1fe092363a1be32842a8061ed714ace81943 /src/mess/drivers/x1.c
parentd1a012603cfcdd6f72a94f81e27bf97b1acc8bbd (diff)
converted micropolis and wd17xx to use inline configs. nw.
Diffstat (limited to 'src/mess/drivers/x1.c')
-rw-r--r--src/mess/drivers/x1.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mess/drivers/x1.c b/src/mess/drivers/x1.c
index 4b0023b914a..c8ba118be1c 100644
--- a/src/mess/drivers/x1.c
+++ b/src/mess/drivers/x1.c
@@ -2475,7 +2475,8 @@ static MACHINE_CONFIG_START( x1, x1_state )
MCFG_VIDEO_START_OVERRIDE(x1_state,x1)
- MCFG_MB8877_ADD("fdc",default_wd17xx_interface)
+ MCFG_DEVICE_ADD("fdc", MB8877, 0)
+ MCFG_WD17XX_DEFAULT_DRIVE4_TAGS
MCFG_CARTSLOT_ADD("cart")
MCFG_CARTSLOT_EXTENSION_LIST("rom")
@@ -2528,7 +2529,8 @@ static MACHINE_CONFIG_DERIVED( x1turbo, x1 )
MCFG_Z80DMA_OUT_IORQ_CB(WRITE8(x1_state, io_write_byte))
MCFG_DEVICE_REMOVE("fdc")
- MCFG_MB8877_ADD("fdc",default_wd17xx_interface)
+ MCFG_DEVICE_ADD("fdc", MB8877, 0)
+ MCFG_WD17XX_DEFAULT_DRIVE4_TAGS
MCFG_WD17XX_DRQ_CALLBACK(WRITELINE(x1_state,fdc_drq_w))
MCFG_YM2151_ADD("ym", MAIN_CLOCK/8) //option board