summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mephisto_modular.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mephisto_modular.cpp')
-rw-r--r--src/mame/drivers/mephisto_modular.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/mame/drivers/mephisto_modular.cpp b/src/mame/drivers/mephisto_modular.cpp
index 978302beb04..392a25db3fa 100644
--- a/src/mame/drivers/mephisto_modular.cpp
+++ b/src/mame/drivers/mephisto_modular.cpp
@@ -76,6 +76,7 @@ Reminder: unsupported on Almeria and Portorose 1.01, this is not a bug.
#include "machine/nvram.h"
#include "machine/timer.h"
#include "machine/mmboard.h"
+#include "video/mmdisplay2.h"
// internal artwork
#include "mephisto_alm16.lh" // clickable
@@ -239,8 +240,8 @@ void mmodular_state::alm16_mem(address_map &map)
map(0xf00000, 0xf00003).portr("KEY1");
map(0xf00004, 0xf00007).portr("KEY2");
map(0xf00008, 0xf0000b).portr("KEY3");
- map(0xd80000, 0xd80000).w("display", FUNC(mephisto_display_modul_device::latch_w));
- map(0xd80008, 0xd80008).w("display", FUNC(mephisto_display_modul_device::io_w));
+ map(0xd80000, 0xd80000).w("display", FUNC(mephisto_display_module2_device::latch_w));
+ map(0xd80008, 0xd80008).w("display", FUNC(mephisto_display_module2_device::io_w));
}
void mmodular_state::port16_mem(address_map &map)
@@ -270,8 +271,8 @@ void mmodular_state::alm32_mem(address_map &map)
map(0x800000fc, 0x800000fc).r("board", FUNC(mephisto_board_device::input_r));
map(0x88000000, 0x88000007).w("board", FUNC(mephisto_board_device::mux_w)).umask32(0xff000000);
map(0x90000000, 0x90000007).w("board", FUNC(mephisto_board_device::led_w)).umask32(0xff000000);
- map(0xa0000000, 0xa0000000).w("display", FUNC(mephisto_display_modul_device::latch_w));
- map(0xa0000010, 0xa0000010).w("display", FUNC(mephisto_display_modul_device::io_w));
+ map(0xa0000000, 0xa0000000).w("display", FUNC(mephisto_display_module2_device::latch_w));
+ map(0xa0000010, 0xa0000010).w("display", FUNC(mephisto_display_module2_device::io_w));
map(0xa8000000, 0xa8007fff).m("nvram_map", FUNC(address_map_bank_device::amap8)).umask32(0xff000000);
}
@@ -305,8 +306,8 @@ void mmodular_state::gen32_mem(address_map &map)
map(0xd8000004, 0xd8000004).r(FUNC(mmodular_state::bavaria1_r));
map(0xd8000008, 0xd8000008).w(FUNC(mmodular_state::bavaria_w));
map(0xd800000c, 0xd800000c).r(FUNC(mmodular_state::bavaria2_r));
- map(0xe0000000, 0xe0000000).w("display", FUNC(mephisto_display_modul_device::latch_w));
- map(0xe0000010, 0xe0000010).w("display", FUNC(mephisto_display_modul_device::io_w));
+ map(0xe0000000, 0xe0000000).w("display", FUNC(mephisto_display_module2_device::latch_w));
+ map(0xe0000010, 0xe0000010).w("display", FUNC(mephisto_display_module2_device::io_w));
map(0xe8000000, 0xe8007fff).m("nvram_map", FUNC(address_map_bank_device::amap8)).umask32(0xff000000);
map(0xf0000004, 0xf0000007).portr("KEY1");
map(0xf0000008, 0xf000000b).portr("KEY2");
@@ -403,7 +404,7 @@ void mmodular_state::alm16(machine_config &config)
TIMER(config, "bav_busy").configure_generic(nullptr);
/* video hardware */
- MEPHISTO_DISPLAY_MODUL(config, "display");
+ MEPHISTO_DISPLAY_MODULE2(config, "display");
config.set_default_layout(layout_mephisto_alm16);
}