summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/exp85.c
diff options
context:
space:
mode:
author Wilbert Pol <wilbert@jdg.info>2013-08-03 13:15:43 +0000
committer Wilbert Pol <wilbert@jdg.info>2013-08-03 13:15:43 +0000
commitf0a18ca7a6e9fa0c12701cfb474e7f53b5b494ca (patch)
tree445426a8ec8a294aa1cf1b73a41487f0aa1a5213 /src/mess/drivers/exp85.c
parentda2504eddb171685aa0f1ecf88b3397ba1476af6 (diff)
i8085.c: Modernized cpu core (nw)
Diffstat (limited to 'src/mess/drivers/exp85.c')
-rw-r--r--src/mess/drivers/exp85.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/mess/drivers/exp85.c b/src/mess/drivers/exp85.c
index 655751411f5..45495fae4d7 100644
--- a/src/mess/drivers/exp85.c
+++ b/src/mess/drivers/exp85.c
@@ -171,14 +171,6 @@ WRITE_LINE_MEMBER( exp85_state::sod_w )
}
}
-static I8085_CONFIG( exp85_i8085_config )
-{
- DEVCB_NULL,
- DEVCB_NULL,
- DEVCB_DRIVER_LINE_MEMBER(exp85_state, sid_r),
- DEVCB_DRIVER_LINE_MEMBER(exp85_state, sod_w)
-};
-
/* Terminal Interface */
static DEVICE_INPUT_DEFAULTS_START( terminal )
@@ -221,7 +213,8 @@ static MACHINE_CONFIG_START( exp85, exp85_state )
MCFG_CPU_ADD(I8085A_TAG, I8085A, XTAL_6_144MHz)
MCFG_CPU_PROGRAM_MAP(exp85_mem)
MCFG_CPU_IO_MAP(exp85_io)
- MCFG_CPU_CONFIG(exp85_i8085_config)
+ MCFG_I8085A_SID(READLINE(exp85_state, sid_r))
+ MCFG_I8085A_SOD(WRITELINE(exp85_state, sod_w))
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")