summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2023-03-25 15:43:03 +0200
committer Curt Coder <curtcoder@mail.com>2023-03-25 15:43:09 +0200
commit9225dd2d19f4b9b4a8718a7ad686e10755c54571 (patch)
tree9e867f36031ed1b11389d00587a5859a3af7b799 /src
parentde8a6077e7a2973232389573274ba3849833e8a2 (diff)
abc806: Fix UFD-DOS boot RTC readout. [Curt Coder]
e0516: Expect command bits after reset. [Curt Coder]
Diffstat (limited to 'src')
-rw-r--r--src/devices/machine/e0516.cpp2
-rw-r--r--src/mame/luxor/abc80x.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/machine/e0516.cpp b/src/devices/machine/e0516.cpp
index b3c2d735247..4b63f068df9 100644
--- a/src/devices/machine/e0516.cpp
+++ b/src/devices/machine/e0516.cpp
@@ -55,7 +55,7 @@ e0516_device::e0516_device(const machine_config &mconfig, const char *tag, devic
m_data_latch(0),
m_reg_latch(0),
m_state(STATE_ADDRESS),
- m_bits_left(0),
+ m_bits_left(4),
m_dio(0),
m_reset(1),
m_timer(nullptr)
diff --git a/src/mame/luxor/abc80x.cpp b/src/mame/luxor/abc80x.cpp
index 88c60d8fca0..4537db566db 100644
--- a/src/mame/luxor/abc80x.cpp
+++ b/src/mame/luxor/abc80x.cpp
@@ -2213,7 +2213,8 @@ void abc806_state::abc806(machine_config &config)
// peripheral hardware
m_dart->out_dtrb_callback().set(FUNC(abc800_state::keydtr_w));
- E0516(config, E0516_TAG, ABC806_X02);
+ E0516(config, m_rtc, ABC806_X02);
+ m_rtc->outsel_rd_cb().set_constant(1);
abc_keyboard_port_device &kb(ABC_KEYBOARD_PORT(config, ABC_KEYBOARD_PORT_TAG, abc_keyboard_devices, "abc77"));
kb.out_rx_handler().set(m_dart, FUNC(z80dart_device::rxb_w));