From 1e3785e3a123c86f135149120cc02b91ee9596ff Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Thu, 23 Nov 2023 10:16:18 +0100 Subject: hd44780: Correct a pair of clocks --- src/mame/yamaha/mulcd.cpp | 2 +- src/mame/yamaha/ymdx100.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/yamaha/mulcd.cpp b/src/mame/yamaha/mulcd.cpp index d99f6437ede..6d40c157dfe 100644 --- a/src/mame/yamaha/mulcd.cpp +++ b/src/mame/yamaha/mulcd.cpp @@ -77,7 +77,7 @@ void mulcd_device::render_w(int state) void mulcd_device::device_add_mconfig(machine_config &config) { - HD44780(config, m_lcd, 250'000); // TODO: Wrong device type, should be a custom mask part of unknown mask number; clock not measured, datasheet typical clock used + HD44780(config, m_lcd, 270'000); // A fuzzy pcb picture seems to say HD44780B04; clock not measured, datasheet typical clock used m_lcd->set_lcd_size(4, 20); auto &screen = SCREEN(config, "screen", SCREEN_TYPE_SVG); diff --git a/src/mame/yamaha/ymdx100.cpp b/src/mame/yamaha/ymdx100.cpp index 84f69b38354..a4299507a12 100644 --- a/src/mame/yamaha/ymdx100.cpp +++ b/src/mame/yamaha/ymdx100.cpp @@ -622,7 +622,7 @@ void yamaha_dx100_state::dx100(machine_config &config) PALETTE(config, "palette", FUNC(yamaha_dx100_state::palette_init), 3); - hd44780_device &lcdc(HD44780(config, "lcdc", 250'000)); // HD44780RA00; TODO: clock not measured, datasheet typical clock used + hd44780_device &lcdc(HD44780(config, "lcdc", 270'000)); // HD44780RA00, 91K resistor lcdc.set_lcd_size(1, 16); lcdc.set_pixel_update_cb(FUNC(yamaha_dx100_state::lcd_pixel_update)); -- cgit v1.2.3