summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cgc7900.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cgc7900.cpp')
-rw-r--r--src/mame/drivers/cgc7900.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/mame/drivers/cgc7900.cpp b/src/mame/drivers/cgc7900.cpp
index 1e4106ea4bb..f618cd6eb1b 100644
--- a/src/mame/drivers/cgc7900.cpp
+++ b/src/mame/drivers/cgc7900.cpp
@@ -463,16 +463,9 @@ MACHINE_CONFIG_START(cgc7900_state::cgc7900)
MCFG_DEVICE_ADD(M68000_TAG, M68000, XTAL(28'480'000)/4)
MCFG_DEVICE_PROGRAM_MAP(cgc7900_mem)
- MCFG_DEVICE_ADD(I8035_TAG, I8035, 1000000)
- MCFG_DEVICE_PROGRAM_MAP(keyboard_mem)
- //MCFG_MCS48_PORT_P1_IN_CB(READ8(*this, ))
- //MCFG_MCS48_PORT_P1_OUT_CB(WRITE8(*this, ))
- //MCFG_MCS48_PORT_P2_IN_CB(READ8(*this, ))
- //MCFG_MCS48_PORT_P2_OUT_CB(WRITE8(*this, ))
- //MCFG_MCS48_PORT_T1_IN_CB(READLINE(*this, ))
- //MCFG_MCS48_PORT_BUS_IN_CB(READ8(*this, ))
- //MCFG_MCS48_PORT_BUS_OUT_CB(WRITE8(*this, ))
- MCFG_DEVICE_DISABLE()
+ i8035_device &kbmcu(I8035(config, I8035_TAG, 1000000));
+ kbmcu.set_addrmap(AS_PROGRAM, &cgc7900_state::keyboard_mem);
+ kbmcu.set_disable();
/* MCFG_DEVICE_ADD(AM2910_TAG, AM2910, XTAL(17'360'000))
MCFG_DEVICE_PROGRAM_MAP(omti10_mem)*/