summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/bbcbc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/bbcbc.cpp')
-rw-r--r--src/mame/drivers/bbcbc.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/bbcbc.cpp b/src/mame/drivers/bbcbc.cpp
index 4d74b875940..fa4c5db0ce1 100644
--- a/src/mame/drivers/bbcbc.cpp
+++ b/src/mame/drivers/bbcbc.cpp
@@ -119,16 +119,16 @@ static const z80_daisy_config bbcbc_daisy_chain[] =
MACHINE_CONFIG_START(bbcbc_state::bbcbc)
- MCFG_CPU_ADD( "maincpu", Z80, MAIN_CLOCK / 8 )
- MCFG_CPU_PROGRAM_MAP(mem_map)
- MCFG_CPU_IO_MAP(io_map)
+ MCFG_DEVICE_ADD( "maincpu", Z80, MAIN_CLOCK / 8 )
+ MCFG_DEVICE_PROGRAM_MAP(mem_map)
+ MCFG_DEVICE_IO_MAP(io_map)
MCFG_Z80_DAISY_CHAIN(bbcbc_daisy_chain)
MCFG_DEVICE_ADD("z80pio", Z80PIO, MAIN_CLOCK/8)
//MCFG_Z80PIO_OUT_PA_CB(???)
//MCFG_Z80PIO_IN_STROBE_CB(???)
- MCFG_Z80PIO_IN_PB_CB(READ8(bbcbc_state, input_r))
- MCFG_Z80PIO_OUT_PB_CB(WRITE8(bbcbc_state, input_select_w))
+ MCFG_Z80PIO_IN_PB_CB(READ8(*this, bbcbc_state, input_r))
+ MCFG_Z80PIO_OUT_PB_CB(WRITE8(*this, bbcbc_state, input_select_w))
MCFG_DEVICE_ADD( "tms9129", TMS9129, XTAL(10'738'635) / 2 )
MCFG_TMS9928A_VRAM_SIZE(0x4000)