summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/acorn/cms/4080term.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/acorn/cms/4080term.cpp')
-rw-r--r--src/devices/bus/acorn/cms/4080term.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/devices/bus/acorn/cms/4080term.cpp b/src/devices/bus/acorn/cms/4080term.cpp
index 27f69d3a3c1..8d9d2eae40f 100644
--- a/src/devices/bus/acorn/cms/4080term.cpp
+++ b/src/devices/bus/acorn/cms/4080term.cpp
@@ -58,7 +58,6 @@ ROM_END
static DEVICE_INPUT_DEFAULTS_START(keyboard)
DEVICE_INPUT_DEFAULTS("RS232_TXBAUD", 0xff, RS232_BAUD_1200)
- DEVICE_INPUT_DEFAULTS("RS232_STARTBITS", 0xff, RS232_STARTBITS_1)
DEVICE_INPUT_DEFAULTS("RS232_DATABITS", 0xff, RS232_DATABITS_8)
DEVICE_INPUT_DEFAULTS("RS232_PARITY", 0xff, RS232_PARITY_NONE)
DEVICE_INPUT_DEFAULTS("RS232_STOPBITS", 0xff, RS232_STOPBITS_2)
@@ -72,9 +71,7 @@ void cms_4080term_device::device_add_mconfig(machine_config &config)
{
/* video hardware */
SCREEN(config, m_screen, SCREEN_TYPE_RASTER);
- m_screen->set_refresh_hz(50);
- m_screen->set_size(768, 312);
- m_screen->set_visarea(0, 492 - 1, 0, 270 - 1);
+ m_screen->set_raw(12_MHz_XTAL, 768, 0, 492, 312, 0, 270);
m_screen->set_screen_update("ef9345", FUNC(ef9345_device::screen_update));
GFXDECODE(config, "gfxdecode", "palette", gfx_cms_4080term);
@@ -86,7 +83,7 @@ void cms_4080term_device::device_add_mconfig(machine_config &config)
TIMER(config, "scantimer").configure_scanline(FUNC(cms_4080term_device::update_scanline), "screen", 0, 10);
- VIA6522(config, m_via, 1_MHz_XTAL);
+ MOS6522(config, m_via, 1_MHz_XTAL);
m_via->writepa_handler().set("cent_data_out", FUNC(output_latch_device::write));
m_via->ca2_handler().set(m_centronics, FUNC(centronics_device::write_strobe));
m_via->irq_handler().set(FUNC(cms_4080term_device::bus_irq_w));
@@ -172,7 +169,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(cms_4080term_device::update_scanline)
m_ef9345->update_scanline((uint16_t)param);
}
-WRITE_LINE_MEMBER(cms_4080term_device::bus_irq_w)
+void cms_4080term_device::bus_irq_w(int state)
{
m_bus->irq_w(state);
}