diff options
Diffstat (limited to 'src/mame/drivers/pipbug.cpp')
-rw-r--r-- | src/mame/drivers/pipbug.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mame/drivers/pipbug.cpp b/src/mame/drivers/pipbug.cpp index 8459ab89688..15d82290cb6 100644 --- a/src/mame/drivers/pipbug.cpp +++ b/src/mame/drivers/pipbug.cpp @@ -71,10 +71,9 @@ static ADDRESS_MAP_START(pipbug_mem, AS_PROGRAM, 8, pipbug_state) AM_RANGE( 0x0400, 0x7fff) AM_RAM ADDRESS_MAP_END -static ADDRESS_MAP_START(pipbug_io, AS_IO, 8, pipbug_state) +static ADDRESS_MAP_START(pipbug_data, AS_DATA, 8, pipbug_state) // ADDRESS_MAP_UNMAP_HIGH AM_RANGE(S2650_CTRL_PORT, S2650_CTRL_PORT) AM_WRITE(pipbug_ctrl_w) - AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READNOP // this has to return zero or the parameter to write_sense is ignored ADDRESS_MAP_END /* Input ports */ @@ -156,10 +155,10 @@ QUICKLOAD_LOAD_MEMBER( pipbug_state, pipbug ) static MACHINE_CONFIG_START( pipbug ) /* basic machine hardware */ - MCFG_CPU_ADD("maincpu",S2650, XTAL_1MHz) + MCFG_CPU_ADD("maincpu", S2650, XTAL_1MHz) MCFG_CPU_PROGRAM_MAP(pipbug_mem) - MCFG_CPU_IO_MAP(pipbug_io) - MCFG_S2650_FLAG_HANDLER(DEVWRITELINE("rs232", rs232_port_device, write_txd)) + MCFG_CPU_DATA_MAP(pipbug_data) + MCFG_S2650_FLAG_OUTPUT(DEVWRITELINE("rs232", rs232_port_device, write_txd)) /* video hardware */ MCFG_RS232_PORT_ADD("rs232", default_rs232_devices, "terminal") |