diff options
Diffstat (limited to 'src/mame/machine/namco50.cpp')
-rw-r--r-- | src/mame/machine/namco50.cpp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/mame/machine/namco50.cpp b/src/mame/machine/namco50.cpp index f36601b1d85..7aa4b49a0cc 100644 --- a/src/mame/machine/namco50.cpp +++ b/src/mame/machine/namco50.cpp @@ -217,14 +217,6 @@ READ8_MEMBER( namco_50xx_device::read ) DEVICE INTERFACE ***************************************************************************/ -static ADDRESS_MAP_START( namco_50xx_map_io, AS_IO, 8, namco_50xx_device ) - AM_RANGE(MB88_PORTK, MB88_PORTK) AM_READ(K_r) - AM_RANGE(MB88_PORTO, MB88_PORTO) AM_WRITE(O_w) - AM_RANGE(MB88_PORTR0, MB88_PORTR0) AM_READ(R0_r) - AM_RANGE(MB88_PORTR2, MB88_PORTR2) AM_READ(R2_r) -ADDRESS_MAP_END - - ROM_START( namco_50xx ) ROM_REGION( 0x800, "mcu", 0 ) ROM_LOAD( "50xx.bin", 0x0000, 0x0800, CRC(a0acbaf7) SHA1(f03c79451e73b3a93c1591cdb27fedc9f130508d) ) @@ -260,7 +252,10 @@ void namco_50xx_device::device_start() MACHINE_CONFIG_MEMBER( namco_50xx_device::device_add_mconfig ) MCFG_CPU_ADD("mcu", MB8842, DERIVED_CLOCK(1,1)) /* parent clock, internally divided by 6 */ - MCFG_CPU_IO_MAP(namco_50xx_map_io) + MCFG_MB88XX_READ_K_CB(READ8(namco_50xx_device, K_r)) + MCFG_MB88XX_WRITE_O_CB(WRITE8(namco_50xx_device, O_w)) + MCFG_MB88XX_READ_R0_CB(READ8(namco_50xx_device, R0_r)) + MCFG_MB88XX_READ_R2_CB(READ8(namco_50xx_device, R2_r)) MACHINE_CONFIG_END //------------------------------------------------- |