summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2018-12-14 14:53:20 +1100
committer Robbbert <Robbbert@users.noreply.github.com>2018-12-14 14:53:20 +1100
commit5422539a0564b410e9450469fb8d37aed24dcb5b (patch)
treef7e9d46cb0675e5347814e78a7891ef4eb167a60
parent4d39cd3d20d67ebcf6724aa9e154331c31d651e0 (diff)
(nw) cdc721, vk100: fixed fatal error when terminal connected to rs232
-rw-r--r--src/mame/drivers/cdc721.cpp1
-rw-r--r--src/mame/drivers/vk100.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mame/drivers/cdc721.cpp b/src/mame/drivers/cdc721.cpp
index 3b1557f78c2..28e6a5eb39c 100644
--- a/src/mame/drivers/cdc721.cpp
+++ b/src/mame/drivers/cdc721.cpp
@@ -329,6 +329,7 @@ MACHINE_CONFIG_START(cdc721_state::cdc721)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_cdc721)
CRT5037(config, m_crtc, 12.936_MHz_XTAL / 8).set_char_width(8);
+ m_crtc->set_screen("screen");
z80ctc_device& ctc(Z80CTC(config, "ctc", 6_MHz_XTAL)); // Zilog Z8430B (M1 pulled up)
ctc.intr_callback().set(FUNC(cdc721_state::int_w<6>));
diff --git a/src/mame/drivers/vk100.cpp b/src/mame/drivers/vk100.cpp
index 0b9fa43acb5..2d307adb9fa 100644
--- a/src/mame/drivers/vk100.cpp
+++ b/src/mame/drivers/vk100.cpp
@@ -1043,6 +1043,7 @@ MACHINE_CONFIG_START(vk100_state::vk100)
MCFG_SCREEN_UPDATE_DEVICE( "crtc", mc6845_device, screen_update )
H46505(config, m_crtc, 45.6192_MHz_XTAL/3/12);
+ m_crtc->set_screen("screen");
m_crtc->set_show_border_area(false);
m_crtc->set_char_width(12);
m_crtc->set_update_row_callback(FUNC(vk100_state::crtc_update_row), this);