t6963c: increase default contrast a bit

This commit is contained in:
hap 2021-04-24 12:27:33 +02:00
parent 27eaa91cb1
commit ef0f333501
2 changed files with 7 additions and 6 deletions

View File

@ -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");

View File

@ -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?
******************************************************************************/