summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2020-02-05 19:09:33 +0100
committer hap <happppp@users.noreply.github.com>2020-02-05 19:09:46 +0100
commit5c3cc9a04555b1bd281837403f89f8c59bd11bb7 (patch)
tree27fcdd7d0e9aab7a12da8a1556b34ca9df0d21e8
parenteaeb96e02f5dc8672c894e0501d1524634f7c628 (diff)
mondl68k: add display DP segments (nw)
-rw-r--r--src/mame/drivers/mephisto_mondial68k.cpp7
-rw-r--r--src/mame/drivers/mephisto_montec.cpp1
2 files changed, 7 insertions, 1 deletions
diff --git a/src/mame/drivers/mephisto_mondial68k.cpp b/src/mame/drivers/mephisto_mondial68k.cpp
index 8141f7881d3..582a2127a32 100644
--- a/src/mame/drivers/mephisto_mondial68k.cpp
+++ b/src/mame/drivers/mephisto_mondial68k.cpp
@@ -118,7 +118,10 @@ WRITE8_MEMBER( mondial68k_state::lcd_dlen_w )
WRITE8_MEMBER( mondial68k_state::lcd_data_w )
{
if (m_lcd_shift > 0 && m_lcd_shift < 0x21)
+ {
m_display->write_element((m_lcd_shift - 1) / 8, (m_lcd_shift - 1) % 8, BIT(data, 0));
+ m_display->update();
+ }
}
WRITE8_MEMBER( mondial68k_state::speaker_w )
@@ -227,10 +230,12 @@ void mondial68k_state::mondial68k(machine_config &config)
SENSORBOARD(config, m_board).set_type(sensorboard_device::BUTTONS);
m_board->init_cb().set(m_board, FUNC(sensorboard_device::preset_chess));
+ m_board->set_delay(attotime::from_msec(100));
/* video hardware */
PWM_DISPLAY(config, m_display).set_size(4, 8);
- m_display->set_segmask(0xf, 0x7f);
+ m_display->set_segmask(0xf, 0xff);
+ m_display->set_segmask(0x8, 0x7f); // last digit: DP segment unused
m_display->output_digit().set([this](offs_t offset, u8 data) { m_digits[offset] = bitswap<8>(data, 7,4,5,0,1,2,3,6); });
config.set_default_layout(layout_mephisto_mondial68k);
diff --git a/src/mame/drivers/mephisto_montec.cpp b/src/mame/drivers/mephisto_montec.cpp
index d7d765ded89..424ed10c418 100644
--- a/src/mame/drivers/mephisto_montec.cpp
+++ b/src/mame/drivers/mephisto_montec.cpp
@@ -17,6 +17,7 @@
- split driver into several files? need to make PCF2112T device
- why are megaiv/smondial2 beeps noisy?
- add Monte Carlo IV (non-LE)
+ - add MM 1000 module
**************************************************************************************************/