From a827125aeb22d3290ee8f119d3b1c65f71fa0075 Mon Sep 17 00:00:00 2001 From: AJR Date: Tue, 11 Jun 2019 14:13:56 -0400 Subject: [PATCH] ncd16, ncd19: Screen raw parameters (nw) --- src/mame/drivers/ncd17c.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/mame/drivers/ncd17c.cpp b/src/mame/drivers/ncd17c.cpp index 65f02c2a2ce..aa1b1263214 100644 --- a/src/mame/drivers/ncd17c.cpp +++ b/src/mame/drivers/ncd17c.cpp @@ -515,8 +515,9 @@ void ncd_020_state::ncd_17c(machine_config &config) m_lance->dma_in().set(FUNC(ncd_020_state::lance_dma_r)); m_lance->dma_out().set(FUNC(ncd_020_state::lance_dma_w)); + // 56.260 kHz horizontal, 70.06 Hz vertical SCREEN(config, m_screen, SCREEN_TYPE_RASTER); - m_screen->set_raw(77.4144_MHz_XTAL, 1376, 0, 1024, 803, 0, 768); // 56.260 kHz horizontal, 70.06 Hz vertical + m_screen->set_raw(77.4144_MHz_XTAL, 1376, 0, 1024, 803, 0, 768); m_screen->set_screen_update(FUNC(ncd_020_state::screen_update)); } @@ -538,10 +539,9 @@ void ncd_020_state::ncd_19(machine_config &config) m_lance->dma_in().set(FUNC(ncd_020_state::lance19_dma_r)); m_lance->dma_out().set(FUNC(ncd_020_state::lance19_dma_w)); + // 128 MHz dot clock generated by DP8530; 74.074 kHz horizontal, 70.1459 Hz vertical SCREEN(config, m_screen, SCREEN_TYPE_RASTER); - m_screen->set_refresh_hz(72); - m_screen->set_visarea(0, 1280-1, 0, 1024-1); - m_screen->set_size(1400, 1152); + m_screen->set_raw(16_MHz_XTAL * 8, 1728, 0, 1280, 1056, 0, 1024); m_screen->set_screen_update(FUNC(ncd_020_state::screen_update_19)); } @@ -563,10 +563,9 @@ void ncd_020_state::ncd_16(machine_config &config) m_lance->dma_in().set(FUNC(ncd_020_state::lance16_dma_r)); m_lance->dma_out().set(FUNC(ncd_020_state::lance16_dma_w)); + // 124.652 MHz dot clock generated by DP8530; 82.88 kHz horizontal, 70 Hz vertical SCREEN(config, m_screen, SCREEN_TYPE_RASTER); - m_screen->set_refresh_hz(72); - m_screen->set_visarea(0, 1024-1, 0, 1024-1); - m_screen->set_size(1280, 1152); + m_screen->set_raw(124'652'000, 1504, 0, 1024, 1184, 0, 1024); m_screen->set_screen_update(FUNC(ncd_020_state::screen_update_16)); }