diff options
author | hap <happppp@users.noreply.github.com> | 2021-04-24 12:27:33 +0200 |
---|---|---|
committer | hap <happppp@users.noreply.github.com> | 2021-04-24 12:27:33 +0200 |
commit | ef0f33350135c87103db8def763de97615a011f0 (patch) | |
tree | 40ed3de44644b1398e639ae581ed8839bcafe673 | |
parent | 27eaa91cb118b164a432ecb612d415c03c0712cd (diff) |
t6963c: increase default contrast a bit
-rw-r--r-- | src/devices/video/t6963c.cpp | 12 | ||||
-rw-r--r-- | src/mame/drivers/tasc.cpp | 1 |
2 files changed, 7 insertions, 6 deletions
diff --git a/src/devices/video/t6963c.cpp b/src/devices/video/t6963c.cpp index a853e6d7b00..7c7676b5549 100644 --- a/src/devices/video/t6963c.cpp +++ b/src/devices/video/t6963c.cpp @@ -308,7 +308,7 @@ void t6963c_device::set_md(u8 data) // MD0, MD1 m_number_lines = 8 - (data & 3) * 2; - if (BIT(data, 4)) // MDS + if (BIT(data, 4)) // MDS m_number_lines += 8; switch((data >> 2) & 3) // MD2, MD3 @@ -405,8 +405,8 @@ void lm24014h_device::device_start() { save_item(NAME(m_fs)); - m_lcdc->set_md(4); // 8 lines x 40 columns - m_lcdc->set_fs(m_fs << 1); // font size 6x8 or 8x8 + m_lcdc->set_md(4); // 8 lines x 40 columns + m_lcdc->set_fs(m_fs << 1); // font size 6x8 or 8x8 } @@ -423,7 +423,7 @@ void lm24014h_device::ram_map(address_map &map) void lm24014h_device::lcd_palette(palette_device &palette) const { palette.set_pen_color(0, rgb_t(138, 146, 148)); - palette.set_pen_color(1, rgb_t(92, 83, 88)); + palette.set_pen_color(1, rgb_t(69, 62, 66)); } @@ -438,10 +438,10 @@ void lm24014h_device::device_add_mconfig(machine_config &config) m_lcdc->set_addrmap(0, &lm24014h_device::ram_map); screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_LCD)); - screen.set_refresh_hz(50); + screen.set_refresh_hz(60); screen.set_vblank_time(ATTOSECONDS_IN_USEC(2500)); screen.set_size(240, 64); - screen.set_visarea(0, 240-1, 0, 64-1); + screen.set_visarea_full(); screen.set_screen_update("lcdc", FUNC(t6963c_device::screen_update)); screen.set_palette("palette"); diff --git a/src/mame/drivers/tasc.cpp b/src/mame/drivers/tasc.cpp index 0143bdd5c2e..fdd854d32c2 100644 --- a/src/mame/drivers/tasc.cpp +++ b/src/mame/drivers/tasc.cpp @@ -52,6 +52,7 @@ TODO: - bootrom disable timer shouldn't be needed, real ARM has already fetched the next opcode - more accurate dynamic cpu clock divider (same problem as in saitek_risc2500.cpp), sound pitch is correct now though +- does the R40 version have the same clock divider value? ******************************************************************************/ |