summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/timex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/timex.cpp')
-rw-r--r--src/mame/drivers/timex.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/timex.cpp b/src/mame/drivers/timex.cpp
index 06cc0020f0e..7c942821517 100644
--- a/src/mame/drivers/timex.cpp
+++ b/src/mame/drivers/timex.cpp
@@ -525,7 +525,7 @@ void spectrum_state::ts2068_update_memory()
}
}
-static ADDRESS_MAP_START(ts2068_io, AS_IO, 8, spectrum_state )
+ADDRESS_MAP_START(spectrum_state::ts2068_io)
AM_RANGE(0xf4, 0xf4) AM_READWRITE(ts2068_port_f4_r,ts2068_port_f4_w ) AM_MIRROR(0xff00)
AM_RANGE(0xf5, 0xf5) AM_DEVWRITE("ay8912", ay8910_device, address_w ) AM_MIRROR(0xff00)
AM_RANGE(0xf6, 0xf6) AM_DEVREADWRITE("ay8912", ay8910_device, data_r, data_w ) AM_MIRROR(0xff00)
@@ -533,7 +533,7 @@ static ADDRESS_MAP_START(ts2068_io, AS_IO, 8, spectrum_state )
AM_RANGE(0xff, 0xff) AM_READWRITE(ts2068_port_ff_r,ts2068_port_ff_w ) AM_MIRROR(0xff00)
ADDRESS_MAP_END
-static ADDRESS_MAP_START(ts2068_mem, AS_PROGRAM, 8, spectrum_state )
+ADDRESS_MAP_START(spectrum_state::ts2068_mem)
AM_RANGE(0x0000, 0x1fff) AM_READ_BANK("bank1") AM_WRITE_BANK("bank9")
AM_RANGE(0x2000, 0x3fff) AM_READ_BANK("bank2") AM_WRITE_BANK("bank10")
AM_RANGE(0x4000, 0x5fff) AM_READ_BANK("bank3") AM_WRITE_BANK("bank11")
@@ -569,12 +569,12 @@ WRITE8_MEMBER( spectrum_state::tc2048_port_ff_w )
logerror("Port %04x write %02x\n", offset, data);
}
-static ADDRESS_MAP_START(tc2048_io, AS_IO, 8, spectrum_state )
+ADDRESS_MAP_START(spectrum_state::tc2048_io)
AM_RANGE(0x00, 0x00) AM_READWRITE(spectrum_port_fe_r,spectrum_port_fe_w) AM_SELECT(0xfffe)
AM_RANGE(0xff, 0xff) AM_READWRITE(ts2068_port_ff_r,tc2048_port_ff_w) AM_MIRROR(0xff00)
ADDRESS_MAP_END
-static ADDRESS_MAP_START(tc2048_mem, AS_PROGRAM, 8, spectrum_state )
+ADDRESS_MAP_START(spectrum_state::tc2048_mem)
AM_RANGE( 0x0000, 0x3fff) AM_ROM
AM_RANGE( 0x4000, 0xffff) AM_READ_BANK("bank1") AM_WRITE_BANK("bank2")
ADDRESS_MAP_END