summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/coinmvga.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/coinmvga.cpp')
-rw-r--r--src/mame/drivers/coinmvga.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/mame/drivers/coinmvga.cpp b/src/mame/drivers/coinmvga.cpp
index adbdeb40af6..01919609061 100644
--- a/src/mame/drivers/coinmvga.cpp
+++ b/src/mame/drivers/coinmvga.cpp
@@ -254,6 +254,10 @@ public:
required_device<palette_device> m_palette2;
void coinmvga(machine_config &config);
+ void coinmvga_io_map(address_map &map);
+ void coinmvga_map(address_map &map);
+ void ramdac2_map(address_map &map);
+ void ramdac_map(address_map &map);
};
@@ -311,7 +315,7 @@ READ16_MEMBER(coinmvga_state::test_r)
* Memory Map Information *
*************************/
-static ADDRESS_MAP_START( coinmvga_map, AS_PROGRAM, 16, coinmvga_state )
+ADDRESS_MAP_START(coinmvga_state::coinmvga_map)
AM_RANGE(0x000000, 0x07ffff) AM_ROM
AM_RANGE(0x080000, 0x0fffff) AM_ROM AM_REGION("maincpu", 0) //maybe not
@@ -338,7 +342,7 @@ static ADDRESS_MAP_START( coinmvga_map, AS_PROGRAM, 16, coinmvga_state )
//0x800008 "arrow" w?
ADDRESS_MAP_END
-static ADDRESS_MAP_START( coinmvga_io_map, AS_IO, 16, coinmvga_state )
+ADDRESS_MAP_START(coinmvga_state::coinmvga_io_map)
/* Digital I/O ports (ports 4-B are valid on 16-bit H8/3xx) */
// AM_RANGE(h8_device::PORT_4, h8_device::PORT_4)
// AM_RANGE(h8_device::PORT_5, h8_device::PORT_5)
@@ -618,11 +622,11 @@ INTERRUPT_GEN_MEMBER(coinmvga_state::vblank_irq)
* Machine Drivers *
*************************/
-static ADDRESS_MAP_START( ramdac_map, 0, 8, coinmvga_state )
+ADDRESS_MAP_START(coinmvga_state::ramdac_map)
AM_RANGE(0x000, 0x3ff) AM_DEVREADWRITE("ramdac",ramdac_device,ramdac_pal_r,ramdac_rgb666_w)
ADDRESS_MAP_END
-static ADDRESS_MAP_START( ramdac2_map, 0, 8, coinmvga_state )
+ADDRESS_MAP_START(coinmvga_state::ramdac2_map)
AM_RANGE(0x000, 0x3ff) AM_DEVREADWRITE("ramdac2",ramdac_device,ramdac_pal_r,ramdac_rgb666_w)
ADDRESS_MAP_END