summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/decwritr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/decwritr.cpp')
-rw-r--r--src/mame/drivers/decwritr.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/decwritr.cpp b/src/mame/drivers/decwritr.cpp
index 1ca1913f2bf..d86c2dcaeca 100644
--- a/src/mame/drivers/decwritr.cpp
+++ b/src/mame/drivers/decwritr.cpp
@@ -55,6 +55,8 @@ public:
DECLARE_READ8_MEMBER(la120_DC305_r);
DECLARE_WRITE8_MEMBER(la120_DC305_w);
void la120(machine_config &config);
+ void la120_io(address_map &map);
+ void la120_mem(address_map &map);
private:
virtual void machine_start() override;
//virtual void machine_reset();
@@ -213,7 +215,7 @@ WRITE8_MEMBER( decwriter_state::la120_DC305_w )
0 1 1 1 x x x x x x x x x x * * RW PTR (DC305 ASIC,e25)
1 * * * * * * * * * * * * * * * Expansion space (open bus)
*/
-static ADDRESS_MAP_START(la120_mem, AS_PROGRAM, 8, decwriter_state)
+ADDRESS_MAP_START(decwriter_state::la120_mem)
ADDRESS_MAP_UNMAP_HIGH
AM_RANGE( 0x0000, 0x27ff ) AM_ROM
AM_RANGE( 0x3000, 0x301f ) AM_READWRITE(la120_KBD_r, la120_LED_w) AM_MIRROR(0xFE0) // keyboard read, write to status and 7seg LEDS
@@ -233,7 +235,7 @@ ADDRESS_MAP_END
0 x x x x x 1 x RW Flags Read/Write
1 x x x x x x x RW Expansion (Open bus)
*/
-static ADDRESS_MAP_START(la120_io, AS_IO, 8, decwriter_state)
+ADDRESS_MAP_START(decwriter_state::la120_io)
ADDRESS_MAP_UNMAP_HIGH
AM_RANGE(0x00, 0x00) AM_MIRROR(0x7C) AM_DEVREADWRITE("i8251", i8251_device, data_r, data_w) // 8251 Data
AM_RANGE(0x01, 0x01) AM_MIRROR(0x7C) AM_DEVREADWRITE("i8251", i8251_device, status_r, control_w) // 8251 Status/Control