diff options
author | 2019-04-28 08:10:30 -0400 | |
---|---|---|
committer | 2019-04-28 08:10:30 -0400 | |
commit | 523e9c8cff1dc08c9f3c555254655f1d9e2c028d (patch) | |
tree | 5c79ea5d678b0f9b8ccfa33a87535902fc72f8ec /src/devices/bus | |
parent | b01bc82f140fd10551bf86a7d64545488d3c9ed2 (diff) |
mc6845: Use standard device method to adjust input clock (nw)
Diffstat (limited to 'src/devices/bus')
-rw-r--r-- | src/devices/bus/isa/aga.cpp | 4 | ||||
-rw-r--r-- | src/devices/bus/isa/cga.cpp | 2 | ||||
-rw-r--r-- | src/devices/bus/isa/mda.cpp | 2 | ||||
-rw-r--r-- | src/devices/bus/wangpc/lvc.cpp | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/isa/aga.cpp b/src/devices/bus/isa/aga.cpp index e1c26328c44..f15abd2eb51 100644 --- a/src/devices/bus/isa/aga.cpp +++ b/src/devices/bus/isa/aga.cpp @@ -865,10 +865,10 @@ void isa8_aga_device::pc_aga_set_mode( AGA_MODE mode) switch (m_mode) { case AGA_COLOR: - m_mc6845->set_clock( XTAL(14'318'181)/8 ); + m_mc6845->set_unscaled_clock( XTAL(14'318'181)/8 ); break; case AGA_MONO: - m_mc6845->set_clock( 16257000/9 ); + m_mc6845->set_unscaled_clock( 16257000/9 ); break; case AGA_OFF: break; diff --git a/src/devices/bus/isa/cga.cpp b/src/devices/bus/isa/cga.cpp index eac981b4100..78c35957884 100644 --- a/src/devices/bus/isa/cga.cpp +++ b/src/devices/bus/isa/cga.cpp @@ -875,7 +875,7 @@ void isa8_cga_device::mode_control_w(uint8_t data) // The lowest bit of the mode register selects, among others, the // input clock to the 6845. - m_crtc->set_clock( ( m_mode_control & 1 ) ? CGA_HCLK : CGA_LCLK ); + m_crtc->set_unscaled_clock( ( m_mode_control & 1 ) ? CGA_HCLK : CGA_LCLK ); set_palette_luts(); } diff --git a/src/devices/bus/isa/mda.cpp b/src/devices/bus/isa/mda.cpp index dfaf7dc436e..823ff040676 100644 --- a/src/devices/bus/isa/mda.cpp +++ b/src/devices/bus/isa/mda.cpp @@ -672,7 +672,7 @@ WRITE8_MEMBER( isa8_hercules_device::mode_control_w ) m_update_row_type = -1; } - m_crtc->set_clock( m_mode_control & 0x02 ? MDA_CLOCK / 16 : MDA_CLOCK / 9 ); + m_crtc->set_unscaled_clock( MDA_CLOCK / (m_mode_control & 0x02 ? 16 : 9) ); m_crtc->set_hpixels_per_column( m_mode_control & 0x02 ? 16 : 9 ); } diff --git a/src/devices/bus/wangpc/lvc.cpp b/src/devices/bus/wangpc/lvc.cpp index 0d316e5b15b..9f6a8d59626 100644 --- a/src/devices/bus/wangpc/lvc.cpp +++ b/src/devices/bus/wangpc/lvc.cpp @@ -298,11 +298,11 @@ void wangpc_lvc_device::wangpcbus_aiowc_w(offs_t offset, uint16_t mem_mask, uint if (OPTION_80_COL) { - m_crtc->set_clock(XTAL(14'318'181) / 8); + m_crtc->set_unscaled_clock(XTAL(14'318'181) / 8); } else { - m_crtc->set_clock(XTAL(14'318'181) / 16); + m_crtc->set_unscaled_clock(XTAL(14'318'181) / 16); } } break; |