summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/globalfr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/globalfr.cpp')
-rw-r--r--src/mame/drivers/globalfr.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mame/drivers/globalfr.cpp b/src/mame/drivers/globalfr.cpp
index 60ce27ff1cd..543174d0e4b 100644
--- a/src/mame/drivers/globalfr.cpp
+++ b/src/mame/drivers/globalfr.cpp
@@ -52,12 +52,13 @@ WRITE16_MEMBER(globalfr_state::vfd_w)
}
}
-ADDRESS_MAP_START(globalfr_state::globalfr_map)
- AM_RANGE(0x002000, 0x002fff) AM_RAM
- AM_RANGE(0x008000, 0x07ffff) AM_ROM AM_REGION("maincpu", 0x8000)
- AM_RANGE(0x0a0000, 0x0a01ff) AM_RAM
- AM_RANGE(0x7e0040, 0x7e0041) AM_WRITE(vfd_w)
-ADDRESS_MAP_END
+void globalfr_state::globalfr_map(address_map &map)
+{
+ map(0x002000, 0x002fff).ram();
+ map(0x008000, 0x07ffff).rom().region("maincpu", 0x8000);
+ map(0x0a0000, 0x0a01ff).ram();
+ map(0x7e0040, 0x7e0041).w(this, FUNC(globalfr_state::vfd_w));
+}
static INPUT_PORTS_START( globalfr )
INPUT_PORTS_END